/**
 * MedLab shop — product card skins.
 * Wrapper: .medlab-shop--style-{name}
 */

/* Shared reset for non-classic skins.
 * Skin class is on the Elementor widget wrapper (prefix_class) and/or .medlab-shop. */
.elementor-widget-medlab_shop_catalog[class*="medlab-shop--style-"]:not(.medlab-shop--style-classic) ul.products li.product::before,
.medlab-shop[class*="medlab-shop--style-"]:not(.medlab-shop--style-classic) ul.products li.product::before {
	display: none;
}

.medlab-shop--style-modern ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-modern ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-editorial ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-editorial ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-outline ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-outline ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-compact ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-compact ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-soft ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-soft ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-magazine ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-magazine ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-split ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-split ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-overlay ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-overlay ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-glass ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-glass ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-luxury ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-luxury ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-framed ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-framed ul.products li.product .medlab-shop-card-photo > img {
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 0;
	aspect-ratio: 1;
	object-fit: cover;
	border: 0 !important;
	box-shadow: none !important;
	background: #f4f7fa;
}

.elementor-widget-medlab_shop_catalog[class*="medlab-shop--style-"]:not(.medlab-shop--style-classic) ul.products li.product:hover .medlab-shop-card-photo > img,
.elementor-widget-medlab_shop_catalog[class*="medlab-shop--style-"]:not(.medlab-shop--style-classic) ul.products li.product:hover > a > img,
.medlab-shop[class*="medlab-shop--style-"]:not(.medlab-shop--style-classic) ul.products li.product:hover .medlab-shop-card-photo > img,
.medlab-shop[class*="medlab-shop--style-"]:not(.medlab-shop--style-classic) ul.products li.product:hover > a > img {
	transform: none;
	border-color: transparent;
	box-shadow: none;
}

/* ------------------------------------------------------------------ */
/* 1. classic — default circular look lives in shop.css               */
/* ------------------------------------------------------------------ */

/* ------------------------------------------------------------------ */
/* 2. modern — flush image, quiet card, full-width button             */
/* ------------------------------------------------------------------ */
.medlab-shop--style-modern ul.products li.product {
	border: 0;
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(15, 40, 60, 0.08);
	background: #fff;
	padding: 0 0 14px !important;
}

.medlab-shop--style-modern ul.products li.product:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 48px rgba(15, 40, 60, 0.14);
	border-color: transparent;
}

.medlab-shop--style-modern .medlab-shop-card-brand {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	padding: 0;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 999px;
	padding-inline: 8px 12px;
	padding-block: 4px;
	backdrop-filter: blur(8px);
}

.medlab-shop--style-modern ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-modern ul.products li.product .medlab-shop-card-photo > img {
	border-radius: 16px 16px 0 0;
	aspect-ratio: 4 / 3;
}

.medlab-shop--style-modern ul.products li.product .button,
.medlab-shop--style-modern ul.products li.product a.button {
	margin: auto 0 0 !important;
	width: var(--ms-cart-width, 90%);
	border-radius: var(--ms-cart-radius, 10px) !important;
}

/* ------------------------------------------------------------------ */
/* 3. editorial — gallery whitespace, sharp, hairline                 */
/* ------------------------------------------------------------------ */
.medlab-shop--style-editorial ul.products li.product {
	border: 0;
	border-radius: 2px;
	box-shadow: none;
	background: transparent;
	padding: 0 !important;
}

.medlab-shop--style-editorial ul.products li.product:hover {
	transform: none;
	box-shadow: none;
}

.medlab-shop--style-editorial .medlab-shop-card-brand {
	padding: 0 0 10px;
	order: -1;
}

.medlab-shop--style-editorial .medlab-shop-card-brand__name {
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 700;
}

.medlab-shop--style-editorial ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-editorial ul.products li.product .medlab-shop-card-photo > img {
	aspect-ratio: 1;
	border-radius: 0;
	background: #ece8e1;
}

.medlab-shop--style-editorial ul.products li.product .woocommerce-loop-product__title {
	padding: 14px 0 6px;
	font-weight: 600;
}

.medlab-shop--style-editorial ul.products li.product .price {
	padding: 0;
	margin-bottom: 12px !important;
}

.medlab-shop--style-editorial ul.products li.product .button,
.medlab-shop--style-editorial ul.products li.product a.button {
	margin: 0 !important;
	min-height: 38px;
	background: transparent !important;
	color: var(--ms-cart-color, var(--ms-navy)) !important;
	border-width: var(--ms-cart-border-width, 1px) !important;
	border-color: var(--ms-cart-border-color, var(--ms-navy)) !important;
	border-radius: var(--ms-cart-radius, 0) !important;
	box-shadow: none;
	width: var(--ms-cart-width, 100%);
}

.medlab-shop--style-editorial ul.products li.product .button:hover,
.medlab-shop--style-editorial ul.products li.product a.button:hover {
	background: var(--ms-cart-hover-bg, var(--ms-navy)) !important;
	color: var(--ms-cart-hover-color, #fff) !important;
	transform: none;
	box-shadow: none;
}

/* ------------------------------------------------------------------ */
/* 4. outline — architectural border, inset square photo              */
/* ------------------------------------------------------------------ */
.medlab-shop--style-outline ul.products li.product {
	border: 2px solid var(--ms-navy);
	border-radius: 8px;
	box-shadow: none;
	background: #fff;
	padding: 0 0 14px !important;
}

.medlab-shop--style-outline ul.products li.product:hover {
	transform: none;
	box-shadow: 6px 6px 0 var(--ms-navy);
	border-color: var(--ms-navy);
}

.medlab-shop--style-outline .medlab-shop-card-brand {
	padding: 4px 6px 8px;
}

.medlab-shop--style-outline ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-outline ul.products li.product .medlab-shop-card-photo > img {
	border-radius: 4px;
	aspect-ratio: 1;
}

.medlab-shop--style-outline ul.products li.product .woocommerce-loop-product__title,
.medlab-shop--style-outline ul.products li.product .price {
	padding-right: 6px;
	padding-left: 6px;
}

.medlab-shop--style-outline ul.products li.product .button,
.medlab-shop--style-outline ul.products li.product a.button {
	margin: auto 6px 0 !important;
	background: transparent !important;
	color: var(--ms-cart-color, var(--ms-navy)) !important;
	border-width: var(--ms-cart-border-width, 2px) !important;
	border-color: var(--ms-cart-border-color, var(--ms-navy)) !important;
	border-radius: var(--ms-cart-radius, 6px) !important;
	box-shadow: none;
}

.medlab-shop--style-outline ul.products li.product .button:hover,
.medlab-shop--style-outline ul.products li.product a.button:hover {
	background: var(--ms-cart-hover-bg, var(--ms-navy)) !important;
	color: var(--ms-cart-hover-color, #fff) !important;
	transform: none;
	box-shadow: none;
}

/* ------------------------------------------------------------------ */
/* 5. compact — dense industrial strip                                */
/* ------------------------------------------------------------------ */
.medlab-shop--style-compact ul.products li.product {
	border-radius: 10px;
	padding: 10px 10px 12px !important;
	box-shadow: 0 2px 8px rgba(0, 74, 115, 0.06);
}

.medlab-shop--style-compact ul.products li.product:hover {
	transform: translateY(-2px);
}

.medlab-shop--style-compact .medlab-shop-card-photo {
	width: 88px;
	margin: 4px auto;
}

.medlab-shop--style-compact ul.products li.product .medlab-shop-card-photo > img {
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	border-radius: 50%;
	aspect-ratio: 1;
	object-fit: cover;
	border: 1px solid #e4eef4 !important;
}

.medlab-shop--style-compact ul.products li.product .woocommerce-loop-product__title {
	padding: 8px 8px 4px;
	font-size: 0.88rem !important;
}

.medlab-shop--style-compact ul.products li.product .price {
	padding: 0 8px;
	font-size: 0.95rem;
	margin-bottom: 8px !important;
}

.medlab-shop--style-compact ul.products li.product .button,
.medlab-shop--style-compact ul.products li.product a.button {
	margin: auto 8px 0 !important;
	min-height: 36px;
	font-size: 0.82rem !important;
}

/* ------------------------------------------------------------------ */
/* 6. soft — cream, pill, gentle lift                                 */
/* ------------------------------------------------------------------ */
.medlab-shop--style-soft {
	--ms-cart-bg: #004a73;
	--ms-cart-hover-bg: #003755;
	--ms-cart-radius: 999px;
}

.medlab-shop--style-soft ul.products li.product {
	border: 0;
	border-radius: 28px;
	background: #fbf7f1;
	box-shadow: 0 16px 40px rgba(80, 50, 20, 0.08);
	padding: 18px 16px 18px !important;
}

.medlab-shop--style-soft ul.products li.product:hover {
	transform: translateY(-5px);
	box-shadow: 0 24px 50px rgba(80, 50, 20, 0.14);
}

.medlab-shop--style-soft .medlab-shop-card-photo {
	width: 78%;
	margin: 0 auto 8px;
}

.medlab-shop--style-soft ul.products li.product .medlab-shop-card-photo > img {
	width: 100% !important;
	margin: 0 !important;
	border-radius: 24px;
	aspect-ratio: 1;
	background: #fff;
}
	border-radius: 24px;
	aspect-ratio: 1;
	background: #fff;
}

.medlab-shop--style-soft ul.products li.product .woocommerce-loop-product__title,
.medlab-shop--style-soft ul.products li.product .price {
	text-align: center;
}

.medlab-shop--style-soft ul.products li.product .button,
.medlab-shop--style-soft ul.products li.product a.button {
	margin: 8px 20px 0 !important;
	border-radius: var(--ms-cart-radius, 999px) !important;
}

/* ------------------------------------------------------------------ */
/* 7. magazine — large type, 4:3 photo, editorial overlap             */
/* ------------------------------------------------------------------ */
.medlab-shop--style-magazine ul.products li.product {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: #fff;
	padding: 0 0 16px !important;
	overflow: visible;
}

.medlab-shop--style-magazine ul.products li.product:hover {
	transform: none;
	box-shadow: none;
}

.medlab-shop--style-magazine .medlab-shop-card-brand {
	padding: 0 0 8px;
}

.medlab-shop--style-magazine ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-magazine ul.products li.product .medlab-shop-card-photo > img {
	aspect-ratio: 4 / 3;
	border-radius: 0;
}

.medlab-shop--style-magazine ul.products li.product .woocommerce-loop-product__title {
	padding: 14px 4px 6px;
	font-size: 1.2rem !important;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.medlab-shop--style-magazine ul.products li.product .price {
	padding: 0 4px 10px;
	font-size: 1.25rem;
}

.medlab-shop--style-magazine ul.products li.product .button,
.medlab-shop--style-magazine ul.products li.product a.button {
	margin: 0 4px !important;
	border-radius: var(--ms-cart-radius, 2px) !important;
	min-height: 40px;
}

/* ------------------------------------------------------------------ */
/* 8. split — horizontal gallery card                                 */
/* ------------------------------------------------------------------ */
.medlab-shop--style-split ul.products li.product {
	display: grid;
	grid-template-columns: 42% 1fr;
	grid-template-rows: auto auto 1fr auto;
	border-radius: 16px;
	padding: 12px !important;
	gap: 8px 14px;
	align-items: start;
}

.medlab-shop--style-split ul.products li.product:hover {
	transform: translateY(-3px);
}

.medlab-shop--style-split .medlab-shop-card-photo {
	grid-column: 1;
	grid-row: 1 / -1;
	width: 100%;
	height: 100%;
	margin: 0;
	min-height: 140px;
}

.medlab-shop--style-split ul.products li.product > a.woocommerce-LoopProduct-link {
	display: contents;
}

.medlab-shop--style-split ul.products li.product .medlab-shop-card-photo > img {
	width: 100% !important;
	height: 100% !important;
	min-height: 140px;
	border-radius: 12px !important;
	aspect-ratio: auto;
	object-fit: cover;
}

.medlab-shop--style-split ul.products li.product .woocommerce-loop-product__title {
	grid-column: 2;
	grid-row: 2;
	padding: 4px 4px 0;
	align-self: start;
}

.medlab-shop--style-split ul.products li.product .price {
	grid-column: 2;
	grid-row: 3;
	padding: 0 4px;
	margin-bottom: 0 !important;
	align-self: start;
}

.medlab-shop--style-split ul.products li.product .button,
.medlab-shop--style-split ul.products li.product a.button {
	grid-column: 2;
	grid-row: 4;
	margin: 0 4px !important;
	width: var(--ms-cart-width, 100%);
	max-width: 100%;
	justify-self: center;
}

@media (max-width: 700px) {
	.medlab-shop--style-split ul.products li.product {
		grid-template-columns: 1fr;
	}

	.medlab-shop--style-split .medlab-shop-card-photo,
	.medlab-shop--style-split ul.products li.product .woocommerce-loop-product__title,
	.medlab-shop--style-split ul.products li.product .price,
	.medlab-shop--style-split ul.products li.product .button {
		grid-column: 1;
		grid-row: auto;
	}

	.medlab-shop--style-split ul.products li.product .medlab-shop-card-photo > img,
	.medlab-shop--style-split ul.products li.product .medlab-shop-card-photo > img {
		min-height: 0;
		aspect-ratio: 16 / 10;
		height: auto !important;
	}
}

/* ------------------------------------------------------------------ */
/* 9. overlay — cinematic cover, text on image                        */
/* ------------------------------------------------------------------ */
.medlab-shop--style-overlay {
	--ms-title-color: #ffffff;
	--ms-title-hover-color: #ffffff;
	--ms-price-color: #ffe0b8;
}

.medlab-shop--style-overlay ul.products li.product {
	border: 0;
	border-radius: 18px;
	padding: 0 !important;
	min-height: 340px;
	background: #0b1c28;
}

.medlab-shop--style-overlay ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 48px rgba(0, 20, 40, 0.28);
}

.medlab-shop--style-overlay .medlab-shop-card-photo {
	position: absolute;
	inset: 0;
	width: auto;
	max-width: none;
	margin: 0;
	z-index: 0;
}

.medlab-shop--style-overlay ul.products li.product > a.woocommerce-LoopProduct-link {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 280px;
	padding: 20px 16px 12px;
	z-index: 2;
}

.medlab-shop--style-overlay ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-overlay ul.products li.product .medlab-shop-card-photo > img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto;
	object-fit: cover;
	z-index: 0;
}

.medlab-shop--style-overlay ul.products li.product > a.woocommerce-LoopProduct-link::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 20, 32, 0.05) 20%, rgba(8, 20, 32, 0.88) 78%);
	z-index: 1;
	pointer-events: none;
}

.medlab-shop--style-overlay ul.products li.product .woocommerce-loop-product__title,
.medlab-shop--style-overlay ul.products li.product .price {
	position: relative;
	z-index: 2;
	padding: 0 0 8px;
	color: var(--ms-title-color, #fff);
}

.medlab-shop--style-overlay ul.products li.product .price {
	color: var(--ms-price-color, #ffe0b8);
	margin-bottom: 8px !important;
}

.medlab-shop--style-overlay ul.products li.product .button,
.medlab-shop--style-overlay ul.products li.product a.button {
	position: relative;
	z-index: 3;
	margin: 0 16px 16px !important;
}

/* ------------------------------------------------------------------ */
/* 10. glass — frosted luxury                                         */
/* ------------------------------------------------------------------ */
.medlab-shop--style-glass {
	--ms-cart-bg: rgba(0, 74, 115, 0.88);
	--ms-cart-hover-bg: #004a73;
}

.medlab-shop--style-glass ul.products li.product {
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 22px;
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(232, 241, 246, 0.55));
	box-shadow: 0 18px 40px rgba(0, 74, 115, 0.1);
	backdrop-filter: blur(16px);
	padding: 14px 14px 16px !important;
}

.medlab-shop--style-glass ul.products li.product:hover {
	transform: translateY(-5px);
	border-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 26px 50px rgba(0, 74, 115, 0.16);
}

.medlab-shop--style-glass .medlab-shop-card-photo {
	width: 82%;
	margin: 0 auto 8px;
}

.medlab-shop--style-glass ul.products li.product .medlab-shop-card-photo > img {
	width: 100% !important;
	margin: 0 !important;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.8) !important;
	background: rgba(255, 255, 255, 0.5);
}

.medlab-shop--style-glass ul.products li.product .button,
.medlab-shop--style-glass ul.products li.product a.button {
	margin: auto 8px 0 !important;
	border-radius: var(--ms-cart-radius, 999px) !important;
	box-shadow: 0 8px 20px rgba(0, 74, 115, 0.22);
}

/* ------------------------------------------------------------------ */
/* 11. luxury — dark navy, gold metal                                 */
/* ------------------------------------------------------------------ */
.medlab-shop--style-luxury {
	--ms-title-color: #f4e4b4;
	--ms-title-hover-color: #fff6d6;
	--ms-price-color: #e8c547;
	--ms-cart-bg: #c9a227;
	--ms-cart-color: #1a1408;
	--ms-cart-hover-bg: #e0b83a;
	--ms-cart-hover-color: #1a1408;
	--ms-cart-shadow: 0 8px 22px rgba(201, 162, 39, 0.35);
}

.medlab-shop--style-luxury ul.products li.product {
	border: 1px solid rgba(201, 162, 39, 0.45);
	border-radius: 14px;
	background:
		radial-gradient(ellipse at 0% 0%, rgba(201, 162, 39, 0.12), transparent 50%),
		linear-gradient(180deg, #122636 0%, #0b1a26 100%);
	box-shadow: 0 18px 40px rgba(0, 10, 20, 0.35);
	padding: 16px 14px 16px !important;
}

.medlab-shop--style-luxury ul.products li.product:hover {
	transform: translateY(-5px);
	border-color: #c9a227;
	box-shadow: 0 26px 52px rgba(0, 10, 20, 0.45);
}

.medlab-shop--style-luxury .medlab-shop-card-photo {
	width: 72%;
	margin: 4px auto 10px;
}

.medlab-shop--style-luxury ul.products li.product .medlab-shop-card-photo > img {
	width: 100% !important;
	margin: 0 !important;
	border-radius: 50%;
	border: 2px solid #c9a227 !important;
	box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.18) !important;
	background: #0e2230;
}

.medlab-shop--style-luxury ul.products li.product .woocommerce-loop-product__title,
.medlab-shop--style-luxury ul.products li.product .price {
	text-align: center;
}

.medlab-shop--style-luxury ul.products li.product .price .woocommerce-Price-currencySymbol {
	color: #c9a227;
}

.medlab-shop--style-luxury ul.products li.product .button,
.medlab-shop--style-luxury ul.products li.product a.button {
	margin: 8px 10px 0 !important;
	letter-spacing: 0.04em;
}

/* ------------------------------------------------------------------ */
/* 12. framed — double frame catalog plate                            */
/* ------------------------------------------------------------------ */
.medlab-shop--style-framed {
	--ms-cart-bg: #004a73;
	--ms-cart-hover-bg: #00304c;
	--ms-cart-radius: 2px;
}

.medlab-shop--style-framed ul.products li.product {
	border: 8px solid #0f2a3c;
	border-radius: 4px;
	background: #f6f1e6;
	box-shadow:
		inset 0 0 0 1px #c9b896,
		0 12px 28px rgba(15, 42, 60, 0.16);
	padding: 0 0 16px !important;
}

.medlab-shop--style-framed ul.products li.product:hover {
	transform: translateY(-3px);
	border-color: #0f2a3c;
	box-shadow:
		inset 0 0 0 1px #d4c4a0,
		0 18px 36px rgba(15, 42, 60, 0.22);
}

.medlab-shop--style-framed .medlab-shop-card-brand {
	justify-content: center;
	padding: 0 4px 8px;
}

.medlab-shop--style-framed ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--style-framed ul.products li.product .medlab-shop-card-photo > img {
	border: 1px solid #c9b896 !important;
	border-radius: 2px;
	background: #fff;
	aspect-ratio: 1;
}

.medlab-shop--style-framed ul.products li.product .woocommerce-loop-product__title,
.medlab-shop--style-framed ul.products li.product .price {
	text-align: center;
}

.medlab-shop--style-framed ul.products li.product .button,
.medlab-shop--style-framed ul.products li.product a.button {
	margin: 6px 8px 0 !important;
	border-radius: var(--ms-cart-radius, 2px) !important;
	letter-spacing: 0.06em;
	text-transform: none;
}

/* ------------------------------------------------------------------ */
/* Brand logo — small overlay on the product image                    */
/* ------------------------------------------------------------------ */
/* Wrapper class (prefix_class) always wins over a stale inner classic class. */
.elementor-widget-medlab_shop_catalog.medlab-shop--style-classic ul.products li.product .medlab-shop-card-photo {
	width: min(72%, 168px) !important;
	margin: 12px auto 0 !important;
}

.elementor-widget-medlab_shop_catalog:not(.medlab-shop--style-classic) ul.products li.product .medlab-shop-card-photo {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

.elementor-widget-medlab_shop_catalog:not(.medlab-shop--style-classic) ul.products li.product .medlab-shop-card-photo > img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
}

.medlab-shop--brand-off .medlab-shop-card-brand {
	display: none !important;
}

.medlab-shop-elementor-catalog .medlab-shop-card-brand {
	position: absolute !important;
	z-index: 6 !important;
	width: auto !important;
	height: auto !important;
	padding: 0 !important;
	margin: 0 !important;
	background: none !important;
	backdrop-filter: none !important;
	grid-column: auto !important;
	grid-row: auto !important;
	inset: auto !important;
	justify-content: unset !important;
}

.medlab-shop--brand-pos-top-right .medlab-shop-card-brand {
	top: var(--ms-brand-inset, 8px) !important;
	right: var(--ms-brand-inset, 8px) !important;
	left: auto !important;
	bottom: auto !important;
}

.medlab-shop--brand-pos-top-left .medlab-shop-card-brand {
	top: var(--ms-brand-inset, 8px) !important;
	left: var(--ms-brand-inset, 8px) !important;
	right: auto !important;
	bottom: auto !important;
}

.medlab-shop--brand-pos-bottom-right .medlab-shop-card-brand {
	bottom: var(--ms-brand-inset, 8px) !important;
	right: var(--ms-brand-inset, 8px) !important;
	top: auto !important;
	left: auto !important;
}

.medlab-shop--brand-pos-bottom-left .medlab-shop-card-brand {
	bottom: var(--ms-brand-inset, 8px) !important;
	left: var(--ms-brand-inset, 8px) !important;
	top: auto !important;
	right: auto !important;
}

.medlab-shop-elementor-catalog .medlab-shop-card-brand__logo {
	width: var(--ms-brand-logo-size, 28px);
	height: var(--ms-brand-logo-size, 28px);
	border-radius: var(--ms-brand-logo-radius, 50%);
}

.medlab-shop-elementor-catalog .medlab-shop-card-brand__logo img {
	border-radius: var(--ms-brand-logo-radius, 50%);
	object-fit: contain !important;
}

.medlab-shop--brand-shape-circle {
	--ms-brand-logo-radius: 50%;
}

.medlab-shop--brand-shape-rounded {
	--ms-brand-logo-radius: 12px;
}

.medlab-shop--brand-shape-square {
	--ms-brand-logo-radius: 4px;
}

.medlab-shop--brand-style-plain .medlab-shop-card-brand__logo {
	border: 0;
	box-shadow: none;
	background: transparent;
}

.medlab-shop--brand-style-plain .medlab-shop-card-brand__logo img {
	background: transparent !important;
}

.medlab-shop--brand-style-ring .medlab-shop-card-brand__logo {
	border: 2px solid var(--ms-navy);
	box-shadow: 0 0 0 3px rgba(0, 74, 115, 0.08);
	background: #fff;
}

.medlab-shop--brand-style-shadow .medlab-shop-card-brand__logo {
	border: 0;
	box-shadow: 0 10px 22px rgba(0, 74, 115, 0.18);
	background: #fff;
}

.medlab-shop--brand-style-badge .medlab-shop-card-brand__logo {
	border: 3px solid #fff;
	box-shadow: 0 8px 20px rgba(0, 74, 115, 0.16);
	background: #fff;
}

.medlab-shop--brand-style-outline .medlab-shop-card-brand__logo {
	border: 1px solid var(--ms-navy);
	box-shadow: none;
	background: #fff;
	padding: 4px;
}

.medlab-shop--brand-style-glass .medlab-shop-card-brand__logo {
	border: 1px solid rgba(255, 255, 255, 0.7);
	background: rgba(255, 255, 255, 0.55);
	box-shadow: 0 8px 20px rgba(0, 74, 115, 0.1);
	backdrop-filter: blur(10px);
}

.medlab-shop--brand-style-glass .medlab-shop-card-brand__logo img {
	background: transparent !important;
}

.medlab-shop--brand-style-gold .medlab-shop-card-brand__logo {
	border: 2px solid #c9a227;
	box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
	background: #fff;
}

.medlab-shop--brand-style-inset .medlab-shop-card-brand__logo {
	border: 1px solid #dce5ec;
	box-shadow: inset 0 2px 6px rgba(0, 74, 115, 0.12);
	background: #f7fafc;
}

/* Title / price alignment (overrides card skins) */
.medlab-shop--title-align-right ul.products li.product .woocommerce-loop-product__title {
	text-align: right !important;
}

.medlab-shop--title-align-center ul.products li.product .woocommerce-loop-product__title {
	text-align: center !important;
}

.medlab-shop--price-align-right ul.products li.product .price {
	text-align: right !important;
}

.medlab-shop--price-align-center ul.products li.product .price {
	text-align: center !important;
}

.medlab-shop ul.products li.product .price .medlab-price {
	display: inline-grid !important;
	grid-template-columns: auto auto;
	direction: ltr !important;
}

.medlab-shop ul.products li.product .price .medlab-price .woocommerce-Price-currencySymbol {
	grid-column: 1 !important;
}

.medlab-shop ul.products li.product .price .medlab-price .medlab-price__num {
	grid-column: 2 !important;
}

.medlab-shop-elementor-catalog ul.products li.product .woocommerce-loop-product__title {
	font-size: var(--ms-title-size, 1rem) !important;
}

.medlab-shop-elementor-catalog ul.products li.product .price {
	font-size: var(--ms-price-size, 1.08rem) !important;
}

.medlab-shop-elementor-catalog ul.products li.product a.button {
	font-size: var(--ms-cart-size, 0.95rem) !important;
	width: var(--ms-cart-width, 90%) !important;
	max-width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	align-self: center;
	justify-self: center;
	box-sizing: border-box !important;
	box-shadow: none;
}

/* Image hover animations */
.medlab-shop-elementor-catalog ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop-elementor-catalog ul.products li.product .medlab-shop-card-photo > img {
	transition: transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
}

.medlab-shop--img-anim-none ul.products li.product:hover .medlab-shop-card-photo > img,
.medlab-shop--img-anim-none ul.products li.product:hover > a > img {
	transform: none !important;
	filter: none !important;
}

.medlab-shop--img-anim-zoom ul.products li.product:hover .medlab-shop-card-photo > img,
.medlab-shop--img-anim-zoom ul.products li.product:hover > a > img {
	transform: scale(1.08) !important;
}

.medlab-shop--img-anim-zoom-out ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--img-anim-zoom-out ul.products li.product .medlab-shop-card-photo > img {
	transform: scale(1.08);
}

.medlab-shop--img-anim-zoom-out ul.products li.product:hover .medlab-shop-card-photo > img,
.medlab-shop--img-anim-zoom-out ul.products li.product:hover > a > img {
	transform: scale(1) !important;
}

.medlab-shop--img-anim-lift ul.products li.product:hover .medlab-shop-card-photo > img,
.medlab-shop--img-anim-lift ul.products li.product:hover > a > img {
	transform: translateY(-10px) !important;
}

.medlab-shop--img-anim-tilt ul.products li.product:hover .medlab-shop-card-photo > img,
.medlab-shop--img-anim-tilt ul.products li.product:hover > a > img {
	transform: rotate(-4deg) scale(1.04) !important;
}

.medlab-shop--img-anim-rotate ul.products li.product:hover .medlab-shop-card-photo > img,
.medlab-shop--img-anim-rotate ul.products li.product:hover > a > img {
	transform: rotate(6deg) !important;
}

.medlab-shop--img-anim-bright ul.products li.product:hover .medlab-shop-card-photo > img,
.medlab-shop--img-anim-bright ul.products li.product:hover > a > img {
	filter: brightness(1.18) saturate(1.08);
	transform: scale(1.03) !important;
}

.medlab-shop--img-anim-gray ul.products li.product .medlab-shop-card-photo > img,
.medlab-shop--img-anim-gray ul.products li.product .medlab-shop-card-photo > img {
	filter: grayscale(1);
}

.medlab-shop--img-anim-gray ul.products li.product:hover .medlab-shop-card-photo > img,
.medlab-shop--img-anim-gray ul.products li.product:hover > a > img {
	filter: grayscale(0);
	transform: scale(1.03) !important;
}

.medlab-shop--img-anim-shine ul.products li.product:hover .medlab-shop-card-photo > img,
.medlab-shop--img-anim-shine ul.products li.product:hover > a > img {
	filter: brightness(1.22) contrast(1.06);
	transform: scale(1.04) !important;
}

.medlab-shop--img-anim-bounce ul.products li.product:hover .medlab-shop-card-photo > img,
.medlab-shop--img-anim-bounce ul.products li.product:hover > a > img {
	animation: medlab-img-bounce 0.55s ease;
}

@keyframes medlab-img-bounce {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

/* Elementor canvas: same card layout as the published / preview page */
.elementor-widget-medlab_shop_catalog > .elementor-widget-container {
	overflow: visible;
}

.elementor-widget-medlab_shop_catalog .medlab-shop {
	background: transparent;
}

.elementor-widget-medlab_shop_catalog .medlab-shop-toolbar,
.elementor-widget-medlab_shop_catalog .medlab-shop ul.products {
	max-width: none;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.elementor-editor-active .elementor-widget-medlab_shop_catalog ul.products li.product,
.elementor-editor-preview .elementor-widget-medlab_shop_catalog ul.products li.product {
	pointer-events: auto;
}

