/* ============================================================
   NAÏSOUN — Design System
   Atelier algérien · prêt-à-porter, cérémonie & patrimoine
   ============================================================ */

:root {
  /* — Palette : base bone/greige chaude + 1 accent argile — */
  --bone:      #F2ECE2;
  --bone-2:    #EAE1D2;
  --cream:     #F8F4EC;
  --paper:     #FBF8F2;
  --ink:       #221C15;
  --ink-2:     #4A4136;
  --ink-soft:  #756A5A;
  --line:      #DCD1BD;
  --line-soft: #E7DECE;
  --clay:      #A14E2E;   /* accent — terre cuite algérienne */
  --clay-deep: #7C3A1E;
  --forest:    #2C3A30;   /* patrimoine / cérémonie sombre */
  --gold:      #BC9A5F;
  --ok:        #3E6B4E;
  --err:       #B4452E;

  /* — Type — */
  --serif: "Fraunces", "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* — Espacement / rythme — */
  /* Section-level rhythm uses the tokens below. Component-level margin/padding/gap
     stick to tenths of a rem (.2/.3/.4/.5/.6/.7/.8/.9/1/1.2…) — no .35/.45/.55/.65/.85
     one-offs; round to the nearest tenth instead of eyeballing a new value. */
  --gut: clamp(18px, 3.4vw, 56px);
  --sec: clamp(30px, 3.4vw, 56px);
  --sec-sm: clamp(22px, 2.6vw, 38px);
  --maxw: 1500px;
  --topbar-h: 34px;
  --nav-h: 60px;

  /* — Détails — */
  --r:   4px;
  --r-lg: 10px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px -32px rgba(34,28,21,.35);
  --shadow-card: 0 18px 40px -28px rgba(34,28,21,.4);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  font-family: var(--sans);
  background: var(--bone);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* overflow-x:hidden alone forces overflow-y to compute as auto (CSS Overflow spec),
     turning body into an accidental scroll container that breaks position:sticky for
     descendants (e.g. the PDP info column). overflow-x:clip blocks horizontal bleed
     the same way without that side effect. */
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--clay); color: var(--paper); }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Typography ---------- */
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 380; line-height: 1.1; letter-spacing: -0.018em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.9rem); letter-spacing: -0.01em; }
.serif-italic { font-style: italic; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--ink-2); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
}
.eyebrow.muted { color: var(--ink-soft); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.section { padding-block: var(--sec); }
.section-sm { padding-block: var(--sec-sm); }
.center { text-align: center; }
.fade-grad { background: linear-gradient(180deg, var(--bone), var(--cream)); }
.shead-sub { color: var(--ink-soft); max-width: 42ch; margin-top: .7rem; font-size: .95rem; }
.dfoot-note { text-align: center; font-size: .74rem; color: var(--ink-soft); margin-top: .8rem; }

/* hero cta block */
.hero-cta { display: flex; flex-direction: column; gap: .9rem; align-items: flex-start; }
.hero-deliv { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; letter-spacing: .02em; color: rgba(248,244,236,.92); }
.hero-deliv svg { width: 19px; flex: none; }

/* ---------- Reveal animation (GSAP-driven, CSS fallback) ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); }
.is-ready [data-reveal] { will-change: transform, opacity; }
html.no-js [data-reveal], .reduce [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--clay); pointer-events: none;
  transform: translate(-50%, -50%); mix-blend-mode: multiply;
  transition: width .3s var(--ease), height .3s var(--ease), background .3s, opacity .3s;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 38px; height: 38px; border: 1px solid var(--ink);
  border-radius: 50%; pointer-events: none; opacity: .35;
  transform: translate(-50%, -50%);
}
body.cursor-hover .cursor { width: 0; height: 0; }
body.cursor-hover .cursor-ring { width: 64px; height: 64px; opacity: .9; background: rgba(161,78,46,.06); border-color: var(--clay); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ring { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: .6em; padding: 1.05em 2.1em;
  background: var(--bg); color: var(--fg);
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 999px; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), transform .5s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--clay); transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn.clay { --bg: var(--clay); }
.btn.clay::after { background: var(--ink); }
.btn.ghost { --bg: transparent; --fg: var(--ink); border: 1px solid var(--ink); }
.btn.ghost::after { background: var(--ink); }
.btn.ghost:hover { color: var(--paper); }
.btn.block { width: 100%; }
.btn.lg { padding: 1.3em 2.6em; font-size: .9rem; }

.link-u {
  position: relative; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding-bottom: 3px;
}
.link-u::after { content:""; position:absolute; left:0; bottom:0; width:100%; height:1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

.magnetic { display: inline-block; }

/* ---------- Top stack: announcement + nav in ONE fixed wrapper ---------- */
.site-top {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 200; background: var(--bone);
  transition: transform .5s var(--ease), background .45s var(--ease), box-shadow .45s;
}
body.has-hero .site-top { background: transparent; }
.site-top.solid { background: var(--bone); box-shadow: 0 1px 0 var(--line); }
.site-top.hide { transform: translateY(-100%); }

.topbar { background: var(--ink); color: var(--paper); overflow: hidden; height: var(--topbar-h); transition: height .4s var(--ease), opacity .3s; }
.site-top.compact .topbar { height: 0; opacity: 0; }

/* content padding tracks the header's own collapse (in sync, same duration/easing) so
   there's no static gap left behind once the topbar shrinks — scroll moves content
   directly, not through dead space. body.hdr-compact is toggled by initHeader() in app.js */
.pdp-top { padding-top: calc(var(--topbar-h) + var(--nav-h) + 1.6rem); transition: padding-top .4s var(--ease); }
body.hdr-compact .pdp-top { padding-top: calc(var(--nav-h) + 1.6rem); }
.topbar .track { display: flex; white-space: nowrap; will-change: transform; height: var(--topbar-h); align-items: center; }
.topbar .track span { padding: 0 1.6rem; font-size: .67rem; letter-spacing: .15em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .5rem; }
.topbar .track span b { color: var(--gold); font-weight: 600; }

.header { width: 100%; }
.header .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; height: var(--nav-h); padding: 0 var(--gut); }
.bar-side { display: flex; align-items: center; gap: 1.7rem; }
.bar-side.right { justify-content: flex-end; gap: 1.2rem; }

/* light header over hero (until solid) */
body.has-hero .site-top:not(.solid) .brand,
body.has-hero .site-top:not(.solid) .nav-left a,
body.has-hero .site-top:not(.solid) .icon-btn { color: var(--paper); }
body.has-hero .site-top:not(.solid) .brand small { color: rgba(248,244,236,.85); }
body.has-hero .site-top:not(.solid) .burger span { background: var(--paper); }
body.has-hero .site-top:not(.solid) .brand,
body.has-hero .site-top:not(.solid) .nav-left a,
body.has-hero .site-top:not(.solid) .icon-btn { text-shadow: 0 1px 16px rgba(20,15,10,.5); }
body.has-hero .header:not(.solid) .nav-left a::after { background: var(--paper); }
body.has-hero .header:not(.solid) .burger span { background: var(--paper); }

.nav-left { display: flex; align-items: center; gap: 1.7rem; }
.nav-left a, .nav-right a, .nav-right button { font-size: .82rem; font-weight: 500; letter-spacing: .03em; }
.nav-left a { position: relative; }
.nav-left a::after { content:""; position:absolute; left:0; bottom:-4px; width:100%; height:1px; background: var(--ink); transform: scaleX(0); transform-origin:right; transition: transform .4s var(--ease); }
.nav-left a:hover::after { transform: scaleX(1); transform-origin:left; }

/* ---- desktop dropdown nav ---- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { display: inline-flex; align-items: center; gap: 4px; }
.nv-caret { opacity: .7; transition: transform .3s var(--ease); margin-top: 1px; }
.nav-item.has-sub:hover .nv-caret { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); padding-top: 14px; min-width: 210px; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease); z-index: 210; }
.nav-item.has-sub:hover .dropdown, .nav-item.has-sub:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dd-inner { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: .5rem; }
.dd-inner a { padding: .5rem .8rem; font-size: .85rem; color: var(--ink-2) !important; text-shadow: none !important; border-radius: 4px; white-space: nowrap; transition: background .2s, color .2s; }
.dd-inner a::after { display: none; }
.dd-inner a:hover { background: var(--bone-2); color: var(--ink) !important; }
.dd-all { color: var(--clay) !important; font-weight: 600; border-top: 1px solid var(--line-soft); margin-top: .25rem; padding-top: .6rem !important; }

/* ---- mobile menu groups ---- */
.mm-nav { display: flex; flex-direction: column; }
.mm-link, .mm-toggle { font-family: var(--serif); font-size: 1.7rem; padding: .5rem 0; border-bottom: 1px solid var(--line-soft); width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; color: var(--ink); }
.mm-plus { font-family: var(--sans); font-size: 1.5rem; color: var(--clay); transition: transform .3s var(--ease); }
.mm-group.open .mm-plus { transform: rotate(45deg); }
.mm-subs { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); display: flex; flex-direction: column; }
.mm-group.open .mm-subs { max-height: 360px; }
.mm-subs a { font-family: var(--sans); font-size: 1rem; padding: .5rem 0 .5rem 1.1rem; color: var(--ink-2); border-bottom: 1px solid var(--line-soft); }

/* ---- empty collection ---- */
.empty-shop { text-align: center; max-width: 460px; margin: clamp(2rem,5vw,4rem) auto; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.empty-shop .es-emblem { width: 46px; height: 64px; color: var(--clay); opacity: .8; margin-bottom: .5rem; }
.empty-shop p { color: var(--ink-soft); margin-bottom: 1rem; }

/* ---- footer columns ---- */
.foot-col h4 { display: flex; align-items: center; justify-content: space-between; }
.fc-plus { display: none; }

.brand {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--serif); font-weight: 400; font-size: 1.5rem; letter-spacing: .12em;
  text-transform: uppercase; line-height: 1; white-space: nowrap;
}
.brand-emblem { width: 17px; height: 24px; flex: none; color: currentColor; }

.icon-btn { position: relative; display: inline-flex; align-items: center; gap: .4rem; }
.cart-count {
  position: absolute; top: -8px; right: -10px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--clay); color: var(--paper); border-radius: 999px;
  font-size: .62rem; font-weight: 700; display: grid; place-items: center;
}
/* 44x44 tap target (WCAG) around a visually-unchanged 22px icon — the icon
   used to BE the hit area (24x15px), smallest touch target on the site and
   the first thing every mobile visitor hits. */
.burger { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; margin: -15px -10px; }
.burger span { width: 22px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.only-lg { display: inline-flex; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 190; background: var(--bone);
  transform: translateY(-100%); transition: transform .6s var(--ease);
  display: flex; flex-direction: column; padding: 5.5rem var(--gut) 2rem; gap: .2rem; overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu .mm-foot { margin-top: auto; padding-top: 1.5rem; display:flex; gap:1.2rem; font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color: var(--ink-soft); }

/* ============================================================
   HERO — signature scroll-into-image
   ============================================================ */
/* recolorable brand emblem (CSS mask → background-color) */
.emblem { display: inline-block; -webkit-mask: url("../assets/emblem.svg") no-repeat center / contain; mask: url("../assets/emblem.svg") no-repeat center / contain; background-color: currentColor; }

/* ============================================================
   POLISH — focus, states, image grade, skeletons, numerals
   ============================================================ */
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 3px; }
.btn:focus-visible { outline-offset: 4px; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn.is-loading { pointer-events: none; color: transparent !important; }
.btn.is-loading::before { content:""; position:absolute; width:18px; height:18px; border:2px solid var(--paper); border-top-color: transparent; border-radius:50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* tabular figures wherever numbers align */
.price, .price-block, .order-summary, .ci-pr, .hs-price, .osum, .dfoot .v, .stock-line, .citem .ci-pr, .review .stars + p { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* unify the mixed photography into one warm grade */
.pcard .media img, .cat img, .lb img, .gallery .slide img, .hero-shop .hs-img, .citem .ci-img img, .split .ph img { filter: saturate(.95) contrast(1.02) sepia(.05); }

/* premium image-load skeleton (removed once the image paints) */
.media:not(.ld)::before, .cat:not(.ld)::before, .lb:not(.ld)::before {
  content:""; position:absolute; inset:0;
  background: linear-gradient(100deg, var(--bone-2) 25%, var(--cream) 50%, var(--bone-2) 75%);
  background-size: 200% 100%; animation: shimmer 1.5s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* touch targets ≥ 44px */
.qty button { width: 44px; height: 46px; }
.icon-btn { min-width: 40px; min-height: 40px; justify-content: center; }

/* 404 */
.notfound { min-height: 82vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(8rem,14vh,11rem) var(--gut) var(--sec); gap: .8rem; }
.notfound .nf-emblem { width: 54px; height: 76px; color: var(--clay); opacity: .85; margin-bottom: .6rem; }
.notfound h1 { font-size: clamp(2.2rem,6vw,4.2rem); max-width: 16ch; }
.notfound h1 em { font-style: italic; color: var(--clay); }
.notfound p { color: var(--ink-soft); max-width: 46ch; }
.nf-cta { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; margin-top: 1.2rem; }

.hero { position: relative; height: 78svh; min-height: 500px; max-height: 760px; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(1.16); will-change: transform; }
/* per-image framing (mobile) — each hero photo has a different composition */
.hero-slide:nth-child(1) img { object-position: 50% 14%; } /* full body, face high, centered */
.hero-slide:nth-child(2) img { object-position: 47% 10%; } /* profile, face very high, slightly left */
.hero-slide:nth-child(3) img { object-position: 50% 20%; } /* arms up, face upper-centre */
.hero-slide:nth-child(4) img { object-position: 40% 24%; } /* over-shoulder, face left */
.hero-media::after { content:""; position:absolute; inset:0; z-index: 2; background:
  linear-gradient(180deg, rgba(24,18,12,.22) 0%, rgba(24,18,12,0) 28%, rgba(24,18,12,.10) 62%, rgba(24,18,12,.52) 100%),
  linear-gradient(90deg, rgba(24,18,12,.34) 0%, rgba(24,18,12,0) 48%); }
/* very subtle right arrow — desktop only, ghost style, brightens on hover */
.hero-next { display: none; }
@media (min-width: 981px) {
  .hero-next {
    display: grid; place-items: center; position: absolute; top: 50%; right: clamp(1.2rem, 2.4vw, 2.4rem);
    transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%;
    color: var(--ink); opacity: .45; transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .hero-next svg { width: 20px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.15)); }
  .hero-next:hover { opacity: .9; transform: translateY(-50%) translateX(3px); }
}
.hero-inner {
  position: absolute; inset: 0; z-index: 3; color: var(--paper);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  padding: 0 var(--gut) clamp(2.4rem, 6vh, 5rem);
}
.hero-text { max-width: 42ch; }
.hero-emblem { width: 44px; height: 62px; color: var(--paper); opacity: .92; margin-bottom: 1rem; }
.hero-inner .eyebrow { color: var(--gold); }
.hero h1 { color: var(--paper); max-width: 15ch; font-weight: 340; margin-top: .4rem; }
.hero h1 em { font-style: italic; color: #f3e7d6; }
.hero-cta { display: flex; flex-direction: column; gap: .9rem; align-items: flex-start; margin-top: 1.6rem; }
.hero-deliv { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; color: rgba(248,244,236,.92); }
.hero-deliv svg { width: 19px; flex: none; }

/* shoppable best-seller card in the hero (serves the sale) */
.hero-shop { display: flex; align-items: center; gap: .9rem; background: rgba(251,248,242,.93); backdrop-filter: blur(8px); border-radius: var(--r); padding: .7rem; color: var(--ink); width: min(330px, 82vw); box-shadow: var(--shadow); transition: transform .5s var(--ease); flex: none; }
.hero-shop:hover { transform: translateY(-4px); }
.hero-shop .hs-img { width: 62px; height: 78px; border-radius: 3px; object-fit: cover; flex: none; background: var(--bone-2); }
.hero-shop .hs-tag { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); font-weight: 700; }
.hero-shop .hs-name { font-family: var(--serif); font-size: 1.02rem; line-height: 1.05; margin: .15rem 0 .2rem; }
.hero-shop .hs-price { font-size: .84rem; color: var(--ink-2); }
.hero-shop .hs-go { margin-left: auto; align-self: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; flex: none; transition: background .3s; }
.hero-shop:hover .hs-go { background: var(--clay); }
.hero-shop .hs-go svg { width: 16px; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 4; color: var(--paper); display: flex; flex-direction: column; align-items: center; gap: .5rem; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.scroll-cue .line { width: 1px; height: 42px; background: rgba(255,255,255,.5); overflow: hidden; position: relative; }
.scroll-cue .line::after { content:""; position:absolute; inset:0; background: var(--gold); transform: translateY(-100%); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0%{transform:translateY(-100%)} 50%{transform:translateY(0)} 100%{transform:translateY(100%)} }

/* ---------- Hero: editorial split on desktop ---------- */
@media (min-width: 981px) {
  .hero {
    display: grid; grid-template-columns: 1.06fr 0.94fr; align-items: stretch;
    height: calc(min(92svh, 900px) - 40px); min-height: 580px; max-height: none; background: var(--cream);
  }
  .hero-media { position: relative; inset: auto; height: 100%; }
  /* per-image framing (desktop split — taller crop, favour the face) */
  .hero-slide img { transform: scale(1.04); }
  .hero-slide:nth-child(1) img { object-position: 50% 16% !important; } /* full body: keep face + torso, trim feet */
  .hero-slide:nth-child(2) img { object-position: 47% 14% !important; } /* profile, high face */
  .hero-slide:nth-child(3) img { object-position: 50% 22% !important; } /* arms up */
  .hero-slide:nth-child(4) img { object-position: 42% 28% !important; } /* face left-of-centre */
  .hero-media::after { background: linear-gradient(180deg, rgba(24,18,12,0) 64%, rgba(24,18,12,.30) 100%); }
  .hero-inner {
    position: relative; inset: auto; order: -1; background: var(--cream); color: var(--ink);
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.4rem; padding: clamp(3rem, 5vw, 6rem) clamp(2.4rem, 4.6vw, 5.5rem);
  }
  .hero-inner .eyebrow { color: var(--clay); }
  .hero-emblem { color: var(--clay); opacity: 1; }
  .hero h1 { color: var(--ink); max-width: 13ch; }
  .hero h1 em { color: var(--clay); }
  .hero-deliv { color: var(--ink-2); }
  .hero-cta { margin-top: .4rem; }
  .hero-shop { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); width: min(340px, 100%); }
  .scroll-cue { display: none; }
  /* dark header text — both hero halves are light at the top */
  body.has-hero .site-top:not(.solid) .brand,
  body.has-hero .site-top:not(.solid) .nav-left a,
  body.has-hero .site-top:not(.solid) .icon-btn { color: var(--ink); text-shadow: none; }
  body.has-hero .site-top:not(.solid) .brand small { color: var(--ink-soft); }
  body.has-hero .header:not(.solid) .nav-left a::after,
  body.has-hero .site-top:not(.solid) .burger span { background: var(--ink); }
}

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--cream); }
.trust .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust .item { display: flex; gap: .75rem; align-items: center; justify-content: center; padding: 1rem var(--gut); border-left: 1px solid var(--line-soft); }
.trust .item:first-child { border-left: none; }
.trust .item svg { width: 23px; height: 23px; flex: none; stroke: var(--clay); }
.trust .item b { display: block; font-size: .82rem; font-weight: 600; }
.trust .item span { font-size: .72rem; color: var(--ink-soft); }

/* ---------- Section heading ---------- */
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(1rem, 1.8vw, 1.7rem); }
.shead .ttl { max-width: 40ch; }
.shead .eyebrow { margin-bottom: .5rem; display: block; }
.shead h2 em { font-style: italic; color: var(--clay); }
.shead .link-u { flex: none; white-space: nowrap; }
/* header variants — break the monotony of title-left every time */
.shead.center { flex-direction: column; align-items: center; text-align: center; gap: .4rem; }
.shead.center .ttl { max-width: 34ch; }
@media (min-width: 981px) {
  /* the 34ch cap is sized for the default 16px font, not the large serif h2 it
     wraps — on desktop it clips short titles ("Robes et traditions") onto two
     lines for no reason. Let the title breathe; the section width still bounds it. */
  .shead.center .ttl { max-width: none; }
}
.shead.center .shead-sub { margin-inline: auto; }
.shead.editorial { align-items: flex-start; }
.shead.editorial .ttl { display: flex; align-items: baseline; gap: 1.2rem; max-width: none; }
.shead.editorial .s-no { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 5rem); line-height: .8; color: var(--line); flex: none; }
.shead.editorial h2 { font-size: clamp(2rem, 5.6vw, 4.6rem); }

/* ============================================================
   CATEGORY TILES
   ============================================================ */
.cats { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1vw, 18px); }
.cat {
  position: relative; overflow: hidden; border-radius: var(--r); background: var(--bone-2);
  aspect-ratio: 3 / 4; display: block;
}
.cat:nth-child(1) { grid-column: span 5; }
.cat:nth-child(2) { grid-column: span 7; }
.cat:nth-child(3) { grid-column: span 7; }
.cat:nth-child(4) { grid-column: span 5; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.cat:hover img { transform: scale(1.06); }
.cat::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(20,15,10,0) 40%, rgba(20,15,10,.55)); }
.cat .lbl { position: absolute; left: 0; bottom: 0; z-index: 2; padding: clamp(1.2rem,2vw,2rem); color: var(--paper); width: 100%; }
.cat .lbl h3 { color: var(--paper); }
.cat .lbl .go { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .5rem; opacity: .9; }
.cat .lbl .go svg { width: 16px; transition: transform .4s var(--ease); }
.cat:hover .lbl .go svg { transform: translateX(5px); }

/* ============================================================
   RAILS (horizontal carousels)
   ============================================================ */
.rail { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); cursor: grab; }
.rail:active { cursor: grabbing; }
.rail::-webkit-scrollbar { display: none; }
.rail-track { display: flex; gap: clamp(12px, 1.1vw, 20px); width: max-content; padding-block: 4px; }
.rail .pcard { width: clamp(208px, 22vw, 290px); flex: none; scroll-snap-align: start; margin-bottom: 0; }

/* collections — clean equal 4-up grid */
.cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1vw, 16px); }
.cats-grid .cat { grid-column: auto; aspect-ratio: 3 / 4; }
.cats-grid .cat img { object-position: 50% 26%; }
/* single univers — wide feature banner instead of one quarter-width orphan tile */
.cats-grid.single { grid-template-columns: 1fr; }
.cats-grid.single .cat { aspect-ratio: 21 / 8; }
.cats-grid.single .cat .lbl { padding: clamp(1.6rem, 3vw, 3rem); }
.cats-grid.single .cat .lbl h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 30px) clamp(12px,1.2vw,22px); }
.pcard { position: relative; display: block; }
.pcard .media {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r);
  background: var(--bone-2); margin-bottom: .9rem;
}
.pcard .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.1s var(--ease); }
.pcard .media img.b { opacity: 0; }
.pcard:hover .media img.a { opacity: 0; }
.pcard:hover .media img.b { opacity: 1; transform: scale(1.04); }
/* brand signature top-left on every product image (Loro Piana / Hugo Boss style) */
.pcard .media .pcard-brand {
  position: absolute; top: 11px; left: 13px; z-index: 3;
  font-family: var(--serif); font-weight: 400; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1; white-space: nowrap;
  color: var(--ink); pointer-events: none; text-shadow: 0 0 10px rgba(251,248,242,.55);
}
.pcard .save-btn {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(251,248,242,.9); backdrop-filter: blur(4px); color: var(--ink); display: grid; place-items: center;
  transition: background .25s, color .25s, transform .25s;
}
.pcard .save-btn svg { width: 16px; }
.pcard .save-btn:hover { transform: scale(1.08); }
.pcard .save-btn.active { background: var(--ink); color: var(--gold); }
.pcard .save-btn.active svg { fill: currentColor; }
.pcard .quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3;
  background: var(--paper); color: var(--ink); border-radius: 999px;
  padding: .9rem; text-align: center; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transform: translateY(calc(100% + 14px)); opacity: 0;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.pcard:hover .quick { transform: translateY(0); opacity: 1; }
/* card info — Loro Piana style: name + price only, centred, stacked */
.pcard .pinfo { display: block; text-align: center; }
.pcard .pname { font-family: var(--serif); font-size: 1.02rem; font-weight: 400; }
.pcard .price { font-size: .84rem; color: var(--ink-2); margin-top: .3rem; white-space: nowrap; }

/* ============================================================
   EDITORIAL SPLIT / STORY
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 6rem); }
.split.rev { direction: rtl; } .split.rev > * { direction: ltr; }
.split .ph { aspect-ratio: 4/5; overflow: hidden; border-radius: var(--r); background: var(--bone-2); }
.split .ph img { width: 100%; height: 100%; object-fit: cover; }
.split .txt h2 { margin-bottom: 1.2rem; }
.split .txt h2 em { font-style: italic; color: var(--clay); }
.split .txt p + p { margin-top: 1rem; }
.split .txt .btn { margin-top: 2rem; }

.story-dark { background: var(--forest); color: var(--paper); }
.story-dark .eyebrow { color: var(--gold); }
.story-dark h2 { color: var(--paper); }
.story-dark h2 em { color: var(--gold); }
.story-dark .lead { color: rgba(248,244,236,.8); }
.figures { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.16); padding-top: 2.4rem; }
.figures .f .n { font-family: var(--serif); font-size: clamp(2.4rem,5vw,3.6rem); color: var(--gold); line-height: 1; }
.figures .f p { font-size: .82rem; letter-spacing: .04em; color: rgba(248,244,236,.7); margin-top: .5rem; }

/* ============================================================
   LOOKBOOK marquee
   ============================================================ */
.lookbook { overflow: hidden; }
.lb-track { display: flex; gap: 16px; will-change: transform; padding-inline: var(--gut); }
.lb-track .lb { position: relative; flex: none; width: clamp(190px, 21vw, 290px); aspect-ratio: 3/4; border-radius: var(--r); overflow: hidden; background: var(--bone-2); }
.lb-track .lb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.lb-track .lb:hover img { transform: scale(1.05); }
.lb-track .lb::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 55%, rgba(20,15,10,.55)); }
.lb-track .lb-name { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: var(--paper); font-family: var(--serif); font-size: 1.15rem; }

/* ---------- Newsletter ---------- */
.news { background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: clamp(2.4rem,5vw,4.5rem); text-align: center; }
.news h2 { color: var(--paper); max-width: 16ch; margin: 0 auto 1rem; }
.news h2 em { font-style: italic; color: var(--gold); }
.news p { color: rgba(248,244,236,.72); max-width: 46ch; margin: 0 auto 2rem; }
.news form { display: flex; gap: .6rem; max-width: 480px; margin: 0 auto; }
.news input { flex: 1; background: transparent; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 1em 1.4em; color: var(--paper); }
.news input::placeholder { color: rgba(248,244,236,.5); }
.news .btn { --bg: var(--paper); --fg: var(--ink); }
.news .btn::after { background: var(--clay); }
.news .btn:hover { color: var(--paper); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--cream); border-top: 1px solid var(--line); padding-top: clamp(2.2rem,3.4vw,3.2rem); }
.footer .top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 1.8rem; }
.footer .brand-col .brand { text-align: left; font-size: 2rem; }
.footer .brand-col p { color: var(--ink-soft); font-size: .9rem; max-width: 34ch; margin-top: .9rem; }
.footer h4 { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .8rem; }
.footer ul li { margin-bottom: .5rem; }
.footer ul a { font-size: .9rem; color: var(--ink-2); }
.footer ul a:hover { color: var(--clay); }
.footer .socials { display: flex; gap: 1rem; margin-top: 1.1rem; }
.footer .socials a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.footer .socials a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.footer .socials svg { width: 17px; height: 17px; }
.footer .bottom { border-top: 1px solid var(--line); padding-block: .9rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; font-size: .78rem; color: var(--ink-soft); }
.pay-badges { display: flex; gap: .5rem; align-items: center; }
.pay-badges span { border: 1px solid var(--line); border-radius: 4px; padding: .3rem .6rem; font-size: .68rem; letter-spacing: .06em; }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-head { padding-top: clamp(8rem, 12vh, 11rem); padding-bottom: clamp(1.6rem,3vw,2.4rem); }
.crumbs { font-size: .76rem; color: var(--ink-soft); letter-spacing: .04em; margin-bottom: 1rem; }
.crumbs a:hover { color: var(--clay); }
.page-head h1 { font-size: clamp(2rem,4vw,3.2rem); }
.page-head p { color: var(--ink-soft); max-width: 56ch; margin-top: .8rem; }

/* ============================================================
   SHOP / PLP — centred head · HB round pills · LP hairline toolbar
   ============================================================ */
.shop-head { text-align: center; padding-bottom: 0; }
.shop-head h1 { margin-top: .4rem; }
.shop-crumbs { justify-content: center; display: block; }
.shop-crumbs span:not(.sep) { color: var(--ink-soft); }

/* round sub-category pills (Hugo Boss) — one horizontal rail, centred,
   scrollable on mobile without a visible scrollbar */
.cat-pills { display: flex; gap: clamp(1rem, 2.4vw, 1.9rem); overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; padding: clamp(1.4rem, 2.6vw, 2rem) var(--gut) .4rem; }
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pill { display: flex; flex-direction: column; align-items: center; gap: .5rem; flex: none; width: 78px; }
/* centres the rail when it fits, scrolls cleanly from the left edge when it doesn't */
.cat-pill:first-child { margin-left: auto; }
.cat-pill:last-child { margin-right: auto; }
.cat-pill .cp-img { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--bone-2); box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; transition: box-shadow .25s var(--ease); }
.cat-pill .cp-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; filter: saturate(.95) contrast(1.02) sepia(.05); }
.cat-pill .cp-img .emblem { width: 20px; height: 28px; color: var(--clay); opacity: .75; }
.cat-pill .cp-lbl { font-size: .69rem; line-height: 1.25; text-align: center; color: var(--ink-2); letter-spacing: .02em; }
.cat-pill:hover .cp-img { box-shadow: 0 0 0 1.5px var(--ink-soft); }
.cat-pill.active .cp-img { box-shadow: 0 0 0 1px var(--bone), 0 0 0 2.5px var(--ink); }
.cat-pill.active .cp-lbl { color: var(--ink); font-weight: 600; }

/* hairline toolbar (Loro Piana): count · sort on one quiet line */
.toolline { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(1.2rem, 2.4vw, 1.8rem); }
.toolline .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.toolline .count { font-size: .78rem; color: var(--ink-soft); letter-spacing: .02em; }
.toolline select { border: none; background: transparent; font-size: .8rem; color: var(--ink-2); cursor: pointer; appearance: none; padding: .3em 1.6em .3em .2em;
  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='%23756A5A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .2em center; }

/* ============================================================
   PDP — Product detail
   ============================================================ */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 3vw, 3.4rem); align-items: start; }
/* gallery slider */
.gallery { position: sticky; top: calc(var(--nav-h) + 16px); align-self: start; }
.gallery .stage { position: relative; border-radius: var(--r); overflow: hidden; background: var(--bone-2); aspect-ratio: 4/5; touch-action: pan-y; }
.gallery .slides { display: flex; height: 100%; transition: transform .6s var(--ease); }
.gallery .slide { min-width: 100%; height: 100%; }
.gallery .slide img, .gallery .slide video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gnav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 38px; height: 38px; border-radius: 50%; background: rgba(251,248,242,.85); color: var(--ink); font-size: 1.4rem; line-height: 1; display: grid; place-items: center; box-shadow: 0 6px 18px -10px rgba(0,0,0,.4); transition: background .25s; }
.gnav:hover { background: var(--paper); }
.gnav.prev { left: 12px; } .gnav.next { right: 12px; }
.dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 6px; }
.dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.55); cursor: pointer; transition: width .3s, background .3s; }
.dots i.active { width: 20px; background: var(--paper); }
.video-tag { position: absolute; bottom: 14px; right: 14px; z-index: 4; display: inline-flex; align-items: center; gap: .4rem; background: rgba(34,28,21,.7); color: var(--paper); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; padding: .5rem .75rem; border-radius: 999px; backdrop-filter: blur(6px); }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.thumbs button { aspect-ratio: 3/4; border-radius: var(--r); overflow: hidden; background: var(--bone-2); border: 2px solid transparent; transition: border-color .3s; position: relative; }
.thumbs button.active { border-color: var(--ink); }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button .vico { position:absolute; inset:0; display:grid; place-items:center; background:rgba(0,0,0,.25); }
.thumbs button .vico svg { width: 20px; stroke: #fff; fill: rgba(255,255,255,.9); }

/* desktop stacked gallery (Hugo Boss layout: big images left, info right) */
.gstack { display: none; }
.gstack .gs { border-radius: var(--r); overflow: hidden; background: var(--bone-2); cursor: zoom-in; }
.gstack .gs img, .gstack .gs video { width: 100%; height: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; filter: saturate(.95) contrast(1.02) sepia(.05); }
.gallery .stage .slide { cursor: zoom-in; }

/* fullscreen image zoom / lightbox (Hugo Boss style) */
.img-zoom { position: fixed; inset: 0; z-index: 400; background: var(--paper); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.img-zoom.show { opacity: 1; visibility: visible; }
/* brand wordmark — same typography as the main menu, without the emblem */
.zoom-brand { position: fixed; top: 16px; left: 18px; z-index: 3; font-family: var(--serif); font-weight: 400; font-size: 1.32rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1; white-space: nowrap; color: var(--ink); }
.zoom-stage { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
/* mobile: fill the whole screen */
.zoom-stage img { width: 100vw; height: 100vh; height: 100dvh; object-fit: cover; transition: transform .35s var(--ease); }
.zoom-stage.zoomed img { transform: scale(2.3); transition: transform .15s var(--ease); }
.zoom-close { position: fixed; top: 14px; right: 16px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 1.05rem; color: var(--ink); background: rgba(251,248,242,.6); transition: background .25s; }
.zoom-close:hover { background: var(--paper); }
.zoom-nav { position: fixed; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; line-height: 1; color: var(--ink); background: rgba(251,248,242,.55); transition: background .25s; }
.zoom-nav:hover { background: var(--paper); }
.zoom-nav.prev { left: 12px; } .zoom-nav.next { right: 12px; }
.zoom-thumbs { display: none; }
.zoom-dots { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 9px; }
.zoom-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(34,28,21,.28); transition: background .25s; }
.zoom-dots i.active { background: var(--ink); }

@media (min-width: 981px) {
  /* desktop: contained image + thumbnail strip (like the reference) */
  .zoom-stage img { width: auto; height: auto; max-width: 82vw; max-height: 94vh; object-fit: contain; cursor: zoom-in; }
  .zoom-stage.zoomed img { cursor: zoom-out; }
  .zoom-brand { top: 22px; left: 26px; font-size: 1.5rem; }
  .zoom-close { top: 20px; right: 24px; width: 44px; height: 44px; background: transparent; }
  .zoom-close:hover { background: rgba(34,28,21,.06); }
  .zoom-nav { width: 48px; height: 48px; background: transparent; font-size: 1.9rem; }
  .zoom-nav.prev { left: 16px; } .zoom-nav.next { right: 16px; }
  .zoom-dots { display: none; }
  .zoom-thumbs { display: flex; position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 3; gap: 6px; }
  .zoom-thumbs .zt { width: 44px; height: 58px; border-radius: 3px; overflow: hidden; opacity: .45; border: 1px solid transparent; transition: opacity .25s, border-color .25s; }
  .zoom-thumbs .zt:hover { opacity: .8; }
  .zoom-thumbs .zt.active { opacity: 1; border-color: var(--ink); }
  .zoom-thumbs .zt img { width: 100%; height: 100%; object-fit: cover; display: block; }
}

@media (min-width: 981px) {
  .pdp { grid-template-columns: 1.55fr 1fr; }
  /* pull the gallery almost to the viewport edge — keep the page's own gutter only on the right (info column) */
  .gallery { position: static; margin-left: calc(-1 * (var(--gut) - 6px)); width: calc(100% + (var(--gut) - 6px)); }
  .gallery .stage, .gallery .thumbs { display: none; }
  .gstack { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .gstack .gs:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .gstack .gs:last-child:nth-child(odd) img { aspect-ratio: 3/2; }
  /* Loro Piana / Hugo Boss pattern: images scroll with the page, the info column
     is plain sticky — no internal scroll pane. The column CONTENT is kept short
     enough to fit the viewport (description & details live in the accordion). */
  .pinfo-col { position: sticky; top: calc(var(--nav-h) + 12px); align-self: start; }
  .pinfo-col .deliv-promise { display: none; } /* duplicates the Livraison accordion on desktop */
  /* Hugo Boss / Joop scale: small, subtle, classy — everything sized down */
  .pdp .pinfo-col h1 { font-size: 1.5rem; font-weight: 420; margin: .5rem 0 .4rem; letter-spacing: .01em; }
  .pinfo-col .price-block { margin-bottom: 1.3rem; }
  .pinfo-col .price-block .now { font-size: 1.05rem; }
  .pinfo-col .opt-group { margin-bottom: 1rem; }
  .pinfo-col .opt-group .lbl { font-size: .66rem; margin-bottom: .5rem; }
  .pinfo-col .color-btn { width: 28px; height: 28px; }
  .pinfo-col .size-btn { min-width: 42px; min-height: 36px; padding: .5em .8em; font-size: .78rem; }
  .pinfo-col .btn.lg { padding: 1em 1.8em; font-size: .74rem; }
  .pinfo-col .btn.block:not(.lg) { padding: .85em 1.6em; font-size: .72rem; }
  .pinfo-col .cod-reassure { margin-top: .7rem !important; }
  .pinfo-col .cod-reassure span { font-size: .68rem; }
  .pinfo-col .acc { margin-top: .8rem !important; }
  .pinfo-col .acc .q { padding: .7rem 0; font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
  .pinfo-col .acc .a p, .pinfo-col .acc .a li { font-size: .84rem; }
  /* trim the pure spacing (not the content itself) around description & features —
     this is what buys back sticky "hold" room against the image column's height */
  .pinfo-col .pdesc-block { margin-top: .9rem; padding-top: .9rem; }
  .pinfo-col .pdesc-h { font-size: .78rem; }
  .pinfo-col .pdesc { font-size: .86rem; line-height: 1.5; }
  .pinfo-col .pfeatures { margin-top: .9rem; padding-top: .8rem; }
  .pinfo-col .pfeatures li { padding: .4rem 0; font-size: .82rem; }
}

/* delivery promise on PDP */
.deliv-promise { display: grid; gap: .5rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: .9rem 1rem; margin: 1rem 0 1.3rem; }
.deliv-promise .dp { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--ink-2); }
.deliv-promise .dp svg { width: 20px; flex: none; stroke: var(--clay); }
.deliv-promise .dp b { color: var(--ink); font-weight: 600; }
@media (max-width: 980px) { .deliv-promise { display: none; } }

/* info column */
/* breadcrumbs — left-aligned, in normal page flow (Hugo Boss style).
   Two copies in the markup (mobile: above the gallery · desktop: top of the
   info column) — only one is ever displayed, swapped by breakpoint. */
.pcrumbs { font-size: .7rem; color: var(--ink-soft); letter-spacing: .02em; line-height: 1.5; }
.pcrumbs a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .25s; }
.pcrumbs a:hover { color: var(--clay); }
.pcrumbs .sep { margin: 0 .45em; color: var(--ink-soft); }
.pcrumbs-mobile { display: none; margin: -1.2rem 0 .9rem; text-align:center; }
.pcrumbs-desktop { margin-top: .3rem; }
@media (max-width: 980px) {
  .pcrumbs-mobile { display: block; }
  .pcrumbs-desktop { display: none; }
}
.pinfo-col h1 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin: .5rem 0 .8rem; }
.rating-row { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.2rem; font-size: .82rem; color: var(--ink-soft); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; fill: currentColor; }
.price-block { display: flex; align-items: baseline; gap: .8rem; margin-bottom: 1.4rem; }
.price-block .now { font-family: var(--serif); font-size: 2rem; }
.price-block .now.sale { color: var(--clay); }
.price-block .was { text-decoration: line-through; color: var(--ink-soft); font-size: 1.1rem; }
.price-block .save { background: var(--clay); color: var(--paper); font-size: .7rem; font-weight: 700; padding: .3rem .6rem; border-radius: 4px; letter-spacing: .05em; }
.pdesc { color: var(--ink-2); line-height: 1.65; margin-bottom: 1.6rem; }
/* description moved below the order CTAs */
.pdesc-block { margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.pdesc-h { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .7rem; }
.pdesc-block .pdesc { margin-bottom: 0; }

.opt-group { margin-bottom: 1.4rem; }
.opt-group .lbl { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .6rem; }
.opt-group .lbl .pick { color: var(--ink-soft); font-weight: 400; text-transform: none; letter-spacing: 0; }
.sizes, .colors { display: flex; gap: .5rem; flex-wrap: wrap; }
.size-btn { min-width: 48px; min-height: 44px; padding: .7em .9em; border: 1px solid var(--line); border-radius: var(--r); font-size: .85rem; font-weight: 500; transition: border-color .25s, background .25s, color .25s; }
.size-btn:hover { border-color: var(--ink); }
.size-btn.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.color-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); position: relative; }
.color-btn.active { box-shadow: 0 0 0 2px var(--bone), 0 0 0 3.5px var(--ink); }

/* ============================================================
   COD ORDER FORM — conversion centerpiece
   ============================================================ */
.cod {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.05rem, 1.8vw, 1.5rem); box-shadow: var(--shadow-card); margin-top: 1.5rem;
}
.cod-head { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.cod-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(62,107,78,.18); }
.cod-head h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: .01em; }
.cod-head .pay-pill { margin-left: auto; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(62,107,78,.12); color: var(--ok); padding: .4rem .7rem; border-radius: 999px; }
.field { margin-bottom: .7rem; }
.field label { display: block; font-size: .73rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); margin-bottom: .3rem; }
.field input, .field select {
  width: 100%; padding: .8em 1em; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .25s, background .25s; min-height: 46px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--clay); background: var(--paper); }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.field input.err, .field select.err { border-color: var(--err); background: #fbeee9; }
.field .msg { font-size: .72rem; color: var(--err); margin-top: .3rem; display: none; }
.field input.err ~ .msg, .field select.err ~ .msg { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.field select { appearance: none; cursor: pointer;
  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='%23756A5A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; }

.delivery-opts { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-bottom: .9rem; }
.delivery-opts label {
  display: flex; flex-direction: column; gap: .15rem; padding: .85em 1em; border: 1px solid var(--line); border-radius: var(--r);
  cursor: pointer; transition: border-color .25s, background .25s; position: relative;
}
.delivery-opts label:has(input:checked) { border-color: var(--ink); background: var(--cream); }
.delivery-opts label input { position: absolute; opacity: 0; }
.delivery-opts label .t { font-size: .82rem; font-weight: 600; }
.delivery-opts label .p { font-size: .8rem; color: var(--clay); font-weight: 600; }

.qty-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 44px; height: 46px; font-size: 1.1rem; display: grid; place-items: center; transition: background .2s; }
.qty button:hover { background: var(--bone-2); }
.qty input { width: 40px; text-align: center; border: none; background: transparent; font-weight: 600; }

.order-summary { border-top: 1px dashed var(--line); margin-top: .4rem; padding-top: 1rem; }
.order-summary .ln { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: .5rem; color: var(--ink-2); }
.order-summary .ln.total { font-size: 1.15rem; font-weight: 700; color: var(--ink); border-top: 1px solid var(--line); padding-top: .8rem; margin-top: .4rem; }
.order-summary .ln.total .v { font-family: var(--serif); }
.cod .btn { margin-top: 1rem; }
.cod-reassure { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1rem; font-size: .76rem; color: var(--ink-soft); }
.cod-reassure span { display: inline-flex; align-items: center; gap: .4rem; }
.cod-reassure svg { width: 14px; height: 14px; stroke: var(--ok); }
.wa-line { text-align: center; margin-top: .9rem; font-size: .82rem; color: var(--ink-soft); }
.wa-line a { color: var(--clay); font-weight: 600; }

/* urgency */
.urgency { display: flex; align-items: center; gap: .6rem; background: rgba(161,78,46,.08); border: 1px solid rgba(161,78,46,.2); border-radius: var(--r); padding: .7em 1em; margin-bottom: 1.2rem; font-size: .82rem; }
.urgency .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); position: relative; flex: none; }
.urgency .pulse::after { content:""; position:absolute; inset:-4px; border-radius:50%; background: var(--clay); opacity:.4; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0%{transform:scale(.6);opacity:.5} 100%{transform:scale(2.2);opacity:0} }
.stock-line { font-size: .8rem; color: var(--ink-soft); margin-bottom: 1rem; }
.stock-bar { height: 5px; background: var(--line-soft); border-radius: 999px; overflow: hidden; margin-top: .4rem; }
.stock-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--clay), var(--clay-deep)); border-radius: 999px; }

/* feature list */
.pfeatures { margin-top: 1.8rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.pfeatures li { display: flex; gap: .7rem; padding: .5rem 0; font-size: .9rem; color: var(--ink-2); }
.pfeatures li svg { width: 17px; flex: none; stroke: var(--clay); margin-top: 2px; }

/* mobile sticky order bar */
.sticky-buy {
  position: fixed; left: 0; bottom: 0; width: 100%; z-index: 150; display: none;
  background: var(--paper); border-top: 1px solid var(--line); padding: .7rem var(--gut);
  box-shadow: 0 -10px 30px -20px rgba(0,0,0,.4); align-items: center; gap: 1rem;
  transform: translateY(100%); transition: transform .4s var(--ease);
}
.sticky-buy.show { transform: translateY(0); }
.sticky-buy .sp { flex: 1; }
.sticky-buy .sp .nm { font-size: .82rem; font-weight: 600; }
.sticky-buy .sp .pr { font-family: var(--serif); font-size: 1.1rem; color: var(--clay); }
.sticky-buy .btn { padding: 1em 1.6em; }

/* reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; }
.review { background: var(--cream); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 1.4rem; }
.review .stars { margin-bottom: .7rem; }
.review p { font-size: .92rem; color: var(--ink-2); margin-bottom: .9rem; }
.review .who { display: flex; align-items: center; gap: .6rem; font-size: .82rem; }
.review .who .av { width: 34px; height: 34px; border-radius: 50%; background: var(--clay); color: var(--paper); display: grid; place-items: center; font-weight: 700; font-size: .82rem; }
.review .who b { font-weight: 600; }
.review .who .v { color: var(--ok); font-size: .72rem; display: inline-flex; align-items: center; gap: .25rem; }

/* accordion */
.acc { border-top: 1px solid var(--line); }
.acc .item { border-bottom: 1px solid var(--line); }
.acc .q { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 1.2rem 0; font-size: 1rem; font-weight: 500; text-align: left; }
.acc .q .ico { display: inline-flex; flex: none; transition: transform .4s var(--ease); }
.acc .q .ico svg { width: 12px; height: auto; fill: var(--clay); display: block; }
.acc .item.open .q .ico { transform: rotate(180deg); }
.acc .a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.acc .a p { padding-bottom: 1.3rem; color: var(--ink-2); }

/* ============================================================
   GARANTIE NAÏSOUN (bloc de réassurance)
   ============================================================ */
.garantie { margin-top: clamp(2.4rem,5vw,3.6rem); padding-top: clamp(2rem,4vw,3rem); border-top: 1px solid var(--line); }
.g-card { background: var(--forest); color: var(--paper); border-radius: var(--r-lg); padding: clamp(1.4rem,2.4vw,2rem); max-width: 560px; margin: 0 auto; }
.g-badge { display: inline-block; align-self: center; width: fit-content; text-align: center; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .4rem .9rem; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.g-live { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 1.1rem 0; font-weight: 600; font-size: .95rem; }
.g-dot { width: 9px; height: 9px; border-radius: 50%; background: #6fbf8b; box-shadow: 0 0 0 4px rgba(111,191,139,.2); flex: none; animation: g-dot-pulse 2s ease-in-out infinite; }
@keyframes g-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(111,191,139,.2), 0 0 6px 1px rgba(111,191,139,.5); }
  50% { box-shadow: 0 0 0 7px rgba(111,191,139,.08), 0 0 10px 3px rgba(111,191,139,.9); }
}
.g-steps { display: flex; flex-direction: column; gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--r); overflow: hidden; }
.g-step { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; background: rgba(34,28,21,.25); transition: transform .3s var(--ease), background .3s; }
.g-step:hover { transform: translateY(-4px); background: rgba(34,28,21,.4); }
.g-no { font-family: var(--serif); font-size: 1.25rem; color: var(--gold); width: 26px; flex: none; }
.g-txt b { display: block; font-size: .92rem; }
.g-txt small { color: rgba(248,244,236,.6); font-size: .73rem; letter-spacing: .02em; }
.g-note { font-size: .87rem; color: rgba(248,244,236,.78); margin: 1.1rem 0; line-height: 1.55; }
.g-note b { color: var(--paper); }
.g-btn { display: block; text-align: center; background: rgba(251,248,242,.94); color: var(--ink); border-radius: 999px; padding: .9rem; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: background .3s; }
.g-btn:hover { background: var(--gold); }
.g-foot { text-align: center; font-size: .71rem; color: rgba(248,244,236,.5); margin-top: 1rem; letter-spacing: .03em; }

/* ---------- quand la garantie est à côté des avis : plus compacte ---------- */
#garantie-mount .garantie {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
#garantie-mount .g-card {
  max-width: none;
  margin: 0;
  padding: 1rem 1.2rem;   /* moins de marge interne */
}
#garantie-mount .g-live {
  margin: .5rem 0;       /* moins d'espace */
  font-size: .82rem;
}
#garantie-mount .g-step {
  padding: .5rem .7rem;    /* step moins haute */
}
#garantie-mount .g-no {
  font-size: 1.05rem;
}
#garantie-mount .g-note {
  margin: .6rem 0;       /* moins d'espace */
  font-size: .76rem;
}
#garantie-mount .g-btn {
  padding: .7rem;       /* bouton moins haut */
  font-size: .74rem;
}
#garantie-mount .g-foot {
  margin-top: .4rem;
}

/* ---------- reviews + garantie : reviews à gauche (65%), garantie à droite (35%) ---------- */
.reviews-row {
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: 2.5rem;
  align-items: stretch;
}

.reviews-row > * {
  min-height: 0;
  min-width: 0; /* let the narrower garantie column actually shrink instead of overflowing */
}

/* desktop: la garantie ne s'étire plus sur toute la hauteur des avis — elle garde
   sa taille naturelle (compacte) et se centre verticalement dans la colonne */
#garantie-mount {
  display: flex;
  flex-direction: column;
  align-self: center;
  transform: translateY(30px); /* nudge down from center — margin gets halved by align-self:center, transform doesn't */
}

#garantie-mount .garantie {
  margin: 0;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
}

#garantie-mount .g-card {
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: clamp(1.2rem, 2.2vw, 1.6rem);
}

/* compacte, structure inchangée */
#garantie-mount .g-live { margin: 0; font-size: .82rem; }
#garantie-mount .g-step { padding: .5rem .7rem; }
#garantie-mount .g-no { font-size: 1.05rem; }
#garantie-mount .g-note { margin: 0; font-size: .76rem; }
#garantie-mount .g-btn { padding: .7rem; font-size: .74rem; }
#garantie-mount .g-foot { margin-top: -8px; } /* pulls it closer to the note, tighter than the general flex gap */

@media (max-width: 980px) {
  /* ---------- reviews | garantie, 65/35, tablette ---------- */
  .reviews-row {
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: 2.5rem;
  align-items: start;
  }
  #garantie-mount { align-self: start; transform: none; } /* mobile: keep the original top-aligned stacking, not desktop's vertical centering/offset */
  #garantie-mount .garantie {
    position: static;
  }
  #garantie-mount .g-card {
    gap: 0; /* mobile spacing comes from each child's own margin, not the desktop gap */
    padding: clamp(1.4rem, 2.4vw, 2rem);
  }
  /* restaure tailles normales sur mobile */
  #garantie-mount .g-live { margin: 1.1rem 0; font-size: .95rem; }
  #garantie-mount .g-step { padding: .9rem 1rem; }
  #garantie-mount .g-note { margin: 1.1rem 0; font-size: .87rem; }
  #garantie-mount .g-btn { padding: .9rem; font-size: .8rem; }
  #garantie-mount .g-foot { margin-top: 1rem; }
}
@media (max-width: 760px) {
  /* phone: stack — garantie underneath reviews, not squeezed side by side.
     order must be reset here or the desktop flip would put garantie on top. */
  .reviews-row { grid-template-columns: 1fr; gap: 2rem; }
  #garantie-mount { margin-top: .5rem; order: initial; }
  #reviews-mount { order: initial; }

  /* phone: ~10% smaller & tighter overall, plus an extra-tight note→foot gap */
  #garantie-mount .g-card { padding: clamp(1.26rem, 2.16vw, 1.8rem); }
  #garantie-mount .g-badge { font-size: .576rem; padding: .315rem .81rem; }
  #garantie-mount .g-live { margin: .7rem 0; font-size: .855rem; }
  #garantie-mount .g-step { padding: .765rem .9rem; }
  #garantie-mount .g-no { font-size: .945rem; }
  #garantie-mount .g-txt b { font-size: .828rem; }
  #garantie-mount .g-txt small { font-size: .657rem; }
  #garantie-mount .g-note { font-size: .783rem; margin: .7rem 0 .4rem; }
  #garantie-mount .g-foot { font-size: .639rem; margin-top: .4rem; }
}
/* ============================================================
   ORDER POPUP (formulaire COD en pop-up)
   ============================================================ */
.order-pop { background: var(--paper); border-radius: var(--r-lg); width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto; padding: clamp(1.3rem,2.4vw,1.9rem); position: relative; transform: translateY(24px); transition: transform .5s var(--ease); }
.order-ov.show .order-pop { transform: translateY(0); }
.order-close { position: absolute; top: .9rem; right: 1rem; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; color: var(--ink-soft); background: var(--bone-2); transition: background .2s; z-index: 2; }
.order-close:hover { background: var(--line); }
.op-head { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; padding-right: 2.4rem; }
.op-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(62,107,78,.18); flex: none; }
.op-head h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; }
.op-head .pay-pill { margin-left: auto; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(62,107,78,.12); color: var(--ok); padding: .4rem .7rem; border-radius: 999px; }
.op-recap { display: flex; align-items: center; gap: .9rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: .7rem; margin-bottom: 1rem; }
.op-img { width: 54px; height: 68px; object-fit: cover; border-radius: 4px; flex: none; }
.op-info { flex: 1; min-width: 0; }
.op-nm { font-weight: 600; font-size: .92rem; }
.op-meta { font-size: .76rem; color: var(--ink-soft); margin-top: .2rem; }
.op-recap .qty { flex: none; }
.cod.plain { background: none; border: none; box-shadow: none; padding: 0; margin: 0; }

/* "bientôt" universe tile */
.cat.is-soon .cat-soon { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, var(--forest), #20281f); }
.cat.is-soon .cat-soon .emblem { width: 42px; height: 60px; color: rgba(255,255,255,.4); }
.cat .cat-tag { position: absolute; top: 14px; right: 14px; z-index: 3; background: var(--gold); color: var(--ink); font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; }

/* ============================================================
   CART DRAWER
   ============================================================ */
.overlay { position: fixed; inset: 0; background: rgba(34,28,21,.45); z-index: 300; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.overlay.show { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%); z-index: 310;
  background: var(--bone); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .5s var(--ease);
}
.drawer.open { transform: translateX(0); }
.drawer .dhead { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem var(--gut); border-bottom: 1px solid var(--line); }
.drawer .dhead h3 { font-family: var(--sans); font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.drawer .dbody { flex: 1; overflow-y: auto; padding: 1rem var(--gut); }
.drawer .dfoot { padding: 1.4rem var(--gut); border-top: 1px solid var(--line); background: var(--cream); }
.drawer .dfoot .ln { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 1rem; }
.drawer .dfoot .ln .v { font-family: var(--serif); font-size: 1.3rem; }
.citem { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.citem .ci-img { aspect-ratio: 3/4; border-radius: var(--r); overflow: hidden; background: var(--bone-2); }
.citem .ci-img img { width: 100%; height: 100%; object-fit: cover; }
.citem .ci-nm { font-size: .9rem; font-weight: 600; }
.citem .ci-meta { font-size: .76rem; color: var(--ink-soft); margin: .2rem 0 .5rem; }
.citem .ci-q { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.citem .ci-q button { width: 26px; height: 26px; display: grid; place-items: center; }
.citem .ci-q span { width: 26px; text-align: center; font-size: .82rem; }
.citem .ci-pr { text-align: right; font-family: var(--serif); }
.citem .ci-rm { font-size: .7rem; color: var(--ink-soft); margin-top: .4rem; }
.citem .ci-rm:hover { color: var(--err); }
.empty-cart { text-align: center; padding: 3rem 1rem; color: var(--ink-soft); }
.empty-cart svg { width: 48px; stroke: var(--line); margin-bottom: 1rem; }

/* ============================================================
   CHECKOUT page
   ============================================================ */
.checkout { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.5rem,4vw,4rem); align-items: start; }
.osum { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; position: sticky; top: 90px; }
.osum h3 { font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.2rem; }
.osum .citem { grid-template-columns: 60px 1fr auto; }

/* ============================================================
   TOAST + SUCCESS MODAL
   ============================================================ */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 140%); z-index: 400; background: var(--ink); color: var(--paper); padding: .9rem 1.4rem; border-radius: 999px; font-size: .86rem; display: flex; align-items: center; gap: .6rem; box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 17px; stroke: var(--gold); }

.modal-ov { position: fixed; inset: 0; z-index: 500; background: rgba(34,28,21,.55); display: grid; place-items: center; padding: 1.5rem; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.modal-ov.show { opacity: 1; visibility: visible; }
.modal { background: var(--paper); border-radius: var(--r-lg); max-width: 440px; width: 100%; padding: clamp(2rem,4vw,3rem); text-align: center; transform: translateY(20px); transition: transform .5s var(--ease); }
.modal-ov.show .modal { transform: translateY(0); }
.modal .check { width: 70px; height: 70px; border-radius: 50%; background: rgba(62,107,78,.12); display: grid; place-items: center; margin: 0 auto 1.4rem; }
.modal .check svg { width: 34px; stroke: var(--ok); stroke-width: 2.5; }
.modal h3 { font-size: 1.7rem; margin-bottom: .7rem; }
.modal p { color: var(--ink-soft); margin-bottom: 1.6rem; }
.modal .oref { background: var(--cream); border: 1px dashed var(--line); border-radius: var(--r); padding: .8rem; font-size: .82rem; margin-bottom: 1.6rem; }
.modal .oref b { font-family: var(--serif); font-size: 1.1rem; color: var(--clay); }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader { position: fixed; inset: 0; z-index: 1000; background: var(--ink); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1.05rem; }
.preloader .pl-emblem { width: 62px; height: 88px; color: var(--paper); clip-path: inset(100% 0 0 0); opacity: 0; }
.preloader .pl-word { font-family: var(--serif); color: var(--paper); font-size: 1.05rem; letter-spacing: .42em; text-transform: uppercase; text-indent: .42em; opacity: 0; }
.preloader .pl-bar { width: 150px; height: 1px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; margin-top: .3rem; }
.preloader .pl-bar i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.preloader .pl-num { color: rgba(248,244,236,.55); font-size: .72rem; letter-spacing: .2em; }
html.loaded .preloader { pointer-events: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .footer .top { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
}
@media (max-width: 980px) {
  .nav-left { display: none; }
  .burger { display: flex; }
  .only-lg { display: none; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; margin-inline: calc(-1 * var(--gut)); } /* full-bleed like the reference PDPs */
  .gallery .stage { aspect-ratio: auto; height: 70svh; max-height: 660px; min-height: 400px; border-radius: 0; }
  .gnav { display: none; } /* touch: swipe + dots only, no side arrows */
  .thumbs { display: none; } /* mobile: no image strip below the main photo, like the reference PDPs */
  .checkout { grid-template-columns: 1fr; }
  .osum { position: static; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.rev { direction: ltr; }
  .split .txt { order: 2; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .review { padding: .9rem; }
  .review .stars { margin-bottom: .5rem; }
  .review .stars svg { width: 12px; height: 12px; }
  .review p { font-size: .78rem; margin-bottom: .6rem; line-height: 1.45; }
  .review .who { gap: .4rem; font-size: .72rem; }
  .review .who .av { width: 26px; height: 26px; font-size: .7rem; }
  .review .who .v { display: none; }
  .sticky-buy { display: flex; }
  body:has(#sticky-buy) .footer { padding-bottom: 86px; }
}
@media (max-width: 760px) {
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .cats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat { grid-column: auto !important; aspect-ratio: 3/4; }
  .cats-grid.single .cat { aspect-ratio: 4/5; }
  .figures { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer .top { grid-template-columns: 1fr; gap: 0; padding-bottom: 1.4rem; }
  .footer .brand-col { text-align: center; padding-bottom: 1.6rem; margin-bottom: .4rem; border-bottom: 1px solid var(--line); }
  .footer .brand-col .brand { justify-content: center; }
  .footer .brand-col p { margin-inline: auto; }
  .footer .socials { justify-content: center; }
  .foot-col h4 { cursor: pointer; padding: 1rem 0; margin-bottom: 0; border-bottom: 1px solid var(--line); }
  .foot-col .fc-plus { display: inline-flex; transition: transform .35s var(--ease); }
  .fc-plus svg { width: 11px; height: auto; fill: var(--clay); display: block; }
  .foot-col.open .fc-plus { transform: rotate(180deg); }
  .foot-col ul { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
  .foot-col.open ul { max-height: 320px; padding-block: .4rem .9rem; }
  .footer .bottom { flex-direction: column; text-align: center; gap: .8rem; }
  .delivery-opts { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(5, 1fr); }
  .shead { flex-wrap: wrap; align-items: flex-start; }
  h2 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .hero-inner { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 1.4rem; }
  .hero-emblem { width: 38px; height: 54px; margin-bottom: .6rem; }
  .hero-shop { width: 100%; max-width: 380px; }
}
@media (max-width: 560px) {
  .trust .wrap { grid-template-columns: repeat(3, 1fr); }
  .trust .item { flex-direction: column; text-align: center; gap: .4rem; padding: .9rem .5rem; }
  .trust .item span { display: none; }
  .trust .item b { font-size: .72rem; line-height: 1.2; }
  .lb-track .lb { width: 74vw; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 460px) {
  .pcard .pname { font-size: .9rem; }
  .footer .top { grid-template-columns: 1fr; }
  .brand { font-size: 1.32rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-slide img { transform: none !important; }
  .hero-slide { transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
