/*
 * MAWSIM · موسم — design system
 * ─────────────────────────────────────────────────────────────────────────────
 * One hand-written stylesheet shared by every page. Page-specific styles live in
 * static/css/pages/<area>.css and only add area-prefixed classes on top of this.
 *
 * Principles: quiet luxury (Aesop restraint, Apple precision, Jordanian warmth).
 * Ivory paper, ink type, gold used like foil — sparingly. Hairlines over boxes,
 * photography over decoration, slow deliberate motion. Logical properties only,
 * so every rule works in Arabic (RTL, default) and English (LTR).
 *
 *  01 Tokens            08 Controls (buttons, links, chips, status)
 *  02 Reset             09 Forms
 *  03 Base & type       10 Components
 *  04 Layout            11 Site shell (announcement, header, menu, footer)
 *  05 Type utilities    12 Drawer & bag
 *  06 Brand devices     13 Motion (reveal, parallax, view transitions)
 *  07 Icons & logo      14 Utilities · reduced motion · print
 */

/* ═════════════════════════════════════════════════════════════════════════════
   01 · TOKENS
   ═════════════════════════════════════════════════════════════════════════════ */
:root {
  /* Brand palette (from the identity board) */
  --c-ivory: #F6F1E8;
  --c-paper: #EFE8DB;
  --c-beige: #E8E2D6;
  --c-stone: #BDB6AA;
  --c-gold: #C89A4A;        /* foil: large type, lines, marks, on dark only */
  --c-gold-ink: #7E5E28;    /* gold text on light — AA 5.3:1 on ivory */
  --c-honey: #B8732A;       /* amber glow, used as light, never as text */
  --c-ink: #1F1A16;
  --c-ink-soft: #4A423A;
  --c-muted: #6E655A;
  --c-muted-paper: #635B50; /* captions on paper and fibre grounds, where the texture eats contrast */
  --c-olive: #4C5A3B;
  --c-olive-deep: #2E3326;
  --c-night: #171410;
  --c-line: rgb(31 26 22 / .14);
  --c-line-light: rgb(246 241 232 / .18);
  --c-error: #94392A;       /* terracotta — AA on ivory */
  --c-error-light: #E9A58F; /* terracotta for dark grounds */

  /* Semantic roles — sections and components re-map these, never the palette */
  --bg: var(--c-ivory);
  --fg: var(--c-ink);
  --fg-soft: var(--c-ink-soft);
  --fg-muted: var(--c-muted);
  --accent: var(--c-gold-ink);
  --foil: var(--c-gold);
  --line: var(--c-line);
  --line-strong: rgb(31 26 22 / .3);
  --line-control: rgb(31 26 22 / .55);  /* the edge of an input, checkbox or stepper: 3:1 on every light ground */
  --focus: var(--c-gold-ink);
  --error: var(--c-error);
  --field-bg: rgb(255 252 246 / .7);
  --tint: rgb(31 26 22 / .04);

  /* Type families — switched per script below */
  --f-latin-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-latin-text: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --f-arabic-display: "Markazi Text", "Cormorant Garamond", "Geeza Pro", "Times New Roman", serif;
  --f-arabic-text: "IBM Plex Sans Arabic", "Jost", "Geeza Pro", Tahoma, sans-serif;
  --f-display: var(--f-latin-display);
  --f-text: var(--f-latin-text);
  --w-display: 400;
  --lh-display: 1.02;
  --lh-heading: 1.12;
  --lh-text: 1.65;
  --track-display: -0.015em;
  /* Spaced capitals — Latin only: every tracking token is 0 in Arabic (below), so a
     component that letter-spaces through a token never has to reset itself. */
  --track-label: 0.2em;     /* labels, buttons, nav */
  --track-caps: 0.16em;     /* quieter caps: field labels, utilities, the announcement */
  --track-index: 0.14em;    /* status chips, breadcrumbs, numbered tags */
  --track-soft: 0.06em;     /* figures set a touch apart */

  /* Fluid type scale: 360px → 1440px */
  --step--2: clamp(0.6875rem, 0.667rem + 0.093vw, 0.75rem);
  --step--1: clamp(0.8125rem, 0.792rem + 0.093vw, 0.875rem);
  --step-0: clamp(1rem, 0.979rem + 0.093vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.042rem + 0.37vw, 1.375rem);
  --step-2: clamp(1.3125rem, 1.167rem + 0.648vw, 1.75rem);
  --step-3: clamp(1.5rem, 1.208rem + 1.296vw, 2.375rem);
  --step-4: clamp(1.875rem, 1.417rem + 2.037vw, 3.25rem);
  --step-5: clamp(2.25rem, 1.417rem + 3.704vw, 4.75rem);
  --step-6: clamp(2.75rem, 1.333rem + 6.296vw, 7rem);

  /* Page titles: three tiers, so every <h1> of a kind has the same size (.title-index …) */
  --title-index: clamp(3.4rem, 1.4rem + 8vw, 8.5rem);  /* a section's front page: shop, harvests, journal */
  --title-page: var(--step-6);                         /* editorial pages: story, collection, gifts, passport */
  --title-utility: var(--step-5);                      /* task pages: product, bag, checkout, account */

  /* Fluid space scale */
  --space-3xs: clamp(0.25rem, 0.229rem + 0.093vw, 0.3125rem);
  --space-2xs: clamp(0.5rem, 0.479rem + 0.093vw, 0.5625rem);
  --space-xs: clamp(0.75rem, 0.708rem + 0.185vw, 0.875rem);
  --space-s: clamp(1rem, 0.958rem + 0.185vw, 1.125rem);
  --space-m: clamp(1.5rem, 1.417rem + 0.37vw, 1.75rem);
  --space-l: clamp(2rem, 1.833rem + 0.741vw, 2.5rem);
  --space-xl: clamp(3rem, 2.667rem + 1.481vw, 4rem);
  --space-2xl: clamp(4rem, 3.333rem + 2.963vw, 6rem);
  --space-3xl: clamp(5rem, 4rem + 4.444vw, 8.5rem);
  --space-4xl: clamp(6.5rem, 4.833rem + 7.407vw, 12rem);

  /* Layout */
  --gutter: clamp(1.25rem, 0.5rem + 3.4vw, 3.5rem);
  --container: 82.5rem;        /* 1320px */
  --container-wide: 100rem;    /* 1600px */
  --container-narrow: 47.5rem; /* 760px */
  --measure: 65ch;
  --radius-s: 2px;
  --radius-m: 4px;
  --radius-pill: 999px;
  --header-bar-h: 4rem;
  --header-nav-h: 0rem;
  --header-h: calc(var(--header-bar-h) + var(--header-nav-h));
  /* Height of a bar pinned to the bottom of the screen (product buy bar, Gift Studio bar).
     A page sets it on <html> while its bar shows; focus scrolling and toasts then clear the bar. */
  --sticky-bar-h: 0px;
  --dir: 1;                     /* -1 in RTL: for transforms that must mirror */

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);
  --dur-1: 200ms;
  --dur-2: 450ms;
  --dur-3: 800ms;
  --dur-4: 1200ms;

  /* Layers */
  --z-header: 50;
  --z-menu: 80;
  --z-drawer: 90;
  --z-toast: 100;
  --z-skip: 110;

  /* Paper grain — self-contained SVG noise: no request, no file to forget. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .15 0 0 0 0 .1 0 0 0 .55 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");

  interpolate-size: allow-keywords;
}

[dir="rtl"] { --dir: -1; }

/* Arabic: its own families, more air between lines, never letter-spaced. */
:lang(ar) {
  --f-display: var(--f-arabic-display);
  --f-text: var(--f-arabic-text);
  --w-display: 500;
  --lh-display: 1.3;
  --lh-heading: 1.4;
  --lh-text: 1.9;
  --track-display: 0;
  --track-label: 0;
  --track-caps: 0;
  --track-index: 0;
  --track-soft: 0;
  /* Arabic small text needs a larger floor to stay comfortable to read */
  --step--2: clamp(0.75rem, 0.729rem + 0.093vw, 0.8125rem);
  --step--1: clamp(0.875rem, 0.854rem + 0.093vw, 0.9375rem);
}
:lang(en) {
  --f-display: var(--f-latin-display);
  --f-text: var(--f-latin-text);
  --w-display: 400;
  --lh-display: 1.02;
  --lh-heading: 1.12;
  --lh-text: 1.65;
  --track-display: -0.015em;
  --track-label: 0.2em;
  --track-caps: 0.16em;
  --track-index: 0.14em;
  --track-soft: 0.06em;
  --step--2: clamp(0.6875rem, 0.667rem + 0.093vw, 0.75rem);
  --step--1: clamp(0.8125rem, 0.792rem + 0.093vw, 0.875rem);
}

@media (min-width: 67.5em) {
  :root {
    --header-bar-h: 5rem;
    --header-nav-h: 3rem;
  }
}

/* ═════════════════════════════════════════════════════════════════════════════
   02 · RESET
   ═════════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light;
  scrollbar-gutter: stable;
  scroll-padding-block-start: calc(var(--header-h) + var(--space-m));
  /* Focus moved by Tab is scrolled clear of a pinned bottom bar too (WCAG 2.4.11). */
  scroll-padding-block-end: calc(var(--sticky-bar-h) + var(--space-s));
  hanging-punctuation: first last;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: clip;
  background-color: var(--c-ivory);
  color: var(--c-ink);
  font-family: var(--f-text);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: var(--lh-text);
  font-kerning: normal;
  /* Lining figures everywhere, as on the jar («01», «500g», «2026») — Cormorant defaults to
     old-style ones, which turn "Harvest 01" into "Harvest oı". Opt back in with .onum. */
  font-variant-numeric: lining-nums;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
img { font-style: italic; color: var(--fg-muted); } /* alt text, if it ever shows, stays quiet */

input, button, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: default; }
textarea { resize: vertical; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
table { border-collapse: collapse; }
p, li, figcaption, dd { text-wrap: pretty; overflow-wrap: break-word; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; overflow-wrap: break-word; }
[hidden] { display: none !important; }
:target { scroll-margin-block-start: calc(var(--header-h) + var(--space-l)); }

::selection { background: rgb(200 154 74 / .32); color: var(--c-ink); }

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

/* ═════════════════════════════════════════════════════════════════════════════
   03 · BASE ELEMENTS & TYPOGRAPHY
   ═════════════════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: var(--w-display);
  line-height: var(--lh-heading);
  letter-spacing: var(--track-display);
  color: var(--fg);
}
h1 { font-size: var(--step-5); line-height: var(--lh-display); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
h5, h6 { font-size: var(--step-0); }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:not([class]) { text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color var(--dur-1); }
a:not([class]):hover { text-decoration-color: currentColor; }

strong, b { font-weight: 500; }
small { font-size: var(--step--1); }
em, i { font-style: italic; }
:lang(ar) em, :lang(ar) i { font-style: normal; color: var(--accent); }
abbr[title] { text-decoration: underline dotted; }

blockquote { margin: 0; }
hr { border: 0; border-block-start: 1px solid var(--line); }

/* A phrase in the other script keeps its own letterforms and rules:
   Arabic is never letter-spaced or case-transformed, even inside a spaced-caps label. */
[lang="ar"]:not(html) { letter-spacing: 0; text-transform: none; }
:where(:lang(en) [lang="ar"]) { font-family: var(--f-arabic-text); }
:where(:lang(ar) [lang="en"]) { font-family: var(--f-latin-text); }

/* Arabic copy is optically smaller at the same size: give it a touch more. */
body:lang(ar) { font-size: calc(var(--step-0) * 1.03); }

/* ═════════════════════════════════════════════════════════════════════════════
   04 · LAYOUT PRIMITIVES
   ═════════════════════════════════════════════════════════════════════════════ */
.container,
.container--wide,
.container--narrow {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.container--wide { width: min(100% - 2 * var(--gutter), var(--container-wide)); }
.container--narrow { width: min(100% - 2 * var(--gutter), var(--container-narrow)); }

.section {
  position: relative;
  padding-block: var(--space-3xl);
  background: var(--bg);
  color: var(--fg);
}
.section--tight { padding-block: var(--space-2xl); }
.section--flush-top { padding-block-start: 0; }
.section--paper {
  --bg: var(--c-paper);
  --fg-muted: var(--c-muted-paper);
  /* fibre multiplied in, then veiled by a third so the tone stays true */
  background-image: linear-gradient(rgb(239 232 219 / .35), rgb(239 232 219 / .35)), url("../img/texture/paper.14e96cbe7863.webp");
  background-size: auto, 512px 512px;
  background-blend-mode: normal, multiply;
}
.section--beige { --bg: var(--c-beige); }

/* Dark contexts: re-map every semantic role at once. */
.section--dark,
.section--night,
.on-dark,
.on-night {
  --bg: var(--c-olive-deep);
  --fg: var(--c-ivory);
  --fg-soft: rgb(246 241 232 / .82);
  --fg-muted: #BAB1A1;          /* 6:1 on olive — small print over the grain stays above AA */
  --accent: var(--c-gold);
  --line: var(--c-line-light);
  --line-strong: rgb(246 241 232 / .38);
  --line-control: rgb(246 241 232 / .45);
  --focus: var(--c-gold);
  --error: var(--c-error-light);
  --field-bg: rgb(246 241 232 / .05);
  --tint: rgb(246 241 232 / .06);
  background-color: var(--bg);
  color: var(--fg);
}
.section--night, .on-night { --bg: var(--c-night); }
.on-dark, .on-night { background-color: transparent; }

.grid {
  display: grid;
  gap: var(--grid-gap, var(--space-xl) var(--space-m));
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 30em) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 40em) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 48em) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.stack > * { margin-block: 0; }
.stack > * + * { margin-block-start: var(--stack-space, var(--space-s)); }
.stack--s { --stack-space: var(--space-2xs); }
.stack--l { --stack-space: var(--space-m); }
.stack--xl { --stack-space: var(--space-xl); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cluster-gap, var(--space-xs) var(--space-s));
}
.cluster--between { justify-content: space-between; }
.cluster--center { justify-content: center; }

.split {
  display: grid;
  gap: var(--split-gap, var(--space-xl));
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 56em) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); --split-gap: var(--space-2xl); }
  .split--reverse > :first-child { order: 2; }
  .split--top { align-items: start; }
}

.full-bleed {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.center { text-align: center; margin-inline: auto; }
.measure { max-width: var(--measure); }

/* ═════════════════════════════════════════════════════════════════════════════
   05 · TYPE UTILITIES
   ═════════════════════════════════════════════════════════════════════════════ */
.display {
  font-family: var(--f-display);
  font-weight: var(--w-display);
  font-size: var(--step-6);
  line-height: var(--lh-display);
  letter-spacing: calc(var(--track-display) * 1.5);
  color: var(--fg);
}
/* The three page-title tiers (tokens in :root). Put one on every page's <h1>. */
.title-index { font-size: var(--title-index); }
.title-page { font-size: var(--title-page); }
.title-utility { font-size: var(--title-utility); }
.display em, .h1 em, .h2 em { color: var(--accent); }
:lang(en) .display em, :lang(en) .h1 em, :lang(en) .h2 em { font-style: italic; }

.h1, .h2, .h3, .h4 {
  font-family: var(--f-display);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  color: var(--fg);
}
.h1 { font-size: var(--step-5); line-height: var(--lh-display); }
.h2 { font-size: var(--step-4); line-height: var(--lh-heading); }
.h3 { font-size: var(--step-3); line-height: var(--lh-heading); }
.h4 { font-size: var(--step-1); line-height: 1.3; }
:lang(ar) .h4, .h4:lang(ar) { line-height: 1.6; }

.lede {
  font-family: var(--f-display);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.42;
  color: var(--fg-soft);
  max-width: 36em;
}
.lede:lang(ar) { line-height: 1.8; font-size: calc(var(--step-2) * 1.02); }

.label {
  font-family: var(--f-text);
  font-size: var(--step--2);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--accent);
}
.label:lang(ar) { font-size: var(--step--1); text-transform: none; }
.label--muted { color: var(--fg-muted); }
.label--ink { color: var(--fg); }
/* «◆ NUMBERED EDITION OF 250» — a label led by the gold diamond */
.label--diamond { display: inline-flex; align-items: center; gap: .6rem; }
.label--diamond::before { content: ""; flex: none; inline-size: 6px; block-size: 6px; background: var(--c-gold); rotate: 45deg; }

.caps { text-transform: uppercase; letter-spacing: var(--track-caps); }
.caps:lang(ar) { text-transform: none; }

.index {
  font-family: var(--f-latin-display);
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: .04em;
}
/* Inside a label (a hero kicker «03 / GIFTS») the number takes the label's face, as
   .section-label__index does — not the display serif at a smaller optical size. */
.label .index { font-family: var(--f-latin-text); font-weight: inherit; letter-spacing: .14em; }

/* The gold diamond on its own (a list marker, a separator) — size with --diamond */
.diamond { display: inline-block; flex: none; inline-size: var(--diamond, 6px); block-size: var(--diamond, 6px); background: var(--c-gold); rotate: 45deg; }

.quote {
  font-family: var(--f-display);
  font-size: var(--step-4);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: var(--track-display);
  color: var(--fg);
  text-wrap: balance;
}
.quote:lang(en) { font-style: italic; }
.quote:lang(ar) { line-height: 1.55; }
.quote::before { content: open-quote; color: var(--foil); }
.quote::after { content: close-quote; color: var(--foil); }
.quote:lang(en) { quotes: "“" "”"; }
.quote:lang(ar) { quotes: "«" "»"; }
.quote cite, .quote + figcaption {
  display: block;
  margin-block-start: var(--space-s);
  font-family: var(--f-text);
  font-size: var(--step--1);
  font-style: normal;
  color: var(--fg-muted);
}

.muted { color: var(--fg-muted); }
.soft { color: var(--fg-soft); }
.accent { color: var(--accent); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.onum { font-variant-numeric: oldstyle-nums; }  /* the serif's old-style figures, where a page wants them */
.nowrap { white-space: nowrap; }
.text-start { text-align: start; }
.text-center { text-align: center; }
.small { font-size: var(--step--1); }

/* Long-form editorial text (journal, care, legal) */
.prose {
  max-width: var(--measure);
  color: var(--fg-soft);
  font-size: var(--step-0);
}
.prose > * + * { margin-block-start: 1.15em; }
.prose p:lang(en):first-of-type::first-letter { initial-letter: unset; }
.prose h2 {
  margin-block-start: 2em;
  font-size: var(--step-3);
  color: var(--fg);
}
.prose h3 {
  margin-block-start: 1.8em;
  font-size: var(--step-2);
  color: var(--fg);
}
.prose h2 + *, .prose h3 + * { margin-block-start: .6em; }
.prose a { color: var(--fg); text-decoration-color: var(--foil); }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-inline-start: 1.25em; }
.prose li + li { margin-block-start: .4em; }
.prose li::marker { color: var(--foil); }
.prose blockquote {
  margin-block: 2em;
  padding-inline-start: var(--space-m);
  border-inline-start: 1px solid var(--foil);
  font-family: var(--f-display);
  font-size: var(--step-2);
  line-height: 1.4;
  color: var(--fg);
}
.prose blockquote:lang(en) { font-style: italic; }
.prose blockquote:lang(ar) { line-height: 1.8; }
.prose hr { margin-block: 2.5em; }
.prose strong { color: var(--fg); }
.prose img, .prose figure { margin-block: 2em; }

/* ═════════════════════════════════════════════════════════════════════════════
   06 · BRAND DEVICES
   ═════════════════════════════════════════════════════════════════════════════ */

/* Hairline — ◆ — hairline (the board's divider) */
.divider {
  --divider-w: 11rem;
  position: relative;
  display: block;
  inline-size: min(100%, var(--divider-w));
  block-size: 9px;
  margin-inline: auto;
  border: 0;
  color: var(--foil);
  background:
    linear-gradient(currentColor, currentColor) left center / calc(50% - 12px) 1px no-repeat,
    linear-gradient(currentColor, currentColor) right center / calc(50% - 12px) 1px no-repeat;
}
.divider::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline: 0;
  inline-size: 6px;
  block-size: 6px;
  margin: auto;
  background: currentColor;
  transform: rotate(45deg);
}
.divider--start { margin-inline: 0; }
.divider--wide { --divider-w: 100%; }
.divider--light { color: var(--c-gold); opacity: .9; }
.divider--sm { --divider-w: 6rem; }

.hairline {
  display: block;
  border: 0;
  block-size: 1px;
  background: var(--line);
}

/* Inline botanical mark wrapper */
.mark { display: inline-block; color: var(--foil); line-height: 0; }
.mark svg { block-size: var(--mark-size, 2.5rem); inline-size: auto; }

/* «01 / FRONT LABEL» — numbered section labels */
.section-label {
  display: flex;
  align-items: center;
  gap: .6em;
  font-family: var(--f-text);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.4;
}
.section-label:lang(ar) { font-size: var(--step--1); text-transform: none; }
.section-label__index {
  font-family: var(--f-latin-text);
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--accent);
  letter-spacing: .14em;
}
.section-label__sep { color: var(--foil); font-weight: 300; }
.section-label--rule::after {
  content: "";
  flex: 1;
  block-size: 1px;
  margin-inline-start: .6em;
  background: var(--line);
}
.section-label--center { justify-content: center; }
.section-label--light { --fg: var(--c-ivory); --accent: var(--c-gold); --line: var(--c-line-light); }

/* Spec table (ORIGIN · JORDAN …) */
.spec {
  display: grid;
  margin: 0;
  border-block-start: 1px solid var(--line);
}
.spec__row {
  display: grid;
  grid-template-columns: minmax(7rem, 2fr) 3fr;
  gap: var(--space-s);
  align-items: baseline;
  padding-block: .95rem;
  border-block-end: 1px solid var(--line);
}
.spec__key {
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--fg-muted);
}
.spec__key:lang(ar) { font-size: var(--step--1); text-transform: none; }
.spec__value {
  margin: 0;
  font-size: var(--step-0);
  color: var(--fg);
}
.spec--caps .spec__value:lang(en) { text-transform: uppercase; letter-spacing: var(--track-index); font-size: var(--step--1); }
.spec--compact .spec__row { padding-block: .6rem; }

/* Thin gold icon inside a circle (brand icon set) */
.seal {
  --seal-size: 4.25rem;
  display: inline-grid;
  place-items: center;
  flex: none;
  inline-size: var(--seal-size);
  block-size: var(--seal-size);
  border: 1px solid color-mix(in srgb, currentColor 70%, transparent);
  border-radius: 50%;
  color: var(--accent);
  transition: border-color var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out);
}
.seal .icon { --icon-size: calc(var(--seal-size) * .5); vertical-align: 0; }
.seal--sm { --seal-size: 2.75rem; }
.seal--lg { --seal-size: 6rem; }
.seal--double {
  box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 5px color-mix(in srgb, currentColor 35%, transparent);
}
.seal--foil { color: var(--foil); }

/* Cotton-paper fibre (static/img/texture/paper.webp, multiplied onto the tone) */
.paper {
  background-color: var(--c-paper);
  background-image: url("../img/texture/paper.14e96cbe7863.webp");
  background-size: 512px 512px;
  background-blend-mode: multiply;
}
.paper.section, .section.paper { background-color: var(--bg); }
.paper:not(.section--dark, .section--night, .on-dark, .on-night) { --fg-muted: var(--c-muted-paper); }

/* Botanical pattern — the board's repeating sidr sprig, in foil at a whisper */
.pattern { position: relative; isolation: isolate; }
.pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--pattern-color, var(--foil));
  opacity: var(--pattern-opacity, .14);
  -webkit-mask: url("../img/texture/pattern-branch.75fb0d4cf5be.svg") 0 0 / var(--pattern-size, 80px) auto repeat;
  mask: url("../img/texture/pattern-branch.75fb0d4cf5be.svg") 0 0 / var(--pattern-size, 80px) auto repeat;
  pointer-events: none;
}
.section--dark.paper, .section--night.paper, .paper.on-dark {
  background-color: var(--bg);
  background-image: var(--grain);
  background-size: 220px 220px;
}

/* Bottle-tag label silhouette (rounded body + neck that wraps the lid). Fixed aspect keeps curves true. */
.tag-shape {
  aspect-ratio: 100 / 160;
  background: var(--c-ivory);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 160' preserveAspectRatio='none'%3E%3Cpath d='M36 0H64Q71 0 71 7V22C71 33 100 31 100 45V151Q100 160 91 160H9Q0 160 0 151V45C0 31 29 33 29 22V7Q29 0 36 0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 160' preserveAspectRatio='none'%3E%3Cpath d='M36 0H64Q71 0 71 7V22C71 33 100 31 100 45V151Q100 160 91 160H9Q0 160 0 151V45C0 31 29 33 29 22V7Q29 0 36 0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* ═════════════════════════════════════════════════════════════════════════════
   07 · ICONS & LOGO
   ═════════════════════════════════════════════════════════════════════════════ */
.icon {
  display: inline-block;
  flex: none;
  inline-size: var(--icon-size, 1.25em);
  block-size: var(--icon-size, 1.25em);
  vertical-align: -0.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
/* Directional glyphs mirror in Arabic. */
[dir="rtl"] :is(.icon--arrow, .icon--arrow-right, .icon--arrow-left, .icon--arrow-up-right,
  .icon--chevron-right, .icon--chevron-left, .icon--return, .icon--flip) { transform: scaleX(-1); }

/* Brand vectors ({% brand_svg %} inline or {% brand_use %} from the sprite; fill follows currentColor).
   The line mark is drawn, never filled: the root rule above would otherwise override its fill="none". */
.brand-svg { display: block; block-size: 100%; inline-size: auto; fill: currentColor; overflow: visible; }
.brand-svg--mark-line { fill: none; stroke-width: var(--line-weight, 2.4); }

/* Lockups (components/logo.html): each part sits where it sits in the approved artwork.
   --u is one unit of the artwork, where «موسم» is 259.1 units tall; positions below are
   read off logo-stacked.svg and logo-horizontal.svg. A logo is never mirrored. */
.logo {
  --logo-h: 2rem;                    /* height of «موسم» — every part scales from it */
  --u: calc(var(--logo-h) / 259.1);
  --logo-mark: var(--c-gold);
  --logo-ar: var(--c-ink);
  --logo-en: var(--c-gold);
  --logo-tag: var(--c-ink);
  --logo-accent: var(--logo-mark);   /* the gold parts of the seal */
  position: relative;
  display: inline-block;
  flex: none;
  color: var(--logo-ar);
  line-height: 0;
  direction: ltr;
}
.logo > .brand-svg { position: absolute; inset-inline-start: calc(var(--x) * var(--u)); inset-block-start: calc(var(--y) * var(--u)); block-size: calc(var(--h) * var(--u)); }
.logo__mark { color: var(--logo-mark); --h: 344.86; }
.logo__ar { color: var(--logo-ar); --h: 259.1; }
.logo__en { color: var(--logo-en); --h: 57.64; }
.logo__rule { color: var(--logo-mark); --h: 35.8; }
.logo__tagline { color: var(--logo-tag); --h: 39.59; }

.logo--stacked { inline-size: calc(1018.98 * var(--u)); block-size: calc(859.15 * var(--u)); }
.logo--stacked .logo__mark { --x: 441.4; --y: 0; }
.logo--stacked .logo__ar { --x: 0; --y: 356.4; }
.logo--stacked .logo__en { --x: 164; --y: 602.6; }
.logo--stacked .logo__rule { --x: 341.3; --y: 725; }
.logo--stacked .logo__tagline { --x: 83.3; --y: 819.5; }

.logo--horizontal { inline-size: calc(1350.7 * var(--u)); block-size: calc(418.3 * var(--u)); }
.logo--horizontal .logo__mark { --x: 0; --y: 17.4; --h: 400.9; }
.logo--horizontal .logo__ar { --x: 331.7; --y: 0; }
.logo--horizontal .logo__en { --x: 481.9; --y: 246.2; }
.logo--horizontal .logo__tagline { --x: 401.6; --y: 396.1; }
.logo--tagline { block-size: calc(435.7 * var(--u)); }

.logo--wordmark { inline-size: calc(1018.98 * var(--u)); block-size: calc(303.84 * var(--u)); }
.logo--wordmark .logo__ar { --x: 0; --y: 0; }
.logo--wordmark .logo__en { --x: 164; --y: 246.2; }

.logo--mark { block-size: var(--logo-h); inline-size: calc(var(--logo-h) * 180.21 / 344.86); }
.logo--mark .logo__mark { --x: 0; --y: 0; --h: 259.1; }
.logo--seal { inline-size: calc(777.3 * var(--u)); block-size: calc(777.3 * var(--u)); }
.logo__seal { --x: 0; --y: 0; --h: 777.3; }

.logo--gold { --logo-ar: var(--c-gold); --logo-en: var(--c-gold); --logo-tag: var(--c-gold); }
.logo--light { --logo-ar: var(--c-ivory); --logo-en: var(--c-gold); --logo-tag: rgb(246 241 232 / .85); }

/* ═════════════════════════════════════════════════════════════════════════════
   08 · CONTROLS
   ═════════════════════════════════════════════════════════════════════════════ */

/* Buttons — a slow ink "wipe" on hover, like a press closing on paper */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-border: var(--line-strong);
  --btn-hover-bg: var(--fg);
  --btn-hover-fg: var(--bg);
  --btn-hover-border: var(--fg);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75em;
  min-block-size: 3.25rem;
  padding: .85rem 2rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-s);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-text);
  font-size: var(--step--2);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    color var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out),
    background-color var(--dur-2) var(--ease-out),
    transform var(--dur-1) var(--ease-out);
}
.btn:lang(ar) { font-size: var(--step--1); text-transform: none; }
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: var(--btn-hover-bg);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform var(--dur-2) var(--ease-out);
}
@media (hover: hover) {
  .btn:hover { color: var(--btn-hover-fg); border-color: var(--btn-hover-border); }
  .btn:hover::before { transform: scaleY(1); }
}
.btn:active { transform: scale(.985); }
.btn:focus-visible { outline-offset: 3px; }
.btn .icon { --icon-size: 1.15rem; transition: translate var(--dur-2) var(--ease-out); }
@media (hover: hover) {
  .btn:hover .icon--arrow-right, .btn:hover .icon--arrow-left { translate: calc(var(--dir) * .25em) 0; }
}

.btn--primary {
  --btn-bg: var(--c-ink);
  --btn-fg: var(--c-ivory);
  --btn-border: var(--c-ink);
  --btn-hover-bg: var(--c-gold-ink);
  --btn-hover-fg: var(--c-ivory);
  --btn-hover-border: var(--c-gold-ink);
}
.btn--gold {
  --btn-bg: var(--c-gold);
  --btn-fg: var(--c-ink);
  --btn-border: var(--c-gold);
  --btn-hover-bg: var(--c-ink);
  --btn-hover-fg: var(--c-gold);
  --btn-hover-border: var(--c-ink);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-border: var(--line-strong);
  --btn-hover-bg: var(--fg);
  --btn-hover-fg: var(--bg);
  --btn-hover-border: var(--fg);
}
.btn--light {
  --btn-bg: var(--c-ivory);
  --btn-fg: var(--c-ink);
  --btn-border: var(--c-ivory);
  --btn-hover-bg: var(--c-gold);
  --btn-hover-fg: var(--c-ink);
  --btn-hover-border: var(--c-gold);
}
.btn--block { display: flex; inline-size: 100%; }
.btn--sm { min-block-size: 2.75rem; padding: .6rem 1.25rem; }
.btn--lg { min-block-size: 3.75rem; padding-inline: 2.75rem; }

.btn[disabled], .btn[aria-disabled="true"] {
  opacity: .45;
  pointer-events: none;
}
/* In-flight state: a hairline runs along the bottom edge */
.btn.is-loading { pointer-events: none; color: color-mix(in srgb, var(--btn-fg) 55%, transparent); }
.btn.is-loading::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  block-size: 2px;
  background: currentColor;
  transform-origin: 0 50%;
  animation: btn-progress 1.1s var(--ease-in-out) infinite;
}
@keyframes btn-progress {
  0% { transform: scaleX(0); opacity: 1; }
  70% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

/* Icon-only button (close, menu…) — always a 44px target */
.icon-btn {
  display: inline-grid;
  place-items: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border-radius: 50%;
  color: inherit;
  transition: background-color var(--dur-1), color var(--dur-1);
}
.icon-btn .icon { --icon-size: 1.375rem; }
@media (hover: hover) { .icon-btn:hover { background: var(--tint); } }

/* Text link with an animated hairline: faint at rest, drawn in full on hover */
.link {
  display: inline;
  padding-block-end: .12em;
  border: 0;
  background:
    linear-gradient(currentColor, currentColor) no-repeat,
    linear-gradient(color-mix(in srgb, currentColor 28%, transparent), color-mix(in srgb, currentColor 28%, transparent)) no-repeat;
  background-size: 0% 1px, 100% 1px;
  background-position: 100% 100%, 0 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-size var(--dur-3) var(--ease-out), color var(--dur-1);
}
[dir="rtl"] .link { background-position: 0 100%, 0 100%; }
@media (hover: hover) {
  .link:hover { background-size: 100% 1px, 100% 1px; background-position: 0 100%, 0 100%; }
  [dir="rtl"] .link:hover { background-position: 100% 100%, 0 100%; }
}
.link--quiet { background-size: 0% 1px, 0% 1px; }
.link--accent { color: var(--accent); }

/* «Discover the harvest →» */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  min-block-size: 2.75rem;
  font-family: var(--f-text);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
}
.link-arrow:lang(ar) { font-size: var(--step--1); text-transform: none; }
.link-arrow .icon {
  --icon-size: 1.1rem;
  color: var(--accent);
  transition: translate var(--dur-2) var(--ease-out);
}
.link-arrow__text {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 1px;
  padding-block-end: .2em;
  transition: background-size var(--dur-3) var(--ease-out);
}
[dir="rtl"] .link-arrow__text { background-position: 100% 100%; }
@media (hover: hover) {
  .link-arrow:hover .icon { translate: calc(var(--dir) * .35em) 0; }
  .link-arrow:hover .link-arrow__text { background-size: 100% 1px; }
}

/* Chips — filters, small choices */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-block-size: 2.75rem;
  padding: .45rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--fg);
  font-size: var(--step--1);
  line-height: 1.2;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.chip:lang(ar) { letter-spacing: 0; }
@media (hover: hover) { .chip:hover { border-color: var(--fg); } }
.chip.is-active, .chip[aria-pressed="true"], .chip[aria-current="page"], .chip[aria-current="true"] {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}
.chip__count { font-variant-numeric: tabular-nums lining-nums; opacity: .6; }

/* Status — availability is always stated in words, colour only supports it */
.status {
  --status-dot: var(--c-olive);
  --status-fg: var(--c-ink);
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .42rem .8rem .4rem;
  border: 1px solid rgb(31 26 22 / .1);
  border-radius: var(--radius-pill);
  background: rgb(246 241 232 / .97);   /* opaque enough that gold-ink text keeps AA over any photograph */
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--status-fg);
  font-family: var(--f-text);
  font-size: var(--step--2);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--track-index);
  text-transform: uppercase;
  white-space: nowrap;
}
.status:lang(ar) { font-size: var(--step--1); text-transform: none; padding-block: .3rem; }
.status::before {
  content: "";
  flex: none;
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background: var(--status-dot);
}
.status--available { --status-dot: var(--c-olive); }
.status--coming { --status-dot: transparent; --status-fg: var(--c-gold-ink); }
.status--coming::before { box-shadow: inset 0 0 0 1px var(--c-gold-ink); }
.status--soldout { --status-dot: var(--c-stone); --status-fg: var(--c-muted); }
.status--limited { --status-dot: var(--c-gold); --status-fg: var(--c-gold-ink); }
.status--limited::before { border-radius: 0; transform: rotate(45deg); inline-size: 5px; block-size: 5px; }
.status--plain { background: transparent; border-color: transparent; padding-inline: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.on-dark .status, .section--dark .status, .section--night .status { background: rgb(23 20 16 / .5); border-color: var(--c-line-light); --status-fg: var(--c-ivory); }
.on-dark .status--coming, .section--dark .status--coming, .section--night .status--coming { --status-fg: var(--c-gold); }

/* ═════════════════════════════════════════════════════════════════════════════
   09 · FORMS
   ═════════════════════════════════════════════════════════════════════════════ */
:root { accent-color: var(--c-gold-ink); }

.field { display: grid; gap: .5rem; align-content: start; min-inline-size: 0; }
.field__label {
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--fg-soft);
}
.field__label:lang(ar) { font-size: var(--step--1); text-transform: none; }
.field__optional { color: var(--fg-muted); font-weight: 400; letter-spacing: 0; text-transform: none; }

.field__input {
  appearance: none;
  inline-size: 100%;
  min-inline-size: 0;
  min-block-size: 3.25rem;
  padding: .8rem 1rem;
  border: 1px solid var(--line-control);
  border-radius: var(--radius-s);
  background-color: var(--field-bg);
  color: var(--fg);
  font-size: var(--step-0);
  line-height: 1.4;
  transition: border-color var(--dur-1), background-color var(--dur-1), box-shadow var(--dur-2) var(--ease-out);
}
.field__input::placeholder { color: var(--fg-muted); opacity: 1; }
@media (hover: hover) { .field__input:hover { border-color: color-mix(in srgb, var(--fg) 55%, transparent); } }
.field__input:focus { border-color: var(--fg); background-color: var(--bg); }
.field__input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
textarea.field__input { min-block-size: 8.5rem; line-height: var(--lh-text); }
select.field__input {
  padding-inline-end: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231F1A16' stroke-width='1.2'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1rem;
  background-position: right 1rem center;
}
[dir="rtl"] select.field__input { background-position: left 1rem center; }
.on-dark select.field__input, .section--dark select.field__input, .section--night select.field__input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23F6F1E8' stroke-width='1.2'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6'/%3E%3C/svg%3E");
}
input[type="number"].field__input { font-variant-numeric: tabular-nums lining-nums; }
input[type="email"], input[type="tel"], input[type="url"] { direction: ltr; }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"], [dir="rtl"] input[type="url"] { text-align: right; }
[dir="rtl"] input[type="email"]::placeholder, [dir="rtl"] input[type="tel"]::placeholder { direction: rtl; }

.field__help { font-size: var(--step--1); color: var(--fg-muted); line-height: 1.5; }
.field__error {
  display: flex;
  gap: .45em;
  align-items: baseline;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--error);
}
.field__error:empty { display: none; }
.field__error::before { content: ""; flex: none; inline-size: 5px; block-size: 5px; background: currentColor; transform: translateY(-.15em) rotate(45deg); }
.field.is-invalid .field__input,
.field__input[aria-invalid="true"] { border-color: var(--error); }

.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-m) var(--space-s); }
@media (min-width: 40em) {
  .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid .field--full { grid-column: 1 / -1; }
}
.form-errors {
  padding: var(--space-s) var(--space-m);
  border-inline-start: 2px solid var(--error);
  background: color-mix(in srgb, var(--error) 6%, transparent);
  color: var(--error);
  font-size: var(--step--1);
}

/* Native checkbox / radio, refined */
.check {
  display: flex;
  inline-size: fit-content;
  align-items: flex-start;
  gap: .75rem;
  min-block-size: 2.75rem;
  padding-block: .55rem;
  cursor: pointer;
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--fg-soft);
}
.check input, .choice input {
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  inline-size: 1.15rem;
  block-size: 1.15rem;
  margin-block-start: .15em;
  border: 1px solid var(--line-control);
  border-radius: var(--radius-s);
  background: var(--field-bg);
  transition: border-color var(--dur-1), background-color var(--dur-1);
}
.check input[type="radio"], .choice input[type="radio"] { border-radius: 50%; }
.check input::after, .choice input::after {
  content: "";
  inline-size: 55%;
  block-size: 55%;
  background: var(--bg);
  transform: scale(0);
  transition: transform var(--dur-2) var(--ease-out);
}
.check input[type="checkbox"]::after, .choice input[type="checkbox"]::after {
  inline-size: 60%;
  block-size: 35%;
  background: none;
  border-inline-start: 1.5px solid var(--bg);
  border-block-end: 1.5px solid var(--bg);
  transform: translateY(-15%) rotate(-45deg) scale(0);
}
[dir="rtl"] .check input[type="checkbox"]::after, [dir="rtl"] .choice input[type="checkbox"]::after { transform: translateY(-15%) rotate(45deg) scale(0); }
.check input[type="radio"]::after, .choice input[type="radio"]::after { border-radius: 50%; }
.check input:checked, .choice input:checked { background: var(--fg); border-color: var(--fg); }
.check input:checked::after, .choice input:checked::after { transform: scale(1); }
.check input[type="checkbox"]:checked::after, .choice input[type="checkbox"]:checked::after { transform: translateY(-15%) rotate(-45deg) scale(1); }
[dir="rtl"] .check input[type="checkbox"]:checked::after, [dir="rtl"] .choice input[type="checkbox"]:checked::after { transform: translateY(-15%) rotate(45deg) scale(1); }
.check input:focus-visible, .choice input:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* Choice card — a radio/checkbox presented as a selectable card */
.choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  padding: var(--space-s) var(--space-s);
  border: 1px solid var(--line-control);
  border-radius: var(--radius-s);
  background: var(--field-bg);
  cursor: pointer;
  transition: border-color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
@media (hover: hover) { .choice:hover { border-color: color-mix(in srgb, var(--fg) 55%, transparent); } }
.choice:has(input:checked) { border-color: var(--fg); background: var(--bg); box-shadow: inset 0 0 0 1px var(--fg); }
.choice:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.choice__body { display: grid; gap: .2rem; flex: 1; min-inline-size: 0; }
.choice__title { font-weight: 500; color: var(--fg); line-height: 1.4; }
.choice__text { font-size: var(--step--1); color: var(--fg-muted); line-height: 1.55; }
.choice__aside { margin-inline-start: auto; font-variant-numeric: tabular-nums lining-nums; color: var(--fg); white-space: nowrap; }
.choices { display: grid; gap: var(--space-xs); }

/* − 1 + stepper */
.qty {
  display: inline-flex;
  justify-self: start;
  inline-size: max-content;
  align-items: stretch;
  block-size: 2.75rem;
  border: 1px solid var(--line-control);
  border-radius: var(--radius-s);
  background: var(--field-bg);
}
.qty button, .qty__btn {
  display: grid;
  place-items: center;
  inline-size: 2.75rem;
  color: var(--fg);
  transition: background-color var(--dur-1), color var(--dur-1);
}
.qty button:disabled, .qty button[aria-disabled="true"] { color: var(--fg-muted); opacity: .45; cursor: default; }
@media (hover: hover) { .qty button:not(:disabled, [aria-disabled="true"]):hover { background: var(--tint); } }
.qty button .icon { --icon-size: 1rem; }
.qty input, .qty output, .qty__value {
  display: grid;
  place-items: center;
  inline-size: 2.5rem;
  min-inline-size: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-variant-numeric: tabular-nums lining-nums;
  font-size: var(--step-0);
  line-height: 2.75rem;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus-visible { outline-offset: -2px; }
.qty--sm { block-size: 2.5rem; }

/* Honeypot — present for bots, invisible to people and assistive tech */
.hp { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }

/* Newsletter (footer + anywhere) */
.newsletter { display: grid; gap: var(--space-s); max-inline-size: 32rem; }
.newsletter__row {
  display: flex;
  align-items: stretch;
  gap: var(--space-xs);
  border-block-end: 1px solid var(--line-control);
  transition: border-color var(--dur-2) var(--ease-out);
}
.newsletter__row:focus-within { border-color: var(--fg); }
.newsletter__input {
  flex: 1;
  min-inline-size: 0;
  min-block-size: 3.25rem;
  padding: .75rem 0;
  border: 0;
  background: transparent;
  color: var(--fg);
  font-size: var(--step-1);
  font-family: var(--f-display);
}
.newsletter__input::placeholder { color: var(--fg-muted); opacity: 1; }
.newsletter__input:focus-visible { outline: none; }
.newsletter__row:has(.newsletter__input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 6px; border-radius: var(--radius-s); }
.newsletter__submit {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding-inline: .25rem;
  min-block-size: 2.75rem;
  color: var(--fg);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}
.newsletter__submit:lang(ar) { font-size: var(--step--1); text-transform: none; }
.newsletter__submit .icon { color: var(--accent); transition: translate var(--dur-2) var(--ease-out); }
@media (hover: hover) { .newsletter__submit:hover .icon { translate: calc(var(--dir) * .3em) 0; } }
.newsletter__note { font-size: var(--step--1); color: var(--fg-muted); }
.newsletter__status:empty { display: none; }
.newsletter__status { font-size: var(--step--1); color: var(--fg); }
.newsletter__status.is-error { color: var(--error); }
.newsletter.is-done .newsletter__row,
.newsletter.is-done .newsletter__note,
.newsletter.is-done .field__error { display: none; }
.newsletter.is-done .newsletter__status {
  font-family: var(--f-display);
  font-size: var(--step-2);
  line-height: 1.4;
}

/* Waitlist (components/waitlist_form.html) — the newsletter row, led by what it waits for */
.waitlist { inline-size: 100%; max-inline-size: 30rem; gap: var(--space-2xs); }
.waitlist__label { font-size: var(--step--1); font-weight: 500; line-height: 1.5; color: var(--fg); }
.waitlist.is-done .waitlist__label { display: none; }
.waitlist.is-done .newsletter__status { display: flex; gap: .7em; align-items: baseline; }
.waitlist.is-done .newsletter__status::before { content: ""; flex: none; inline-size: 7px; block-size: 7px; background: var(--c-gold); rotate: 45deg; translate: 0 -.15em; }
.waitlist--compact { gap: .35rem; }
.waitlist--compact .newsletter__input { min-block-size: 2.75rem; font-size: var(--step-0); }
.waitlist--compact.is-done .newsletter__status { font-size: var(--step-1); }

/* ═════════════════════════════════════════════════════════════════════════════
   10 · COMPONENTS
   ═════════════════════════════════════════════════════════════════════════════ */

/* Product card ───────────────────────────────────────────────────────────── */
.product-card {
  position: relative;
  display: grid;
  gap: var(--space-s);
  align-content: start;
  color: var(--fg);
}
.product-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-s);
  background: var(--c-beige);
}
.product-card__image-link { position: absolute; inset: 0; display: block; }
.product-card__media img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-out), opacity var(--dur-3) var(--ease-out), filter var(--dur-3);
}
.product-card__img--alt { opacity: 0; }
/* A stand-in for a missing photograph — the mark on paper. One rule for every tile:
   cards, bag lines, journal tiles (.tile-placeholder inside a positioned frame). */
.tile-placeholder,
.product-card__placeholder,
.bag-line__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--c-gold);
  background: var(--c-paper) var(--grain);
}
:is(.tile-placeholder, .product-card__placeholder, .bag-line__placeholder) :is(.brand-svg, .icon) {
  block-size: var(--placeholder-mark, 28%);
  inline-size: auto;
  opacity: .7;
}
@media (hover: hover) {
  .product-card:hover .product-card__media img { transform: scale(1.035); }
  .product-card:hover .product-card__img--alt { opacity: 1; }
}
.product-card__status {
  position: absolute;
  z-index: 2;
  inset-block-start: var(--space-xs);
  inset-inline-start: var(--space-xs);
  pointer-events: none;
}

/* Quick add: a quiet bar that rises on hover; a 44px "+" on touch screens */
.product-card__quick {
  position: absolute;
  z-index: 3;
  inset-inline: var(--space-xs);
  inset-block-end: var(--space-xs);
}
.product-card__quick-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  inline-size: 100%;
  min-block-size: 3rem;
  padding: .7rem 1.1rem;
  border-radius: var(--radius-s);
  background: rgb(246 241 232 / .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--c-ink);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), translate var(--dur-3) var(--ease-out), opacity var(--dur-2) var(--ease-out);
}
.product-card__quick-btn:lang(ar) { font-size: var(--step--1); text-transform: none; }
.product-card__quick-btn .icon { --icon-size: 1rem; }
.product-card__quick-label { display: inline-flex; align-items: center; gap: .6em; }
.product-card__quick-price { font-variant-numeric: tabular-nums lining-nums; letter-spacing: var(--track-soft); }
@media (hover: hover) {
  .product-card__quick-btn { translate: 0 calc(100% + var(--space-xs)); opacity: 0; }
  .product-card:hover .product-card__quick-btn,
  .product-card__quick-btn:focus-visible { translate: 0 0; opacity: 1; }
  .product-card__quick-btn:hover { background: var(--c-ink); color: var(--c-ivory); }
}
@media (hover: none) {
  .product-card__quick { inset-inline-start: auto; }
  .product-card__quick-btn {
    inline-size: 2.75rem;
    min-block-size: 2.75rem;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .product-card__quick-btn .product-card__quick-text,
  .product-card__quick-price { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.product-card__quick-btn.is-loading { pointer-events: none; opacity: .7; }

.product-card__body { display: grid; gap: .3rem; }
.product-card__kicker { display: flex; gap: .5em; flex-wrap: wrap; }
.product-card__name {
  font-family: var(--f-display);
  font-size: var(--step-2);
  font-weight: var(--w-display);
  line-height: 1.18;
  letter-spacing: var(--track-display);
  color: var(--fg);
}
.product-card__name:lang(ar) { line-height: 1.45; }
.product-card__name a { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 1px; transition: background-size var(--dur-3) var(--ease-out); }
[dir="rtl"] .product-card__name a { background-position: 100% 100%; }
.product-card:hover .product-card__name a, .product-card__name a:focus-visible { background-size: 100% 1px; }
.product-card__subtitle { font-size: var(--step--1); color: var(--fg-muted); line-height: 1.5; }
.product-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .25rem 1rem;
  margin-block-start: .35rem;
  padding-block-start: .7rem;
  border-block-start: 1px solid var(--line);
}
.product-card__foot .price { font-size: var(--step-0); }
.product-card__note { font-size: var(--step--1); color: var(--fg-muted); }

.product-card--lg .product-card__name { font-size: var(--step-3); }
.product-card--lg .product-card__media { aspect-ratio: 4 / 5; }
.product-card--sm { gap: var(--space-xs); }
.product-card--sm .product-card__name { font-size: var(--step-1); }
.product-card--sm .product-card__subtitle { display: none; }
.product-card--sm .product-card__foot { border: 0; padding: 0; margin: 0; }

.product-card.is-soldout .product-card__media img,
.product-card.is-coming .product-card__media img { filter: saturate(.75); }
/* An upcoming piece is framed by a gold hairline, wherever its card appears. */
.product-card.is-coming .product-card__media::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: .7rem;
  border: 1px solid rgb(200 154 74 / .7);
  pointer-events: none;
}
.product-card.is-soldout .product-card__media img { opacity: .78; }

/* Price ──────────────────────────────────────────────────────────────────── */
.price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2em .45em;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--fg);
}
.price__from { font-size: .82em; color: var(--fg-muted); }
.price__amount { white-space: nowrap; }
.price__was { font-size: .85em; color: var(--fg-muted); text-decoration-thickness: 1px; white-space: nowrap; }
.price--lg { font-family: var(--f-display); font-size: var(--step-3); line-height: 1.1; }
.price--lg .price__from { font-family: var(--f-text); font-size: var(--step--1); }

/* Page hero (components/page_hero.html) ─────────────────────────────────────
   The shared opening of a page. Every hero follows the same rules, including the
   ones areas build themselves:
   · the <h1> takes a title tier — .title-index | .title-page | .title-utility;
   · breadcrumbs (pages two or more levels deep only) come first, start-aligned,
     var(--space-l) below the header — .page-hero__crumbs, with .page-hero--crumbs;
   · the kicker is a section label («02 / THE HARVEST»), never a bare .index;
   · nothing above the fold waits for a reveal: .hero-enter, not data-reveal;
   · the action pair is a .btn (primary, or light on dark) and a .link-arrow. */
.page-hero {
  position: relative;
  padding-block: var(--space-2xl);
  background: var(--bg);
  color: var(--fg);
}
.page-hero--crumbs { padding-block-start: var(--space-l); }
.page-hero__inner { display: grid; gap: var(--space-xl); align-items: center; }
.page-hero__crumbs { grid-column: 1 / -1; }
.page-hero__text { display: grid; gap: var(--space-m); justify-items: center; text-align: center; max-inline-size: 52rem; margin-inline: auto; }
.page-hero__lede { margin-inline: auto; }
.page-hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-xs) var(--space-l); }
.page-hero__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-s);
  background: var(--c-beige);
}
.page-hero__media img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.page-hero--image .page-hero__text { justify-items: start; text-align: start; margin-inline: 0; }
.page-hero--image .page-hero__lede { margin-inline: 0; }
.page-hero--image .page-hero__actions { justify-content: flex-start; }
@media (min-width: 56em) {
  .page-hero--image .page-hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-2xl); }
  .page-hero--image .page-hero__media { aspect-ratio: 5 / 6; }
}

/* Breadcrumbs ────────────────────────────────────────────────────────────── */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .6rem;
  padding: 0;
  list-style: none;
  font-size: var(--step--2);
  letter-spacing: var(--track-index);
  text-transform: uppercase;
  color: var(--fg-muted);
}
.breadcrumbs ol:lang(ar) { font-size: var(--step--1); text-transform: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .6rem; }
.breadcrumbs li + li::before { content: ""; inline-size: 1.1em; block-size: 1px; background: var(--line-strong); }
.breadcrumbs a { color: inherit; text-decoration: none; padding-block: .6rem; transition: color var(--dur-1); }
.breadcrumbs a:hover { color: var(--fg); }
.breadcrumbs [aria-current="page"] { color: var(--fg); }

/* Accordion (<details>) ──────────────────────────────────────────────────── */
.accordion { border-block-end: 1px solid var(--line); }
.accordion:first-of-type { border-block-start: 1px solid var(--line); }
.accordion > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  min-block-size: 3.5rem;
  padding-block: var(--space-s);
  list-style: none;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: var(--step-1);
  line-height: 1.35;
  color: var(--fg);
}
.accordion > summary:lang(ar) { line-height: 1.6; }
.accordion > summary::-webkit-details-marker { display: none; }
.accordion > summary::marker { content: ""; }
.accordion > summary::after {
  content: "";
  position: relative;
  flex: none;
  inline-size: 1rem;
  block-size: 1rem;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 100% 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 1px 100% no-repeat;
  transition: transform var(--dur-3) var(--ease-out), background-size var(--dur-3) var(--ease-out);
}
.accordion[open] > summary::after { transform: rotate(180deg); background-size: 100% 1px, 1px 0; }
.accordion__body {
  padding-block-end: var(--space-m);
  color: var(--fg-soft);
  max-inline-size: var(--measure);
}
.accordion__body > * + * { margin-block-start: .9em; }
.accordion::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size var(--dur-3) var(--ease-out), content-visibility var(--dur-3) allow-discrete;
}
.accordion[open]::details-content { block-size: auto; }

/* Empty state ────────────────────────────────────────────────────────────── */
.empty-state {
  display: grid;
  justify-items: center;
  gap: var(--space-s);
  padding: var(--space-2xl) var(--space-m);
  text-align: center;
}
.empty-state__title { font-family: var(--f-display); font-size: var(--step-3); line-height: 1.2; }
.empty-state__title:lang(ar) { line-height: 1.5; }
.empty-state p:not(.empty-state__title) { color: var(--fg-muted); max-inline-size: 28rem; }
.empty-state__mark { display: block; block-size: 4.5rem; color: var(--foil); margin-block-end: var(--space-2xs); }
.empty-state__mark .brand-svg { block-size: 100%; margin-inline: auto; }
.empty-state__text { font-size: var(--step--1); line-height: 1.6; }

/* Promise row (six brand promises) ───────────────────────────────────────── */
.promise {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl) var(--space-s);
  padding: 0;
  list-style: none;
}
@media (min-width: 40em) { .promise { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 72em) { .promise { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.promise__item {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: .85rem;
  text-align: center;
}
.promise__seal { --seal-size: 4.75rem; color: var(--accent); }
.promise__title {
  font-family: var(--f-display);
  font-size: var(--step-1);
  line-height: 1.3;
  color: var(--fg);
  max-inline-size: 12em;
}
.promise__title:lang(ar) { line-height: 1.55; }
.promise__echo {
  margin-block-start: -.35rem;
  font-size: var(--step--2);
  color: var(--fg-muted);
}
.promise__echo:lang(en) { letter-spacing: var(--track-caps); text-transform: uppercase; }
.promise__echo:lang(ar) { font-family: var(--f-arabic-display); font-size: var(--step-0); line-height: 1.5; }
@media (hover: hover) { .promise__item:hover .promise__seal { transform: rotate(-8deg); } }

/* Tasting notes (components/tasting_notes.html) ────────────────────────────
   Italic display words with a gold diamond between them — never pills or boxes. */
.notes { display: grid; gap: .55rem; }
.notes__list { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem var(--notes-gap, 1rem); margin: 0; padding: 0; }
.notes__item {
  display: inline-flex;
  align-items: center;
  gap: var(--notes-gap, 1rem);
  font-family: var(--f-display);
  font-size: var(--notes-size, var(--step-1));
  line-height: 1.3;
  color: var(--fg);
}
.notes__item:lang(en) { font-style: italic; }
.notes__item:lang(ar) { line-height: 1.6; }
.notes__item + .notes__item::before { content: ""; flex: none; inline-size: 5px; block-size: 5px; background: var(--foil); rotate: 45deg; }
.notes--sm { --notes-size: var(--step-0); --notes-gap: .75rem; gap: .35rem; }
.notes--lg { --notes-size: var(--step-3); --notes-gap: 1.4rem; gap: var(--space-s); }

/* Toasts ─────────────────────────────────────────────────────────────────── */
.toasts {
  position: fixed;
  z-index: var(--z-toast);
  inset-block-end: calc(max(var(--space-m), env(safe-area-inset-bottom)) + var(--sticky-bar-h));
  inset-inline: 0;
  display: grid;
  justify-items: center;
  gap: .6rem;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: .9rem;
  inline-size: fit-content;
  max-inline-size: min(34rem, 100%);
  padding: .85rem .85rem .85rem 1.15rem;
  padding-inline: 1.15rem .6rem;
  border-radius: var(--radius-s);
  background: var(--c-ink);
  color: var(--c-ivory);
  box-shadow: 0 18px 40px -18px rgb(23 20 16 / .55);
  font-size: var(--step--1);
  line-height: 1.5;
  pointer-events: auto;
  animation:
    toast-in var(--dur-3) var(--ease-out) both,
    toast-out var(--dur-2) var(--ease-in-out) 7s forwards;
}
.toast:hover, .toast:focus-within { animation-play-state: running, paused; }
/* Errors wait to be dismissed: they may explain why a form came back. */
.toast--error { animation: toast-in var(--dur-3) var(--ease-out) both; }
.toast:target { display: none; }   /* the close link without JavaScript */
.toast::before {
  content: "";
  flex: none;
  inline-size: 6px;
  block-size: 6px;
  background: var(--c-gold);
  transform: rotate(45deg);
}
.toast--error::before { background: var(--c-error-light); }
.toast--success::before { background: var(--c-gold); }
.toast__text { flex: 1; }
.toast__close {
  display: grid;
  text-decoration: none;
  place-items: center;
  flex: none;
  inline-size: 2.25rem;
  block-size: 2.25rem;
  margin-block: -.35rem;
  border-radius: 50%;
  color: rgb(246 241 232 / .7);
  transition: color var(--dur-1), background-color var(--dur-1);
}
.toast__close:hover { color: var(--c-ivory); background: rgb(246 241 232 / .08); }
.toast__close:focus-visible { outline-color: var(--c-gold); }  /* the toast is ink: gold-ink would vanish */
.toast__close .icon { --icon-size: 1rem; }
.toast.is-leaving { animation: toast-out var(--dur-2) var(--ease-in-out) forwards; }
@keyframes toast-in { from { opacity: 0; translate: 0 1rem; scale: .98; } }
@keyframes toast-out { to { opacity: 0; translate: 0 .5rem; visibility: hidden; } }

/* ═════════════════════════════════════════════════════════════════════════════
   11 · SITE SHELL
   ═════════════════════════════════════════════════════════════════════════════ */
.skip-link {
  position: fixed;
  z-index: var(--z-skip);
  inset-block-start: .75rem;
  inset-inline-start: .75rem;
  padding: .8rem 1.2rem;
  border-radius: var(--radius-s);
  background: var(--c-ink);
  color: var(--c-ivory);
  font-size: var(--step--1);
  text-decoration: none;
  translate: 0 -150%;
  transition: translate var(--dur-2) var(--ease-out);
}
.skip-link:focus, .skip-link:focus-visible { translate: 0 0; outline-color: var(--c-gold); }

#main { display: block; outline: none; }

/* Announcement bar */
.announcement {
  position: relative;
  z-index: calc(var(--z-header) + 1);
  background: var(--c-olive-deep);
  color: var(--c-ivory);
  text-align: center;
}
.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  min-block-size: 2.375rem;
  padding-block: .45rem;
  font-size: var(--step--2);
  font-weight: 400;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  line-height: 1.45;
}
.announcement__inner:lang(ar) { font-size: var(--step--1); text-transform: none; }
.announcement__inner::before, .announcement__inner::after {
  content: "";
  flex: none;
  inline-size: 4px;
  block-size: 4px;
  background: var(--c-gold);
  transform: rotate(45deg);
}

/* Header ─────────────────────────────────────────────────────────────────── */
.site-header {
  --header-fg: var(--c-ink);
  --header-bg: var(--c-ivory);
  position: sticky;
  inset-block-start: 0;
  z-index: var(--z-header);
  color: var(--header-fg);
  background: var(--header-bg);
  border-block-end: 1px solid transparent;
  view-transition-name: site-header;
  transition:
    background-color var(--dur-3) var(--ease-out),
    color var(--dur-3) var(--ease-out),
    border-color var(--dur-3) var(--ease-out),
    translate var(--dur-3) var(--ease-out);
}
.site-header.is-scrolled {
  --header-bg: rgb(246 241 232 / .9);
  border-block-end-color: var(--c-line);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.site-header.is-hidden { translate: 0 -100%; }
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -60% 0;
  z-index: -1;
  /* Measured over the brightest hero sky: the bar and the nav row (the top 62.5% of this
     layer, which reaches 60% below the header) need at least .55 to keep ivory text at 4.5:1. */
  background: linear-gradient(to bottom, rgb(23 20 16 / .66), rgb(23 20 16 / .55) 62.5%, rgb(23 20 16 / 0));
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-3) var(--ease-out);
}

/* Overlay variant: transparent over a dark full-bleed hero until scrolled */
[data-header-variant~="overlay"] .site-header:not(.is-scrolled) {
  --header-fg: var(--c-ivory);
  --header-bg: transparent;
}
[data-header-variant~="overlay"] .site-header:not(.is-scrolled)::before { opacity: 1; }
[data-header-variant~="overlay"] .site-header:not(.is-scrolled) .logo { --logo-ar: var(--c-ivory); --logo-tag: var(--c-ivory); }
[data-header-variant~="overlay"] .site-header:not(.is-scrolled) :focus-visible { outline-color: var(--c-gold); }
[data-header-variant~="overlay"] #main { margin-block-start: calc(-1 * var(--header-h)); }
/* Without JavaScript nothing marks the header as scrolled, so an overlay header would stay
   transparent over the light sections below the hero: it scrolls away with the hero instead.
   (scripting: none is false while the deferred script loads — no shift for anyone else.) */
@media (scripting: none) {
  /* inset-block-start: auto keeps it where it stands in the flow — under the announcement. */
  [data-header-variant~="overlay"] .site-header { position: absolute; inset-inline: 0; inset-block-start: auto; }
  [data-header-variant~="overlay"] #main { margin-block-start: 0; }
}

.site-header__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-s);
  block-size: var(--header-bar-h);
}
.site-header__start, .site-header__end { display: flex; align-items: center; gap: .25rem; }
.site-header__end { justify-content: flex-end; }

.site-header__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .35rem .5rem;
  color: inherit;
  text-decoration: none;
}
/* Sized so the spaced MAWSIM under «موسم» stays legible (about 6px and 7px tall). */
.site-header__brand .logo { --logo-h: 1.625rem; transition: color var(--dur-3) var(--ease-out); }
@media (min-width: 67.5em) { .site-header__brand .logo { --logo-h: 2rem; } }

.site-header__util {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-inline-size: 2.75rem;
  min-block-size: 2.75rem;
  padding-inline: .5rem;
  color: inherit;
  text-decoration: none;
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  border-radius: var(--radius-s);
  transition: color var(--dur-1), opacity var(--dur-1);
}
.site-header__util:lang(ar) { font-size: var(--step--1); text-transform: none; }
.site-header__util .icon { --icon-size: 1.3rem; }
@media (hover: hover) { .site-header__util:hover { opacity: .65; } }

/* One weight for the other language's name, as in the menu and footer: an English page
   then needs no extra Arabic font file just for «العربية». */
.site-header__lang { font-family: var(--f-text); font-weight: 400; }
.site-header__lang:lang(ar) { font-family: var(--f-arabic-text); }
/* On a phone the menu button shows only its icon; the word stays as its accessible name. */
@media (max-width: 29.99em) {
  .site-header__menu-label { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

.site-header__bag { position: relative; }
.cart-count {
  position: absolute;
  inset-block-start: .3rem;
  inset-inline-end: .05rem;
  display: grid;
  place-items: center;
  min-inline-size: 1.1rem;
  block-size: 1.1rem;
  padding-inline: .25rem;
  border-radius: var(--radius-pill);
  background: var(--c-gold);
  color: var(--c-ink);
  font-family: var(--f-latin-text);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  transition: scale var(--dur-2) var(--ease-out);
}
.cart-count[data-count="0"], .cart-count:empty { scale: 0; }
.cart-count.is-bumped { animation: count-bump var(--dur-3) var(--ease-out); }
@keyframes count-bump { 30% { scale: 1.35; } }

/* The season's pulsing dot (home hero caption, shop hero): a few slow beats, then still. */
.season-note__dot {
  position: relative;
  display: inline-block;
  flex: none;
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background: var(--c-gold);
}
.season-note__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--c-gold);
  opacity: 0;
  animation: season-pulse 3.2s var(--ease-out) 5;
}
@keyframes season-pulse { 0% { opacity: .7; scale: .4; } 70%, 100% { opacity: 0; scale: 1.6; } }

/* Desktop primary nav — a second, quieter tier under the lockup */
.site-nav { display: none; }
.site-nav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 2.6vw, 3rem);
  block-size: var(--header-nav-h);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  block-size: var(--header-nav-h);
  color: inherit;
  text-decoration: none;
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}
.site-nav__link:lang(ar) { font-size: .9375rem; text-transform: none; font-weight: 400; }
.site-nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: .85rem;
  block-size: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform var(--dur-3) var(--ease-out);
}
[dir="rtl"] .site-nav__link::after { transform-origin: 0 50%; }
@media (hover: hover) {
  .site-nav__link:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
  [dir="rtl"] .site-nav__link:hover::after { transform-origin: 100% 50%; }
}
.site-nav__link[aria-current]::after { transform: scaleX(1); background: var(--c-gold); }

@media (min-width: 67.5em) {
  .site-nav { display: block; border-block-start: 1px solid color-mix(in srgb, currentColor 10%, transparent); }
  .site-header__mobile { display: none; }
}
@media (max-width: 39.99em) {
  .site-header__tablet { display: none; }
}

/* Full-screen menu ───────────────────────────────────────────────────────── */
.menu {
  --bg: var(--c-night);
  --fg: var(--c-ivory);
  --fg-muted: #ADA493;
  --accent: var(--c-gold);
  --line: var(--c-line-light);
  --focus: var(--c-gold);
  --tint: rgb(246 241 232 / .06);
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg) var(--grain);
  color: var(--fg);
  visibility: hidden;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path var(--dur-3) var(--ease-in-out),
    opacity var(--dur-2) var(--ease-out) var(--dur-1),
    visibility 0s linear var(--dur-3);
}
.menu.is-open, .menu:target {
  visibility: visible;
  opacity: 1;
  clip-path: inset(0);
  transition:
    clip-path var(--dur-3) var(--ease-out),
    opacity var(--dur-1) linear,
    visibility 0s;
}
.menu__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  block-size: var(--header-bar-h);
  flex: none;
}
.menu__bar .logo { --logo-h: 1.625rem; }
.menu__close { justify-self: start; }
.menu__brand { justify-self: center; display: inline-flex; padding: .35rem .5rem; color: inherit; }
.menu__nav { flex: 1; display: flex; align-items: center; padding-block: var(--space-l); }
.menu__list { display: grid; gap: .1rem; margin: 0; padding: 0; list-style: none; inline-size: 100%; }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: var(--space-s);
  padding-block: .3rem;
  color: var(--fg);
  text-decoration: none;
  font-family: var(--f-display);
  font-size: clamp(2.35rem, 1.2rem + 5.4vw, 4rem);
  font-weight: var(--w-display);
  line-height: 1.12;
  letter-spacing: var(--track-display);
}
.menu__link:lang(ar) { line-height: 1.45; }
.menu__index {
  min-inline-size: 2.2em;
  font-family: var(--f-latin-text);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--accent);
  translate: 0 -.4em;
}
.menu__text {
  transition: color var(--dur-2) var(--ease-out), translate var(--dur-3) var(--ease-out);
}
@media (hover: hover) {
  .menu__link:hover .menu__text { color: var(--c-gold); translate: calc(var(--dir) * .12em) 0; }
}
.menu__link[aria-current] .menu__text { color: var(--c-gold); }
.menu__list > li {
  opacity: 0;
  translate: 0 1.25rem;
  transition: opacity var(--dur-3) var(--ease-out), translate var(--dur-4) var(--ease-out);
}
.menu.is-open .menu__list > li, .menu:target .menu__list > li { opacity: 1; translate: 0 0; }
.menu.is-open .menu__list > li:nth-child(1) { transition-delay: 160ms; }
.menu.is-open .menu__list > li:nth-child(2) { transition-delay: 220ms; }
.menu.is-open .menu__list > li:nth-child(3) { transition-delay: 280ms; }
.menu.is-open .menu__list > li:nth-child(4) { transition-delay: 340ms; }
.menu.is-open .menu__list > li:nth-child(5) { transition-delay: 400ms; }
.menu.is-open .menu__list > li:nth-child(6) { transition-delay: 460ms; }
.menu__foot {
  display: grid;
  gap: var(--space-m);
  padding-block: var(--space-m) max(var(--space-l), env(safe-area-inset-bottom));
  border-block-start: 1px solid var(--line);
}
@media (min-width: 48em) { .menu__foot { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.menu__season p:last-child { max-inline-size: 30rem; margin-block-start: .4rem; font-family: var(--f-display); font-size: var(--step-1); line-height: 1.45; color: rgb(246 241 232 / .82); }
.menu__season p:last-child:lang(ar) { line-height: 1.8; }
.menu__utils { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; justify-content: flex-start; }
@media (min-width: 48em) { .menu__utils { justify-content: flex-end; } }
.menu__utils a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-block-size: 2.75rem;
  color: var(--fg);
  text-decoration: none;
  font-size: var(--step--1);
}
.menu__utils a .icon { color: var(--accent); }
.menu__utils [data-count="0"] { display: none; }
.menu__watermark {
  position: absolute;
  inset-block-end: -4%;
  inset-inline-end: -6%;
  block-size: 78%;
  color: var(--c-gold);
  aspect-ratio: 180.21 / 344.86;
  opacity: .045;
  pointer-events: none;
}
/* Painted only once the menu opens, so pages don't fetch the drawing for a closed menu. */
.menu.is-open .menu__watermark, .menu:target .menu__watermark {
  background-color: currentColor;
  -webkit-mask: url("../img/brand/mark.a98092d6a7a9.svg") center / contain no-repeat;
  mask: url("../img/brand/mark.a98092d6a7a9.svg") center / contain no-repeat;
}

/* Footer ─────────────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-3xl) var(--space-m);
  background-image: var(--grain);
  background-size: 220px 220px;
}
.site-footer__top {
  display: grid;
  gap: var(--space-2xl);
}
@media (min-width: 64em) {
  .site-footer__top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl); }
}
.site-footer__letter { display: grid; gap: var(--space-s); align-content: start; }
.site-footer__letter-title { font-size: var(--step-4); line-height: 1.08; max-inline-size: 12em; }
.site-footer__letter-title:lang(ar) { line-height: 1.4; }
.site-footer__letter-text { color: var(--fg-soft); max-inline-size: 30rem; }
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-l) var(--space-m);
}
@media (min-width: 48em) { .site-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.site-footer__heading { margin-block-end: var(--space-xs); }
.site-footer__list { display: grid; gap: .1rem; margin: 0; padding: 0; list-style: none; }
.site-footer__list a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-block-size: 2.25rem;
  color: var(--fg-soft);
  text-decoration: none;
  font-size: var(--step--1);
  transition: color var(--dur-1);
}
.site-footer__list a:hover { color: var(--fg); }
.site-footer__list .icon { --icon-size: 1rem; color: var(--accent); }
.site-footer__address { font-style: normal; font-size: var(--step--1); color: var(--fg-muted); padding-block-start: .4rem; }

.site-footer__mark {
  display: grid;
  justify-items: center;
  gap: var(--space-l);
  margin-block: var(--space-3xl) var(--space-xl);
}
.site-footer__mark .logo { --logo-h: clamp(3rem, 1.4rem + 7vw, 7rem); }
.site-footer__tagline {
  font-family: var(--f-display);
  font-size: var(--step-1);
  color: var(--fg-soft);
  text-align: center;
}
.site-footer__tagline:lang(en) { font-style: italic; }

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-l);
  padding-block-start: var(--space-m);
  border-block-start: 1px solid var(--line);
  font-size: var(--step--2);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--fg-muted);
}
.site-footer__base:lang(ar) { font-size: var(--step--1); text-transform: none; }
.site-footer__base > * { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; }
.site-footer__base a { color: inherit; text-decoration: none; min-block-size: 2.75rem; display: inline-flex; align-items: center; }
.site-footer__base a:hover { color: var(--fg); }
.site-footer__pay { display: inline-flex; align-items: center; gap: .55rem; }
.site-footer__pay .icon { --icon-size: 1.05rem; color: var(--accent); }
.site-footer__season { color: var(--fg-soft); }

/* Error pages (404 · 403 · 405 in the shell; 400 · CSRF standalone, in both languages) ─ */
.error-page { min-block-size: calc(100svh - var(--header-h)); display: grid; align-items: center; }
.error-standalone .error-page { min-block-size: 100svh; }
.error-page__inner { display: grid; justify-items: center; gap: var(--space-m); text-align: center; }
.error-page__mark { block-size: clamp(5rem, 3rem + 8vw, 8rem); color: var(--foil); }
.error-page__mark .brand-svg { block-size: 100%; }
.error-page__title { font-size: var(--title-page); }
.error-page__lede { margin-inline: auto; }
.error-page__actions { margin-block-start: var(--space-2xs); }
.error-page__copy { display: grid; justify-items: center; gap: var(--space-s); }
/* The page's second language: the same words, quieter, under a short divider */
.error-page__echo { padding-block-start: var(--space-m); border-block-start: 1px solid var(--line); }
.error-page__echo .error-page__title { font-size: var(--step-4); }
.error-page__echo .error-page__lede { font-size: var(--step-1); }

/* ═════════════════════════════════════════════════════════════════════════════
   12 · DRAWER & BAG
   ═════════════════════════════════════════════════════════════════════════════ */
.drawer-layer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear var(--dur-3);
}
.drawer-layer.is-open { visibility: visible; pointer-events: auto; transition: visibility 0s; }
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(23 20 16 / .42);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out);
}
.drawer-layer.is-open .drawer-backdrop { opacity: 1; }
.drawer {
  --drawer-pad: clamp(1.25rem, .9rem + 1.5vw, 2rem);
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  display: flex;
  flex-direction: column;
  inline-size: min(28rem, 100%);
  background: var(--c-ivory);
  color: var(--c-ink);
  box-shadow: 0 0 80px -20px rgb(23 20 16 / .35);
  translate: calc(var(--dir) * 100%) 0;
  transition: translate var(--dur-3) var(--ease-in-out);
  outline: none;
}
.drawer-layer.is-open .drawer { translate: 0 0; transition: translate var(--dur-3) var(--ease-out); }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  flex: none;
  min-block-size: var(--header-bar-h);
  padding-inline: var(--drawer-pad) calc(var(--drawer-pad) - .75rem);
  border-block-end: 1px solid var(--line);
}
.drawer__title {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  font-family: var(--f-display);
  font-size: var(--step-2);
  line-height: 1.2;
}
.drawer__count {
  font-family: var(--f-latin-text);
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--fg-muted);
}
.drawer__count::before { content: "("; }
.drawer__count::after { content: ")"; }
.drawer__count[data-count="0"] { display: none; }
.drawer__body {
  flex: 1;
  min-block-size: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.drawer__body { transition: opacity var(--dur-2) var(--ease-out); }
.drawer__body.is-busy { opacity: .6; }
form[aria-busy="true"] :is(button, [type="submit"]) { cursor: progress; }

/* Bag body (rendered by cart/_drawer_body.html, swapped by Mawsim.cart.update) */
.bag { display: flex; flex-direction: column; flex: 1; min-block-size: 100%; }
.bag__empty { flex: 1; align-content: center; padding-inline: var(--drawer-pad, var(--space-m)); }
.bag__empty .btn { margin-block-start: var(--space-xs); }
.bag__notices {
  display: grid;
  gap: .35rem;
  margin: var(--space-s) var(--drawer-pad, var(--space-m)) 0;
  padding: .8rem 1rem;
  border-inline-start: 2px solid var(--c-gold);
  background: var(--c-paper);
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--fg-soft);
}
.bag--page .bag__lines, .bag--page .bag__summary, .bag--page .bag__notices, .bag--page .bag__empty { padding-inline: 0; margin-inline: 0; }
.bag--page .bag__summary { position: static; box-shadow: none; padding-inline: 0; }
.bag__lines { flex: 1; margin: 0; padding: 0 var(--drawer-pad, var(--space-m)); list-style: none; }

.bag-line {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr) auto;
  gap: var(--space-s);
  align-items: start;
  padding-block: var(--space-m);
  border-block-end: 1px solid var(--line);
}
.bag-line__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-s);
  background: var(--c-beige);
}
.bag-line__media img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .bag-line__media:hover img { transform: scale(1.04); } }
.bag-line__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: start;
  gap: .15rem 1rem;
  min-inline-size: 0;
}
.bag-line__body > :is(.bag-line__kicker, .bag-line__name, .bag-line__meta) { flex-basis: 100%; }
.bag-line__kicker { font-size: .625rem; }
.bag-line__kicker:lang(ar) { font-size: var(--step--2); }
.bag-line__name {
  font-family: var(--f-display);
  font-size: var(--step-1);
  line-height: 1.25;
  color: var(--fg);
  text-decoration: none;
}
.bag-line__name:lang(ar) { line-height: 1.5; }
.bag-line__name:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.bag-line__meta { font-size: var(--step--1); color: var(--fg-muted); line-height: 1.5; }
.bag-line__meta:empty { display: none; }
.bag-line__qty { margin-block-start: .6rem; }  /* the full 44px stepper: it is tapped in a drawer on a phone */
.bag-line__qty :is(output, input, .qty__value) { inline-size: 2rem; min-inline-size: 2rem; font-size: var(--step--1); }
.bag-line__body form:not(.bag-line__qty) { margin-block-start: .6rem; }
.bag-line__remove {
  min-block-size: 2.75rem;
  font-size: var(--step--1);
  color: var(--fg-muted);
}
.bag-line__remove:hover { color: var(--fg); }
.bag-line__price {
  font-size: var(--step-0);
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
  text-align: end;
  color: var(--fg);
}
.bag-line__placeholder { --placeholder-mark: 46%; }

/* Gift Studio bundle */
.bag-bundle {
  padding-block: var(--space-m);
  border-block-end: 1px solid var(--line);
}
.bag-bundle__title { display: flex; align-items: center; gap: .55rem; }
.bag-bundle__title .icon { --icon-size: 1rem; }
.bag-bundle__card {
  position: relative;
  margin: var(--space-s) 0 0;
  padding: var(--space-m) var(--space-m) var(--space-s);
  border: 1px solid color-mix(in srgb, var(--c-gold) 45%, transparent);
  border-radius: var(--radius-s);
  background: var(--c-paper) var(--grain);
  background-size: auto, 220px 220px;
  text-align: center;
}
.bag-bundle__card::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid color-mix(in srgb, var(--c-gold) 22%, transparent);
  border-radius: 1px;
  pointer-events: none;
}
.bag-bundle__card blockquote {
  font-family: var(--f-display);
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--fg);
  overflow-wrap: anywhere;
}
.bag-bundle__card blockquote:lang(en) { font-style: italic; }
.bag-bundle__card blockquote:lang(ar) { line-height: 1.8; }
.bag-bundle__to {
  margin-block-end: .5rem;
  font-size: var(--step--2);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--accent);
}
.bag-bundle__to:lang(ar) { font-size: var(--step--1); text-transform: none; }
.bag-bundle__card figcaption {
  margin-block-start: .6rem;
  font-size: var(--step--1);
  color: var(--fg-muted);
}
.bag-bundle__lines { margin: 0; padding: 0; list-style: none; }
.bag-bundle__lines .bag-line { grid-template-columns: 4.25rem minmax(0, 1fr) auto; padding-block: var(--space-s); }
.bag-bundle__lines .bag-line:last-child { border-block-end: 0; padding-block-end: 0; }

/* Summary pinned to the bottom of the drawer */
.bag__summary {
  position: sticky;
  inset-block-end: 0;
  display: grid;
  gap: var(--space-s);
  padding: var(--space-m) var(--drawer-pad, var(--space-m)) max(var(--space-m), env(safe-area-inset-bottom));
  border-block-start: 1px solid var(--line);
  background: var(--c-ivory);
  box-shadow: 0 -24px 32px -24px rgb(31 26 22 / .12);
}
.bag__summary > .link { justify-self: center; font-size: var(--step--1); }
.bag__progress { display: grid; gap: .6rem; }
.bag__progress p { font-size: var(--step--1); color: var(--fg-soft); line-height: 1.5; }
.bag__progress-bar {
  position: relative;
  display: block;
  block-size: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--line);
}
.bag__progress-bar::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  inline-size: calc(min(max(var(--progress, 0), 0), 1) * 100%);
  background: linear-gradient(90deg, var(--c-honey), var(--c-gold));
  transition: inline-size var(--dur-4) var(--ease-out);
}
[dir="rtl"] .bag__progress-bar::after { background: linear-gradient(270deg, var(--c-honey), var(--c-gold)); }
.bag__rows { display: grid; gap: .45rem; margin: 0; }
.bag__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.bag__row dt { font-size: var(--step--1); color: var(--fg-soft); }
.bag__row dd {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.3;
  font-variant-numeric: tabular-nums lining-nums;
}
/* The figure that matters reads large: the subtotal alone, or the total after a code. */
.bag__row:only-child dd, .bag__row--total dd {
  font-family: var(--f-display);
  font-size: var(--step-2);
  line-height: 1.15;
}
.bag__row--total { padding-block-start: .45rem; border-block-start: 1px solid var(--line); }
.bag__row--total dt { color: var(--fg); }
.bag__row--discount dd { color: var(--c-olive); }
.bag__row--pending dd { font-size: var(--step--1); color: var(--fg-muted); }
.bag__note { font-size: var(--step--1); line-height: 1.5; }

/* ═════════════════════════════════════════════════════════════════════════════
   13 · MOTION
   ═════════════════════════════════════════════════════════════════════════════
   [data-reveal] hides content only when scripting is on and motion is welcome;
   mawsim.js adds .is-revealed as elements enter the viewport. If the script
   never runs, a failsafe reveals everything after 3s.                        */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    --reveal-delay: 0ms;
    transition:
      opacity var(--dur-4) var(--ease-out) var(--reveal-delay),
      translate var(--dur-4) var(--ease-out) var(--reveal-delay),
      scale 1.8s var(--ease-out) var(--reveal-delay);
  }
  html:not(.js-ready) [data-reveal] { animation: reveal-failsafe 0s linear 3s forwards; }

  [data-reveal]:not(.is-revealed):not([data-reveal="words"]):not([data-reveal="draw"]):not([data-reveal="mask"]) { opacity: 0; }
  [data-reveal="rise"]:not(.is-revealed) { translate: 0 2.25rem; }

  /* Image clip reveal — the photograph is uncovered from the bottom edge.
     The clip sits on the children: a clipped target would never intersect. */
  [data-reveal="mask"] { overflow: hidden; }
  [data-reveal="mask"] > * {
    transition: clip-path 1.5s var(--ease-out) var(--reveal-delay), scale 2.4s var(--ease-out) var(--reveal-delay);
  }
  [data-reveal="mask"]:not(.is-revealed) > * { clip-path: inset(100% 0 0 0); }
  [data-reveal="mask"]:not(.is-revealed) img { scale: 1.12; }
  html:not(.js-ready) [data-reveal="mask"] > * { animation: reveal-failsafe 0s linear 3s forwards; }

  /* Line drawings — strokes draw on, one after another (brand line art such as
     mark-line.svg carries pathLength="1" and --i on every path, so no JS is needed);
     filled marks instead grow upward like a stem. */
  [data-reveal="draw"]:not(:has([pathLength], [pathlength], [style*="--len"])):not(.is-revealed) > * { clip-path: inset(100% 0 0 0); }
  [data-reveal="draw"] > * { transition: clip-path 2.2s var(--ease-out) var(--reveal-delay); }
  [data-reveal="draw"] :is([pathLength="1"], [pathlength="1"]) {
    stroke-dasharray: 1 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.5s var(--ease-soft) calc(var(--reveal-delay) + var(--i, 0) * 75ms);
  }
  [data-reveal="draw"] [style*="--len"]:not([pathLength]):not([pathlength]) {
    stroke-dasharray: var(--len);
    stroke-dashoffset: var(--len);
    transition: stroke-dashoffset 2.4s var(--ease-out) calc(var(--reveal-delay) + var(--i, 0) * 75ms);
  }
  [data-reveal="draw"].is-revealed :is([pathLength], [pathlength], [style*="--len"]) { stroke-dashoffset: 0; }
  /* …and as specific as the hiding rule above, or JS-measured strokes would never draw in. */
  [data-reveal="draw"].is-revealed [style*="--len"]:not([pathLength]):not([pathlength]) { stroke-dashoffset: 0; }
  html:not(.js-ready) [data-reveal="draw"] :is([pathLength], [pathlength]) { animation: reveal-draw-failsafe 0s linear 3s forwards; }

  /* Headlines split into words (spaces only — Arabic letters are never separated) */
  [data-reveal="words"] .word__inner {
    display: inline-block;
    translate: 0 105%;
    opacity: 0;
    transition:
      translate 1.3s var(--ease-out) calc(var(--reveal-delay) + var(--i, 0) * 70ms),
      opacity 1s var(--ease-out) calc(var(--reveal-delay) + var(--i, 0) * 70ms);
  }
  [data-reveal="words"].is-revealed .word__inner { translate: 0 0; opacity: 1; }
  html:not(.js-ready) [data-reveal="words"] .word__inner { animation: reveal-failsafe 0s linear 3s forwards; }
  /* Each word is clipped to its own line while it rises, so it never shows over the
     line below; mawsim.js adds .is-settled once the last word lands and the clip goes,
     leaving every descender whole. Arabic needs room for its diacritics and tails. */
  [data-reveal="words"]:not(.is-settled) .word { clip-path: inset(-.35em -.12em -.06em); }
  [data-reveal="words"]:not(.is-settled) .word:lang(ar) { clip-path: inset(-.6em -.12em -.12em); }
}
@keyframes reveal-failsafe { to { opacity: 1; translate: 0 0; clip-path: inset(0); scale: 1; } }
@keyframes reveal-draw-failsafe { to { stroke-dashoffset: 0; } }
.word { display: inline-block; }

/* Hero entrance — for what is on screen when the page opens (a hero's kicker, <h1>,
   lede and photograph). It needs no script and never hides anything: the content is
   painted at once (it is the page's largest paint, so LCP is not held back) and only
   drifts into place. Stagger with style="--enter-i: 1". [data-reveal] stays for
   content further down the page. */
@media (prefers-reduced-motion: no-preference) {
  .hero-enter { animation: hero-enter 1.1s var(--ease-out) calc(var(--enter-i, 0) * 90ms) both; }
  .hero-enter--media img { animation: hero-enter-media 2.2s var(--ease-out) both; }
}
@keyframes hero-enter { from { translate: 0 .75rem; } }
@keyframes hero-enter-media { from { scale: 1.06; } }

/* Parallax — mawsim.js writes --parallax; inside .parallax-frame the image is
   slightly oversized so its edges never show. */
[data-parallax] { translate: 0 var(--parallax, 0px); will-change: translate; }
.parallax-frame { overflow: hidden; }
.parallax-frame > [data-parallax] { scale: 1.14; }

/* Cross-document view transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 320ms var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in 640ms var(--ease-out) 90ms both; }
::view-transition-group(site-header) { animation-duration: 0s; z-index: 2; }
::view-transition-group(*) { animation-duration: 700ms; animation-timing-function: var(--ease-out); }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; translate: 0 12px; } }

/* ═════════════════════════════════════════════════════════════════════════════
   14 · UTILITIES · REDUCED MOTION · PRINT
   ═════════════════════════════════════════════════════════════════════════════ */
/* Pinned to the start edge of its containing block, so hidden text inside a sideways
   scroller cannot sit beyond the screen and widen the page. */
.visually-hidden:not(:focus):not(:active) {
  position: absolute !important;
  inset-inline-start: 0 !important;
  inline-size: 1px !important;
  block-size: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.media-cover { position: relative; overflow: hidden; }
.media-cover > img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.ratio-portrait { aspect-ratio: 4 / 5; }
.ratio-landscape { aspect-ratio: 3 / 2; }
.ratio-square { aspect-ratio: 1; }
.mt-s { margin-block-start: var(--space-s); }
.mt-m { margin-block-start: var(--space-m); }
.mt-l { margin-block-start: var(--space-l); }
.mt-xl { margin-block-start: var(--space-xl); }

html.is-locked { overflow: hidden; }
html.is-locked body { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 120ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  [data-parallax] { translate: none !important; }
  .parallax-frame > [data-parallax] { scale: 1; }
  .season-note__dot::after { display: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .toast:not(.toast--error) { animation: toast-out 1ms linear 9s forwards !important; }
}

@media print {
  :root { --bg: #fff; --fg: #000; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .menu, .drawer-layer, .toasts, .announcement, .skip-link,
  .newsletter, .site-footer__letter, .product-card__quick, .btn, video { display: none !important; }
  .section, .section--dark, .section--night, .site-footer { background: #fff !important; color: #000 !important; padding-block: 1.5rem; }
  [data-reveal], [data-reveal] * { opacity: 1 !important; translate: none !important; clip-path: none !important; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
  .product-card, .spec__row, figure, img { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
}
