/* AuraShop Product Showcase — standalone grid, carousel, jewelry skins and 3D. */
.as-showcase-widget {
	--as-sc-accent: var(--as-accent, #17171a);
	--as-sc-gold: var(--as-gold, #b8965a);
	--as-sc-gap: 22px;
	--as-sc-arrow-size: 44px;
	--as-sc-arrow-bg: rgba(255, 255, 255, .96);
	--as-sc-arrow-color: #17171a;
	--as-sc-category-active: #17171a;
	--as-sc-category-active-text: #fff;
	--as-sc-content-padding: 16px;
	--as-sc-image-padding: 12px;
	--as-sc-rx: 0deg;
	--as-sc-ry: 0deg;
	--as-sc-shine-x: 50%;
	--as-sc-shine-y: 20%;
	/* Server-rendered formulas override these safe defaults. They prevent a
	   one-slide flash while Elementor is inserting the replacement preview DOM. */
	--as-sc-slide-desktop: calc(25% - var(--as-sc-gap) + (var(--as-sc-gap) / 4));
	--as-sc-slide-tablet: calc(40% - var(--as-sc-gap) + (var(--as-sc-gap) / 2.5));
	--as-sc-slide-mobile: calc(80% - var(--as-sc-gap) + (var(--as-sc-gap) / 1.25));
	--as-sc-auto-min: 250px;
	position: relative;
	width: 100%;
	min-width: 0;
	container-type: inline-size;
	container-name: as-showcase;
	isolation: isolate;
}
.as-showcase-widget .as-showcase-shell,
.as-showcase-widget .as-showcase-viewport,
.as-showcase-widget .as-showcase-track,
.as-showcase-widget .as-showcase-slide { min-width: 0; }
.as-showcase-widget [hidden] { display: none !important; }

/* Header */
.as-showcase-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin: 0 0 24px;
}
.as-showcase-heading-copy { min-width: 0; }
.as-showcase-heading-title {
	margin: 0;
	color: var(--as-text);
	font-size: clamp(24px, 3.2cqi, 42px);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -.025em;
}
.as-showcase-heading-subtitle {
	max-width: 680px;
	margin-top: 8px;
	color: var(--as-text-muted);
	font-size: 14px;
	line-height: 1.75;
}
.as-showcase-heading-link {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 9px;
	padding-block: 5px;
	color: var(--as-text) !important;
	border-bottom: 1px solid var(--as-sc-gold);
	text-decoration: none !important;
	font-size: 12px;
	font-weight: 650;
	letter-spacing: .02em;
	transition: color .25s ease, gap .25s ease;
}
.as-showcase-heading-link:hover { color: var(--as-sc-gold) !important; gap: 14px; }
[dir="rtl"] .as-showcase-heading-link > span:last-child { transform: scaleX(-1); }

/* Hierarchical AJAX category tabs */
.as-showcase-categories {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 22px;
	padding: 3px 2px 9px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scrollbar-width: none;
	-ms-overflow-style: none;
	scroll-behavior: smooth;
}
.as-showcase-categories::-webkit-scrollbar { display: none; }
html body .as-showcase-widget button.as-showcase-category,
html body .as-showcase-widget a.as-showcase-category {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	gap: 8px;
	min-height: 40px;
	margin: 0;
	padding: 9px 15px;
	color: var(--as-text);
	background: var(--as-surface);
	border: 1px solid var(--as-border);
	border-radius: 999px;
	box-shadow: none;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}
html body .as-showcase-widget .as-showcase-category:hover {
	color: var(--as-sc-gold);
	border-color: var(--as-sc-gold);
	transform: translateY(-2px);
}
html body .as-showcase-widget .as-showcase-category.is-active {
	color: var(--as-sc-category-active-text);
	background: var(--as-sc-category-active);
	border-color: var(--as-sc-category-active);
}
.as-showcase-category.is-subcategory {
	margin-inline-start: var(--as-sc-cat-indent, 0px);
	border-style: dashed;
}
.as-showcase-category.is-subcategory .as-showcase-category-label::before {
	content: "↳";
	margin-inline-end: 6px;
	color: var(--as-sc-gold);
}
[dir="rtl"] .as-showcase-category.is-subcategory .as-showcase-category-label::before { display: inline-block; transform: scaleX(-1); }
.as-showcase-category-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 21px;
	height: 21px;
	padding-inline: 5px;
	border-radius: 999px;
	background: color-mix(in srgb, currentColor 9%, transparent);
	font-size: 10px;
	font-variant-numeric: tabular-nums;
}
.as-showcase-category-image {
	width: 34px;
	height: 34px;
	margin: -4px 0;
	overflow: hidden;
	border-radius: 50%;
	background: #f5f2ec;
}
.as-showcase-category-image img { width: 100%; height: 100%; object-fit: cover; }
.as-showcase-categories-cards { align-items: stretch; gap: 12px; }
html body .as-showcase-widget .as-showcase-categories-cards .as-showcase-category {
	min-width: 150px;
	justify-content: flex-start;
	padding: 10px 13px;
	border-radius: 14px;
}
.as-showcase-categories-cards .as-showcase-category-image { width: 44px; height: 44px; }
html body .as-showcase-widget .as-showcase-categories-minimal .as-showcase-category {
	min-height: 32px;
	padding: 4px 2px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid transparent;
	border-radius: 0;
}
html body .as-showcase-widget .as-showcase-categories-minimal .as-showcase-category.is-active {
	color: var(--as-sc-gold);
	background: transparent;
	border-bottom-color: var(--as-sc-gold);
}

/* Grid and carousel share exactly the same cards. */
.as-showcase-shell { position: relative; width: 100%; }
.as-showcase-viewport { width: 100%; }
.as-showcase-track { gap: var(--as-sc-gap); }
.as-showcase-layout-grid .as-showcase-track {
	display: grid;
	grid-template-columns: repeat(var(--as-sc-cols-desktop, 4), minmax(0, 1fr));
	align-items: stretch;
}
.as-showcase-layout-grid.as-showcase-grid-auto .as-showcase-track {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--as-sc-grid-min, 240px)), 1fr));
}
.as-showcase-layout-carousel .as-showcase-track {
	--as-sc-slide-size: var(--as-sc-slide-desktop);
	display: flex;
	align-items: stretch;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 5px 2px 22px;
	scroll-padding-inline: 2px;
	scroll-snap-type: x mandatory;
	overscroll-behavior-inline: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	touch-action: pan-x pan-y;
}
.as-showcase-layout-carousel .as-showcase-track::-webkit-scrollbar { display: none; }
.as-showcase-layout-carousel.as-showcase-carousel-auto .as-showcase-track {
	--as-sc-slide-size: min(100%, var(--as-sc-auto-min));
}
@container as-showcase (max-width: 900px) {
	.as-showcase-layout-carousel:not(.as-showcase-carousel-auto) .as-showcase-track { --as-sc-slide-size: var(--as-sc-slide-tablet); }
}
@container as-showcase (max-width: 480px) {
	.as-showcase-layout-carousel:not(.as-showcase-carousel-auto) .as-showcase-track { --as-sc-slide-size: var(--as-sc-slide-mobile); }
}
.as-showcase-layout-carousel .as-showcase-slide {
	flex: 0 0 var(--as-sc-slide-size, calc(100% - var(--as-sc-gap)));
	scroll-snap-align: start;
	scroll-snap-stop: normal;
}
.as-showcase-snap-center.as-showcase-layout-carousel .as-showcase-slide { scroll-snap-align: center; }
.as-showcase-layout-carousel .as-showcase-track[style] { scroll-snap-type: x mandatory; }
.as-showcase-widget:has(.as-showcase-track.is-dragging) { user-select: none; }
.as-showcase-track.is-dragging { cursor: grabbing !important; scroll-snap-type: none !important; }
.as-showcase-track.is-dragging * { cursor: grabbing !important; }
.as-showcase-track:focus-visible { outline: 2px solid var(--as-sc-gold); outline-offset: 5px; border-radius: 4px; }
.as-showcase-slide {
	display: flex;
	container-type: inline-size;
	container-name: as-card;
}
.as-showcase-slide > .as-product-card { width: 100%; height: auto; min-width: 0; align-self: stretch; margin: 0; }
.as-showcase-empty {
	display: flex;
	flex: 1 0 100%;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 240px;
	padding: 40px 20px;
	color: var(--as-text-muted);
	text-align: center;
	border: 1px dashed var(--as-border-strong);
	border-radius: var(--as-card-radius);
	background: var(--as-surface-warm);
}
.as-showcase-empty strong { color: var(--as-text); font-size: 17px; }
.as-showcase-empty-gem { color: var(--as-sc-gold); font-size: 38px; line-height: 1; }

/* Card layout primitives; original Archive skin deliberately remains untouched. */
.as-showcase-widget:not(.as-showcase-style-archive) .as-card-body { padding: var(--as-sc-content-padding); }
.as-showcase-widget .as-card-img-link { padding: var(--as-sc-image-padding); }
.as-showcase-widget .as-card-img-secondary {
	inset: var(--as-sc-image-padding);
	width: calc(100% - var(--as-sc-image-padding) - var(--as-sc-image-padding));
	height: calc(100% - var(--as-sc-image-padding) - var(--as-sc-image-padding));
	max-width: calc(100% - var(--as-sc-image-padding) - var(--as-sc-image-padding));
	max-height: calc(100% - var(--as-sc-image-padding) - var(--as-sc-image-padding));
}
.as-showcase-widget .as-card-title {
	-webkit-line-clamp: var(--as-sc-title-lines, 2);
	min-height: 0;
	overflow-wrap: anywhere;
}
.as-showcase-widget .as-card-price { min-width: 0; overflow-wrap: anywhere; }
.as-showcase-widget .as-card-excerpt,
.as-showcase-widget .as-rating-num { color: var(--as-text-muted); }
.as-showcase-widget .as-card-excerpt { line-height: 1.7; }
.as-showcase-align-start .as-card-body { align-items: stretch; text-align: start; }
.as-showcase-align-center .as-card-body { align-items: center; text-align: center; }
.as-showcase-align-end .as-card-body { align-items: flex-end; text-align: end; }
.as-showcase-align-center .as-card-eyebrow-row,
.as-showcase-align-center .as-card-price-row,
.as-showcase-align-center .as-card-editorial-footer { justify-content: center; width: 100%; }
.as-showcase-align-end .as-card-eyebrow-row,
.as-showcase-align-end .as-card-price-row,
.as-showcase-align-end .as-card-editorial-footer { justify-content: flex-end; width: 100%; }
.as-showcase-swatch-align-center .as-card-swatches { justify-content: center; }
.as-showcase-swatch-align-end .as-card-swatches { justify-content: flex-end; }
.as-showcase-content-minimal .as-card-eyebrow-row,
.as-showcase-content-minimal .as-card-excerpt { display: none !important; }
.as-showcase-content-minimal .as-card-body { justify-content: flex-start; }

/* Split editorial card, with container-based fallback below. */
.as-showcase-content-split .as-product-card {
	display: grid;
	grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
	align-items: stretch;
}
.as-showcase-content-split .as-card-media {
	height: 100%;
	min-height: 290px;
	aspect-ratio: auto;
}
.as-showcase-content-split .as-card-body { justify-content: center; min-width: 0; }
.as-showcase-content-split .as-card-title { font-size: clamp(14px, 4.5cqi, 20px); }

/* Glass overlay card. The original variation dock gets the highest layer when opened. */
.as-showcase-content-overlay .as-product-card { display: block; }
.as-showcase-content-overlay .as-card-body {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 6;
	gap: 5px;
	padding-top: 64px;
	color: #fff;
	background: linear-gradient(to bottom, transparent, rgba(8, 8, 10, .82) 40%, rgba(8, 8, 10, .96));
}
.as-showcase-content-overlay .as-card-title,
.as-showcase-content-overlay .as-card-title a,
.as-showcase-content-overlay .as-card-price,
.as-showcase-content-overlay .as-card-excerpt { color: var(--as-sc-overlay-text, #fff) !important; }
.as-showcase-content-overlay .as-card-cat,
.as-showcase-content-overlay .as-card-brand,
.as-showcase-content-overlay .as-card-rating,
.as-showcase-content-overlay .as-rating-num { color: var(--as-sc-overlay-muted, #eee5d5) !important; }
.as-showcase-content-overlay .as-card-rating-pill { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); }
.as-showcase-content-overlay .as-card-price del { color: rgba(255,255,255,.65); }
.as-showcase-content-overlay .as-card-editorial-footer { border-top-color: rgba(255,255,255,.16); }
.as-showcase-widget .as-card-var-atc { z-index: 12; }

/* Badge placement */
.as-showcase-widget .as-card-badges { left: auto; right: auto; }
.as-showcase-badges-top_start .as-card-badges,
.as-showcase-badges-bottom_start .as-card-badges { inset-inline-start: 10px; inset-inline-end: auto; align-items: flex-start; }
.as-showcase-badges-top_end .as-card-badges,
.as-showcase-badges-bottom_end .as-card-badges { inset-inline-start: auto; inset-inline-end: 10px; align-items: flex-end; }
.as-showcase-badges-top_start .as-card-badges,
.as-showcase-badges-top_end .as-card-badges { top: 10px; bottom: auto; }
.as-showcase-badges-bottom_start .as-card-badges,
.as-showcase-badges-bottom_end .as-card-badges { top: auto; bottom: 12px; }
.as-showcase-widget .as-badge-custom {
	color: var(--as-badge-color, #fff);
	background: var(--as-badge-bg, #17171a);
}

/* Action placement */
.as-showcase-widget .as-card-actions { left: auto; right: auto; }
.as-showcase-actions-side .as-card-actions { top: 10px; bottom: auto; inset-inline-start: auto; inset-inline-end: 10px; flex-direction: column; }
.as-showcase-actions-bottom .as-card-actions { top: auto; bottom: 12px; inset-inline: 10px; flex-direction: row; justify-content: flex-end; }
.as-showcase-actions-top .as-card-actions { top: 10px; bottom: auto; inset-inline: 10px; flex-direction: row; justify-content: flex-end; }

/* Floating swatches retain all original variation data and event handlers. */
.as-showcase-widget .as-card-swatch-stack.as-showcase-media-swatches {
	position: absolute;
	bottom: 12px;
	z-index: 8;
	width: max-content;
	max-width: calc(100% - 20px);
	margin: 0;
	padding: 7px 9px;
	border: 1px solid rgba(255,255,255,.55);
	border-radius: 12px;
	background: rgba(255,255,255,.88);
	box-shadow: 0 8px 24px rgba(0,0,0,.10);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}
.as-showcase-swatches-media.as-showcase-swatch-align-start .as-card-swatch-stack { inset-inline-start: 10px; inset-inline-end: auto; }
.as-showcase-swatches-media.as-showcase-swatch-align-end .as-card-swatch-stack { inset-inline-start: auto; inset-inline-end: 10px; }
.as-showcase-swatches-media.as-showcase-swatch-align-center .as-card-swatch-stack { inset-inline: 10px; margin-inline: auto; }
/* v4.1.0: floating swatches glide up above the glass quantity dock instead of disappearing. */
.as-showcase-widget.as-showcase-qty-glass .as-product-card.is-qty-open .as-card-media .as-showcase-media-swatches { bottom: 74px; }
.as-showcase-actions-bottom.as-showcase-qty-glass .as-product-card.is-qty-open .as-card-media .as-showcase-media-swatches { bottom: 122px; }

/* Keep custom badge/action/swatch combinations usable instead of allowing collisions. */
.as-showcase-content-overlay .as-card-actions,
.as-showcase-content-overlay .as-card-badges { z-index: 9; }
.as-showcase-actions-side.as-showcase-badges-top_end .as-card-badges,
.as-showcase-actions-side.as-showcase-badges-bottom_end .as-card-badges { inset-inline-end: 54px; }
.as-showcase-actions-side.as-showcase-swatches-media.as-showcase-swatch-align-end .as-showcase-media-swatches { inset-inline-end: 54px; max-width: calc(100% - 64px); }
/* Top badges stay at the selected top edge. Horizontal actions use the
   opposite lane instead of pushing a "top" badge 58px into the product. */
.as-showcase-actions-top.as-showcase-badges-top_end .as-card-actions { justify-content: flex-start; }
.as-showcase-actions-bottom.as-showcase-badges-bottom_start .as-card-badges,
.as-showcase-actions-bottom.as-showcase-badges-bottom_end .as-card-badges { bottom: 60px; }
.as-showcase-swatches-media.as-showcase-badges-bottom_start .as-product-card:has(.as-showcase-media-swatches) .as-card-badges,
.as-showcase-swatches-media.as-showcase-badges-bottom_end .as-product-card:has(.as-showcase-media-swatches) .as-card-badges { bottom: 64px; }
.as-showcase-actions-bottom.as-showcase-swatches-media .as-showcase-media-swatches { bottom: 60px; }
.as-showcase-actions-bottom.as-showcase-swatches-media.as-showcase-badges-bottom_start .as-product-card:has(.as-showcase-media-swatches) .as-card-badges,
.as-showcase-actions-bottom.as-showcase-swatches-media.as-showcase-badges-bottom_end .as-product-card:has(.as-showcase-media-swatches) .as-card-badges { bottom: 112px; }
.as-showcase-media-swatches .as-card-swatches { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.as-showcase-media-swatches .as-card-swatches::-webkit-scrollbar { display: none; }
/* Overlay content occupies the lower image area, so bottom controls use a safe top lane. */
.as-showcase-content-overlay.as-showcase-badges-bottom_start .as-card-badges,
.as-showcase-content-overlay.as-showcase-badges-bottom_end .as-card-badges { top: 10px; bottom: auto; }
.as-showcase-content-overlay.as-showcase-actions-bottom .as-card-actions { top: 10px; bottom: auto; flex-direction: row; }
.as-showcase-content-overlay.as-showcase-actions-top .as-card-badges,
.as-showcase-content-overlay.as-showcase-actions-bottom .as-card-badges { top: 10px; bottom: auto; }
.as-showcase-content-overlay.as-showcase-actions-top.as-showcase-badges-top_end .as-card-actions,
.as-showcase-content-overlay.as-showcase-actions-top.as-showcase-badges-bottom_end .as-card-actions,
.as-showcase-content-overlay.as-showcase-actions-bottom.as-showcase-badges-top_end .as-card-actions,
.as-showcase-content-overlay.as-showcase-actions-bottom.as-showcase-badges-bottom_end .as-card-actions { justify-content: flex-start; }

/* Showcase interaction model: the native quantity dock belongs to Aura Archive.
   Luxury skins resolve the same variation but never cover their swatches with it.
   The display guard also protects cached pre-4.0.3 markup. */
/* v4.1.0: the dock is now available in every skin (setting «باکس تعداد شیشه‌ای»); when that
   setting is off the markup is simply not rendered, so no hiding rule is needed any more. */

/* Actions appear as one stable group on card hover/focus. This also covers an
   already-active wishlist heart, which the original Archive CSS keeps visible. */
@media (hover: hover) and (pointer: fine) {
	html body .as-showcase-widget .as-product-card .as-card-actions {
		opacity: 0;
		pointer-events: none;
		transition: opacity .22s ease;
	}
	html body .as-showcase-widget .as-product-card:hover .as-card-actions,
	html body .as-showcase-widget .as-product-card:focus-within .as-card-actions {
		opacity: 1;
		pointer-events: auto;
	}
	html body .as-showcase-widget .as-product-card button.as-action-btn,
	html body .as-showcase-widget .as-product-card button.as-wishlist-btn.is-active {
		opacity: 1;
		transform: none;
	}
}
@media (hover: none), (pointer: coarse) {
	html body .as-showcase-widget .as-product-card .as-card-actions { opacity: 1; pointer-events: auto; }
}

/* No hover/selected zoom: scaling was clipped by the media frame and made
   pills look half-cut. Labels size to their content and grow vertically for
   genuinely long translations instead of overflowing a fixed 23px height. */
html body .as-showcase-widget button.as-card-swatch:hover,
html body .as-showcase-widget button.as-card-swatch.is-active,
html body .as-showcase-widget button.as-card-swatch.is-selected,
html body .as-showcase-widget .as-card-swatch.is-selected {
	transform: none !important;
}
html body .as-showcase-widget button.as-swatch-img:hover,
html body .as-showcase-widget button.as-swatch-img.is-active,
html body .as-showcase-widget button.as-swatch-img.is-selected,
html body .as-showcase-widget .as-card-swatch.is-selected {
	box-shadow: inset 0 0 0 1.5px var(--as-sc-gold) !important;
}
html body .as-showcase-widget button.as-card-swatch.as-swatch-label {
	flex: 0 0 auto;
	width: auto !important;
	max-width: 100%;
	min-height: 26px !important;
	height: auto !important;
	padding: 4px 8px !important;
	line-height: 1.2 !important;
	white-space: normal;
	overflow-wrap: anywhere;
}
html body .as-showcase-widget .as-card-swatches button.as-swatch-more {
	flex: 0 0 auto;
	min-height: 26px !important;
	height: auto !important;
}

/* Arrows and pagination */
html body .as-showcase-widget button.as-showcase-arrow {
	position: absolute;
	top: 50% !important;
	z-index: 20;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--as-sc-arrow-size);
	height: var(--as-sc-arrow-size);
	margin: 0;
	padding: 0;
	color: var(--as-sc-arrow-color);
	background: var(--as-sc-arrow-bg);
	border: 1px solid var(--as-border);
	border-radius: 50%;
	box-shadow: 0 8px 28px rgba(15,15,18,.13);
	transform: translateY(-50%) !important;
	translate: none !important;
	scale: 1 !important;
	cursor: pointer;
	transition: opacity .25s ease, color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
html body .as-showcase-widget button.as-showcase-arrow:hover:not(:disabled) {
	color: var(--as-sc-arrow-color) !important;
	background: var(--as-sc-arrow-bg) !important;
	border-color: var(--as-border);
	box-shadow: 0 10px 30px rgba(15,15,18,.17);
	top: 50% !important;
	transform: translateY(-50%) !important;
	translate: none !important;
	scale: 1 !important;
}
html body .as-showcase-widget .as-showcase-arrow:disabled { opacity: .25; cursor: default; }
.as-showcase-prev { inset-inline-start: 12px; }
.as-showcase-next { inset-inline-end: 12px; }
[dir="rtl"] .as-showcase-arrow svg { transform: scaleX(-1); }
.as-showcase-arrows-outside .as-showcase-prev { inset-inline-start: calc(0px - var(--as-sc-arrow-size)); }
.as-showcase-arrows-outside .as-showcase-next { inset-inline-end: calc(0px - var(--as-sc-arrow-size)); }
html body .as-showcase-arrows-hover .as-showcase-arrow { opacity: 0; }
html body .as-showcase-arrows-hover:hover .as-showcase-arrow,
html body .as-showcase-arrows-hover:focus-within .as-showcase-arrow { opacity: 1; }
.as-showcase-arrows-bottom .as-showcase-shell { padding-bottom: 62px; }
html body .as-showcase-arrows-bottom button.as-showcase-arrow { top: auto !important; bottom: 2px; transform: none !important; }
html body .as-showcase-arrows-bottom button.as-showcase-arrow:hover:not(:disabled) { top: auto !important; transform: none !important; }
.as-showcase-arrows-bottom .as-showcase-prev { inset-inline-start: 0; }
.as-showcase-arrows-bottom .as-showcase-next { inset-inline-end: 0; }
.as-showcase-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 24px;
	margin-top: 3px;
}
.as-showcase-arrows-bottom .as-showcase-pagination { position: absolute; inset-inline: 60px; bottom: 12px; margin: 0; }
html body .as-showcase-widget button.as-showcase-dot {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 99px;
	background: color-mix(in srgb, var(--as-text) 22%, transparent);
	cursor: pointer;
	transition: width .3s ease, background .3s ease;
}
html body .as-showcase-widget .as-showcase-dot.is-active { width: 26px; background: var(--as-sc-gold); }
.as-showcase-progress-track { width: min(240px, 60%); height: 2px; overflow: hidden; background: var(--as-border-strong); }
.as-showcase-progress-track > span { display: block; width: 100%; height: 100%; background: var(--as-sc-gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
[dir="rtl"] .as-showcase-progress-track > span { transform-origin: right; }
.as-showcase-pagination-fraction { color: var(--as-text-muted); font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.as-showcase-sr-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* AJAX loading never destroys the current layout on network errors. */
.as-showcase-loading {
	position: absolute;
	inset: 0;
	z-index: 30;
	display: flex;
	align-items: center;
	justify-content: center;
	background: color-mix(in srgb, var(--as-surface) 68%, transparent);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .2s ease, visibility .2s ease;
}
.as-showcase-loading > span { width: 30px; height: 30px; border: 2px solid var(--as-border-strong); border-top-color: var(--as-sc-gold); border-radius: 50%; }
.as-showcase-widget.is-loading .as-showcase-loading { opacity: 1; visibility: visible; pointer-events: auto; }
.as-showcase-widget.is-loading .as-showcase-loading > span { animation: asShowcaseSpin .7s linear infinite; }
@keyframes asShowcaseSpin { to { transform: rotate(360deg); } }

/* 1. Aurum — warm jewelry atelier */
.as-showcase-style-aurum {
	--as-gold: #b28a47;
	--as-sc-gold: var(--as-gold);
	--as-surface: #fffefb;
	--as-surface-warm: #faf7f0;
	--as-text: #24201a;
	--as-text-muted: #837763;
}
.as-showcase-style-aurum .as-product-card {
	border-color: rgba(167,130,66,.23);
	background: var(--as-sc-card-bg, linear-gradient(145deg, #fffefb, #fdfaf4));
	box-shadow: 0 12px 36px -20px rgba(93,67,28,.32);
}
.as-showcase-style-aurum .as-card-media { border-color: rgba(178,138,71,.14); }
.as-showcase-style-aurum .as-card-cat,
.as-showcase-style-aurum .as-card-brand { color: var(--as-sc-card-accent, #a37d3d); }
.as-showcase-style-aurum .as-card-title { font-weight: 550; letter-spacing: -.01em; }
.as-showcase-style-aurum .as-card-price { color: var(--as-sc-card-accent, #8a672e); }

/* 2. Noir — dark high-jewelry boutique with a bright product stage. */
.as-showcase-style-noir {
	--as-gold: #d0ad6b;
	--as-sc-gold: var(--as-gold);
	--as-accent: #d0ad6b;
	--as-sc-accent: var(--as-accent);
	--as-surface: #111214;
	--as-surface-warm: #1a1b1e;
	--as-text: #f5f1e9;
	--as-text-muted: #b5afa4;
	--as-border: rgba(222,190,128,.17);
	--as-border-strong: rgba(222,190,128,.3);
	--as-sc-arrow-bg: rgba(20,20,22,.94);
	--as-sc-arrow-color: #f4e7cc;
	--as-sc-category-active: #d0ad6b;
	--as-sc-category-active-text: #111214;
}
.as-showcase-style-noir .as-product-card { background: var(--as-sc-card-bg, linear-gradient(155deg, #17181b, #0c0d0f)); border-color: rgba(208,173,107,.25); box-shadow: 0 20px 50px -24px rgba(0,0,0,.75); }
.as-showcase-style-noir .as-card-media { background: linear-gradient(145deg, #f6f2ea, #e9e1d4); border-bottom-color: rgba(208,173,107,.22); }
.as-showcase-style-noir .as-card-title a { color: var(--as-sc-title-text, #f7f3eb) !important; }
.as-showcase-style-noir .as-card-title a:hover { color: var(--as-sc-card-accent, #d0ad6b) !important; }
.as-showcase-style-noir .as-card-price { color: var(--as-sc-card-accent, #d8b878); }
.as-showcase-style-noir .as-card-cat,
.as-showcase-style-noir .as-card-brand { color: var(--as-sc-card-accent, #c7a562); }
.as-showcase-style-noir .as-card-excerpt,
.as-showcase-style-noir .as-rating-num { color: var(--as-text-muted) !important; }
.as-showcase-style-noir .as-card-editorial-footer { border-top-color: rgba(208,173,107,.2); }
.as-showcase-style-noir .as-card-rating-pill { background: #22201b; }
.as-showcase-style-noir .as-card-price del { color: #8f897e; }
.as-showcase-style-noir .as-card-price-row,
.as-showcase-style-noir .as-card-editorial-footer { background: transparent; }
.as-showcase-style-noir .as-showcase-empty { background: #17181b; }
/* Dark card tokens must not make a light-page heading invisible. */
.as-showcase-style-noir .as-showcase-heading-title { color: #24211c; }
.as-showcase-style-noir .as-showcase-heading-subtitle { color: #81786b; }
html body .as-showcase-style-noir .as-showcase-heading-link { color: #24211c !important; }
.as-showcase-style-noir .as-showcase-pagination-fraction { color: #81786b; }

/* 3. Pearl — clean, soft silver and pearl. */
.as-showcase-style-pearl {
	--as-gold: #9c8797;
	--as-sc-gold: var(--as-gold);
	--as-surface: #fff;
	--as-surface-warm: #f8f7f8;
	--as-text: #29262a;
	--as-text-muted: #8d858e;
	--as-card-radius: 22px;
}
.as-showcase-style-pearl .as-product-card { border-color: rgba(93,77,91,.09); box-shadow: 0 16px 42px -24px rgba(71,54,70,.28); }
.as-showcase-style-pearl .as-card-media { background: linear-gradient(150deg, #fbfafb, #f0edef); border-color: rgba(93,77,91,.06); }
.as-showcase-style-pearl .as-card-title { font-weight: 500; }
.as-showcase-style-pearl .as-card-cat,
.as-showcase-style-pearl .as-card-brand { color: var(--as-sc-card-accent, #9c8797); }
.as-showcase-style-pearl .as-card-price { color: var(--as-sc-card-accent, #685765); }

/* 4. Editorial — architectural border and magazine typography. */
.as-showcase-style-editorial { --as-gold: #a57b43; --as-sc-gold: var(--as-gold); --as-surface: #fff; --as-text: #1e1d1b; }
.as-showcase-style-editorial .as-product-card { border-radius: var(--as-card-radius, 3px); border-color: rgba(30,29,27,.17); box-shadow: none; }
.as-showcase-style-editorial .as-product-card::before { height: 1px; }
.as-showcase-style-editorial .as-card-media { background: #f5f3ef; }
.as-showcase-style-editorial .as-card-title { font-weight: 500; line-height: 1.35; }
.as-showcase-style-editorial .as-card-cat,
.as-showcase-style-editorial .as-card-brand { letter-spacing: .13em; }
.as-showcase-style-editorial .as-card-editorial-footer { margin-top: auto; }

/* 5. Prism — GPU-light 3D tilt and a specular shine, disabled for reduced motion. */
.as-showcase-style-prism {
	--as-gold: #c3a365;
	--as-sc-gold: var(--as-gold);
	--as-surface: #f8f8f6;
	--as-text: #17181b;
	perspective: 1300px;
}
.as-showcase-style-prism .as-showcase-slide { perspective: 1200px; }
.as-showcase-style-prism .as-product-card {
	--as-sc-lift: 0px;
	transform: perspective(1100px) translateY(var(--as-sc-lift)) rotateX(var(--as-sc-rx)) rotateY(var(--as-sc-ry));
	transform-style: preserve-3d;
	border-color: rgba(179,147,87,.32);
	background: var(--as-sc-card-bg, linear-gradient(145deg, rgba(255,255,255,.98), rgba(237,235,229,.96)));
	box-shadow: 0 18px 38px rgba(31,29,24,.075), inset 0 1px 0 rgba(255,255,255,.9);
	transition: transform .18s ease-out, border-color .3s ease, box-shadow .3s ease;
	will-change: transform;
}
.as-showcase-style-prism .as-product-card:hover { --as-sc-lift: -7px; border-color: rgba(195,163,101,.65); box-shadow: 0 26px 54px rgba(31,29,24,.105), inset 0 1px 0 rgba(255,255,255,.9); }
.as-showcase-style-prism .as-card-media {
	/* A transformed/isolated media stage prevents multiply from seeing the card
	   backdrop and leaves a white JPEG rectangle. Keep the 3D depth on the image
	   itself so white backgrounds visually dissolve into the floating stage. */
	transform: none;
	border: 0;
	background: transparent !important;
	box-shadow: none;
}
.as-showcase-style-prism .as-card-img-link { position: relative; background: transparent; }
.as-showcase-style-prism .as-card-img-link::after {
	content: "";
	position: absolute;
	z-index: 0;
	inset-inline: 20%;
	bottom: 8%;
	height: 15%;
	pointer-events: none;
	background: radial-gradient(ellipse at center, rgba(25,24,22,.22) 0%, rgba(25,24,22,.08) 42%, transparent 72%);
	filter: blur(7px);
}
.as-showcase-style-prism .as-card-media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	background: radial-gradient(circle at var(--as-sc-shine-x) var(--as-sc-shine-y), rgba(255,255,255,.52), transparent 42%);
	mix-blend-mode: screen;
}
.as-showcase-style-prism .as-card-body { transform: translateZ(7px); }
html body .as-showcase-style-prism .as-product-card .as-card-img {
	position: relative;
	z-index: 1;
	mix-blend-mode: multiply;
	/* Normalize near-white packshot backgrounds before multiplying them into
	   the stage; the product and its own photographic shadow remain visible. */
	filter: brightness(1.18) contrast(1.08) !important;
	transform: translateZ(28px) scale(.96) !important;
}
html body .as-showcase-style-prism .as-product-card .as-card-img-secondary { position: absolute; }
.as-showcase-style-prism .as-card-badges,
.as-showcase-style-prism .as-card-actions { transform: translateZ(25px); }

/* Focus and touch behavior */
.as-showcase-widget a:focus-visible,
.as-showcase-widget button:focus-visible { outline: 2px solid var(--as-sc-gold) !important; outline-offset: 3px !important; }
@media (hover: none) {
	html body .as-showcase-arrows-hover .as-showcase-arrow { opacity: 1; }
	.as-showcase-style-prism .as-product-card { transform: none !important; will-change: auto; }
	.as-showcase-style-prism .as-card-media,
	.as-showcase-style-prism .as-card-body,
	.as-showcase-style-prism .as-card-badges,
	.as-showcase-style-prism .as-card-actions { transform: none; }
	html body .as-showcase-style-prism .as-product-card .as-card-img { transform: none !important; }
}

/* Real container responsiveness: narrow Elementor columns behave like mobile too. */
@container as-card (max-width: 300px) {
	.as-showcase-widget:not(.as-showcase-style-archive) .as-card-body { padding: 11px; }
	.as-showcase-widget .as-card-title { font-size: 13px; }
	.as-showcase-content-split .as-card-media { min-height: 220px; }
	.as-showcase-content-split .as-card-price-row,
	.as-showcase-content-split .as-card-editorial-footer { flex-wrap: wrap; }
	.as-showcase-content-split .as-card-badges { gap: 3px; max-width: calc(100% - 48px); }
	.as-showcase-content-split .as-badge {
		max-width: 100%;
		padding: 3px 5px;
		overflow: hidden;
		font-size: 8px;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.as-showcase-content-split .as-card-actions { gap: 4px; }
	.as-showcase-widget.as-showcase-content-split button.as-action-btn { width: 28px !important; height: 28px !important; }
	.as-showcase-widget.as-showcase-content-split button.as-action-btn svg { width: 13px !important; height: 13px !important; }
	.as-showcase-content-split.as-showcase-actions-side .as-card-actions { top: 6px; inset-inline-end: 6px; }
	.as-showcase-content-split.as-showcase-badges-top_start .as-card-badges { top: 6px; inset-inline-start: 6px; }
	/* Compact but genuinely overlaid: the control must still have a visible
	   effect in the common 180–300px homepage-card range. Long custom content
	   remains reachable inside the card instead of escaping its image frame. */
	.as-showcase-content-overlay .as-card-body {
		max-height: 100%;
		padding: 42px 11px 11px;
		overflow-y: auto;
		scrollbar-width: none;
	}
	.as-showcase-content-overlay .as-card-body::-webkit-scrollbar { display: none; }
	.as-showcase-content-overlay.as-showcase-actions-side .as-card-body { padding-inline-end: 64px; }
	.as-showcase-content-overlay .as-card-excerpt { display: none; }
	.as-showcase-widget .as-card-swatch-stack.as-showcase-media-swatches { padding: 5px 6px; border-radius: 9px; }
}
@container as-card (max-width: 199px) {
	/* Two columns need at least 200px for the media controls and content to
	   coexist without clipping. The 200–470px range now stays genuinely split. */
	.as-showcase-content-split .as-product-card { display: flex; flex-direction: column; }
	.as-showcase-content-split .as-card-media { height: auto; min-height: 0; aspect-ratio: var(--as-img-ratio, 1/1); }
	.as-showcase-content-split .as-card-body { justify-content: flex-start; }
}
@container as-card (max-width: 169px) {
	/* Below 170px even a compact overlay is not reliably readable. Only this
	   extreme range uses the stacked accessibility fallback. */
	.as-showcase-content-overlay .as-product-card { display: flex; flex-direction: column; }
	.as-showcase-content-overlay .as-card-body {
		position: static;
		inset: auto;
		flex: 1 1 auto;
		max-height: none;
		padding: 11px;
		overflow: visible;
		color: var(--as-text);
		background: var(--as-surface);
	}
	.as-showcase-content-overlay .as-card-title,
	.as-showcase-content-overlay .as-card-title a,
	.as-showcase-content-overlay .as-card-price,
	.as-showcase-content-overlay .as-card-excerpt { color: var(--as-text) !important; }
	.as-showcase-content-overlay .as-card-cat,
	.as-showcase-content-overlay .as-card-brand,
	.as-showcase-content-overlay .as-card-rating,
	.as-showcase-content-overlay .as-rating-num { color: var(--as-text-muted) !important; }
	.as-showcase-content-overlay .as-stars { color: var(--as-sc-gold) !important; }
	.as-showcase-content-overlay .as-card-rating-pill { color: var(--as-text); background: var(--as-surface-warm); border-color: var(--as-border); }
	.as-showcase-content-overlay .as-card-price del { color: var(--as-text-muted); }
	.as-showcase-content-overlay .as-card-editorial-footer { border-top-color: var(--as-border); }
}
@container as-card (max-width: 225px) {
	.as-showcase-widget .as-card-excerpt,
	.as-showcase-widget:not(.as-showcase-style-archive) .as-compare-btn { display: none !important; }
	.as-showcase-widget .as-card-body { gap: 4px; }
	.as-showcase-content-overlay .as-card-rating,
	.as-showcase-content-overlay .as-card-rating-pill { display: none; }
}
@container as-showcase (max-width: 640px) {
	.as-showcase-header { align-items: flex-start; gap: 14px; }
	.as-showcase-heading-title { font-size: clamp(22px, 6cqi, 30px); }
	.as-showcase-heading-subtitle { font-size: 13px; }
	.as-showcase-layout-grid:not(.as-showcase-grid-auto) .as-showcase-track { grid-template-columns: repeat(var(--as-sc-cols-tablet, 2), minmax(0, 1fr)); }
}
@container as-showcase (max-width: 430px) {
	.as-showcase-header { flex-direction: column; }
	.as-showcase-layout-grid:not(.as-showcase-grid-auto) .as-showcase-track { grid-template-columns: repeat(var(--as-sc-cols-mobile, 1), minmax(0, 1fr)); }
	.as-showcase-categories { margin-bottom: 15px; }
	html body .as-showcase-widget button.as-showcase-category,
	html body .as-showcase-widget a.as-showcase-category { min-height: 36px; padding: 8px 12px; font-size: 11px; }
	.as-showcase-prev { inset-inline-start: 7px; }
	.as-showcase-next { inset-inline-end: 7px; }
}

/* Viewport fallbacks for browsers without container queries. */
@media (max-width: 1024px) {
	.as-showcase-layout-grid:not(.as-showcase-grid-auto) .as-showcase-track { grid-template-columns: repeat(var(--as-sc-cols-tablet, 3), minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.as-showcase-layout-grid:not(.as-showcase-grid-auto) .as-showcase-track { grid-template-columns: repeat(var(--as-sc-cols-mobile, 2), minmax(0, 1fr)); }
	.as-showcase-heading-title { font-size: clamp(22px, 6vw, 30px); }
}
@media (max-width: 480px) {
	.as-showcase-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
	.as-showcase-track { gap: var(--as-sc-gap, 12px); }
	.as-showcase-layout-carousel .as-showcase-track { padding-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.as-showcase-widget *,
	.as-showcase-widget *::before,
	.as-showcase-widget *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.as-showcase-style-prism .as-product-card { transform: none !important; }
	html body .as-showcase-style-prism .as-product-card .as-card-img { transform: none !important; }
}

/* ==========================================================================
   v4.1.0 — SWATCH MODELS · SMART OUT-OF-STOCK · LIQUID-GLASS QUANTITY DOCK · NO CARD SHADOW
   Everything below is scoped to the showcase widget (original Archive widget is untouched).
   ========================================================================== */

/* ---------- 1) Card shadow (toggle «سایه زیر کارت محصول», off by default) ---------- */
html body .as-showcase-widget.as-showcase-shadow-off .as-product-card,
html body .as-showcase-widget.as-showcase-shadow-off .as-product-card:hover,
html body .as-showcase-widget.as-showcase-shadow-off.as-showcase-style-prism .as-product-card:hover {
	box-shadow: none !important;
}
html body .as-showcase-widget.as-showcase-shadow-off.as-showcase-style-prism .as-card-img-link::after {
	display: none !important; /* the soft "ground shadow" under the product photo */
}

/* ---------- 2) Swatch models ---------- */
.as-showcase-widget { --as-sw-pick: var(--as-sc-gold, var(--as-gold, #b28a47)); --as-sw-gap: var(--as-surface, #fff); }

/* size slider also works on the classic model */
html body .as-showcase-widget.as-showcase-swsty-classic button.as-card-swatch.as-swatch-img {
	width: var(--as-sw-user, 28px) !important;
	height: var(--as-sw-user, 28px) !important;
}

/* ===== dots — clean round photo dots ===== */
html body .as-showcase-widget.as-showcase-swsty-dots .as-card-swatches { gap: 9px; }
html body .as-showcase-widget.as-showcase-swsty-dots button.as-card-swatch.as-swatch-img {
	width: var(--as-sw-user, 26px) !important; height: var(--as-sw-user, 26px) !important;
	padding: 0 !important; background: transparent !important;
	border: 1px solid rgba(20,20,22,.14) !important; border-radius: 50% !important;
	transition: box-shadow .22s ease, transform .22s ease !important;
}
html body .as-showcase-widget.as-showcase-swsty-dots button.as-card-swatch.as-swatch-img img { mix-blend-mode: normal !important; }
html body .as-showcase-widget.as-showcase-swsty-dots button.as-card-swatch.as-swatch-img:hover { transform: scale(1.1) !important; box-shadow: 0 0 0 2px var(--as-sw-gap), 0 0 0 3px rgba(20,20,22,.25) !important; }
html body .as-showcase-widget.as-showcase-swsty-dots button.as-card-swatch.as-swatch-img.is-selected,
html body .as-showcase-widget.as-showcase-swsty-dots button.as-card-swatch.as-swatch-img.is-active { border-color: transparent !important; box-shadow: 0 0 0 2px var(--as-sw-gap), 0 0 0 3.5px var(--as-sw-pick) !important; transform: none !important; }
html body .as-showcase-widget.as-showcase-swsty-dots button.as-card-swatch.as-swatch-label {
	min-width: var(--as-sw-user, 28px) !important; height: var(--as-sw-user, 28px) !important; min-height: 0 !important;
	padding: 0 8px !important; border-radius: 999px !important;
}

/* ===== ring — offset selection ring ===== */
html body .as-showcase-widget.as-showcase-swsty-ring .as-card-swatches { gap: 9px; }
html body .as-showcase-widget.as-showcase-swsty-ring button.as-card-swatch.as-swatch-img {
	width: var(--as-sw-user, 32px) !important; height: var(--as-sw-user, 32px) !important;
	padding: 3px !important; background: var(--as-sw-gap) !important;
	border: 1.5px solid rgba(20,20,22,.12) !important; border-radius: 50% !important;
	transition: border-color .22s ease, box-shadow .22s ease !important;
}
html body .as-showcase-widget.as-showcase-swsty-ring button.as-card-swatch.as-swatch-img img { mix-blend-mode: normal !important; }
html body .as-showcase-widget.as-showcase-swsty-ring button.as-card-swatch.as-swatch-img:hover { border-color: rgba(20,20,22,.38) !important; box-shadow: none !important; transform: none !important; }
html body .as-showcase-widget.as-showcase-swsty-ring button.as-card-swatch.as-swatch-img.is-selected,
html body .as-showcase-widget.as-showcase-swsty-ring button.as-card-swatch.as-swatch-img.is-active {
	border-color: var(--as-sw-pick) !important; transform: none !important;
	box-shadow: 0 0 0 3px rgba(184,150,90,.22) !important;
}
html body .as-showcase-widget.as-showcase-swsty-ring button.as-card-swatch.as-swatch-label {
	min-width: var(--as-sw-user, 32px) !important; height: var(--as-sw-user, 32px) !important; min-height: 0 !important;
	padding: 0 10px !important; border-radius: 999px !important; background: transparent !important; border: 1.5px solid rgba(20,20,22,.16) !important;
}
html body .as-showcase-widget.as-showcase-swsty-ring button.as-card-swatch.as-swatch-label:hover { background: transparent !important; color: var(--as-text) !important; border-color: rgba(20,20,22,.4) !important; }
html body .as-showcase-widget.as-showcase-swsty-ring button.as-card-swatch.as-swatch-label.is-selected { background: transparent !important; color: var(--as-sw-pick) !important; border-color: var(--as-sw-pick) !important; box-shadow: 0 0 0 3px rgba(184,150,90,.22) !important; }

/* ===== tile — rounded square tiles ===== */
html body .as-showcase-widget.as-showcase-swsty-tile .as-card-swatches { gap: 8px; }
html body .as-showcase-widget.as-showcase-swsty-tile button.as-card-swatch.as-swatch-img {
	width: var(--as-sw-user, 38px) !important; height: var(--as-sw-user, 38px) !important;
	padding: 0 !important; border-radius: 11px !important; background: var(--as-surface-warm, #faf7f0) !important;
	border: 1.5px solid rgba(20,20,22,.12) !important;
}
html body .as-showcase-widget.as-showcase-swsty-tile button.as-card-swatch.as-swatch-img img { border-radius: 9px !important; mix-blend-mode: normal !important; }
html body .as-showcase-widget.as-showcase-swsty-tile button.as-card-swatch.as-swatch-img:hover { border-color: rgba(20,20,22,.4) !important; transform: none !important; box-shadow: none !important; }
html body .as-showcase-widget.as-showcase-swsty-tile button.as-card-swatch.as-swatch-img.is-selected,
html body .as-showcase-widget.as-showcase-swsty-tile button.as-card-swatch.as-swatch-img.is-active { border-color: var(--as-sw-pick) !important; box-shadow: 0 0 0 1.5px var(--as-sw-pick) !important; transform: none !important; }
html body .as-showcase-widget.as-showcase-swsty-tile button.as-card-swatch.as-swatch-label {
	min-width: var(--as-sw-user, 38px) !important; height: var(--as-sw-user, 38px) !important; min-height: 0 !important;
	padding: 0 8px !important; border-radius: 11px !important; font-size: 12px !important;
}

/* ===== pill — capsule with photo + name ===== */
html body .as-showcase-widget.as-showcase-swsty-pill .as-card-swatches { gap: 6px; }
html body .as-showcase-widget.as-showcase-swsty-pill button.as-card-swatch.as-swatch-img {
	display: inline-flex !important; align-items: center !important; gap: 7px;
	width: auto !important; height: var(--as-sw-user, 34px) !important; max-width: 100%;
	padding: 3px !important; padding-inline-end: 13px !important;
	border-radius: 999px !important; background: var(--as-surface-warm, #faf7f0) !important;
	border: 1px solid rgba(20,20,22,.14) !important; overflow: hidden !important;
}
html body .as-showcase-widget.as-showcase-swsty-pill button.as-card-swatch.as-swatch-img img {
	width: calc(var(--as-sw-user, 34px) - 8px) !important; height: calc(var(--as-sw-user, 34px) - 8px) !important;
	flex: 0 0 auto; border-radius: 50% !important; mix-blend-mode: normal !important;
}
html body .as-showcase-widget.as-showcase-swsty-pill button.as-card-swatch.as-swatch-img .as-sw-name {
	display: inline-block; font-size: 11.5px; font-weight: 600; line-height: 1.1; color: var(--as-text);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 84px;
}
html body .as-showcase-widget.as-showcase-swsty-pill button.as-card-swatch.as-swatch-img:hover { transform: none !important; box-shadow: none !important; border-color: var(--as-sw-pick) !important; }
html body .as-showcase-widget.as-showcase-swsty-pill button.as-card-swatch.as-swatch-img.is-selected,
html body .as-showcase-widget.as-showcase-swsty-pill button.as-card-swatch.as-swatch-img.is-active { background: var(--as-accent, #17171a) !important; border-color: var(--as-accent, #17171a) !important; box-shadow: none !important; transform: none !important; }
html body .as-showcase-widget.as-showcase-swsty-pill button.as-card-swatch.as-swatch-img.is-selected .as-sw-name { color: #fff; }
html body .as-showcase-widget.as-showcase-swsty-pill button.as-card-swatch.as-swatch-label {
	height: var(--as-sw-user, 34px) !important; min-height: 0 !important; padding: 0 14px !important; border-radius: 999px !important;
}

/* ===== glass — liquid-glass chips ===== */
html body .as-showcase-widget.as-showcase-swsty-glass .as-card-swatches { gap: 8px; }
html body .as-showcase-widget.as-showcase-swsty-glass button.as-card-swatch.as-swatch-img,
html body .as-showcase-widget.as-showcase-swsty-glass button.as-card-swatch.as-swatch-label {
	position: relative;
	background: linear-gradient(145deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.30) 55%, rgba(255,255,255,.55) 100%) !important;
	-webkit-backdrop-filter: blur(12px) saturate(1.7); backdrop-filter: blur(12px) saturate(1.7);
	border: 1px solid rgba(255,255,255,.85) !important;
	box-shadow: 0 0 0 1px rgba(20,20,22,.08), inset 0 1.5px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(20,20,22,.05), 0 3px 8px -3px rgba(20,20,22,.14) !important;
	transition: box-shadow .25s ease, background .25s ease, transform .25s cubic-bezier(.34,1.45,.64,1) !important;
}
html body .as-showcase-widget.as-showcase-swsty-glass button.as-card-swatch.as-swatch-img {
	width: var(--as-sw-user, 32px) !important; height: var(--as-sw-user, 32px) !important; padding: 3px !important; border-radius: 50% !important;
}
html body .as-showcase-widget.as-showcase-swsty-glass button.as-card-swatch.as-swatch-img img { mix-blend-mode: normal !important; }
html body .as-showcase-widget.as-showcase-swsty-glass button.as-card-swatch.as-swatch-label {
	height: var(--as-sw-user, 30px) !important; min-height: 0 !important; padding: 0 13px !important; border-radius: 999px !important; color: var(--as-text) !important;
}
html body .as-showcase-widget.as-showcase-swsty-glass button.as-card-swatch.as-swatch-img::before,
html body .as-showcase-widget.as-showcase-swsty-glass button.as-card-swatch.as-swatch-label::before {
	content: ""; position: absolute; inset: 1px 1px 52% 1px; border-radius: inherit; pointer-events: none; z-index: 2;
	background: linear-gradient(to bottom, rgba(255,255,255,.55), rgba(255,255,255,0));
}
html body .as-showcase-widget.as-showcase-swsty-glass button.as-card-swatch.as-swatch-img:hover,
html body .as-showcase-widget.as-showcase-swsty-glass button.as-card-swatch.as-swatch-label:hover {
	transform: translateY(-1px) !important; color: var(--as-text) !important;
	background: linear-gradient(145deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.42) 55%, rgba(255,255,255,.7) 100%) !important;
}
html body .as-showcase-widget.as-showcase-swsty-glass button.as-card-swatch.as-swatch-img.is-selected,
html body .as-showcase-widget.as-showcase-swsty-glass button.as-card-swatch.as-swatch-img.is-active,
html body .as-showcase-widget.as-showcase-swsty-glass button.as-card-swatch.as-swatch-label.is-selected {
	transform: none !important; color: var(--as-text) !important;
	background: linear-gradient(145deg, rgba(212,175,106,.55) 0%, rgba(212,175,106,.20) 55%, rgba(255,255,255,.45) 100%) !important;
	border-color: rgba(255,255,255,.9) !important;
	box-shadow: 0 0 0 1.5px var(--as-sw-pick), inset 0 1.5px 0 rgba(255,255,255,.95), 0 5px 12px -4px rgba(184,150,90,.45) !important;
}

/* ===== thumb — photo with its name underneath ===== */
html body .as-showcase-widget.as-showcase-swsty-thumb .as-card-swatches { gap: 8px; align-items: flex-start; }
html body .as-showcase-widget.as-showcase-swsty-thumb button.as-card-swatch.as-swatch-img {
	display: inline-flex !important; flex-direction: column; align-items: center; gap: 4px;
	width: auto !important; height: auto !important; max-width: calc(var(--as-sw-user, 42px) + 12px);
	padding: 3px 3px 5px !important; border-radius: 13px !important; background: transparent !important;
	border: 1.5px solid transparent !important; overflow: hidden !important;
}
html body .as-showcase-widget.as-showcase-swsty-thumb button.as-card-swatch.as-swatch-img img {
	width: var(--as-sw-user, 42px) !important; height: var(--as-sw-user, 42px) !important;
	border-radius: 10px !important; mix-blend-mode: normal !important; background: var(--as-surface-warm, #faf7f0);
}
html body .as-showcase-widget.as-showcase-swsty-thumb button.as-card-swatch.as-swatch-img .as-sw-name {
	display: block; max-width: 100%; font-size: 10.5px; font-weight: 600; line-height: 1.15; color: var(--as-text-muted, #837763);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html body .as-showcase-widget.as-showcase-swsty-thumb button.as-card-swatch.as-swatch-img:hover { transform: none !important; box-shadow: none !important; border-color: rgba(20,20,22,.18) !important; }
html body .as-showcase-widget.as-showcase-swsty-thumb button.as-card-swatch.as-swatch-img.is-selected,
html body .as-showcase-widget.as-showcase-swsty-thumb button.as-card-swatch.as-swatch-img.is-active { border-color: var(--as-sw-pick) !important; box-shadow: none !important; transform: none !important; background: rgba(184,150,90,.10) !important; }
html body .as-showcase-widget.as-showcase-swsty-thumb button.as-card-swatch.as-swatch-img.is-selected .as-sw-name { color: var(--as-text); }

/* ===== minimal — tiny dots and underlined text ===== */
html body .as-showcase-widget.as-showcase-swsty-minimal .as-card-swatches { gap: 11px; }
html body .as-showcase-widget.as-showcase-swsty-minimal button.as-card-swatch.as-swatch-img {
	width: var(--as-sw-user, 18px) !important; height: var(--as-sw-user, 18px) !important;
	padding: 0 !important; background: transparent !important; border: 0 !important; border-radius: 50% !important;
	box-shadow: 0 0 0 1px rgba(20,20,22,.18) !important;
}
html body .as-showcase-widget.as-showcase-swsty-minimal button.as-card-swatch.as-swatch-img img { mix-blend-mode: normal !important; }
html body .as-showcase-widget.as-showcase-swsty-minimal button.as-card-swatch.as-swatch-img:hover { transform: none !important; box-shadow: 0 0 0 1px rgba(20,20,22,.5) !important; }
html body .as-showcase-widget.as-showcase-swsty-minimal button.as-card-swatch.as-swatch-img.is-selected,
html body .as-showcase-widget.as-showcase-swsty-minimal button.as-card-swatch.as-swatch-img.is-active { transform: none !important; box-shadow: 0 0 0 2px var(--as-sw-gap), 0 0 0 3px var(--as-text) !important; }
html body .as-showcase-widget.as-showcase-swsty-minimal button.as-card-swatch.as-swatch-label {
	min-height: 0 !important; height: auto !important; padding: 2px 1px !important; margin: 0 !important;
	background: transparent !important; border: 0 !important; border-bottom: 1.5px solid transparent !important; border-radius: 0 !important;
	color: var(--as-text-muted, #837763) !important; font-size: 11.5px !important; letter-spacing: .02em;
}
html body .as-showcase-widget.as-showcase-swsty-minimal button.as-card-swatch.as-swatch-label:hover { background: transparent !important; color: var(--as-text) !important; border-bottom-color: rgba(20,20,22,.35) !important; }
html body .as-showcase-widget.as-showcase-swsty-minimal button.as-card-swatch.as-swatch-label.is-selected { background: transparent !important; color: var(--as-text) !important; border-color: transparent !important; border-bottom-color: var(--as-text) !important; box-shadow: none !important; }

/* the "+N" overflow badge follows the chosen size */
html body .as-showcase-widget[class*="as-showcase-swsty-"]:not(.as-showcase-swsty-classic) .as-card-swatches button.as-swatch-more { height: var(--as-sw-user, 28px) !important; min-height: 0 !important; }

/* ---------- 3) SMART OUT-OF-STOCK — grey, struck through, impossible to select ---------- */
html body .as-showcase-widget.as-archive-widget button.as-card-swatch.is-oos,
html body .as-showcase-widget.as-archive-widget button.as-card-swatch[data-as-var-oos],
html body .as-showcase-widget.as-archive-widget button.as-card-swatch[disabled] {
	filter: grayscale(1) !important;
	opacity: .42 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
	transform: none !important;
	box-shadow: none !important;
	-webkit-backdrop-filter: none !important; backdrop-filter: none !important;
	background-image: none !important;
	border-style: dashed !important;
	border-color: rgba(20,20,22,.28) !important;
}
html body .as-showcase-widget.as-archive-widget button.as-card-swatch.as-swatch-label.is-oos,
html body .as-showcase-widget.as-archive-widget button.as-card-swatch.as-swatch-label[data-as-var-oos] {
	background-color: rgba(20,20,22,.05) !important;
	color: var(--as-text-muted, #837763) !important;
	text-decoration: line-through !important;
}
html body .as-showcase-widget.as-archive-widget button.as-card-swatch.as-swatch-img.is-oos,
html body .as-showcase-widget.as-archive-widget button.as-card-swatch.as-swatch-img[data-as-var-oos] { background-color: rgba(20,20,22,.06) !important; }
html body .as-showcase-widget.as-archive-widget button.as-card-swatch.as-swatch-img.is-oos .as-sw-name { text-decoration: line-through; }
html body .as-showcase-widget.as-archive-widget button.as-card-swatch.as-swatch-img.is-oos::before { display: none !important; }
html body .as-showcase-widget.as-archive-widget button.as-card-swatch.as-swatch-img.is-oos::after {
	content: ""; position: absolute; left: 12%; right: 12%; top: 50%; height: 1.5px; z-index: 3;
	background: rgba(20,20,22,.65); transform: rotate(-45deg); border-radius: 2px;
}
html body .as-showcase-widget.as-archive-widget.as-showcase-swsty-pill button.as-card-swatch.as-swatch-img.is-oos::after,
html body .as-showcase-widget.as-archive-widget.as-showcase-swsty-thumb button.as-card-swatch.as-swatch-img.is-oos::after { display: none; }

/* ---------- 4) LIQUID-GLASS QUANTITY DOCK (slides up from the bottom of the photo) ---------- */
.as-showcase-widget .as-card-swatch-stack.as-showcase-media-swatches { transition: bottom .45s cubic-bezier(.34, 1.3, .64, 1); }

html body .as-showcase-widget .as-card-media .as-card-var-atc {
	left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none;
	padding: 7px 8px; z-index: 12; box-sizing: border-box;
	justify-content: center;
	border-radius: 24px;
	isolation: isolate; overflow: hidden;
	background: linear-gradient(135deg, rgba(255,255,255,.50) 0%, rgba(255,255,255,.17) 46%, rgba(255,255,255,.34) 100%);
	border: 1px solid rgba(255,255,255,.55);
	box-shadow:
		inset 0 1.5px 0 rgba(255,255,255,.9),
		inset 0 -1.5px 0 rgba(255,255,255,.28),
		inset 0 0 26px rgba(255,255,255,.18),
		0 16px 34px -14px rgba(20,20,22,.34);
	transform: translateY(calc(100% + 26px)) scale(.92);
	transform-origin: 50% 100%;
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: transform .6s cubic-bezier(.34, 1.5, .64, 1), opacity .28s ease, visibility 0s linear .6s;
}
html body .as-showcase-widget .as-card-media .as-card-var-atc.is-open {
	-webkit-backdrop-filter: blur(24px) saturate(190%) brightness(1.07);
	backdrop-filter: blur(24px) saturate(190%) brightness(1.07);
	transform: translateY(0) scale(1);
	opacity: 1; visibility: visible; pointer-events: auto;
	transition: transform .6s cubic-bezier(.34, 1.5, .64, 1), opacity .24s ease, visibility 0s linear 0s;
}
html body .as-showcase-widget .as-card-media .as-card-var-atc.is-collapsed.is-open { transform: translateY(0) scale(1); opacity: 1; visibility: visible; pointer-events: auto; }
html body .as-showcase-widget .as-card-media .as-card-var-atc.is-collapsed:not(.is-open) { transform: translateY(calc(100% + 26px)) scale(.92); opacity: 0; visibility: hidden; pointer-events: none; }

/* specular highlight + glowing glass rim */
html body .as-showcase-widget .as-card-media .as-card-var-atc::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
	background:
		radial-gradient(120% 95% at 18% 0%, rgba(255,255,255,.62), rgba(255,255,255,0) 58%),
		linear-gradient(to bottom, rgba(255,255,255,.20), rgba(255,255,255,0) 45%);
}
html body .as-showcase-widget .as-card-media .as-card-var-atc::after {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; padding: 1px;
	background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,255,255,.04) 38%, rgba(255,255,255,.04) 62%, rgba(255,255,255,.75));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* the stepper itself: glass capsule + glass round buttons */
html body .as-showcase-widget .as-card-media .as-card-var-atc .as-var-qty {
	flex: 0 1 156px; width: 156px; max-width: 100%; height: 42px; padding: 3px; box-sizing: border-box;
	border: 0; border-radius: 18px; overflow: visible;
	background: rgba(255,255,255,.20);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 0 0 1px rgba(255,255,255,.34);
}
html body .as-showcase-widget .as-card-media .as-card-var-atc .as-var-qty button {
	flex: 0 0 36px; width: 36px !important; min-width: 36px !important; height: 36px !important;
	border-radius: 50% !important; font-size: 18px !important; font-weight: 600 !important;
	background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(255,255,255,.30)) !important;
	color: #1b1b1e !important;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 3px 8px -2px rgba(20,20,22,.20) !important;
	transition: transform .2s cubic-bezier(.34, 1.5, .64, 1), background .2s ease !important;
}
html body .as-showcase-widget .as-card-media .as-card-var-atc .as-var-qty button:hover { background: linear-gradient(145deg, #fff, rgba(255,255,255,.55)) !important; }
html body .as-showcase-widget .as-card-media .as-card-var-atc .as-var-qty button:active { transform: scale(.88); }
html body .as-showcase-widget .as-card-media .as-card-var-atc .as-var-qty input {
	height: 36px !important; background: transparent !important; color: #1b1b1e !important;
	font-size: 16px !important; font-weight: 700 !important; text-shadow: 0 1px 0 rgba(255,255,255,.55);
}

/* glass needs a solid fallback where backdrop-filter is missing */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	html body .as-showcase-widget .as-card-media .as-card-var-atc { background: rgba(255,255,255,.88); }
	html body .as-showcase-widget.as-showcase-swsty-glass button.as-card-swatch.as-swatch-img,
	html body .as-showcase-widget.as-showcase-swsty-glass button.as-card-swatch.as-swatch-label { background: rgba(255,255,255,.92) !important; }
}
@media (prefers-reduced-motion: reduce) {
	html body .as-showcase-widget .as-card-media .as-card-var-atc,
	html body .as-showcase-widget .as-card-media .as-card-var-atc.is-open { transition-duration: .01ms !important; }
}
@media (max-width: 480px) {
	html body .as-showcase-widget .as-card-media .as-card-var-atc { left: 8px; right: 8px; bottom: 8px; border-radius: 20px; }
	html body .as-showcase-widget .as-card-media .as-card-var-atc .as-var-qty { flex-basis: 140px; width: 140px; }
}

/* ==========================================================================
   v4.2.0 — optional panel behind floating swatches · minimal inline quantity beside the cart button
   ========================================================================== */
html body .as-showcase-widget.as-showcase-swbg-off .as-card-swatch-stack.as-showcase-media-swatches {
	background: transparent !important; border-color: transparent !important; box-shadow: none !important;
	-webkit-backdrop-filter: none !important; backdrop-filter: none !important; padding: 0 !important;
}

/* inline stepper: lives in the price row, grows open when a swatch is chosen */
html body .as-showcase-widget .as-card-var-atc.as-var-atc-inline {
	position: static; inset: auto; z-index: auto;
	flex: 0 0 auto; width: auto; max-width: 0; min-width: 0; margin: 0; padding: 0;
	margin-inline-start: auto; overflow: hidden;
	background: none; box-shadow: none; border: 0; border-radius: 0;
	-webkit-backdrop-filter: none; backdrop-filter: none;
	transform: none; opacity: 0; visibility: hidden; pointer-events: none;
	transition: max-width .32s cubic-bezier(.22,.61,.36,1), margin .32s ease, opacity .22s ease, visibility 0s linear .32s;
}
html body .as-showcase-widget .as-card-var-atc.as-var-atc-inline::before,
html body .as-showcase-widget .as-card-var-atc.as-var-atc-inline::after { display: none; }
html body .as-showcase-widget .as-card-var-atc.as-var-atc-inline.is-open {
	max-width: 96px; margin-inline-end: 6px; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
	transition: max-width .32s cubic-bezier(.22,.61,.36,1), margin .32s ease, opacity .22s ease .06s, visibility 0s linear 0s;
}
html body .as-showcase-widget .as-card-var-atc.as-var-atc-inline.is-collapsed.is-open { max-width: 96px; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
html body .as-showcase-widget .as-card-var-atc.as-var-atc-inline .as-var-qty {
	flex: 0 0 auto; width: 84px; height: 30px; padding: 0 2px; box-sizing: border-box;
	background: transparent; border: 1px solid var(--as-border-strong, rgba(20,20,22,.2)); border-radius: 999px; overflow: hidden;
}
html body .as-showcase-widget .as-card-var-atc.as-var-atc-inline .as-var-qty button {
	flex: 0 0 24px; width: 24px !important; min-width: 24px !important; height: 28px !important;
	font-size: 15px !important; font-weight: 600 !important; background: transparent !important; color: var(--as-text) !important;
	border-radius: 50% !important; box-shadow: none !important;
}
html body .as-showcase-widget .as-card-var-atc.as-var-atc-inline .as-var-qty button:hover { background: rgba(20,20,22,.07) !important; }
html body .as-showcase-widget .as-card-var-atc.as-var-atc-inline .as-var-qty input {
	height: 28px !important; background: transparent !important; color: var(--as-text) !important; font-size: 13px !important; font-weight: 700 !important;
}
html body .as-showcase-widget.as-showcase-style-noir .as-card-var-atc.as-var-atc-inline .as-var-qty button:hover { background: rgba(255,255,255,.1) !important; }
@media (prefers-reduced-motion: reduce) { html body .as-showcase-widget .as-card-var-atc.as-var-atc-inline { transition-duration: .01ms !important; } }

/* ==========================================================================
   v4.3.0 — one-line swipeable swatch rows · stable inline quantity · LTR stepper
   ========================================================================== */
.as-showcase-widget .as-card-swatches.as-swatches-scroll {
	box-sizing: border-box;
	flex-wrap: nowrap; justify-content: flex-start;
	overflow-x: auto; overflow-y: hidden;
	max-width: calc(100% + 10px);
	padding: 5px; margin: -5px;
	scrollbar-width: none; -ms-overflow-style: none;
	overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
	cursor: grab;
}
.as-showcase-widget .as-card-swatches.as-swatches-scroll.has-fade {
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--as-fl, 0px), #000 calc(100% - var(--as-fr, 0px)), transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 var(--as-fl, 0px), #000 calc(100% - var(--as-fr, 0px)), transparent 100%);
}
.as-showcase-widget .as-card-swatches.as-swatches-scroll::-webkit-scrollbar { display: none; }
.as-showcase-widget .as-card-swatches.as-swatches-scroll > * { flex: 0 0 auto; }
.as-showcase-widget .as-card-swatches.as-swatches-scroll.is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.as-showcase-widget .as-card-swatches.as-swatches-scroll.is-dragging > * { pointer-events: none; }
html body .as-showcase-widget .as-swatches-scroll button.as-card-swatch.as-swatch-label { white-space: nowrap; max-width: none; }
/* alignment without clipping: auto margins collapse to 0 as soon as the row overflows */
.as-showcase-swatch-align-center .as-swatches-scroll > :first-child,
.as-showcase-swatch-align-end .as-swatches-scroll > :first-child { margin-inline-start: auto; }
.as-showcase-swatch-align-center .as-swatches-scroll > :last-child { margin-inline-end: auto; }
.as-showcase-swatch-align-center .as-swatches-scroll { align-self: center; }
.as-showcase-swatch-align-end .as-swatches-scroll { align-self: flex-end; }

/* quantity stepper always reads − 1 + (also in RTL pages) */
html body .as-showcase-widget .as-card-var-atc .as-var-qty { direction: ltr; }

/* inline quantity: never squeeze the price into 3 lines, never wrap onto extra rows */
html body .as-showcase-widget.as-showcase-qty-inline .as-card-price-row,
html body .as-showcase-widget.as-showcase-qty-inline .as-card-editorial-footer { flex-wrap: nowrap; gap: 6px; }
html body .as-showcase-widget.as-showcase-qty-inline .as-card-price { flex: 1 1 auto; min-width: 0; overflow-wrap: normal; word-break: normal; }
html body .as-showcase-widget.as-showcase-qty-inline .as-card-price .woocommerce-Price-amount,
html body .as-showcase-widget.as-showcase-qty-inline .as-card-price bdi { white-space: nowrap; }
html body .as-showcase-widget .as-card-var-atc.as-var-atc-inline .as-var-qty { width: 76px; height: 28px; }
html body .as-showcase-widget .as-card-var-atc.as-var-atc-inline .as-var-qty button { flex-basis: 22px; width: 22px !important; min-width: 22px !important; height: 26px !important; }
html body .as-showcase-widget .as-card-var-atc.as-var-atc-inline .as-var-qty input { height: 26px !important; font-size: 12.5px !important; }
html body .as-showcase-widget .as-card-var-atc.as-var-atc-inline.is-open,
html body .as-showcase-widget .as-card-var-atc.as-var-atc-inline.is-collapsed.is-open { max-width: 80px; margin-inline-end: 0; }

/* ==========================================================================
   v4.4.0 — responsive one-line price + stepper + cart button · «morph» style
   ========================================================================== */
/* the price scales down with the card while the stepper is open, so nothing overlaps */
html body .as-showcase-widget .as-product-card.is-qty-open .as-card-price {
	font-size: clamp(12px, 6cqw, 15.5px); transition: font-size .3s ease;
}
html body .as-showcase-widget.as-showcase-qty-inline .as-card-price .woocommerce-Price-amount { font-size: inherit; }
html body .as-showcase-widget.as-showcase-qty-inline .as-card-price del { font-size: .78em; }
html body .as-showcase-widget.as-showcase-qty-inline .as-card-price-row,
html body .as-showcase-widget.as-showcase-qty-inline .as-card-editorial-footer { min-width: 0; }
html body .as-showcase-widget.as-showcase-qty-inline .as-card-price { overflow: hidden; }

/* very narrow cards: price takes its own line, the action group sits under it on the end side */
/* The container here is the slide (= the card's outer width). Measured: below ~195px the price would get <45px, so only then stack. */
@container as-card (max-width: 195px) {
	html body .as-showcase-widget.as-showcase-qty-inline .as-card-price-row,
	html body .as-showcase-widget.as-showcase-qty-inline .as-card-editorial-footer { flex-wrap: wrap; row-gap: 6px; }
	html body .as-showcase-widget.as-showcase-qty-inline .as-card-price { flex: 1 0 100%; }
	html body .as-showcase-widget.as-showcase-qty-inline .as-card-var-atc.as-var-atc-inline:not(.as-var-atc-morph),
	html body .as-showcase-widget.as-showcase-qty-inline .as-atc-morph { margin-inline-start: auto; }
}

/* ===== morph: cart button → capsule [ − 1 + 🛒 ] ===== */
html body .as-showcase-widget .as-atc-morph {
	display: inline-flex; align-items: center; flex: 0 0 auto; margin-inline-start: auto;
	padding: 0; gap: 0; box-sizing: border-box; max-width: 100%;
	border: 1px solid transparent; border-radius: 14px; background: transparent;
	transition: padding .3s ease, gap .3s ease, background .3s ease, border-color .3s ease, border-radius .3s ease;
}
html body .as-showcase-widget .as-product-card.is-qty-open .as-atc-morph {
	padding: 2px; gap: 2px; border-radius: 999px;
	background: var(--as-surface-warm, rgba(20,20,22,.04));
	border-color: var(--as-border-strong, rgba(20,20,22,.16));
}
html body .as-showcase-widget .as-atc-morph .as-card-var-atc.as-var-atc-morph { margin: 0; }
html body .as-showcase-widget .as-atc-morph .as-card-var-atc.as-var-atc-morph.is-open,
html body .as-showcase-widget .as-atc-morph .as-card-var-atc.as-var-atc-morph.is-collapsed.is-open { max-width: 74px; margin: 0; }
html body .as-showcase-widget .as-atc-morph .as-card-var-atc.as-var-atc-morph .as-var-qty {
	width: 68px; height: 30px; padding: 0; border: 0; background: transparent; border-radius: 999px;
}
html body .as-showcase-widget .as-atc-morph .as-card-var-atc.as-var-atc-morph .as-var-qty button {
	flex-basis: 21px; width: 21px !important; min-width: 21px !important; height: 26px !important; font-size: 15px !important;
}
html body .as-showcase-widget .as-atc-morph .as-card-var-atc.as-var-atc-morph .as-var-qty input { height: 26px !important; font-size: 13px !important; }
/* the cart button shrinks into a round confirm button inside the capsule */
html body .as-showcase-widget .as-atc-morph .as-card-atc-btn {
	transition: width .3s ease, height .3s ease, min-width .3s ease, border-radius .3s ease, background .25s ease !important;
}
html body .as-showcase-widget .as-product-card.is-qty-open .as-atc-morph .as-card-atc-btn {
	width: 32px !important; min-width: 32px !important; height: 32px !important; padding: 0 !important; border-radius: 50% !important; flex: 0 0 32px;
}
@media (prefers-reduced-motion: reduce) {
	html body .as-showcase-widget .as-atc-morph,
	html body .as-showcase-widget .as-atc-morph .as-card-atc-btn { transition-duration: .01ms !important; }
}

/* ==========================================================================
   v4.5.0 — price + (quantity) + cart button ALWAYS share one row
   The base stylesheet turns .as-card-editorial-footer into a column at <=640px (it was made for a wide
   text button). The showcase button is icon-only, so that stacking only pushed the button under the price.
   ========================================================================== */
html body .as-showcase-widget .as-card-editorial-footer,
html body .as-showcase-widget .as-card-price-row {
	flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; row-gap: 6px; column-gap: 8px;
}
html body .as-showcase-widget .as-card-editorial-footer > .as-card-price,
html body .as-showcase-widget .as-card-price-row > .as-card-price { flex: 1 1 auto; min-width: 0; }
html body .as-showcase-widget .as-card-editorial-footer > .as-card-atc-btn,
html body .as-showcase-widget .as-card-price-row > .as-card-atc-btn { flex: 0 0 auto; }
