/* ============================================================
   FH Furnishings — design system (V5 Step 3)
   Tokens first, then base, buttons, header, hero.
   Bootstrap 5.3.3 is used for grid/layout ONLY.
   Bootstrap grid classes are never redefined here.
   ============================================================ */

/* ---------- tokens ---------- */
/* ============================================================
   V5 STEP 3 — DESIGN SYSTEM (tokens, V5 §3)
   Colours with hover/active/focus states; one family (Georgia —
   "max 2 families", one is compliant and matches the approved
   look); fluid clamp() type scale; spacing in multiples of 8px;
   TWO radii only (--radius 14px, --radius-round 50%);
   ONE resting shadow (--shadow) + a documented lift shadow on
   hover (hover feedback needs lift — deliberate, see Step 3
   review); motion = one cubic-bezier curve; full z-index scale.
   Shadows: V5 asks for one shadow style; this system keeps the
   resting --shadow plus a lift on hover, because flattening the
   lift would remove the hover feedback the owner asked for.
   ============================================================ */
:root{
  /* colours */
  --ivory:#F7F1E6;      /* page background */
  --cream:#FFFDF8;      /* surface */
  --walnut:#6B4A2F;     /* primary */
  --walnut-dark:#54391F;/* primary hover */
  --amber:#C98A2B;      /* accent */
  --amber-text:#8A5A10; /* amber for small text on ivory/cream — 5.26:1 */
  --amber-dark:#A96F1D; /* accent hover */
  --pill:#6B4A2F;      /* Add to Cart — walnut, the site's own scheme; white 7.94:1, cream 7.81:1 */
  --pill-dark:#54391F; /* pill hover/tap — white 10.6:1, cream 10.42:1 */
  --charcoal:#2E2A26;   /* text */
  --charcoal-soft:#6B6259; /* secondary text */
  --taupe:#A89880;      /* muted text — large text / on charcoal only */
  --taupe-text:#6E5F4C; /* taupe for small text on ivory/cream — 5.49:1 */
  --sand:#E9DCC3;
  --stone:#EDE6DA;
  --line:#E3D9C6;       /* borders */
  --green:#157A3F; /* darkened so cream button text passes 4.5:1 (5.31:1) */      /* WhatsApp */
  --green-dark:#0F6334; /* hover/active green — 7.24:1 cream text */ /* WhatsApp hover */
  --focus:#8A5A10; /* focus ring — 5.26:1 on ivory, was 2.61:1 */
  --error:#B3261E; /* form errors — white text 5.9:1 */

  /* type — one family: Georgia serif for headings and body */
  --font:Georgia,'Times New Roman',serif;
  --h1:clamp(34px,5vw,56px);
  --h2:clamp(28px,3.5vw,38px);
  --h3:clamp(20px,2.5vw,24px);
  --body:17px;
  --small:14px;

  /* spacing — multiples of 8px */
  --space-1:8px;
  --space-2:16px;
  --space-3:24px;
  --space-4:32px;
  --space-5:40px;
  --space-6:48px;
  --space-7:56px;
  --space-8:64px;
  --space-10:80px;

  /* shape — max 2 radii */
  --radius:14px;
  --radius-round:50%;

  /* one subtle shadow */
  --shadow:0 10px 24px rgba(46,42,38,.10);

  /* motion */
  --ease:cubic-bezier(0.22, 1, 0.36, 1); /* smooth ease-out — one curve for all motion */
  --duration:200ms;

  /* z-index scale */
  --z-header:50;
  --z-overlay:45;
  --z-nav:55;
  --z-float:40; /* floating WhatsApp button: above content, below nav overlay (45) and cart drawer (65) */
  --z-skip:100;
  --z-drawer-overlay:60;
  --z-drawer:65;
  --z-dropdown:40;
  --z-toast:90;
  --z-sticky:30;
}

/* ---------- base ---------- */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font);
  font-size:var(--body);
  line-height:1.6;
  background:var(--ivory);
  color:var(--charcoal);
  /* clip (not hidden): hidden turns body into a scroll container and
     silently breaks every position:sticky on the page — header, filter
     bar, search. clip still stops horizontal scrolling. */
  overflow-x:clip;
}
html{overflow-x:clip}
body,input,select,textarea,button{font-family:var(--font)}
img{max-width:100%;height:auto;display:block}
a{color:var(--walnut);text-decoration:none}
p{margin-bottom:12px;max-width:70ch}
h1,h2,h3{font-weight:500;line-height:1.2;text-wrap:balance;color:var(--charcoal)}
h1{font-size:var(--h1);letter-spacing:.02em}
h2{font-size:var(--h2);margin-bottom:14px}
h3{font-size:var(--h3)}
small{font-size:var(--small)}

/* visible focus — WCAG 2.2 AA */
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
:focus:not(:focus-visible){outline:none}

/* screen-reader-only text */
.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 */
.skip-link{
  position:fixed;left:16px;top:-64px;z-index:var(--z-skip);
  background:var(--walnut);color:var(--cream);
  padding:12px 16px;border-radius:var(--radius);
  transition:top var(--duration) var(--ease);
}
.skip-link:focus{top:12px;color:var(--cream)}

/* section rhythm (used from Step 4) */
.section{padding:var(--space-10) 0}

/* eyebrow label */
.eyebrow{
  display:block;margin-bottom:10px;
  font-size:12px;letter-spacing:.28em;text-transform:uppercase;
  color:var(--amber-text);
}

/* ---------- buttons ----------
   Technics shine sweep (user-ordered, 2026-11-11): a diagonal white
   sheen slides across every button on hover (::before, left -100%
   -> 130%, 0.6s). The button is its own stacking context
   (isolation:isolate) and the sheen sits at z-index:-1, so it paints
   ABOVE the button background but BELOW the label — the text never
   washes out. The sheen uses a linear-gradient — a deliberate
   deviation from V5 §2 (no gradients), because the user explicitly
   ordered this exact Technics effect. */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:48px;padding:12px 22px;border-radius:var(--radius);
  font-size:16px;line-height:1.25;cursor:pointer;
  border:1px solid transparent;
  position:relative;overflow:hidden;isolation:isolate;
  transition:background-color .4s var(--ease),color .4s var(--ease),border-color .4s var(--ease),box-shadow .4s var(--ease),transform .4s var(--ease);
}
/* the sheen itself — rest state, off-screen left (outside the hover
   media query, so it is defined once; only the hover trigger below
   moves it) */
.btn::before{
  content:"";position:absolute;top:0;left:-100%;z-index:-1;
  width:60%;height:100%;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.35),transparent);
  transform:skewX(-25deg);transition:left .6s var(--ease);pointer-events:none;
}
.btn--primary{background:var(--walnut);color:var(--cream);box-shadow:0 8px 20px rgba(46,42,38,.16)}
.btn--primary:active{background:var(--walnut-dark);color:var(--cream);transform:translateY(1px)}
.btn--whatsapp{background:var(--green);color:var(--cream)}
.btn--whatsapp:active{background:var(--green-dark);color:var(--cream);transform:translateY(1px)}
.btn--outline{background:transparent;color:var(--charcoal);border-color:var(--charcoal)}
/* Add to Cart pill — walnut, the site's own colour scheme
   (owner-ordered 2026-11-11, replacing the Haq Bahoo orange):
   walnut pill, CREAM text, cart icon at the left, LEFT-ALIGNED
   under the price. Reuses the .btn base (padding/font/radius)
   but NEVER the Technics sheen — the pill's ::before is
   display:none and there is NO :hover::before rule (section
   buttons keep the shine — see §18). Walnut on cream = 7.81:1
   (white 7.94:1), passes 4.5:1. Hover/tap use walnut-dark
   (white 10.6:1). NO lift — the slide-up IS the pill's motion. */
.btn--pill{background:var(--pill);color:var(--cream)}
.btn--pill::before{display:none}
/* ---------- tap/active states (phones have no hover) ----------
   Every pressable element shows a clear press effect on tap:
   a colour shift + a 1px press, matching its hover change.
   These live OUTSIDE @media (hover:hover) so they fire on touch. */
.btn--outline:active{background:var(--walnut);border-color:var(--walnut-dark);color:var(--cream);transform:translateY(1px)}
/* pill tap — darker walnut + 1px press: 10.6:1 white text, passes */
.btn--pill:active{background:var(--pill-dark);color:var(--cream);transform:translateY(1px)}
.float-wa:active{background:var(--green-dark);color:var(--cream);transform:scale(.97)}
.wish-btn:active{transform:scale(.92);color:var(--amber-dark)}
.wish-btn:active svg{fill:var(--amber-dark)}
.icon-btn:active{background:var(--stone)}
.menu-btn:active{background:var(--stone)}
.tab:active{border-color:var(--walnut);background:rgba(107,74,47,.08)}
.tab[aria-selected="true"]:active{background:var(--walnut-dark);border-color:var(--walnut-dark);color:var(--cream)}
.chip:active{border-color:var(--walnut);background:rgba(107,74,47,.08)}
.page-btn:active{border-color:var(--walnut);color:var(--walnut);background:rgba(107,74,47,.08)}
.qty-btn:active{border-color:var(--amber-text);background:var(--ivory)}
.p-thumbs button:active{border-color:var(--amber-text)}
.faq__q:active{background:var(--ivory)}
.sugg:active{background:var(--ivory)}
.site-nav__link:active{color:var(--amber-text)}
.filters-toggle:active{background:var(--ivory)}
.link-btn:active{color:var(--walnut)}
.cat-card:active{transform:translateY(-2px);box-shadow:0 10px 20px rgba(46,42,38,.14)}
.gal-item:active img{transform:scale(1.03)}
.btn:disabled{opacity:.5;cursor:not-allowed}
.btn svg{flex:0 0 auto}
/* text arrow (→) inside a link — nudges right when its link is hovered */
.arr{display:inline-block;transition:transform var(--duration) var(--ease)}

/* centred section CTA wrapper (v11, flex in v12) — ONE class, reused
   everywhere a section CTA button sits alone. Real flex centring:
   text-align alone only centres inline content, so a CTA inside a
   narrower parent (a half-width column) centred in THAT column, not
   the page container — that is what the user saw in his screenshots.
   Flex + width:100% centres the button in the full width of whatever
   contains this <p>, so every CTA must also sit as a direct child of
   its section's full-width .container (v12 moves in index.html).
   The button inside keeps the global .btn--primary / .btn--outline
   style; no per-section centring. */
.cta-center{display:flex;justify-content:center;align-items:center;width:100%;max-width:none;margin-top:30px}
/* inside the live-search dropdown the same button needs less air */
.search-drop .cta-center{margin-top:16px}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:var(--z-header);
  background:var(--cream);
  border-top:3px solid var(--amber);
  border-bottom:1px solid var(--line);
  box-shadow:0 2px 12px rgba(46,42,38,.06);
  transition:box-shadow var(--duration) var(--ease);
}
.site-header.is-scrolled{box-shadow:0 4px 16px rgba(46,42,38,.08)}
.site-header__in{
  display:flex;align-items:center;gap:12px;
  padding:14px 0;flex-wrap:nowrap;
}

/* brand — logo lockup (images/logo.svg in the header, logo-light.svg in the footer) */
.brand{display:inline-flex;align-items:center;flex:0 0 auto}
.brand img{display:block;height:52px;width:auto}

/* primary nav — one line on desktop */
.site-nav{margin-left:auto;min-width:0}
.site-nav__list{
  display:flex;gap:2px;flex-wrap:nowrap;
  list-style:none;margin:0;padding:0;
}
.site-nav__link{
  position:relative;
  display:flex;align-items:center;min-height:44px;
  padding:8px 10px;font-size:16px;white-space:nowrap;
  color:var(--charcoal);border-bottom:2px solid transparent;
  transition:color var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}
/* gold underline that slides in from the left on hover (desktop only) */
.site-nav__link::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:2px;
  background:var(--amber-text);
  transform:scaleX(0);transform-origin:left;
  transition:transform var(--duration) var(--ease);
}
.site-nav__link[aria-current="page"]{color:var(--amber-text);border-bottom-color:var(--amber-text)}

/* header icon buttons */
.header-icons{display:flex;align-items:center;gap:8px;margin-left:auto;flex:0 0 auto}
.icon-btn{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;border:0;border-radius:var(--radius-round);
  background:transparent;color:var(--charcoal);cursor:pointer;
  transition:background-color var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}
.icon-btn__badge{
  position:absolute;top:2px;right:2px;
  display:flex;align-items:center;justify-content:center;
  min-width:18px;height:18px;padding:0 4px;
  border-radius:var(--radius);background:var(--amber);color:var(--charcoal);
  font-size:11px;line-height:1;
}
.icon-btn__badge[hidden]{display:none}

/* hamburger — hidden on desktop */
.menu-btn{display:none}

/* overlay that blocks background interaction while the mobile menu is open */
.nav-overlay{
  position:fixed;inset:0;z-index:var(--z-overlay);
  background:rgba(46,42,38,.45);border:0;padding:0;cursor:pointer;
}
.nav-overlay[hidden]{display:none}

/* ---------- hero carousel ---------- */
.hero{position:relative;background:var(--ivory)}
.hero__track{position:relative;height:clamp(480px,78vh,640px);overflow:hidden}
.hero__slide{
  position:absolute;inset:0;
  display:flex;align-items:flex-end;
  opacity:0;visibility:hidden;
  transition:opacity 500ms var(--ease),visibility 0s linear 500ms;
}
.hero__slide.is-active{
  opacity:1;visibility:visible;
  transition:opacity 500ms var(--ease);
}
.hero__img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center;
}
.hero__scrim{
  position:absolute;inset:0;
  /* two-part scrim: left-to-right darkening behind the text plus a
     bottom darkening, so the eyebrow, title and buttons stay readable
     on bright photos (the old scrim only darkened the bottom 60%). */
  background:linear-gradient(90deg,rgba(46,42,38,.45) 0%,rgba(46,42,38,.18) 55%,rgba(46,42,38,0) 100%),
    linear-gradient(rgba(46,42,38,0) 35%,rgba(46,42,38,.78) 100%);
}
.hero__content{position:relative;z-index:2;padding-bottom:88px;color:var(--cream)}
/* hero eyebrow as a dark rectangular label — plain sand text vanished
   on bright photo areas, especially on phones */
.hero__content .eyebrow{display:inline-block;background:rgba(46,42,38,.55);color:var(--cream);padding:7px 14px;border-radius:4px}
.hero__title{color:var(--cream);margin-bottom:12px;font-size:clamp(38px,5.5vw,62px);line-height:1.08}
.hero__text{font-size:clamp(16px,2vw,20px);color:var(--cream);margin-bottom:24px;max-width:60ch}
.hero__actions{display:flex;flex-wrap:wrap;gap:16px}
.hero__actions .btn--primary{background:var(--amber);color:var(--charcoal)}
/* hero primary on tap: walnut fill + cream text (7.81:1) — the amber
   rest colour must change visibly, and the generic .btn--primary:active
   (walnut-dark) would lose to this rule in source order, so the tap
   state is set explicitly here. */
.hero__actions .btn--primary:active{background:var(--walnut);color:var(--cream);transform:translateY(1px)}

/* ---------- responsive ---------- */
@media (max-width:1199px){
  /* container-xl is 960px wide in this band (1140px only at >=1200px),
     and the 9-item menu no longer fits on one line — so the drawer
     (hamburger) takes over below 1200px, as it already does on mobile.
     The rules below are the same drawer rules that used to live in the
     991px block; <=991px still matches this block, so nothing changes
     on phones. */
  .brand img{height:40px}
  .site-header__in{gap:8px}
  .menu-btn{
    display:inline-flex;align-items:center;justify-content:center;
    width:44px;height:44px;flex:0 0 auto;order:3;
    border:0;border-radius:var(--radius-round);
    background:transparent;color:var(--charcoal);cursor:pointer;
  }
    .site-nav{
    position:absolute;top:100%;left:0;right:0;z-index:var(--z-nav);
    display:none;margin-left:0;
    background:var(--cream);border-bottom:1px solid var(--line);
  }
  .site-nav.is-open{display:block}
  .site-nav__list{flex-direction:column;gap:0}
  .site-nav__link{
    min-height:48px;padding:12px 24px;font-size:16px;
    border-bottom:1px solid var(--line);
  }
  .site-nav__link:last-child{border-bottom:0}
  .header-icons{margin-left:auto;order:2}
}

@media (max-width:991px){
  .section{padding:var(--space-8) 0}
}

@media (max-width:767px){
  .section{padding:var(--space-7) 0}
  .hero__track{height:520px}
  .hero__content{padding-bottom:80px}
  .brand img{height:40px}
}

@media (max-width:575px){
  /* compact header: the 336x64 wordmark is 210px wide at 40px tall,
     which pushed the hamburger off-screen — 28px tall (147px wide)
     plus 40px icon buttons leaves room for logo + 3 icons + hamburger */
  .site-header__in{gap:6px}
  .brand img{height:28px}
  .header-icons{gap:6px}
  .icon-btn{width:40px;height:40px}
  .menu-btn{width:40px;height:40px}
  .hero__actions .btn{flex:1 1 auto}
}

@media (max-width:375px){
  .hero__track{height:480px}
  .hero__title{font-size:26px}
  .hero__text{font-size:16px}
}

@media (max-width:360px){
  /* smallest phones: shrink the header once more so the hamburger
     still fits in the right corner */
  .brand img{height:24px}
  .icon-btn{width:36px;height:36px}
  .menu-btn{width:36px;height:36px}
  .header-icons{gap:4px}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  /* !important justified: motion must be fully off for users who ask for it */
  *,*::before,*::after{
    animation-duration:.01ms !important;
    transition-duration:.01ms !important;
  }
  html{scroll-behavior:auto}
  /* scroll reveal: fully visible, no fade, no rise */
  html.js .reveal{opacity:1;transform:none;transition:none}
}

/* ============================================================
   V5 FINAL — homepage sections, pages, components
   All fresh code. Tokens above are reused, never redefined.
   Cards are never the column: plain col wrapper outside,
   card inside with h-100, so the gutter stays visibly empty.
   ============================================================ */

/* ---------- section heads — left aligned, never centred ---------- */
.section-head{max-width:720px;margin-bottom:var(--space-5)}
.section-head h2:last-child,.section-head p:last-child{margin-bottom:0}
.section-head p{color:var(--charcoal-soft)}
.section--tone{background:var(--stone)}

/* ---------- inner page hero ---------- */
.page-hero{background:var(--stone);border-bottom:1px solid var(--line);padding:var(--space-6) 0 var(--space-5)}
.page-hero h1{margin-bottom:10px}
.page-hero p{color:var(--charcoal-soft);margin-bottom:0}
.crumbs{font-size:var(--small);color:var(--taupe-text);margin-bottom:16px}
.crumbs a{color:var(--taupe-text)}

/* ---------- shop by category — asymmetric grid ---------- */
.cat-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.cat-card{position:relative;display:block;overflow:hidden;border-radius:var(--radius);background:var(--ivory);transition:transform .45s var(--ease),box-shadow .45s var(--ease)}
.cat-card img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3;transition:transform .6s var(--ease)}
.cat-card--big{grid-row:span 2}
.cat-card--big img{aspect-ratio:auto;min-height:100%}
.cat-card__label{
  position:absolute;left:0;right:0;bottom:0;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:56px 20px 18px;color:var(--cream);
  background:linear-gradient(rgba(46,42,38,0),rgba(46,42,38,.78));
}
.cat-card__label strong{font-size:clamp(20px,2.5vw,26px);font-weight:500}
.cat-card__label span{font-size:var(--small);white-space:nowrap}

/* ---------- product cards ----------
   Haq Bahoo "Quick" card (v12, user-ordered): the card itself NEVER
   moves — no lift, no shadow change, no image zoom, no View chip.
   Rest state shows only photo, heart, title, category, price, desc.
   The Add to Cart pill lives in .product-card__actions below the
   price and slides up on hover (see the hover block). */
.product-card{
  display:flex;flex-direction:column;height:100%;
  background:var(--cream);border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;position:relative;
  transition:transform .45s var(--ease),box-shadow .45s var(--ease),border-color .45s var(--ease);
}
.product-card__img{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:var(--ivory)}
/* uniform 4:3 card image (v11) — every product fills the same slot;
   the old tall/square aspect buckets are gone */
/* (v12) the "View" chip is gone — Haq Bahoo has no such chip; the
   image + title remain the links to the product page */
.product-card__img img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
/* the bottom padding lives on .product-card__actions, not the body:
   on desktop the pill is translated 103% down, so the body must end
   exactly at the card's bottom edge for the pill to hide fully */
.product-card__body{display:flex;flex-direction:column;flex:1;padding:20px 20px 0}
.product-card__meta{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--taupe-text);margin-bottom:6px}
/* (v13) titles clamp to 2 lines: product names run to ~60 chars and
   would wrap to 3 lines on a 5-per-row card — the clamp keeps rows
   tidy. Full name stays on the product page. */
.product-card__title{font-size:22px;margin-bottom:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-card__title a{color:var(--charcoal)}
.product-card__actions{margin-top:auto;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px;padding-bottom:20px}
.product-card__actions .btn{width:100%}
/* (v15) the pill sits LEFT in a row with the two round icon buttons
   on its right; align-self:center keeps pill and icons on one line.
   Specificity (0,3,0) beats the .btn width:100% rule above
   (0,2,0), so order does not matter. The actions box stays
   full-width, so the 103% slide still hides it completely.
   Wishlist-page buttons keep width:100% (they are not .btn--pill) and wrap to their own rows. */
.product-card__actions .btn.btn--pill{width:auto;align-self:center;padding:10px 14px;font-size:15px}
.wish-btn{
  position:absolute;top:12px;right:12px;z-index:2;
  display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;border:0;border-radius:var(--radius-round);
  background:var(--cream);color:var(--charcoal);cursor:pointer;
  box-shadow:0 2px 8px rgba(46,42,38,.14);
  transition:transform var(--duration) var(--ease),color var(--duration) var(--ease);
}
.wish-btn[aria-pressed="true"]{color:var(--amber-dark)}
.wish-btn[aria-pressed="true"] svg{fill:var(--amber-dark)}
.wish-btn svg{transition:fill var(--duration) var(--ease)}
/* homepage bestsellers at 5/row (v13, Haq Bahoo grid): the card is
   ~250px wide in the 1320px container, so the body padding drops
   20px -> 16px and the title 22px -> 20px — price and pill stay
   legible without the card getting taller. The slide geometry is
   untouched: the 103% hide depends on .product-card__actions
   (48px pill + 20px bottom padding), not on body padding. */
@media (min-width:1200px){
  #bestGrid .product-card__body{padding:16px 16px 0}
  #bestGrid .product-card__title{font-size:20px}
}

/* featured bestseller — full-width split card */
.feature-card{
  display:flex;flex-direction:column;overflow:hidden;
  background:var(--cream);border:1px solid var(--line);border-radius:var(--radius);
  transition:box-shadow .45s var(--ease);
}
.feature-card__img{flex:0 0 50%;background:var(--ivory)}
.feature-card__img img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}
.feature-card__body{flex:1;padding:32px;display:flex;flex-direction:column;justify-content:center}
.feature-card__body .product-card__title{font-size:clamp(24px,3vw,32px)}
.feature-card__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}

/* ---------- our craft — split layout + numbered steps ---------- */
.craft__media{border-radius:var(--radius);overflow:hidden;background:var(--ivory)}
.craft__media img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}
.craft__body p{color:var(--charcoal-soft)}
.steps{list-style:none;margin:24px 0 0;padding:0}
.steps li{display:flex;gap:16px;padding:16px 0;border-top:1px solid var(--line)}
.steps li:last-child{border-bottom:1px solid var(--line)}
.steps__num{
  flex:0 0 44px;width:44px;height:44px;
  display:flex;align-items:center;justify-content:center;
  border:1.5px solid var(--amber-text);border-radius:var(--radius-round);
  color:var(--amber-text);font-size:20px;
}
.steps h3{font-size:19px;margin-bottom:4px}
.steps p{margin-bottom:0;font-size:15px;color:var(--charcoal-soft)}

/* ---------- gallery ---------- */
.tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:32px}
.tab{
  min-height:44px;padding:10px 18px;border:1px solid var(--line);
  border-radius:var(--radius-round);background:transparent;color:var(--charcoal);
  font-size:15px;cursor:pointer;
  transition:background-color var(--duration) var(--ease),color var(--duration) var(--ease),border-color var(--duration) var(--ease);
}
.tab[aria-selected="true"]{background:var(--walnut);border-color:var(--walnut);color:var(--cream)}
.gal-link{display:block;border-radius:var(--radius);text-decoration:none}
.gal-item{position:relative;display:block;overflow:hidden;border-radius:var(--radius);background:var(--ivory);margin:0}
.gal-item img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3;transition:transform 500ms var(--ease)}
.gal-item figcaption{
  position:absolute;left:0;right:0;bottom:0;
  padding:44px 16px 14px;color:var(--cream);font-size:15px;
  background:linear-gradient(rgba(46,42,38,0),rgba(46,42,38,.72));
}
/* caption text capped at 2 lines: -webkit-line-clamp is broken in this
   Chromium (draws the ellipsis but still shows line 3), so the inner
   span uses a plain max-height instead — 2 x 22.5px at line-height 1.5. */
.gal-item figcaption span{display:block;line-height:1.5;max-height:45px;overflow:hidden}
.gal-strip .gal-item{margin-bottom:0}

/* ---------- FAQ accordion ---------- */
.faq-group{margin-bottom:32px}
.faq-group h2{margin-bottom:16px}
.faq__item{border:1px solid var(--line);border-radius:var(--radius);background:var(--cream);margin-bottom:12px;overflow:hidden}
.faq__q{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  width:100%;min-height:56px;padding:16px 20px;border:0;
  background:transparent;color:var(--charcoal);font-size:17px;text-align:left;cursor:pointer;
}
.faq__icon{flex:0 0 auto;font-size:24px;color:var(--amber-text);transition:transform var(--duration) var(--ease)}
.faq__item.is-open .faq__icon{transform:rotate(45deg)}
.faq__a{display:none;padding:0 20px 20px;color:var(--charcoal-soft)}
.faq__a p:last-child{margin-bottom:0}
.faq__item.is-open .faq__a{display:block}

/* ---------- WhatsApp CTA band ---------- */
.cta-band{background:var(--walnut);color:var(--cream)}
.cta-band h2{color:var(--cream);margin-bottom:8px}
.cta-band p{color:var(--sand);margin-bottom:0}
.cta-band .btn--whatsapp{min-height:52px}

/* ---------- footer ---------- */
.site-footer{background:var(--charcoal);color:var(--stone);padding:var(--space-8) 0 0;margin-top:0}
.site-footer a{color:var(--stone)}
.site-footer h3{color:var(--cream);font-size:18px;margin-bottom:16px}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin-bottom:10px}
.site-footer p{color:var(--sand)}
.footer-brand .brand{margin-bottom:16px}
.footer-bottom{
  border-top:1px solid rgba(237,230,218,.2);
  margin-top:48px;padding:20px 0;
  font-size:var(--small);color:var(--taupe);
}
.footer-bottom p{margin-bottom:0}

/* ---------- mini-cart drawer ---------- */
.drawer-overlay{
  position:fixed;inset:0;z-index:var(--z-drawer-overlay);background:rgba(46,42,38,.45);
  border:0;padding:0;cursor:pointer;
}
.drawer-overlay[hidden]{display:none}
.drawer{
  position:fixed;top:0;right:0;bottom:0;z-index:var(--z-drawer);
  width:min(420px,92vw);display:flex;flex-direction:column;
  background:var(--cream);border-left:1px solid var(--line);
  transform:translateX(100%);
  transition:transform 300ms var(--ease);
}
.drawer.is-open{transform:translateX(0)}
.drawer__head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid var(--line)}
.drawer__head h2{margin-bottom:0;font-size:22px}
.drawer__body{flex:1;overflow-y:auto;padding:20px}
.drawer__foot{padding:20px;border-top:1px solid var(--line)}
.drawer__foot p{font-size:15px;color:var(--charcoal-soft)}
.drawer-item{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.drawer-item img{width:72px;height:72px;object-fit:cover;border-radius:var(--radius);flex:0 0 auto}
.drawer-item__name{font-size:15px;margin-bottom:2px}
.drawer-item__meta{font-size:13px;color:var(--taupe-text);margin-bottom:6px}
.qty-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:44px;min-height:44px;border:1px solid var(--line);
  border-radius:var(--radius);background:var(--cream);color:var(--charcoal);
  font-size:18px;cursor:pointer;
}
.link-btn{
  border:0;background:transparent;color:var(--amber-text);
  font-size:14px;cursor:pointer;min-height:44px;padding:12px 2px;text-decoration:underline;
}

/* ---------- live search ---------- */
.search-bar{display:none;border-bottom:1px solid var(--line);background:var(--cream)}
.search-bar.is-open{display:block}
.search-bar__in{position:relative;padding:16px 0}
.search-bar input{
  width:100%;min-height:52px;padding:12px 16px;
  border:1px solid var(--line);border-radius:var(--radius);
  background:var(--ivory);font-size:17px;color:var(--charcoal);
}
.search-bar input:focus{border-color:var(--amber-text);outline:none}
.search-drop{display:none;position:absolute;left:0;right:0;top:100%;z-index:var(--z-dropdown);background:var(--cream);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.search-drop.is-open{display:block}
.sugg{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line);color:var(--charcoal)}
.sugg img{width:56px;height:56px;object-fit:cover;border-radius:var(--radius);flex:0 0 auto}
.sugg__name{flex:1;min-width:0}
.sugg__name strong{display:block;font-size:15px;font-weight:500}
.sugg__name span{font-size:13px;color:var(--taupe-text)}
/* the search dropdown has no padding of its own — the centred CTA
   button inside it gets its spacing here (spacing only, not a
   button variant) */
.search-drop .cta-center{padding:14px 16px}
.sugg--empty{padding:16px;color:var(--charcoal-soft)}

/* ---------- toast ---------- */
.toast{
  position:fixed;left:50%;bottom:24px;z-index:var(--z-toast);
  transform:translate(-50%,16px);
  background:var(--charcoal);color:var(--cream);
  padding:12px 20px;border-radius:var(--radius);
  font-size:15px;opacity:0;visibility:hidden;
  transition:opacity var(--duration) var(--ease),transform var(--duration) var(--ease),visibility 0s linear var(--duration);
  max-width:calc(100vw - 32px);text-align:center;
}
.toast.is-show{opacity:1;visibility:visible;transform:translate(-50%,0)}
.toast__action{color:var(--cream);font-weight:700;text-decoration:underline;margin-left:10px;white-space:nowrap}

/* ---------- shop filters + results ---------- */
.filters{background:var(--cream);border:1px solid var(--line);border-radius:var(--radius);padding:22px}
.filters h2{font-size:20px;margin-bottom:16px}
.filters fieldset{border:0;margin:0 0 20px;padding:0}
.filters legend{font-size:15px;font-weight:700;margin-bottom:8px;padding:0}
.filters label{display:flex;align-items:center;gap:8px;min-height:44px;font-size:15px;cursor:pointer}
.filters input[type="checkbox"]{width:20px;height:20px;accent-color:var(--walnut);flex:0 0 auto}

/* ---------- sticky filter panel: stays put while the grid scrolls ----------
   Header is 83px tall at >=1200px (52px logo), 71px at 992-1199px
   (40px logo) and 59px on phones (28px logo), so the panel parks
   10-16px beneath it and never slides under the header. */
.shop-aside{align-self:flex-start}
@media (min-width:992px){
  .shop-aside{position:sticky;top:85px}
  .shop-search{top:85px}
  .filters{max-height:calc(100vh - 101px);overflow-y:auto}
}
@media (min-width:1200px){
  .shop-aside{top:93px}
  .shop-search{top:93px}
  .filters{max-height:calc(100vh - 109px)}
}
/* standalone shop search above the grid (moved out of the filter panel) —
   sticky like the filters, so it stays reachable while scrolling */
/* .field--search sets position:relative (for the dropdown anchor), which
   would beat this rule at equal specificity — so this selector is
   stronger and the search really is sticky. */
.field.shop-search{position:sticky;z-index:var(--z-sticky);background:var(--ivory);padding:8px 0;margin-bottom:20px}
.filters-clear{margin-top:4px}
/* mobile (<=991px): the filter panel collapses behind a sticky Filters bar.
   The bar sticks because its parent (.shop-aside) stretches to the tall
   .row — the old flex-start made the aside as short as the bar, so the
   bar could not stick and scrolled away. The panel opens below it when
   tapped; the search sticks below the bar (79px + 52px bar + 8px). */
.filters-toggle{display:none}
@media (max-width:991px){
  .shop-search{top:139px}
  .filters-toggle{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    width:100%;flex:0 0 100%;min-height:52px;padding:12px 18px;
    position:sticky;top:79px;z-index:var(--z-sticky);
    border:1px solid var(--line);border-radius:var(--radius);
    background:var(--cream);color:var(--charcoal);font-size:16px;font-weight:700;
    cursor:pointer;box-shadow:var(--shadow);text-align:left;
  }
  .filters-toggle__right{display:flex;align-items:center;gap:8px}
  .filters-toggle .arr{color:var(--amber-text);transition:transform var(--duration) var(--ease)}
  .filters-toggle[aria-expanded="true"] .arr{transform:rotate(180deg)}
  .filters-toggle__count{
    display:inline-flex;align-items:center;justify-content:center;
    min-width:24px;height:24px;padding:0 6px;border-radius:var(--radius);
    background:var(--walnut);color:var(--cream);font-size:13px;
  }
  .filters-toggle__count[hidden]{display:none}
  .filters{display:none}
  .filters.is-open{display:block}
}
.shop-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:24px}
.shop-bar p{margin-bottom:0;color:var(--charcoal-soft)}
.shop-bar select{min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:var(--radius);background:var(--cream);font-size:15px}

/* ---------- forms ---------- */
.form-card{background:var(--cream);border:1px solid var(--line);border-radius:var(--radius);padding:30px}
.field{margin-bottom:20px}
.field label{display:block;font-size:15px;font-weight:700;margin-bottom:6px}
.field input,.field select,.field textarea{
  width:100%;min-height:52px;padding:12px 14px;
  border:1px solid var(--line);border-radius:var(--radius);
  background:var(--ivory);font-size:16px;color:var(--charcoal);
}
.field textarea{min-height:120px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--amber-text);outline:none}
.field.is-invalid input,.field.is-invalid textarea{border-color:var(--error)}
.field__error{display:none;font-size:14px;color:var(--error);margin-top:6px}
.field.is-invalid .field__error{display:block}

/* ---------- cart page ---------- */
.cart-table{width:100%;border-collapse:collapse;background:var(--cream);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.cart-table th,.cart-table td{padding:14px 12px;text-align:left;border-bottom:1px solid var(--line);vertical-align:middle}
.cart-table th{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--taupe-text)}
.cart-table tr:last-child td{border-bottom:0}
.cart-table img{width:72px;height:72px;object-fit:cover;border-radius:var(--radius)}
.cart-table__wrap{overflow-x:auto}
.cart-note{margin:16px 0;color:var(--charcoal-soft)}
.empty{text-align:center;padding:56px 20px;background:var(--cream);border:1px solid var(--line);border-radius:var(--radius)}
.empty h2{margin-bottom:8px}
.empty p{margin:0 auto 20px;color:var(--charcoal-soft)}

/* ---------- product page ---------- */
.p-gallery{position:relative}
.p-gallery__main{border-radius:var(--radius);overflow:hidden;background:var(--ivory)}
.p-gallery__main img{width:100%;aspect-ratio:4/3;object-fit:cover}
/* uniform 4:3 main viewer (v11) — the old tall/square gallery buckets are gone */
.p-thumbs{display:flex;gap:12px;margin-top:12px}
.p-thumbs button{
  flex:0 0 96px;width:96px;height:72px;padding:0;border:2px solid var(--line);
  border-radius:var(--radius);overflow:hidden;background:var(--ivory);cursor:pointer;
}
.p-thumbs button img{width:100%;height:100%;object-fit:cover}
.p-thumbs button.is-active{border-color:var(--amber-text)}
.spec-table{width:100%;border-collapse:collapse;margin:16px 0}
.spec-table th,.spec-table td{padding:10px 0;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
.spec-table th{width:120px;color:var(--taupe-text);font-weight:400;padding-right:16px}
.p-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}
.sub-head{margin-top:48px}

/* ---------- floating WhatsApp button (every page, whole page) ---------- */
.float-wa{
  position:fixed;right:20px;bottom:20px;z-index:var(--z-float);
  display:flex;align-items:center;gap:10px;
  height:56px;padding:6px 18px 6px 14px;border-radius:var(--radius-round);
  background:var(--green);color:var(--cream);
  box-shadow:var(--shadow);
  overflow:hidden;isolation:isolate;
  transition:background-color .4s var(--ease),color .4s var(--ease),box-shadow .4s var(--ease),transform .4s var(--ease);
}
/* Technics shine sweep on the floating button too — same sheen as
   .btn::before, below the label (z-index:-1 + isolation) */
.float-wa::before{
  content:"";position:absolute;top:0;left:-100%;z-index:-1;
  width:60%;height:100%;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.35),transparent);
  transform:skewX(-25deg);transition:left .6s var(--ease);pointer-events:none;
}
.float-wa__label{font-size:15px;font-weight:700;white-space:nowrap}
.float-wa svg{flex:0 0 auto}

/* ---------- hover effects — desktop only ----------
   Transform + opacity only: no hover here moves layout,
   so nothing shifts. Every text colour pair below still
   passes 4.5:1 (checked: cream on walnut 7.81:1, cream on
   walnut-dark 10.42:1, cream on green-dark 7.24:1,
   amber-text on ivory 5.26:1, amber on charcoal 4.85:1).
   Buttons also carry the Technics shine sweep (user-ordered,
   2026-11-11): the ::before sheen slides left -100% -> 130%
   on hover. Every button hover declares its text colour
   explicitly — no hover state ever turns text black on a dark
   fill (the v10 WhatsApp bug was a background-only hover rule).
   Product cards: Haq Bahoo "Quick" slide-up (v12, pill rebuilt v13) —
   the pill is translated 103% down at rest and slides to 0 in smooth
   0.45s ease-out on card hover; :focus-within reveals it for keyboard users.
   The pill is walnut + cream text + cart icon, LEFT-ALIGNED
   under the price, with NO Technics sheen (the pill keeps no sheen). Blog cards are excluded (their Read button
   stays visible); touch devices never see this block, so the pill
   is always visible. */
@media (hover:hover){
  /* product cards — Luxury hover: the card lifts 4px with a soft
     shadow and the photo zooms 1.04, while the pill slides up,
     all smooth 0.45s ease-out, 103% -> 0. (The v15 "NO lift, NO zoom,
     NO shadow" rule is retired — the user asked for a nicer hover.) */
  .product-card .product-card__actions{transform:translateY(103%);transition:transform .45s var(--ease)}
  .product-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(46,42,38,.16);border-color:var(--sand)}
  .product-card:hover .product-card__img img{transform:scale(1.04)}
  .product-card:hover .product-card__actions,
  .product-card:focus-within .product-card__actions{transform:translateY(0)}
  .cat-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(46,42,38,.18)}
  .cat-card:hover img{transform:scale(1.04)}
  .gal-item:hover img{transform:scale(1.06)}
  .feature-card:hover{box-shadow:0 18px 36px rgba(46,42,38,.14)}
  /* buttons — Technics shine sweep: sheen slides across, button
     deepens + lifts -3px, text stays cream (never black) */
  .btn--primary:hover{background:var(--walnut-dark);color:var(--cream);transform:translateY(-3px);box-shadow:0 16px 32px rgba(107,74,47,.35)}
  .btn--primary:hover::before{left:130%}
  .btn--whatsapp:hover{background:var(--green-dark);color:var(--cream);transform:translateY(-3px);box-shadow:0 12px 24px rgba(21,122,63,.30)}
  .btn--whatsapp:hover::before{left:130%}
  .btn--outline:hover{background:var(--walnut);border-color:var(--walnut-dark);color:var(--cream);transform:translateY(-3px);box-shadow:0 10px 20px rgba(46,42,38,.15)}
  .btn--outline:hover::before{left:130%}
  /* Add to Cart pill — darker orange on hover, white text, NO sheen,
     NO lift (the slide-up is the pill's motion). Haq Bahoo-exact
     wins over the Technics shine FOR THE PILL ONLY (see §18). */
  .btn--pill:hover{background:var(--pill-dark);color:var(--cream);transform:translateY(-2px);box-shadow:0 8px 16px rgba(107,74,47,.30)}
  /* wishlist heart — fills gold on hover, stays filled when active.
     --amber-dark (4.15:1 on cream) not --amber (2.89:1, just under the
     3:1 icon threshold) so the filled heart keeps passing contrast. */
  .wish-btn:hover{transform:scale(1.1);color:var(--amber-dark)}
  .wish-btn:hover svg{fill:var(--amber-dark)}
  /* nav — gold underline slides in from the left */
  .site-nav__link:hover{color:var(--amber-text)}
  .site-nav__link:hover::after{transform:scaleX(1)}
  /* text arrows (→) nudge right with their link */
  a:hover .arr{transform:translateX(4px)}
  /* header / carousel / menu controls */
  .icon-btn:hover{background:var(--stone)}
  .menu-btn:hover{background:var(--stone)}
  .hero__actions .btn--primary:hover{background:var(--walnut-dark);color:var(--cream)}
  /* floating WhatsApp — Technics sheen + gentle scale + green-tinted shadow */
  .float-wa:hover{background:var(--green-dark);color:var(--cream);transform:scale(1.04);box-shadow:0 14px 30px rgba(21,122,63,.35)}
  .float-wa:hover::before{left:130%}
  /* small controls — border darkens, background tints */
  .p-thumbs button:hover{border-color:var(--amber-text)}
  .qty-btn:hover{border-color:var(--amber-text);background:var(--ivory)}
  .tab:hover{border-color:var(--walnut);background:rgba(107,74,47,.08);color:var(--walnut)}
  .tab[aria-selected="true"]:hover{background:var(--walnut-dark);border-color:var(--walnut-dark);color:var(--cream)}
  .chip:hover{border-color:var(--walnut);background:rgba(107,74,47,.08)}
  .faq__q:hover{background:var(--ivory)}
  .faq__q:hover .faq__icon{color:var(--amber-dark)}
  .link-btn:hover{color:var(--walnut)}
  .sugg:hover{background:var(--ivory)}
  .site-footer a:hover{color:var(--amber)}
  .crumbs a:hover{color:var(--amber-text)}
}

/* ---------- responsive additions ---------- */
@media (max-width:991px){
  .cat-grid{grid-template-columns:1fr}
  .cat-card--big{grid-row:auto}
  .cat-card--big img{aspect-ratio:4/3}
  .feature-card__img img{aspect-ratio:16/10}
  .float-wa{
    right:16px;bottom:calc(16px + env(safe-area-inset-bottom, 0px));
    width:56px;height:56px;padding:0;justify-content:center;border-radius:var(--radius-round);
  }
  .float-wa__label{display:none}
  .cart-table th:nth-child(1),.cart-table td:nth-child(1){display:none}
}

@media (max-width:767px){
  .p-thumbs button{flex-basis:72px;width:72px;height:54px}
  .form-card{padding:22px 20px}
  .drawer__body{padding:16px}
}

@media (max-width:575px){
  .feature-card__body{padding:24px 20px}
  /* narrow phones: action buttons stack full-width so their labels
     never wrap to two lines inside a half-width button */
  .hero__actions{flex-direction:column}
  .hero__actions .btn{flex:1 1 auto;width:100%}
  .p-actions{flex-direction:column}
  .p-actions .btn{flex:1 1 auto;width:100%}
  .feature-card__actions{flex-direction:column}
  .feature-card__actions .btn{width:100%}
  /* centred section CTAs stack full-width on narrow phones */
  .cta-center .btn{width:100%}
  /* mobile hero: shorter (less empty photo above the text) and a
     stronger scrim, since the cropped photo is brighter */
  .hero__track{height:clamp(460px,68vh,540px)}
  .hero__content{padding-bottom:64px}
  .hero__scrim{background:linear-gradient(90deg,rgba(46,42,38,.55) 0%,rgba(46,42,38,.30) 60%,rgba(46,42,38,.10) 100%),linear-gradient(rgba(46,42,38,.10) 0%,rgba(46,42,38,.82) 100%)}
}

/* block button (drawer checkout) */
.btn--block{width:100%}

/* material swatches */

/* feature card: side-by-side on desktop, stacked on mobile */
@media (min-width:992px){
  .feature-card{flex-direction:row}
  .feature-card__img img{aspect-ratio:auto;height:100%}
  /* two-column category grid: rows 280px, so the big tile (2 rows
     + gap) is 584 tall and the small tiles 280 — matches the
     800x600 category photos with no stretch */
  .cat-grid{grid-auto-rows:280px}
}

/* ---------- shared live-search dropdown (every search input) ---------- */
.field--search{position:relative}
.search-drop{max-height:340px;overflow-y:auto}
.sugg[aria-selected="true"]{background:var(--ivory)}

/* search result count (announced via aria-live) */
.search-count{color:var(--charcoal-soft);margin-bottom:24px}

/* popular-search chips on the search page empty state */
.chips{margin:0 auto 20px}
.chips__label{color:var(--charcoal-soft);margin-right:4px}
.chip{
  display:inline-flex;align-items:center;min-height:44px;
  padding:8px 18px;margin:4px;border:1px solid var(--line);
  border-radius:var(--radius-round);background:var(--ivory);color:var(--charcoal);
  font-size:15px;
}

/* 404 search form */
.notfound-search{max-width:520px;margin:24px auto 0;text-align:left}
.notfound-search .btn{width:100%}

/* small phones: keep suggestion rows inside the dropdown */
@media (max-width:575px){
  .sugg .btn{padding:8px 10px;font-size:13px;min-height:44px}
  .sugg img{width:48px;height:48px}
}

/* ============================================================
   Scroll reveal fade-up — the one animation, chosen by the user.
   Fresh code. Transform and opacity only, so nothing shifts
   layout: a hidden element keeps its space, it only fades and
   rises 24px into place. Reveal happens once per element.
   Hiding applies only when JS runs (html.js, added by main.js)
   — with JS off, or if the script fails to load, nothing is
   ever hidden. Stagger comes from --d (default 0s). The
   .reveal--d1 / --d2 / --d3 helper classes were removed in
   V5 Step 5 as unused.
   Reduced motion: fully visible, no transition, no transform
   (see the reduced-motion block above).
   What already exists stays as it is: hover transitions,
   hero carousel, drawer and toast motion.
   ============================================================ */
html.js .reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .6s var(--ease) var(--d,0s),transform .6s var(--ease) var(--d,0s);
}
html.js .reveal.is-visible{opacity:1;transform:translateY(0)}

/* ---------- v7 catalogue: prices, pagination, totals ---------- */
.product-card__price{margin:0 0 8px;font-size:1.125rem}
.product-card__price strong{color:var(--walnut)}
.product-card__price s{color:var(--taupe-text);font-size:.875rem;margin-left:6px}
.p-price{font-size:1.75rem;margin:0 0 12px}
.p-price strong{color:var(--walnut)}
.p-price s{color:var(--taupe-text);font-size:1.125rem;margin-left:8px}
.p-price__save{display:inline-block;margin-left:10px;padding:3px 12px 3px 16px;border-radius:4px;background:var(--error);color:var(--cream);font-size:.8125rem;font-weight:700;vertical-align:middle;clip-path:polygon(8px 0,100% 0,100% 100%,8px 100%,0 50%)}
.pagination{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:32px 0 0}
.page-btn{min-width:44px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:var(--radius);background:var(--cream);color:var(--charcoal);font-size:15px;cursor:pointer}
.page-btn.is-current{background:var(--walnut);color:var(--cream);border-color:var(--walnut)}
.page-btn:disabled{opacity:.45;cursor:default}
.page-ellipsis{align-self:center;padding:0 4px;color:var(--taupe-text)}
.drawer__total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:12px 0;border-top:1px solid var(--line);font-size:1.125rem}
.drawer__total strong{color:var(--walnut)}
.drawer-item__price{margin:2px 0 6px;color:var(--taupe-text);font-size:.875rem}
.drawer-item__line{margin-left:10px;font-weight:700;color:var(--walnut)}
.sugg__price{margin-left:auto;font-weight:700;color:var(--walnut);white-space:nowrap}
@media (hover:hover){
  .page-btn:hover{border-color:var(--walnut);color:var(--walnut);background:rgba(107,74,47,.08)}
}

/* ---------- v15 home additions (2026-11-11) ----------
   Stats band + biggest-savings list. Same tokens, same 200ms
   motion, no new colours, no gradients. */
.stats-band{background:var(--walnut);color:var(--cream)}
.stats-band h2{color:var(--cream)}
.stats-band .eyebrow{color:var(--sand)}
.stats-band__num{font-size:clamp(28px,3.5vw,40px);line-height:1.1;color:var(--cream);margin-bottom:4px}
.stats-band p{color:var(--sand);margin-bottom:0}
.stats-band .section-head p{color:var(--sand)}
.save-list{border-top:1px solid var(--line)}
.save-row{display:flex;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid var(--line);color:var(--charcoal)}
.save-row img{width:112px;height:84px;object-fit:cover;border-radius:var(--radius);flex:0 0 auto;background:var(--ivory)}
.save-row h3{font-size:20px;margin-bottom:2px}
.save-row p{margin-bottom:0;color:var(--charcoal-soft);font-size:15px}
.save-row__price{margin-left:auto;text-align:right;white-space:nowrap}
.save-row__price s{color:var(--taupe-text);font-size:15px;margin-right:8px}
.save-row__price strong{color:var(--walnut);font-size:18px}
.save-row__price .p-price__save{margin-left:8px}
@media (hover:hover){
  .save-row:hover{background:var(--stone)}
}
@media (max-width:767px){
  .save-row{flex-wrap:wrap}
  .save-row__price{margin-left:0;text-align:left}
}

/* ---------- v15 card icons (2026-11-11) ----------
   Two round icon buttons under the Add to Cart pill: view the
   product, and order it direct on WhatsApp. */
.card-icons{display:flex;gap:6px}
.card-icon-btn{width:44px;height:44px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:var(--radius-round);background:var(--cream);color:var(--charcoal);transition:transform var(--duration) var(--ease),border-color var(--duration) var(--ease),color var(--duration) var(--ease)}
.card-icon-btn--wa{color:var(--green)}
@media (hover:hover){
  .card-icon-btn:hover{border-color:var(--walnut);color:var(--walnut);transform:scale(1.08)}
  .card-icon-btn--wa:hover{border-color:var(--green);color:var(--green)}
}

/* ---------- v15 section polish (2026-11-11) ----------
   Materials count pill, right-aligned in each row. */
@media (max-width:575px){
}

/* ---------- v15 final (2026-11-11) ----------
   Mobile home: 6 bestsellers (12 on tablet/desktop) — one screen
   of products instead of an endless scroll. The 2-column grid stays. */
@media (max-width:767px){
  #bestGrid > :nth-child(n+7){display:none}
}
