/* =====================================================================
   Premium WooCommerce Product Card — "Choco" reference style
   ---------------------------------------------------------------------
   Beige image panel · justified bar indicators · add-to-cart button that
   is a round "+" by default, expands into a "+ Add to Cart" pill on hover,
   and turns into an "Added" state (colour + check) when the product is in
   the cart. All selectors prefixed .lux-  ·  colours/sizing via CSS vars.

   The button uses scoped !important overrides on purpose: WooCommerce /
   the parent theme style `.button` aggressively, so we force our look to
   win — but only inside .lux-product-card, so nothing else is affected.
   ===================================================================== */

/* ---------- Design tokens ---------- */
.lux-product-card {
	--lux-radius:        26px;
	--lux-card-bg:       #ffffff;
	--lux-accent:        #C5656D;      /* button + active bar + sale accents */
	--lux-accent-hover:  #b1545c;
	--lux-added-bg:      #3f9d6b;      /* "added / in cart" button colour */
	--lux-text:          #1c1c1c;
	--lux-muted:         #9a958d;

	--lux-media-bg:      #E8E2D6;      /* panel colour (only shows when fit = contain) */
	--lux-media-fit:     cover;        /* cover = image fills the panel edge-to-edge */
	--lux-media-pad:     0px;          /* set > 0 only for a border around the image */
	--lux-media-ratio:   4 / 3;

	--lux-atc-size:      48px;         /* Add to Cart button diameter */
	--lux-atc-icon:      20px;         /* "+" icon size */

	--lux-shadow:        0 10px 26px rgba(0, 0, 0, 0.07);
	--lux-shadow-hover:  0 22px 48px rgba(0, 0, 0, 0.15);

	--lux-transition:    0.45s cubic-bezier(0.22, 1, 0.36, 1);
	--lux-zoom:          1.08;
	--lux-space:         14px;
}

.lux-product-card,
.lux-product-card *,
.lux-product-card *::before,
.lux-product-card *::after {
	box-sizing: border-box;
}

/* ---------- Optional equal-height grid wrapper ---------- */
.lux-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 28px;
}

/* ---------- Slider wrapper (arrows live here; active on mobile) ---------- */
.lux-slider {
	position: relative;
}

.lux-arrow {
	display: none;   /* shown only inside the mobile slider */
}

/* ---------- Card shell ---------- */
.lux-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 14px 14px 18px;
	background: var(--lux-card-bg);
	border-radius: var(--lux-radius);
	box-shadow: var(--lux-shadow);
	transition: transform var(--lux-transition), box-shadow var(--lux-transition);
}

/* ---------- Media / image panel ---------- */
.lux-card-media {
	position: relative;
	border-radius: calc(var(--lux-radius) - 8px);
	overflow: hidden;
	background: var(--lux-media-bg);
}

.lux-image-link {
	display: block;
}

.lux-main-image-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: var(--lux-media-ratio);
}

.lux-main-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: var(--lux-media-pad);
	object-fit: var(--lux-media-fit);
	object-position: center;
	transition: transform var(--lux-transition), opacity 0.2s ease;
	will-change: transform;
}

/* ---------- Sale badge (optional) ---------- */
.lux-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
	padding: 5px 11px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	background: var(--lux-accent);
	border-radius: 999px;
}

/* ---------- Image indicator bars — justified to fill the full width ---------- */
.lux-thumbs {
	display: flex;
	gap: 6px;
	margin-top: 12px;
}

.lux-thumb {
	flex: 1 1 auto;               /* each bar stretches equally across the width */
	height: 4px;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: #dcdcdc;
	cursor: pointer;
	transition: background 0.25s ease;
}

.lux-thumb:hover {
	background: #c4c4c4;
}

.lux-thumb.is-active {
	background: var(--lux-accent);
}

/* ---------- Product info (tight text column) ---------- */
.lux-info {
	display: flex;
	flex-direction: column;
	gap: 4px;                     /* tight title -> subtitle spacing */
	margin-top: var(--lux-space);
	flex: 1 1 auto;
}

.lux-title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* Default colour is low-specificity so the Elementor panel can override it;
   the underline kill is forced because the theme styles links aggressively. */
.lux-title a {
	color: var(--lux-text);
	transition: color 0.2s ease;
}

.lux-title a:hover {
	color: var(--lux-accent);
}

.lux-product-card .lux-title a {
	text-decoration: none !important;
}

.lux-subtitle {
	margin: 0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--lux-muted);
}

/* ---------- Price row (price left, button anchored bottom-right) ---------- */
.lux-price-row {
	position: relative;           /* anchor for the absolutely-placed button */
	display: flex;
	align-items: center;
	min-height: var(--lux-atc-size, 48px);  /* keeps the button clear of the title even with no price */
	margin-top: 6px;
	padding-right: 58px;          /* keeps a long price clear of the round button */
}

.lux-price {
	font-size: 16px;
	font-weight: 700;
	color: var(--lux-text);
}

.lux-price del {
	margin-right: 6px;
	color: var(--lux-muted);
	font-weight: 400;
	opacity: 0.8;
}

.lux-price ins {
	text-decoration: none;
	color: var(--lux-accent);
}

/* =====================================================================
   Add to Cart button
   - default: round "+"
   - card hover: expands to "+ Add to Cart" pill
   - in cart / added: turns to --lux-added-bg with a check + "Added"
   ===================================================================== */
.lux-atc-wrap {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}

.lux-product-card .lux-atc {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: var(--lux-atc-size) !important;   /* collapsed = a circle */
	height: var(--lux-atc-size) !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 999px !important;
	background: var(--lux-accent) !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18) !important;
	transition: background var(--lux-transition), padding var(--lux-transition),
	            box-shadow var(--lux-transition), transform 0.15s ease !important;
}

.lux-product-card .lux-atc:hover,
.lux-product-card .lux-atc:focus {
	background: var(--lux-accent-hover) !important;
	color: #fff !important;
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22) !important;
}

.lux-product-card .lux-atc:active {
	transform: scale(0.96);
}

.lux-product-card .lux-atc-icon {
	flex: 0 0 auto;
	display: block;
	width: var(--lux-atc-icon) !important;
	height: var(--lux-atc-icon) !important;
}

/* Label is collapsed to zero width by default and revealed on hover. */
.lux-product-card .lux-atc-text {
	max-width: 0;
	margin-left: 0;
	opacity: 0;
	overflow: hidden;
	white-space: nowrap;
	transition: max-width var(--lux-transition), opacity 0.3s ease, margin-left var(--lux-transition);
}

/* --- Icon / label swapping between default and "added" --- */
.lux-product-card .lux-atc-check,
.lux-product-card .lux-atc-label-added {
	display: none;
}

.lux-product-card .lux-atc.in-cart,
.lux-product-card .lux-atc.added {
	background: var(--lux-added-bg) !important;
}

.lux-product-card .lux-atc.in-cart .lux-atc-plus,
.lux-product-card .lux-atc.added .lux-atc-plus,
.lux-product-card .lux-atc.in-cart .lux-atc-label-default,
.lux-product-card .lux-atc.added .lux-atc-label-default {
	display: none;
}

.lux-product-card .lux-atc.in-cart .lux-atc-check,
.lux-product-card .lux-atc.added .lux-atc-check {
	display: block;
}

.lux-product-card .lux-atc.in-cart .lux-atc-label-added,
.lux-product-card .lux-atc.added .lux-atc-label-added {
	display: block;
}

/* Some themes (Astra/Storefront-style) add their OWN checkmark on `.added`
   buttons via a pseudo-element — that caused the double tick. Kill any
   pseudo-content on our button so only our single check icon shows. */
.lux-product-card .lux-atc::before,
.lux-product-card .lux-atc::after {
	content: none !important;
	display: none !important;
}

/* Out-of-stock state: a plain muted circle that does NOT expand. */
.lux-product-card .lux-atc--disabled {
	background: #cfcfcf !important;
	box-shadow: none !important;
	cursor: default;
	pointer-events: auto;
}

/* Hide the "View cart" link WooCommerce injects after an AJAX add. */
.lux-atc-wrap .added_to_cart {
	display: none !important;
}

/* =====================================================================
   Hover interactions — only on devices that truly hover.
   Card lift + image zoom apply on any hover-capable device.
   ===================================================================== */
@media (hover: hover) and (pointer: fine) {

	.lux-product-card:hover {
		transform: translateY(-8px);
		box-shadow: var(--lux-shadow-hover);
	}

	.lux-product-card:hover .lux-main-image {
		transform: scale(var(--lux-zoom));
	}
}

/* =====================================================================
   Add to Cart "+" -> "+ Add to Cart" pill on hover — DESKTOP ONLY (>=1025px).
   On tablet and mobile the button stays a plain round "+" (click only),
   even inside Elementor's responsive preview (which uses a mouse).
   ===================================================================== */
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {

	.lux-product-card:hover .lux-atc {
		padding: 0 22px !important;
	}

	.lux-product-card:hover .lux-atc-text {
		max-width: 160px;
		opacity: 1;
		margin-left: 8px;
	}

	/* Out-of-stock button stays a plain circle. */
	.lux-product-card:hover .lux-atc--disabled {
		padding: 0 !important;
	}

	.lux-product-card:hover .lux-atc--disabled .lux-atc-text {
		max-width: 0;
		opacity: 0;
		margin-left: 0;
	}
}

/* ---------- Mobile: one product per view + swipeable slider ---------- */
@media (max-width: 767px) {

	.lux-slider--enabled .lux-products-grid {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;   /* momentum scroll on iOS */
		padding: 6px 2px 14px;
		scrollbar-width: none;                /* Firefox: hide scrollbar */
	}

	.lux-slider--enabled .lux-products-grid::-webkit-scrollbar {
		display: none;                        /* WebKit: hide scrollbar */
	}

	.lux-slider--enabled .lux-products-grid > .lux-product-card {
		flex: 0 0 86%;                        /* ~one card per view, small peek of the next */
		scroll-snap-align: start;
	}

	/* --- Navigation arrows --- */
	.lux-slider--enabled.lux-has-arrows .lux-arrow {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: none;
		border-radius: 50%;
		background: var(--lux-arrow-bg, var(--lux-accent));
		color: var(--lux-arrow-color, #fff);
		cursor: pointer;
		box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
		z-index: 5;
		transition: opacity 0.2s ease, background 0.2s ease;
	}

	.lux-slider--enabled.lux-has-arrows .lux-arrow svg {
		width: 18px;
		height: 18px;
	}

	.lux-slider--enabled.lux-has-arrows .lux-arrow[disabled] {
		opacity: 0.3;
		pointer-events: none;
	}

	/* Position: sides (over the image area) */
	.lux-arrows-sides .lux-arrow {
		position: absolute;
		top: 38%;
		transform: translateY(-50%);
	}
	.lux-arrows-sides .lux-arrow-prev { left: 2px; }
	.lux-arrows-sides .lux-arrow-next { right: 2px; }

	/* Position: bottom center */
	.lux-arrows-bottom { padding-bottom: 56px; }
	.lux-arrows-bottom .lux-arrow { position: absolute; bottom: 8px; }
	.lux-arrows-bottom .lux-arrow-prev { left: calc(50% - 48px); }
	.lux-arrows-bottom .lux-arrow-next { left: calc(50% + 8px); }

	/* Position: top right */
	.lux-arrows-top-right { padding-top: 52px; }
	.lux-arrows-top-right .lux-arrow { position: absolute; top: 4px; }
	.lux-arrows-top-right .lux-arrow-next { right: 2px; }
	.lux-arrows-top-right .lux-arrow-prev { right: 50px; }
}

/* ---------- Small screens ---------- */
@media (max-width: 480px) {

	.lux-product-card {
		--lux-radius: 22px;
		padding: 12px 12px 16px;
	}

	.lux-title {
		font-size: 14px;
	}

	.lux-price {
		font-size: 15px;
	}
}

/* ---------- Respect reduced-motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {

	.lux-product-card,
	.lux-main-image,
	.lux-atc,
	.lux-atc-text,
	.lux-thumb {
		transition: none !important;
	}
}

/* =====================================================================
   Shop Filter Grid — sidebar filters (left) + product grid (right)
   ===================================================================== */
.lux-shop {
	--lux-accent: #C5656D;   /* fallback; the widget's Accent control overrides */
}

.lux-shop-inner {
	display: flex;
	align-items: flex-start;
	gap: 28px;
}

.lux-shop-main {
	flex: 1 1 auto;
	min-width: 0;
}

.lux-filters {
	flex: 0 0 260px;
}

/* Sticky filter sidebar (desktop) is driven in product-card.js with a
   transform, so it keeps working even when an Elementor/Astra ancestor
   clips overflow — which silently breaks CSS `position: sticky`. */
@media (min-width: 1025px) {
	.lux-filters {
		will-change: transform;
	}
}

/* Bits that only appear on tablet/mobile. */
.lux-shop-bar,
.lux-filters-head,
.lux-filters-backdrop {
	display: none;
}

/* ---------- Filter groups ---------- */
.lux-filter-group {
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid #ececec;
}

.lux-filter-title {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #1c1c1c;
}

/* ---------- Category checkboxes ---------- */
.lux-check {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 14px;
	color: #444;
	cursor: pointer;
	user-select: none;
}

.lux-check input {
	position: absolute;
	width: 0;
	height: 0;
	opacity: 0;
}

.lux-check-box {
	flex: 0 0 auto;
	position: relative;
	width: 18px;
	height: 18px;
	border: 2px solid #cfcfcf;
	border-radius: 5px;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.lux-check:hover .lux-check-box {
	border-color: var(--lux-accent);
}

.lux-check input:checked + .lux-check-box {
	border-color: var(--lux-accent);
	background: var(--lux-accent);
}

.lux-check input:checked + .lux-check-box::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.lux-check input:focus-visible + .lux-check-box {
	outline: 2px solid var(--lux-accent);
	outline-offset: 2px;
}

/* ---------- Price dual-range slider ---------- */
.lux-price-slider {
	position: relative;
	height: 32px;
}

.lux-price-track {
	position: absolute;
	top: 13px;
	left: 0;
	right: 0;
	height: 6px;
	background: #eceae6;
	border-radius: 999px;
}

.lux-price-fill {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;                       /* visible by default; JS narrows it to the range */
	background: var(--lux-accent);
	border-radius: 999px;
}

/* Two range inputs overlap; only their thumbs receive pointer events. */
.lux-price-slider input[type="range"] {
	position: absolute;
	top: 5px;
	left: 0;
	width: 100%;
	height: 22px;
	margin: 0;
	background: none;
	-webkit-appearance: none;
	appearance: none;
	pointer-events: none;
}

.lux-price-slider input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--lux-accent);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
	cursor: pointer;
	transition: transform 0.15s ease;
}

.lux-price-slider input[type="range"]::-webkit-slider-thumb:hover {
	transform: scale(1.12);
}

.lux-price-slider input[type="range"]::-moz-range-thumb {
	pointer-events: auto;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--lux-accent);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
	cursor: pointer;
}

.lux-price-slider input[type="range"]::-webkit-slider-runnable-track { background: none; border: none; }
.lux-price-slider input[type="range"]::-moz-range-track { background: none; border: none; }

.lux-price-vals {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #1c1c1c;
}

/* ---------- Clear button + no-results ---------- */
.lux-filter-clear,
.lux-filter-clear:hover,
.lux-filter-clear:focus {
	margin-top: 4px;
	padding: 0 !important;
	border: none !important;
	background: none !important;   /* kill the theme's button hover background */
	box-shadow: none !important;
	color: var(--lux-accent);
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.lux-filter-clear:hover {
	opacity: 0.75;
}

.lux-no-results {
	padding: 40px 0;
	text-align: center;
	color: #8a8a8a;
	font-size: 15px;
}

/* ---------- Tablet + mobile: filters become a slide-in drawer ---------- */
@media (max-width: 1024px) {

	.lux-shop-bar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin-bottom: 16px;
	}

	.lux-filter-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 10px 18px;
		border: 1px solid #dcdcdc;
		border-radius: 999px;
		background: #fff;
		color: #1c1c1c;
		font-size: 14px;
		font-weight: 600;
		cursor: pointer;
	}

	.lux-shop-count {
		font-size: 13px;
		color: #8a8a8a;
	}

	.lux-shop-inner {
		display: block;
	}

	.lux-filters {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: 300px;
		max-width: 85%;
		z-index: 1000;
		padding: 20px;
		background: #fff;
		overflow-y: auto;
		transform: translateX(-100%);
		transition: transform 0.3s ease;
		box-shadow: 0 0 40px rgba(0, 0, 0, 0.18);
	}

	.lux-shop.is-filters-open .lux-filters {
		transform: translateX(0);
	}

	.lux-filters-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 18px;
		font-size: 16px;
		font-weight: 700;
	}

	.lux-filters-close {
		border: none;
		background: none;
		font-size: 26px;
		line-height: 1;
		color: #1c1c1c;
		cursor: pointer;
	}

	.lux-filters-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 999;
		background: rgba(0, 0, 0, 0.45);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
	}

	.lux-shop.is-filters-open .lux-filters-backdrop {
		opacity: 1;
		visibility: visible;
	}
}

/* =====================================================================
   Quantity stepper — replaces the "+" button once the item is in the cart
   ===================================================================== */
.lux-qty {
	display: none;
	align-items: center;
	height: var(--lux-atc-size);
	border-radius: 999px;
	background: var(--lux-accent);
	color: #fff;
	overflow: hidden;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.lux-atc-wrap.is-in-cart .lux-atc { display: none !important; }
.lux-atc-wrap.is-in-cart .lux-qty { display: inline-flex; }

.lux-product-card .lux-qty-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: var(--lux-atc-size);
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	background: none !important;
	color: #fff !important;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease;
}

.lux-product-card .lux-qty-btn:hover {
	background: rgba(0, 0, 0, 0.12) !important;
}

.lux-qty-num {
	min-width: 30px;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
}

/* Dim + lock the control while a cart request is in flight. */
.lux-atc-wrap.is-busy {
	opacity: 0.6;
	pointer-events: none;
}

/* Narrow screens: keep the price and button/stepper on ONE row (no absolute
   overlay), so there is no blank space and the button sits beside the price. */
@media (max-width: 767px) {

	.lux-price-row {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding-right: 0;
	}

	.lux-price-row .lux-price {
		flex: 0 1 auto;
		min-width: 0;
	}

	.lux-price-row .lux-atc-wrap {
		position: static;
		transform: none;
		flex: 0 0 auto;
	}

	/* The wider "− qty +" stepper drops to its own full-width row, so adding a
	   product never shifts a narrow (2-column) card layout. */
	.lux-price-row .lux-atc-wrap.is-in-cart {
		flex: 1 0 100%;
		display: flex;
		justify-content: flex-end;
		margin-top: 8px;
	}

	/* Compact stepper so it fits 2-column mobile cards without reflowing. */
	.lux-product-card .lux-qty-btn {
		width: 32px;
	}

	.lux-qty-num {
		min-width: 22px;
		font-size: 14px;
	}
}

/* =====================================================================
   Shop pagination
   ===================================================================== */
.lux-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 32px;
}

.lux-shop .lux-page {
	min-width: 40px;
	height: 40px;
	padding: 0 10px !important;
	border: 1px solid #e2e2e2 !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: #1c1c1c !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lux-shop .lux-page:hover:not([disabled]):not(.is-active) {
	border-color: var(--lux-accent) !important;
	color: var(--lux-accent) !important;
}

.lux-shop .lux-page.is-active {
	background: var(--lux-accent) !important;
	border-color: var(--lux-accent) !important;
	color: #fff !important;
	cursor: default;
}

.lux-shop .lux-page[disabled] {
	opacity: 0.4;
	cursor: default;
}

.lux-shop .lux-page-nav {
	font-size: 18px !important;
}

.lux-page-dots {
	min-width: 24px;
	text-align: center;
	color: #9a958d;
}

/* =====================================================================
   Filter search box (theme-coloured)
   ===================================================================== */
.lux-search {
	position: relative;
}

.lux-shop .lux-f-search {
	width: 100% !important;
	height: 46px !important;
	margin: 0 !important;
	padding: 0 42px 0 16px !important;
	border: 1px solid #e0ded9 !important;
	border-radius: 12px !important;
	background: #fff !important;
	color: #1c1c1c !important;
	font-size: 14px !important;
	line-height: normal !important;
	box-shadow: none !important;
	outline: none !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.lux-shop .lux-f-search:focus {
	border-color: var(--lux-accent) !important;
	box-shadow: 0 0 0 3px rgba(197, 101, 109, 0.12) !important;
}

.lux-shop .lux-f-search::placeholder {
	color: #b0aaa2;
	letter-spacing: 0.02em;
}

.lux-shop .lux-f-search::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
}

.lux-search-icon {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	width: 17px;
	height: 17px;
	color: var(--lux-accent);
	pointer-events: none;
}

/* =====================================================================
   Wishlist heart (top corner of the card)
   ===================================================================== */
.lux-product-card .lux-wish {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 4;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 38px !important;
	height: 38px !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.92) !important;
	color: #9a958d;
	cursor: pointer;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12) !important;
	transition: transform 0.15s ease, color 0.2s ease, background 0.2s ease;
}

.lux-product-card .lux-wish:hover {
	transform: scale(1.12);
	color: var(--lux-accent);
	background: #fff !important;
}

.lux-product-card .lux-wish svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

.lux-product-card .lux-wish.is-wished {
	color: var(--lux-accent);
}

.lux-product-card .lux-wish.is-wished svg {
	fill: currentColor;
	stroke: currentColor;
}

/* Wishlist page — empty state */
.lux-wishlist-empty {
	padding: 48px 0;
	text-align: center;
	color: #8a8a8a;
	font-size: 15px;
}

/* Wishlist page — hide every card/row until JS reveals the wishlisted ones (no flash). */
.lux-wishlist-page:not(.is-ready) .lux-product-card,
.lux-wishlist-page:not(.is-ready) .lux-wl-row {
	display: none;
}

/* =====================================================================
   Wishlist — table layout
   ===================================================================== */
.lux-wl-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	color: #1c1c1c;
}

.lux-wl-table thead th {
	text-align: left;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6b6b6b;
	padding: 0 16px 16px;
	border-bottom: 1px solid #ececec;
	white-space: nowrap;
}

.lux-wl-table tbody td {
	padding: 18px 16px;
	border-bottom: 1px solid #efefef;
	vertical-align: middle;
}

.lux-wl-table thead th.lux-wl-c-actions,
.lux-wl-actions {
	text-align: right;
}

/* Remove × */
.lux-wl-remove { width: 40px; }
.lux-wl-x {
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: none;
	color: #b0aaa2;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	border-radius: 50%;
	padding: 0;
	transition: color 0.2s ease, background 0.2s ease;
}
.lux-wl-x:hover { color: var(--lux-accent); background: #faf2f2; }

/* Image */
.lux-wl-img { width: 96px; }
.lux-wl-img img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 10px;
	display: block;
	background: #f4f1ea;
}

/* Name */
.lux-wl-name a { color: #1c1c1c; font-weight: 600; text-decoration: none; }
.lux-wl-name a:hover { color: var(--lux-accent); }

/* Price */
.lux-wl-price { color: #333; white-space: nowrap; }
.lux-wl-price del { color: #b0aaa2; margin-right: 6px; }
.lux-wl-price ins { text-decoration: none; }

/* Stock */
.lux-wl-stock { color: #6b6b6b; white-space: nowrap; }
.lux-wl-stock.is-out { color: #c0392b; }

/* Add-to-cart button — rectangular, theme accent (overrides the round card .lux-atc) */
.lux-wl-atc-wrap { position: static !important; display: inline-block; }
.lux-wl .lux-wl-atc {
	position: static !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	min-width: 0 !important;
	height: 42px !important;
	margin: 0 !important;
	padding: 0 22px !important;
	border: none !important;
	border-radius: 8px !important;
	background: var(--lux-accent) !important;
	color: #fff !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none !important;
	transition: filter 0.2s ease, transform 0.15s ease;
}
.lux-wl .lux-wl-atc:hover { filter: brightness(0.93); transform: translateY(-1px); }
.lux-wl .lux-wl-atc--link {
	background: transparent !important;
	color: var(--lux-accent) !important;
	border: 1px solid var(--lux-accent) !important;
}
.lux-wl .lux-wl-atc--disabled {
	background: #e6e3dd !important;
	color: #9a958d !important;
	cursor: default;
}

/* "In Cart" swap once the item is already in the cart */
.lux-wl-atc-txt--added { display: none; }
.lux-wl-atc-wrap.is-in-cart .lux-wl-atc { background: var(--lux-added-bg, #3f9d6b) !important; }
.lux-wl-atc-wrap.is-in-cart .lux-wl-atc-txt--default { display: none; }
.lux-wl-atc-wrap.is-in-cart .lux-wl-atc-txt--added { display: inline; }

/* Mobile: each row becomes a compact card */
@media (max-width: 782px) {
	.lux-wl-table thead { display: none; }
	.lux-wl-table,
	.lux-wl-table tbody,
	.lux-wl-row,
	.lux-wl-table tbody td { display: block; width: 100%; }
	.lux-wl-row {
		position: relative;
		border: 1px solid #ececec;
		border-radius: 14px;
		padding: 14px 44px 14px 96px;
		margin-bottom: 14px;
		min-height: 96px;
	}
	.lux-wl-table tbody td { border: none; padding: 3px 0; }
	.lux-wl-img { position: absolute; left: 14px; top: 14px; width: auto; }
	.lux-wl-img img { width: 68px; height: 68px; }
	.lux-wl-remove { position: absolute; right: 8px; top: 8px; width: auto; }
	.lux-wl-name { font-size: 16px; }
	.lux-wl-price, .lux-wl-stock { display: inline-block; margin: 2px 14px 2px 0; }
	.lux-wl-actions { text-align: left; margin-top: 10px; }
}

/* =====================================================================
   Wishlist table — fixes
   ===================================================================== */
/* 1) Give the wishlist its own accent value (the card's --lux-accent does not
      reach here), so the Add to Cart button is actually coloured/visible. */
.lux-wl {
	--lux-accent: #C5656D;
	--lux-added-bg: #3f9d6b;
}

/* 2) Kill the theme's grid/vertical borders + cell backgrounds; keep only our
      thin row lines, and vertically centre every cell. */
.lux-wl-table,
.lux-wl-table thead th,
.lux-wl-table tbody td {
	border-left: 0 !important;
	border-right: 0 !important;
	border-top: 0 !important;
	background: transparent !important;
	vertical-align: middle !important;
}

/* 3) Button: safety fallback colour + let its text show. */
.lux-wl .lux-wl-atc {
	overflow: visible !important;
	background: var(--lux-accent, #C5656D) !important;
	color: #fff !important;
}
.lux-wl .lux-wl-atc-txt { display: inline !important; }
.lux-wl .lux-wl-atc-txt--added { display: none !important; }
.lux-wl .lux-wl-atc-wrap.is-in-cart .lux-wl-atc-txt--default { display: none !important; }
.lux-wl .lux-wl-atc-wrap.is-in-cart .lux-wl-atc-txt--added { display: inline !important; }

/* 4) Centre the Actions column (button sits centred in the wide column). */
.lux-wl-table thead th.lux-wl-c-actions,
.lux-wl-actions {
	text-align: center !important;
}

/* Wishlist Actions button was pulled UP by the card's absolute .lux-atc-wrap
   (position:absolute + translateY(-50%)). Fully reset it so the td's
   vertical-align:middle can centre it. */
.lux-wl .lux-wl-atc-wrap {
	position: static !important;
	transform: none !important;
	top: auto !important;
	right: auto !important;
	left: auto !important;
	z-index: auto !important;
	display: inline-block;
}
.lux-wl-actions { vertical-align: middle !important; }