/* =========================================================
   Vision / رؤية — main stylesheet
   Layout concept: cinematic midnight canvas (60%), ivory bands for product (25%),
   desert-gold accents only on the star, full stops and live states (10%), support tones (5%).
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* brand palette */
  --midnight: #0B0B0B;
  --charcoal: #1C1C1C;
  --ink-2: var(--charcoal);
  --ivory: #F2F1EC;
  --sand: var(--ivory);       /* v5 (2026-10-21): only the five brand colours — old support tones map onto them */
  --gold: #D0AD73;
  --bronze: var(--charcoal);  /* accent text on ivory (gold is too light there) */
  --stone: #8A877F;
  --mock: #121213;            /* product photo background: dark studio (2026-10-12), matches the product images' edges */
  --text-dk: rgba(28, 28, 28, .8);   /* body text on ivory: charcoal at 80% */
  --muted: rgba(242, 241, 236, .7);
  --line: rgba(242, 241, 236, .14);
  --line-dk: rgba(11, 11, 11, .14);
  --error: var(--gold);

  /* type */
  --f-ar: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --f-lat: "Outfit", "Cairo", "Segoe UI", Arial, sans-serif;
  --f-display: "Outfit", "Segoe UI", Arial, sans-serif;   /* v5: Cairo (AR) + Outfit (EN) only */
  --fs-hero: clamp(3.1rem, 1.2rem + 7.4vw, 7.6rem);
  --fs-h1: clamp(2.3rem, 1.5rem + 3.4vw, 4.4rem);
  --fs-h2: clamp(1.9rem, 1.3rem + 2.4vw, 3.4rem);
  --fs-h3: clamp(1.05rem, .98rem + .3vw, 1.25rem);
  --fs-body: clamp(.95rem, .92rem + .15vw, 1.05rem);
  --fs-sm: .85rem;
  --fs-label: .7rem;

  /* layout */
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
  --bottom-nav: 0px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 48px); }
body {
  background: var(--midnight); color: var(--ivory);
  font-family: var(--f-ar); font-size: var(--fs-body); line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; padding-bottom: var(--bottom-nav);
}
html[lang="en"] body { font-family: var(--f-lat); line-height: 1.65; }
body.lock { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.2; }
/* Cairo's glyph box is ~1.87em tall (hamza, dots, descending tails). Arabic headings get enough
   line-height + padding to keep every glyph inside its own box, so nothing can touch the text around it. */
html[lang="ar"] :is(h1, h2, h3, h4) { line-height: 1.55; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--midnight); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 100; background: var(--ivory); color: var(--midnight); padding: 10px 16px; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }
.lat { font-family: var(--f-lat); }
.num { font-family: var(--f-lat); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

/* ---------- 3. Type ---------- */
.h1, .h2 { font-family: var(--f-ar); font-weight: 900; letter-spacing: 0; }
.h1 { font-size: var(--fs-h1); line-height: 1.12; }
.h2 { font-size: var(--fs-h2); line-height: 1.15; }
html[lang="ar"] .h1, html[lang="ar"] .h2 { line-height: 1.45; padding-block: .21em; }
/* Latin display: condensed heavy grotesk, tight leading */
html[lang="en"] .h1, html[lang="en"] .h2, .display {
  font-family: var(--f-display); font-weight: 800;
  text-transform: uppercase; line-height: 1; letter-spacing: -.012em;
}
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  font: 500 var(--fs-label) / 1.4 var(--f-lat); letter-spacing: .34em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); flex: none; }
.label { font: 600 var(--fs-label) / 1.4 var(--f-lat); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .label { font-family: var(--f-ar); letter-spacing: .04em; font-size: .78rem; }

/* gold brand atoms */
.stop { display: inline-block; width: .15em; height: .15em; background: var(--gold); margin-inline-start: .06em; vertical-align: baseline; }
.star-i { display: inline-block; width: .55em; height: .92em; background: var(--gold); vertical-align: -.1em;
  -webkit-mask: url("../assets/brand/mark-eye-star.svg") center / auto 100% no-repeat; mask: url("../assets/brand/mark-eye-star.svg") center / auto 100% no-repeat; }

/* ---------- 4. Buttons, links, icon buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 26px; border: 1px solid transparent;
  font-weight: 700; font-size: .92rem; letter-spacing: .02em; line-height: 1.2;
  transition: background .25s, color .25s, border-color .25s, transform .15s;
}
html[lang="en"] .btn { font-family: var(--f-lat); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn-light { background: var(--ivory); color: var(--midnight); }
.btn-light:hover { background: var(--gold); }
.btn-line { border-color: rgba(242, 241, 236, .55); color: var(--ivory); }
.btn-line:hover { background: var(--ivory); color: var(--midnight); border-color: var(--ivory); }
.btn-dark { background: var(--midnight); color: var(--ivory); }
.btn-dark:hover { background: var(--charcoal); }
.btn-wa { border-color: var(--line); color: var(--ivory); }
.btn-wa:hover { border-color: var(--gold); color: var(--gold); }
.full { width: 100%; }
.grow { flex: 1; }
.i-arrow { transition: transform .25s var(--ease); }
[dir="rtl"] .i-arrow { transform: scaleX(-1); }
.btn:hover .i-arrow, .link:hover .i-arrow { transform: translateX(4px); }
[dir="rtl"] .btn:hover .i-arrow, [dir="rtl"] .link:hover .i-arrow { transform: scaleX(-1) translateX(4px); }

.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .88rem; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.link-btn { font-size: .85rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; min-height: 32px; }
.link-btn:hover { color: var(--gold); }

.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: inherit; transition: background .2s, color .2s, transform .15s;
}
.icon-btn:hover { background: rgba(242, 241, 236, .08); }
.icon-btn:active { transform: scale(.9); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.badge {
  position: absolute; top: 3px; inset-inline-end: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--gold); color: var(--midnight); font: 700 10.5px/18px var(--f-lat); text-align: center; font-style: normal;
}
.bump { animation: bump .55s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.22) rotate(-8deg); } 60% { transform: scale(.94); } 100% { transform: scale(1); } }
.heart .fillable { fill: transparent; transition: fill .25s, stroke .25s; }
.heart[aria-pressed="true"] .fillable { fill: var(--gold); stroke: var(--gold); }

/* ---------- 5. Header ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(11, 11, 11, .92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s; }
.header.is-over { position: fixed; inset-inline: 0; background: linear-gradient(to bottom, rgba(11, 11, 11, .55), rgba(11, 11, 11, 0)); border-color: transparent; backdrop-filter: none; }
.header.is-over.is-scrolled, .header.is-over.menu-open { background: rgba(11, 11, 11, .92); backdrop-filter: blur(14px); border-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: block; flex: none; padding: 4px 0; }
.logo img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); margin-inline: auto; }
.nav a { position: relative; white-space: nowrap; font-size: .9rem; font-weight: 600; color: rgba(242, 241, 236, .85); padding: 10px 0; transition: color .2s; }
html[lang="en"] .nav a { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ivory); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.actions { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav + .actions { margin-inline-start: 0; }
.lang-btn { min-width: 44px; height: 36px; padding: 0 10px; border: 1px solid var(--line); font: 600 .8rem var(--f-lat); margin-inline: 4px; transition: border-color .2s, color .2s; }
.lang-btn:hover { border-color: var(--gold); color: var(--gold); }
html[lang="en"] .lang-btn { font-family: var(--f-ar); font-size: .95rem; }

/* search: icon expands into a field */
.search { position: relative; display: flex; align-items: center; }
.search input {
  width: 0; opacity: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; height: 40px;
  font-size: 16px; transition: width .4s var(--ease), opacity .25s, padding .4s var(--ease);
}
.search input::placeholder { color: var(--stone); }
.search input:focus { outline: none; border-bottom-color: var(--gold); }
.search.open input { width: clamp(180px, 18vw, 260px); opacity: 1; padding-inline: 8px; }
.search-toggle svg circle { transition: transform .3s var(--ease); transform-origin: 10.5px 10.5px; }
.search.open .search-toggle svg circle { transform: scale(.85); }
.search-results {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; width: min(360px, 92vw); z-index: 5;
  background: var(--charcoal); border: 1px solid var(--line); padding: 8px; box-shadow: 0 24px 48px rgba(0, 0, 0, .5);
}
.search-results a { display: flex; align-items: center; gap: 12px; padding: 8px; transition: background .2s; }
.search-results a:hover, .search-results a:focus-visible { background: rgba(242, 241, 236, .06); }
.search-results picture { width: 48px; flex: none; background: var(--mock); }
.search-results b { display: block; font-size: .9rem; }
.search-results small { color: var(--muted); font-size: .78rem; }
.search-results .sr-all { justify-content: space-between; border-top: 1px solid var(--line); margin-top: 4px; font-size: .82rem; font-weight: 600; }
.search-results .sr-all svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.sr-none { padding: 14px; color: var(--muted); font-size: .9rem; }

/* menu button: Lucide menu ↔ x */
.menu-btn { display: none; }
.mb-open, .mb-close { display: grid; place-items: center; }
.mb-close, .menu-btn[aria-expanded="true"] .mb-open { display: none; }
.menu-btn[aria-expanded="true"] .mb-close { display: grid; }
/* ---------- 6. Hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: min(100svh, 980px); padding-block: calc(var(--header-h) + 48px) 110px; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset-block: 0; inset-inline-end: 0; width: 58%; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero-media::after { content: ""; position: absolute; inset: 0; }
[dir="ltr"] .hero-media::after { background: linear-gradient(to right, var(--midnight) 0%, rgba(11, 11, 11, .55) 28%, rgba(11, 11, 11, 0) 58%), linear-gradient(to top, var(--midnight), transparent 22%); }
[dir="rtl"] .hero-media::after { background: linear-gradient(to left, var(--midnight) 0%, rgba(11, 11, 11, .55) 28%, rgba(11, 11, 11, 0) 58%), linear-gradient(to top, var(--midnight), transparent 22%); }
.hero-in { position: relative; }
.hero .eyebrow { animation: rise .8s var(--ease) both; }

/* the tagline: text, then the logo completes the sentence */
.tagline { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .26em; row-gap: .24em; font-size: var(--fs-hero); line-height: 1; margin-bottom: .32em; }
.tl-text { font-family: var(--f-ar); font-weight: 900; line-height: 1.5; padding-block: .19em; animation: rise .9s var(--ease) .15s both; }
html[lang="en"] .tl-text { font-family: var(--f-display); font-stretch: 68%; font-weight: 800; text-transform: uppercase; line-height: .9; padding-block: .06em; letter-spacing: .005em; }
.tl-logo { display: inline-block; line-height: 0; color: var(--ivory); }
.tl-logo svg { width: auto; overflow: visible; }
/* logo cap-line / baseline matched to the text (values measured from the SVG geometry) */
.tl-en svg { height: 1.12em; margin-bottom: -.233em; }
.tl-ar svg { height: 1.06em; margin-bottom: -.33em; }
html[lang="ar"] .tl-en, html[lang="en"] .tl-ar { display: none; }
/* The hero photo has its own رؤية/VISION sign at ~50–68% of the screen width (LTR). Keep the
   headline in the left half so the two wordmarks never stack; the logo wraps under "WE HAVE A". */
@media (min-width: 768px) { [dir="ltr"] .tagline { max-width: calc(50vw - var(--gutter)); } }
.tl-logo { animation: wipe-ltr 1.15s var(--ease) .8s both; }
[dir="rtl"] .tl-logo { animation-name: wipe-rtl; }
.tl-logo .star { transform-box: fill-box; transform-origin: center; animation: glint 1.3s ease 1.95s both, blink 8s ease 4s infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(.3em); } to { opacity: 1; transform: none; } }
@keyframes wipe-ltr { from { clip-path: inset(-30% 100% -30% 0); opacity: .4; } to { clip-path: inset(-30% 0 -30% 0); opacity: 1; } }
@keyframes wipe-rtl { from { clip-path: inset(-30% 0 -30% 100%); opacity: .4; } to { clip-path: inset(-30% 0 -30% 0); opacity: 1; } }
@keyframes glint {
  0% { transform: scale(.4) rotate(-25deg); fill: #D0AD73; }
  45% { transform: scale(1.32) rotate(6deg); fill: #F2F1EC; }
  100% { transform: none; fill: #D0AD73; }
}
/* the star blinks like an eye every few seconds */
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 95.5% { transform: scaleY(.08); } }

.hero-sub { max-width: 46ch; color: var(--muted); font-size: clamp(.98rem, .9rem + .3vw, 1.12rem); animation: rise .9s var(--ease) 1.3s both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; animation: rise .9s var(--ease) 1.45s both; }
.scroll-cue { position: absolute; bottom: 34px; inset-inline-start: max(var(--gutter), (100% - var(--wrap)) / 2); display: grid; justify-items: start; gap: 12px; font-size: 10px; letter-spacing: .3em; color: var(--muted); }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--ivory), transparent); margin-inline-start: 4px; animation: cue 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- 7. Ticker ---------- */
.ticker { background: var(--gold); color: var(--midnight); overflow: hidden; padding: 13px 0; }
.ticker-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 38s linear infinite; font-weight: 900; font-size: 1.05rem; white-space: nowrap; }
.ticker-track .lat { font-weight: 700; letter-spacing: .2em; font-size: .82rem; }
.ticker .star-i { background: var(--midnight); }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .ticker-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- 8. Sections ---------- */
.band { background: var(--ivory); color: var(--midnight); padding-block: clamp(64px, 9vw, 120px); }
.band .eyebrow, .band .label { color: var(--text-dk); }
.band .muted { color: var(--text-dk); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 48px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-aside { display: grid; gap: 16px; justify-items: start; max-width: 440px; }
/* side text: light grey on dark sections, dark grey on the ivory bands */
.sec-aside p { color: var(--muted); font-size: .95rem; }
.band .sec-aside p, .how .sec-aside p { color: var(--text-dk); }

/* ---------- 9. Product grid + card ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; aspect-ratio: 3 / 4; background: var(--mock); overflow: hidden; }
.card-link { position: absolute; inset: 0; display: block; }
.layer { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.layer.is-on { opacity: 1; }
.layer picture, .layer img { width: 100%; height: 100%; }
.layer img { object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .layer img { transform: scale(1.035); }
/* desktop: the other side of the hoodie fades in on hover (back <-> front) */
.card-alt { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.card-alt picture, .card-alt img { width: 100%; height: 100%; }
.card-alt img { object-fit: cover; }
.card-media:hover .card-alt, .card-link:focus-visible + .card-alt { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .card-alt { transition: none; } }
.tag { position: absolute; top: 14px; inset-inline-start: 14px; font-size: 10px; font-weight: 500; letter-spacing: .28em; color: rgba(11, 11, 11, .6); pointer-events: none; }
.card .heart { position: absolute; top: 8px; inset-inline-end: 8px; color: var(--midnight); background: rgba(242, 241, 236, .92); }
.card .heart:hover { background: var(--ivory); }
.card-body { display: grid; gap: 6px; padding-top: 16px; }
.card-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-name { font-size: var(--fs-h3); font-weight: 800; line-height: 1.55; }
html[lang="en"] .card-name { font-family: var(--f-display); font-stretch: 72%; text-transform: uppercase; letter-spacing: .02em; font-size: 1.3rem; line-height: 1.1; }
.card-name a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.card-price { font-weight: 700; font-size: .95rem; white-space: nowrap; }
.card-print { font-size: .82rem; color: var(--text-dk); }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; margin-top: 6px; }

/* swatches + best-match tag */
.swatches { display: flex; gap: 14px; padding-bottom: 16px; }
.sw { position: relative; display: inline-grid; justify-items: center; }
.swatch { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); transition: transform .2s; }
.swatch::before { content: ""; position: absolute; inset: -9px; }                 /* 44px tap target */
.swatch::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid transparent; transition: border-color .2s; }
.swatch:hover { transform: scale(1.08); }
.swatch[aria-checked="true"]::after { border-color: currentColor; }
.best-tag { position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%); font: 700 .68rem/1 var(--f-ar); color: var(--charcoal); white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; pointer-events: none; }
html[lang="en"] .best-tag { font-family: var(--f-lat); letter-spacing: .06em; text-transform: uppercase; font-size: .56rem; }
/* the best match is listed first: anchor its tag to the card edge so it never sticks out of the screen */
.sw:first-child .best-tag { left: auto; inset-inline-start: -4px; transform: none; }
.best-tag::before { content: ""; width: 6px; height: 10px; background: currentColor; -webkit-mask: url("../assets/brand/mark-eye-star.svg") center / auto 100% no-repeat; mask: url("../assets/brand/mark-eye-star.svg") center / auto 100% no-repeat; }

.quick-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-dk); font-size: .78rem; font-weight: 700; transition: background .2s, color .2s; flex: none; }
.quick-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; transition: transform .3s var(--ease); }
.quick-btn:hover, .quick-btn[aria-expanded="true"] { background: var(--midnight); color: var(--ivory); }
.quick-btn[aria-expanded="true"] svg { transform: rotate(45deg); }
.quick-sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; animation: rise .35s var(--ease); }
.qs-label { font-size: .78rem; color: var(--text-dk); margin-inline-end: 4px; }
.size-chip { min-width: 46px; height: 44px; padding: 0 10px; border: 1px solid var(--line-dk); font: 600 .9rem var(--f-lat); transition: background .2s, color .2s, border-color .2s; }
.size-chip:hover { border-color: currentColor; }
.size-chip[aria-checked="true"] { background: var(--midnight); color: var(--ivory); border-color: var(--midnight); }

/* product imagery: the cursor becomes the eye mark (desktop) */
@media (hover: hover) and (pointer: fine) {
  .eye-cursor [data-cursor="eye"] { cursor: url("../assets/brand/cursor-eye.svg") 14 17, zoom-in; }
}

/* ---------- 11. Models (v5, 2026-10-21) ----------
   Photos dropped in assets/models/ (home-1 … home-6) — the section only appears when at least one exists. */
.models { padding-block: clamp(64px, 8vw, 110px); border-bottom: 1px solid var(--line); }
.md-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.md-grid[data-n="1"] { grid-template-columns: minmax(0, 520px); justify-content: center; }
.md-grid[data-n="2"], .md-grid[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.md-item { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--charcoal); }
.md-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1s var(--ease); }
.md-item:hover img { transform: scale(1.02); }
@media (max-width: 767px) { .md-grid, .md-grid[data-n] { grid-template-columns: repeat(2, minmax(0, 1fr)); } .md-grid[data-n="1"] { grid-template-columns: 1fr; } }

/* ---------- 16. Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 48px 30px; background: var(--midnight); }
.f-grid { display: grid; grid-template-columns: 1fr 1.5fr 1fr .9fr; }
.f-grid > * { padding: 4px clamp(18px, 2.5vw, 36px); border-inline-start: 1px solid var(--line); }
.f-grid > :first-child { border: 0; padding-inline-start: 0; }
.f-brand img { height: 56px; width: auto; }
.f-col { display: grid; gap: 10px; align-content: start; justify-items: start; }
.f-col p { color: var(--muted); font-size: .88rem; max-width: 40ch; }
.social { display: flex; gap: 4px; margin-inline-start: -10px; }
.social .icon-btn:hover { color: var(--gold); }
.handle { font: .82rem var(--f-lat); color: var(--muted); }
.f-links a, .f-links .link-btn { font-size: .9rem; color: rgba(242, 241, 236, .82); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.f-links a:hover, .f-links .link-btn:hover { color: var(--gold); }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.see-beyond { letter-spacing: .3em; }

/* ---------- 16b. Shop sections ---------- */
/* shop: one section per collection */
.shop-col { padding-bottom: clamp(48px, 6vw, 72px); scroll-margin-top: calc(var(--header-h) + 16px); }
.shop-col + .shop-col { border-top: 1px solid var(--line-dk); padding-top: clamp(40px, 5vw, 56px); }
.col-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 28px; }
.col-desc { color: var(--text-dk); font-size: .9rem; max-width: 52ch; }
.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 28px; border: 1px dashed rgba(11, 11, 11, .3); }
.soon > div { flex: 1; min-width: 220px; }
.soon b { display: block; font-weight: 800; margin-bottom: 6px; }
.soon p { color: var(--text-dk); font-size: .9rem; }
.soon .btn svg { width: 20px; height: 20px; }
.more-row { display: flex; justify-content: center; margin-top: 32px; }
.band .more-row .btn-line { border-color: rgba(11, 11, 11, .45); color: var(--midnight); }
.band .more-row .btn-line:hover { background: var(--midnight); color: var(--ivory); border-color: var(--midnight); }
[dir="rtl"] .more-row .i-arrow { transform: scaleX(-1); }

/* ---------- 16c. Collection moods (2026-10-08) ----------
   Each collection only changes ACCENTS: banner background/texture, accent colour, card tag.
   Layout, fonts and navigation stay the same everywhere.
   --mood    accent on dark (banner)      --mood-dk  accent on ivory (cards, AA contrast)
   --mood-bg banner background            --mood-tex banner texture layer */
[data-mood] { --mood: var(--gold); --mood-dk: var(--bronze); --mood-bg: var(--midnight); --mood-tex: none; --mood-tex-size: auto; --mood-art: none; }
[data-mood="identity"]   { --mood-bg: radial-gradient(120% 90% at 85% 10%, rgba(208, 173, 115, .16), transparent 60%), var(--midnight); }
[data-mood="anime"]      { --mood: var(--gold);
  --mood-bg: linear-gradient(115deg, var(--midnight) 55%, var(--charcoal));
  --mood-tex: radial-gradient(rgba(208, 173, 115, .2) 1.2px, transparent 1.6px); --mood-tex-size: 9px 9px; }
[data-mood="movies"]     { --mood: var(--ivory); --mood-dk: var(--charcoal);
  --mood-bg: radial-gradient(70% 120% at 50% 0%, rgba(242, 241, 236, .10), transparent 70%), var(--midnight);
  --mood-tex: repeating-linear-gradient(90deg, rgba(242, 241, 236, .16) 0 14px, transparent 14px 30px); --mood-art: grayscale(.35) contrast(1.05); }
[data-mood="egyptian"]   { --mood: var(--gold);
  --mood-bg: linear-gradient(160deg, var(--charcoal), var(--midnight) 70%);
  --mood-tex: repeating-conic-gradient(from 45deg, rgba(208, 173, 115, .12) 0 25%, transparent 0 50%); --mood-tex-size: 28px 28px; }
[data-mood="typography"] { --mood: var(--ivory); --mood-dk: var(--midnight);
  --mood-bg: var(--midnight);
  --mood-tex: repeating-linear-gradient(0deg, rgba(242, 241, 236, .07) 0 1px, transparent 1px 22px); }
[data-mood="vintage"]    { --mood: var(--gold);
  --mood-bg: radial-gradient(90% 90% at 50% 40%, var(--charcoal), var(--midnight) 75%);
  --mood-tex: url("../assets/brand/grain.png");   /* static film-grain tile (cheap to paint on phones) */
  --mood-tex-size: 160px 160px; --mood-art: sepia(.2) saturate(.9) contrast(.96); }
[data-mood="mix"]        { --mood: var(--gold);
  --mood-bg: linear-gradient(120deg, var(--charcoal) 0 22%, transparent 22%), linear-gradient(300deg, var(--charcoal) 0 26%, transparent 26%), var(--midnight);
  --mood-tex: linear-gradient(135deg, rgba(208, 173, 115, .9) 0 6px, transparent 6px); --mood-tex-size: 60px 60px; }
[data-mood="sports"], [data-mood="nostalgia"], [data-mood="girly"] { --mood: var(--gold);
  --mood-bg: linear-gradient(180deg, var(--charcoal), var(--midnight) 80%);
  --mood-tex: repeating-linear-gradient(90deg, rgba(242, 241, 236, .05) 0 60px, transparent 60px 120px); }
[data-mood="nostalgia"]  { --mood-tex: radial-gradient(rgba(242, 241, 236, .12) 1.4px, transparent 1.8px); --mood-tex-size: 14px 14px; }
[data-mood="girly"]      { --mood: var(--ivory); }

/* phones: no live blur / image filters while scrolling (they made collection pages stutter and freeze) */
@media (max-width: 767px), (hover: none) {
  .header, .header.is-over.is-scrolled, .header.is-over.menu-open { backdrop-filter: none; background: rgba(11, 11, 11, .97); }
  .bottom-nav, .scrim { backdrop-filter: none !important; }
  .bottom-nav { background: rgba(11, 11, 11, .98) !important; }
  .cb-card img { filter: none; }
  .cb-card { box-shadow: 0 8px 18px rgba(0, 0, 0, .35); }
  .card:hover .layer img { transform: none; }
}

/* collection banner (shop.html?c=…) */
.col-banner { position: relative; isolation: isolate; overflow: hidden; background: var(--mood-bg); padding-block: clamp(44px, 7vw, 96px) clamp(36px, 5vw, 64px); border-bottom: 3px solid var(--mood); }
.col-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mood-tex); background-size: var(--mood-tex-size); pointer-events: none; }
[data-mood="vintage"] .col-banner::before { opacity: .8; }
[data-mood="vintage"] .col-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 100% at 50% 45%, transparent 55%, rgba(0, 0, 0, .6)); pointer-events: none; }
[data-mood="movies"] .col-banner::before { inset: 0 0 auto; height: 12px; top: 10px; }
[data-mood="movies"] .col-banner::after { content: ""; position: absolute; inset: auto 0 10px; height: 12px; z-index: -1; background: var(--mood-tex); pointer-events: none; }
[data-mood="mix"] .col-banner::before { opacity: .5; }
.cb-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cb-text { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.cb-back { font-size: .85rem; color: var(--muted); min-height: 32px; display: inline-flex; align-items: center; }
.cb-back:hover { color: var(--mood); }
.col-banner .eyebrow { color: var(--mood); }
.col-banner .eyebrow::before { background: var(--mood); }
.cb-mood { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); font-weight: 700; color: var(--mood); }
.col-banner .muted b { color: var(--ivory); }
.cb-art { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; min-width: 0; }
.cb-card { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--charcoal); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.cb-card picture, .cb-card img { width: 100%; height: 100%; }
.cb-card img { object-fit: cover; filter: var(--mood-art); }
.cb-card.is-photo img { object-position: center 20%; }
.cb-card.cb-1 { transform: translateY(-18%); }
.cb-card:only-child { grid-column: 2; }
[data-mood="mix"] .cb-card { outline: 3px solid var(--mood); outline-offset: 5px; }
[data-mood="mix"] .cb-card.cb-1 { outline-color: var(--gold); }
[data-mood="mix"] .cb-card.cb-2 { outline-color: var(--ivory); }
[data-mood="vintage"] .cb-card { border: 6px solid var(--ivory); }
[data-mood="movies"] .cb-card { border: 1px solid rgba(242, 241, 236, .25); }

/* accents that follow into the product grid / product page / home tiles */
body[data-mood] .shop-band .card .tag, body[data-mood] .related .card .tag { color: var(--mood-dk); font-weight: 700; }
.shop-col[data-mood] .col-head .eyebrow { color: var(--mood-dk); }
.shop-col[data-mood] .col-head .eyebrow::before { background: var(--mood-dk); height: 2px; }
body[data-mood] #pdp .eyebrow { color: var(--mood); }
body[data-mood] #pdp .eyebrow::before { background: var(--mood); }
[data-mood="vintage"] .card-media img, body[data-mood="vintage"] .g-slide img { filter: none; }
.col-tile[data-mood] .col-meta { border-top: 2px solid var(--mood); padding-top: 10px; }
@media (max-width: 767px) {
  .cb-in { grid-template-columns: 1fr; }
  .cb-art { max-width: 420px; margin-top: 18px; }
  .cb-card.cb-1 { transform: translateY(-10%); }
}

/* designs available in one colour only */
.swatches.single { padding-bottom: 0; align-items: center; gap: 10px; }
.only-color { font-size: .78rem; color: var(--text-dk); }
.buy .only-color { color: var(--muted); }


/* product page: the large back view fills most of the screen height on desktop */
@media (min-width: 1024px) {
  .gallery { width: min(100%, calc((100svh - var(--header-h) - 130px) * .75)); justify-self: center; }
}
/* phones: swipe a card sideways to see the front (the back shows by default) */
.card-media.show-alt .card-alt { opacity: 1; }
.card-flip-hint { position: absolute; bottom: 10px; inset-inline-start: 50%; transform: translateX(-50%); display: flex; gap: 5px; pointer-events: none; }
[dir="rtl"] .card-flip-hint { transform: translateX(50%); }
.card-flip-hint i { width: 6px; height: 6px; border-radius: 50%; background: rgba(242, 241, 236, .35); }
.card-flip-hint i:first-child, .card-media.show-alt .card-flip-hint i:last-child { background: var(--ivory); }
.card-media.show-alt .card-flip-hint i:first-child { background: rgba(242, 241, 236, .35); }
@media (hover: hover) and (pointer: fine) { .card-flip-hint { display: none; } }

/* ---------- 17. Bottom nav (mobile) ---------- */


/* ---------- 18. Drawer (cart + wishlist) ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .55); backdrop-filter: blur(3px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 70; width: min(440px, 100%);
  display: flex; flex-direction: column; background: var(--ivory); color: var(--midnight);
  transform: translateX(105%); transition: transform .45s var(--ease); visibility: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
[dir="rtl"] .drawer { transform: translateX(-105%); }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 0 20px; border-bottom: 1px solid var(--line-dk); padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
.drawer .icon-btn:hover { background: rgba(11, 11, 11, .06); }
.tabs { display: flex; gap: 22px; }
.tabs button { position: relative; min-height: 52px; font-weight: 800; font-size: 1rem; color: rgba(11, 11, 11, .5); }
.tabs button[aria-selected="true"] { color: var(--midnight); }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--midnight); }
.tab-n { font: 700 .72rem var(--f-lat); background: var(--midnight); color: var(--ivory); border-radius: 9px; padding: 1px 7px; font-style: normal; }
.pane { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.pane-body { flex: 1; overflow-y: auto; padding: 20px; }
.lines { display: grid; gap: 18px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: start; }
.line-img { display: block; background: var(--mock); aspect-ratio: 3 / 4; overflow: hidden; }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-info { display: grid; gap: 4px; justify-items: start; min-width: 0; }
.line-info b { font-size: .95rem; }
.line-info small { font-size: .8rem; color: var(--text-dk); }
.line-end { display: grid; justify-items: end; gap: 4px; }
.line-end .heart { color: var(--midnight); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 44px; height: 48px; display: grid; place-items: center; }
.qty button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }
.qty.sm { border-color: var(--line-dk); margin-top: 4px; }
.qty.sm button { width: 36px; height: 36px; }
.empty { display: grid; justify-items: center; text-align: center; gap: 16px; padding: 56px 12px; color: var(--text-dk); }
.empty img { width: 52px; }
.empty-heart svg { width: 40px; height: 40px; fill: none; stroke: var(--midnight); stroke-width: 1.3; }
.pane-foot { border-top: 1px solid var(--line-dk); padding: 16px 20px 20px; display: grid; gap: 10px; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.total b { font: 700 1.25rem var(--f-lat); }
.note { font-size: .78rem; color: var(--text-dk); }
.drawer .btn-wa { background: var(--midnight); color: var(--ivory); border-color: var(--midnight); }
.drawer .btn-wa:hover { background: var(--charcoal); color: var(--gold); }
.checkout { display: grid; gap: 6px; align-content: start; }
.co-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.checkout label:not(.radio) { font-size: .85rem; font-weight: 700; margin-top: 8px; }
.checkout input:not([type="radio"]), .checkout select, .checkout textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-dk); background: var(--ivory); color: var(--midnight); font-size: 16px; border-radius: 0;
}
.checkout input:focus, .checkout select:focus, .checkout textarea:focus { outline: 2px solid var(--midnight); outline-offset: 0; }
.checkout input:user-invalid, .checkout select:user-invalid, .checkout textarea:user-invalid { border-color: var(--gold); }
.checkout fieldset { border: 0; display: grid; gap: 8px; margin-top: 12px; }
.checkout legend { font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
.radio { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-dk); background: var(--ivory); cursor: pointer; }
.radio input { accent-color: var(--midnight); width: 18px; height: 18px; }
.done { display: grid; justify-items: center; align-content: start; text-align: center; gap: 14px; padding-top: 44px; }
.done img { width: 60px; }
.done h3 { font-size: 1.4rem; font-weight: 900; }
.done p { color: var(--text-dk); font-size: .92rem; }
.order-text { width: 100%; text-align: start; white-space: pre-wrap; background: var(--ivory); border: 1px dashed var(--line-dk); padding: 14px; font: .8rem/1.8 var(--f-ar); }

/* ---------- 19. Dialogs ---------- */
.sheet { border: 0; padding: 0; margin: auto; width: min(560px, calc(100% - 32px)); background: var(--ivory); color: var(--midnight); }
.sheet::backdrop, .lightbox::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 14px 22px; border-bottom: 1px solid var(--line-dk); }
.sheet-head h2 { font-size: 1.15rem; font-weight: 900; }
.sheet .icon-btn:hover { background: rgba(11, 11, 11, .06); }
.sg-table { padding: 18px 22px 22px; overflow-x: auto; }
.sg-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.sg-table th, .sg-table td { padding: 12px 10px; text-align: center; border-bottom: 1px solid var(--line-dk); font-variant-numeric: tabular-nums; }
.sg-table thead th { font-size: .8rem; color: var(--text-dk); font-weight: 700; }
.sg-table tbody th { font-family: var(--f-lat); font-weight: 700; }
.sg-table .note { margin-top: 12px; }

/* ---------- 20. Toast ---------- */
.toast {
  position: fixed; bottom: calc(24px + var(--bottom-nav)); left: 50%; z-index: 90; max-width: calc(100% - 32px);
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--ivory); color: var(--midnight); padding: 12px 20px; font-size: .88rem; font-weight: 600;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4); transition: opacity .3s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 21. Inner pages ---------- */
.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 48px); }
.page-head .muted { margin-top: 10px; }
.shop-band { padding-top: clamp(28px, 4vw, 48px); }
.toolbar { display: grid; gap: 16px; margin-bottom: 32px; }
.query { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-weight: 700; }
.color-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.color-filter .muted { font-size: .85rem; }
.cf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-dk); border-radius: 999px; font-size: .85rem; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--midnight); }
.chip[aria-checked="true"] { background: var(--midnight); color: var(--ivory); border-color: var(--midnight); }
.chip .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); }
.chip[aria-checked="true"] .dot { box-shadow: 0 0 0 1.5px var(--ivory); }
.empty-note { padding: 40px 0; color: var(--text-dk); }

/* product page (dark) */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 22px; font-size: .82rem; color: var(--muted); }
.crumbs a { padding-block: 12px; margin-block: -12px; }
.crumbs a:hover { color: var(--ivory); }
.crumbs [aria-current] { color: var(--ivory); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4.5vw, 80px); align-items: start; padding-bottom: clamp(64px, 8vw, 110px); }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); min-width: 0; }
.g-track { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--mock); overscroll-behavior-x: contain; }
.g-track::-webkit-scrollbar { display: none; }
.g-slide { position: relative; flex: 0 0 100%; margin: 0; aspect-ratio: 3 / 4; scroll-snap-align: start; }
.g-zoom { position: absolute; inset: 0; width: 100%; display: block; cursor: zoom-in; }
.g-showcase .layer img { object-fit: contain; background: var(--ivory); }      /* wide showcase image: show it whole */
.lens {
  position: absolute; z-index: 3; width: clamp(200px, 18vw, 280px); aspect-ratio: 1.7; border-radius: 50%;
  border: 1.5px solid var(--gold); background-color: var(--mock); background-repeat: no-repeat;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .45), inset 0 0 0 4px rgba(11, 11, 11, .25);
  transform: translate(-50%, -50%); pointer-events: none;
}
.lens .star-i { position: absolute; top: -.75em; left: 50%; transform: translateX(-50%); font-size: 18px; }
.g-views { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.g-thumb { display: flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--muted); transition: border-color .2s, color .2s; }
[dir="rtl"] .g-thumb { padding: 6px 6px 6px 16px; }
.g-thumb[aria-selected="true"] { border-color: var(--ivory); color: var(--ivory); }
.th-img { position: relative; width: 48px; aspect-ratio: 3 / 4; overflow: hidden; background: var(--mock); }
.hint { margin-top: 10px; font-size: .78rem; color: var(--stone); }
.buy { display: grid; gap: 18px; min-width: 0; }
.buy .eyebrow { margin-bottom: 0; }
.pdp-price { font-size: 1.6rem; font-weight: 700; }
.pdp-desc { color: var(--muted); max-width: 52ch; }
.pdp-print { font-size: .9rem; display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; }
.opt { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.opt-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.buy .swatch { width: 34px; height: 34px; }
.buy .swatches { gap: 20px; padding-bottom: 18px; }
.buy .best-tag { color: var(--gold); }
.why summary { cursor: pointer; font-size: .82rem; color: var(--gold); width: fit-content; list-style: none; text-decoration: underline; text-underline-offset: 4px; }
.why summary::-webkit-details-marker { display: none; }
.why p { margin-top: 8px; font-size: .85rem; color: var(--muted); max-width: 52ch; }
.sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.size-chip.lg { min-width: 64px; height: 52px; font-size: 1rem; border-color: var(--line); }
.size-chip.lg:hover { border-color: var(--ivory); }
.buy .size-chip[aria-checked="true"] { background: var(--ivory); color: var(--midnight); border-color: var(--ivory); }
.field-err { color: var(--error); font-size: .85rem; font-weight: 600; }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.buy-row { display: flex; gap: 10px; align-items: stretch; }
.buy-row .btn { min-height: 52px; }
.icon-btn.boxed { width: 52px; height: 52px; border-radius: 0; border: 1px solid var(--line); flex: none; }
.acc { border-bottom: 1px solid var(--line); margin-top: 8px; }
.acc details { border-top: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; min-height: 56px; cursor: pointer; font-weight: 700; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 300 1.4rem var(--f-lat); transition: transform .3s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc p { padding-bottom: 18px; color: var(--muted); font-size: .92rem; }
.related { padding-block: clamp(56px, 7vw, 96px); }

.buy-bar { display: none; }

/* lightbox */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(11, 11, 11, .97); }
.lb-stage { width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; touch-action: none; cursor: grab; }
.lb-stage img { max-width: 100%; max-height: 100%; transform-origin: center; transition: transform .12s ease-out; user-select: none; }
.lb-close { position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); inset-inline-end: 12px; z-index: 2; color: var(--ivory); background: rgba(28, 28, 28, .8); }

/* ---------- 22. Loader (first visit) ---------- */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--midnight); transition: opacity .55s ease, visibility .55s; }
.loader.out { opacity: 0; visibility: hidden; }
.loader-mark { width: 76px; animation: rise .6s var(--ease) both; }
/* the eye mark: the star sits on top of the eye (restored 2026-10-24 — it lived with the removed About section) */
.eye-stack { position: relative; display: block; }
.eye-stack img { width: 100%; height: auto; }
.eye-stack .eye-star { position: absolute; inset: 0; transition: transform .45s var(--ease); }
.loader .eye-star { animation: glint-img 1.2s ease .35s both; }
@keyframes glint-img { 0% { transform: scale(.3) rotate(-30deg); filter: brightness(1); } 50% { transform: scale(1.35) rotate(8deg); filter: brightness(1.6) drop-shadow(0 0 10px rgba(208, 173, 115, .8)); } 100% { transform: none; filter: none; } }

/* ---------- 23. Scroll reveal ---------- */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-on .reveal:not(.in) { opacity: 0; transform: translateY(26px); }

.grid .reveal:nth-child(2) { transition-delay: .08s; }
.grid .reveal:nth-child(3) { transition-delay: .16s; }
.steps .reveal:nth-child(2) { transition-delay: .06s; } .steps .reveal:nth-child(3) { transition-delay: .12s; }
.steps .reveal:nth-child(4) { transition-delay: .18s; } .steps .reveal:nth-child(5) { transition-delay: .24s; }

/* ---------- 24. Responsive ---------- */
@media (min-width: 1440px) {
  :root { --wrap: 1440px; --header-h: 84px; }
  .logo img { height: 46px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-how { display: none; }
  .search.open input { width: 170px; }
}
@media (max-width: 1100px) {
  .about { grid-template-columns: 1fr 1fr; }
  .about-eye { grid-column: 1 / -1; grid-auto-flow: column; justify-content: center; border-inline-start: 0; border-top: 1px solid var(--line); padding: 28px 20px; }
  .about-tags { text-align: start; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .f-grid > :nth-child(3) { border: 0; padding-inline-start: 0; }
}
@media (max-width: 1023px) {
  .nav {
    position: absolute; top: var(--header-h); inset-inline: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--midnight); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px; margin: 0;
  }
  .nav.open { display: flex; animation: rise .3s var(--ease); }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a::after { display: none; }
  .menu-btn { display: inline-grid; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .col-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 24px; }
  .send-in { grid-template-columns: 1fr; }
  .send-media { max-width: 520px; width: 100%; }
  .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  :root { --header-h: 62px; }
  .hide-mobile { display: none !important; }
  .logo img { height: 34px; }
  .header-in { gap: 8px; }
  /* search opens as a full-width field under the header */
  .search { position: static; }
  .search-toggle { display: none; }
  .search input { position: absolute; top: 100%; inset-inline: 0; width: 100% !important; height: 0; padding: 0 var(--gutter) !important; background: var(--midnight); border: 0; }
  .search.open input { height: 56px; border-bottom: 1px solid var(--line); }
  .search-results { position: absolute; top: calc(100% + 56px); inset-inline: 0; width: 100%; border-inline: 0; }

  .hero { min-height: 100svh; align-items: flex-end; padding-bottom: 96px; }
  .hero-media { width: 100%; }
  [dir] .hero-media::after { background: linear-gradient(to top, var(--midnight) 12%, rgba(11, 11, 11, .55) 50%, rgba(11, 11, 11, .2) 100%); }
  .hero-cta .btn { flex: 1 1 auto; }
  .scroll-cue { display: none; }


  .f-grid { grid-template-columns: 1fr; }
  .f-grid > * { border: 0 !important; padding-inline: 0 !important; }
  .f-bottom { flex-direction: column; }


  /* product page: sticky add-to-cart bar above the bottom nav */
  .buy-bar {
    position: fixed; inset-inline: 0; bottom: var(--bottom-nav); z-index: 44; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gutter); background: var(--charcoal); border-top: 1px solid var(--line); animation: rise .3s var(--ease);
  }
  .bb-info { display: grid; line-height: 1.3; min-width: 0; }
  .bb-info b { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bb-info span { color: var(--muted); font-size: .85rem; }
  .buy-bar .btn { min-height: 46px; padding: 0 20px; }
  .g-track { margin-inline: calc(var(--gutter) * -1); }
  .lens { display: none; }
  .drawer { width: 100%; }
}
@media (max-width: 400px) {
  .card-foot { flex-wrap: wrap; }
  .buy-row { flex-wrap: wrap; }
  .buy-row .grow { flex-basis: 100%; order: 3; }
}

/* ---------- 24b. v5 (2026-10-21): price + discount, cards, product page, icons ---------- */
/* one icon set (Lucide, 1.5px stroke), one size */
.lu { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* price: the price now, the old price struck through in Stone, the discount badge in gold on black */
.pr { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; white-space: nowrap; }
.pr-now { font: 700 1.02rem/1.25 var(--f-lat); }
.pr-was { font: 500 .8rem/1.25 var(--f-lat); color: var(--stone); text-decoration: line-through; text-decoration-thickness: 1px; }
.pr.big .pr-now { font-size: clamp(1.75rem, 1.5rem + .9vw, 2.3rem); font-weight: 700; letter-spacing: -.01em; }
.pr.big .pr-was { font-size: 1.02rem; }
.off-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 2px; background: var(--midnight); color: var(--gold); font: 700 .74rem/1 var(--f-ar); white-space: nowrap; }
html[lang="en"] .off-badge { font-family: var(--f-lat); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.card-media .off-badge { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; pointer-events: none; }
.pdp-price { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; font-size: inherit; }
.pdp-price .off-badge { height: 28px; border: 1px solid rgba(208, 173, 115, .45); }
.buy-bar .pr-was { display: none; }

/* cards: more air, small corners, a quiet hover, the collection name small above the name */
.cards-3 { gap: clamp(36px, 4vw, 56px) clamp(16px, 2.2vw, 32px); }
.card-media { border-radius: 4px; }
.card:hover .layer img { transform: scale(1.02); }
.card-body { gap: 4px; padding-top: 14px; }
.card-col { font: 600 .66rem/1.5 var(--f-lat); letter-spacing: .22em; text-transform: uppercase; color: var(--text-dk); }
html[lang="ar"] .card-col { font-family: var(--f-ar); font-size: .76rem; letter-spacing: 0; }
.card-row { flex-direction: column; align-items: flex-start; gap: 2px; }
.card-name { font-size: 1.05rem; font-weight: 700; line-height: 1.5; }
html[lang="en"] .card-name { font-family: var(--f-lat); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 1.02rem; line-height: 1.35; }
.card-foot { margin-top: 10px; }
.card .heart { background: rgba(242, 241, 236, .9); }

/* all-products page: collection shortcuts */
.col-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.col-chips .chip small { font-size: .72rem; color: var(--text-dk); }
.col-chips .chip:hover small { color: inherit; }

/* collection banner: a model photo when assets/models/banner-<collection> exists */
.col-banner.has-photo .cb-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cb-photo { order: 2; display: block; aspect-ratio: 4 / 5; max-height: 520px; overflow: hidden; border-radius: 4px; background: var(--charcoal); }
.cb-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

/* product page: big clear swatches, premium size buttons, a clear order button, the three promises */
.buy .swatch { width: 38px; height: 38px; }
.buy .swatches { gap: 22px; }
.buy .swatch::after { inset: -6px; }
.size-chip { border-radius: 2px; }
.size-chip.lg { min-width: 72px; height: 54px; font: 600 1rem var(--f-lat); letter-spacing: .06em; border-color: rgba(242, 241, 236, .28); }
.size-chip.lg:hover { border-color: var(--ivory); }
.buy-row .btn { min-height: 56px; font-size: .98rem; }
.perks { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.perks li { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.perks .lu { color: var(--gold); }

@media (max-width: 767px) {
  /* phones: two cards per row on the shop + collection pages */
  .cards-3:not(#dropGrid) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
  .cards-3:not(#dropGrid) .quick-btn, .cards-3:not(#dropGrid) .quick-sizes { display: none; }
  .cards-3:not(#dropGrid) .swatches { gap: 11px; }
  .cards-3:not(#dropGrid) .swatch { width: 20px; height: 20px; }
  .cards-3:not(#dropGrid) .swatch::after { inset: -4px; }
  .cards-3:not(#dropGrid) .card-name { font-size: .95rem; }
  .card-media .off-badge { top: 8px; inset-inline-start: 8px; height: 22px; padding: 0 7px; font-size: .68rem; }
  html[lang="en"] .card-media .off-badge { font-size: .58rem; }
  .cards-3:not(#dropGrid) .card .heart { top: 2px; inset-inline-end: 2px; transform: scale(.86); }
  .col-banner.has-photo .cb-in { grid-template-columns: 1fr; }
  .cb-photo { order: 0; max-height: 360px; }
  .size-chip.lg { min-width: 0; flex: 1; }
  /* chip rows scroll sideways in one line so the designs start higher on the screen */
  .col-chips, .cf-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .col-chips::-webkit-scrollbar, .cf-chips::-webkit-scrollbar { display: none; }
  .col-chips .chip, .cf-chips .chip { flex: none; min-height: 38px; padding: 0 14px; }
  .toolbar { min-width: 0; }
  .color-filter { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
}
/* =========================================================
   24c. v6 (2026-10-24) — premium streetwear pass
   Surfaces: Midnight sections alternating with Charcoal; the product page on Ivory.
   Gold only for details (price, badge, hover, the line under titles). 8px spacing; sections 96px / 64px.
   ========================================================= */
:root { --sec: 96px; --fs-body: 1rem; --ease-out: cubic-bezier(.2, .7, .2, 1); }
@media (max-width: 767px) { :root { --sec: 64px; --fs-body: .9375rem; } }
body { font-weight: 400; }

/* type: headings Outfit Bold, uppercase, wide tracking (EN); Cairo SemiBold (AR) */
.h1, .h2 { font-weight: 600; }
html[lang="en"] .h1, html[lang="en"] .h2 { font-family: var(--f-lat); font-weight: 700; letter-spacing: .06em; line-height: 1.08; }
.h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); }
html[lang="ar"] .h2 { line-height: 1.5; }
.sec-head .h2 { position: relative; padding-bottom: 14px; }
.sec-head .h2::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 40px; height: 1px; background: var(--gold); }
.eyebrow { font-size: .6875rem; letter-spacing: .15em; color: var(--stone); margin-bottom: 8px; }
.eyebrow::before { display: none; }
.sec { padding-block: var(--sec); }
.sec-a { background: var(--midnight); }
.sec-b { background: var(--charcoal); }
.sec-head { align-items: end; margin-bottom: 40px; gap: 16px 48px; }
@media (max-width: 767px) { .sec-head { margin-bottom: 32px; } }

/* icons: Lucide 1.5px, round caps; Ivory, gold on hover (200ms); 20px in the header, 18px inside buttons */
.lu { stroke-linecap: round; stroke-linejoin: round; }
.icon-btn { width: 44px; height: 44px; color: var(--ivory); transition: color .2s, background .2s; }
.icon-btn:hover { color: var(--gold); background: transparent; }
.icon-btn:active { transform: none; }
.icon-btn svg { width: 20px; height: 20px; }
.btn svg, .link svg, .link-btn svg { width: 18px; height: 18px; }
.btn, .link, .link-btn, .nav a, .lang-btn, .chip { transition: color .2s, background .2s, border-color .2s; }
.heart[aria-pressed="true"] { color: var(--gold); }
.heart .fillable, .heart[aria-pressed="true"] .fillable { fill: none; stroke: currentColor; }
.bump { animation: flash .6s ease; }
@keyframes flash { 0%, 100% { color: inherit; } 40% { color: var(--gold); } }
.badge { background: var(--gold); color: var(--midnight); top: 4px; inset-inline-end: 2px; min-width: 16px; height: 16px; font-size: 10px; line-height: 16px; border-radius: 8px; }

/* offer bar */
.promo { margin: 0; padding: 7px var(--gutter); background: var(--charcoal); color: var(--gold); text-align: center; font: 500 .75rem/1.5 var(--f-ar); letter-spacing: .02em; border-bottom: 1px solid rgba(208, 173, 115, .16); }
html[lang="en"] .promo { font-family: var(--f-lat); letter-spacing: .12em; text-transform: uppercase; font-size: .6875rem; }
@media (max-width: 480px) { .promo { padding-inline: 8px; } html[lang="en"] .promo { letter-spacing: .04em; font-size: .625rem; } }

/* header: transparent over the hero, Midnight with a light blur once scrolled */
.header { background: rgba(11, 11, 11, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header.is-over { background: transparent; border-color: transparent; backdrop-filter: none; }
.header.is-over .promo { background: rgba(28, 28, 28, .72); }
.header.is-over.is-scrolled, .header.is-over.menu-open { background: rgba(11, 11, 11, .9); backdrop-filter: blur(10px); border-color: var(--line); }
.header-in { gap: 16px; }
.nav a { font-weight: 500; }
html[lang="en"] .nav a { font-size: .6875rem; letter-spacing: .15em; }
.nav-lang { display: none; }
.actions { gap: 4px; }
.lang-btn { border-color: var(--line); color: var(--ivory); height: 32px; min-width: 40px; font-size: .75rem; }
@media (max-width: 1023px) {
  .header-in { display: grid; grid-template-columns: 1fr auto 1fr; }
  .menu-btn { display: inline-grid; justify-self: start; grid-column: 1; grid-row: 1; }
  .logo { grid-column: 2; grid-row: 1; justify-self: center; }
  .actions { grid-column: 3; grid-row: 1; justify-self: end; margin: 0; }
  #langBtn { display: none; }
  .nav { top: 100%; }
  .nav .nav-lang { display: inline-flex; align-items: center; justify-content: center; align-self: start; margin-top: 16px; height: 40px; padding: 0 16px; }
  .search-toggle { display: inline-grid; }
}
@media (max-width: 767px) {
  .actions { gap: 0; }
  .actions .icon-btn { width: 40px; }
}
@media (max-width: 380px) { .logo img { height: 30px; } .actions .icon-btn { width: 38px; } }

/* ---- product grid: 4 / 3 / 2 columns, wide gaps ---- */
.grid.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
@media (max-width: 1023px) { .grid.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 16px; } }
@media (max-width: 767px) { .grid.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; } }

/* ---- product card: very light Ivory 4:5 image, then collection · name · price · 12px colour dots ---- */
.card-media { aspect-ratio: 4 / 5; border-radius: 2px; background: var(--charcoal); }
.card-media img, .g-slide img, .md-item img, .cc-img img, .th-img img, .cb-photo img { opacity: 0; transition: opacity .4s ease, transform .9s var(--ease); }
.card-media img.ld, .g-slide img.ld, .md-item img.ld, .cc-img img.ld, .th-img img.ld, .cb-photo img.ld { opacity: 1; }
.card-media::before, .g-track::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(242, 241, 236, .05) 50%, transparent 70%) var(--charcoal); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.card:hover .layer img { transform: scale(1.02); }
.card .off-badge { top: 10px; inset-inline-start: 10px; }
.card .heart { top: 6px; inset-inline-end: 6px; background: transparent; color: var(--midnight); opacity: 0; transition: opacity .2s, color .2s; }
.card .heart:hover { color: var(--gold); background: transparent; }
.card:hover .heart, .card .heart:focus-visible, .card .heart[aria-pressed="true"] { opacity: 1; }
.card .heart[aria-pressed="true"] { color: var(--gold); }
@media (hover: none), (max-width: 767px) { .card .heart { opacity: 1; } }
.card-body { gap: 4px; padding-top: 16px; }
.card-col { font: 500 .6875rem/1.4 var(--f-lat); letter-spacing: .15em; text-transform: uppercase; color: var(--stone); }
html[lang="ar"] .card-col { font-family: var(--f-ar); font-size: .75rem; letter-spacing: 0; text-transform: none; }
.card-name { font-size: .9375rem; font-weight: 600; line-height: 1.5; color: var(--ivory); }
html[lang="en"] .card-name { font-size: .9375rem; font-weight: 500; }
.card-name a:hover { text-decoration: none; color: var(--gold); }
.card-price { margin-top: 2px; }
.swatches.dots { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 0 0; }
.swatches.dots .swatch { width: 12px; height: 12px; box-shadow: inset 0 0 0 1px rgba(242, 241, 236, .28); }
.swatches.dots .swatch::before { inset: -8px; }
.swatches.dots .swatch::after { inset: -4px; border-width: 1px; }
.swatches.dots .swatch[aria-checked="true"]::after { border-color: var(--gold); }
.card-flip-hint i { background: rgba(11, 11, 11, .25); }
.card-flip-hint i:first-child, .card-media.show-alt .card-flip-hint i:last-child { background: var(--midnight); }
.card-media.show-alt .card-flip-hint i:first-child { background: rgba(11, 11, 11, .25); }

/* price: Outfit Medium in gold, the old price smaller and struck through in Stone */
.pr-now { font: 500 1rem/1.3 var(--f-lat); color: var(--gold); }
.pr-was { font: 400 .8125rem/1.3 var(--f-lat); color: var(--stone); }
.pr.big .pr-now { font-weight: 500; font-size: clamp(1.75rem, 1.5rem + .8vw, 2.25rem); }
.off-badge { background: var(--midnight); color: var(--gold); border: 1px solid rgba(208, 173, 115, .3); height: 24px; padding: 0 8px; font-size: .6875rem; font-weight: 600; border-radius: 2px; }

/* ---- collections: big 4:5 cards, name on a soft gradient; 2 rows on desktop, a snap rail on phones ---- */
.col-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1023px) { .col-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.col-card { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--charcoal); isolation: isolate; }
.cc-img, .cc-img picture { position: absolute; inset: 0; display: block; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.col-card::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to top, rgba(11, 11, 11, .86), rgba(11, 11, 11, 0)); z-index: 1; }
.cc-meta { position: absolute; inset-inline: 16px; bottom: 16px; z-index: 2; display: grid; gap: 2px; transition: transform .4s var(--ease-out); }
.cc-meta b { position: relative; justify-self: start; font-weight: 600; font-size: 1.0625rem; padding-bottom: 6px; color: var(--ivory); }
html[lang="en"] .cc-meta b { font-family: var(--f-lat); text-transform: uppercase; letter-spacing: .12em; font-size: .875rem; }
.cc-meta b::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: var(--from, left); transition: transform .4s var(--ease-out); }
[dir="rtl"] .cc-meta b::after { --from: right; }
.cc-meta small { font-size: .75rem; color: rgba(242, 241, 236, .7); }
.col-card:hover .cc-img img { transform: scale(1.04); }
.col-card:hover .cc-meta { transform: translateY(-4px); }
.col-card:hover .cc-meta b::after, .col-card:focus-visible .cc-meta b::after { transform: scaleX(1); }
@media (max-width: 767px) {
  .col-cards { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); gap: 12px; }
  .col-cards::-webkit-scrollbar { display: none; }
  .col-card { scroll-snap-align: start; }
  .reveal-on .col-cards .reveal:not(.in) { transform: none; }
}

/* ---- models grid ---- */
.md-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.md-item { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--charcoal); }
.md-item picture, .md-item img { width: 100%; height: 100%; }
.md-item img { object-fit: cover; }
.md-item:hover img { transform: scale(1.03); }
.md-cap { position: absolute; inset-inline-start: 12px; bottom: 12px; padding: 4px 10px; background: rgba(11, 11, 11, .72); color: var(--ivory); font-size: .75rem; border-radius: 2px; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.md-item:hover .md-cap, .md-item:focus-visible .md-cap { opacity: 1; transform: none; }
@media (hover: none) { .md-cap { opacity: 1; transform: none; } }
@media (max-width: 767px) { .md-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

/* ---- trust row: four promises, gold hairline circles; 2 x 2 on phones ---- */
.trust-row { padding-block: 64px; }
.trust-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; }
.trust-list li { display: grid; justify-items: center; gap: 12px; }
.t-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(208, 173, 115, .3); color: var(--ivory); }
.t-ic .lu { width: 20px; height: 20px; }
.trust-list b { font-weight: 500; font-size: .8125rem; color: rgba(242, 241, 236, .82); }
@media (max-width: 767px) { .trust-row { padding-block: 48px; } .trust-list { grid-template-columns: 1fr 1fr; row-gap: 32px; } }

/* ---- shop page (dark) ---- */
.shop-band { background: var(--midnight); padding-bottom: var(--sec); --line-dk: var(--line); --text-dk: var(--stone); }
.page-head { background: var(--midnight); }
.chip { border-color: var(--line); color: var(--ivory); border-radius: 999px; font-weight: 500; }
.chip:hover { border-color: var(--gold); }
.chip[aria-checked="true"] { background: var(--ivory); color: var(--midnight); border-color: var(--ivory); }
.chip .dot { box-shadow: inset 0 0 0 1px rgba(242, 241, 236, .3); }
.col-chips .chip small { color: var(--stone); }
.more-row .btn-line { border-color: var(--line); color: var(--ivory); }
.more-row .btn-line:hover { background: var(--ivory); color: var(--midnight); }
.shop-col + .shop-col { border-color: var(--line); }

/* collection header: a 16:9 model banner, or just the title */
.col-banner { background: var(--midnight); border-bottom: 0; padding-block: 64px 40px; }
.col-banner::before, .col-banner::after { display: none; }
.col-banner .eyebrow, .cb-back:hover { color: var(--stone); }
.col-banner.has-photo { padding: 0; display: grid; }
.cb-photo { grid-area: 1 / 1; display: block; aspect-ratio: 16 / 9; max-height: 78svh; width: 100%; overflow: hidden; background: var(--charcoal); }
.cb-photo img { width: 100%; height: 100%; object-fit: cover; }
.col-banner.has-photo .cb-in { grid-area: 1 / 1; align-self: end; padding-bottom: 40px; display: block; }
.col-banner.has-photo::after { display: block; content: ""; grid-area: 1 / 1; position: static; background: linear-gradient(to top, rgba(11, 11, 11, .78), rgba(11, 11, 11, 0) 55%); pointer-events: none; z-index: 0; }
.col-banner.has-photo .cb-in { position: relative; z-index: 1; }
.cb-text .muted b { color: var(--ivory); font-weight: 500; }
@media (max-width: 767px) {
  .col-banner.has-photo { display: block; }
  .col-banner.has-photo::after { display: none; }
  .col-banner.has-photo .cb-in { padding-block: 24px 8px; }
}

/* ---- product page on Ivory ---- */
body[data-page="product"] { background: var(--ivory); }
.pdp-page { background: var(--ivory); color: var(--midnight); --muted: rgba(11, 11, 11, .66); --line: rgba(11, 11, 11, .12); --text-dk: rgba(11, 11, 11, .66); padding-bottom: 0; }
.pdp-page .crumbs, .pdp-page .crumbs a:hover, .pdp-page .crumbs [aria-current] { color: var(--midnight); }
.pdp-page .crumbs { color: rgba(11, 11, 11, .55); }
.pdp-page .eyebrow { color: var(--stone); }
.pdp { padding-bottom: var(--sec); gap: clamp(24px, 4vw, 72px); grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
@media (min-width: 1024px) { .gallery { width: min(100%, calc((100svh - var(--header-h) - 120px) * .8)); } }
.g-track { background: var(--charcoal); border-radius: 2px; }
.g-slide { aspect-ratio: 4 / 5; }
.g-thumb { border-color: var(--line); color: rgba(11, 11, 11, .66); background: transparent; }
.g-thumb[aria-selected="true"] { border-color: var(--midnight); color: var(--midnight); }
.th-img { aspect-ratio: 4 / 5; background: var(--charcoal); }
.hint { color: rgba(11, 11, 11, .5); }
.pdp-name { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); }
/* on Ivory the gold price would be hard to read: the price is Midnight there, the gold stays on the badge */
.pdp-page .pr-now { color: var(--midnight); }
.pdp-page .off-badge { border-color: transparent; }
.pdp-page .label, .pdp-page .pdp-print .label { color: rgba(11, 11, 11, .55); }
.pdp-page .opt { border-color: var(--line); }
.pdp-page .buy .swatch { width: 36px; height: 36px; box-shadow: inset 0 0 0 1px rgba(11, 11, 11, .18); }
.pdp-page .buy .swatch[aria-checked="true"]::after { border-color: var(--midnight); }
.pdp-page .buy .best-tag, .pdp-page .why summary { color: rgba(11, 11, 11, .66); }
.pdp-page .size-chip.lg { border-color: rgba(11, 11, 11, .22); color: var(--midnight); border-radius: 2px; letter-spacing: .08em; font-weight: 500; }
.pdp-page .size-chip.lg:hover { border-color: var(--midnight); }
.pdp-page .buy .size-chip[aria-checked="true"] { background: var(--midnight); color: var(--ivory); border-color: var(--midnight); }
.pdp-page .btn-light { background: var(--midnight); color: var(--ivory); }
.pdp-page .btn-light:hover { background: var(--charcoal); }
.pdp-page .btn-wa { border-color: rgba(11, 11, 11, .3); color: var(--midnight); }
.pdp-page .btn-wa:hover { border-color: var(--gold); color: var(--midnight); }
.pdp-page .icon-btn { color: var(--midnight); }
.pdp-page .icon-btn:hover { color: var(--gold); }
.pdp-page .icon-btn.boxed { border-color: rgba(11, 11, 11, .22); }
.pdp-page .qty { border-color: rgba(11, 11, 11, .22); }
.pdp-page .field-err { color: var(--midnight); border-inline-start: 2px solid var(--gold); padding-inline-start: 8px; }
.pdp-info { display: grid; gap: 10px; }
.pdp-info li, .pdp-info .link-btn { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: rgba(11, 11, 11, .75); text-decoration: none; min-height: 28px; }
.pdp-info .lu { width: 18px; height: 18px; flex: none; color: var(--midnight); }
.pdp-info .link-btn:hover, .pdp-info .link-btn:hover .lu { color: var(--gold); }
.pdp-page .acc summary::after { color: var(--midnight); }
.related { background: var(--ivory); padding-block: 0 var(--sec); border-top: 1px solid rgba(11, 11, 11, .08); padding-top: 64px; }
.related .card-name { color: var(--midnight); }
.related .card-name a:hover { color: var(--midnight); text-decoration: underline; text-underline-offset: 4px; }
.related .pr-now { color: var(--midnight); }
.related .swatches.dots .swatch { box-shadow: inset 0 0 0 1px rgba(11, 11, 11, .2); }
.related .swatches.dots .swatch[aria-checked="true"]::after { border-color: var(--midnight); }
.related .h2 { color: var(--midnight); }
@media (max-width: 1023px) { .pdp { grid-template-columns: 1fr; } }
/* phones: the order bar stays at the bottom */
.buy-bar { display: none; }
@media (max-width: 767px) {
  .buy-bar { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 44; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--midnight); border-top: 1px solid var(--line); animation: none; }
  .bb-info span { color: var(--gold); font-family: var(--f-lat); }
  .buy-bar .btn { min-height: 48px; padding: 0 24px; }
  body[data-page="product"] .footer { padding-bottom: 96px; }
  body[data-page="product"] .wa-float { display: none; }   /* the page has its own WhatsApp button + the order bar */
}

/* ---- floating WhatsApp: Charcoal circle, Ivory icon, a very light shadow; bottom right ---- */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 43; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--charcoal); color: var(--ivory); border: 1px solid rgba(242, 241, 236, .1); box-shadow: 0 4px 14px rgba(0, 0, 0, .18); transition: color .2s, border-color .2s; }
.wa-float:hover { color: var(--gold); border-color: rgba(208, 173, 115, .4); }
.wa-float .lu { width: 20px; height: 20px; }

/* ---- footer: logo, collection links, social icons, a thin Stone line ---- */
.footer { background: var(--midnight); border-top: 1px solid rgba(138, 135, 127, .35); padding-block: 64px 24px; }
.f-grid { grid-template-columns: 1.2fr 1.4fr 1fr; gap: 32px; }
.f-grid > * { border: 0; padding: 0; }
.f-brand img { width: 120px; height: auto; }
.f-brand .social { margin-top: 24px; display: flex; gap: 4px; margin-inline-start: -10px; }
.f-links a, .f-links .link-btn { color: rgba(242, 241, 236, .72); font-size: .875rem; text-decoration: none; }
.f-links a:hover, .f-links .link-btn:hover { color: var(--gold); }
.f-cols #fCols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.f-links { display: grid; align-content: start; gap: 10px; }
.f-links .label { color: var(--stone); margin-bottom: 6px; letter-spacing: .15em; }
.f-bottom { border-top: 1px solid rgba(138, 135, 127, .35); margin-top: 48px; padding-top: 20px; color: var(--stone); font-size: .75rem; }
@media (max-width: 767px) { .f-grid { grid-template-columns: 1fr; gap: 40px; } .footer { padding-bottom: 88px; } }

/* ---- motion: a light 20px / 400ms fade-up; no bounce ---- */
.reveal { transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.reveal-on .reveal:not(.in) { opacity: 0; transform: translateY(20px); }
.grid .reveal:nth-child(2) { transition-delay: .04s; } .grid .reveal:nth-child(3) { transition-delay: .08s; } .grid .reveal:nth-child(4) { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) { .card-media::before, .g-track::before { animation: none; } }
/* ---------- 25. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal-on .reveal:not(.in) { opacity: 1; transform: none; }
  .ticker-track { transform: none; }
}
