:root {
	--drg-card-accent: #26bfc1;
}

.drg-product-card-data {
	box-sizing: border-box;
	clear: both;
	display: block;
	min-width: 0;
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: left;
}

.drg-product-package {
	box-sizing: border-box;
	color: #777;
	display: block;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
	margin: 7px 0 8px;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.drg-product-benefits,
.products .product .drg-product-benefits {
	border-top: 1px solid #e5e5e5;
	box-sizing: border-box;
	list-style: none !important;
	margin: 0 0 10px !important;
	max-width: 100%;
	padding: 6px 0 0 !important;
	text-align: left;
	width: 100%;
}

.drg-product-benefits li,
.products .product .drg-product-benefits li {
	box-sizing: border-box;
	color: #666;
	display: block;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
	list-style: none !important;
	margin: 3px 0 !important;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	padding: 0 0 0 13px !important;
	position: relative;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.drg-product-benefits li::before,
.products .product .drg-product-benefits li::before {
	color: var(--drg-card-accent);
	content: "•";
	font-size: 14px;
	font-weight: 700;
	left: 0;
	line-height: 1.25;
	position: absolute;
	top: 0;
}

.drg-product-benefits li span {
	display: block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.drg-product-cards-compact .products .product .product-title,
body.drg-product-cards-compact .products .product .woocommerce-loop-product__title {
	font-weight: 600;
	line-height: 1.25;
	margin-bottom: 5px;
}

body.drg-product-cards-compact .products .product .price {
	display: block;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.25;
	margin-top: 7px;
}

/* Umetanje podataka u postojeći Dr Gabriel's Porto template */
.porto-tb-item .product-content > .drg-product-card-data {
	box-sizing: border-box;
	padding: 0 10px 2px;
}

.porto-tb-item .product-content > .drg-product-card-data .drg-product-package {
	font-size: 12.5px;
	margin: 5px 0 6px;
	text-align: left;
}

.porto-tb-item .product-content > .drg-product-card-data .drg-product-benefits {
	margin-bottom: 7px !important;
	padding-top: 5px !important;
}

.porto-tb-item .product-content > .drg-product-card-data .drg-product-benefits li {
	font-size: 12.5px;
	line-height: 1.35;
	margin: 2px 0 !important;
}

.porto-tb-item .product-content > .drg-product-card-data .drg-product-benefits li::before {
	color: #2fac72;
}

/* Kompletna kartica u postojećem Dr Gabriel's dizajnu */
.drg-complete-product-card {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	overflow: visible;
	padding: 0;
	position: relative;
	text-align: left;
	width: 100%;
}

.drg-card-media {
	aspect-ratio: 1 / 1;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	position: relative;
	width: 100%;
}

.drg-card-image-link {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	padding: 0 0 7px;
	width: 100%;
}

.drg-card-image-link img,
.drg-card-image {
	height: 100% !important;
	margin: 0 auto !important;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	width: 100% !important;
}

.drg-card-sale {
	background: #e97878;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	left: 4px;
	line-height: 1;
	padding: 6px 9px;
	position: absolute;
	top: 4px;
	z-index: 2;
}

.drg-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
	padding: 4px 0 0;
}

.drg-card-title,
.products .product .drg-card-title {
	display: -webkit-box !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-height: 1.25 !important;
	margin: 0 0 6px !important;
	max-height: 37.5px;
	min-height: 37px;
	overflow: hidden;
	padding: 0 !important;
	text-align: center !important;
}

.drg-card-title a,
.products .product .drg-card-title a {
	color: #333 !important;
	text-decoration: none !important;
}

.drg-card-information {
	min-width: 0;
	padding: 0 10px;
}

.drg-complete-product-card .drg-product-package {
	color: #777;
	font-size: 12.5px !important;
	line-height: 1.35;
	margin: 0 0 6px;
	text-align: left;
}

.drg-complete-product-card .drg-product-benefits,
.products .product .drg-complete-product-card .drg-product-benefits {
	border-top: 1px solid #dedede;
	margin: 0 0 8px !important;
	padding-top: 6px !important;
}

.drg-complete-product-card .drg-product-benefits li,
.products .product .drg-complete-product-card .drg-product-benefits li {
	color: #666;
	font-size: 12.5px !important;
	line-height: 1.35;
	margin: 2px 0 !important;
	padding-left: 10px !important;
}

.drg-complete-product-card .drg-product-benefits li::before {
	color: #2fac72;
	font-size: 13px;
}

.drg-card-price,
.products .product .drg-card-price {
	color: #3e3e3e;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.2;
	margin-top: auto;
	padding: 1px 0 7px;
	text-align: center;
}

.drg-card-price .price,
.products .product .drg-card-price .price {
	color: inherit !important;
	display: block !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	margin: 0 !important;
}

.drg-card-price del {
	color: #aaa;
	font-size: 13px;
	font-weight: 400;
	margin-right: 4px;
}

.drg-card-price ins {
	color: #3e3e3e;
	font-weight: 700;
	text-decoration: none;
}

.drg-card-cart {
	margin-top: 0;
	width: 100%;
}

.drg-card-cart .add-links-wrap,
.drg-card-cart .add-links {
	display: block !important;
	width: 100% !important;
}

.drg-complete-product-card .drg-card-cart .yith-wcwl-add-to-wishlist,
.drg-complete-product-card .drg-card-cart .quickview {
	display: none !important;
}

.drg-card-cart .button,
.products .product .drg-card-cart .button {
	align-items: center;
	background: #2fac72 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #fff !important;
	display: flex !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	justify-content: center;
	line-height: 1.2 !important;
	margin: 0 !important;
	min-height: 40px;
	padding: 10px 12px !important;
	text-align: center;
	text-transform: none;
	width: 100%;
}

.drg-card-cart .added_to_cart {
	display: block;
	font-size: 12px;
	padding-top: 5px;
	text-align: center;
}

@media (max-width: 575px) {
	.drg-product-package,
	.drg-product-benefits li,
	.products .product .drg-product-benefits li {
		font-size: 12px;
	}

	.drg-complete-product-card {
		border-radius: 0;
		padding: 0;
	}

	.drg-card-title,
	.products .product .drg-card-title {
		font-size: 14px !important;
		max-height: 35px;
		min-height: 35px;
	}

	.drg-complete-product-card .drg-product-package,
	.drg-complete-product-card .drg-product-benefits li,
	.products .product .drg-complete-product-card .drg-product-benefits li {
		font-size: 12px !important;
	}

	.drg-card-price,
	.products .product .drg-card-price {
		font-size: 18px;
	}
}
