/* =====================================================================
   IBRAHIM Fragrances — Design System
   A dark, editorial, restrained-gold luxury system. Fully self-contained
   (no external fonts or libraries). Organised in sections:
   1. Tokens      6. Hero            11. Newsletter    16. Bundle builder
   2. Reset/base  7. Collection      12. Footer        17. Checkout/confirm
   3. Typography  8. Offers          13. Cart drawer   18. Motion/reveals
   4. Buttons     9. Brand story     14. Search/account 19. Responsive
   5. Header/nav  10. Stats/trust    15. Product detail 20. Reduced motion
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg:            #08080a;
  --bg-2:          #0c0c0f;
  --panel:         #111114;
  --panel-2:       #16161a;
  --elevated:      #1b1b20;
  --line:          rgba(255, 255, 255, 0.08);
  --line-strong:   rgba(255, 255, 255, 0.14);
  --gold-line:     rgba(199, 154, 78, 0.32);

  --ink:           #f4f1ea;
  --muted:         #b0aaa1;
  --faint:         #8a847a;

  --gold:          #c79a4e;
  --gold-soft:     #e4c583;
  --gold-deep:     #9c7838;

  --accent:        var(--gold);        /* overridden per-fragrance */
  --accent-soft:   var(--gold-soft);
  --accent-deep:   #1a1a1f;

  --serif: 'Ibrahim Serif', 'Cormorant Garamond', 'Didot', 'Bodoni MT', 'Hoefler Text', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, 'Helvetica Neue', sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --radius-lg: 10px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.5s;

  --shadow-1: 0 10px 30px -12px rgba(0, 0, 0, 0.7);
  --shadow-2: 0 30px 60px -20px rgba(0, 0, 0, 0.8);

  --header-h: 76px;
  --announce-h: 40px;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* subtle warm depth + fixed film grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(199, 154, 78, 0.10), transparent 60%),
    radial-gradient(900px 700px at -10% 12%, rgba(60, 60, 80, 0.10), transparent 55%);
  pointer-events: none; z-index: 0;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.035; pointer-events: none; z-index: 1; mix-blend-mode: overlay;
}
main, .site-header, .site-footer, .announce { position: relative; z-index: 2; }

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

/* C8: self-hosted display serif. Drop a licensed woff2 at assets/fonts/ibrahim-serif.woff2
   (and -italic) to activate it; until then the fallback stack in --serif is used. */
@font-face {
  font-family: 'Ibrahim Serif';
  src: url('../assets/fonts/ibrahim-serif.woff2') format('woff2');
  font-weight: 400 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Ibrahim Serif';
  src: url('../assets/fonts/ibrahim-serif-italic.woff2') format('woff2');
  font-weight: 400 600; font-style: italic; font-display: swap;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

::selection { background: rgba(199, 154, 78, 0.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--gold); color: #14100a; padding: 10px 16px;
  border-radius: var(--radius); font-weight: 600; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.divider-line { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); border: 0; margin: 0; }

/* ---------- 3. Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold-line); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 26px; height: 1px; background: var(--gold-line); }

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.98; letter-spacing: 0.01em; margin: 0;
}
.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.04; letter-spacing: 0.01em; margin: 0;
}
.section-title--center { text-align: center; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; }
.lede { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.14rem); max-width: 56ch; }
.section-sub { color: var(--muted); max-width: 54ch; margin: 16px auto 0; }
.gold-text { color: var(--gold-soft); }
.serif-em { font-family: var(--serif); font-style: italic; }

.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 15px 30px; border: 1px solid var(--line-strong);
  background: var(--btn-bg); color: var(--ink);
  border-radius: var(--radius); position: relative; overflow: hidden;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease), background 0.4s var(--ease), transform 0.2s var(--ease);
  will-change: transform;
}
.btn:hover { border-color: var(--gold); color: #fff; }
.btn__label { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; transition: transform 0.25s var(--ease); }

.btn--primary {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #17110a; border-color: transparent; font-weight: 700;
}
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, #fff, transparent 55%); opacity: 0; transition: opacity 0.4s var(--ease);
}
.btn--primary:hover { color: #17110a; }
.btn--primary:hover::after { opacity: 0.22; }

.btn--ghost { background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { background: rgba(199, 154, 78, 0.08); }

.btn--block { width: 100%; }
.btn--sm { padding: 11px 20px; font-size: 0.7rem; letter-spacing: 0.14em; }
.btn--lg { padding: 18px 40px; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.btn--play .play-ico {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold-line);
  display: inline-grid; place-items: center; margin-right: 2px;
}
.link-underline {
  position: relative; color: var(--gold-soft); font-weight: 600;
  letter-spacing: 0.02em; padding-bottom: 2px;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold-line); transform: scaleX(0.35); transform-origin: left; transition: transform 0.4s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); }

.icon { width: 20px; height: 20px; display: inline-block; stroke: currentColor; fill: none; }

/* ---------- 5. Header / nav ---------- */
.announce {
  height: var(--announce-h); background: #050506; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  position: relative; z-index: 60;
}
.announce-track { position: relative; height: 100%; width: 100%; display: grid; place-items: center; }
.announce-item {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
  opacity: 0; transform: translateY(8px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  padding-inline: 40px; text-align: center;
}
.announce-item.is-active { opacity: 1; transform: none; }
.announce-item strong { color: var(--gold-soft); font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 8, 10, 0.55);
  backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), height 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(6, 6, 8, 0.9);
  border-bottom-color: var(--line);
}
.nav-inner {
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 20px; transition: height 0.4s var(--ease);
}
.is-scrolled .nav-inner { height: 64px; }

.nav-left, .nav-right { display: flex; align-items: center; gap: 8px; }
.nav-right { justify-content: flex-end; }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 26px); }
.nav-link {
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  position: relative; padding: 6px 0; transition: color 0.3s var(--ease);
  white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-brand { display: inline-flex; align-items: center; gap: 12px; justify-self: center; }
.brand-mark { width: 30px; height: 30px; display: block; }
.brand-mark svg, .brand-mark img { width: 100%; height: 100%; }
.brand-word {
  font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.42em;
  padding-left: 0.42em; color: var(--ink); font-weight: 500;
}
.is-scrolled .brand-word { font-size: 1.35rem; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; background: transparent; border: 1px solid transparent;
  color: var(--muted); display: inline-grid; place-items: center; position: relative;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.icon-btn:hover { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,0.03); }
.cart-badge {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--gold); color: #17110a; font-size: 0.64rem; font-weight: 700;
  border-radius: 10px; display: grid; place-items: center; transform: scale(0); transition: transform 0.3s var(--ease-out);
  font-family: var(--sans);
}
.cart-badge.is-visible { transform: scale(1); }

.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; color: var(--ink); }
.menu-toggle span { display: block; width: 20px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile off-canvas nav */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(88vw, 400px); z-index: 90;
  background: var(--bg-2); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform 0.5s var(--ease-out);
  display: flex; flex-direction: column; padding: 28px 26px; overflow-y: auto;
}
.mobile-nav.is-open { transform: none; }
.mobile-nav .mnav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mobile-nav .nav-link { font-size: 1.4rem; font-family: var(--serif); letter-spacing: 0.05em; text-transform: none; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .nav-link::after { display: none; }
.mnav-links { display: flex; flex-direction: column; }
.mnav-foot { margin-top: auto; padding-top: 26px; color: var(--faint); font-size: 0.8rem; }

/* Global scrim for drawers/overlays */
.scrim {
  position: fixed; inset: 0; z-index: 80; background: rgba(2, 2, 3, 0.6);
  backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.scrim.is-open { opacity: 1; visibility: visible; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; min-height: min(92vh, 900px);
  display: flex; align-items: center; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; will-change: transform; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(6,6,8,0.94) 0%, rgba(6,6,8,0.7) 34%, rgba(6,6,8,0.15) 62%, rgba(6,6,8,0.5) 100%),
    linear-gradient(0deg, rgba(6,6,8,0.85), transparent 42%);
}
.hero-inner { position: relative; z-index: 3; width: 100%; }
.hero-content { max-width: 620px; }
.hero-title { font-family: var(--serif); font-weight: 500; line-height: 0.92; margin: 0 0 26px; }
.hero-title .l1 { display: block; font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: 0.02em; }
.hero-title .l2 { display: block; font-size: clamp(3.4rem, 10vw, 7rem); letter-spacing: 0.14em; color: var(--gold-soft);
  background: linear-gradient(180deg, #f3ddab, var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy { color: #cfc9bf; font-size: clamp(1rem, 1.5vw, 1.16rem); max-width: 46ch; margin: 0 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- 7. Collection ---------- */
.collection { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 4px 0 44px; }
.chip {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 40px; background: transparent;
  transition: all 0.3s var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--line-strong); }
.chip.is-active { color: #17110a; background: var(--gold); border-color: var(--gold); font-weight: 600; }

.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.product-card {
  --accent: var(--gold);
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}
.product-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow 0.5s var(--ease); border: 1px solid transparent;
}
.pcard-glow {
  position: absolute; inset: -1px; z-index: 0; border-radius: inherit; opacity: 0; pointer-events: none;
  background: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 60%);
  transition: opacity 0.5s var(--ease);
}
.product-card:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line-strong)); box-shadow: var(--shadow-2), 0 0 40px -14px color-mix(in srgb, var(--accent) 60%, transparent); }
.product-card:hover .pcard-glow { opacity: 0.55; }
.pcard-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #000; z-index: 1; }
.pcard-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 42%, transparent, rgba(0,0,0,0.35)); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out), filter 0.6s var(--ease); }
.product-card:hover .pcard-media img { transform: scale(1.06) translateY(-4px); filter: saturate(1.06) brightness(1.04); }
.pcard-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; position: relative; z-index: 2; }
.pcard-name { font-family: var(--serif); font-size: 1.5rem; margin: 0; color: var(--ink); }
.pcard-family { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-soft); }
.pcard-desc { color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.pcard-notes { font-size: 0.74rem; color: var(--faint); letter-spacing: 0.02em; margin-top: 2px; }
.pcard-meta { display: flex; gap: 12px; font-size: 0.7rem; color: var(--faint); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }
.pcard-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcard-price { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.pcard-price small { font-size: 0.7rem; color: var(--faint); font-family: var(--sans); letter-spacing: 0.1em; }
.pcard-actions { display: flex; gap: 8px; margin-top: 12px; }
.pcard-actions .btn { flex: 1; padding-inline: 8px; }

/* ---------- 8. Offers ---------- */
.offers { background: var(--bg-2); position: relative; }
.offers-head { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 40px; }
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.offer-card {
  --accent: var(--gold);
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, var(--panel-2), var(--bg)); padding: 26px 22px 24px;
  display: flex; flex-direction: column; text-align: center; transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}
.offer-card:hover { transform: translateY(-8px); border-color: var(--gold-line); box-shadow: var(--shadow-2), 0 0 40px -16px rgba(199,154,78,0.5); }
.offer-card.is-feature { border-color: var(--gold-line); }
.offer-badge { align-self: center; font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-line); border-radius: 30px; padding: 5px 12px; margin-bottom: 16px; }
.offer-tier { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.offer-price { font-family: var(--serif); font-size: 2.5rem; color: var(--gold-soft); line-height: 1.1; margin: 6px 0 2px; }
.offer-price small { font-size: 0.8rem; color: var(--faint); font-family: var(--sans); letter-spacing: 0.08em; }
.offer-save { font-size: 0.76rem; color: var(--accent-soft); letter-spacing: 0.04em; }
.offer-desc { font-size: 0.8rem; color: var(--muted); margin: 12px 0 18px; min-height: 34px; }
.offer-card .btn { margin-top: auto; }

/* ---------- 9. Brand story ---------- */
.story { background: linear-gradient(180deg, var(--bg-2), var(--bg)); overflow: hidden; }
.story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.story-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1/1;
  box-shadow: 0 0 70px -8px rgba(199, 154, 78, 0.16), 0 0 26px -6px rgba(199, 154, 78, 0.12), var(--shadow-2); }
.story-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.story-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(70% 60% at 40% 40%, transparent, rgba(0,0,0,0.4));
  box-shadow: inset 0 0 44px 10px rgba(8, 8, 10, 0.5); }
.story-body .display { margin-bottom: 24px; }
.story-lede { color: #d7d2c8; font-size: clamp(1.05rem, 1.6vw, 1.28rem); font-family: var(--serif); font-style: italic; margin-bottom: 22px; }
.story-points { display: grid; gap: 20px; margin-top: 30px; }
.story-point { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.story-point .num { font-family: var(--serif); color: var(--gold); font-size: 1.1rem; padding-top: 2px; letter-spacing: 0.1em; }
.story-point h4 { margin: 0 0 4px; font-size: 1.05rem; color: var(--ink); }
.story-point p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* ---------- 10. Stats + trust ---------- */
.stats { border-block: 1px solid var(--line); background: var(--bg); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; }
.stat { padding: 10px; }
.stat-num { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold-soft); line-height: 1; letter-spacing: 0.01em; }
.stat-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }

.trust { background: var(--bg-2); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 40px); }
.trust-item { text-align: center; }
.trust-ico { display: block; width: 40px; height: 40px; color: var(--gold); margin: 0 auto 16px; }
.trust-ico svg { width: 100%; height: 100%; stroke: currentColor; fill: none; }
.trust-title { font-size: 1.05rem; margin: 0 0 6px; color: var(--ink); }
.trust-copy { color: var(--muted); font-size: 0.86rem; margin: 0; }

/* ---------- 11. Newsletter ---------- */
.newsletter { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.news-bg { position: absolute; inset: 0; z-index: 0; }
.news-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.26; filter: blur(10px) saturate(1.05); transform: scale(1.08); }
.news-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 20%, rgba(8,8,10,0.6)); }
.news-inner { position: relative; z-index: 2; max-width: 640px; text-align: center; margin-inline: auto; }
.news-form { display: flex; gap: 10px; margin: 26px auto 14px; max-width: 480px; }
.news-input {
  flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong); color: var(--ink);
  padding: 15px 18px; border-radius: var(--radius); font-size: 0.95rem; font-family: var(--sans);
  transition: border-color 0.3s var(--ease);
}
.news-input::placeholder { color: var(--faint); }
.news-input:focus { outline: none; border-color: var(--gold); }
.news-note { font-size: 0.76rem; color: var(--faint); }
.news-msg { min-height: 22px; font-size: 0.86rem; margin-top: 10px; }
.news-msg.err { color: #e98b8b; }
.news-msg.ok { color: var(--gold-soft); }
.news-form.is-loading .btn { pointer-events: none; opacity: 0.7; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(0,0,0,0.3); border-top-color: #17110a; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 12. Footer ---------- */
.site-footer { background: #050506; border-top: 1px solid var(--line); padding-top: 72px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.4fr; gap: 40px; padding-bottom: 56px; }
.footer-brand .brand-word { font-size: 1.4rem; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; max-width: 30ch; margin: 18px 0 0; }
.footer-col h5 { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; font-family: var(--sans); font-weight: 600; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--muted); font-size: 0.88rem; transition: color 0.3s var(--ease); }
.footer-links a:hover { color: var(--ink); }
.footer-news p { color: var(--muted); font-size: 0.86rem; margin: 0 0 14px; }
.footer-news .news-form { margin: 0; max-width: none; }
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: all 0.3s var(--ease); }
.social a:hover { color: var(--gold); border-color: var(--gold-line); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid var(--line); padding: 26px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; color: var(--faint); font-size: 0.78rem; }
.footer-bottom a { color: var(--faint); }
.footer-bottom a:hover { color: var(--muted); }
.footer-bottom .fb-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- 13. Cart drawer ---------- */
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(92vw, 440px); z-index: 100;
  background: var(--bg-2); border-left: 1px solid var(--line); box-shadow: var(--shadow-2);
  transform: translateX(100%); transition: transform 0.5s var(--ease-out);
  display: flex; flex-direction: column;
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-title { font-family: var(--serif); font-size: 1.3rem; margin: 0; }
.drawer-title small { font-family: var(--sans); font-size: 0.7rem; color: var(--faint); letter-spacing: 0.1em; }
.drawer-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); display: grid; place-items: center; transition: all 0.3s var(--ease); }
.drawer-close:hover { color: var(--ink); border-color: var(--line-strong); transform: rotate(90deg); }

.ship-progress { padding: 16px 24px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.015); }
.ship-msg { font-size: 0.78rem; color: var(--muted); margin-bottom: 10px; }
.ship-msg b { color: var(--gold-soft); }
.ship-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.08); overflow: hidden; }
.ship-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft)); transition: width 0.6s var(--ease-out); }

.cart-lines { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-line { display: grid; grid-template-columns: 66px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cl-media { width: 66px; height: 82px; border-radius: 6px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.cl-media img { width: 100%; height: 100%; object-fit: cover; }
.cl-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cl-name { font-family: var(--serif); font-size: 1.05rem; margin: 0; }
.cl-variant { font-size: 0.72rem; color: var(--faint); letter-spacing: 0.06em; }
.cl-variant .save { color: var(--gold-soft); }
.cl-qty { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--line-strong); border-radius: 30px; width: max-content; margin-top: 4px; }
.cl-qty button { width: 28px; height: 28px; border: 0; background: transparent; color: var(--muted); font-size: 1rem; display: grid; place-items: center; border-radius: 50%; }
.cl-qty button:hover { color: var(--ink); }
.cl-qty span { min-width: 26px; text-align: center; font-size: 0.85rem; }
.cl-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cl-price { font-size: 0.95rem; color: var(--ink); }
.cl-price .was { display: block; font-size: 0.72rem; color: var(--faint); text-decoration: line-through; }
.cl-remove { border: 0; background: transparent; color: var(--faint); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.3s var(--ease); }
.cl-remove:hover { color: #e98b8b; }

.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; gap: 14px; color: var(--muted); }
.cart-empty .ce-mark { width: 60px; height: 60px; color: var(--gold-line); }

.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); background: var(--bg); }
.cart-code { display: flex; gap: 8px; margin-bottom: 16px; }
.cart-code input { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--line); color: var(--ink); padding: 11px 14px; border-radius: var(--radius); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.cart-code input:focus { outline: none; border-color: var(--gold-line); }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.9rem; margin-bottom: 10px; color: var(--muted); }
.sum-row.total { font-size: 1.15rem; color: var(--ink); font-family: var(--serif); padding-top: 12px; border-top: 1px solid var(--line); margin-top: 4px; }
.sum-row .save { color: var(--gold-soft); }
.sum-row.discount { color: var(--gold-soft); }
.drawer-foot .btn { margin-top: 8px; }
.drawer-note { text-align: center; font-size: 0.72rem; color: var(--faint); margin-top: 12px; }

/* ---------- 14. Search + account ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 110; background: rgba(5,5,7,0.9); backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
  display: flex; flex-direction: column; padding: clamp(20px, 6vh, 80px) var(--gutter);
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-inner { width: 100%; max-width: 820px; margin-inline: auto; }
.search-top { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line-strong); padding-bottom: 16px; }
.search-input { flex: 1; background: transparent; border: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(1.4rem, 4vw, 2.4rem); }
.search-input:focus { outline: none; }
.search-input::placeholder { color: var(--faint); }
.search-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.search-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; overflow-y: auto; }
.search-result { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 8px; transition: all 0.3s var(--ease); }
.search-result:hover { border-color: var(--gold-line); background: rgba(199,154,78,0.05); }
.search-result img { width: 60px; height: 72px; object-fit: cover; border-radius: 4px; }
.search-result .sr-name { font-family: var(--serif); font-size: 1.1rem; }
.search-result .sr-fam { font-size: 0.7rem; color: var(--faint); letter-spacing: 0.14em; text-transform: uppercase; }
.search-result .sr-price { color: var(--gold-soft); font-family: var(--serif); }
.search-empty { color: var(--muted); text-align: center; padding: 40px; grid-column: 1 / -1; }

.acct-tabs { display: flex; gap: 6px; padding: 16px 24px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.acct-tab { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: transparent; border: 0; padding: 10px 12px; border-bottom: 2px solid transparent; }
.acct-tab.is-active { color: var(--ink); border-bottom-color: var(--gold); }
.acct-body { padding: 24px; overflow-y: auto; flex: 1; }
.acct-panel { display: none; flex-direction: column; gap: 16px; }
.acct-panel.is-active { display: flex; }
.acct-note { font-size: 0.78rem; color: var(--faint); background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong); color: var(--ink);
  padding: 12px 14px; border-radius: var(--radius); font-size: 0.92rem; font-family: var(--sans); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field.invalid input { border-color: #a6484c; }
.field .err-text { font-size: 0.72rem; color: #e98b8b; min-height: 0; }

/* ---------- 15. Product detail (PDP) ---------- */
.subpage-hero { padding-top: clamp(30px, 5vw, 56px); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 30px; }
.breadcrumb a { color: var(--muted); } .breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--gold); }

.pdp { --accent: var(--gold); }
.pdp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: start; }
.pdp-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1/1; background:
  radial-gradient(70% 60% at 50% 30%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), #060608; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s var(--ease); }
.gallery-main img.is-active { opacity: 1; }
.gallery-glow { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 120px -30px color-mix(in srgb, var(--accent) 50%, transparent); }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.gallery-thumb { width: 74px; height: 74px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: #000; opacity: 0.6; transition: all 0.3s var(--ease); }
.gallery-thumb.is-active, .gallery-thumb:hover { opacity: 1; border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info { padding-top: 6px; }
.pdp-family { font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-soft); }
.pdp-title { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); margin: 12px 0 6px; line-height: 1; }
.pdp-tagline { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1.15rem; margin-bottom: 20px; }
.pdp-price-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.pdp-price { font-family: var(--serif); font-size: 2rem; color: var(--ink); }
.pdp-price-row .meta { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.pdp-desc { color: #cfc9bf; font-size: 1.02rem; line-height: 1.7; margin-bottom: 22px; }
.pdp-buy { display: flex; gap: 12px; align-items: stretch; margin: 26px 0; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.qty button { width: 46px; height: 100%; min-height: 50px; border: 0; background: transparent; color: var(--muted); font-size: 1.2rem; }
.qty button:hover { color: var(--ink); }
.qty input { width: 44px; text-align: center; background: transparent; border: 0; color: var(--ink); font-size: 1rem; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-buy .btn--primary { flex: 1; min-width: 180px; }

.pdp-notes { margin: 30px 0; border-top: 1px solid var(--line); padding-top: 30px; }
.notes-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.notes-col h4 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.notes-col ul li { color: var(--ink); font-family: var(--serif); font-size: 1.12rem; padding: 5px 0; border-bottom: 1px solid var(--line); }
.notes-col ul li:last-child { border-bottom: 0; }

.pdp-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 24px 0; }
.spec { background: var(--bg-2); padding: 16px 18px; }
.spec dt { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 5px; }
.spec dd { margin: 0; font-size: 0.95rem; color: var(--ink); }

.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; background: transparent; border: 0; color: var(--ink); font-size: 0.95rem; letter-spacing: 0.02em; text-align: left; }
.accordion-btn .plus { position: relative; width: 14px; height: 14px; flex: none; }
.accordion-btn .plus::before, .accordion-btn .plus::after { content: ""; position: absolute; background: var(--gold); transition: transform 0.3s var(--ease); }
.accordion-btn .plus::before { top: 6px; left: 0; width: 14px; height: 1.5px; }
.accordion-btn .plus::after { left: 6px; top: 0; width: 1.5px; height: 14px; }
.accordion-btn[aria-expanded="true"] .plus::after { transform: scaleY(0); }
.accordion-panel { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease); }
.accordion-panel .inner { padding: 0 0 20px; color: var(--muted); font-size: 0.9rem; }

.related { background: var(--bg-2); }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ---------- 16. Discovery + bundle builder ---------- */
.discovery-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }

.redeem-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.redeem-step { border: 1px solid var(--line); border-radius: 8px; padding: 22px 18px; background: var(--panel); }
.redeem-step .rs-num { font-family: var(--serif); color: var(--gold); font-size: 1.4rem; }
.redeem-step h4 { margin: 8px 0 6px; font-size: 1rem; }
.redeem-step p { margin: 0; color: var(--muted); font-size: 0.86rem; }

.builder-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.builder-tiers { display: flex; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.tier-btn { flex: 1; min-width: 120px; border: 1px solid var(--line-strong); background: var(--panel); border-radius: 8px; padding: 16px; text-align: center; transition: all 0.3s var(--ease); color: var(--muted); }
.tier-btn.is-active { border-color: var(--gold); background: linear-gradient(180deg, rgba(199,154,78,0.12), transparent); color: var(--ink); }
.tier-btn .tb-size { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); display: block; }
.tier-btn .tb-price { color: var(--gold-soft); font-size: 0.9rem; }
.tier-btn .tb-save { font-size: 0.72rem; color: var(--muted); }

.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.pick-card { --accent: var(--gold); position: relative; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--panel); text-align: left; transition: all 0.35s var(--ease); }
.pick-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.pick-card.is-selected { border-color: var(--accent); box-shadow: 0 0 30px -14px color-mix(in srgb, var(--accent) 70%, transparent); }
.pick-media { aspect-ratio: 1/1; overflow: hidden; background: #000; position: relative; }
.pick-media img { width: 100%; height: 100%; object-fit: cover; }
.pick-check { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,0.5); border: 1px solid var(--line-strong); display: grid; place-items: center; color: transparent; transition: all 0.3s var(--ease); }
.pick-card.is-selected .pick-check { background: var(--accent); border-color: var(--accent); color: #17110a; }
.pick-body { padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pick-body .pn { font-family: var(--serif); font-size: 1.05rem; }
.pick-body .pf { font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.pick-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 20px; }
.pick-qty button { width: 26px; height: 26px; border: 0; background: transparent; color: var(--muted); }
.pick-qty span { min-width: 20px; text-align: center; font-size: 0.82rem; }

.builder-summary { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); padding: 26px; }
.builder-summary h3 { margin: 0 0 6px; font-size: 1.3rem; }
.builder-remaining { font-size: 0.82rem; color: var(--muted); margin-bottom: 18px; }
.builder-slots { display: flex; gap: 8px; margin-bottom: 20px; }
.slot { flex: 1; aspect-ratio: 3/4; border: 1px dashed var(--line-strong); border-radius: 6px; overflow: hidden; display: grid; place-items: center; color: var(--faint); background: var(--bg-2); }
.slot.filled { border-style: solid; }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.builder-msg { font-size: 0.82rem; min-height: 20px; margin-bottom: 14px; }
.builder-msg.ok { color: var(--gold-soft); } .builder-msg.warn { color: #e0b070; }

/* ---------- 17. Checkout + confirmation ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.co-notice { display: flex; gap: 12px; align-items: center; background: rgba(199,154,78,0.07); border: 1px solid var(--gold-line); border-radius: 8px; padding: 14px 18px; margin-bottom: 30px; color: var(--gold-soft); font-size: 0.85rem; }
.co-notice svg { width: 22px; height: 22px; flex: none; }
.co-section { margin-bottom: 34px; }
.co-section h3 { font-size: 1.15rem; margin: 0 0 4px; display: flex; align-items: baseline; gap: 10px; }
.co-section h3 .n { font-family: var(--serif); color: var(--gold); font-size: 0.95rem; }
.co-section .co-sub { color: var(--faint); font-size: 0.82rem; margin: 0 0 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row.one { grid-template-columns: 1fr; }
.form-row.thirds { grid-template-columns: 2fr 1fr 1fr; }
.ship-options { display: grid; gap: 10px; }
.ship-option { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 14px 16px; cursor: pointer; transition: all 0.3s var(--ease); }
.ship-option:has(input:checked) { border-color: var(--gold); background: rgba(199,154,78,0.05); }
.ship-option input { accent-color: var(--gold); width: 18px; height: 18px; }
.ship-option .so-main { flex: 1; }
.ship-option .so-name { font-size: 0.92rem; } .ship-option .so-desc { font-size: 0.76rem; color: var(--faint); }
.ship-option .so-price { color: var(--gold-soft); }
.checkbox-row { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--muted); margin-top: 6px; }
.checkbox-row input { accent-color: var(--gold); width: 17px; height: 17px; }

.co-summary { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); padding: 26px; }
.co-summary h3 { margin: 0 0 18px; font-size: 1.3rem; }
.co-lines { max-height: 320px; overflow-y: auto; margin-bottom: 16px; }
.co-line { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.co-line img { width: 54px; height: 66px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.co-line .cln { font-family: var(--serif); font-size: 1rem; }
.co-line .clv { font-size: 0.72rem; color: var(--faint); }
.co-line .clp { font-size: 0.9rem; text-align: right; }

.confirm { min-height: 70vh; display: flex; align-items: center; }
.confirm-card { max-width: 720px; margin-inline: auto; text-align: center; }
.confirm-mark { width: 84px; height: 84px; margin: 0 auto 26px; border-radius: 50%; border: 1px solid var(--gold-line); display: grid; place-items: center; color: var(--gold); position: relative; }
.confirm-mark svg { width: 40px; height: 40px; }
.confirm-mark::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--gold-line); opacity: 0.4; }
.confirm-num { font-family: var(--serif); color: var(--gold-soft); letter-spacing: 0.1em; font-size: 1.1rem; margin: 8px 0 4px; }
.confirm-panel { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); padding: 28px; text-align: left; margin-top: 34px; }
.confirm-panel h3 { font-size: 1.1rem; margin: 0 0 16px; }
.confirm-lines .co-line:last-child { border-bottom: 0; }
.confirm-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); text-align: left; }
.confirm-details h4 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.confirm-details p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

/* generic content page */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--muted); line-height: 1.8; }
.prose ul { padding-left: 20px; list-style: disc; margin: 12px 0; }
.prose a { color: var(--gold-soft); }
.faq-item { border-bottom: 1px solid var(--line); }

.page-hero { text-align: center; padding: clamp(50px, 8vw, 110px) 0 clamp(30px, 4vw, 50px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); padding: 26px; }

/* toasts */
.toasts { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 130; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast { background: var(--elevated); border: 1px solid var(--gold-line); border-radius: 40px; padding: 12px 22px; font-size: 0.84rem; color: var(--ink); box-shadow: var(--shadow-2); display: flex; align-items: center; gap: 10px; transform: translateY(20px); opacity: 0; transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease); }
.toast.show { transform: none; opacity: 1; }
.toast .tk { color: var(--gold); width: 18px; height: 18px; }

/* ---------- 18. Motion / reveals ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out); filter: blur(6px); }
[data-reveal].is-visible { opacity: 1; transform: none; filter: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(0.96); }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(24px); filter: blur(5px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), filter 0.8s var(--ease-out); }
[data-reveal-stagger].is-visible > * { opacity: 1; transform: none; filter: none; }

.mask-reveal { display: inline-block; overflow: hidden; }
.mask-reveal > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); }
.mask-reveal.is-visible > span { transform: none; }

/* ---------- 19. Responsive ---------- */
@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-card:nth-child(4), .product-card:nth-child(5) { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand, .footer-news { grid-column: span 3; }
  .footer-news { order: 5; }
}
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .nav-brand { justify-self: start; margin-left: 6px; }
  .nav-left { order: -1; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .story-grid, .discovery-hero, .pdp-grid, .builder-grid, .checkout-grid, .contact-grid { grid-template-columns: 1fr; }
  .pdp-gallery, .builder-summary, .co-summary { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card:last-child:nth-child(odd) { grid-column: span 2; }
  .product-card:last-child:nth-child(odd) .pcard-media { aspect-ratio: 16/10; }
  .search-results { grid-template-columns: 1fr; }
  .notes-cols { grid-template-columns: 1fr; gap: 26px; }
  .redeem-steps { grid-template-columns: 1fr; }
  .confirm-details { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-news { grid-column: span 2; }
  .form-row, .form-row.thirds { grid-template-columns: 1fr; }
  .hero-content { max-width: 100%; }
  .hero-media img { object-position: 60% center; }
  .pcard-actions { flex-direction: column; }
  .btn { padding: 14px 22px; }
}
@media (max-width: 460px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card:last-child:nth-child(odd) { grid-column: span 1; }
  .offer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .pdp-buy { flex-direction: column; }
  .pdp-buy .qty { width: 100%; justify-content: space-between; }
}

/* ---------- 20. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-reveal-stagger] > *, .mask-reveal > span { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* =====================================================================
   IBRAHIM Fragrances — migration additions (carousel, editorial, PDP)
   ===================================================================== */

/* ---------- Hero carousel (split: text over black, bottle in image panel) ---------- */
.hero-carousel { position: relative; min-height: min(90vh, 900px); display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); }
.hero-carousel .hero-media { position: absolute; top: 0; right: 0; bottom: 0; left: 34%; z-index: 0; }
.hero-slide-img { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.hero-slide-img.is-active { opacity: 1; }
.hero-slide-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-carousel .hero-overlay { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, var(--bg) 37%, rgba(8,8,10,0.85) 48%, rgba(8,8,10,0.45) 62%, rgba(8,8,10,0.12) 78%, transparent 94%),
  linear-gradient(0deg, rgba(8,8,10,0.5), transparent 46%); }
.hero-carousel::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(560px 560px at var(--mx, 62%) var(--my, 42%), color-mix(in srgb, var(--accent) 14%, transparent), transparent 62%); transition: background 0.4s var(--ease); }
.hero-carousel .hero-inner { position: relative; z-index: 3; width: 100%; }
.hero-carousel .hero-content { max-width: 560px; }
.hero-now { display: flex; align-items: center; gap: 12px; margin: 2px 0 26px; font-family: var(--serif); font-size: 1.25rem; color: var(--accent-soft); white-space: nowrap; }
/* keep slide-to-slide layout stable: single-line eyebrow, fixed-width CTA so text never shifts */
.hero-carousel .eyebrow { white-space: nowrap; }
.hero-carousel [data-hero-cta] { min-width: 316px; }
@media (max-width: 460px) { .hero-carousel [data-hero-cta] { min-width: 0; } }
.hero-now .hn-label { font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint); border: 1px solid var(--line-strong); border-radius: 20px; padding: 4px 11px; }
.hero-controls { position: absolute; z-index: 4; bottom: 30px; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 16px; }
.hero-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(0,0,0,0.35); color: var(--ink); display: grid; place-items: center; transition: all 0.3s var(--ease); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hero-arrow:hover { border-color: var(--accent-soft); color: #fff; transform: translateY(-2px); }
.hero-dots { display: flex; gap: 10px; align-items: center; }
.hero-dot { width: 26px; height: 4px; border-radius: 4px; border: 0; background: rgba(255,255,255,0.28); padding: 0; cursor: pointer; transition: width 0.4s var(--ease), background 0.4s var(--ease); }
.hero-dot span { display: none; }
.hero-dot.is-active { width: 44px; background: var(--accent-soft); }
.hero-dot:hover { background: rgba(255,255,255,0.5); }
@media (max-width: 760px) {
  .hero-carousel { flex-direction: column; min-height: auto; align-items: stretch; }
  .hero-carousel .hero-media { position: relative; left: 0; right: 0; top: 0; bottom: 0; width: 100%; aspect-ratio: 4 / 5; order: -1; }
  .hero-carousel .hero-overlay { background: linear-gradient(0deg, var(--bg) 10%, rgba(8,8,10,0.55) 34%, rgba(8,8,10,0.15) 62%, transparent 88%); }
  .hero-carousel::after { display: none; }
  .hero-carousel .hero-inner { padding-top: 22px; padding-bottom: 14px; }
  .hero-carousel .hero-content { max-width: 100%; }
  .hero-controls { position: static; justify-content: center; margin: 16px 0 30px; }
}

/* ---------- Editorial image/text band ---------- */
.editorial-band { background: var(--bg); overflow: hidden; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.editorial-band.is-reverse .band-media { order: 2; }
.band-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1 / 1;
  box-shadow: 0 0 70px -8px rgba(199, 154, 78, 0.16), 0 0 26px -6px rgba(199, 154, 78, 0.12), var(--shadow-2); }
.band-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; will-change: transform; }
.band-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(72% 60% at 50% 45%, transparent, rgba(0,0,0,0.3));
  box-shadow: inset 0 0 44px 10px rgba(8, 8, 10, 0.5); }
.band-body .lede { margin-top: 8px; }
@media (max-width: 900px) { .band-grid { grid-template-columns: 1fr; } .editorial-band.is-reverse .band-media { order: 0; } }

/* ---------- PDP atmospheric banner (split, bottle preserved) ---------- */
.pdp-banner { position: relative; min-height: min(74vh, 760px); display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); }
.pdp-banner-media { position: absolute; top: 0; right: 0; bottom: 0; left: 40%; z-index: 0; }
.pdp-banner-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pdp-banner-overlay { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, var(--bg) 43%, rgba(8,8,10,0.82) 54%, rgba(8,8,10,0.4) 68%, rgba(8,8,10,0.1) 82%, transparent 95%),
  linear-gradient(0deg, rgba(8,8,10,0.45), transparent 46%); }
.pdp-banner-inner { position: relative; z-index: 2; }
.pdp-banner-title { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1; margin: 8px 0; }
.pdp-banner-tag { font-family: var(--serif); font-style: italic; color: var(--accent-soft); font-size: clamp(1.1rem, 2vw, 1.5rem); }
@media (max-width: 760px) {
  .pdp-banner { flex-direction: column; min-height: auto; align-items: stretch; }
  .pdp-banner-media { position: relative; left: 0; width: 100%; aspect-ratio: 4 / 5; order: -1; }
  .pdp-banner-overlay { background: linear-gradient(0deg, var(--bg) 10%, rgba(8,8,10,0.55) 34%, rgba(8,8,10,0.15) 62%, transparent 88%); }
  .pdp-banner-inner { padding-top: 22px; padding-bottom: 6px; }
}

/* ---------- PDP character block (fragrances without an approved note pyramid) ---------- */
.pdp-subhead { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.character-block { margin: 30px 0; border-top: 1px solid var(--line); padding-top: 26px; }
.char-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.char-pill { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); border: 1px solid var(--gold-line); border-radius: 30px; padding: 8px 18px; background: rgba(199,154,78,0.05); }
.char-note { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- PDP atmospheric CTA ---------- */
.pdp-cta { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 128px) 0; text-align: center; border-top: 1px solid var(--line); }
.pdp-cta-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; contain: paint; }
.pdp-cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.4;
  filter: blur(16px) saturate(1.1); transform: scale(1.15); }
.pdp-cta-overlay { position: absolute; inset: 0; z-index: 1; background: radial-gradient(85% 95% at 50% 50%, rgba(8,8,10,0.45), var(--bg) 82%); }
.pdp-cta-inner { position: relative; z-index: 2; }

/* ---------- Discovery samples (real matched product photos) ---------- */
.disc-samples { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; align-content: center; }
.disc-sample { display: flex; flex-direction: column; width: calc(33.333% - 10px); min-width: 130px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); text-align: center; }
.disc-sample:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 0 30px -14px color-mix(in srgb, var(--accent) 70%, transparent); }
.disc-sample-media { aspect-ratio: 1 / 1; overflow: hidden; background: #000; }
.disc-sample-media img { width: 100%; height: 100%; object-fit: cover; }
.disc-sample-name { font-family: var(--serif); font-size: 1rem; margin-top: 10px; }
.disc-sample-fam { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin: 2px 0 12px; }
.redeem-note { border: 1px solid var(--gold-line); border-radius: 8px; padding: 16px 18px; background: rgba(199,154,78,0.06); color: var(--gold-soft); font-size: 0.86rem; display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.redeem-note .icon { flex: none; }

/* ---------- Offers with real matched bottle thumbnails ---------- */
.offer-bottles { display: flex; justify-content: center; gap: 6px; margin: 10px 0 20px; min-height: 46px; }
.offer-bottles img { width: 46px; height: 46px; border-radius: 6px; object-fit: cover; border: 1px solid var(--line); }

/* ---------- Five square product cards: no lone-card span/crop ---------- */
.product-card:last-child:nth-child(odd) { grid-column: auto; }
.product-card:last-child:nth-child(odd) .pcard-media { aspect-ratio: 1 / 1; }

/* ---------- Reduced motion: freeze carousel crossfade + parallax ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-slide-img { transition: none !important; }
  .band-media img, .hero-slide-img img { transform: none !important; }
}

/* =====================================================================
   Wave A + early Wave B components
   ===================================================================== */

/* A5: highlighted search result (keyboard nav) */
.search-result.is-highlight { border-color: var(--gold); background: rgba(199,154,78,0.08); }

/* B4: recently viewed */
.rv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rv-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); text-align: center; }
.rv-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 0 26px -14px color-mix(in srgb, var(--accent) 70%, transparent); }
.rv-media { aspect-ratio: 1/1; overflow: hidden; background: #000; }
.rv-media img { width: 100%; height: 100%; object-fit: cover; }
.rv-name { font-family: var(--serif); font-size: 1rem; margin-top: 10px; }
.rv-fam { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin: 2px 0 12px; }
@media (max-width: 720px) { .rv-grid { grid-template-columns: repeat(2, 1fr); } }

/* B6: complete-the-collection cart nudge */
.cart-nudge { padding: 14px 24px 0; }
.cart-nudge-in { border: 1px solid var(--gold-line); border-radius: 8px; padding: 12px 14px; background: rgba(199,154,78,0.06); display: flex; flex-direction: column; gap: 10px; }
.cart-nudge-in span { font-size: 0.82rem; color: var(--gold-soft); }

/* B16: empty-cart recommendations */
.cart-empty [data-empty-recs] { display: flex; gap: 12px; justify-content: center; margin-top: 6px; }
.cart-empty [data-empty-recs] a { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); font-size: 0.7rem; letter-spacing: 0.04em; }
.cart-empty [data-empty-recs] img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); }
.cart-empty [data-empty-recs] a:hover { color: var(--ink); }

/* B20: exit-intent modal */
.exit-modal { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 20px; background: rgba(2,2,3,0.66); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s; }
.exit-modal.show { opacity: 1; visibility: visible; }
.exit-card { position: relative; max-width: 440px; width: 100%; background: var(--bg-2); border: 1px solid var(--gold-line); border-radius: var(--radius-lg); padding: 40px 32px 32px; text-align: center; box-shadow: var(--shadow-2); transform: translateY(14px); transition: transform 0.4s var(--ease-out); }
.exit-modal.show .exit-card { transform: none; }
.exit-close { position: absolute; top: 14px; right: 14px; }

/* A8: print stylesheet (clean order/receipt printing) */
@media print {
  body { background: #fff; color: #000; }
  body::before, body::after { display: none !important; }
  .announce, .site-header, .site-footer, .drawer, .search-overlay, .scrim, .toasts, .hero-controls,
  .exit-modal, .newsletter, .related, .pdp-cta, .editorial-band, [data-cart-drawer], [data-account-drawer],
  .breadcrumb, .hero-actions, .skip-link { display: none !important; }
  main, .section, .confirm { padding: 0 !important; margin: 0 !important; }
  .confirm-card { max-width: 100% !important; }
  .confirm-panel { border: 1px solid #ccc !important; background: #fff !important; color: #000 !important; }
  .confirm-num, .confirm-details h4, .eyebrow { color: #000 !important; }
  a { color: #000 !important; text-decoration: none !important; }
  * { box-shadow: none !important; text-shadow: none !important; }
}

/* =====================================================================
   Wave C — consent, journal, announce links
   ===================================================================== */

/* B13: announcement links */
.announce-item { text-decoration: none; }
.announce-item:hover { color: var(--gold-soft); }

/* C6: cookie consent banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 135; max-width: 620px; margin-inline: auto; background: var(--elevated); border: 1px solid var(--gold-line); border-radius: var(--radius-lg); padding: 16px 18px; box-shadow: var(--shadow-2); transform: translateY(20px); opacity: 0; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease-out); display: flex; flex-direction: column; gap: 12px; }
.consent.show { opacity: 1; transform: none; }
.consent p { margin: 0; font-size: 0.82rem; color: var(--muted); }
.consent p a { color: var(--gold-soft); }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; }
@media (min-width: 620px) { .consent { flex-direction: row; align-items: center; } .consent p { flex: 1; } .consent-actions { flex: none; } }

/* C12: journal */
.jr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.jr-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.jr-card:hover { transform: translateY(-6px); border-color: var(--gold-line); box-shadow: var(--shadow-2); }
.jr-media { aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.jr-media img { width: 100%; height: 100%; object-fit: cover; }
.jr-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.jr-tag { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.jr-title { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); line-height: 1.2; }
.jr-excerpt { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.jr-article .jr-hero { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3 / 2; margin-bottom: 30px; }
.jr-article .jr-hero img { width: 100%; height: 100%; object-fit: cover; }
.jr-article .prose h2 { font-size: 1.5rem; margin: 32px 0 12px; }
@media (max-width: 900px) { .jr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .jr-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Wave B — conversion components
   ===================================================================== */

/* B14 variants */
.pdp-variants { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.pdp-variant { font-size: 0.76rem; letter-spacing: 0.04em; border: 1px solid var(--line-strong); background: var(--panel); color: var(--muted); border-radius: 30px; padding: 9px 16px; }
.pdp-variant.is-active { border-color: var(--accent); color: var(--ink); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent); }
.pdp-variant[disabled] { opacity: 0.5; cursor: not-allowed; }

/* B5 ship progress on PDP */
.pdp-ship { margin: 14px 0 6px; font-size: 0.82rem; color: var(--muted); }
.pdp-ship .ok { color: var(--gold-soft); display: inline-flex; align-items: center; gap: 6px; }
.pdp-ship b { color: var(--gold-soft); }

/* B10 layer-it-with */
.pdp-pairing { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 22px 0; background: var(--panel); }
.pair-media img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); display: block; }
.pair-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.pair-label { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.pair-name { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.pair-fam { font-size: 0.7rem; color: var(--faint); }
.pdp-pairing .btn { flex: none; }

/* B8 notify */
.pdp-notify { margin: 6px 0 20px; }
.pdp-oos { color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pdp-notify form { display: flex; gap: 8px; }
.pdp-notify input { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong); color: var(--ink); padding: 12px 14px; border-radius: var(--radius); }

/* B2 sticky mobile add-to-bag */
.pdp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(10,10,12,0.95); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transform: translateY(120%); transition: transform 0.4s var(--ease-out); }
.pdp-sticky.show { transform: none; }
.pdp-sticky .ps-name { font-family: var(--serif); font-size: 1.05rem; display: block; }
.pdp-sticky .ps-price { color: var(--gold-soft); font-size: 0.9rem; }
.pdp-sticky .btn { flex: none; }
@media (min-width: 761px) { .pdp-sticky { display: none; } }

/* B3 lightbox */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(3,3,4,0.94); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.is-open { display: flex; }
.lightbox-close { position: absolute; top: 16px; right: 16px; z-index: 2; }
.lightbox-stage { max-width: min(92vw, 900px); max-height: 88vh; overflow: hidden; cursor: zoom-in; }
.lightbox-stage img { max-width: 100%; max-height: 88vh; object-fit: contain; transition: transform 0.3s var(--ease); }
.lightbox-stage.is-zoom { cursor: zoom-out; }
.lightbox-stage.is-zoom img { transform: scale(2); }

/* B9 reviews */
.reviews { background: var(--bg-2); }
.reviews-empty { text-align: center; color: var(--muted); }
.reviews-avg { display: flex; align-items: center; gap: 14px; justify-content: center; margin-bottom: 24px; }
.reviews-avg-num { font-family: var(--serif); font-size: 2rem; color: var(--gold-soft); }
.reviews-stars { display: inline-flex; gap: 2px; color: var(--gold); }
.reviews-stars .rv-star { opacity: 0.3; display: inline-flex; }
.reviews-stars .rv-star.on { opacity: 1; }
.reviews-count { color: var(--faint); font-size: 0.8rem; }
.reviews-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.review-item { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; background: var(--panel); }
.review-text { margin: 8px 0; color: var(--ink); }
.review-by { margin: 0; font-size: 0.78rem; color: var(--faint); }
.reviews-form { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; max-width: 520px; margin-inline: auto; }
.reviews-form textarea, .reviews-form input { background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong); color: var(--ink); padding: 12px 14px; border-radius: var(--radius); font-family: var(--sans); }
.review-stars { display: flex; gap: 6px; }
.review-stars button { background: transparent; border: 0; color: var(--faint); padding: 2px; }
.review-stars button.on, .review-stars button:hover { color: var(--gold); }
.review-stars .icon { width: 24px; height: 24px; }

/* B11 sample upsell */
.co-upsell { border: 1px dashed var(--line-strong); border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; }
.co-upsell-label { font-size: 0.8rem; color: var(--muted); display: block; margin-bottom: 8px; }
.co-upsell-row { display: flex; gap: 8px; }
.co-upsell-row select { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong); color: var(--ink); border-radius: var(--radius); padding: 9px 12px; }

/* B12 express checkout placeholders */
.express-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 24px; }
.express-btn { border: 1px solid var(--line-strong); background: var(--panel); color: var(--muted); border-radius: 8px; padding: 12px 22px; font-weight: 600; font-size: 0.85rem; }
.express-btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.express-or { font-size: 0.76rem; color: var(--faint); }

/* B17 confirmation share */
.confirm-share { margin-top: 28px; text-align: center; }
.confirm-share .pdp-subhead { justify-content: center; }

/* B19 wishlist page */
.wishlist-bar { display: flex; align-items: center; gap: 14px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.wishlist-empty { text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 40px 0; }

/* B1 quiz */
.quiz { max-width: 620px; margin: 0 auto; }
.quiz-progress { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.08); overflow: hidden; margin-bottom: 30px; }
.quiz-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft)); transition: width 0.5s var(--ease-out); }
.quiz-step { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); text-align: center; }
.quiz-q { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.4rem); text-align: center; margin: 8px 0 26px; }
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-option { text-align: left; border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink); border-radius: 10px; padding: 16px 20px; font-size: 1rem; transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease); }
.quiz-option:hover { border-color: var(--gold); background: rgba(199,154,78,0.06); transform: translateX(4px); }
.quiz-back { display: block; margin: 18px auto 0; }
.quiz-result-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: center; border: 1px solid var(--gold-line); border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); }
.quiz-result-media { align-self: stretch; }
.quiz-result-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; }
.quiz-result-body { padding: 30px 30px 30px 0; }
.quiz-result-name { font-family: var(--serif); font-size: 2.2rem; margin: 6px 0; }
.quiz-result-fam { color: var(--accent-soft); margin-bottom: 12px; }
.quiz-result-desc { color: var(--muted); margin-bottom: 22px; }
.quiz-result-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.quiz-retry { font-size: 0.82rem; color: var(--faint); }
@media (max-width: 620px) { .quiz-result-card { grid-template-columns: 1fr; } .quiz-result-body { padding: 0 24px 28px; } }

/* Collapse nav to the hamburger earlier now that there are 7 links (labels never wrap) */
@media (max-width: 1199px) {
  .site-header .nav-links { display: none; }
  .site-header .menu-toggle { display: block; }
  .site-header .nav-inner { grid-template-columns: auto 1fr auto; }
  .site-header .nav-brand { justify-self: start; margin-left: 6px; }
  .site-header .nav-left { order: -1; }
}

/* =====================================================================
   H3 — Eid campaign (gift grid + preview chip)
   ===================================================================== */
.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gift-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.gift-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line-strong)); box-shadow: var(--shadow-2), 0 0 36px -16px color-mix(in srgb, var(--accent) 60%, transparent); }
.gift-media { aspect-ratio: 1 / 1; overflow: hidden; background: #000; }
.gift-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.gift-card:hover .gift-media img { transform: scale(1.05); }
.gift-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.gift-label { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-soft); }
.gift-name { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); }
.gift-note { color: var(--muted); font-size: 0.84rem; line-height: 1.5; }
.gift-price { font-family: var(--serif); color: var(--gold-soft); margin-top: 6px; }
@media (max-width: 1000px) { .gift-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gift-grid { grid-template-columns: 1fr; } }

.campaign-preview-chip { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 138; background: var(--elevated); border: 1px solid var(--gold-line); border-radius: 30px; padding: 8px 18px; font-size: 0.76rem; color: var(--gold-soft); box-shadow: var(--shadow-2); }
.campaign-preview-chip a { color: var(--ink); text-decoration: underline; }

/* =====================================================================
   Mobile hardening — app-like behaviour on iOS/Android
   ===================================================================== */
/* iOS Safari ignores overflow-x on body alone for touch panning; clamp both roots */
html { overflow-x: hidden; overscroll-behavior-x: none; }
body { overscroll-behavior-x: none; }
/* remove double-tap-to-zoom on every interactive surface (keeps taps snappy too) */
body { touch-action: manipulation; }
@media (max-width: 760px) {
  /* iOS auto-zooms when a focused field is under 16px; keep all fields at 16px */
  input, select, textarea { font-size: 16px !important; }
  /* wide-tracked display type can poke past small viewports; tighten it */
  .hero-title .l2 { letter-spacing: 0.08em; }
  .brand-word { letter-spacing: 0.3em; padding-left: 0.3em; }
}

/* Compact header on phones: the full-size cluster was 471px wide on a 375px screen,
   letting iOS pan sideways into a dead zone. Everything now fits with room to spare. */
@media (max-width: 560px) {
  .nav-inner { gap: 8px; }
  .menu-toggle { width: 36px; }
  .nav-right { gap: 0; }
  .icon-btn { width: 36px; height: 36px; }
  .icon-btn .icon { width: 18px; height: 18px; }
  .brand-mark { width: 22px; height: 22px; }
  .brand-word { font-size: 1.02rem; letter-spacing: 0.2em; padding-left: 0.2em; }
  .cart-badge { top: 0; right: -2px; }
}

/* =====================================================================
   Mobile: a paged homepage
   Long stacked lists become side-swipe decks, each section lands like its
   own page, and band copy centres to match every other section.
   ===================================================================== */
.deck-dots { display: none; }
.deck-dot { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--line-strong); transition: background .3s var(--ease), transform .3s var(--ease); }
.deck-dot.is-on { background: var(--gold); transform: scale(1.4); }
.deck-dots button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.m-explore { display: none; }

@media (max-width: 760px) {
  /* --- a real pager: one section = one screen, one swipe = one page ---
     Scoped to the homepage only: content pages (product, checkout, journal)
     must stay ordinary documents. svh (not vh/dvh) so the iOS toolbars can
     never crop a page, and scroll-snap-stop:always so a fast flick advances
     exactly one page rather than several. */
  html[data-page="home"] { scroll-snap-type: y mandatory; }
  [data-page="home"] main > section {
    min-height: 100svh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex; flex-direction: column; justify-content: center;
    padding-top: 74px; padding-bottom: 38px;
  }
  /* the seasonal band is hidden out of season; never let it eat a page slot */
  [data-page="home"] main > section[hidden] { display: none; }
  /* tighten so each page actually fits one screen */
  [data-page="home"] main > section .section-head { margin-bottom: 18px; }
  [data-page="home"] main > section .section-title { font-size: clamp(1.55rem, 7vw, 2rem); line-height: 1.15; }
  [data-page="home"] main > section .section-sub { font-size: 0.9rem; margin-top: 9px; }
  /* the collection page carries a deck + dots, so it sheds its sub-line.
     Its quiz button goes too - "Find Your Scent" has its own row on the
     Where-to-next page, so nothing is actually lost. */
  .collection .section-sub { display: none; }
  .collection .section-head > .btn { display: none; }
  /* Filter chips are dropped on phones: swiping the deck is the browse gesture,
     five fragrances do not need filtering, and a filtered deck would leave the
     page dots counting cards that are no longer there. */
  .collection .filters { display: none; }

  /* hero: image and copy must share one screen (beats .hero-carousel .hero-media) */
  .hero-carousel .hero-media { aspect-ratio: 3 / 2; }
  .hero-carousel .hero-title { margin-bottom: 16px; }
  .hero-carousel .hero-title .l1 { font-size: clamp(1.7rem, 8vw, 2.3rem); }
  .hero-carousel .hero-title .l2 { font-size: clamp(2.5rem, 13vw, 3.6rem); }
  .hero-carousel .hero-controls { margin-top: 10px; margin-bottom: 6px; }
  .hero-carousel .hero-actions { flex-direction: row; gap: 10px; }
  .hero-carousel .hero-actions > * { flex: 1 1 0; min-width: 0; }

  /* cards size to their content rather than stretching to the tallest sibling */
  .is-deck .pcard-body { flex: 0 0 auto; }
  .is-deck > * { align-self: start; }

  /* deck cards: leaner so a whole card sits on one page. The second selector
     outranks the desktop orphan-card rule that squares off the last card. */
  .is-deck .pcard-media,
  .is-deck .product-card:last-child:nth-child(odd) .pcard-media { aspect-ratio: 3 / 2; }
  .is-deck .pcard-meta, .is-deck .pcard-desc { display: none; }
  .is-deck .pcard-body { padding: 14px 16px 16px; gap: 6px; }
  .is-deck .pcard-actions { flex-direction: row; gap: 8px; margin-top: 8px; }
  .is-deck .pcard-actions > * { flex: 1 1 0; min-width: 0; }

  /* long band copy is trimmed to a readable four lines on a phone */
  .band-body .lede { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

  /* --- photographs melt into the page instead of sitting on it as cards --- */
  .band-media, .story-media {
    border: 0; border-radius: 0; box-shadow: none; aspect-ratio: 4 / 3;
    -webkit-mask-image: radial-gradient(ellipse 74% 68% at 50% 45%, #000 40%, rgba(0,0,0,0.6) 70%, transparent 100%);
    mask-image: radial-gradient(ellipse 74% 68% at 50% 45%, #000 40%, rgba(0,0,0,0.6) 70%, transparent 100%);
  }
  .band-media::after, .story-media::after {
    box-shadow: none; border-radius: 0;
    background: radial-gradient(68% 60% at 50% 44%, transparent 42%, rgba(8, 8, 10, 0.5) 100%);
  }
  .band-grid, .story-grid { gap: 6px; }

  /* --- editorial bands: centred, matching the rest of the page --- */
  .band-body { text-align: center; }
  .band-body .eyebrow { justify-content: center; }
  .band-body .eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--gold-line); }
  .band-body p, .band-body .lede { margin-left: auto; margin-right: auto; }
  .band-body .btn { margin-left: auto; margin-right: auto; }

  /* --- swipe decks --- */
  .product-grid.is-deck, .offer-grid.is-deck {
    display: flex; grid-template-columns: none; gap: 14px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
    padding: 4px 20px 6px; margin-inline: -20px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .product-grid.is-deck::-webkit-scrollbar, .offer-grid.is-deck::-webkit-scrollbar { display: none; }
  .product-grid.is-deck > *, .offer-grid.is-deck > * {
    flex: 0 0 78vw; max-width: 330px; scroll-snap-align: center;
  }
  .deck-dots { display: flex; justify-content: center; align-items: center; gap: 9px; margin-top: 20px; }

  /* --- stats: never leave the 5th orphaned on its own row --- */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }

  /* --- mobile-only tap-through index --- */
  .m-explore { display: block; }
  .m-explore-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
  .m-explore-list a { display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 17px 2px; border-bottom: 1px solid var(--line); color: var(--ink);
    text-decoration: none; font-family: var(--serif); font-size: 1.06rem; }
  .m-explore-list a .mx-sub { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--faint); margin-left: auto; margin-right: 10px; }
  .m-explore-list a .icon { width: 16px; height: 16px; color: var(--gold); flex: none; }
  .m-explore-list a:active { color: var(--gold); }
}
