/* ==========================================================================
   MFH Store — Premium eCommerce Template (South Africa)
   theme.css — Design system, layout, components, utilities
   --------------------------------------------------------------------------
   Table of contents
   1.  Design tokens (colours, type, spacing, radius, shadow)
   2.  Reset & base
   3.  Typography
   4.  Layout primitives (container, grid, section, utilities)
   5.  Buttons
   6.  Forms
   7.  Badges, tags, ratings, price labels
   8.  Header, announcement bar, navigation, mega menu
   9.  Drawers, overlays, search, modals, toasts, tooltips
   10. Product & collection cards
   11. Homepage sections
   12. Shop / filters / pagination
   13. Product detail page
   14. Cart & checkout
   15. Account, blog, about, contact, faq, policy
   16. Footer, WhatsApp, bottom nav
   17. Skeletons & loaders
   18. Motion & accessibility helpers
   19. Responsive breakpoints
   ========================================================================== */

/* 1. DESIGN TOKENS ======================================================== */
:root {
  /* Brand accent — change these two lines to re-skin the whole theme */
  --brand: #1f1e1c;              /* primary actions, luxury near-black */
  --brand-contrast: #ffffff;     /* text on brand */
  --accent: #9a7b4f;             /* warm gold editorial accent */
  --accent-soft: #f3ece1;

  /* Neutral palette (light) */
  --bg: #ffffff;
  --surface: #f9f8f7;
  --surface-2: #f0efed;
  --border: #e6e5e3;
  --border-strong: #d8d6d2;
  --text: #2c2c2b;
  --text-2: #7d7a75;
  --text-3: #a3a09b;

  /* Semantic */
  --positive: #46a171; --positive-soft: #e8f1ec;
  --attention: #d5803b; --attention-soft: #fbebde;
  --danger: #e56458;   --danger-soft: #fce9e7;
  --info: #2783de;     --info-soft: #e5f2fc;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Helvetica Neue", sans-serif;
  --font-serif: Georgia, "Times New Roman", "Iowan Old Style", serif;
  --fs-xs: .75rem; --fs-sm: .875rem; --fs-base: 1rem; --fs-md: 1.125rem;
  --fs-lg: 1.375rem; --fs-xl: 1.75rem; --fs-2xl: 2.25rem; --fs-3xl: 3rem; --fs-4xl: 3.75rem;
  --lh-tight: 1.15; --lh-snug: 1.3; --lh-base: 1.6;
  --tracking-wide: .08em; --tracking-wider: .16em;

  /* Spacing scale (8px system) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Radius (12–18px per brief) */
  --r-sm: 8px; --r: 12px; --r-md: 14px; --r-lg: 18px; --r-xl: 24px; --r-pill: 999px;

  /* Shadows — soft, subtle */
  --shadow-xs: 0 1px 2px rgba(28,28,27,.05);
  --shadow-sm: 0 1px 2px rgba(28,28,27,.05), 0 4px 12px rgba(28,28,27,.04);
  --shadow: 0 2px 6px rgba(28,28,27,.06), 0 12px 28px rgba(28,28,27,.06);
  --shadow-lg: 0 8px 24px rgba(28,28,27,.08), 0 24px 60px rgba(28,28,27,.10);

  /* Layout */
  --container: 1240px;
  --container-narrow: 760px;
  --header-h: 68px;
  --announce-h: 40px;
  --gutter: clamp(16px, 4vw, 48px);

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: .18s; --dur: .28s; --dur-slow: .5s;

  --z-header: 900; --z-drawer: 1000; --z-overlay: 1100; --z-toast: 1200;
}

/* Dark mode — opt in via [data-theme="dark"] or system preference */
[data-theme="dark"] {
  --bg: #191919; --surface: #202020; --surface-2: #2a2a29;
  --border: rgba(255,255,255,.14); --border-strong: rgba(255,255,255,.24);
  --text: #f5f5f4; --text-2: rgba(255,255,255,.66); --text-3: rgba(255,255,255,.45);
  --brand: #f5f5f4; --brand-contrast: #191919;
  --accent: #c9a978; --accent-soft: rgba(201,169,120,.12);
  --shadow-xs: 0 1px 2px rgba(0,0,0,.4);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 4px 12px rgba(0,0,0,.3);
  --shadow: 0 2px 6px rgba(0,0,0,.4), 0 12px 28px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.5), 0 24px 60px rgba(0,0,0,.5);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #191919; --surface: #202020; --surface-2: #2a2a29;
    --border: rgba(255,255,255,.14); --border-strong: rgba(255,255,255,.24);
    --text: #f5f5f4; --text-2: rgba(255,255,255,.66); --text-3: rgba(255,255,255,.45);
    --brand: #f5f5f4; --brand-contrast: #191919;
    --accent: #c9a978; --accent-soft: rgba(201,169,120,.12);
    --shadow-xs: 0 1px 2px rgba(0,0,0,.4);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 4px 12px rgba(0,0,0,.3);
    --shadow: 0 2px 6px rgba(0,0,0,.4), 0 12px 28px rgba(0,0,0,.4);
    --shadow-lg: 0 8px 24px rgba(0,0,0,.5), 0 24px 60px rgba(0,0,0,.5);
  }
}

/* 2. RESET & BASE ======================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--info); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent-soft); color: var(--text); }
hr { border: none; border-top: 1px solid var(--border); margin: var(--s-6) 0; }

/* 3. TYPOGRAPHY ========================================================== */
h1,h2,h3,h4 { font-family: var(--font-serif); font-weight: 500; line-height: var(--lh-tight); letter-spacing: -.01em; color: var(--text); }
h1 { font-size: clamp(2.25rem, 5vw, var(--fs-4xl)); }
h2 { font-size: clamp(1.75rem, 3.5vw, var(--fs-3xl)); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p { color: var(--text); }
.lead { font-size: var(--fs-md); color: var(--text-2); line-height: var(--lh-base); }
.eyebrow { font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--accent); }
.muted { color: var(--text-2); }
.small { font-size: var(--fs-sm); }
.text-center { text-align: center; }
.serif { font-family: var(--font-serif); }
.prose { max-width: var(--container-narrow); }
.prose p, .prose ul, .prose ol { margin-bottom: var(--s-4); color: var(--text-2); }
.prose h2 { margin: var(--s-7) 0 var(--s-3); }
.prose h3 { margin: var(--s-5) 0 var(--s-2); }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose li { margin-bottom: var(--s-2); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* 4. LAYOUT PRIMITIVES =================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(48px, 8vw, 96px); }
.section-sm { padding-block: clamp(32px, 5vw, 56px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-6); flex-wrap: wrap; }
.section-head .titles { max-width: 640px; }
.section-head h2 { margin-top: var(--s-2); }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.stack > * + * { margin-top: var(--s-4); }
.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--s-2); } .gap-3 { gap: var(--s-3); } .gap-4 { gap: var(--s-4); }
.wrap { flex-wrap: wrap; }
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -48px; background: var(--brand); color: var(--brand-contrast); padding: 10px 16px; border-radius: var(--r-sm); z-index: var(--z-toast); transition: top var(--dur) var(--ease); }
.skip-link:focus { top: 8px; }
.divider { height: 1px; background: var(--border); border: 0; }

/* Placeholder media (swap for real photography) */
.ph {
  position: relative; overflow: hidden; background: var(--surface-2);
  background-image: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 60%, var(--surface-2) 100%);
  display: flex; align-items: center; justify-content: center; color: var(--text-3);
}
.ph::after { content: attr(data-label); font-family: var(--font-serif); font-size: var(--fs-md); letter-spacing: .04em; opacity: .55; padding: var(--s-3); text-align: center; }
.ph .ph-mark { position: absolute; font-family: var(--font-serif); font-size: clamp(2rem, 8vw, 4rem); opacity: .12; }
.ratio-1-1 { aspect-ratio: 1/1; } .ratio-4-5 { aspect-ratio: 4/5; } .ratio-3-4 { aspect-ratio: 3/4; }
.ratio-16-9 { aspect-ratio: 16/9; } .ratio-3-2 { aspect-ratio: 3/2; } .ratio-21-9 { aspect-ratio: 21/9; }

/* 5. BUTTONS ============================================================= */
.btn {
  --btn-bg: var(--brand); --btn-fg: var(--brand-contrast); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: .02em;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill); transition: transform var(--dur-fast) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
  text-align: center; white-space: nowrap; user-select: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn-block { width: 100%; }
.btn-lg { min-height: 54px; padding: 0 var(--s-6); font-size: var(--fs-base); }
.btn-sm { min-height: 40px; padding: 0 var(--s-4); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--border-strong); }
.btn-outline:hover { --btn-bg: var(--surface); }
.btn-soft { --btn-bg: var(--surface-2); --btn-fg: var(--text); }
.btn-accent { --btn-bg: var(--accent); --btn-fg: #fff; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text); min-height: 40px; padding: 0 var(--s-3); }
.btn-ghost:hover { --btn-bg: var(--surface); box-shadow: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.link-underline { position: relative; font-weight: 600; font-size: var(--fs-sm); }
.link-underline::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: currentColor; transform: scaleX(1); transform-origin: right; transition: transform var(--dur) var(--ease); }
.link-underline:hover::after { transform: scaleX(0); transform-origin: left; }
.link-arrow { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 600; font-size: var(--fs-sm); }
.link-arrow svg { transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Icon button */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-pill); color: var(--text); position: relative; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.icon-btn:hover { background: var(--surface); }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn .count { position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; font-family: var(--font-sans); font-size: 11px; font-weight: 700; color: var(--brand-contrast); background: var(--brand); border-radius: var(--r-pill); }

/* 6. FORMS =============================================================== */
.field { margin-bottom: var(--s-4); }
.label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--s-2); }
.label .req { color: var(--danger); }
.hint { font-size: var(--fs-xs); color: var(--text-2); margin-top: 6px; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  font-size: var(--fs-base);
}
.textarea { min-height: 120px; padding: 12px 16px; resize: vertical; line-height: var(--lh-base); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px var(--accent-soft); }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237d7a75' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.input-group { display: flex; }
.input-group .input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.checkbox, .radio { display: flex; align-items: flex-start; gap: var(--s-3); cursor: pointer; font-size: var(--fs-sm); color: var(--text-2); }
.checkbox input, .radio input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--brand); flex-shrink: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.form-note { font-size: var(--fs-xs); color: var(--text-2); }
.newsletter-inline { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.newsletter-inline .input { flex: 1; min-width: 200px; }

/* 7. BADGES, TAGS, RATINGS, PRICE ======================================== */
.badge { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: var(--tracking-wide); text-transform: uppercase; padding: 5px 10px; border-radius: var(--r-pill); }
.badge-sale { background: var(--danger); color: #fff; }
.badge-new { background: var(--brand); color: var(--brand-contrast); }
.badge-soon { background: var(--attention-soft); color: var(--attention); }
.badge-out { background: var(--surface-2); color: var(--text-2); }
.badge-instock { background: var(--positive-soft); color: var(--positive); text-transform: none; letter-spacing: 0; }
.badge-low { background: var(--attention-soft); color: var(--attention); text-transform: none; letter-spacing: 0; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); padding: 6px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); color: var(--text-2); }
.tag button { display: inline-flex; color: var(--text-3); }
.tag button:hover { color: var(--danger); }
.price { display: inline-flex; align-items: baseline; gap: var(--s-2); }
.price .now { font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-md); color: var(--text); letter-spacing: -.01em; }
.price .was { font-size: var(--fs-sm); color: var(--text-3); text-decoration: line-through; }
.price .off { font-size: var(--fs-xs); font-weight: 700; color: var(--danger); }
.vat-note { font-size: var(--fs-xs); color: var(--text-2); }
.stars { display: inline-flex; align-items: center; gap: 3px; color: var(--accent); }
.stars svg { width: 15px; height: 15px; }
.stars .empty { color: var(--border-strong); }
.rating-line { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); color: var(--text-2); }

/* 8. HEADER / ANNOUNCE / NAV / MEGA MENU ================================ */
.announce { background: var(--brand); color: var(--brand-contrast); font-size: var(--fs-xs); letter-spacing: .04em; }
.announce .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: var(--announce-h); }
.announce-slides { position: relative; flex: 1; text-align: center; height: 1.4em; overflow: hidden; }
.announce-slides span { position: absolute; inset: 0; opacity: 0; transition: opacity var(--dur) var(--ease); }
.announce-slides span.active { opacity: 1; }
.announce .mini-select { display: inline-flex; align-items: center; gap: 6px; }
.announce select { background: transparent; border: none; color: inherit; font-size: var(--fs-xs); padding: 4px 18px 4px 6px; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; }
.announce select option { color: #222; }
.announce a { text-decoration: underline; text-underline-offset: 2px; }

.site-header { position: sticky; top: 0; z-index: var(--z-header); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--border); transition: box-shadow var(--dur) var(--ease); }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-4); min-height: var(--header-h); }
.brand { font-family: var(--font-serif); font-size: 1.5rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.brand small { display: block; font-family: var(--font-sans); font-size: 9px; letter-spacing: .35em; color: var(--text-2); text-align: center; margin-top: -2px; }
.primary-nav { display: flex; align-items: center; gap: var(--s-2); justify-content: center; }
.primary-nav > li > a { display: inline-flex; align-items: center; gap: 5px; padding: 10px 14px; font-size: var(--fs-sm); font-weight: 500; border-radius: var(--r-sm); transition: color var(--dur) var(--ease), background var(--dur) var(--ease); }
.primary-nav > li > a:hover { background: var(--surface); }
.primary-nav .has-mega { position: static; }
.header-actions { display: flex; align-items: center; gap: 2px; justify-content: flex-end; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur); }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner { display: grid; grid-template-columns: repeat(4, 1fr) 1.3fr; gap: var(--s-6); padding: var(--s-6) 0; }
.mega-col h4 { font-family: var(--font-sans); font-size: var(--fs-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-2); margin-bottom: var(--s-3); }
.mega-col a { display: block; padding: 7px 0; font-size: var(--fs-sm); color: var(--text-2); transition: color var(--dur) var(--ease), padding var(--dur) var(--ease); }
.mega-col a:hover { color: var(--text); padding-left: 5px; }
.mega-feature { border-radius: var(--r); overflow: hidden; }

/* 9. DRAWERS / OVERLAYS / MODAL / TOAST / TOOLTIP ======================= */
.overlay-scrim { position: fixed; inset: 0; background: rgba(28,28,27,.42); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur); z-index: var(--z-drawer); }
.overlay-scrim.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; right: 0; width: min(440px, 92vw); background: var(--bg); z-index: calc(var(--z-drawer) + 1); display: flex; flex-direction: column; transform: translateX(100%); transition: transform var(--dur-slow) var(--ease-out); box-shadow: var(--shadow-lg); }
.drawer.left { right: auto; left: 0; transform: translateX(-100%); }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: var(--s-5); border-bottom: 1px solid var(--border); }
.drawer-head h3 { font-family: var(--font-sans); font-size: var(--fs-md); font-weight: 700; letter-spacing: .02em; }
.drawer-body { flex: 1; overflow-y: auto; padding: var(--s-5); }
.drawer-foot { padding: var(--s-5); border-top: 1px solid var(--border); background: var(--surface); }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: var(--z-overlay); background: color-mix(in srgb, var(--bg) 97%, transparent); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur); overflow-y: auto; }
.search-overlay.open { opacity: 1; visibility: visible; }
.search-panel { max-width: 780px; margin: clamp(48px, 10vh, 120px) auto; padding: 0 var(--gutter); }
.search-box { display: flex; align-items: center; gap: var(--s-3); border-bottom: 2px solid var(--text); padding-bottom: var(--s-3); }
.search-box input { flex: 1; border: none; background: none; font-family: var(--font-serif); font-size: clamp(1.5rem, 4vw, 2rem); padding: var(--s-2) 0; }
.search-box input:focus { outline: none; }
.search-suggest { margin-top: var(--s-6); }
.search-suggest h4 { font-family: var(--font-sans); font-size: var(--fs-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-2); margin-bottom: var(--s-3); }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { padding: 8px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); font-size: var(--fs-sm); transition: background var(--dur) var(--ease); }
.chip:hover { background: var(--surface-2); }
.predict-list a { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3); border-radius: var(--r-sm); }
.predict-list a:hover { background: var(--surface); }
.predict-thumb { width: 56px; height: 56px; border-radius: var(--r-sm); flex-shrink: 0; }

/* Modal (quick view / compare) */
.modal-scrim { position: fixed; inset: 0; z-index: var(--z-overlay); background: rgba(28,28,27,.5); backdrop-filter: blur(3px); display: grid; place-items: center; padding: var(--gutter); opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur); }
.modal-scrim.open { opacity: 1; visibility: visible; }
.modal { background: var(--bg); border-radius: var(--r-lg); width: min(920px, 100%); max-height: 88vh; overflow: hidden; box-shadow: var(--shadow-lg); transform: translateY(12px) scale(.99); transition: transform var(--dur) var(--ease-out); }
.modal-scrim.open .modal { transform: none; }
.modal-scroll { overflow-y: auto; max-height: 88vh; }

/* Toasts */
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: var(--z-toast); display: flex; flex-direction: column; gap: var(--s-2); width: min(380px, calc(100vw - 32px)); }
.toast { display: flex; align-items: center; gap: var(--s-3); padding: 14px 16px; background: var(--brand); color: var(--brand-contrast); border-radius: var(--r); box-shadow: var(--shadow-lg); font-size: var(--fs-sm); transform: translateY(16px); opacity: 0; transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease); }
.toast.show { transform: none; opacity: 1; }
.toast.success { background: var(--positive); color: #fff; }
.toast svg { flex-shrink: 0; width: 18px; height: 18px; }

/* Tooltip */
.tip { position: relative; }
.tip::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px); background: var(--text); color: var(--bg); font-size: var(--fs-xs); padding: 6px 10px; border-radius: var(--r-sm); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); z-index: 10; }
.tip:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Alerts */
.alert { display: flex; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); font-size: var(--fs-sm); }
.alert-info { background: var(--info-soft); border-color: transparent; color: #185a9b; }
.alert-success { background: var(--positive-soft); border-color: transparent; color: #2c6b4b; }
.alert-warn { background: var(--attention-soft); border-color: transparent; color: #9a531f; }

/* 10. PRODUCT & COLLECTION CARDS ======================================== */
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card .media { position: relative; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.product-card .media .ph { transition: transform var(--dur-slow) var(--ease); }
.product-card:hover .media .ph { transform: scale(1.04); }
.product-card .badges { position: absolute; top: var(--s-3); left: var(--s-3); display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.product-card .quick-actions { position: absolute; top: var(--s-3); right: var(--s-3); display: flex; flex-direction: column; gap: 6px; z-index: 2; opacity: 0; transform: translateX(8px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.product-card:hover .quick-actions { opacity: 1; transform: none; }
.qa-btn { width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--bg); color: var(--text); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.qa-btn:hover { background: var(--brand); color: var(--brand-contrast); }
.qa-btn.active { background: var(--danger); color: #fff; }
.qa-btn svg { width: 18px; height: 18px; }
.product-card .add-row { position: absolute; left: var(--s-3); right: var(--s-3); bottom: var(--s-3); z-index: 2; opacity: 0; transform: translateY(8px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.product-card:hover .add-row { opacity: 1; transform: none; }
.product-card .info { padding-top: var(--s-3); display: flex; flex-direction: column; gap: 4px; }
.product-card .cat { font-size: var(--fs-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-3); }
.product-card .name { font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 600; line-height: var(--lh-snug); }
.product-card .name a:hover { color: var(--accent); }
.swatches { display: flex; gap: 6px; margin-top: 4px; }
.swatch { width: 16px; height: 16px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); cursor: pointer; }
.swatch.more { display: grid; place-items: center; font-size: 10px; color: var(--text-2); border-style: dashed; }

/* list view variant */
.products.list-view { grid-template-columns: 1fr; }
.products.list-view .product-card { flex-direction: row; gap: var(--s-5); align-items: center; padding: var(--s-4); border: 1px solid var(--border); border-radius: var(--r); }
.products.list-view .media { width: 200px; flex-shrink: 0; }
.products.list-view .add-row, .products.list-view .quick-actions { position: static; opacity: 1; transform: none; flex-direction: row; margin-top: var(--s-3); }
.products.list-view .info { padding-top: 0; }

/* category / collection cards */
.cat-card { position: relative; display: block; border-radius: var(--r); overflow: hidden; }
.cat-card .ph { transition: transform var(--dur-slow) var(--ease); }
.cat-card:hover .ph { transform: scale(1.05); }
.cat-card .cap { position: absolute; inset: auto 0 0 0; padding: var(--s-5); background: linear-gradient(to top, rgba(28,28,27,.55), transparent); color: #fff; }
.cat-card .cap h3 { color: #fff; font-size: var(--fs-lg); }
.cat-card .cap span { font-size: var(--fs-sm); opacity: .9; }
.collection-card { border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); background: var(--bg); }
.collection-card .body { padding: var(--s-5); }

/* 11. HOMEPAGE SECTIONS ================================================= */
.hero { position: relative; }
.hero-media { position: relative; border-radius: 0; overflow: hidden; min-height: clamp(460px, 70vh, 720px); }
.hero-media .ph { position: absolute; inset: 0; height: 100%; }
.hero-content { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-content .container { width: 100%; }
.hero-copy { max-width: 540px; color: #fff; }
.hero-copy.dark { color: var(--text); }
.hero-copy h1 { color: inherit; margin: var(--s-3) 0 var(--s-4); }
.hero-copy .eyebrow { color: inherit; opacity: .9; }
.hero-copy p { color: inherit; opacity: .92; font-size: var(--fs-md); margin-bottom: var(--s-6); }
.hero-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero-scrim::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,28,27,.55) 0%, rgba(28,28,27,.15) 55%, transparent 100%); z-index: 1; }
.hero-scrim .hero-content { z-index: 2; }

.usp-bar { border-block: 1px solid var(--border); }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-5) var(--s-4); }
.usp + .usp { border-left: 1px solid var(--border); }
.usp svg { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; }
.usp strong { display: block; font-size: var(--fs-sm); }
.usp span { font-size: var(--fs-xs); color: var(--text-2); }

.promo-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.promo { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 320px; display: flex; align-items: center; }
.promo .ph { position: absolute; inset: 0; height: 100%; }
.promo .promo-copy { position: relative; z-index: 2; padding: var(--s-7); max-width: 340px; }
.promo.on-image .promo-copy { color: #fff; }
.promo.on-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,28,27,.5), transparent); z-index: 1; }

.brand-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 80px); align-items: center; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.stat { text-align: center; }
.stat .num { font-family: var(--font-serif); font-size: var(--fs-2xl); }
.stat .lbl { font-size: var(--fs-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-2); }

.testimonials { background: var(--surface); }
.testi-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: var(--s-6); }
.testi-card p { font-family: var(--font-serif); font-size: var(--fs-md); line-height: var(--lh-snug); margin: var(--s-3) 0 var(--s-4); }
.testi-author { display: flex; align-items: center; gap: var(--s-3); }
.testi-avatar { width: 44px; height: 44px; border-radius: var(--r-pill); }

.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-2); }
.ig-grid a { position: relative; overflow: hidden; border-radius: var(--r-sm); }
.ig-grid a .ph { transition: transform var(--dur) var(--ease); }
.ig-grid a:hover .ph { transform: scale(1.08); }

.newsletter-band { background: var(--brand); color: var(--brand-contrast); border-radius: var(--r-lg); padding: clamp(32px, 6vw, 64px); text-align: center; }
.newsletter-band h2 { color: var(--brand-contrast); }
.newsletter-band p { opacity: .82; }
.newsletter-band .newsletter-inline { max-width: 480px; margin: var(--s-5) auto 0; }
.newsletter-band .input { border-color: transparent; }

.blog-card { display: flex; flex-direction: column; }
.blog-card .media { border-radius: var(--r); overflow: hidden; }
.blog-card .meta { display: flex; gap: var(--s-3); font-size: var(--fs-xs); color: var(--text-2); margin: var(--s-3) 0 var(--s-2); }
.blog-card h3 { font-size: var(--fs-md); line-height: var(--lh-snug); }
.blog-card h3 a:hover { color: var(--accent); }

/* 12. SHOP / FILTERS / PAGINATION ====================================== */
.shop-layout { display: grid; grid-template-columns: 268px 1fr; gap: var(--s-7); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); }
.filter-group { border-bottom: 1px solid var(--border); padding: var(--s-4) 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group > summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; font-size: var(--fs-sm); list-style: none; }
.filter-group > summary::-webkit-details-marker { display: none; }
.filter-group > summary .chev { transition: transform var(--dur) var(--ease); }
.filter-group[open] > summary .chev { transform: rotate(180deg); }
.filter-body { padding-top: var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); }
.color-dots { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.color-dot { width: 30px; height: 30px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); position: relative; cursor: pointer; }
.color-dot[aria-pressed="true"]::after { content: ""; position: absolute; inset: -4px; border: 2px solid var(--text); border-radius: var(--r-pill); }
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); }
.size-box { min-height: 40px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); display: grid; place-items: center; font-size: var(--fs-sm); cursor: pointer; transition: all var(--dur) var(--ease); }
.size-box[aria-pressed="true"] { background: var(--brand); color: var(--brand-contrast); border-color: var(--brand); }
.range { display: flex; flex-direction: column; gap: var(--s-3); }
.range-track { position: relative; height: 3px; background: var(--border-strong); border-radius: 3px; margin: 12px 6px; }
.range-fill { position: absolute; height: 100%; background: var(--brand); border-radius: 3px; }
.range input[type=range] { position: absolute; top: 50%; transform: translateY(-50%); left: 0; width: 100%; -webkit-appearance: none; appearance: none; background: none; pointer-events: none; }
.range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: var(--r-pill); background: var(--bg); border: 2px solid var(--brand); box-shadow: var(--shadow-sm); pointer-events: all; cursor: pointer; }
.range input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: var(--r-pill); background: var(--bg); border: 2px solid var(--brand); pointer-events: all; cursor: pointer; }
.range-vals { display: flex; justify-content: space-between; font-size: var(--fs-sm); color: var(--text-2); }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-5); flex-wrap: wrap; }
.view-toggle { display: inline-flex; border: 1px solid var(--border-strong); border-radius: var(--r-sm); overflow: hidden; }
.view-toggle button { width: 40px; height: 40px; display: grid; place-items: center; color: var(--text-2); }
.view-toggle button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }
.active-filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-4); }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5) var(--s-4); }
.products.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pagination { display: flex; align-items: center; justify-content: center; gap: var(--s-2); margin-top: var(--s-8); }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); font-size: var(--fs-sm); border: 1px solid transparent; }
.pagination a:hover { background: var(--surface); }
.pagination .current { background: var(--brand); color: var(--brand-contrast); }
.pagination .disabled { color: var(--text-3); pointer-events: none; }
.filter-bar-mobile { display: none; }

/* 13. PRODUCT DETAIL ==================================================== */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.gallery-main { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.gallery-main .ph { transition: transform var(--dur-slow) var(--ease); cursor: zoom-in; }
.gallery-main:hover .ph { transform: scale(1.06); }
.gallery-main .badges { position: absolute; top: var(--s-4); left: var(--s-4); z-index: 2; display: flex; gap: 6px; }
.gallery-main .media-tag { position: absolute; bottom: var(--s-4); right: var(--s-4); z-index: 2; background: var(--bg); border-radius: var(--r-pill); padding: 6px 12px; font-size: var(--fs-xs); box-shadow: var(--shadow-sm); display: inline-flex; gap: 6px; align-items: center; }
.thumbs { display: flex; gap: var(--s-2); margin-top: var(--s-3); flex-wrap: wrap; }
.thumb { width: 76px; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; cursor: pointer; }
.thumb[aria-pressed="true"] { border-color: var(--text); }
.pdp-info .cat { font-size: var(--fs-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-3); }
.pdp-info h1 { font-size: var(--fs-2xl); margin: var(--s-2) 0; }
.pdp-price { display: flex; align-items: baseline; gap: var(--s-3); margin: var(--s-4) 0; }
.pdp-price .now { font-size: var(--fs-xl); font-weight: 700; }
.variant-group { margin: var(--s-5) 0; }
.variant-group .vhead { display: flex; justify-content: space-between; font-size: var(--fs-sm); margin-bottom: var(--s-3); }
.variant-group .vhead b { font-weight: 600; }
.color-opts { display: flex; gap: var(--s-3); }
.color-opt { width: 40px; height: 40px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); position: relative; cursor: pointer; }
.color-opt[aria-pressed="true"]::after { content: ""; position: absolute; inset: -4px; border: 2px solid var(--text); border-radius: var(--r-pill); }
.size-opts { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.size-opt { min-width: 52px; min-height: 44px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); display: grid; place-items: center; cursor: pointer; font-size: var(--fs-sm); transition: all var(--dur) var(--ease); }
.size-opt[aria-pressed="true"] { background: var(--brand); color: var(--brand-contrast); border-color: var(--brand); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--r-pill); overflow: hidden; }
.qty button { width: 44px; height: 48px; display: grid; place-items: center; font-size: var(--fs-md); color: var(--text-2); }
.qty button:hover { color: var(--text); background: var(--surface); }
.qty input { width: 44px; text-align: center; border: none; background: none; font-weight: 600; }
.qty input:focus { outline: none; }
.buy-row { display: flex; gap: var(--s-3); margin: var(--s-5) 0; flex-wrap: wrap; }
.buy-row .qty { flex-shrink: 0; }
.buy-row .btn { flex: 1; min-width: 160px; }
.pdp-meta { display: flex; flex-direction: column; gap: var(--s-3); border-top: 1px solid var(--border); padding-top: var(--s-5); margin-top: var(--s-5); }
.pdp-meta-row { display: flex; gap: var(--s-3); font-size: var(--fs-sm); color: var(--text-2); }
.pdp-meta-row svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.tabs { border-bottom: 1px solid var(--border); display: flex; gap: var(--s-2); overflow-x: auto; }
.tab-btn { padding: var(--s-4) var(--s-3); font-weight: 600; font-size: var(--fs-sm); color: var(--text-2); border-bottom: 2px solid transparent; white-space: nowrap; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.tab-btn[aria-selected="true"] { color: var(--text); border-color: var(--text); }
.tab-panel { padding-top: var(--s-5); }
.tab-panel[hidden] { display: none; }
.spec-table td { padding: var(--s-3) 0; border-bottom: 1px solid var(--border); font-size: var(--fs-sm); vertical-align: top; }
.spec-table td:first-child { color: var(--text-2); width: 40%; }
.review-item { border-bottom: 1px solid var(--border); padding: var(--s-4) 0; }
.review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-2); }
.sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-header); background: var(--bg); border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(28,28,27,.06); transform: translateY(100%); transition: transform var(--dur) var(--ease); }
.sticky-atc.show { transform: none; }
.sticky-atc .inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) 0; }
.sticky-atc .s-info { display: flex; align-items: center; gap: var(--s-3); min-width: 0; }
.sticky-atc .s-thumb { width: 46px; height: 46px; border-radius: var(--r-sm); flex-shrink: 0; }

/* 14. CART & CHECKOUT =================================================== */
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--border); align-items: start; }
.cart-line .thumb { width: 84px; border-radius: var(--r-sm); overflow: hidden; }
.cart-line .ln-name { font-weight: 600; font-size: var(--fs-sm); }
.cart-line .ln-variant { font-size: var(--fs-xs); color: var(--text-2); margin-top: 2px; }
.cart-line .ln-actions { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-3); }
.cart-line .remove { font-size: var(--fs-xs); color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.cart-line .remove:hover { color: var(--danger); }
.cart-line .ln-price { text-align: right; font-weight: 700; }
.summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: var(--s-5); }
.summary h3 { font-family: var(--font-sans); font-size: var(--fs-md); font-weight: 700; margin-bottom: var(--s-4); }
.summary-row { display: flex; justify-content: space-between; padding: var(--s-2) 0; font-size: var(--fs-sm); }
.summary-row.total { border-top: 1px solid var(--border); margin-top: var(--s-2); padding-top: var(--s-3); font-size: var(--fs-md); font-weight: 700; }
.summary-row .muted { color: var(--text-2); }
.progress-ship { margin: var(--s-3) 0; }
.progress-track { height: 6px; background: var(--surface-2); border-radius: var(--r-pill); overflow: hidden; }
.progress-fill { height: 100%; background: var(--positive); border-radius: var(--r-pill); transition: width var(--dur-slow) var(--ease); }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.checkout-step { border: 1px solid var(--border); border-radius: var(--r); padding: var(--s-5); margin-bottom: var(--s-5); }
.checkout-step > h3 { font-family: var(--font-sans); font-size: var(--fs-md); font-weight: 700; margin-bottom: var(--s-4); display: flex; align-items: center; gap: var(--s-3); }
.step-num { width: 28px; height: 28px; border-radius: var(--r-pill); background: var(--brand); color: var(--brand-contrast); display: grid; place-items: center; font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 700; flex-shrink: 0; }
.delivery-opt { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4); border: 1px solid var(--border-strong); border-radius: var(--r-sm); cursor: pointer; margin-bottom: var(--s-3); transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.delivery-opt:has(input:checked) { border-color: var(--text); background: var(--surface); }
.delivery-opt input { accent-color: var(--brand); width: 20px; height: 20px; }
.delivery-opt .d-main { flex: 1; }
.delivery-opt .d-title { font-weight: 600; font-size: var(--fs-sm); }
.delivery-opt .d-sub { font-size: var(--fs-xs); color: var(--text-2); }
.delivery-opt .d-price { font-weight: 700; font-size: var(--fs-sm); }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px,1fr)); gap: var(--s-3); }
.pay-method { border: 1px solid var(--border-strong); border-radius: var(--r-sm); padding: var(--s-3); display: grid; place-items: center; gap: 6px; cursor: pointer; text-align: center; min-height: 72px; transition: border-color var(--dur) var(--ease); }
.pay-method:has(input:checked) { border-color: var(--text); box-shadow: 0 0 0 3px var(--accent-soft); }
.pay-method .pay-logo { font-family: var(--font-serif); font-weight: 600; font-size: var(--fs-sm); }
.pay-method .pay-sub { font-size: 10px; color: var(--text-2); }
.secure-row { display: flex; align-items: center; gap: var(--s-2); justify-content: center; font-size: var(--fs-xs); color: var(--text-2); margin-top: var(--s-3); }
.secure-row svg { width: 15px; height: 15px; color: var(--positive); }
.order-mini { display: flex; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--border); }
.order-mini .thumb { width: 60px; height: 60px; border-radius: var(--r-sm); position: relative; flex-shrink: 0; }
.order-mini .thumb .q { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: var(--r-pill); background: var(--brand); color: var(--brand-contrast); font-size: 11px; display: grid; place-items: center; font-weight: 700; }

/* 15. ACCOUNT / BLOG / ABOUT / CONTACT / FAQ / POLICY =================== */
.account-grid { display: grid; grid-template-columns: 240px 1fr; gap: var(--s-7); align-items: start; }
.account-nav { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.account-nav a { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); font-size: var(--fs-sm); border-bottom: 1px solid var(--border); transition: background var(--dur) var(--ease); }
.account-nav a:last-child { border-bottom: none; }
.account-nav a:hover { background: var(--surface); }
.account-nav a.active { background: var(--surface); font-weight: 600; box-shadow: inset 3px 0 0 var(--brand); }
.account-nav a svg { width: 18px; height: 18px; color: var(--text-2); }
.auth-card { max-width: 440px; margin-inline: auto; border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(24px,5vw,40px); }
.auth-switch { display: flex; background: var(--surface-2); border-radius: var(--r-pill); padding: 4px; margin-bottom: var(--s-5); }
.auth-switch button { flex: 1; min-height: 40px; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); }
.auth-switch button[aria-selected="true"] { background: var(--bg); color: var(--text); box-shadow: var(--shadow-xs); }
.stat-card { border: 1px solid var(--border); border-radius: var(--r); padding: var(--s-5); }
.stat-card .num { font-family: var(--font-serif); font-size: var(--fs-xl); }
.order-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: var(--s-4); align-items: center; padding: var(--s-4); border: 1px solid var(--border); border-radius: var(--r); margin-bottom: var(--s-3); font-size: var(--fs-sm); }

.article-hero { max-width: 820px; margin-inline: auto; text-align: center; }
.article-body { max-width: var(--container-narrow); margin-inline: auto; }
.article-body img, .article-body .ph { border-radius: var(--r); margin: var(--s-6) 0; }
.share-row { display: flex; gap: var(--s-2); }
.author-box { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-5); background: var(--surface); border-radius: var(--r); }
.author-box .avatar { width: 64px; height: 64px; border-radius: var(--r-pill); flex-shrink: 0; }

.about-hero { text-align: center; max-width: 720px; margin-inline: auto; }
.timeline { position: relative; padding-left: var(--s-6); }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline li { position: relative; padding-bottom: var(--s-6); }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 5px; width: 14px; height: 14px; border-radius: var(--r-pill); background: var(--bg); border: 3px solid var(--accent); }
.timeline .yr { font-family: var(--font-serif); font-size: var(--fs-md); color: var(--accent); }
.team-card { text-align: center; }
.team-card .avatar { border-radius: var(--r); overflow: hidden; margin-bottom: var(--s-3); }
.value-card { padding: var(--s-5); border: 1px solid var(--border); border-radius: var(--r); }
.value-card svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: var(--s-3); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,5vw,64px); align-items: start; }
.contact-info-item { display: flex; gap: var(--s-3); margin-bottom: var(--s-4); }
.contact-info-item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.map-ph { border-radius: var(--r); }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) 0; cursor: pointer; font-weight: 600; font-size: var(--fs-md); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { transition: transform var(--dur) var(--ease); flex-shrink: 0; }
.faq-item[open] summary .chev { transform: rotate(45deg); }
.faq-item .faq-a { padding-bottom: var(--s-4); color: var(--text-2); max-width: 760px; }
.faq-cats { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5); }

.policy-layout { display: grid; grid-template-columns: 240px 1fr; gap: var(--s-7); align-items: start; }
.policy-nav { position: sticky; top: calc(var(--header-h) + 16px); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.policy-nav a { display: block; padding: var(--s-3) var(--s-4); font-size: var(--fs-sm); border-bottom: 1px solid var(--border); color: var(--text-2); }
.policy-nav a:last-child { border: none; }
.policy-nav a:hover, .policy-nav a.active { background: var(--surface); color: var(--text); }

.compare-table { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.compare-table th, .compare-table td { padding: var(--s-4); text-align: left; border-bottom: 1px solid var(--border); font-size: var(--fs-sm); vertical-align: top; }
.compare-table thead th { background: var(--surface); }
.compare-table td:first-child, .compare-table th:first-child { color: var(--text-2); font-weight: 600; background: var(--surface); position: sticky; left: 0; }

.breadcrumbs { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-xs); color: var(--text-2); flex-wrap: wrap; padding: var(--s-4) 0; }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs .sep { color: var(--text-3); }
.page-head { text-align: center; padding: clamp(32px,6vw,64px) 0; border-bottom: 1px solid var(--border); background: var(--surface); }
.page-head h1 { margin-bottom: var(--s-2); }

/* Empty states & utility pages */
.empty-state { text-align: center; max-width: 460px; margin: 0 auto; padding: var(--s-8) 0; }
.empty-state .ico { width: 80px; height: 80px; border-radius: var(--r-pill); background: var(--surface); display: grid; place-items: center; margin: 0 auto var(--s-5); color: var(--text-3); }
.empty-state .ico svg { width: 34px; height: 34px; }
.util-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: var(--s-8) 0; }
.util-page .big { font-family: var(--font-serif); font-size: clamp(5rem, 20vw, 11rem); line-height: 1; color: var(--surface-2); }

/* 16. FOOTER / WHATSAPP / BOTTOM NAV =================================== */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: var(--s-9); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: var(--s-6); padding-block: var(--s-8); }
.footer-brand .brand { margin-bottom: var(--s-3); }
.footer-col h4 { font-family: var(--font-sans); font-size: var(--fs-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-2); margin-bottom: var(--s-4); }
.footer-col a { display: block; padding: 5px 0; font-size: var(--fs-sm); color: var(--text-2); transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--text); }
.social-row { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.social-row a { width: 40px; height: 40px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--text-2); transition: all var(--dur) var(--ease); }
.social-row a:hover { background: var(--brand); color: var(--brand-contrast); border-color: var(--brand); }
.footer-mid { border-top: 1px solid var(--border); padding-block: var(--s-5); display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.pay-icons, .trust-row { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.pay-icon { height: 30px; min-width: 46px; padding: 0 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); display: grid; place-items: center; font-size: 10px; font-weight: 700; letter-spacing: .02em; color: var(--text-2); }
.trust-chip { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--text-2); }
.trust-chip svg { width: 16px; height: 16px; color: var(--positive); }
.footer-bottom { border-top: 1px solid var(--border); padding-block: var(--s-4); display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; font-size: var(--fs-xs); color: var(--text-2); }
.footer-bottom .links { display: flex; gap: var(--s-4); flex-wrap: wrap; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: var(--z-header); display: inline-flex; align-items: center; gap: var(--s-2); height: 56px; padding: 0 18px 0 16px; border-radius: var(--r-pill); background: #25d366; color: #fff; font-weight: 600; font-size: var(--fs-sm); box-shadow: var(--shadow-lg); transition: transform var(--dur) var(--ease); }
.wa-float:hover { transform: translateY(-2px) scale(1.02); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float .wa-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width var(--dur) var(--ease); }
.wa-float:hover .wa-label { max-width: 160px; }

.bottom-nav { display: none; }

/* 17. SKELETONS & LOADERS ============================================== */
@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
.skeleton { background: var(--surface-2); background-image: linear-gradient(90deg, var(--surface-2) 0px, var(--surface) 200px, var(--surface-2) 400px); background-size: 800px 100%; animation: shimmer 1.4s infinite linear; border-radius: var(--r-sm); }
.spinner { width: 22px; height: 22px; border: 2px solid var(--border-strong); border-top-color: var(--text); border-radius: var(--r-pill); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.top-progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--accent); z-index: var(--z-toast); width: 0; transition: width var(--dur) var(--ease); }

/* 18. MOTION HELPERS =================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .06s; }
[data-reveal-delay="2"] { transition-delay: .12s; }
[data-reveal-delay="3"] { transition-delay: .18s; }
[data-reveal-delay="4"] { transition-delay: .24s; }

/* 19. RESPONSIVE ======================================================= */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .mega-inner { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .primary-nav { display: none; }
  .header-inner { grid-template-columns: auto auto auto; }
  .shop-layout, .pdp, .checkout-grid, .account-grid, .contact-grid, .policy-layout, .brand-story { grid-template-columns: 1fr; }
  .gallery, .filters, .policy-nav { position: static; }
  .filters { display: none; }
  .filter-bar-mobile { display: flex; gap: var(--s-3); }
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .usp:nth-child(3) { border-left: none; }
  .usp { border-top: 1px solid var(--border); }
  .usp:nth-child(-n+2) { border-top: none; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .promo-split { grid-template-columns: 1fr; }
  .account-nav { display: grid; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --header-h: 60px; }
  .grid-3, .grid-4, .products, .products.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: 1fr; gap: var(--s-4); }
  .form-row { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line .ln-price { grid-column: 2; text-align: left; }
  .order-row { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-header); display: grid; grid-template-columns: repeat(5, 1fr); background: var(--bg); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0; font-size: 10px; color: var(--text-2); position: relative; }
  .bottom-nav a.active { color: var(--text); }
  .bottom-nav a svg { width: 22px; height: 22px; }
  .bottom-nav .count { position: absolute; top: 4px; right: 50%; margin-right: -20px; min-width: 16px; height: 16px; font-size: 10px; background: var(--brand); color: var(--brand-contrast); border-radius: var(--r-pill); display: grid; place-items: center; padding: 0 4px; }
  body { padding-bottom: 62px; }
  .wa-float { bottom: 74px; }
  .sticky-atc { bottom: 62px; }
  .products.list-view .product-card { flex-direction: column; }
  .products.list-view .media { width: 100%; }
}
@media (max-width: 460px) {
  .grid-3, .grid-4, .products, .products.cols-4 { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
