/**
 * Storefront custom styles — on top of vendored Bootstrap 5/FontAwesome/Owl
 * Carousel/Swiper/lightGallery (theme/frontend/assets/vendor/*). Kept
 * separate from those vendor files so a version bump never means re-diffing
 * hand-written CSS out of a minified vendor file.
 *
 * --shop-accent is set inline per-request from the `theme_accent_color`
 * setting (see layouts/frontend/main.php's <style> block) — every color
 * reference here goes through the variable so the whole storefront re-skins
 * from one Settings field, no CSS edit needed.
 */
:root {
	--shop-accent: #ff5722;
	--shop-accent-dark: #e64a19;
	--shop-ink: #1d2939;
	--shop-muted: #667085;
	--shop-border: #e4e7ec;
	--shop-surface: #f9fafb;
}

/*
 * Global page loader (theme/frontend/assets/js/site-loader.js). Reuses
 * --shop-accent instead of a new hardcoded color — same convention as every
 * other themed component on the storefront. Lightweight CSS border-spin,
 * no animation library; fade handled by a plain opacity transition, skipped
 * entirely for prefers-reduced-motion (both here and in the JS, which hides
 * instantly rather than waiting on a transitionend event in that case).
 */
#sitePreloader {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	background: #fff;
	opacity: 1;
	transition: opacity 0.25s ease-out;
}

#sitePreloader.site-preloader-hide {
	opacity: 0;
	pointer-events: none;
}

.site-preloader-spinner {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 4px solid var(--shop-border);
	border-left-color: var(--shop-accent);
	animation: sitePreloaderSpin 0.9s linear infinite;
}

.site-preloader-text {
	font-size: 0.8rem;
	color: var(--shop-muted);
	font-family: var(--shop-font-family, inherit);
}

@keyframes sitePreloaderSpin {
	to { transform: rotate(360deg); }
}

/* A small inline button spinner — same shape/keyframe as the page
   preloader's own spinner above, just scaled down to sit inline with a
   button's label (e.g. Add to Cart's "Adding..." state) instead of
   inventing a second spinner design. */
.btn-spinner {
	display: inline-block;
	width: 14px;
	height: 14px;
	vertical-align: -2px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .5);
	border-left-color: #fff;
	animation: sitePreloaderSpin 0.7s linear infinite;
}
.btn-outline-secondary .btn-spinner,
.btn-outline-accent .btn-spinner {
	border-color: rgba(0, 0, 0, .15);
	border-left-color: var(--shop-accent);
}

@media (prefers-reduced-motion: reduce) {
	#sitePreloader { transition: none; }
	.site-preloader-spinner { animation: none; border-left-color: var(--shop-border); }
	.btn-spinner { animation: none; }
}

/*
 * "N visitors online" floating widget (theme/frontend/assets/js/
 * site-visitor-counter.js). Position is admin-selectable (Settings >
 * Visitor Tracking); the green dot reuses Bootstrap's own success color
 * family already used elsewhere on the storefront, not a new hardcoded hue.
 */
.visitor-counter {
	position: fixed;
	z-index: 1040;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: #fff;
	border: 1px solid var(--shop-border);
	border-radius: 999px;
	padding: 0.45rem 0.9rem;
	font-size: 0.8rem;
	color: var(--shop-ink);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.visitor-counter-bottom-left { left: 1rem; bottom: 1rem; }
.visitor-counter-bottom-right { right: 1rem; bottom: 1rem; }
.visitor-counter-header { position: static; margin: 0.5rem auto; width: fit-content; }
.visitor-counter-footer { position: static; margin: 0.5rem auto; width: fit-content; }

.visitor-counter-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #0acf97;
	position: relative;
	flex-shrink: 0;
}

.visitor-counter-dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: inherit;
	animation: visitorCounterPulse 1.6s ease-out infinite;
}

@keyframes visitorCounterPulse {
	0% { transform: scale(1); opacity: 0.6; }
	100% { transform: scale(2.8); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.visitor-counter-dot::after { animation: none; }
}

/*
 * Owl Carousel's own stylesheet forces `.owl-carousel .owl-item img{width:
 * 100%}` (correct for full-bleed slide images, wrong for a fixed-size
 * avatar/logo placed inside a slide) — these two selectors match that same
 * `.owl-carousel .owl-item img` prefix plus one extra class, so they win on
 * specificity without needing !important.
 */
.owl-carousel .owl-item img.testimonial-avatar {
	width: 56px;
	height: 56px;
	object-fit: cover;
}

/* Testimonial quote cards — white card on the section's smoke background,
   accent top border + large quote-mark watermark so it reads as a
   distinct "card" instead of plain centered text. */
.testimonial-card {
	position: relative;
	background: #fff;
	border-radius: 14px;
	border-top: 4px solid var(--shop-accent);
	box-shadow: 0 4px 18px rgba(16, 24, 40, 0.07);
	padding: 36px 28px 26px;
	height: 100%;
	margin-bottom: 6px;
}
.testimonial-quote-icon {
	position: absolute;
	top: 18px;
	right: 22px;
	font-size: 28px;
	color: var(--shop-accent);
	opacity: 0.18;
}
.testimonial-text {
	color: var(--shop-ink);
	font-style: italic;
	margin: 14px 0 22px;
	line-height: 1.6;
}
.testimonial-footer {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid var(--shop-border);
}
.testimonial-identity { text-align: left; }
.testimonial-badge {
	font-size: 12px;
	color: #12805c;
}
.testimonial-badge i { color: #12805c; margin-right: 3px; }
.owl-carousel .owl-item img.brand-logo {
	width: auto;
	max-width: 100%;
	max-height: 60px;
}

body {
	color: var(--shop-ink);
	/* --shop-font-family is set per-request in layouts/frontend/main.php
	   from the real theme_font_family setting (Settings > Theme) — this
	   'Poppins' is only the pre-render fallback, same role --shop-accent's
	   static :root default plays in site.css. */
	font-family: var(--shop-font-family, 'Poppins', sans-serif);
}

/*
 * Bootstrap 5.3 colors EVERY plain <a> through these two CSS custom
 * properties (--bs-link-color / --bs-link-hover-color, defined on :root in
 * bootstrap.min.css). Overriding them here — instead of hand-styling every
 * individual link/hover pair across the footer, breadcrumbs, alerts, etc —
 * retints the whole storefront's default link color in one place. Anything
 * that needs its OWN look (nav links, product-card links) sets its own
 * color explicitly and isn't affected by this.
 */
:root {
	--bs-link-color: var(--shop-ink);
	--bs-link-color-rgb: 29, 41, 57; /* rgb() of --shop-ink (#1d2939) — a fixed design token, safe to hardcode */
	--bs-link-hover-color: var(--shop-accent);
	--bs-link-hover-color-rgb: var(--shop-accent-rgb); /* --shop-accent-rgb is computed server-side from the settings-driven hex (see main.php) so it can never drift out of sync */
}

/*
 * Bootstrap's pagination active-state variables are re-declared directly
 * ON `.pagination` itself (bootstrap.min.css sets --bs-pagination-active-bg
 * etc INSIDE its own `.pagination{...}` rule, not just on :root) — so a
 * :root-level override gets shadowed the moment an element actually
 * matches `.pagination`. The fix is overriding on that same `.pagination`
 * selector, which — since this file loads after bootstrap.min.css — wins
 * on identical specificity via source order.
 */
.pagination {
	--bs-pagination-active-bg: var(--shop-accent);
	--bs-pagination-active-border-color: var(--shop-accent);
}

/*
 * Bootstrap's checked radio/checkbox fill is a hardcoded hex (#0d6efd, not
 * a CSS variable like the two above), so it needs a real override rule —
 * same selector Bootstrap itself uses, this file loading after
 * bootstrap.min.css is what makes it win.
 */
.form-check-input:checked {
	background-color: var(--shop-accent);
	border-color: var(--shop-accent);
}
.form-check-input:focus {
	border-color: var(--shop-accent);
	box-shadow: 0 0 0 .25rem rgba(var(--shop-accent-rgb), .25);
}

a {
	text-decoration: none;
}

.btn-accent {
	background-color: var(--shop-accent);
	border-color: var(--shop-accent);
	color: #fff;
}
.btn-accent:hover,
.btn-accent:focus {
	background-color: var(--shop-accent-dark);
	border-color: var(--shop-accent-dark);
	color: #fff;
}
/*
 * Bootstrap's own `.btn:disabled` rule (bootstrap.min.css) resets color/
 * background/border to its own --bs-btn-disabled-* variables, which
 * .btn-accent never defines — so a disabled "Out of Stock" button fell
 * back to Bootstrap's default gray/transparent look instead of a muted
 * accent. Same specificity as that Bootstrap rule (one class + :disabled),
 * so normal cascade order (this file loads after bootstrap.min.css) makes
 * this win without needing !important.
 */
.btn-accent:disabled,
.btn-accent.disabled {
	background-color: var(--shop-accent);
	border-color: var(--shop-accent);
	color: #fff;
	opacity: .55;
}
.text-accent { color: var(--shop-accent); }
.bg-accent { background-color: var(--shop-accent); }

/* Buy Now (PDP) — visually distinct from the filled .btn-accent "Add to
   Cart" next to it (an outline, not a second solid color — there's only
   one accent color variable, so this is the natural second treatment
   rather than inventing an unrelated color to configure). Fills solid on
   hover, same accent-dark used elsewhere for a pressed/active feel. */
.btn-outline-accent {
	background-color: transparent;
	border-color: var(--shop-accent);
	color: var(--shop-accent);
}
.btn-outline-accent:hover,
.btn-outline-accent:focus {
	background-color: var(--shop-accent);
	border-color: var(--shop-accent);
	color: #fff;
}
.btn-outline-accent:disabled,
.btn-outline-accent.disabled {
	background-color: transparent;
	border-color: var(--shop-accent);
	color: var(--shop-accent);
	opacity: .55;
}

/*
 * "Smoke" section band — the light off-white used to alternate with plain
 * white between home-page sections (Flash Deals, Promo Banners, Brand
 * ticker) so a long single-page scroll reads as distinct zones instead of
 * one flat wall of white. Same color as --shop-surface (used elsewhere for
 * card/icon backgrounds) — one token, so a re-theme via Settings some day
 * only ever needs to touch --shop-surface, not every "smoke" reference.
 */
.bg-smoke {
	background-color: var(--shop-surface);
}

/* ---------------------------------------------------------------------
 * Announcement bar — thin, dismissible-free strip above the main navbar.
 * ------------------------------------------------------------------- */
.announcement-bar {
	background: var(--shop-ink);
	color: #fff;
	font-size: .8125rem;
	padding: .4rem 0;
	text-align: center;
}

/* ---------------------------------------------------------------------
 * Sticky main navbar — shrinks/gains a shadow once the page scrolls past
 * the announcement bar (site-common.js toggles .navbar-scrolled).
 *
 * Colored header (Flipkart/Amazon-style solid brand-color bar instead of
 * plain white) — still fully settings-driven: color-mix() derives the
 * darker sub-nav shade and hover tint FROM --shop-accent at paint time,
 * so there's nothing here to keep in sync if the accent color changes
 * (unlike --shop-accent-dark above, which is a separate hardcoded fallback
 * only ever correct for the default orange).
 * ------------------------------------------------------------------- */
.shop-navbar {
	position: sticky;
	top: 0;
	z-index: 1030;
	/* `position: sticky` already makes this a positioned ancestor, which is
	   all .festival-effect-layer below needs for its own `inset:0` to size
	   against THIS box rather than the viewport. Deliberately NOT adding
	   `overflow: hidden` here — the Categories mega-dropdown (.dropdown-menu)
	   is a real DOM descendant of this header, not a portaled/fixed-position
	   element, so clipping overflow at this level would clip that dropdown
	   itself. The festival layer clips its OWN overflow instead (its own
	   `overflow: hidden` in the rule below). */
	/*
	 * NOT a flat var(--shop-accent) fill — a fully-saturated color reads
	 * fine as a small accent (a button, a badge, an underline) but is hard
	 * on the eyes spread across an entire header-width surface, reported
	 * directly against the default orange. --shop-header-bg (computed in
	 * layouts/frontend/main.php, same for the auth layout) is EITHER a
	 * two-color linear-gradient() (Settings > Theme's gradient toggle) OR
	 * that same accent blended 10% toward near-black — this rule never
	 * needs to know which, or care if either color changes later.
	 */
	background: var(--shop-header-bg, var(--shop-accent));
	border-bottom: none;
	transition: box-shadow .2s ease;
}
.shop-navbar.navbar-scrolled {
	box-shadow: 0 4px 16px rgba(16, 24, 40, .16);
}
.shop-navbar .navbar-brand img {
	max-height: 44px;
	width: auto;
}
.shop-navbar .navbar-brand span {
	color: #fff;
}
.shop-navbar .shop-icon-btn {
	color: #fff;
}
.shop-navbar .shop-icon-btn:hover,
.shop-navbar .shop-icon-btn:focus-visible,
.shop-navbar .shop-icon-btn.show {
	background: rgba(255, 255, 255, .16);
	color: #fff;
}
/* Cart/wishlist/notification counts — a fixed white pill with accent text
   reads clearly against the solid accent header regardless of what that
   accent color actually is, same reasoning real storefronts use a fixed
   badge color instead of tying it to the theme. */
.shop-navbar .shop-icon-btn .badge {
	background: #fff !important;
	color: var(--shop-accent);
}
/* Sub-nav row (category links) — a darker shade of the SAME accent, not a
   second color to configure, so the two rows read as one colored header
   block instead of two unrelated bars. Link color/underline-color overrides
   for .shop-main-nav .nav-link live further down, with the rest of that
   nav's styling (padding/spacing/font), so there's one definition per
   property instead of two blocks each setting half of it. */
.shop-navbar-subnav {
	/* a soft dark veil over the same header background, so both rows read as one header (gradient included) */
	background: rgba(0, 0, 0, .16);
	border-top: 1px solid rgba(255, 255, 255, .1);
}

/*
 * Main nav row (Home/About/Contact/etc, under the search bar) — a small
 * animated underline slides in under the link on hover, and stays under
 * whichever link is the current page (server sets .active on that <a>).
 * Cheap, common "premium" e-commerce nav touch — no extra markup needed
 * beyond the .active class the server already has to set.
 *
 * Top-level row is a real <ul class="shop-main-nav"> > <li class="nav-item">
 * > <a class="nav-link"> now (was a flat .nav > bare <a>/<div> mix) —
 * Bootstrap's own .nav/.nav-item/.nav-link classes are built for exactly
 * this structure, so nothing else needed to change for it to still look
 * identical to a plain flex row; .nav already zeroes the <ul>'s default
 * margin/padding/list-style.
 */
.shop-main-nav .nav-link {
	position: relative;
	padding: .75rem 1.1rem;
	color: rgba(255, 255, 255, .92);
	font-weight: 600;
	font-size: .925rem;
	letter-spacing: .2px;
	white-space: nowrap;
}
/*
 * Every .nav-link carries its own 1.1rem left padding (for even spacing
 * between "Home", "Categories", etc) — but that same padding, applied to
 * the FIRST item, pushes "Home"'s visible text to the right of the logo
 * above it, even though both elements' own boxes start at the exact same
 * x-position. Zeroing just the first item's left padding is what makes the
 * two rows' visible content actually line up.
 */
.shop-main-nav > li:first-child .nav-link {
	padding-left: 0;
}
.shop-main-nav > li:first-child .nav-link::before {
	left: 0;
}
/*
 * The sliding underline is a ::before, NOT ::after — every category item is
 * now ALSO a Bootstrap .dropdown-toggle (Electronics/Fashion/Home & Kitchen
 * all got their own dropdown once "Categories" was split into separate
 * tabs), and Bootstrap's own .dropdown-toggle::after is its caret arrow.
 * An element only ever has ONE ::after box — reported directly: hovering
 * one item visibly moved the underline onto an ADJACENT item, because the
 * caret rule and this underline rule were really both fighting over the
 * exact same pseudo-element on the exact same <a>, computing into some
 * broken hybrid transform/position instead of either one alone. ::before
 * has no competing use anywhere on this element, so it can't collide again.
 */
.shop-main-nav .nav-link::before {
	content: '';
	position: absolute;
	left: 1.1rem;
	right: 1.1rem;
	bottom: 0;
	height: 2px;
	background: #fff;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s ease;
}
.shop-main-nav .nav-link:hover,
.shop-main-nav .nav-link.active {
	/* NOT var(--shop-accent) — this nav row's own background is already a
	   darker MIX of that same accent color (.shop-navbar-subnav above), so
	   accent-colored text on it would have very poor contrast, close to
	   invisible depending on the chosen accent. Plain white reads clearly
	   regardless of what the accent color actually is. */
	color: #fff;
}
.shop-main-nav .nav-link:hover::before,
.shop-main-nav .nav-link.active::before {
	transform: scaleX(1);
}

/*
 * A nav item with sub-links (e.g. "Categories") renders as a Bootstrap
 * .dropdown — Bootstrap's own JS only opens it on click, but a desktop
 * storefront nav is expected to open on hover too (click still works, e.g.
 * for touch/keyboard users — this is additive, not a replacement). Pure
 * CSS, no JS needed: the dropdown-menu just needs `display:block` while
 * the mouse is anywhere over the parent .dropdown, overriding Bootstrap's
 * own inline style="display:none" default state.
 */
.shop-main-nav .dropdown:hover > .dropdown-menu {
	display: block;
	margin-top: 0; /* removes the small gap Bootstrap's default offset leaves, which would let the mouse "fall off" between link and menu */
}
/*
 * Same "flush top, rounded bottom only" treatment as the mega panel
 * (.shop-navbar-subnav .shop-mega-menu) — reported directly: the plain/
 * flyout dropdowns still had all 4 corners rounded (the generic
 * .dropdown-menu account-dropdown restyle further down this file), which
 * looked inconsistent sitting right next to a mega panel that's
 * deliberately square on top. Ancestor-qualified for the same specificity
 * reason as the mega panel's own fix — a bare .shop-dropdown-menu would
 * tie with that later, generic .dropdown-menu rule and lose.
 */
.shop-main-nav .shop-dropdown-menu {
	border-radius: 0 0 10px 10px;
	min-width: 230px;
}
.shop-main-nav > .dropdown > .dropdown-toggle::after {
	transition: transform .15s ease;
}
.shop-main-nav > .dropdown:hover > .dropdown-toggle::after {
	transform: rotate(180deg);
}

/*
 * 3rd-level (and deeper) menu — a .dropdown-submenu is a normal <li> inside
 * an already-open .dropdown-menu that itself contains another .dropdown-
 * menu; Bootstrap 5 has no built-in multi-level dropdown, so this hover-to-
 * flyout-sideways behavior is hand-written. .dropend (Bootstrap's own
 * utility, reused just for its right-pointing ::after caret — see
 * shop_menu_submenu_items() in shop_ui_helper.php) supplies the arrow.
 */
.dropdown-submenu {
	position: relative;
}
.dropdown-submenu > .dropdown-menu {
	top: -.5rem; /* aligns the submenu's first item with the parent item it flies out from, offsetting the parent .dropdown-menu's own padding */
	/*
	 * left:100% with NO gap (no margin-left) is deliberate: the previous
	 * .25rem margin left a strip of dead space between the parent <li> and
	 * the flyout that belonged to neither element's hoverable box. Moving
	 * the mouse there — even briefly, on any diagonal path — dropped
	 * :hover on .dropdown-submenu and slammed the flyout shut before the
	 * cursor ever reached it. Flush (or a hair of overlap) keeps the
	 * hoverable area continuous the whole way across.
	 */
	left: 100%;
	margin-left: -2px;
	display: none;
	min-width: 210px;
}
.dropdown-submenu:hover > .dropdown-menu {
	display: block;
}
/*
 * Without this, the ::after arrow sits immediately after the label text
 * (Bootstrap's default), so it lands at a different x-position on every
 * row depending on how long that row's label is — "Fashion▸" and
 * "Home & Kitchen▸" don't line up. Flexing the item pins the label to the
 * left and the arrow to the same far-right edge on every row, regardless
 * of label length.
 */
.dropdown-submenu > .dropdown-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.dropdown-submenu > .dropdown-toggle::after {
	margin-left: .75rem;
}

/*
 * Mega menu ("Categories") — Flipkart/Amazon-style: a wide multi-column
 * panel instead of a single narrow dropdown list, one column per top-level
 * category with its own sub-categories listed underneath. Reuses the SAME
 * .dropdown-menu class (and so the SAME hover-to-open rule above) as every
 * other nav dropdown — only .shop-mega-menu's own rules below make it wide
 * and multi-column instead of a narrow <ul>.
 *
 * data-bs-display="static" (set on the toggle in header.php) turns off
 * Bootstrap's Popper-based positioning for this one toggle — Popper
 * anchors a dropdown-menu to the toggle's own (narrow) width/position,
 * which would fight with a panel that's deliberately wider than its
 * trigger and anchored to .shop-mega-parent instead.
 */
/*
 * position:relative (not static) — the panel's `left:0` below resolves
 * against THIS <li>, so it starts flush with the trigger's own left edge
 * ("Electronics" opening lined up under its own "E") instead of centering
 * in the middle of the whole nav bar regardless of which item opened it,
 * which is what `position:static` + a centered max-width panel did
 * before (reported directly as visibly misaligned from its own trigger).
 * The panel is still free to be WIDER than the trigger `<li>` itself —
 * position:absolute only anchors to its ancestor's position, never
 * constrains to its width — it just no longer centers independently of
 * that anchor.
 */
.shop-mega-parent {
	position: relative;
}
/*
 * Top stays perfectly square (border-radius only on the bottom two
 * corners) so the panel reads as a direct continuation of the dark nav
 * bar it drops from, exactly like a real dropdown — not a separate
 * floating card. Only the bottom, free-standing edge gets rounded.
 *
 * Animated open/close: Bootstrap's own hover-to-open rule
 * (.shop-main-nav .dropdown:hover > .dropdown-menu) flips `display` from
 * none to block instantly — display can't be transitioned, so this stays
 * permanently display:block (overriding Bootstrap's inline style) and
 * animates opacity/transform/visibility instead, which DO transition.
 * Bound to both :hover (desktop mouse) and Bootstrap's own .show class
 * (click/keyboard-opened, same trigger admin's own dropdowns use), so
 * either way of opening it gets the identical fade-and-drop-in motion.
 */
/*
 * .shop-navbar-subnav .shop-mega-menu (not bare .shop-mega-menu) is
 * deliberate — a LATER, generic ".dropdown-menu { border-radius: .625rem;
 * border: 1px solid ...; padding: .5rem; box-shadow: ...; }" rule further
 * down this file (the account-dropdown/category-select restyle) shares
 * the exact same specificity as a bare single-class selector, and being
 * later in the file, was winning and silently overwriting this panel's
 * own radius/border/padding/shadow — reported directly (an unwanted
 * rounded top-left corner poking into the nav bar instead of sitting
 * flush). Qualifying with the ancestor bumps specificity past that rule
 * for good, instead of depending on staying below it in source order.
 */
.shop-navbar-subnav .shop-mega-menu {
	display: block !important;
	position: absolute;
	left: 0;
	top: 100%;
	width: auto;
	/* min-width (not max-content) — a CSS grid with auto-fit/minmax(…,1fr)
	   columns sized against a max-content-width container collapses to a
	   single column (max-content asks "narrowest width with no overflow",
	   which auto-fit satisfies by placing one column per row) instead of
	   spreading the real multi-column layout out sideways. A min-width
	   gives the grid enough room to actually lay its columns out, while
	   still shrinking below that for a 2-column category with little
	   content, and never growing past max-width for one with a lot. */
	min-width: 820px;
	max-width: 1040px;
	margin: 0;
	padding: 32px 36px;
	border: none;
	border-radius: 0 0 16px 16px;
	box-shadow: 0 20px 48px rgba(0, 0, 0, .16);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-10px);
	transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.shop-main-nav .dropdown:hover > .shop-mega-menu,
.shop-mega-menu.show {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}
/* A soft accent-colored glow peeking from one corner — the "corner
   background" a mega menu needs to not read as a plain flat white box.
   Pure CSS (a radial gradient + blur-free soft edge via transparent
   stop), same "no extra asset, no JS" convention as the festival theme's
   own decorations elsewhere on this header. */
.shop-mega-menu-bg {
	position: absolute;
	bottom: -70px;
	right: -70px;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--shop-accent) 0%, transparent 72%);
	opacity: .10;
	pointer-events: none;
}
.shop-mega-menu-grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px 36px;
}
.shop-mega-menu-col-title {
	display: block;
	font-weight: 700;
	font-size: .95rem;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
	color: #222;
	text-decoration: none;
	transition: color .15s ease;
}
.shop-mega-menu-col-title:hover {
	color: var(--shop-accent);
}
.shop-mega-menu-col-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.shop-mega-menu-col-list li {
	margin: 0 -10px;
}
.shop-mega-menu-col-list a {
	display: block;
	padding: 7px 10px;
	border-radius: 8px;
	color: #666;
	font-size: .875rem;
	text-decoration: none;
	transition: color .15s ease, background-color .15s ease, transform .15s ease;
}
.shop-mega-menu-col-list a:hover {
	color: var(--shop-accent);
	background-color: color-mix(in srgb, var(--shop-accent) 8%, transparent);
	transform: translateX(3px);
}

/*
 * Tabbed Product Showcase (Trending/Best Sellers/New Arrivals) — Bootstrap's
 * stock .nav-tabs are boxy tabs with a hard border; this is the flatter,
 * underline-style tab treatment expected on a modern storefront. Written
 * from scratch (not extending .nav-tabs) since the box/border look isn't
 * salvageable with a couple of overrides.
 */
.shop-tabs {
	border-bottom: 1px solid var(--shop-border);
	gap: .5rem;
}
.shop-tabs .nav-link {
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	padding: .75rem 1.25rem;
	color: var(--shop-muted);
	font-weight: 500;
	background: none;
	transition: color .15s ease, border-color .15s ease;
}
.shop-tabs .nav-link:hover {
	color: var(--shop-ink);
	border-color: var(--shop-border);
}
.shop-tabs .nav-link.active {
	color: var(--shop-accent);
	border-color: var(--shop-accent);
	background: none;
}

/* ---------------------------------------------------------------------
 * PDP accordion — Product Details / Specifications / Ratings & Reviews,
 * Amazon/Flipkart-style independent collapsibles (replaces the old plain
 * Bootstrap tabs: a shopper scrolling a long PDP on mobile can jump
 * straight to Specifications without first needing Description to be
 * visible, and multiple sections can stay open together).
 * ------------------------------------------------------------------- */
.pdp-accordion .accordion-item {
	border: 1px solid var(--shop-border);
	border-radius: .75rem;
	overflow: hidden;
	margin-bottom: 1rem;
	box-shadow: 0 1px 3px rgba(16, 24, 40, .04);
}
.pdp-accordion .accordion-item:last-child {
	margin-bottom: 0;
}
.pdp-accordion .accordion-button {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--shop-ink);
	background: #fff;
	padding: 1.1rem 1.35rem;
	box-shadow: none;
}
.pdp-accordion .accordion-button i {
	color: var(--shop-accent);
	width: 1.25em;
	margin-right: .65rem;
	text-align: center;
}
.pdp-accordion .accordion-button:not(.collapsed) {
	background: color-mix(in srgb, var(--shop-accent) 6%, #fff 94%);
	color: var(--shop-ink);
	box-shadow: inset 0 -1px 0 var(--shop-border);
}
.pdp-accordion .accordion-button:focus {
	box-shadow: none;
	border-color: var(--shop-border);
}
.pdp-accordion .accordion-button::after {
	transition: transform .2s ease;
}
.pdp-accordion .accordion-body {
	padding: 1.35rem;
	color: var(--shop-ink);
	line-height: 1.7;
}

/* Specifications — one full-width label/value row per spec (Amazon/
   Flipkart style), not a multi-column card grid. auto-fill on a wide PDP
   (plenty of specs, a wide container) was packing 4-5 specs side by side
   into one visual row instead of stacking them — alternating row tint on
   a plain block list reads just as organized without that. */
.pdp-spec-grid {
	display: block;
	border: 1px solid var(--shop-border);
	border-radius: .5rem;
	overflow: hidden;
}
.pdp-spec-row {
	display: flex;
	padding: .75rem 1rem;
	border-bottom: 1px solid var(--shop-border);
	gap: .5rem;
}
.pdp-spec-grid .pdp-spec-row:nth-child(odd) {
	background: var(--shop-surface);
}
.pdp-spec-row dt {
	flex: 0 0 42%;
	color: var(--shop-muted);
	font-weight: 600;
	font-size: .875rem;
}
.pdp-spec-row dd {
	flex: 1;
	margin: 0;
	font-size: .9375rem;
	color: var(--shop-ink);
	word-break: break-word;
}
@media (max-width: 575.98px) {
	.pdp-accordion .accordion-button {
		font-size: .9375rem;
		padding: .9rem 1rem;
	}
	.pdp-accordion .accordion-body {
		padding: 1rem;
	}
	.pdp-spec-row dt {
		flex-basis: 50%;
	}
}

/*
 * Blog card "Read More" CTA — a text link (not a filled button, a filled
 * .btn-accent here would compete visually with the product cards' Add to
 * Cart buttons on the same page) with an arrow that nudges right on hover.
 */
.btn-read-more {
	display: inline-flex;
	align-items: center;
	color: var(--shop-accent);
	font-weight: 600;
	font-size: .875rem;
}
.btn-read-more i {
	transition: transform .15s ease;
}
.btn-read-more:hover {
	color: var(--shop-accent-dark);
}
.btn-read-more:hover i {
	transform: translateX(3px);
}

/* Category-scoped search bar (input + dropdown + submit as one visual unit). */
.shop-search {
	max-width: 560px;
}
.shop-search .form-select {
	max-width: 160px;
	border-right: 0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.shop-search .form-control {
	border-left: 0;
	border-right: 0;
	border-radius: 0;
}
.shop-search .form-control:focus,
.shop-search .form-select:focus {
	box-shadow: none;
	border-color: var(--shop-border);
}
.shop-search .btn {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
/* The search bar sits ON the colored header now (see .shop-navbar above) —
   a subtle shadow instead of a border is what makes a white bar actually
   read as "floating on color" instead of blending flat into it. */
.shop-search {
	border-radius: .5rem;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.shop-search .form-select,
.shop-search .form-control {
	border: none;
}

/* Live search dropdown (site-common.js, GET shop/search_suggest) — sits
   directly under the search bar, same width, closes on blur/Escape/a
   result click. */
.shop-search-results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	background: #fff;
	border-radius: .5rem;
	box-shadow: 0 8px 24px rgba(16, 24, 40, .18);
	z-index: 1040;
	max-height: 360px;
	overflow-y: auto;
}
.shop-search-result-item {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .6rem .9rem;
	color: var(--shop-ink);
	text-decoration: none;
}
.shop-search-result-item:hover,
.shop-search-result-item.active,
.shop-search-view-all.active {
	/* .active is the keyboard-navigated row (site-common.js's Up/Down
	   handling) — same highlight as :hover so keyboard and mouse users
	   see an identical "this is what Enter will pick" state. */
	background: var(--shop-surface);
}
.shop-search-result-item img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: .25rem;
	flex-shrink: 0;
}
.shop-search-result-item .result-name {
	font-size: .875rem;
	font-weight: 500;
	flex-grow: 1;
	/* Truncate instead of pushing the price column off the edge of the
	   dropdown now that a sale result also carries a discount badge + MRP
	   next to the price — a long product name + all of that would
	   otherwise wrap awkwardly in a narrow dropdown. */
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.shop-search-result-item .result-price-wrap {
	display: flex;
	align-items: center;
	gap: .35rem;
	flex-shrink: 0;
}
.shop-search-result-item .result-price {
	font-size: .8125rem;
	font-weight: 600;
	color: var(--shop-accent);
	white-space: nowrap;
}
.shop-search-result-item .result-mrp {
	font-size: .6875rem;
	color: var(--shop-muted);
	text-decoration: line-through;
	white-space: nowrap;
}
.shop-search-result-item .result-discount {
	font-size: .6875rem;
	font-weight: 700;
	color: #fff;
	background: var(--shop-accent);
	border-radius: .25rem;
	padding: .05rem .3rem;
	white-space: nowrap;
}
.shop-search-view-all {
	display: block;
	text-align: center;
	padding: .6rem;
	font-size: .8125rem;
	font-weight: 600;
	color: var(--shop-accent);
	border-top: 1px solid var(--shop-border);
}
.shop-search-empty {
	padding: 1rem;
	text-align: center;
	color: var(--shop-muted);
	font-size: .875rem;
}

/* "Recent Searches" (Facebook/Flipkart-style) — shown in the same dropdown
   container as the live product results, just different content; see
   site-common.js's renderRecent(). */
.shop-search-recent-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: .6rem .9rem .4rem;
	font-size: .75rem;
	font-weight: 600;
	color: var(--shop-muted);
	text-transform: uppercase;
	letter-spacing: .4px;
}
.shop-search-clear-all {
	background: none;
	border: none;
	padding: 0;
	font-size: .75rem;
	font-weight: 600;
	color: var(--shop-accent);
	text-transform: none;
	letter-spacing: normal;
}
.shop-search-recent-item {
	display: flex;
	align-items: center;
	gap: .65rem;
	padding: .55rem .9rem;
	cursor: pointer;
	color: var(--shop-ink);
}
.shop-search-recent-item:hover,
.shop-search-recent-item.active {
	background: var(--shop-surface);
}
.shop-search-recent-item i.fa-clock {
	color: var(--shop-muted);
	font-size: .9rem;
	flex-shrink: 0;
}
.shop-search-recent-item .recent-term {
	flex-grow: 1;
	font-size: .875rem;
	/* Matches shop-search-result-item's own text truncation — a long
	   remembered query shouldn't push the remove button off the edge of
	   the dropdown. */
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.shop-search-recent-remove {
	background: none;
	border: none;
	padding: .25rem .4rem;
	color: var(--shop-muted);
	flex-shrink: 0;
	border-radius: .25rem;
}
.shop-search-recent-remove:hover {
	background: var(--shop-border);
	color: var(--shop-ink);
}

/* ---------------------------------------------------------------------
 * Mini-cart drawer items (site-cart.js's refreshMiniCart()) — previously
 * plain flex rows with just a gap between them and the drawer's bare white
 * background; each line now reads as its own distinct card instead of
 * bleeding into the next one.
 * ------------------------------------------------------------------- */
.mini-cart-item {
	padding: .75rem;
	border-radius: .5rem;
	background: var(--shop-surface);
	transition: background-color .15s ease;
}
.mini-cart-item:hover {
	background: color-mix(in srgb, var(--shop-accent) 6%, var(--shop-surface) 94%);
}
.mini-cart-item + .mini-cart-item {
	margin-top: .6rem;
}

/* Icon buttons (wishlist/cart/account) with a badge counter pinned top-right.
   Several of these are real <button> elements (cart, notifications, account)
   while wishlist/login are <a> tags — without this reset, the buttons pick
   up the browser's native gray button chrome (background/border) that an
   <a> never gets, so they visibly mismatched the plain, flat wishlist icon
   next to them. Resetting every one to a plain, borderless, transparent
   surface makes all 4 icons read as one consistent set. */
.shop-icon-btn {
	position: relative;
	background: transparent;
	border: 0;
	padding: 0;
	color: var(--shop-ink);
	font-size: 1.15rem;
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background-color .15s ease, color .15s ease;
}
.shop-icon-btn:hover {
	background: var(--shop-surface);
	color: var(--shop-ink);
}
.shop-icon-btn .badge {
	position: absolute;
	top: 2px;
	right: 2px;
	font-size: .625rem;
	padding: .2em .45em;
	min-width: 1.1em;
}
/*
 * Bootstrap's .dropdown-toggle::after caret is meant for text links/nav
 * items with room to spare — on these compact circular icon buttons
 * (bell/account) it becomes a 3rd flex child next to the icon, so
 * .shop-icon-btn's own justify-content:center centers the icon+caret PAIR
 * instead of the icon alone, visibly shifting the icon left of the
 * button's true center. A bell/account icon doesn't need a caret hint the
 * way a text nav dropdown does, so it's dropped entirely here.
 */
.shop-icon-btn.dropdown-toggle::after {
	display: none;
}

/* Account button with a "Hello, Name" greeting (Amazon/Flipkart-style) needs
   to grow into a pill instead of staying clipped to the circular 42px icon
   button size everything else here uses. */
.shop-icon-btn:has(.account-greeting) {
	width: auto;
	border-radius: 999px;
	padding: 0 .85rem 0 .65rem;
}

/*
 * Account dropdown (My Orders/Wishlist/Logout) + the category <select> in
 * the search bar — both are Bootstrap's stock components, restyled to
 * match the storefront's rounded/soft-shadow language instead of
 * Bootstrap's square, hard-edged defaults.
 */
.dropdown-menu {
	border: 1px solid var(--shop-border);
	border-radius: .625rem;
	box-shadow: 0 12px 28px rgba(16, 24, 40, .12);
	padding: .5rem;
}
.dropdown-menu .dropdown-item {
	border-radius: .375rem;
	padding: .55rem .75rem;
	font-size: .875rem;
	transition: background-color .15s ease;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
	background-color: var(--shop-surface);
	color: var(--shop-accent);
}
.dropdown-menu .dropdown-divider {
	margin: .35rem 0;
}
/* The header's own account dropdown (My Orders/Wishlist/Notifications/
   Addresses/Profile/Track Order/Logout) — Bootstrap's default 10rem
   min-width felt cramped once every row got its own icon + longer labels
   like "Notifications"/"Track Order", reported directly as "consested". */
.account-dropdown-menu {
	min-width: 230px;
	padding: .65rem;
}
.account-dropdown-menu .dropdown-item {
	padding: .65rem .85rem;
}

/* ---------------------------------------------------------------------
 * Mobile-first bottom navigation bar — hidden on lg+ where the full
 * navbar already covers Home/Shop/Cart/Account.
 * ------------------------------------------------------------------- */
.mobile-bottom-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1030;
	background: #fff;
	border-top: 1px solid var(--shop-border);
	box-shadow: 0 -2px 12px rgba(16, 24, 40, .06);
	display: flex;
}
.mobile-bottom-nav .nav-item-link {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: .5rem 0 .4rem;
	font-size: .6875rem;
	color: var(--shop-muted);
	position: relative;
}
.mobile-bottom-nav .nav-item-link i {
	font-size: 1.15rem;
}
.mobile-bottom-nav .nav-item-link.active {
	color: var(--shop-accent);
}
.mobile-bottom-nav .nav-item-link .badge {
	position: absolute;
	top: 2px;
	right: calc(50% - 18px);
	font-size: .5625rem;
	padding: .2em .4em;
}
/*
 * .mobile-bottom-nav itself is `d-lg-none` (hidden at the lg breakpoint and
 * up, since the full navbar covers the same links there) — but this
 * padding-bottom was applying unconditionally on <body> regardless of
 * viewport, reserving a 60px gap below the footer on DESKTOP too, where no
 * fixed bar actually occupies it. Barely noticeable against a plain white
 * footer, but a visible white strip the moment the footer got a real
 * background color (see .shop-footer). Scoped to the same breakpoint the
 * bar itself disappears at, matching Bootstrap's own lg cutoff (992px).
 */
@media (max-width: 991.98px) {
	body.has-mobile-bottom-nav {
		padding-bottom: 60px;
	}
}

/* ---------------------------------------------------------------------
 * Product card — image-hover flip, discount pill, quick-view/wishlist
 * icons that fade in on hover, AJAX add-to-cart button.
 * ------------------------------------------------------------------- */
.product-card {
	border: 1px solid var(--shop-border);
	border-radius: .5rem;
	overflow: hidden;
	background: #fff;
	transition: box-shadow .2s ease, transform .2s ease;
	height: 100%;
	/*
	 * A flex column, not plain block flow — otherwise the "Only X left!"
	 * low-stock line (present on SOME cards in a grid row, not others)
	 * pushes just that card's Add to Cart button down by one line, so
	 * buttons land at different heights across an otherwise equal-height
	 * row. The .p-3 content block below grows to fill the remaining
	 * height and its own Add to Cart button gets margin-top:auto, so the
	 * button always sits flush with the card's bottom edge regardless of
	 * how many optional lines (rating, low-stock) render above it.
	 */
	display: flex;
	flex-direction: column;
}
.product-card:hover {
	box-shadow: 0 12px 24px rgba(16, 24, 40, .10);
	transform: translateY(-3px);
}
.product-card .product-thumb {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--shop-surface);
	flex-shrink: 0; /* never let the flex column squash the image area to make room for the text block below */
}
.product-card > .p-3 {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}
/* Was scoped to just button[data-add-to-cart] — a configurable product's
   CTA here is an <a> (straight to the PDP, not a direct add), so it never
   got this margin-top:auto and sat a line higher than every other card's
   real Add to Cart button in the same grid row. Both share the same
   .btn-accent.w-100 styling, so matching on that covers either tag. */
.product-card > .p-3 > .btn-accent.w-100 {
	margin-top: auto;
}
.product-card .product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: opacity .25s ease, transform .25s ease;
}
.product-card .product-thumb img.img-back {
	position: absolute;
	inset: 0;
	opacity: 0;
}
.product-card:hover .product-thumb img.img-back {
	opacity: 1;
}
.product-card:hover .product-thumb img.img-front {
	opacity: 0;
	/* A touch of zoom on top of the existing crossfade — subtle, not a
	   dramatic magnify, so it reads as polish rather than a distraction. */
	transform: scale(1.04);
}
@media (prefers-reduced-motion: reduce) {
	.product-card .product-thumb img {
		transition: none;
	}
	.product-card:hover .product-thumb img.img-front {
		transform: none;
	}
}
/* Base pill look (used bare on the PDP, next to the price); .product-card
   positions it absolutely over the thumbnail — same class, two contexts. */
.discount-pill {
	display: inline-block;
	background: var(--shop-accent);
	color: #fff;
	font-size: .6875rem;
	font-weight: 600;
	padding: .2rem .5rem;
	border-radius: 999px;
}
/*
 * Top-LEFT corner stack — Sold Out and the dynamic product badge
 * (shop_resolve_badge(): Mega Sale/Hot/Sale/Trending/New) both live here,
 * one under the other, never top-right — that corner is the wishlist/
 * Quick View buttons (.card-quick-actions). A wrapping flex column means
 * either one can appear alone or both together without manual offset math.
 */
.product-card .card-corner-badges {
	position: absolute;
	top: .5rem;
	left: .5rem;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .35rem;
}
.product-card .discount-pill {
	z-index: 2;
}

/* The dynamic product badge — color/icon/label all admin-set (Admin >
   Product Badges), only its POSITION/shape is fixed here. .pdp-badge is the
   Product Detail page's own usage (added alongside the card/list/quick-view
   ones above) — without it in this selector list the badge fell back to a
   bare unstyled <span>, with only its own inline background color applied. */
.product-card .product-badge,
.product-list-item .product-badge,
.quick-view-media .product-badge,
.pdp-badge {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	color: #fff;
	font-size: .6875rem;
	font-weight: 700;
	padding: .2rem .55rem;
	border-radius: 999px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.product-list-item .product-badge {
	display: inline-flex;
	align-self: flex-start;
	margin-bottom: .4rem;
	box-shadow: none;
}

/* Price widget's OWN discount indicator (shop_price_block()) — plain green
   text ("8% off"), not a filled pill like .discount-pill above (that one's
   a corner badge over a product thumbnail, a different, unrelated use —
   left as-is). Matches Flipkart's own convention directly: current price,
   struck-through MRP, then the saving in green, in that order. */
.price-discount {
	color: #388e3c;
	/* Relative to its own parent, not a fixed rem — so it stays visibly
	   smaller than price-current whether that's the PDP's large fs-3 price
	   or a card's small default size, instead of a flat .8125rem that was
	   barely smaller than price-current in the compact (card/cart) context
	   it's most commonly used in. */
	font-size: .75em;
	font-weight: 600;
}
.product-card .card-quick-actions {
	position: absolute;
	top: .5rem;
	right: .5rem;
	display: flex;
	flex-direction: column;
	gap: .35rem;
	opacity: 0;
	transform: translateX(6px);
	transition: opacity .2s ease, transform .2s ease;
	z-index: 2;
}
.product-card:hover .card-quick-actions {
	opacity: 1;
	transform: translateX(0);
}
/* Touch devices have no :hover state, so the icons above would otherwise
   never become visible/tappable — always show them there instead. */
@media (hover: none), (pointer: coarse) {
	.product-card .card-quick-actions {
		opacity: 1;
		transform: translateX(0);
	}
}
.product-card .card-quick-actions .btn {
	width: 34px;
	height: 34px;
	padding: 0;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid var(--shop-border);
	color: var(--shop-ink);
}
.product-card .card-quick-actions .btn:hover {
	background: var(--shop-accent);
	border-color: var(--shop-accent);
	color: #fff;
}
/* "Added to Compare" state (site-compare.js toggles .active) — same accent
   treatment as :hover so an active compare button reads as "on" at a
   glance, consistent with the filled-heart wishlist convention. */
.card-quick-actions .btn.js-compare-toggle.active,
.product-list-item .btn.js-compare-toggle.active {
	background: var(--shop-accent);
	border-color: var(--shop-accent);
	color: #fff;
}

/* ---------------------------------------------------------------------
 * Product Compare — floating bottom tray (Flipkart-style) + the
 * side-by-side comparison page.
 * ------------------------------------------------------------------- */
.compare-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1040;
	background: #fff;
	border-top: 1px solid var(--shop-border);
	box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
	animation: compare-bar-rise .25s ease;
}
@keyframes compare-bar-rise {
	from { transform: translateY(100%); }
	to { transform: translateY(0); }
}
.compare-bar-thumbs {
	overflow-x: auto;
}
.compare-bar-thumb {
	position: relative;
	flex-shrink: 0;
	width: 52px;
	height: 52px;
}
/* overflow:hidden lives on this inner wrapper, not .compare-bar-thumb
   itself — that let it clip the remove button too, since the button is
   deliberately positioned at top:-8px/right:-8px to sit as a badge on the
   thumb's corner, outside the thumb's own box. */
.compare-bar-thumb-img {
	width: 100%;
	height: 100%;
	border-radius: .5rem;
	border: 1px solid var(--shop-border);
	overflow: hidden;
}
.compare-bar-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	/* A plain white square behind every product's own (often white-
	   background) packshot photo reads as flat/empty — the same light-gray
	   shimmer the Quick View skeleton already uses underneath gives these
	   thumbnails some life instead. */
	background: linear-gradient(90deg, #f5f5f5 25%, #fcfcfc 37%, #f5f5f5 63%);
	background-size: 400% 100%;
	animation: qv-shimmer 2.2s ease infinite;
}
/* Was an 18px circle with a raw "&times;" character at .75rem — read as a
   near-invisible speck ("chiti", an ant) rather than a real delete control.
   A proper sized FA icon + visible ring makes it an obvious tap target. */
.compare-bar-thumb-remove {
	position: absolute;
	top: -4px;
	right: -8px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: var(--shop-ink);
	color: #fff;
	font-size: .8125rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}
.compare-bar-thumb-remove:hover {
	background: var(--shop-danger, #dc3545);
}
.compare-bar .btn-accent.disabled {
	pointer-events: none;
	opacity: .55;
}

/* Compare page itself — sticky header row + difference-friendly spacing.
   The rounded-corner clipping lives on the WRAP (border-radius + overflow-
   x:auto), not the <table> itself — a table with its own `overflow:
   hidden` becomes an extra "scroll container" in the sticky ancestor
   chain, and the browser then sticks .compare-row-label to THAT (which
   never actually scrolls) instead of to this wrap (which does), so the
   label column silently stops pinning the moment you scroll on mobile. */
.compare-table-wrap {
	overflow-x: auto;
	border-radius: .75rem;
	border: 1px solid var(--shop-border);
}
.compare-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
}
.compare-table th,
.compare-table td {
	padding: .9rem 1.1rem;
	border-bottom: 1px solid var(--shop-border);
	vertical-align: top;
	min-width: 220px;
}
.compare-table tr:last-child th,
.compare-table tr:last-child td {
	border-bottom: 0;
}
/* Sticky left label column — stays pinned while the product columns scroll
   horizontally, including on mobile where that horizontal scroll is the
   normal way to see every compared product. Needs its own opaque
   background + a right-edge shadow (so it visibly separates from whatever
   column is currently scrolled under it) and -webkit-sticky for older
   Safari/iOS. */
.compare-table .compare-row-label {
	position: -webkit-sticky;
	position: sticky;
	left: 0;
	background: var(--shop-surface);
	font-weight: 600;
	color: var(--shop-muted);
	min-width: 150px;
	max-width: 150px;
	z-index: 2;
	box-shadow: 2px 0 6px rgba(0, 0, 0, .06);
}
.compare-table .compare-col-header {
	/* Stays a plain table-cell (the default th/td display) — display:flex
	   directly on a <th> was taking it OUT of table layout entirely, so the
	   browser stopped treating the header row's cells as side-by-side
	   columns at all: one product's whole column visually collapsed under
	   the previous one instead of sitting next to it. The flex column
	   (for "Add to Cart" flush to the bottom) now lives on the inner div
	   below instead, where it can't affect the table's own column layout. */
	text-align: center;
	position: relative;
	background: linear-gradient(90deg, #f5f5f5 25%, #fcfcfc 37%, #f5f5f5 63%);
	background-size: 400% 100%;
	animation: qv-shimmer 2.2s ease infinite;
}
.compare-table .compare-col-header-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.compare-table .compare-col-header-inner > .btn-accent.w-100 {
	margin-top: auto;
}
/* Was a bare "&times;" floated top-right with no sizing at all — easy to
   miss entirely, let alone tap accurately on a touch screen. A real
   trash-can icon in a properly sized circular button reads unambiguously
   as "remove this column", matching the floating bar's own fixed-up
   remove button. */
.compare-table .compare-col-remove {
	position: absolute;
	top: .5rem;
	right: .5rem;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid var(--shop-border);
	background: #fff;
	color: var(--shop-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .875rem;
}
.compare-table .compare-col-remove:hover {
	background: var(--shop-danger, #dc3545);
	border-color: var(--shop-danger, #dc3545);
	color: #fff;
}
.compare-table .compare-product-image {
	width: 120px;
	height: 120px;
	object-fit: contain;
	display: block;
	margin: 0 auto .75rem;
}
.compare-table .compare-product-name {
	font-weight: 600;
	color: var(--shop-ink);
	display: block;
	margin-bottom: .5rem;
}
.compare-table .compare-col-empty {
	background: var(--shop-surface);
}

/* The "+ Add a product" slot — an empty compare column with its own
   Flipkart-style inline search, so a 3rd/4th product can be added right
   from this page instead of needing to go back and click a product
   card's own compare icon. */
.compare-col-add {
	text-align: center;
	vertical-align: middle !important;
	background: var(--shop-surface);
}
.compare-add-slot {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .6rem;
	padding: 1rem .25rem;
}
.compare-add-slot > .fa-circle-plus {
	font-size: 2rem;
	color: var(--shop-border);
}
.compare-add-slot input[data-compare-search] {
	/* 190px cut the "Add a product to compare" placeholder off mid-word
	   ("...to compa") — this input's own padding ate a chunk of that budget
	   too, so the real usable text width was narrower than it looked. */
	max-width: 230px;
	width: 100%;
}
.compare-suggest-dropdown {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	width: 260px;
	max-height: 280px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid var(--shop-border);
	border-radius: .5rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
	z-index: 5;
	text-align: left;
}
.compare-suggest-item {
	display: flex;
	align-items: center;
	gap: .6rem;
	width: 100%;
	border: 0;
	background: none;
	padding: .5rem .75rem;
	text-align: left;
}
.compare-suggest-item:hover {
	background: var(--shop-surface);
}
.compare-suggest-item img {
	width: 36px;
	height: 36px;
	object-fit: contain;
	flex-shrink: 0;
	background: linear-gradient(90deg, #f5f5f5 25%, #fcfcfc 37%, #f5f5f5 63%);
	background-size: 400% 100%;
	animation: qv-shimmer 2.2s ease infinite;
	border-radius: .375rem;
}
.compare-suggest-empty {
	padding: .75rem;
	color: var(--shop-muted);
	font-size: .875rem;
}

/* Small screens: every compared product still needs its own real-estate,
   just narrower, so the label column shrinks to match rather than eating
   a disproportionate share of a ~360px viewport. */
@media (max-width: 575.98px) {
	.compare-table .compare-row-label {
		min-width: 96px;
		max-width: 96px;
		font-size: .8125rem;
		padding: .65rem .5rem;
	}
	.compare-table th,
	.compare-table td {
		padding: .65rem .6rem;
		min-width: 170px;
	}
	.compare-table .compare-product-image {
		width: 90px;
		height: 90px;
	}
}
.product-card .price-old {
	color: var(--shop-muted);
	text-decoration: line-through;
	font-size: .8125rem;
}
.product-card .price-current {
	color: var(--shop-accent);
	font-weight: 700;
}

/* ---------------------------------------------------------------------
 * Category tiles (home page) — circular icon-card style.
 * ------------------------------------------------------------------- */
.category-tile {
	text-align: center;
	color: var(--shop-ink);
}
.category-tile .icon-circle {
	width: 84px;
	height: 84px;
	margin: 0 auto .6rem;
	border-radius: 50%;
	background: var(--shop-surface);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: var(--shop-accent);
	transition: background-color .2s ease, transform .2s ease;
}
.category-tile:hover .icon-circle {
	background: var(--shop-accent);
	color: #fff;
	transform: scale(1.05);
}

/* ---------------------------------------------------------------------
 * Deals-of-the-day countdown (placeholder markup — real countdown JS
 * wires in once order/campaign end-times exist in Phase 3+).
 * ------------------------------------------------------------------- */
.countdown-timer {
	display: flex;
	gap: .5rem;
}
.countdown-timer .unit {
	background: var(--shop-ink);
	color: #fff;
	border-radius: .375rem;
	min-width: 48px;
	padding: .4rem .3rem;
	text-align: center;
}
.countdown-timer .unit .value {
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1;
}
.countdown-timer .unit .label {
	font-size: .625rem;
	text-transform: uppercase;
	opacity: .75;
}

/* Trust badges + payment icon row (footer). */
.trust-badges .badge-item {
	display: flex;
	align-items: center;
	gap: .6rem;
}
.trust-badges .badge-item i {
	font-size: 1.5rem;
	color: var(--shop-accent);
}
.payment-icons i {
	font-size: 1.75rem;
	color: var(--shop-muted);
	margin-right: .5rem;
}

/* ---------------------------------------------------------------------
 * Colored footer (Flipkart/Amazon-style dark footer instead of plain
 * white) — scoped entirely under .shop-footer so Bootstrap utility
 * classes used inside it (.text-muted, .bg-body-tertiary, .border-top)
 * get overridden only here, never globally (those same classes are used
 * elsewhere in normal light-background contexts and must stay untouched).
 * ------------------------------------------------------------------- */
.shop-footer {
	background: var(--shop-ink);
	color: rgba(255, 255, 255, .72);
}
.shop-footer .trust-badges {
	background: color-mix(in srgb, var(--shop-ink) 85%, #000 15%) !important;
}
.shop-footer h5,
.shop-footer h6 {
	color: #fff;
}
.shop-footer .text-muted {
	color: rgba(255, 255, 255, .62) !important;
}
.shop-footer a.text-muted:hover {
	color: #fff !important;
}
.shop-footer .border-top {
	border-color: rgba(255, 255, 255, .12) !important;
}
.shop-footer .payment-icons i {
	color: rgba(255, 255, 255, .55);
}
.shop-footer .form-control::placeholder {
	color: var(--shop-muted);
}

/* PDP gallery — main image + a clickable thumbnail strip; lightGallery
   (already vendored) handles the click-to-zoom lightbox on top of this. */
.pdp-gallery-main img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: var(--shop-surface);
	border: 1px solid var(--shop-border);
}
.pdp-thumb-row {
	overflow-x: auto;
}
.pdp-thumb {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	border: 1px solid var(--shop-border);
	border-radius: .375rem;
	overflow: hidden;
	opacity: .7;
	transition: opacity .15s ease, border-color .15s ease;
}
.pdp-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: var(--shop-surface);
}
.pdp-thumb:hover,
.pdp-thumb.active {
	opacity: 1;
	border-color: var(--shop-accent);
}

/* Quantity stepper (PDP + cart). */
.qty-stepper {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--shop-border);
	border-radius: .375rem;
	overflow: hidden;
}
.qty-stepper button {
	background: var(--shop-surface);
	border: 0;
	width: 36px;
	color: var(--shop-ink);
}
.qty-stepper input {
	width: 48px;
	border: 0;
	border-left: 1px solid var(--shop-border);
	border-right: 1px solid var(--shop-border);
	text-align: center;
}
.qty-stepper input:focus {
	outline: none;
	box-shadow: none;
}
.qty-stepper button:active,
.btn:active {
	transform: scale(.97);
}
@media (prefers-reduced-motion: reduce) {
	.qty-stepper button:active,
	.btn:active {
		transform: none;
	}
}

/* Brief tactile pop on a wishlist heart toggle — toggled on/off by
   site-cart.js right when the toggle AJAX resolves, same reduced-motion
   convention as every other animated bit here. */
@keyframes wishlistPop {
	0% { transform: scale(1); }
	40% { transform: scale(1.3); }
	100% { transform: scale(1); }
}
.wishlist-pop {
	animation: wishlistPop .25s ease;
}
@media (prefers-reduced-motion: reduce) {
	.wishlist-pop { animation: none; }
}

/* PDP action row (qty / Add to Cart / Buy Now / wishlist+compare+share) —
   on a narrow screen a single unbreakable row squeezed every icon button
   down to an illegible sliver instead of giving each control real tap
   space. Each flex-basis:100% group forces its own line: qty stepper
   alone, Add to Cart + Buy Now together on the next, then the icon group. */
@media (max-width: 575.98px) {
	#pdpBuyNowBtn {
		flex: 1 1 100%;
	}
	.pdp-icon-actions {
		flex: 1 1 100%;
	}
	.pdp-icon-actions .btn {
		flex: 1 1 0;
	}
}

/* Cart page — two clearly separate panels (items / order summary), each
   with its own gray header strip (same "white card, gray-strip-only-where-
   needed" language as the Shop page's .shop-filters-header), so the page
   reads as distinct sections instead of one flat block of content. */
.cart-panel {
	background: #fff;
	border: 1px solid var(--shop-border);
	border-radius: .5rem;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
}
.cart-panel-header {
	background: var(--shop-surface);
	border-bottom: 1px solid var(--shop-border);
	padding: 1rem 1.25rem;
}
.cart-panel-header h6 {
	font-weight: 700;
}
.cart-panel-footer {
	background: var(--shop-surface);
	border-top: 1px solid var(--shop-border);
	padding: .85rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: .4rem;
	font-size: .8125rem;
	color: var(--shop-muted);
}
.order-summary-panel {
	position: sticky;
	top: 1rem;
}
.cart-item {
	transition: background-color .12s ease;
}
.cart-item:hover {
	background: var(--shop-surface);
}
.cart-item + .cart-item {
	border-top: 1px solid var(--shop-border);
}
.cart-item-thumb {
	display: block;
	width: 88px;
	height: 88px;
	border: 1px solid var(--shop-border);
	border-radius: .375rem;
	overflow: hidden;
}
.cart-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: var(--shop-surface);
}
.cart-item-aside {
	width: 140px;
}
@media (max-width: 575.98px) {
	.cart-item {
		flex-wrap: wrap;
	}
	.cart-item-aside {
		width: 100%;
		margin-top: .75rem;
		display: flex;
		align-items: center;
		justify-content: space-between;
		text-align: left;
	}
	.cart-item-aside .qty-stepper {
		margin-bottom: 0 !important;
	}
}

/* Checkout-steps indicator — purely visual "step 1 of 3" orientation strip;
   Address/Payment aren't real pages yet (Phase 4), just context for where
   Cart sits in the journey. */
.checkout-steps {
	display: flex;
	align-items: center;
	max-width: 480px;
}
.checkout-steps .step {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: .8125rem;
	font-weight: 600;
	color: var(--shop-muted);
	white-space: nowrap;
}
.checkout-steps .step.active,
.checkout-steps .step.done {
	color: var(--shop-ink);
}
.checkout-steps .step-circle {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 2px solid var(--shop-border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .75rem;
	color: var(--shop-muted);
}
.checkout-steps .step.active .step-circle,
.checkout-steps .step.done .step-circle {
	background: var(--shop-accent);
	border-color: var(--shop-accent);
	color: #fff;
}
.checkout-steps .step-divider {
	flex: 1;
	height: 2px;
	background: var(--shop-border);
	margin: 0 .75rem;
}
.checkout-steps .step-divider.done {
	background: var(--shop-accent);
}

/* Selectable "card" radios — shared by Checkout's saved-address list and
   payment-method list: the whole card is clickable (label wraps the radio),
   :has() lights up the border/tint the moment its own radio is checked, no
   JS toggle needed. */
.select-card {
	display: block;
	border: 1px solid var(--shop-border);
	border-radius: .5rem;
	padding: 1rem;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease;
}
.select-card:hover {
	border-color: var(--shop-accent);
}
.select-card:has(input:checked) {
	border-color: var(--shop-accent);
	background: rgba(var(--shop-accent-rgb), .05);
}
.select-card input[type="radio"] {
	margin-right: .6rem;
}
.select-card + .select-card {
	margin-top: .75rem;
}

/* ---------------------------------------------------------------------
 * Brand grid (/brands) — a dedicated card, not a reuse of .select-card
 * above (that class is shared by checkout's address/payment pickers, a
 * plain compact radio-row style that would look thin here). Real brand
 * logos are small wordmark-style images (~160x60px) — scaling the IMAGE
 * itself up much further would just look blurry, so what "bigger/richer"
 * actually means here is the CARD around it: generous padding, a
 * consistent logo stage, a hover lift matching .product-card's own, and
 * the product count as a real pill instead of plain muted text.
 * ------------------------------------------------------------------- */
.brand-card {
	position: relative;
	overflow: hidden; /* clips the oversized ::before watermark below to the card's own rounded corners */
	border: 1px solid var(--shop-border);
	border-radius: .75rem;
	background: #fff;
	padding: 1.75rem 1.25rem 1.5rem;
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
/*
 * A large, faded copy of the brand's OWN logo as a background watermark —
 * --brand-card-bg is set inline per card (see index.php) since each
 * brand's logo is a different file; this rule just says how to render
 * whatever that is. Sits BEHIND the real crisp logo/name/count (z-index
 * below, see the ">" rules further down), so it's pure visual texture,
 * never competing with the actual readable content.
 */
.brand-card::before {
	content: '';
	position: absolute;
	inset: -15%;
	background-image: var(--brand-card-bg, none);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 80% auto;
	opacity: .05;
	pointer-events: none;
	z-index: 0;
	transition: opacity .2s ease;
}
.brand-card:hover::before {
	opacity: .09;
}
.brand-card > * {
	position: relative;
	z-index: 1;
}
.brand-card:hover {
	box-shadow: 0 12px 24px rgba(16, 24, 40, .10);
	transform: translateY(-3px);
	border-color: var(--shop-accent);
}
.brand-card-logo {
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
}
.brand-card-logo img {
	max-height: 56px;
	max-width: 100%;
	object-fit: contain;
}
.brand-card-fallback {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: color-mix(in srgb, var(--shop-accent) 12%, #fff 88%);
	color: var(--shop-accent);
	font-size: 1.5rem;
	font-weight: 700;
}
.brand-card-count {
	display: inline-block;
	margin-top: .5rem;
	background: var(--shop-surface);
	color: var(--shop-muted);
	font-size: .75rem;
	font-weight: 600;
	padding: .3rem .75rem;
}
.brand-card:hover .brand-card-count {
	background: color-mix(in srgb, var(--shop-accent) 12%, #fff 88%);
	color: var(--shop-accent);
}

/* Brand detail page's hero logo — a white "stage" card floating on the
   colored band, same reasoning as .brand-card-logo (the real logo image
   is small, the CARD around it is what reads as "designed"). */
.brand-hero-logo {
	width: 140px;
	height: 90px;
	background: #fff;
	border-radius: .75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: .75rem 1.25rem;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}
.brand-hero-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* Order-success confirmation icon. */
.order-success-icon {
	font-size: 3.5rem;
	color: #22c55e;
}

/* Header notification bell dropdown + the shared notification-item row
   (also reused, unwrapped, by the full account/notifications page). */
.notification-dropdown {
	width: 340px;
	max-width: 90vw;
	overflow: hidden;
}
.notification-dropdown-header {
	background: var(--shop-surface);
	border-bottom: 1px solid var(--shop-border);
	padding: .75rem 1rem;
}
.notification-dropdown-body {
	max-height: 320px;
	overflow-y: auto;
}
.notification-dropdown-footer {
	display: block;
	text-align: center;
	padding: .65rem;
	font-size: .8125rem;
	font-weight: 500;
	color: var(--shop-accent);
	border-top: 1px solid var(--shop-border);
}
.notification-item {
	display: flex;
	align-items: flex-start;
	gap: .65rem;
	padding: .75rem 1rem;
	border-bottom: 1px solid var(--shop-border);
	color: inherit;
	text-decoration: none;
}
.notification-item:last-child {
	border-bottom: 0;
}
.notification-item:hover {
	background: var(--shop-surface);
	color: inherit;
}
.notification-item.unread {
	background: rgba(var(--shop-accent-rgb), .04);
}
.notification-icon {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--shop-surface);
	color: var(--shop-accent);
	display: flex;
	align-items: center;
	justify-content: center;
}
.notification-dot {
	width: 8px;
	height: 8px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--shop-accent);
	margin-top: .4rem;
}

/* Bootstrap 5 doesn't actually ship a .min-w-0 utility (unlike .min-vw-100
   etc.) — this project uses the class name anyway (a flex child needs
   min-width:0 to let text-truncate work instead of overflowing its flex
   container), so it's defined for real here rather than silently no-op'ing.
   Used by the Cart item row and every shop_notification_item() row. */
.min-w-0 {
	min-width: 0;
}

/* FAQ accordion — Bootstrap re-declares its own active-state variables
   directly on .accordion itself (same shadowing trap as .pagination
   earlier), so the override has to go on that same selector. */
.accordion {
	--bs-accordion-active-color: var(--shop-accent);
	--bs-accordion-active-bg: rgba(var(--shop-accent-rgb), .06);
	--bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(var(--shop-accent-rgb), .15);
}

/* PDP write-a-review star picker. */
.pdp-star-input {
	font-size: 1.5rem;
	color: #ffc107;
}
.pdp-star-input i {
	cursor: pointer;
	margin-right: .25rem;
}

/* PDP variant picker — plain-text options (RAM, Storage, ...) and swatch
   options (Color) both get the same accent-highlighted "selected" ring;
   swatches additionally show their own color instead of a label. */
.variant-option.active {
	background-color: var(--shop-accent);
	border-color: var(--shop-accent);
	color: #fff;
}
.variant-swatch {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 2px solid var(--shop-border);
	padding: 0;
	cursor: pointer;
}
.variant-swatch.active {
	border-color: var(--shop-accent);
	box-shadow: 0 0 0 2px rgba(var(--shop-accent-rgb), .25);
}
/* An image-backed swatch (a real photo of that color/pattern, the schema's
   `swatch` column already allowed an image path, it was just never
   rendered as one) reads better as a small square thumbnail than forced
   into the plain-color circle above — a cropped-to-a-circle product photo
   looks broken, a photo or hex dot). */
.variant-swatch.variant-swatch-image {
	width: 68px;
	height: 68px;
	border-radius: .5rem;
	overflow: hidden;
}
.variant-swatch.variant-swatch-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* My Orders list — small overlapping thumbnail stack per order card. */
.order-thumb-stack-item {
	width: 44px;
	height: 44px;
	border: 2px solid #fff;
	border-radius: .375rem;
	box-shadow: 0 0 0 1px var(--shop-border);
	overflow: hidden;
	margin-left: -12px;
}
.order-thumb-stack-item:first-child {
	margin-left: 0;
}
.order-thumb-stack-item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: var(--shop-surface);
}

/* My Account side nav (Orders/Wishlist/Profile). */
.account-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--shop-surface);
	border: 1px solid var(--shop-border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--shop-muted);
}
.account-nav-link {
	display: block;
	padding: .55rem .75rem;
	border-radius: .375rem;
	color: var(--shop-ink);
	font-size: .9rem;
}
.account-nav-link:hover {
	background: var(--shop-surface);
}
.account-nav-link.active {
	background: rgba(var(--shop-accent-rgb), .08);
	color: var(--shop-accent);
	font-weight: 500;
}

/* Order tracking timeline — horizontal on desktop (a left-to-right journey
   reads naturally), stacked vertical on mobile where there's no width for it. */
.tracking-timeline {
	display: flex;
	align-items: flex-start;
}
.tracking-step {
	flex: 1;
	text-align: center;
	position: relative;
	padding-top: 44px;
}
.tracking-step::before {
	content: '';
	position: absolute;
	top: 21px;
	left: -50%;
	width: 100%;
	height: 2px;
	background: var(--shop-border);
	z-index: 0;
}
.tracking-step:first-child::before {
	display: none;
}
.tracking-step.done::before,
.tracking-step.active::before {
	background: var(--shop-accent);
}
.tracking-dot {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 2px solid var(--shop-border);
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--shop-muted);
	z-index: 1;
}
.tracking-step.done .tracking-dot,
.tracking-step.active .tracking-dot {
	background: var(--shop-accent);
	border-color: var(--shop-accent);
	color: #fff;
}
.tracking-step.cancelled .tracking-dot {
	background: #dc3545;
	border-color: #dc3545;
	color: #fff;
}
.tracking-label {
	font-size: .8125rem;
	font-weight: 600;
	color: var(--shop-muted);
}
.tracking-step.done .tracking-label,
.tracking-step.active .tracking-label,
.tracking-step.cancelled .tracking-label {
	color: var(--shop-ink);
}
.tracking-date {
	font-size: .6875rem;
	color: var(--shop-muted);
	margin-top: .15rem;
}
@media (max-width: 575.98px) {
	.tracking-timeline {
		flex-direction: column;
		align-items: stretch;
	}
	.tracking-step {
		text-align: left;
		padding-top: 0;
		padding-left: 56px;
		min-height: 52px;
	}
	.tracking-dot {
		top: 0;
		left: 0;
		transform: none;
	}
	.tracking-step::before {
		top: 0;
		left: 20px;
		width: 2px;
		height: 100%;
	}
}

/* =======================================================================
 * AUTH PAGES (login/register/forgot-password/reset-password) — a split
 * screen: a branded accent-gradient panel (desktop only) + the actual form
 * on white. layouts/auth/main.php is the only view that uses these.
 * ===================================================================== */
html:has(.auth-body), .auth-body {
	height: 100%;
}
.auth-body {
	margin: 0;
	font-family: 'Poppins', sans-serif;
}
.auth-shell {
	min-height: 100vh;
	display: flex;
}

/* Branded left panel — gradient background, decorative ring SVG behind the
 * content (purely visual, aria-hidden, no extra HTTP request since it's
 * inline markup not an <img>), and the same 3 trust-badge lines the
 * storefront footer uses (repetition is intentional — reinforcing the
 * same 3 trust signals at both "convince" moments: browsing and signing up). */
.auth-brand-panel {
	flex: 0 0 44%;
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--shop-accent), var(--shop-accent-dark));
	padding: 3rem;
}
.auth-brand-rings {
	position: absolute;
	inset: 0;
	overflow: hidden;
}
.auth-brand-rings svg {
	position: absolute;
	top: 0;
	right: 0;
	width: 130%;
	height: 130%;
}
.auth-brand-content {
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 420px;
}
.auth-brand-icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .15);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Form (right) panel. */
.auth-form-panel {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem 1.5rem;
	background: #fff;
}
.auth-form-inner {
	width: 100%;
	max-width: 420px;
}
.auth-form-inner h1,
.auth-form-inner h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--shop-ink);
}
.auth-form-inner .subtitle {
	color: var(--shop-muted);
	font-size: .9rem;
}

/*
 * Mobile OTP login/registration — tab switcher + the auth-tabs/OTP-box
 * styling site-mobile-otp.js's markup relies on (_mobile_otp_panel.php).
 */
.auth-tabs {
	border-bottom: 1px solid var(--shop-border, #e5e7eb);
	gap: .5rem;
}
.auth-tab-btn {
	border: none;
	background: transparent;
	padding: .6rem 1rem;
	font-weight: 500;
	color: var(--shop-muted, #6b7280);
	border-bottom: 2px solid transparent;
	border-radius: 0;
}
.auth-tab-btn.active {
	color: var(--shop-accent, #ff5722);
	border-bottom-color: var(--shop-accent, #ff5722);
}
[data-otp-boxes] input {
	font-size: 1.25rem;
	font-weight: 600;
	padding: .5rem 0;
}

/*
 * Icon-prefixed inputs — a modern alternative to Bootstrap's boxy
 * .input-group-text (a gray square glued to the input's edge). The icon
 * floats INSIDE the input itself (absolutely positioned over it), and the
 * input's own left padding makes room so text never runs under the icon.
 */
.auth-field {
	position: relative;
	margin-bottom: 1.25rem;
}
.auth-field label {
	display: block;
	font-size: .875rem;
	font-weight: 500;
	color: var(--shop-ink);
	margin-bottom: .4rem;
}
.auth-field .auth-field-icon {
	position: absolute;
	left: 1rem;
	top: 2.65rem; /* label height + margin — pins the icon to the input's own vertical center, not the whole .auth-field block's */
	color: var(--shop-muted);
	pointer-events: none;
}
.auth-field input,
.auth-field select {
	height: 48px;
	padding-left: 2.75rem;
	border-radius: .5rem;
	border-color: var(--shop-border);
}
.auth-field input:focus,
.auth-field select:focus {
	border-color: var(--shop-accent);
	box-shadow: 0 0 0 .2rem rgba(var(--shop-accent-rgb), .15);
}

/* Checkout's "which field is actually wrong" highlight (site-checkout.js's
   highlightFields()) — a couple of visible red pulses draw the eye straight
   to the invalid input on a long address form, instead of a shopper having
   to hunt for it after reading just a top-of-page error message. */
.field-blink-error {
	border-color: #dc3545 !important;
	animation: shop-field-blink 1s ease-in-out 2;
}
@keyframes shop-field-blink {
	0%, 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
	50% { box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .35); }
}
@media (prefers-reduced-motion: reduce) {
	.field-blink-error { animation: none; }
}

/* Password field's show/hide toggle — same floating-icon idea, mirrored to the right edge. */
.auth-password-toggle {
	position: absolute;
	right: 1rem;
	top: 2.65rem;
	background: none;
	border: 0;
	color: var(--shop-muted);
	padding: 0;
	line-height: 1;
}
.auth-password-toggle:hover {
	color: var(--shop-ink);
}

.auth-submit-btn {
	height: 48px;
	border-radius: .5rem;
	font-weight: 600;
}

/* =======================================================================
 * MOBILE NAV DRAWER (#mobileMenuDrawer) — the touch-friendly counterpart
 * to .shop-main-nav's hover dropdowns (which don't exist below lg, where
 * the whole secondary nav row is d-none). Rendered by
 * shop_mobile_menu_items() as click-to-expand Bootstrap .collapse
 * accordions, not hover-flyouts.
 * ===================================================================== */
.mobile-nav-link {
	display: block;
	padding: .85rem 1rem;
	color: var(--shop-ink);
	border-bottom: 1px solid var(--shop-border);
	font-weight: 500;
}
.mobile-nav-link:hover,
.mobile-nav-link:active {
	background: var(--shop-surface);
	color: var(--shop-ink);
}
.mobile-nav-caret {
	flex-shrink: 0;
	width: 48px;
	background: none;
	border: 0;
	border-left: 1px solid var(--shop-border);
	border-bottom: 1px solid var(--shop-border);
	color: var(--shop-muted);
}
.mobile-nav-caret i {
	transition: transform .15s ease;
}
/* Bootstrap's collapse.js toggles the `collapsed` class on every trigger
 * pointed at a given target — present while closed, removed once open —
 * so this flips the chevron with no JS of our own. */
.mobile-nav-caret:not(.collapsed) i {
	transform: rotate(180deg);
}
/* Nested accordion levels (sub-categories, sub-sub-categories) get the
 * surface tint so the drawer's hierarchy reads as "drilled into", not just
 * a longer flat list. */
.mobile-nav-group .collapse .mobile-nav-link,
.mobile-nav-group .collapse .mobile-nav-caret {
	background: var(--shop-surface);
}

/* =======================================================================
 * SHOP / PLP — sidebar filters, grid/list toggle, list-view row item, and
 * the dual-handle price-range slider.
 * ===================================================================== */
.shop-filters {
	background: #fff;
	border: 1px solid var(--shop-border);
	border-radius: .5rem;
	overflow: hidden; /* keeps .shop-filters-header's own background inside the card's rounded corners */
	box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
}
/* Gray title strip at the top of the (otherwise white) filter card — the
 * "gray at the top only" look, not a whole-page tint. */
.shop-filters-header {
	background: var(--shop-surface);
	border-bottom: 1px solid var(--shop-border);
	padding: 1rem 1.25rem;
}
.filter-group {
	padding-bottom: 1rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--shop-border);
}
.filter-group:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: 0;
}

/* Results toolbar (count + grid/list toggle + sort) — same white-card
 * language as .shop-filters so the two feel like matched, aligned panels
 * instead of one boxed control and one floating row of text. */
.shop-toolbar {
	background: #fff;
	border: 1px solid var(--shop-border);
	border-radius: .5rem;
	padding: .85rem 1.25rem;
	box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
}
.filter-accordion-toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	user-select: none;
}
.filter-accordion-icon {
	font-size: .7em;
	color: var(--shop-muted);
	transition: transform .2s ease;
}
.filter-accordion-toggle[aria-expanded="false"] .filter-accordion-icon {
	transform: rotate(-90deg);
}
.filter-title {
	font-size: .8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--shop-muted);
	margin-bottom: .75rem;
}

.view-toggle .btn {
	color: var(--shop-muted);
	border-color: var(--shop-border);
}
.view-toggle .btn.active {
	background: var(--shop-accent);
	border-color: var(--shop-accent);
	color: #fff;
}

/* List-view row (shop_product_list_item()) — a horizontal alternative to
 * the grid's vertical .product-card, redesigned to match the Quick View
 * modal's own layout/information density (a substantial image on the
 * left, brand/name/rating/price/description/actions on the right) rather
 * than a thin thumb+name+price+button strip.
 *
 * Its own independent border/background/hover — NOT borrowed from
 * .product-card via a wrapper div the way it used to be (Shop's view no
 * longer wraps it in one). That borrowed wrapper was a real bug: .product-
 * card's own ".product-card > .p-3" rule (added for the grid card's
 * button-alignment fix) unintentionally matched this component's OWN root
 * element too, since .product-list-item also carries a plain .p-3 class
 * for its own padding — forcing it into flex-direction:column and
 * stacking the image above the text instead of beside it. */
.product-list-item {
	border: 1px solid var(--shop-border);
	border-radius: .5rem;
	background: #fff;
	transition: box-shadow .2s ease;
}
.product-list-item:hover {
	box-shadow: 0 8px 20px rgba(16, 24, 40, .08);
}
.product-list-item .product-list-thumb {
	width: 200px;
	height: 200px;
	flex-shrink: 0;
	background: var(--shop-surface);
	border-radius: .375rem;
	overflow: hidden;
	display: block;
}
.product-list-item .product-list-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.product-list-item .product-list-desc {
	/* Clamped, not left to overflow uncontrolled — a long description in
	   this compact row would otherwise push the Add to Cart row down by a
	   variable, unpredictable amount from one product to the next. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
@media (max-width: 575.98px) {
	.product-list-item .product-list-thumb {
		width: 110px;
		height: 110px;
	}
}

/*
 * Dual-handle price slider — two native <input type="range"> stacked
 * exactly on top of each other. Each one's own track is made invisible
 * (background:transparent) so only ONE visible track shows (the wrapper's
 * own ::before, positioned behind both) — otherwise you'd see two
 * overlapping track bars. `pointer-events:none` on the input plus
 * `pointer-events:auto` on just its thumb is what lets a click land on
 * whichever handle is physically closest, instead of only ever grabbing
 * the top input in the stack.
 */
.price-slider {
	position: relative;
	height: 24px;
}
.price-slider::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 4px;
	transform: translateY(-50%);
	background: var(--shop-border);
	border-radius: 2px;
}
.price-slider input[type="range"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	margin: 0;
	background: transparent;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}
.price-slider input[type="range"]::-webkit-slider-runnable-track {
	background: transparent;
	height: 24px;
}
.price-slider input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--shop-accent);
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(16, 24, 40, .25);
	margin-top: 4px;
	cursor: pointer;
}
.price-slider input[type="range"]::-moz-range-track {
	background: transparent;
	height: 4px;
}
.price-slider input[type="range"]::-moz-range-thumb {
	pointer-events: auto;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--shop-accent);
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(16, 24, 40, .25);
	cursor: pointer;
}

/*
 * Breadcrumb bar (layouts/frontend/main.php, any inner page — Shop, PDP,
 * account pages) — a full-width smoke strip with real padding above/below,
 * not bare text sitting flush against the sticky nav above it. A custom
 * chevron divider (instead of Bootstrap's default "/") and an accent hover
 * on the trail links are what keep it from reading as unstyled.
 */
.shop-breadcrumb-bar {
	background: var(--shop-surface);
	border-bottom: 1px solid var(--shop-border);
	padding: .85rem 0;
}
.shop-breadcrumb-bar .breadcrumb-item {
	font-size: .8125rem;
}
.shop-breadcrumb-bar .breadcrumb-item a {
	color: var(--shop-muted);
	font-weight: 500;
}
.shop-breadcrumb-bar .breadcrumb-item a:hover {
	color: var(--shop-accent);
}
.shop-breadcrumb-bar .breadcrumb-item.active {
	color: var(--shop-ink);
	font-weight: 600;
}
.shop-breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
	content: '\f105'; /* fa-solid fa-chevron-right */
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: .625rem;
	color: var(--shop-muted);
	display: inline-block;
	vertical-align: -1px;
	margin-top: 3px; /* user-verified live in-browser — the exact nudge that centers this glyph against the text baseline */
}

/*
 * Quick View modal (product card's eye icon) — a scale+fade entrance
 * instead of Bootstrap's default modal slide-down, a shimmering skeleton
 * while /quick-view/{id} loads, and a subtle image zoom on hover so the
 * modal feels alive rather than a plain content swap.
 */
.quick-view-modal .modal-content {
	border: none;
	border-radius: .75rem;
	overflow: hidden;
}
.quick-view-modal.fade .modal-dialog {
	transform: scale(.92) translateY(10px);
	opacity: 0;
	transition: transform .28s cubic-bezier(.34, 1.56, .64, 1), opacity .2s ease;
}
.quick-view-modal.show .modal-dialog {
	transform: scale(1) translateY(0);
	opacity: 1;
}
.quick-view-close {
	position: absolute;
	top: .75rem;
	right: .75rem;
	z-index: 5;
	background-color: #fff;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	opacity: 1;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.quick-view-media {
	overflow: hidden;
	background: var(--shop-surface);
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.quick-view-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.quick-view-media:hover img {
	transform: scale(1.08);
}
.quick-view-skeleton .skeleton-block {
	background: linear-gradient(90deg, #eee 25%, #f6f6f6 37%, #eee 63%);
	background-size: 400% 100%;
	animation: qv-shimmer 1.4s ease infinite;
	border-radius: .375rem;
}
.quick-view-img-skel {
	width: 100%;
	min-height: 320px;
	border-radius: 0;
}
@keyframes qv-shimmer {
	0% { background-position: 100% 50%; }
	100% { background-position: 0 50%; }
}

/* ---------------------------------------------------------------------
   First-visit welcome popup (Settings > Popup) — see
   layouts/frontend/partials/welcome_popup.php / site-popup.js.
   --------------------------------------------------------------------- */
.welcome-popup-content { border: none; border-radius: .75rem; overflow: hidden; }
.welcome-popup-image { width: 100%; max-height: 260px; object-fit: cover; }
.welcome-popup-close {
	/* background-color, not `background` — a plain `background` shorthand
	   overwrites Bootstrap's own .btn-close background (that's where the
	   X icon SVG itself lives, as a background-image), so the circle drew
	   but the cross inside it never did. */
	position: absolute; top: .75rem; right: .75rem; z-index: 2;
	background-color: #fff; border-radius: 50%; opacity: .9; padding: .5rem;
}

/* ---------------------------------------------------------------------
   Festival header theme (Settings > Festival) — see site-festival.js.
   Click-through overlay (pointer-events:none) scoped to exactly the
   .shop-navbar header's own box (that's the positioned ancestor this
   `inset:0` sizes against — see .shop-navbar's own comment on this), NOT
   the full viewport. An earlier version of this was `position: fixed;
   inset: 0`, covering the whole page for the entire scroll — reported
   directly that decorations floated over real content/popups/modals well
   below the header, which read as unintentional. Travel distances in the
   keyframes below are tuned in px for a header-sized strip (roughly
   70-160px tall across breakpoints), not vh units sized for a full page.
   --------------------------------------------------------------------- */
.festival-effect-layer {
	position: absolute;
	inset: 0;
	z-index: 2; /* above the header's own background, below its real content (nav/search/icons) */
	pointer-events: none;
	overflow: hidden;
}
/* The 5 extra placements beyond the header (hero/promo-banners/product-
   listing/footer) sit on top of real photos/cards, not a plain color
   background — needs a slightly higher z-index than the header's own 2
   to clear a swiper slide's image, still safely below any real
   interactive control (nav arrows, buttons) in those same sections,
   which this never intercepts anyway (pointer-events:none, inherited). */
.festival-effect-layer-overlay { z-index: 5; }
/* Header content stays above the decoration (lights, diyas), so the search box, logo and
   menu are never drawn over. The top row sits above the menu row, so the live-search
   dropdown that hangs over the menu row stays on top. */
.shop-navbar > .container { position: relative; z-index: 4; }
.shop-navbar-subnav > .container { position: relative; z-index: 3; }

/* Canvas-rendered effects (christmas/new_year — real requestAnimationFrame
   particle system, see site-festival.js initCanvas()) — sized to fill
   whichever placement container it was appended into. */
.festival-canvas-layer {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

/* Floating mute toggle for an enabled sound preset — small, out of the
   way, never over the WhatsApp button (bottom-right already, see
   whatsapp_button.php) so it sits one slot above it. */
.festival-sound-toggle {
	position: fixed;
	right: 16px;
	bottom: 86px;
	z-index: 1040;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,.2);
	font-size: 18px;
	cursor: pointer;
}
/* Promotional banner strip (admin/festival_themes' "Banner Image" field)
   — a real image, not a decorative overlay, so no pointer-events:none and
   no absolute positioning: it pushes the page content down like the
   announcement bar right above it, never floats over anything. */
.festival-banner-bar {
	width: 100%;
	max-height: 140px;
	overflow: hidden;
	line-height: 0;
}
.festival-banner-bar-img {
	width: 100%;
	height: 100%;
	max-height: 140px;
	object-fit: cover;
	display: block;
}
@media (max-width: 767.98px) {
	.festival-banner-bar { max-height: 80px; }
	.festival-banner-bar-img { max-height: 80px; }
}

.festival-particle {
	position: absolute;
	top: -16px;
	will-change: transform, opacity;
}
.festival-particle-fall {
	animation-name: festival-fall;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}
.festival-particle-float {
	animation-name: festival-float;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
}
/* Opacity kept within a 70%-100% band throughout — a light, subtle accent
   rather than a fully-opaque emoji competing with the real header content
   (nav/search/icons) it sits above. */
@keyframes festival-fall {
	0%   { transform: translateY(-16px) rotate(0deg);   opacity: 1; }
	100% { transform: translateY(170px) rotate(360deg); opacity: .7; }
}
@keyframes festival-float {
	0%   { transform: translateY(0) translateX(0);       opacity: 1; }
	50%  { transform: translateY(70px) translateX(10px);  opacity: .7; }
	100% { transform: translateY(150px) translateX(-10px); opacity: 1; }
}

/* ---------------------------------------------------------------------
   Blog article body — rendered rich HTML from TinyMCE (default/blog's
   view.php), so this needs real typographic spacing Bootstrap's reset
   otherwise strips (margin:0 on headings/paragraphs).
   --------------------------------------------------------------------- */
.blog-article-content { font-size: 1.05rem; line-height: 1.75; color: var(--shop-ink, #212529); }
.blog-article-content p { margin-bottom: 1.1rem; }
.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 { margin-top: 1.75rem; margin-bottom: .75rem; font-weight: 700; }
.blog-article-content ul,
.blog-article-content ol { margin-bottom: 1.1rem; padding-left: 1.5rem; }
.blog-article-content img { max-width: 100%; height: auto; border-radius: .375rem; }
.blog-article-content a { color: var(--shop-accent); text-decoration: underline; }

/* ---------------------------------------------------------------------
   CMS legal-page body (Shipping/Return/Terms/Privacy, §6t) — real
   admin-authored HTML from `cms_pages` via TinyMCE, same reasoning as
   .blog-article-content above (Bootstrap's reset otherwise strips
   heading/paragraph margins) but denser spacing, matching this page
   type's original plain "heading + paragraphs" look rather than the
   blog's more spacious article style.
   --------------------------------------------------------------------- */
.cms-content h2,
.cms-content h3,
.cms-content h4 { font-size: 1rem; font-weight: 700; margin-top: 1.25rem; margin-bottom: .5rem; }
.cms-content h2:first-child,
.cms-content h3:first-child,
.cms-content h4:first-child { margin-top: 0; }
.cms-content p { color: var(--shop-ink-muted, #6c757d); margin-bottom: .5rem; }
.cms-content ul,
.cms-content ol { margin-bottom: .5rem; padding-left: 1.25rem; }

/* ---------------------------------------------------------------------
   Home hero slider: a rounded, contained frame aligned with the page
   container. Fade transition with a slow Ken Burns zoom, a left-side
   gradient for readable text (instead of dimming the whole photo), a
   staggered text entrance, progress-bar pagination that fills with the
   autoplay timer, a slide counter and round glass arrows.
   --------------------------------------------------------------------- */
.hero { padding-top: 1.25rem; }
.hero-frame {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	isolation: isolate;
	background: #1b1f2a;
	box-shadow: 0 18px 40px -18px rgba(16, 24, 40, .35);
}
.hero-swiper { overflow: hidden; }
.hero-slide {
	position: relative;
	height: clamp(260px, 34vw, 470px);
	overflow: hidden;
	background: #1b1f2a;
}
.hero-slide-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
}
.hero-swiper .swiper-slide-active .hero-slide-img { animation: hero-kenburns 7s ease-out forwards; }
@keyframes hero-kenburns { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero-slide-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(10, 12, 20, .78) 0%, rgba(10, 12, 20, .5) 38%, rgba(10, 12, 20, 0) 72%),
		linear-gradient(0deg, rgba(10, 12, 20, .45) 0%, rgba(10, 12, 20, 0) 35%);
}
.hero-slide-content {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	color: #fff;
}
.hero-slide-inner {
	max-width: min(560px, 78%);
	padding: 0 clamp(1.25rem, 4.5vw, 3.75rem) 2.5rem;
}
.hero-slide-title {
	font-size: clamp(1.5rem, 3.6vw, 3rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.02em;
	margin: 0 0 .7rem;
	color: #fff;
	text-wrap: balance;
}
.hero-slide-subtitle {
	font-size: clamp(.9rem, 1.4vw, 1.15rem);
	line-height: 1.5;
	color: rgba(255, 255, 255, .86);
	margin: 0 0 1.4rem;
	max-width: 40ch;
}
.hero-slide-btn {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	background: #fff;
	color: #111827;
	font-weight: 600;
	font-size: clamp(.85rem, 1.1vw, 1rem);
	padding: .8rem 1.5rem;
	border-radius: 999px;
	text-decoration: none;
	box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .45);
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.hero-slide-btn i { font-size: .85em; transition: transform .2s ease; }
.hero-slide-btn:hover, .hero-slide-btn:focus-visible {
	background: var(--shop-accent);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px -10px rgba(var(--shop-accent-rgb), .7);
}
.hero-slide-btn:hover i { transform: translateX(3px); }
.hero-slide-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* staggered entrance each time a slide becomes active */
.hero-slide-inner > * { opacity: 0; transform: translateY(22px); }
.swiper-slide-active .hero-slide-inner > * { animation: hero-fade-up .75s cubic-bezier(.2, .7, .2, 1) forwards; }
.swiper-slide-active .hero-slide-title    { animation-delay: .15s; }
.swiper-slide-active .hero-slide-subtitle { animation-delay: .3s; }
.swiper-slide-active .hero-slide-btn      { animation-delay: .45s; }
@keyframes hero-fade-up { to { opacity: 1; transform: translateY(0); } }

/* controls */
.hero-controls {
	position: absolute;
	left: clamp(1.25rem, 4.5vw, 3.75rem);
	right: clamp(1rem, 3vw, 1.75rem);
	bottom: clamp(1rem, 2.4vw, 1.6rem);
	z-index: 6;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	pointer-events: none;
}
.hero-controls > * { pointer-events: auto; }
.hero-bars { display: flex; gap: .5rem; position: static !important; width: auto !important; }
.hero-bar {
	width: 44px;
	height: 4px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: rgba(255, 255, 255, .32);
	overflow: hidden;
	cursor: pointer;
	position: relative;
	transition: width .3s ease, background-color .2s ease;
}
.hero-bar::before { content: ""; position: absolute; inset: -8px 0; } /* bigger hit area */
.hero-bar:hover { background: rgba(255, 255, 255, .55); }
.hero-bar.is-active { width: 72px; }
.hero-bar span { display: block; height: 100%; width: 0; background: #fff; border-radius: inherit; }
.hero-static .hero-bar.is-active span { width: 100%; }
.hero-bar:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.hero-nav { display: flex; align-items: center; gap: .5rem; }
.hero-count { color: rgba(255, 255, 255, .75); font-size: .8rem; letter-spacing: .08em; margin-right: .35rem; font-variant-numeric: tabular-nums; }
.hero-count b { color: #fff; font-weight: 700; }
.hero-arrow {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .35);
	background: rgba(255, 255, 255, .14);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: .9rem;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: background-color .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.hero-arrow:hover, .hero-arrow:focus-visible { background: #fff; color: #111827; border-color: #fff; transform: scale(1.06); }
.hero-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero-arrow.swiper-button-disabled { opacity: .4; }

@media (max-width: 767.98px) {
	.hero { padding-top: .75rem; }
	.hero-container { padding-left: .75rem; padding-right: .75rem; }
	.hero-frame { border-radius: 14px; }
	.hero-slide { height: clamp(230px, 62vw, 340px); }
	.hero-slide-shade { background: linear-gradient(0deg, rgba(10, 12, 20, .85) 0%, rgba(10, 12, 20, .45) 55%, rgba(10, 12, 20, .1) 100%); }
	.hero-slide-content { align-items: flex-end; }
	.hero-slide-inner { max-width: 100%; padding-bottom: 3.1rem; }
	.hero-slide-subtitle { margin-bottom: 1rem; }
	.hero-slide-btn { padding: .65rem 1.2rem; }
	.hero-nav { display: none; }
	.hero-bar { width: 26px; }
	.hero-bar.is-active { width: 46px; }
}

/* Full-width layout (Theme Manager > Home Hero Layout = full): edge-to-edge banner; the text and
   controls still line up with the page container (--hero-cw = Bootstrap's .container width). */
.hero--full { padding-top: 0; --hero-cw: 100%; }
@media (min-width: 576px)  { .hero--full { --hero-cw: 540px; } }
@media (min-width: 768px)  { .hero--full { --hero-cw: 720px; } }
@media (min-width: 992px)  { .hero--full { --hero-cw: 960px; } }
@media (min-width: 1200px) { .hero--full { --hero-cw: 1140px; } }
@media (min-width: 1400px) { .hero--full { --hero-cw: 1320px; } }
.hero--full .hero-container { max-width: none; padding-left: 0; padding-right: 0; }
.hero--full .hero-frame { border-radius: 0; box-shadow: none; }
.hero--full .hero-slide { height: clamp(300px, 36vw, 540px); }
.hero--full .hero-slide-inner,
.hero--full .hero-controls { padding-left: 0; left: auto; }
.hero--full .hero-slide-inner { margin-left: max(clamp(1.25rem, 4.5vw, 3.75rem), calc((100% - var(--hero-cw)) / 2 + .75rem)); padding-right: 1.25rem; }
.hero--full .hero-controls {
	left: max(clamp(1.25rem, 4.5vw, 3.75rem), calc((100% - var(--hero-cw)) / 2 + .75rem));
	right: max(1rem, calc((100% - var(--hero-cw)) / 2 + .75rem));
}
@media (max-width: 767.98px) {
	.hero--full .hero-container { padding-left: 0; padding-right: 0; }
	.hero--full .hero-slide { height: clamp(240px, 66vw, 360px); }
}

@media (prefers-reduced-motion: reduce) {
	.hero-swiper .hero-slide-img,
	.hero-slide-inner > * { animation: none !important; transform: none !important; opacity: 1 !important; }
}

/*
 * Promo banner tiles (home_promo_wide/1/2) — a bottom-up dark gradient
 * instead of the hero's full flat tint: these are smaller, denser cards
 * sitting right under a product grid, so a gradient keeps the photo itself
 * readable up top and only darkens where the title/subtitle/CTA actually
 * sit, rather than dimming the whole image uniformly.
 */
.promo-banner-tile {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: .75rem;
}
.promo-banner-tile img {
	display: block;
	transition: transform .4s ease;
}
.promo-banner-tile:hover img {
	transform: scale(1.04);
}
.promo-banner-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.5rem;
	color: #fff;
	background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, 0) 75%);
	pointer-events: none;
}
.promo-banner-title {
	font-size: clamp(1.1rem, 2.4vw, 1.75rem);
	font-weight: 700;
	margin-bottom: .25rem;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}
.promo-banner-subtitle {
	font-size: clamp(.8rem, 1.4vw, .95rem);
	color: rgba(255, 255, 255, .88);
	margin-bottom: .6rem;
	max-width: 32rem;
}
.promo-banner-btn {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	font-size: .85rem;
	font-weight: 600;
	color: #fff;
	background: var(--shop-accent);
	padding: .4rem 1rem;
	border-radius: 2rem;
	transition: background-color .15s ease, transform .15s ease;
}
.promo-banner-tile:hover .promo-banner-btn {
	background: color-mix(in srgb, var(--shop-accent) 85%, #000 15%);
	transform: translateX(3px);
}
@media (prefers-reduced-motion: reduce) {
	.promo-banner-tile img,
	.promo-banner-tile:hover img,
	.promo-banner-btn,
	.promo-banner-tile:hover .promo-banner-btn { transition: none !important; transform: none !important; }
}

/* ---------------------------------------------------------------------
 * Floating WhatsApp support widget — background uses var(--shop-accent)
 * (not a fixed brand green/blue) so it re-skins with Settings > Theme
 * like every other accent element. z-index 1035 sits between
 * .mobile-bottom-nav (1030) and .compare-bar (1040) so neither existing
 * fixed bar gets buried under it; the mobile bottom-offset bump uses the
 * same body.has-mobile-bottom-nav hook those rules already key off.
 * ------------------------------------------------------------------- */
.whatsapp-fab {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 1035;
	width: 56px;
	height: 56px;
	border: none;
	border-radius: 50%;
	background: var(--shop-accent);
	color: #fff;
	font-size: 1.6rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .22);
	cursor: pointer;
	transition: transform .15s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); color: #fff; }

.whatsapp-popup {
	position: fixed;
	right: 20px;
	bottom: 88px;
	z-index: 1036;
	width: 320px;
	max-width: calc(100vw - 40px);
	background: #fff;
	border-radius: .75rem;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
	overflow: hidden;
	display: none;
	flex-direction: column;
}
.whatsapp-popup.show { display: flex; }

@media (max-width: 991.98px) {
	body.has-mobile-bottom-nav .whatsapp-fab { bottom: 76px; }
	body.has-mobile-bottom-nav .whatsapp-popup { bottom: 144px; }
}

.whatsapp-popup-header {
	background: var(--shop-accent);
	color: #fff;
	padding: .9rem 1rem;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: .5rem;
}
.whatsapp-popup-header small { opacity: .85; }
.whatsapp-popup-close {
	background: transparent;
	border: none;
	color: #fff;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}
.whatsapp-popup-body {
	padding: 1rem;
	max-height: 420px;
	overflow-y: auto;
}
.whatsapp-welcome {
	font-size: .875rem;
	color: var(--shop-muted, #667085);
	margin-bottom: .75rem;
}
.whatsapp-option-btn {
	display: flex;
	align-items: center;
	gap: .6rem;
	width: 100%;
	text-align: left;
	padding: .65rem .75rem;
	margin-bottom: .5rem;
	border: 1px solid var(--shop-border, #e5e7eb);
	border-radius: .5rem;
	background: #fff;
	font-size: .9rem;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}
.whatsapp-option-btn:hover {
	border-color: var(--shop-accent);
	background: color-mix(in srgb, var(--shop-accent) 8%, #fff 92%);
}
.whatsapp-option-btn i { color: var(--shop-accent); width: 18px; text-align: center; }
.whatsapp-back-btn {
	border: none;
	background: transparent;
	color: var(--shop-accent);
	font-size: .85rem;
	padding: 0 0 .75rem;
	cursor: pointer;
}
#whatsappFormBody .form-label { font-size: .85rem; font-weight: 600; }
#whatsappFormBody .form-select,
#whatsappFormBody .form-control { font-size: .9rem; }

/* ===================================================================
   CHECKOUT QUICK-LOGIN BANNER — the trigger bar above the modal below.
   Same --shop-accent-driven look so both pieces read as one feature.
   =================================================================== */
.checkout-login-banner {
	background: linear-gradient(135deg, rgba(var(--shop-accent-rgb), .1), rgba(var(--shop-accent-rgb), .04));
	border: 1px solid rgba(var(--shop-accent-rgb), .25);
	border-radius: 14px;
	padding: 1rem 1.25rem;
}

.checkout-login-banner-icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--shop-accent), var(--shop-accent-dark));
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.05rem;
	flex-shrink: 0;
	animation: checkoutLoginPulse 2.2s ease-in-out infinite;
}

.checkout-login-banner-title {
	font-weight: 700;
	font-size: .95rem;
	color: var(--shop-ink, #1b2420);
}

.checkout-login-banner-subtitle {
	font-size: .8125rem;
	color: #6c757d;
}

.checkout-login-banner-btn {
	background: linear-gradient(135deg, var(--shop-accent), var(--shop-accent-dark));
	color: #fff;
	border: 0;
	font-weight: 700;
	padding: .55rem 1.25rem;
	border-radius: 999px;
	white-space: nowrap;
	transition: transform .15s ease, box-shadow .15s ease;
}
.checkout-login-banner-btn:hover,
.checkout-login-banner-btn:focus {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(var(--shop-accent-rgb), .35);
}
.checkout-login-banner-btn:active { transform: translateY(0); }

@media (max-width: 575px) {
	.checkout-login-banner { padding: .85rem 1rem; }
	.checkout-login-banner-btn { width: 100%; justify-content: center; display: inline-flex; align-items: center; }
}

/* ===================================================================
   CHECKOUT QUICK-LOGIN MODAL — built entirely on --shop-accent/
   --shop-accent-dark/--shop-accent-rgb (already set per-theme in both
   Default's and Sample's own <head>), so this one block of CSS looks
   right under either theme/active accent color with zero theme-specific
   markup in the view itself.
   =================================================================== */
.checkout-login-modal-dialog { max-width: 420px; }

.checkout-login-modal-content {
	border: 0;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 24px 64px rgba(0, 0, 0, .28);
}

/* A touch livelier entrance than Bootstrap's plain fade — scales in from
   96% rather than just fading, without fighting Bootstrap's own fade
   opacity transition (same duration, applied to transform only). */
.checkout-login-modal-dialog.modal-dialog {
	transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease;
	transform: scale(.92) translateY(10px);
}
.modal.show .checkout-login-modal-dialog.modal-dialog {
	transform: scale(1) translateY(0);
}

.checkout-login-modal-header {
	position: relative;
	background: linear-gradient(135deg, var(--shop-accent), var(--shop-accent-dark));
	color: #fff;
	text-align: center;
	padding: 2.25rem 1.5rem 1.75rem;
}

.checkout-login-close {
	position: absolute;
	top: .85rem;
	right: .85rem;
	opacity: .85;
}
.checkout-login-close:hover { opacity: 1; }

.checkout-login-icon {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .2);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto .75rem;
	font-size: 1.4rem;
	animation: checkoutLoginPulse 2.2s ease-in-out infinite;
}

.checkout-login-title {
	font-weight: 800;
	font-size: 1.25rem;
	margin-bottom: .25rem;
}

.checkout-login-subtitle {
	font-size: .875rem;
	opacity: .92;
	margin-bottom: 0;
}

.checkout-login-modal-body { padding: 1.75rem 1.5rem 1.5rem; }

.checkout-login-submit-btn {
	background: linear-gradient(135deg, var(--shop-accent), var(--shop-accent-dark));
	color: #fff;
	border: 0;
	font-weight: 700;
	padding: .7rem;
	border-radius: 10px;
	transition: transform .15s ease, box-shadow .15s ease;
}
.checkout-login-submit-btn:hover,
.checkout-login-submit-btn:focus {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(var(--shop-accent-rgb), .4);
}
.checkout-login-submit-btn:active { transform: translateY(0); }

.checkout-login-trust {
	display: flex;
	justify-content: center;
	gap: 1.25rem;
	margin-top: .85rem;
	font-size: .75rem;
	color: #6c757d;
}
.checkout-login-trust i { color: var(--shop-accent); margin-right: .3rem; }

@keyframes checkoutLoginPulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.1); }
}

/* ===================================================================
   ADD TO CART TOAST (#cartToastStack, site-common.js's shopCartToast())
   A separate container/position from the plain #shopToastStack (bottom-
   right, used by Compare/stock-cap messages) on purpose — this one needs
   its own top-right-below-header desktop placement without moving those
   unrelated existing toasts. .shop-navbar is `position: sticky; top: 0`,
   so this sits just clear of it rather than overlapping.
   =================================================================== */
#cartToastStack {
	position: fixed;
	top: 96px;
	right: 1rem;
	z-index: 1085;
	width: 380px;
	max-width: calc(100vw - 2rem);
	display: flex;
	flex-direction: column;
	gap: .5rem;
}
.cart-toast {
	background: #fff;
	border-radius: .5rem;
	box-shadow: 0 12px 28px rgba(16, 24, 40, .16);
	overflow: hidden;
}
.cart-toast-thumb {
	width: 64px;
	height: 64px;
	object-fit: contain;
	border: 1px solid var(--shop-border);
	border-radius: .375rem;
	background: #fff;
}
/* The actions row is its own flex row (not relying on utility classes
   alone) so the two actions never get squeezed/wrapped by the narrow
   text column next to the 64px thumbnail — reported directly as the
   "View Cart" label breaking across lines in a real browser window. */
.cart-toast-actions {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: .75rem;
	margin-top: .5rem;
}
.cart-toast .btn-accent {
	padding: .25rem .6rem;
	font-size: .8125rem;
	white-space: nowrap;
	flex-shrink: 0;
}
.cart-toast-dismiss-link {
	background: none;
	border: 0;
	padding: .25rem 0;
	font-size: .8125rem;
	color: var(--shop-muted);
	text-decoration: underline;
	white-space: nowrap;
	flex-shrink: 0;
}
.cart-toast-dismiss-link:hover {
	color: var(--shop-ink);
}
/* Bootstrap's own .toast fade is opacity-only; this adds a slide-in to
   match the rest of the site's "fade + motion" entrance convention
   (mega menu, Quick View modal) rather than a flat fade alone. */
.cart-toast.showing {
	transform: translateX(16px);
}
.cart-toast.show {
	transform: translateX(0);
	transition: transform .25s ease, opacity .25s ease;
}

@media (max-width: 991.98px) {
	#cartToastStack {
		top: auto;
		bottom: 76px; /* clears .mobile-bottom-nav, same offset convention as the WhatsApp FAB */
		right: .75rem;
		left: .75rem;
		width: auto;
	}
	.cart-toast.showing {
		transform: translateY(16px);
	}
	.cart-toast.show {
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cart-toast.showing,
	.cart-toast.show {
		transform: none;
		transition: opacity .15s ease;
	}
}


/* ---------------------------------------------------------------------
   Header polish (2026-11-20): main menu pills, utility link, "Deliver to"
   two-line location, rounder search.
   --------------------------------------------------------------------- */
.shop-main-nav { gap: .1rem; margin-left: -.75rem; }
.shop-main-nav .nav-link {
	padding: .5rem .75rem;
	margin: .3rem 0;
	border-radius: 8px;
	font-weight: 500;
	font-size: .9rem;
	letter-spacing: .1px;
	color: rgba(255, 255, 255, .86);
	transition: background-color .15s ease, color .15s ease;
}
.shop-main-nav > li:first-child .nav-link { padding-left: .75rem; }
.shop-main-nav .nav-link::before,
.shop-main-nav > li:first-child .nav-link::before {
	left: .75rem;
	right: .75rem;
	bottom: -.3rem;
	height: 3px;
	border-radius: 3px 3px 0 0;
}
.shop-main-nav .nav-link:hover::before { transform: scaleX(0); }
.shop-main-nav .nav-link.active::before { transform: scaleX(1); }
.shop-main-nav .nav-link:hover,
.shop-main-nav .dropdown:hover > .nav-link,
.shop-main-nav .nav-link.show { background: rgba(255, 255, 255, .13); color: #fff; }
.shop-main-nav .nav-link.active { color: #fff; font-weight: 600; }
.shop-main-nav .nav-link:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.shop-main-nav > .dropdown > .dropdown-toggle::after { margin-left: .4em; vertical-align: .15em; border-top-width: .32em; opacity: .8; }
.shop-subnav-util {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	color: rgba(255, 255, 255, .86);
	font-size: .84rem;
	font-weight: 500;
	text-decoration: none;
	padding: .4rem .75rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .22);
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease;
}
.shop-subnav-util:hover { background: #fff; color: var(--shop-ink); }

.shop-loc-btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: transparent;
	border: 1px solid transparent;
	color: #fff;
	padding: .3rem .7rem .3rem .55rem;
	border-radius: 10px;
	text-align: left;
	max-width: 190px;
	transition: background-color .15s ease, border-color .15s ease;
}
.shop-loc-btn:hover, .shop-loc-btn:focus-visible { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); }
.shop-loc-btn > i { font-size: 1.05rem; opacity: .9; }
.shop-loc-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.shop-loc-k { font-size: .7rem; opacity: .75; }
.shop-loc-v { font-size: .84rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.shop-search { border-radius: 999px; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .35); background: #fff; }
.shop-search .form-select { max-width: 170px; background-color: #f3f4f7; border-right: 1px solid #e5e7eb; font-size: .86rem; padding-left: 1.1rem; }
.shop-search .form-control { height: 44px; padding-left: 1rem; font-size: .92rem; }
.shop-search .form-control:focus, .shop-search .form-select:focus { box-shadow: none; }
.shop-search:focus-within { box-shadow: 0 0 0 3px rgba(255, 255, 255, .45), 0 6px 18px -8px rgba(0, 0, 0, .35); }
.shop-search .btn { width: 54px; border-radius: 0 999px 999px 0; }


/* =====================================================================
   Home sections v2 (2026-11-20): one heading style, photo category cards,
   refreshed product card (used site-wide), pill tabs, flash-deal header,
   promo tiles that keep their text inside on phones, reviews, brands, blog.
   ===================================================================== */
.home-sec { padding: clamp(2.25rem, 5vw, 3.75rem) 0; }
.home-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.home-sec-head.is-center { justify-content: center; text-align: center; }
.home-sec-eyebrow { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--shop-accent); margin-bottom: .3rem; }
.home-sec-title { font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0; color: var(--shop-ink); }
.home-sec-link { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 600; color: var(--shop-ink); text-decoration: none; padding: .45rem .95rem; border: 1px solid var(--shop-border); border-radius: 999px; background: #fff; transition: background-color .15s ease, color .15s ease, border-color .15s ease; white-space: nowrap; }
.home-sec-link i { font-size: .8em; transition: transform .15s ease; }
.home-sec-link:hover { background: var(--shop-ink); border-color: var(--shop-ink); color: #fff; }
.home-sec-link:hover i { transform: translateX(3px); }

/* categories: photo cards; a swipeable row on phones */
.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--shop-border); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--shop-ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cat-card-media { position: relative; aspect-ratio: 1 / 1; background: var(--shop-surface); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cat-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat-card-media { aspect-ratio: 5 / 4; background: linear-gradient(145deg, var(--cat-a), var(--cat-b)); }
.cat-card-icon { width: 46%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .78); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -12px rgba(16, 24, 40, .35); transition: transform .3s ease; }
.cat-card-icon i { font-size: clamp(1.25rem, 2.2vw, 1.9rem); color: var(--cat-ink); }
.cat-card:hover .cat-card-icon { transform: scale(1.08) rotate(-4deg); }
.cat-card:nth-child(6n+1) { --cat-a: #e0ecff; --cat-b: #c7dbff; --cat-ink: #1d4ed8; }
.cat-card:nth-child(6n+2) { --cat-a: #ffe4ec; --cat-b: #ffc9d9; --cat-ink: #be185d; }
.cat-card:nth-child(6n+3) { --cat-a: #fff1db; --cat-b: #ffdcae; --cat-ink: #c2410c; }
.cat-card:nth-child(6n+4) { --cat-a: #f3e8ff; --cat-b: #e1ccff; --cat-ink: #7e22ce; }
.cat-card:nth-child(6n+5) { --cat-a: #dcfce7; --cat-b: #b9f1cc; --cat-ink: #15803d; }
.cat-card:nth-child(6n+6) { --cat-a: #e0f7fa; --cat-b: #b8eaf1; --cat-ink: #0e7490; }
.cat-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem .85rem; }
.cat-card-name { font-weight: 600; font-size: .9rem; line-height: 1.2; }
.cat-card-go { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; background: var(--shop-surface); display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(16, 24, 40, .35); border-color: transparent; color: var(--shop-ink); }
.cat-card:hover .cat-card-media img { transform: scale(1.06); }
.cat-card:hover .cat-card-go { background: var(--shop-accent); color: #fff; transform: translateX(2px); }
.cat-card:focus-visible { outline: 3px solid var(--shop-accent); outline-offset: 2px; }
@media (max-width: 991.98px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
	.cat-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: .75rem; gap: .75rem; margin: 0 -.75rem; padding: 0 .75rem .5rem; scrollbar-width: none; }
	.cat-grid::-webkit-scrollbar { display: none; }
	.cat-card { flex: 0 0 38%; scroll-snap-align: start; }
	.cat-card-foot { padding: .55rem .65rem; }
	.cat-card-name { font-size: .8rem; }
	.cat-card-go { display: none; }
}

/* product card (shared partial: home, shop, category, search, wishlist) */
.product-card { border-radius: 16px; border-color: var(--shop-border); }
.product-card:hover { box-shadow: 0 18px 34px -20px rgba(16, 24, 40, .38); transform: translateY(-4px); }
.product-card .product-thumb { margin: .5rem .5rem 0; border-radius: 12px; }
.product-card .product-thumb { background: transparent; }
.product-card .card-corner-badges { top: .6rem; left: .6rem; }
.product-card .product-badge { box-shadow: none; font-weight: 600; letter-spacing: .02em; padding: .22rem .6rem; }
.product-card .card-quick-actions { top: .6rem; right: .6rem; }
.product-card .card-quick-actions .btn { background: #fff; box-shadow: 0 4px 12px -4px rgba(16, 24, 40, .3); }
.product-card > .p-3 { padding: .85rem 1rem 1rem !important; gap: .15rem; }
.product-card .pc-name {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	min-height: 2.5em; line-height: 1.25; font-weight: 600; font-size: .92rem; color: var(--shop-ink); text-decoration: none; margin-bottom: .3rem;
}
.product-card .pc-name:hover { color: var(--shop-accent); }
.product-card .price-current { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; }
.product-card .pc-low { font-size: .76rem; font-weight: 600; color: #c2410c; margin-bottom: .45rem; display: inline-flex; align-items: center; gap: .3rem; }
.product-card .pc-cart {
	margin-top: auto; border-radius: 999px; padding: .55rem .75rem; font-weight: 600; font-size: .85rem;
	background: rgba(var(--shop-accent-rgb), .09); color: var(--shop-accent); border: 1px solid rgba(var(--shop-accent-rgb), .18);
	transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.product-card .pc-cart:hover, .product-card .pc-cart:focus-visible { background: var(--shop-accent); color: #fff; border-color: var(--shop-accent); box-shadow: 0 8px 18px -10px rgba(var(--shop-accent-rgb), .8); }
.product-card .pc-cart:disabled { background: var(--shop-surface); color: #8a94a6; border-color: var(--shop-border); }
@media (max-width: 575.98px) {
	.product-card .product-thumb { margin: .35rem .35rem 0; border-radius: 10px; }
	.product-card > .p-3 { padding: .65rem .7rem .75rem !important; }
	.product-card .pc-name { font-size: .84rem; }
	.product-card .price-current { font-size: .95rem; }
	.product-card .pc-cart { font-size: .78rem; padding: .45rem .5rem; }
}

/* tabs as a segmented pill, next to the section title */
.tabs-head { align-items: center; }
.tabs-head .shop-tabs { border: 0; background: var(--shop-surface); border-radius: 999px; padding: 4px; gap: 2px; flex-wrap: nowrap; }
.tabs-head .shop-tabs .nav-link { border: 0 !important; border-radius: 999px; padding: .45rem 1rem; font-size: .86rem; font-weight: 600; color: #5b6475; background: transparent; white-space: nowrap; }
.tabs-head .shop-tabs .nav-link::after, .tabs-head .shop-tabs .nav-link::before { display: none !important; }
.tabs-head .shop-tabs .nav-link:hover { color: var(--shop-ink); }
.tabs-head .shop-tabs .nav-link.active { background: #fff; color: var(--shop-ink); box-shadow: 0 2px 8px -2px rgba(16, 24, 40, .2); }
@media (max-width: 575.98px) { .tabs-head .shop-tabs { width: 100%; } .tabs-head .shop-tabs .nav-item { flex: 1; } .tabs-head .shop-tabs .nav-link { width: 100%; padding: .45rem .5rem; font-size: .8rem; } }

/* flash deals header with countdown chips */
.flash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.flash-head .countdown-timer { display: flex; gap: .45rem; }
.flash-head .countdown-timer .unit { background: var(--shop-ink); color: #fff; border-radius: 12px; min-width: 56px; padding: .45rem .5rem; text-align: center; box-shadow: 0 8px 18px -12px rgba(16, 24, 40, .6); }
.flash-head .countdown-timer .unit .value { font-size: 1.15rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; color: #fff; }
.flash-head .countdown-timer .unit .label { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; color: #fff; }

/* promo tiles: the image fills a fixed-shape tile, so the text always stays inside (it overflowed short phone banners) */
.promo-banner-tile { border-radius: 16px; aspect-ratio: 16 / 7; background: #1b1f2a; }
.promo-banner-tile.mb-3 { aspect-ratio: 21 / 6; margin-bottom: 1rem !important; }
.promo-banner-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.promo-banner-overlay { padding: clamp(1rem, 3vw, 2rem); gap: .2rem; background: linear-gradient(90deg, rgba(10, 12, 20, .78) 0%, rgba(10, 12, 20, .35) 55%, rgba(10, 12, 20, 0) 85%); justify-content: center; }
.promo-banner-title { font-weight: 800; letter-spacing: -.01em; text-shadow: none; margin-bottom: .2rem; }
.promo-banner-subtitle { max-width: 30rem; margin-bottom: .8rem; line-height: 1.45; }
.promo-banner-btn { background: #fff; color: #111827; padding: .5rem 1.1rem; }
.promo-banner-tile:hover .promo-banner-btn { background: var(--shop-accent); color: #fff; }
@media (max-width: 767.98px) {
	.promo-banner-tile, .promo-banner-tile.mb-3 { aspect-ratio: auto; min-height: 210px; }
	.promo-banner-overlay { justify-content: flex-end; background: linear-gradient(0deg, rgba(10, 12, 20, .88) 0%, rgba(10, 12, 20, .5) 55%, rgba(10, 12, 20, .15) 100%); }
	.promo-banner-title { font-size: 1.15rem; }
	.promo-banner-subtitle { font-size: .82rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* reviews */
.testimonial-card { border: 1px solid var(--shop-border); border-radius: 16px; box-shadow: none; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.testimonial-card:hover { box-shadow: 0 16px 30px -20px rgba(16, 24, 40, .35); transform: translateY(-3px); }
.testimonial-quote-icon { color: rgba(var(--shop-accent-rgb), .18); }

/* brand strip */
.home-sec-brands { padding: 2rem 0; }
.brand-strip-label { text-align: center; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8a94a6; margin-bottom: 1rem; }
.brand-chip { display: flex; align-items: center; justify-content: center; height: 76px; padding: .75rem 1rem; background: #fff; border: 1px solid var(--shop-border); border-radius: 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.brand-chip .brand-logo { max-height: 40px; max-width: 100%; width: auto !important; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .2s ease, opacity .2s ease; }
.brand-chip:hover { border-color: transparent; box-shadow: 0 10px 24px -16px rgba(16, 24, 40, .4); }
.brand-chip:hover .brand-logo { filter: none; opacity: 1; }

/* blog cards */
.blog-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--shop-border); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--shop-ink); transition: transform .2s ease, box-shadow .2s ease; }
.blog-card-media { aspect-ratio: 16 / 10; background: var(--shop-surface); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card-media i { font-size: 2rem; color: #b8c0cc; }
.blog-card-body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.1rem 1.15rem; flex: 1; }
.blog-card-date { font-size: .76rem; color: #8a94a6; display: inline-flex; align-items: center; gap: .35rem; }
.blog-card-title { font-weight: 700; font-size: 1rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-excerpt { font-size: .85rem; color: #5b6475; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-more { margin-top: auto; padding-top: .35rem; font-size: .85rem; font-weight: 600; color: var(--shop-accent); display: inline-flex; align-items: center; gap: .4rem; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -22px rgba(16, 24, 40, .4); color: var(--shop-ink); }
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card:hover .blog-card-more i { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
	.cat-card, .cat-card-media img, .blog-card, .blog-card-media img, .testimonial-card, .product-card { transition: none !important; }
	.cat-card:hover, .blog-card:hover, .testimonial-card:hover, .product-card:hover { transform: none !important; }
}


/* =====================================================================
   Product detail + shop / category listing v2 (2026-11-20), same language
   as the home page: rounded cards, soft borders, pill controls.
   ===================================================================== */

/* ---------- product detail ---------- */
@media (min-width: 992px) { .pdp-gallery-col .pdp-gallery { position: sticky; top: 120px; } }
.pdp-gallery-swiper { border-radius: 20px; overflow: hidden; border: 1px solid var(--shop-border); background: var(--shop-surface); }
.pdp-gallery-main img { border-radius: 0 !important; aspect-ratio: 1 / 1; object-fit: contain; }
.pdp-gallery-swiper .swiper-button-prev,
.pdp-gallery-swiper .swiper-button-next {
	width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--shop-ink);
	box-shadow: 0 6px 16px -6px rgba(16, 24, 40, .35); transition: background-color .15s ease, color .15s ease;
}
.pdp-gallery-swiper .swiper-button-prev::after,
.pdp-gallery-swiper .swiper-button-next::after { font-size: .95rem; font-weight: 700; }
.pdp-gallery-swiper .swiper-button-prev:hover,
.pdp-gallery-swiper .swiper-button-next:hover { background: var(--shop-accent); color: #fff; }

.pdp-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .75rem; font-size: .82rem; color: #6b7280; margin-bottom: .6rem; }
.pdp-meta a { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
.pdp-sku { padding: .15rem .55rem; border-radius: 999px; background: var(--shop-surface); font-size: .75rem; }
.pdp-title { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: .35rem 0 .5rem; color: var(--shop-ink); }
.pdp #pdpRatingRow { margin-bottom: 1rem !important; }

.pdp-price-card { background: linear-gradient(135deg, rgba(var(--shop-accent-rgb), .06), rgba(var(--shop-accent-rgb), .02)); border: 1px solid rgba(var(--shop-accent-rgb), .14); border-radius: 16px; padding: 1rem 1.15rem; margin-bottom: 1rem; }
.pdp-price-card .price-current { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.pdp-tax-note { font-size: .74rem; color: #6b7280; margin-top: .15rem; }
.pdp-deal { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-top: .85rem; padding-top: .85rem; border-top: 1px dashed rgba(var(--shop-accent-rgb), .25); }
.pdp-deal-label { font-size: .82rem; font-weight: 700; color: #c2410c; display: inline-flex; align-items: center; gap: .35rem; }
.pdp-deal .countdown-timer { display: flex; gap: .35rem; }
.pdp-deal .countdown-timer .unit { background: var(--shop-ink); color: #fff; border-radius: 10px; min-width: 48px; padding: .3rem .4rem; text-align: center; }
.pdp-deal .countdown-timer .unit .value { font-size: 1rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.pdp-deal .countdown-timer .unit .label { font-size: .58rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .7); }

.pdp-short { color: #4b5563; line-height: 1.6; margin-bottom: 1rem; }
.pdp-status-row { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .9rem; margin-bottom: 1.1rem; }
.pdp-status-row .badge { font-size: .76rem; font-weight: 600; padding: .4em .75em; border-radius: 999px; }
.pdp-urgency { font-size: .8rem; font-weight: 600; color: #b45309; display: inline-flex; align-items: center; gap: .35rem; }

.pdp-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: .6rem; margin-bottom: 1.1rem; }
.pdp-actions .qty-stepper { border-radius: 999px; overflow: hidden; height: 48px; }
.pdp-actions #pdpAddToCartBtn, .pdp-actions #pdpBuyNowBtn { min-height: 48px; border-radius: 999px; font-weight: 700; font-size: .95rem; padding-inline: 1.25rem; }
.pdp-actions #pdpAddToCartBtn { box-shadow: 0 10px 22px -12px rgba(var(--shop-accent-rgb), .9); }
.pdp-actions .pdp-icon-actions .btn { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; padding: 0; border-color: var(--shop-border); color: var(--shop-ink); }
.pdp-actions .pdp-icon-actions .btn:hover { background: var(--shop-surface); }
.pdp-actions .pdp-icon-actions .btn.text-danger { color: #dc2626; }
.pdp-actions .pdp-icon-actions .dropdown-toggle::after { display: none; }

.pdp-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.pdp-trust-item { display: flex; align-items: center; gap: .65rem; padding: .7rem .8rem; border: 1px solid var(--shop-border); border-radius: 14px; background: #fff; font-size: .76rem; color: #6b7280; line-height: 1.3; }
.pdp-trust-item i { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: rgba(var(--shop-accent-rgb), .09); color: var(--shop-accent); display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; }
.pdp-trust-item b { display: block; color: var(--shop-ink); font-size: .82rem; }
.pdp-trust-item.is-muted i { background: var(--shop-surface); color: #9ca3af; }
.pdp-delivery { border: 1px solid var(--shop-border); border-radius: 16px; padding: .9rem 1rem; background: #fff; }
.pdp-pin-group { max-width: 360px; }
.pdp-pin-group .form-control { border-radius: 999px 0 0 999px; padding-left: 1rem; }
.pdp-pin-group .btn { border-radius: 0 999px 999px 0; padding-inline: 1.1rem; font-weight: 600; }

.pdp-accordion .accordion-item { border: 1px solid var(--shop-border) !important; border-radius: 16px !important; overflow: hidden; margin-bottom: .85rem; background: #fff; }
.pdp-accordion .accordion-button { font-weight: 700; font-size: 1rem; padding: 1.05rem 1.25rem; background: #fff; color: var(--shop-ink); box-shadow: none; }
.pdp-accordion .accordion-button:not(.collapsed) { background: #fff; color: var(--shop-ink); border-bottom: 1px solid var(--shop-border); }
.pdp-accordion .accordion-button i { width: 32px; height: 32px; border-radius: 10px; background: rgba(var(--shop-accent-rgb), .09); color: var(--shop-accent); display: inline-flex; align-items: center; justify-content: center; margin-right: .7rem; font-size: .85rem; }
.pdp-accordion .accordion-body { padding: 1.1rem 1.25rem 1.25rem; line-height: 1.65; color: #374151; }
.pdp-spec-grid { border: 1px solid var(--shop-border); border-radius: 12px; overflow: hidden; }

@media (max-width: 575.98px) {
	.pdp-actions .qty-stepper { flex: 0 0 auto; }
	.pdp-actions #pdpAddToCartBtn, .pdp-actions #pdpBuyNowBtn { flex: 1 1 40%; }
	.pdp-actions .pdp-icon-actions { width: 100%; justify-content: flex-start; }
	.pdp-price-card .price-current { font-size: 1.6rem; }
	.pdp-trust { grid-template-columns: 1fr; }
}

/* ---------- shop / category listing ---------- */
.shop-page-h1 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin: .25rem 0 1.25rem; color: var(--shop-ink); }
.shop-filters { border-radius: 16px; box-shadow: none; }
.shop-filters-header { background: #fff; padding: 1rem 1.15rem; }
.shop-filters-header h6 { font-size: 1rem; }
.shop-filters .filter-title { font-size: .74rem; letter-spacing: .08em; color: #6b7280; }
.shop-filters .form-check { padding-top: .18rem; padding-bottom: .18rem; }
.shop-filters .form-check-input { accent-color: var(--shop-accent); cursor: pointer; }
.shop-filters .form-check-input:checked { background-color: var(--shop-accent); border-color: var(--shop-accent); }
.shop-filters .form-check-label { font-size: .88rem; cursor: pointer; color: #374151; }
.shop-filters .form-check-input:checked + .form-check-label { color: var(--shop-ink); font-weight: 600; }
@media (min-width: 992px) { .shop-filters { position: sticky; top: 120px; max-height: calc(100vh - 140px); overflow-y: auto; } }

.shop-toolbar { border-radius: 16px; box-shadow: none; padding: .7rem .8rem .7rem 1.1rem; }
.shop-count { font-size: .9rem; color: #6b7280; }
.shop-count b { color: var(--shop-ink); }
.shop-toolbar .view-toggle { background: var(--shop-surface); border-radius: 999px; padding: 3px; gap: 2px; }
.shop-toolbar .view-toggle .btn { border: 0 !important; border-radius: 999px !important; width: 36px; height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center; color: #6b7280; }
.shop-toolbar .view-toggle .btn.active { background: #fff; color: var(--shop-ink); box-shadow: 0 2px 6px -2px rgba(16, 24, 40, .25); }
.shop-toolbar .js-shop-sort { border-radius: 999px; padding-left: 1rem; min-height: 38px; font-size: .86rem; border-color: var(--shop-border); }
.shop-toolbar .btn-outline-secondary { border-radius: 999px; }

.shop-empty { text-align: center; padding: 3.5rem 1rem; border: 1px dashed var(--shop-border); border-radius: 16px; background: #fff; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.shop-empty-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--shop-surface); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #9ca3af; margin-bottom: .25rem; }
.shop-empty-title { font-weight: 700; font-size: 1.05rem; color: var(--shop-ink); }
.shop-empty-sub { font-size: .88rem; color: #6b7280; margin-bottom: .5rem; }

.product-list-item { border-radius: 16px !important; }
.product-list-item .product-list-thumb { border-radius: 12px; overflow: hidden; }
.product-list-item .btn-accent.btn-sm { border-radius: 999px; padding: .45rem 1.1rem; font-weight: 600; }
.product-list-item .btn-outline-secondary.btn-sm { width: 34px; height: 34px; border-radius: 50%; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-color: var(--shop-border); color: var(--shop-ink); }
.product-list-item .btn-outline-secondary.btn-sm:hover { background: var(--shop-surface); }
.product-list-item .btn-outline-secondary.btn-sm.text-danger { color: #dc2626; }
.shop-filters { scrollbar-width: thin; scrollbar-color: #d1d5db transparent; }
.shop-filters::-webkit-scrollbar { width: 6px; }
.shop-filters::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 6px; }


/* pagination as pills (site-wide) */
.pagination { gap: .35rem; }
.pagination .page-link { border-radius: 999px !important; min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .9rem; border: 1px solid var(--shop-border); color: var(--shop-ink); font-weight: 600; font-size: .88rem; }
.pagination .page-item.active .page-link { background: var(--shop-ink); border-color: var(--shop-ink); color: #fff; }
.pagination .page-link:hover { background: var(--shop-surface); }
.pagination .page-item.disabled .page-link { opacity: .5; }

/* variant picker: pill options; photo options carry their name (two GPU photos looked identical with no label) */
.pdp #pdpVariantPicker { background: #fff; border: 1px solid var(--shop-border); border-radius: 16px; padding: .85rem 1rem .4rem; margin-bottom: 1rem !important; }
.pdp #pdpVariantPicker .form-label { font-size: .8rem; color: var(--shop-ink); }
.pdp .variant-option { border-radius: 999px; padding: .35rem .9rem; font-size: .82rem; font-weight: 600; border-color: var(--shop-border); color: var(--shop-ink); background: #fff; }
.pdp .variant-option:hover { border-color: var(--shop-accent); color: var(--shop-accent); background: #fff; }
.pdp .variant-option.active { background: rgba(var(--shop-accent-rgb), .1); border-color: var(--shop-accent); color: var(--shop-accent); box-shadow: 0 0 0 1px var(--shop-accent) inset; }
.pdp .variant-swatch.variant-swatch-image { width: 84px; height: auto; display: inline-flex; flex-direction: column; align-items: stretch; border-radius: 12px; background: #fff; }
.pdp .variant-swatch.variant-swatch-image img { height: 56px; background: var(--shop-surface); }
.variant-swatch-cap { display: block; font-size: .68rem; font-weight: 600; line-height: 1.2; padding: .3rem .25rem; color: var(--shop-ink); text-align: center; white-space: normal; }
.pdp .variant-swatch.active .variant-swatch-cap { color: var(--shop-accent); }
.pdp #pdpVariantPicker .d-flex { align-items: flex-start; }
.pdp .variant-option.is-unavailable, .pdp .variant-swatch.is-unavailable { opacity: .45; border-style: dashed; }
.pdp .variant-option.is-unavailable:not(.active) { text-decoration: line-through; }
@media (max-width: 575.98px) { .shop-toolbar > div { width: 100%; } .shop-toolbar > div:last-child { justify-content: space-between; } .shop-toolbar .js-shop-sort { flex: 1; width: auto !important; } }


/* =====================================================================
   Cart + checkout v2 (2026-11-20), same language as home / PDP.
   ===================================================================== */
/* Bootstrap's .d-flex is display:flex !important, which beat the inline display:none the cart / checkout
   use to hide empty rows (a "Discount -Rs0" row stayed visible). An inline "none" now wins again. */
.d-flex[style*="display:none"], .d-flex[style*="display: none"] { display: none !important; }

.cart-page-h1 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin: .25rem 0 1rem; color: var(--shop-ink); }
.checkout-steps { max-width: 560px; background: #fff; border: 1px solid var(--shop-border); border-radius: 999px; padding: .45rem .9rem; }
.checkout-steps .step-circle { width: 30px; height: 30px; }
.checkout-steps .step.active .step-circle { box-shadow: 0 0 0 4px rgba(var(--shop-accent-rgb), .15); }

.cart-loc { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; background: #fff; border: 1px solid var(--shop-border); border-radius: 14px; padding: .6rem .75rem; margin-bottom: 1rem; font-size: .88rem; }
.cart-loc > span:nth-child(2) { flex: 1; min-width: 0; }
.cart-loc-icon { flex: 0 0 32px;  width: 32px; height: 32px; border-radius: 10px; background: rgba(var(--shop-accent-rgb), .09); color: var(--shop-accent); display: inline-flex; align-items: center; justify-content: center; }
.cart-loc-btn { margin-left: auto; font-weight: 600; font-size: .82rem; padding: .3rem .85rem; border: 1px solid var(--shop-border); border-radius: 999px; text-decoration: none; color: var(--shop-ink); }
.cart-loc-btn:hover { background: var(--shop-ink); color: #fff; border-color: var(--shop-ink); }
.cart-alert { display: flex; gap: .65rem; align-items: flex-start; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; border-radius: 14px; padding: .75rem .9rem; margin-bottom: 1rem; font-size: .88rem; }
.cart-alert > i { margin-top: .15rem; }

.cart-panel { border-radius: 16px; box-shadow: none; }
.cart-panel-header { background: #fff; padding: 1rem 1.15rem; }
.cart-panel-header h6 { font-size: 1rem; }
.cart-clear { text-decoration: none; font-weight: 600; font-size: .82rem; }
.cart-item { padding: 1rem 1.15rem !important; }
.cart-item:hover { background: #fafbfc; }
.cart-item-thumb { width: 96px; height: 96px; border-radius: 12px; border-color: var(--shop-border); }
.cart-item-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; color: var(--shop-ink); text-decoration: none; line-height: 1.3; margin-bottom: .3rem; }
.cart-item-name:hover { color: var(--shop-accent); }
.cart-item .btn-link { text-decoration: none; font-weight: 600; font-size: .8rem; }
.cart-item .btn-link:not(.text-danger) { color: #4b5563; }
.cart-item .qty-stepper { border-radius: 999px; overflow: hidden; }
.cart-item [data-cart-item-line-total] { font-size: 1.05rem; font-weight: 800 !important; }
.cart-item.has-stock-issue { background: #fffaf5; }
.cart-item.has-stock-issue .cart-item-thumb { opacity: .6; }
.cart-stock-tag { display: inline-flex; align-items: center; gap: .35rem; margin-top: .55rem; font-size: .78rem; font-weight: 600; color: #b45309; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 999px; padding: .2rem .7rem; }

@media (min-width: 992px) { .order-summary-panel { top: 120px; } }
.order-summary-panel .cart-panel-body { padding: 1.1rem 1.15rem !important; }
.order-summary-panel .price-current[data-cart-total], .order-summary-panel .fs-5.price-current { font-size: 1.45rem !important; font-weight: 800; }
.order-summary-panel hr { opacity: .12; }
.order-summary-panel [data-coupon-form] .form-control { border-radius: 999px 0 0 999px; padding-left: 1rem; }
.order-summary-panel [data-coupon-form] .btn { border-radius: 0 999px 999px 0; font-weight: 600; padding-inline: 1rem; }
.cart-cta, .order-summary-panel [data-place-order] { min-height: 50px; border-radius: 999px; font-weight: 700; font-size: 1rem; box-shadow: 0 12px 24px -14px rgba(var(--shop-accent-rgb), .9); }
.cart-cta:disabled, .order-summary-panel [data-place-order]:disabled { box-shadow: none; opacity: .55; }
.cart-cta-note { font-size: .78rem; color: #b45309; text-align: center; margin-top: .5rem; }
.cart-panel-footer { background: #fff; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: .4rem 1rem; padding: .8rem 1rem; }
.cart-panel-footer i { color: var(--shop-accent); }

/* checkout */
.select-card { border-radius: 14px; padding: .9rem 1rem; background: #fff; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.select-card:has(input:checked) { box-shadow: 0 0 0 1px var(--shop-accent) inset; }
.select-card input[type="radio"] { accent-color: var(--shop-accent); }
.select-card .badge { border-radius: 999px; }
.checkout-login-banner { border-radius: 16px; }
.order-summary-panel [data-checkout-summary] img { border-radius: 10px !important; width: 46px !important; height: 46px !important; border: 1px solid var(--shop-border); background: var(--shop-surface); }

@media (max-width: 575.98px) {
	.checkout-steps { border-radius: 14px; padding: .45rem .6rem; }
	.checkout-steps .step { font-size: .74rem; gap: .35rem; }
	.checkout-steps .step-divider { margin: 0 .35rem; }
	.cart-item-thumb { width: 76px; height: 76px; }
	.cart-loc { flex-wrap: nowrap; font-size: .82rem; }
}
.qty-stepper .qty-decrease.is-remove { color: #dc2626; }
.qty-stepper .qty-decrease.is-remove:hover { background: #fef2f2; }


/* ---------------------------------------------------------------------
   Header live search v2 (2026-11-20): rounded panel, category / brand chips,
   highlighted words, clearer empty state.
   --------------------------------------------------------------------- */
.shop-search-results { border-radius: 16px; padding: .4rem; border: 1px solid var(--shop-border); box-shadow: 0 24px 48px -20px rgba(16, 24, 40, .35); max-height: min(70vh, 520px); }
.shop-search-groups { display: flex; flex-wrap: wrap; gap: .4rem; padding: .45rem .45rem .6rem; border-bottom: 1px solid var(--shop-border); margin-bottom: .3rem; }
.shop-search-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border-radius: 999px; background: var(--shop-surface); color: var(--shop-ink); font-size: .82rem; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.shop-search-chip i { font-size: .75rem; color: var(--shop-accent); }
.shop-search-chip small { font-weight: 500; color: #8a94a6; font-size: .72rem; }
.shop-search-chip:hover, .shop-search-chip.active { background: #fff; border-color: var(--shop-accent); color: var(--shop-accent); }
.shop-search-result-item { border-radius: 12px; }
.shop-search-result-item img { border-radius: 10px; background: var(--shop-surface); }
.shop-search-results mark { background: rgba(var(--shop-accent-rgb), .14); color: inherit; padding: 0 .1em; border-radius: 3px; font-weight: 700; }
.shop-search-view-all { border-radius: 12px; margin-top: .3rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: .45rem; }
.shop-search-empty { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: 1.25rem 1rem; color: #6b7280; font-size: .85rem; text-align: center; }
.shop-search-empty i { font-size: 1.25rem; color: #c0c6d0; margin-bottom: .2rem; }
.shop-search-empty b { color: var(--shop-ink); }
.shop-search-empty.is-small { padding: .9rem; }


/* =====================================================================
   My Account v2 (2026-11-20): identity card sidebar with pill nav, page
   titles, order cards, rounded panels / inputs, same language as the shop.
   ===================================================================== */
.account-h1 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; color: var(--shop-ink); }
.account-id { display: flex; align-items: center; gap: .75rem; padding-bottom: 1rem; margin-bottom: .75rem; border-bottom: 1px solid var(--shop-border); }
.account-avatar { width: 46px !important; height: 46px !important; flex: 0 0 46px; border-radius: 50% !important; background: linear-gradient(135deg, var(--shop-accent), color-mix(in srgb, var(--shop-accent) 55%, #7c3aed 45%)) !important; color: #fff !important; font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: center; letter-spacing: .02em; }
.account-id-hello { font-size: .74rem; color: #8a94a6; }
.account-id-name { font-weight: 700; color: var(--shop-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-nav-link { border-radius: 10px !important; padding: .55rem .75rem !important; font-weight: 500; font-size: .9rem; color: #374151; display: flex; align-items: center; transition: background-color .15s ease, color .15s ease; }
.account-nav-link i { width: 1.25rem; color: #8a94a6; }
.account-nav-link:hover { background: var(--shop-surface); color: var(--shop-ink); }
.account-nav-link.active { background: rgba(var(--shop-accent-rgb), .1) !important; color: var(--shop-accent) !important; font-weight: 700; }
.account-nav-link.active i { color: var(--shop-accent); }
.account-nav-link .badge { margin-left: auto; float: none !important; }
@media (min-width: 992px) { .col-lg-3 > .cart-panel:has(.account-id) { position: sticky; top: 120px; } }

/* order cards */
.order-card { transition: box-shadow .2s ease, transform .2s ease; }
.order-card:hover { box-shadow: 0 16px 30px -22px rgba(16, 24, 40, .4); }
.order-card .cart-panel-header { background: #fafbfc; }
.order-card .badge, .order-status-badge { border-radius: 999px; font-weight: 600; padding: .4em .8em; }
.order-card-items { display: flex; flex-direction: column; line-height: 1.25; margin-left: .35rem; min-width: 0; max-width: 260px; }
.order-card-items b { font-size: .88rem; color: var(--shop-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.order-card-items span { font-size: .76rem; color: #8a94a6; }
.order-card .btn-outline-secondary.btn-sm { width: 34px; height: 34px; border-radius: 50%; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-color: var(--shop-border); }
.order-card-cta { border-radius: 999px; padding: .4rem 1rem; font-weight: 600; }
.order-thumb-stack-item { border-radius: 10px !important; width: 46px !important; height: 46px !important; background: var(--shop-surface); }

/* order detail + other account pages: rounded inputs, pill buttons */
.tracking-timeline .tracking-dot { box-shadow: 0 0 0 4px #fff; }
.tracking-step.active .tracking-dot { box-shadow: 0 0 0 4px rgba(var(--shop-accent-rgb), .18); }
.col-lg-9 > .cart-panel .form-control, .col-lg-9 .cart-panel .form-select { border-radius: 12px; min-height: 44px; }
.col-lg-9 .cart-panel .btn-accent, .col-lg-9 .cart-panel .btn-outline-accent, .col-lg-9 .cart-panel .btn-outline-secondary:not(.btn-sm) { border-radius: 999px; padding-inline: 1.2rem; font-weight: 600; }
.col-lg-9 .d-flex > .btn-outline-secondary.btn-sm, .col-lg-9 .d-flex > .btn-sm.btn-outline-secondary { border-radius: 999px; }
@media (max-width: 575.98px) {
	.order-card-items { max-width: 160px; }
	.order-card .cart-panel-body { gap: .75rem !important; }
}
@media (max-width: 991.98px) {
	.cart-panel:has(.account-id) .cart-panel-body { padding: .75rem !important; }
	.cart-panel:has(.account-id) .account-id { padding-bottom: .6rem; margin-bottom: .5rem; }
	.cart-panel:has(.account-id) nav { flex-direction: row !important; overflow-x: auto; scrollbar-width: none; gap: .35rem !important; padding-bottom: .1rem; }
	.cart-panel:has(.account-id) nav::-webkit-scrollbar { display: none; }
	.cart-panel:has(.account-id) .account-nav-link { white-space: nowrap; flex: 0 0 auto; border: 1px solid var(--shop-border); border-radius: 999px !important; padding: .4rem .8rem !important; font-size: .82rem; }
	.cart-panel:has(.account-id) .account-nav-link.active { border-color: var(--shop-accent); }
}

/* STARTER: banners / testimonials without a picture yet (fresh install, demo content) - accent gradients, initials */
.hero-slide-plain { background: linear-gradient(120deg, var(--shop-accent, #3b5bdb) 0%, #6d4fd6 55%, #1fb6c9 100%); }
.hero-slide-plain.hero-plain-1 { background: linear-gradient(120deg, #6d4fd6 0%, var(--shop-accent, #3b5bdb) 60%, #12a150 100%); }
.hero-slide-plain.hero-plain-2 { background: linear-gradient(120deg, #1fb6c9 0%, #6d4fd6 50%, var(--shop-accent, #3b5bdb) 100%); }
.hero-slide-plain::after { content: ""; position: absolute; right: -8%; top: -30%; width: 55%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.promo-plain { width: 100%; aspect-ratio: 16 / 6; background: linear-gradient(135deg, var(--shop-accent, #3b5bdb), #6d4fd6); }
.promo-plain-wide { aspect-ratio: 16 / 4; background: linear-gradient(120deg, #1f2430, var(--shop-accent, #3b5bdb)); }
.testimonial-initials { width: 56px; height: 56px; flex: 0 0 56px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--shop-accent, #3b5bdb), #6d4fd6); }
