/* ds.css — built from css/all.css by wordpress/build-css.php; do not edit */

/* ── fonts.css ── */
/* Webfonts of the design system. Paths are relative to this file (css/ → ../fonts/).
   Load this file before tokens.css; tokens.css builds the stacks from the --font-* names set here.

   Shazde — Fontiran, PROPRIETARY. The file is copied untouched (its licence forbids edits). Every website
   needs its own web licence registered at fontiran.com before it goes live; a licence bought for Saman Bouyan
   does not cover another brand or domain. See fonts/LICENSES.md.
   Saman Sahel FD — Sahel 3.4.0 (OFL), rebuilt so ۰–۹, ٠–٩ and ٬ ٫ ٪ draw as Persian figures; Latin digits stay
   Latin (codes such as SPF50). Used by product cards, and lends its two separator glyphs to Shazde (below).
   Noto Nastaliq Urdu (OFL) — subset to the letters of one Hafez couplet: Saman Bouyan's brand verse only. */

@font-face {
  font-family: 'Shazde';
  src: url('../fonts/Shazde-VF.woff2') format('woff2-variations'), url('../fonts/Shazde-VF.woff2') format('woff2');
  font-weight: 300 1000; font-style: normal; font-display: swap;
}

@font-face { font-family: 'Saman Sahel FD'; src: url('../fonts/SamanSahelFD-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Saman Sahel FD'; src: url('../fonts/SamanSahelFD-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Saman Sahel FD'; src: url('../fonts/SamanSahelFD-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Saman Sahel FD'; src: url('../fonts/SamanSahelFD-Black.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

/* Shazde draws the Persian thousands and decimal separators (٬ ٫) like a slash, so a price reads as a
   fraction. This face covers only those two code points and sits first in the stack: the browser takes
   them from Sahel FD and everything else from Shazde. No font file is edited. */
@font-face { font-family: 'DS Separators'; src: url('../fonts/SamanSahelFD-Regular.woff2') format('woff2'); font-weight: 300 500; unicode-range: U+066B-066C; font-display: swap; }
@font-face { font-family: 'DS Separators'; src: url('../fonts/SamanSahelFD-Bold.woff2') format('woff2'); font-weight: 600 1000; unicode-range: U+066B-066C; font-display: swap; }


/* the names tokens.css expects (Next.js set these through next/font) */
:root {
  --font-shazde: 'Shazde';
  --font-sahel: 'Saman Sahel FD';
  --font-sep: 'DS Separators';
}

/* ── generated by scripts/export-kit.mjs from src/lib/fonts.ts: the faces عطر پدیده uses today ──
   Vazirmatn RD (OFL, src/fonts/vazirmatn-rd): every Persian letter, one variable file, weights 100–900.
   Cormorant Garamond 300/400 and Montserrat 400/500 (OFL) are only named here: self-host them beside this file. */
@font-face { font-family: 'Vazirmatn RD'; src: url('../fonts/Vazirmatn-RD-wght.woff2') format('woff2-variations'), url('../fonts/Vazirmatn-RD-wght.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --font-vazir: 'Vazirmatn RD', Tahoma, system-ui, sans-serif;
  --font-cormorant: 'Cormorant Garamond';
  --font-montserrat: 'Montserrat';
}

/* ── tokens.css ── */
/* Generated by scripts/export-kit.mjs from src/app/globals.css (:root, .stage, .onDark) — edit the source, not this file. */
:root {
  /* ── palette (brand) — referenced by the semantic tokens only ── */
  --black: #0B0B0C;
  --black-raised: #171615;
  --rich-black: #010B13;          /* the owner's black: the footer's ground and the primary buttons */
  --rich-black-raised: #0B1722;   /* …a step lighter, for the primary button under the pointer */
  --gold: #C09241;                /* the logo's gold ink: accents on black (6.9:1), fills behind black text */
  --gold-light: #D6B26E;
  --gold-ink: #85622A;            /* gold for text and links on white (5.6:1) */
  --gold-icon: #A67C35;           /* gold for icons and rules on white (3.8:1) */
  --white: #FFFFFF;
  --porcelain: #F6F3EE;
  --sand: #ECE6DC;
  --cream: #E9DCCF;               /* the warm ground of the product photographs */
  --graphite: #57534E;

  /* ── surfaces — mostly white, porcelain for quiet blocks, black for scenes ── */
  --bg: var(--white);
  --surface-1: var(--white);      /* cards, panels, sheets */
  --surface-2: var(--porcelain);  /* chips, tracks, quiet blocks, hover */
  --surface-3: var(--sand);       /* hover on tinted surfaces, tracks */
  --surface-warm: var(--porcelain); /* notices and hints */
  --surface-inverse: var(--black); /* selected chips and segments, toasts */
  --field-bg: var(--white);
  /* the ground behind product imagery: the same warm cream as the photographs, so a crop never shows a seam */
  --stage: var(--cream);
  --stage-glow: var(--white);

  /* ── lines ── */
  --border-subtle: rgb(11 11 12 / .1);   /* hairlines */
  --border-strong: rgb(11 11 12 / .5);   /* control boundaries: ≥3:1 on every light surface */

  /* ── text ── */
  --text: var(--black);
  --text-muted: var(--graphite);
  --text-inverse: var(--white);

  /* ── accents & states ── */
  --accent: var(--gold);          /* fills: counts, «تازه», selection, the hover of the main action */
  --accent-hover: var(--gold-light);
  --on-accent: var(--black);      /* 6.9:1 on gold */
  --accent-ink: var(--gold-ink);  /* gold text and links on light grounds */
  --accent-icon: var(--gold-icon);
  --action: var(--rich-black);    /* primary buttons: solid rich black, the same as the footer */
  --on-action: var(--white);
  --action-hover: var(--rich-black-raised); /* …a raised black under the pointer, ringed in gold (liquid-glass.css) */
  --on-action-hover: var(--white);
  --action-press: #000000;
  --sale: var(--gold-ink);        /* discounted price */
  --badge-sale-bg: var(--black);
  --on-badge-sale: var(--white);
  --success: var(--black);        /* told by a check icon, not by colour */
  --warning: var(--gold-icon);
  /* errors are told by shape, not by colour: black text + alert icon + tinted ground + a thick start rule */
  --danger: var(--black);
  --focus-ring: var(--gold-ink);  /* 2px, offset 3px: 5.6:1 on white */
  --scrim: rgb(11 11 12 / .5);

  /* ── chrome (header, tab bar, floating bars): near-opaque white, no glass sheen ── */
  --glass-bg: rgb(255 255 255 / .94);
  --glass-bg-strong: rgb(255 255 255 / .98);
  --glass-border: rgb(11 11 12 / .1);
  --glass-highlight: rgb(255 255 255 / 0);
  --sheen: rgb(255 255 255 / 0);
  --accent-glow: rgb(192 146 65 / .5);
  --accent-wash: rgb(192 146 65 / .1);
  --halo: rgb(192 146 65 / .2);
  --lens: rgb(11 11 12 / .05);

  /* ── depth: hairlines instead of shadows; one soft shadow for things that float ── */
  --shadow-1: 0 0 0 1px rgb(11 11 12 / .08);
  --shadow-2: 0 28px 56px -36px rgb(11 11 12 / .45);

  /* ── the black «scene» (.stage) and its own token values ── */
  --stage-bg:
    radial-gradient(55% 75% at 50% 0%, rgb(192 146 65 / .06) 0%, rgb(192 146 65 / 0) 72%),
    linear-gradient(180deg, #0B0B0C 0%, #0E0D0C 100%);
  --scene-text: #FFFFFF;
  --scene-text-muted: rgb(255 255 255 / .7);
  --scene-text-quiet: rgb(255 255 255 / .84);  /* the footer's Persian lines: quieter than white, still easy to read */
  /* the footer's ground: --rich-black, one flat colour (no texture), as the owner chose; the fine grain below is only
     for the collection covers */
  --footer-bg: var(--rich-black);
  --texture-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .46 0 0 0 -.165'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  /* a collection's cover: the same grain, lit faintly from the side its picture stands on */
  --cover-bg:
    radial-gradient(46% 70% at 24% 50%, rgb(192 146 65 / .1) 0%, rgb(192 146 65 / 0) 72%),
    var(--texture-grain) 0 0 / 220px 220px,
    linear-gradient(180deg, #0B0B0C 0%, #0E0D0C 100%);
  --scene-border: rgb(255 255 255 / .14);
  --scene-border-strong: rgb(255 255 255 / .5);
  --scene-surface: rgb(255 255 255 / .06);
  --scene-surface-2: rgb(255 255 255 / .12);
  --scene-glass: rgb(11 11 12 / .4);
  --scene-glass-strong: rgb(23 22 21 / .96);
  --scene-glass-border: rgb(255 255 255 / .12);
  --scene-glass-highlight: rgb(255 255 255 / 0);
  --scene-shadow: 0 28px 56px -30px rgb(0 0 0 / .7);
  --scene-lens: rgb(255 255 255 / .1);

  /* type
     Three faces: Cormorant Garamond for the English display lines (Light 300, Regular 400), Montserrat for the small
     English labels (Medium 500), Latin body text and every price (written in Latin figures), Vazirmatn RD for every
     Persian letter. Neither Latin face has Persian letters, so each script takes its own face.
     Vazirmatn RD is one variable face (100–900), so every weight below is a true cut. The larger a Persian line, the
     lighter it is drawn: Thin for page titles from 32px up, ExtraLight for the Persian line of a title (20–34px),
     Light for leads and quiet lines; then Regular (400) for text, Medium (500) for labels and buttons, SemiBold (600)
     and Bold (700) for emphasis. */
  --fw-fa-thin: 100;    /* Persian page titles, 32px and larger */
  --fw-fa-title: 200;   /* the Persian line of a section or page title, and Persian section titles (20–34px) */
  --fw-fa-quiet: 300;   /* leads, captions and the quiet line under an English one */
  --selection-bg: color-mix(in srgb, var(--gold) 30%, transparent); /* text selection: a soft gold wash… */
  --selection-text: var(--black);                                     /* …under ink */
  --scrim-menu: color-mix(in srgb, var(--black) 20%, transparent);    /* the page behind an open mega menu */
  /* an optional paper grain for the ivory surfaces: <html data-paper> (FEATURE_PAPER=true) */
  --paper-texture: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --paper-opacity: .05;
  --color-line: var(--border-subtle);   /* the one hairline: separators, frames, dividers */
  --color-gold: var(--accent-icon);     /* gold line icons (3.8:1, enough for icons; never body text) */
  --icon-bg: var(--surface-1);   /* what the Padideh «filter» knobs fill with: the ground behind the icon */
  --font-fa: var(--font-vazir);                                  /* Persian-only text (.fa, <Bi> Persian lines): Vazirmatn RD */
  --font-fa-display: var(--font-vazir);                          /* Persian headline lines: Vazirmatn RD ExtraLight (--fw-fa-title) */
  --font-en-ui: var(--font-montserrat), 'Montserrat Latin Fallback', var(--font-vazir);   /* Latin UI, labels and every price; Persian falls to Vazirmatn RD */
  --font-en-display: var(--font-cormorant), 'Cormorant Latin Fallback', var(--font-vazir), serif; /* Latin display: names, headlines (Light 300); a Persian letter here still gets Vazirmatn RD */
  --font-ui: var(--font-en-ui);   /* body: Montserrat has no Persian letters, so Persian falls through to Vazirmatn RD */
  --font-display: var(--font-ui);
  --font-serif: var(--font-en-display);
  --font-card: var(--font-ui);
  --fw-display: 400;
  --fw-hero: 300;
  --tracking-en: .06em;     /* Latin capitals only — never on Persian */
  --fs-h1: clamp(2rem, 1.3rem + 2.8vw, 3.25rem);
  --fs-h2: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  --fs-h3: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  /* the Persian line of a section or page title (Vazirmatn RD ExtraLight): 20→32px, a clear step under its English line */
  --fs-fa-title: clamp(1.25rem, 1.02rem + .95vw, 2rem);
  --fs-lead: clamp(1rem, .95rem + .25vw, 1.125rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-caption: .8125rem;   /* 13px: the smallest readable text */
  --fs-micro: .6875rem;     /* 11px: Latin uppercase micro-labels only */
  --fs-micro-lg: .75rem;    /* 12px: Latin labels on buttons */
  /* the English editorial layer (Cormorant Garamond): display 56→112, h2 32→56, h3 20→28 */
  --fs-en-display: clamp(3.5rem, 2.4rem + 4.6vw, 7rem);
  --fs-en-h2: clamp(2rem, 1.45rem + 2.3vw, 3.5rem);
  --fs-en-h3: clamp(1.25rem, 1.08rem + .7vw, 1.75rem);
  --fs-en-name: clamp(1.125rem, 1.05rem + .3vw, 1.375rem); /* product names on cards: 18→22 */
  --tracking-micro: .18em;
  --tracking-button: .16em;
  --lh-body: 1.9;
  --lh-heading: 1.5;

  /* space */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --gutter: 16px;
  --container-max: 1320px;

  /* shape: one slight, quiet curve everywhere (12px; 10px on phones) — cards, picture tiles, panels, menus, buttons
     and fields. Full-bleed bands (the hero, the campaign band, the editorial picture) stay square at the screen's
     edges; circles (icon buttons, dots) stay 50%; the phone tab bar is a capsule. Change it here, never in a component. */
  --radius-card: 12px;     /* product cards, collection tiles, picture tiles, content cards (10px on phones) */
  --radius-product: var(--radius-card); /* the product card's picture */
  --radius-section: var(--radius-card); /* panels: spotlight, promise, boutique card, the footer's top corners */
  --radius-menu: var(--radius-card);    /* mega menu, popovers, toasts, sheets */
  --radius-button: var(--radius-card);  /* buttons, chips, tags */
  --radius-control: var(--radius-card); /* fields, search, stepper, thumbnails */
  --radius-tabbar: 28px;   /* the floating phone tab bar: a capsule, half its 56px height */
  --radius-sheet: calc(var(--radius-tabbar) + 12px);    /* the search sheet: concentric with its 28px field, 12px inset */
  --radius-sheet-lg: calc(var(--radius-tabbar) + 16px); /* …and 16px inset from 720px */
  --radius-bar: calc(var(--radius-button) + 8px); /* the phone purchase bar: concentric with its button, 8px inset */
  /* the older scale, kept so every component reads the semantic tokens above */
  --radius-xs: var(--radius-control);
  --radius-sm: var(--radius-control);
  --radius-md: var(--radius-menu);
  --radius-lg: var(--radius-card);
  --radius-xl: var(--radius-section);
  --radius-pill: var(--radius-button);
  --radius-full: var(--radius-pill);
  --radius-hairline: 4px; /* checkboxes and other 18–20px boxes */

  /* buttons (src/styles/liquid-glass.css) */
  --lg-radius: var(--radius-button);
  /* the button lift (liquid-glass.css): at rest a hairline of light; under the pointer a lit top edge and a soft,
     deepening shadow; on ink a warm gold light gathers along the foot, as the original glass caught warm light */
  --lg-rest: 0 1px 2px color-mix(in srgb, var(--black) 4%, transparent);
  /* liquid glass (the floating phone tab bar): a translucent body with blur and saturation, a lit top edge, a soft
     floating shadow; dark glass over the black scenes. Text and icons on it stay at full contrast. */
  --glass-light: color-mix(in srgb, var(--white) 58%, transparent);
  --glass-dark: color-mix(in srgb, var(--black) 55%, transparent);
  --glass-blur: blur(22px) saturate(180%);
  --glass-edge: inset 0 1px 0 color-mix(in srgb, var(--white) 92%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--white) 45%, transparent);
  --glass-edge-dark: inset 0 1px 0 color-mix(in srgb, var(--white) 22%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--white) 10%, transparent);
  --glass-shadow: 0 14px 34px -14px color-mix(in srgb, var(--black) 34%, transparent), 0 2px 6px color-mix(in srgb, var(--black) 6%, transparent);
  --glass-lens: color-mix(in srgb, var(--white) 78%, transparent);
  --glass-lens-dark: color-mix(in srgb, var(--white) 16%, transparent);
  /* the header's navigation capsule and its mega sheet: thicker glass than the tab bar, since words are read on it */
  --nav-glass: color-mix(in srgb, var(--white) 66%, transparent);
  --mega-glass: color-mix(in srgb, var(--white) 90%, transparent);
  /* search in the header: a slim bar and a results card of glass; dense enough that the page never competes with the words */
  --search-glass: color-mix(in srgb, var(--porcelain) 90%, transparent);
  --search-glass-dark: color-mix(in srgb, var(--black-raised) 88%, transparent);
  --search-lens: color-mix(in srgb, var(--white) 80%, transparent);       /* the field inside the card */
  --search-chip: color-mix(in srgb, var(--white) 50%, transparent);
  --note-glass: color-mix(in srgb, var(--white) 86%, transparent); /* the name chip on a tonal note tile */
  --mega-glass-dark: color-mix(in srgb, var(--black-raised) 82%, transparent);
  --nav-h: 50px;
  --nav-h-condensed: 44px;
  --nav-row-h: 64px;
  --button-h: 52px;            /* rectangular buttons: 48–52px */
  --duration-fill: 300ms;      /* the button fill under the pointer */
  --duration-mark-in: 460ms;   /* a button's mark arriving beside its label: slow, it settles */
  --duration-mark-out: 280ms;  /* …and leaving: quicker */
  --lg-blur: 0px;
  --lg-sat: 100%;
  --lg-ease: cubic-bezier(.22, 1, .36, 1);
  --hairline: 1px;

  /* sizes */
  --touch-min: 44px;
  --control-h: 52px;
  --control-h-sm: 44px;
  --header-h: 72px;
  /* the header logo (the PP mark beside the Latin wordmark): at rest, and condensed once the page scrolls */
  --logo-h: 50px;
  --logo-h-condensed: 38px;
  --header-row-h: 72px;
  --header-row-h-condensed: 56px;
  /* the header on scroll: solid ivory, a touch of blur behind the last 4% */
  --header-scrolled-bg: color-mix(in srgb, var(--porcelain) 96%, transparent);
  --verse-h: 0px;
  --tabbar-h: 56px;   /* icons only */
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 160ms;
  --duration-hover: 260ms;
  /* ── پایه‌ی حرکت (motion base): slow, soft and quiet ── */
  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1); /* colour changes */
  --ease-luxe: cubic-bezier(0.22, 1, 0.36, 1);       /* spatial moves: settle, never snap */
  --duration-luxe: 600ms;
  --duration-slow: 1100ms;
  --duration-press: 140ms;
  /* vertical rhythm between home sections: 72–96px on phones, 120–160px from 1024px */
  --section-space: 88px;
  --section-space-lg: 140px;
  /* luxury motion: slow, small, settling */
  --rise-distance: 12px;
  --rise-duration: 700ms;
  --ease-maison: cubic-bezier(.22, 1, .36, 1);
  --image-zoom: 1.03;          /* a picture under the pointer */
  --image-zoom-duration: 1.2s;
  --hero-drift-duration: 32s;  /* the hero's slow Ken Burns, transform only */

  --z-header: 40;
  --z-tabbar: 45;
  --z-sheet: 90;
  --z-toast: 120;

  /* the accords chart on product pages (src/components/product/Accords.tsx): one quiet, earthy tone per accord, each
     at least 4.5:1 against white, so the white name printed on its bar stays readable; woods and resins warm, flowers dusty, fresh notes slate */
  --accord-woody: #7B5B41; --accord-oud: #4A382E; --accord-leather: #6A4533; --accord-animalic: #74513F;
  --accord-tobacco: #7A5230; --accord-smoky: #5E5A58; --accord-earthy: #6D6146; --accord-patchouli: #5D553C;
  --accord-mossy: #55644A; --accord-amber: #9E662A; --accord-balsamic: #84533A; --accord-honey: #98691B;
  --accord-warm-spicy: #9E4B31; --accord-cinnamon: #9A4E2C; --accord-soft-spicy: #946850; --accord-fresh-spicy: #6B7752;
  --accord-vanilla: #8B6D44; --accord-sweet: #9D6357; --accord-cacao: #5C3D30; --accord-rum: #7A4430;
  --accord-nutty: #87643F; --accord-almond: #8C6D4D; --accord-coconut: #7D705D; --accord-lactonic: #7D7061;
  --accord-fruity: #A24E58; --accord-tropical: #A85E2B; --accord-citrus: #82721C; --accord-floral: #A15C70;
  --accord-rose: #9B4556; --accord-white-floral: #7A7161; --accord-yellow-floral: #8C6E27; --accord-tuberose: #8B6B68;
  --accord-iris: #76688E; --accord-violet: #6C5A8A; --accord-lavender: #756E97; --accord-powdery: #836D74;
  --accord-musky: #7E7068; --accord-aldehydic: #617684; --accord-soapy: #5D767F; --accord-fresh: #527A75;
  --accord-ozonic: #577689; --accord-aquatic: #4A798B; --accord-metallic: #707276; --accord-aromatic: #5F7560;
  --accord-green: #5A7A4C; --accord-herbal: #657954; --accord-conifer: #3F5B4A;

  color-scheme: light;
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

@media (max-width: 768px) {
  :root { --radius-card: 10px; }
}

@media (min-width: 860px) {
  :root { --header-h: 148px; --logo-h: 66px; --logo-h-condensed: 46px; --header-row-h: 84px; --header-row-h-condensed: 60px; } /* logo row 84px + navigation row 64px */
}

@media (min-width: 1280px) {
  :root { --gutter: 48px; }
}

/* ─── colour roles ──────────────────────────────────────────────────────
   white  — the page, cards, panels            porcelain — quiet blocks, chips, tracks
   black  — text, primary buttons, selected states, scenes
   gold   — the accent: on black as text and rules; on white only as fills behind black text,
            as --accent-ink (text, 5.6:1) or --accent-icon (icons and rules, 3.8:1)
   .stage — the black «scene» with a faint gold light: hero, campaign, wholesale band, footer.
   .stage and .onDark (the header and tab bar over a scene) remap the semantic tokens for the dark ground. */

.stage, .onDark {
  --text: var(--scene-text);
  --text-muted: var(--scene-text-muted);
  --border-subtle: var(--scene-border);
  --border-strong: var(--scene-border-strong);
  --surface-2: var(--scene-surface);
  --surface-3: var(--scene-surface-2);
  --glass-bg: var(--scene-glass);
  --glass-bg-strong: var(--scene-glass-strong);
  --glass-border: var(--scene-glass-border);
  --glass-highlight: var(--scene-glass-highlight);
  --accent-ink: var(--gold);
  --accent-icon: var(--gold);
  --focus-ring: var(--gold);
  --action: var(--white);
  --on-action: var(--black);
  --action-hover: var(--porcelain);
  --on-action-hover: var(--black);
  --shadow-2: var(--scene-shadow);
  --lens: var(--scene-lens);
  color: var(--text);
}

.stage {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--stage-bg);
}

/* ── base.css ── */
/* Generated by scripts/export-kit.mjs from src/app/globals.css (reset, helpers, motion base) — edit the source, not this file. */
/* عطر پدیده — design tokens and base styles.
   Black, gold and white: a white page with black type and square, quiet controls (the house manner of the
   great perfumers); black «scenes» (.stage: hero, campaign, wholesale band, footer) remap the same semantic
   tokens for a dark ground, where the logo's gold becomes the accent.
   Components use the semantic tokens below and never raw colour values;
   scripts/contrast-check.mjs reads this block and fails on a pair below WCAG AA. */

/* What the two Latin faces fall back to while they load: Arial and Times New Roman with the metric overrides next/font
   computes for them, so the swap does not move the text — but limited to Latin. Both system fonts also carry Arabic
   letters, and an unrestricted fallback placed before Vazirmatn RD in a stack draws every Persian word itself. */

@font-face {
  font-family: 'Montserrat Latin Fallback'; src: local('Arial');
  ascent-override: 85.79%; descent-override: 22.25%; line-gap-override: 0%; size-adjust: 112.83%;
  unicode-range: U+0000-024F, U+1E00-1EFF, U+2010-2027, U+2030-205E, U+20A0-20CF, U+2100-214F;
}

@font-face {
  font-family: 'Cormorant Latin Fallback'; src: local('Times New Roman');
  ascent-override: 95.27%; descent-override: 29.59%; line-gap-override: 0%; size-adjust: 96.98%;
  unicode-range: U+0000-024F, U+1E00-1EFF, U+2010-2027, U+2030-205E, U+20A0-20CF, U+2100-214F;
}

/* ─── reset ─────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }

h1, h2, h3, h4 { font-weight: var(--fw-display); }

ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; letter-spacing: normal; }

button { background: none; border: 0; padding: 0; cursor: pointer; }

img, svg { display: block; max-width: 100%; }

img { height: auto; }

del { text-decoration-thickness: 1px; }

::selection { background: var(--selection-bg); color: var(--selection-text); }

:is(.stage, .onDark) ::selection { background: var(--gold); color: var(--black); }

:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

/* scrollbars and the caret belong to the palette too */

html { scrollbar-color: var(--border-strong) transparent; }

:where(input, textarea) { caret-color: var(--text); }

:where(aside, dialog, [role='dialog']) { scrollbar-width: thin; }

:focus:not(:focus-visible) { outline: none; }

/* headings and paragraphs: balanced headings, no lone last word in body copy */

h1, h2, h3, .display { text-wrap-style: balance; }

p, li, dd, blockquote { text-wrap-style: pretty; }

/* ─── shared helpers ────────────────────────────────────────────────── */

.container { width: 100%; max-width: calc(var(--container-max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.srOnly { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.ltr { direction: ltr; unicode-bidi: isolate; }

.num { font-variant-numeric: lining-nums; }

.display { font-family: var(--font-display); font-weight: var(--fw-display); line-height: var(--lh-heading); }

/* Latin display capitals: house names, «PADIDEH», collection labels */

.en {
  font-family: var(--font-en-display); font-weight: 400; letter-spacing: var(--tracking-en); text-transform: uppercase;
  direction: ltr; unicode-bidi: isolate; line-height: 1.2;
}

/* a poetic italic suffix after an English headline: «The Attars — Oman, distilled» */

.en-italic { font-family: var(--font-en-display); font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; }

/* no slanted type anywhere: the English face is upright only, so emphasis elements stay upright */

em, i, cite { font-style: normal; }

/* Persian-only text: Vazirmatn RD directly, never through the Latin face; one step quieter than the English beside it */

.fa { font-family: var(--font-fa); letter-spacing: normal; text-transform: none; }

.fa-quiet { font-family: var(--font-fa); font-weight: var(--fw-fa-quiet); color: var(--text-muted); }

/* Persian headline lines: Vazirmatn RD ExtraLight; the footer titles stay in Regular at their caption size */

:is(h1, h2, h3, h4) span[lang='fa']:not(footer *) { font-family: var(--font-fa-display); font-weight: var(--fw-fa-title); }

/* Latin uppercase micro-label */

.micro {
  font-family: var(--font-en-ui); font-size: var(--fs-micro); font-weight: 500; letter-spacing: var(--tracking-micro);
  text-transform: uppercase; direction: ltr; unicode-bidi: isolate; line-height: 1.6;
}

/* prices and other figures: Montserrat, tabular lining digits */

.figures-tab { font-family: var(--font-en-ui); font-variant-numeric: tabular-nums lining-nums; }

/* media frames: clip the picture (and its hover scale) to the frame */

.round-media { overflow: hidden; isolation: isolate; }

/* nested corners: set --r-outer and --r-pad on the element, its corner is the outer one minus the padding */

.radius-inner { border-radius: max(0px, calc(var(--r-outer, var(--radius-lg)) - var(--r-pad, 0px))); }

@supports (corner-shape: squircle) {
  .squircle { corner-shape: squircle; }
}

/* a small Latin label above Persian copy, e.g. «AMOUAGE · EAU DE PARFUM» */

.eyebrow {
  font-family: var(--font-en-ui); font-size: var(--fs-micro); font-weight: 500; letter-spacing: var(--tracking-micro); text-transform: uppercase;
  direction: ltr; unicode-bidi: isolate; color: var(--accent-ink); line-height: 1.6;
}

/* a thin gold rule, centred — the one ornament the system allows itself */

.rule { display: block; width: 48px; height: 1px; background: var(--accent-icon); margin-inline: auto; border: 0; }

.skip {
  position: fixed; inset-inline-start: var(--space-4); top: -100px; z-index: 200;
  padding: var(--space-2) var(--space-4); background: var(--surface-inverse); color: var(--text-inverse); font-weight: 600;
}

.skip:focus-visible { top: var(--space-2); outline-color: var(--accent); }

/* section reveals (src/components/motion/Reveal.tsx): set only on blocks that start below the fold */

[data-rise='wait'], [data-rise='wait-group'] > * { opacity: 0; translate: 0 var(--rise-distance); }

[data-rise='in'], [data-rise='in-group'] > * {
  opacity: 1; translate: 0 0;
  transition: opacity var(--rise-duration) var(--ease-maison), translate var(--rise-duration) var(--ease-maison);
  transition-delay: calc(var(--rise-i, 0) * 80ms);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}

/* RevealGroup still marks surfaces near the pointer; the house style keeps them still — no glow. */

[data-reveal] { position: relative; }

/* ─── entrances rendered by the server (WordRise, After in components/motion/Text.tsx) ─── */

.sb-wordMask { display: inline-block; overflow: hidden; padding-block: 0.24em; margin-block: -0.24em; vertical-align: top; }

/* room for dots and descenders */

.sb-word { display: inline-block; animation: sb-word .9s cubic-bezier(.22, 1, .36, 1) both; }

.sb-after { animation: sb-after .8s cubic-bezier(.22, 1, .36, 1) both; }

@keyframes sb-word { from { transform: translateY(105%); } to { transform: none; } }

@keyframes sb-after { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) { .sb-word, .sb-after { animation: none; } }

/* paper grain on ivory surfaces (opt-in: <html data-paper>); a layer above the colour, below the content */

:root[data-paper] .paper { position: relative; isolation: isolate; }

:root[data-paper] .paper::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background-image: var(--paper-texture); opacity: var(--paper-opacity);
}

/* ── liquid-glass.css ── */
/* Generated by scripts/export-kit.mjs from src/styles/liquid-glass.css — edit the source, not this file. */
/* ==========================================================================
   عطر پدیده — buttons
   Black, white and gold: one quiet curve (--radius-button) and 52px tall. A button never lifts, never changes its
   shadow and carries no moving light. Under the pointer its label eases toward the reading side and a fine mark
   (an arrow, or a plus on «add to bag») settles beside it — that lives with the Button component
   (src/components/ui/Button.tsx, ui.module.css). Here: the fills and lines of each kind, and the press (.98).
   English labels (<span lang="en">) are tracked capitals; Persian labels are not. Tokens live in globals.css.
   ========================================================================== */

.lg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--button-h); padding-inline: var(--space-8);
  border: 1px solid var(--border-strong);
  border-radius: var(--lg-radius);
  background: transparent;
  color: var(--text);
  font-weight: 500;
  font-size: var(--fs-small);
  cursor: pointer;
  box-shadow: var(--lg-rest);
  transition:
    scale var(--duration-press) var(--ease-out),
    background-color var(--duration-hover) var(--ease-standard), border-color var(--duration-hover) var(--ease-standard),
    color var(--duration-hover) var(--ease-standard);
}
.lg [lang='en'], .lg:lang(en) {
  font-family: var(--font-en-ui); font-size: var(--fs-micro-lg); letter-spacing: var(--tracking-button); text-transform: uppercase;
}
/* secondary: a hairline on white; under the pointer the line darkens */
@media (hover: hover) {
  .lg:hover { border-color: var(--text); }
}
.lg:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.lg:active:not(:disabled) { scale: .98; transition-duration: 100ms; }

/* primary: solid ink (white on the scenes) */
.lg--primary {
  border-color: var(--action);
  background: var(--action);
  color: var(--on-action);
}
@media (hover: hover) {
  .lg--primary:hover { border-color: var(--action); }
}
.lg--primary:active { background: var(--action-press); border-color: var(--action-press); }
.stage .lg--primary:active, .onDark .lg--primary:active { background: var(--sand); border-color: var(--sand); color: var(--black); }

/* light: a white button with black type — the call to action on black grounds and over imagery */
.lg--light {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}
@media (hover: hover) {
  .lg--light:hover { border-color: var(--white); }
}

/* on a dark ground: a white hairline; under the pointer the line brightens over a faint white glass */
.lg--dark {
  border-color: var(--scene-border-strong);
  background: transparent;
  color: var(--white);
}
@media (hover: hover) {
  .lg--dark:hover { border-color: var(--white); background: var(--scene-surface); }
}

/* an icon-only control floating over a picture: a white circle; under the pointer it takes the quiet tint */
.lg--icon {
  width: var(--touch-min); height: var(--touch-min); min-height: var(--touch-min); padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
}
@media (hover: hover) {
  .lg--icon:hover { background: var(--surface-2); }
}

.lg-card {
  background: var(--scene-surface);
  border: 1px solid var(--scene-border);
  border-radius: var(--radius-lg);
}

@media (prefers-reduced-motion: reduce) {
  .lg { transition: background-color var(--duration-hover) var(--ease-standard), border-color var(--duration-hover) var(--ease-standard); }
  .lg:active { scale: none; }
}
@media (forced-colors: active) {
  .lg { border: 1px solid ButtonText; }
}
@media (prefers-contrast: more) {
  [data-glass='light'] { outline: 1px solid var(--text); outline-offset: -1px; }
  [data-glass='dark'] { outline: 1px solid var(--white); outline-offset: -1px; }
}

/* ── components/motion.css ── */
/* Generated by scripts/export-kit.mjs from src/components/motion/motion.module.css — edit the source, not this file. */
/* every local class .x of the module is .motion-x here; :global() classes keep their name */
/* ─── Marquee ─────────────────────────────────────────────────────── */
.motion-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.motion-marqueeTrack { display: flex; width: max-content; animation: motion-marquee var(--marquee-s, 38s) linear infinite; }
.motion-marquee:hover .motion-marqueeTrack, .motion-marquee:focus-within .motion-marqueeTrack, .motion-marquee[data-paused] .motion-marqueeTrack { animation-play-state: paused; }
.motion-marqueeSet { display: flex; flex: none; }
.motion-marqueeCopy { }
@media (prefers-reduced-motion: reduce) {
  .motion-marquee { mask-image: none; }
  .motion-marqueeTrack { animation: none; width: auto; justify-content: center; }
  .motion-marqueeSet { flex-wrap: wrap; justify-content: center; flex: 1; }
  .motion-marqueeCopy { display: none; }
}
/* RTL: the second copy sits to the left; sliding right by one copy loops seamlessly */
@keyframes motion-marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ─── Loader ────────────────────────────────────────────────────── */
.motion-loader { display: inline-grid; justify-items: center; gap: 18px; }
.motion-loaderMark { width: 56px; height: auto; animation: motion-breathe 2.4s var(--ease-in-out) infinite; }
.motion-loaderLine { display: block; width: 72px; height: 1px; background: var(--gold); transform-origin: center; animation: motion-draw 2.4s var(--ease-in-out) infinite; }
@keyframes motion-breathe { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes motion-draw { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); } 100% { transform: scaleX(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .motion-loaderMark, .motion-loaderLine { animation: none; } }

/* ── components/ui.css ── */
/* Generated by scripts/export-kit.mjs from src/components/ui/ui.module.css — edit the source, not this file. */
/* every local class .x of the module is .ui-x here; :global() classes keep their name */
/* ─── icon ─────────────────────────────────────────────────────────── */
.ui-icon { flex: none; display: inline-block; vertical-align: middle; overflow: visible; }
.ui-icon :is(path, circle, rect, line, polyline, polygon, ellipse) { vector-effect: non-scaling-stroke; }
.ui-mirror { transform: scaleX(-1); }
.ui-filled { fill: currentColor; }

/* ─── buttons ──────────────────────────────────────────────────────── */
/* Layout, type and states shared by every button. Colour, border and fill of the glass variants come from the global
   .lg classes (src/styles/liquid-glass.css), so .btn must not set them.
   The hover, the same on every text button: --on goes from 0 to 1 under the pointer (and on keyboard focus); the
   label eases toward the reading side and a fine mark settles beside it, so the pair stays centred. Nothing lifts and
   no shadow changes. Arriving is slow (--duration-mark-in), leaving quicker (--duration-mark-out). */
.ui-btn {
  --on: 0;
  --mark-t: calc(var(--duration-mark-out) + var(--on) * (var(--duration-mark-in) - var(--duration-mark-out)));
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--control-h); padding: 0 var(--space-8); border-radius: var(--radius-pill);
  font-size: var(--fs-small); font-weight: 500; line-height: var(--lh-heading); white-space: nowrap; user-select: none;
  transition: background-color var(--duration-hover) var(--ease-out), color var(--duration-hover) var(--ease-out),
    border-color var(--duration-hover) var(--ease-out), scale var(--duration-press) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .ui-btn:hover:not(:disabled, [aria-disabled='true']) { --on: 1; } }
.ui-btn:focus-visible { --on: 1; }
.ui-btn:disabled, .ui-btn[aria-disabled='true'] { opacity: .45; cursor: not-allowed; }
/* the label and its mark: the mark hangs just past the label's end, and half that distance is given back by the label */
.ui-label { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; translate: calc(var(--on) * var(--mark-shift, 0px)) 0; transition: translate var(--mark-t) var(--ease-luxe); }
.ui-btn[data-mark] { --mark-shift: 13px; }
.ui-mark {
  position: absolute; inset-inline-end: -27px; top: calc(50% - 9px); pointer-events: none;
  opacity: var(--on); translate: calc((1 - var(--on)) * 10px) 0;
  transition: opacity var(--mark-t) var(--ease-standard), translate var(--mark-t) var(--ease-luxe);
}
.ui-mark svg { display: block; }
/* an English label reads left to right: its mark stands on its right and points that way */
.ui-btn[data-mark]:has(.ui-label > [lang='en']) { --mark-shift: -13px; }
.ui-btn:has(.ui-label > [lang='en']) .ui-mark { inset-inline: -27px auto; translate: calc((1 - var(--on)) * -10px) 0; }
.ui-btn:has(.ui-label > [lang='en']) .ui-mark svg { transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) { .ui-label, .ui-mark, .ui-btn:has(.ui-label > [lang='en']) .ui-mark { translate: none; } }
/* glass variants: markers only (busy spinner colour); their paint lives in .lg */
.ui-primary, .ui-secondary, .ui-accent { --btn-variant: glass; }
/* icon-only glass button: 40px with a mouse, 44px under a finger */
.ui-iconOnly { padding: 0; flex: none; }
@media (pointer: coarse) { .ui-iconOnly { width: var(--touch-min); height: var(--touch-min); min-height: var(--touch-min); } }
.ui-ghost { border: 0; background: var(--surface-2); color: var(--text); } /* the quiet tertiary: a soft tint, no line */
.ui-ghost:active:not(:disabled) { scale: .98; transition-duration: 100ms; } /* the glass variants take their press from .lg */
/* cart: the quiet hairline button (.lg) */
.ui-cart { --btn-variant: glass; }
.ui-sm { min-height: var(--control-h-sm); padding-inline: var(--space-4); font-size: var(--fs-small); }
.ui-block { width: 100%; white-space: normal; text-align: center; padding-inline: var(--space-6); } /* a long label wraps instead of widening the page */
.ui-busy { color: transparent !important; }
.ui-busy::after {
  content: ''; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid currentColor; border-color: var(--text-inverse) transparent var(--text-inverse) transparent; animation: ui-spin .7s linear infinite;
}
.ui-secondary.ui-busy::after, .ui-accent.ui-busy::after, .ui-iconOnly.ui-busy::after, .ui-ghost.ui-busy::after, .ui-cart.ui-busy::after { border-color: var(--text) transparent var(--text) transparent; }
@keyframes ui-spin { to { transform: rotate(360deg); } }

.ui-iconBtn {
  position: relative; display: inline-grid; place-items: center; width: var(--touch-min); height: var(--touch-min); flex: none;
  border-radius: 50%; color: var(--text); transition: background-color var(--duration-hover) var(--ease-out);
}
.ui-iconBtn:hover { background: var(--surface-2); }
.ui-iconBtn:disabled { color: var(--text-muted); opacity: .5; cursor: default; background: transparent; }
.ui-outlined { border: var(--hairline) solid var(--border-strong); }

.ui-count {
  position: absolute; inset-block-start: 2px; inset-inline-end: 0; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: var(--radius-full);
  background: var(--accent); color: var(--on-accent); font-size: var(--fs-caption); font-weight: 700; line-height: 20px; text-align: center;
}

.ui-link {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--touch-min); color: var(--text); font-size: var(--fs-small);
  /* a 1px underline that draws in from the reading start under the pointer */
  background: linear-gradient(currentColor, currentColor) no-repeat right 0 bottom 10px / 0 1px;
  transition: background-size var(--duration-luxe) var(--ease-luxe);
}
.ui-link:hover, .ui-link:focus-visible { background-size: 100% 1px; }
.ui-link [lang='en'], .ui-link:lang(en) { font-family: var(--font-en-ui); font-size: var(--fs-micro-lg); letter-spacing: var(--tracking-button); text-transform: uppercase; }

/* ─── form fields ──────────────────────────────────────────────────── */
.ui-field { display: grid; gap: var(--space-2); align-content: start; }
.ui-label { font-size: var(--fs-small); font-weight: 600; line-height: var(--lh-heading); }
.ui-optional { font-weight: 400; color: var(--text-muted); }
.ui-input, .ui-select, .ui-textarea {
  width: 100%; min-height: var(--control-h); padding: 0 var(--space-6); border: var(--hairline) solid var(--border-strong);
  border-radius: var(--radius-pill); background: var(--field-bg); color: var(--text); font-size: var(--fs-body);
  transition: border-color var(--duration-hover) var(--ease-out);
  scroll-margin-top: calc(var(--header-h) + 24px); /* a field with an error never hides under the sticky header */
}
.ui-textarea { border-radius: var(--radius-sm); padding-inline: var(--space-4); padding-block: var(--space-3); min-height: 104px; resize: vertical; line-height: 1.8; }
.ui-select { appearance: none; padding-inline-end: var(--space-12);
  /* chevron drawn from two gradients, so it follows the text token */
  background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  background-position: left 24px center, left 29px center; }
.ui-input::placeholder, .ui-textarea::placeholder { color: var(--text-muted); opacity: 1; }
.ui-input:hover, .ui-select:hover, .ui-textarea:hover { border-color: var(--text-muted); }
.ui-input:focus-visible, .ui-select:focus-visible, .ui-textarea:focus-visible { border-color: var(--text); }
.ui-input[aria-invalid='true'], .ui-select[aria-invalid='true'], .ui-textarea[aria-invalid='true'] { border: 2px solid var(--danger); }
.ui-select option { background: var(--surface-1); color: var(--text); }
.ui-ltrInput { direction: ltr; text-align: right; }
.ui-help { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.6; }
.ui-error { display: flex; align-items: flex-start; gap: var(--space-2); font-size: var(--fs-small); font-weight: 600; color: var(--danger); line-height: 1.6; }
.ui-error .ui-icon { margin-block-start: 3px; }
.ui-formError {
  display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3) var(--space-4);
  border: 0; border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--danger); background: var(--surface-warm);
  color: var(--text); font-size: var(--fs-small); font-weight: 600; line-height: 1.7;
}
.ui-formError > svg { flex: none; }
.ui-formOk {
  display: flex; gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-4);
  border: var(--hairline) solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface-2); font-size: var(--fs-small);
}
.ui-formOk > svg { flex: none; }

/* choice chips (radio / checkbox rendered as selectable tiles) */
.ui-choice { position: relative; display: flex; align-items: center; gap: var(--space-3); min-height: var(--touch-min); padding: var(--space-3) var(--space-4);
  border: 0; border-radius: var(--radius-md); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--border-subtle); cursor: pointer; transition: box-shadow var(--duration-hover) var(--ease-out), background-color var(--duration-hover) var(--ease-out); }
/* hairline tile; the chosen one takes a black ring — the same tile as the checkout options */
.ui-choice:hover { box-shadow: inset 0 0 0 1px var(--border-strong); }
.ui-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ui-choice:has(input:checked) { background: var(--surface-1); box-shadow: inset 0 0 0 1.5px var(--text); }
@media (forced-colors: active) { .ui-choice:has(input:checked) { outline: 2px solid Highlight; } }
.ui-choice:has(input:focus-visible) { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.ui-choice:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.ui-dot { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid var(--border-strong); display: grid; place-items: center; }
.ui-choice:has(input:checked) .ui-dot { border-color: var(--text); }
.ui-choice:has(input:checked) .ui-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--text); }
.ui-box { width: 18px; height: 18px; flex: none; border-radius: var(--radius-hairline); border: 1.5px solid var(--border-strong); display: grid; place-items: center; color: transparent; }
.ui-choice:has(input:checked) .ui-box { background: var(--text); border-color: var(--text); color: var(--text-inverse); }

.ui-chip { position: relative; display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--space-4); border: var(--hairline) solid var(--border-subtle); border-radius: var(--radius-pill); color: var(--text);
  font-size: var(--fs-small); cursor: pointer; transition: border-color var(--duration-hover) var(--ease-out), background-color var(--duration-hover) var(--ease-out); }
.ui-chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ui-chip:hover { border-color: var(--text-muted); }
.ui-chip:has(input:checked) { background: var(--surface-inverse); border-color: var(--surface-inverse); color: var(--text-inverse); }
.ui-chip:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.ui-chip:has(input:focus-visible) { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* ─── quantity stepper ─────────────────────────────────────────────── */
.ui-stepper { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); height: var(--control-h-sm); background: var(--surface-1); } /* a hairline pill, like the fields */
.ui-stepper button { width: 38px; height: 100%; display: grid; place-items: center; border-radius: 50%; color: var(--text); transition: background-color .2s var(--lg-ease); } /* round buttons inside the pill */
.ui-stepper button:hover:not(:disabled) { background: var(--surface-2); }
.ui-stepper button:disabled { color: var(--text-muted); opacity: .5; cursor: default; }
@media (pointer: coarse) { .ui-stepper { height: 50px; } .ui-stepper button { width: 44px; } } /* 44px targets for thumbs */
.ui-stepper output { min-width: 36px; text-align: center; font-weight: 600; }

/* ─── price & rating ──────────────────────────────────────────────── */
.ui-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--space-2); font-variant-numeric: tabular-nums lining-nums; }
.ui-now { font-weight: 400; line-height: var(--lh-heading); white-space: nowrap; letter-spacing: .02em; }
.ui-unit { font-size: max(.8125rem, .78em); font-weight: 400; }
.ui-was { color: var(--text-muted); font-size: max(.8125rem, .82em); white-space: nowrap; }
.ui-rating { display: inline-flex; align-items: center; gap: var(--space-1); color: var(--text-muted); }
.ui-rating .ui-icon { color: var(--accent-icon); }
.ui-nowOff { color: var(--sale); } /* discounted price: the gold ink, 4.5:1 or more on every light surface */

/* ─── status pill ─────────────────────────────────────────────────── */
.ui-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 12px; border-radius: var(--radius-pill); font-size: var(--fs-caption); font-weight: 600; white-space: nowrap; border: var(--hairline) solid var(--border-subtle); }
.ui-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ui-tone-wait { color: var(--text-muted); background: var(--surface-2); }
.ui-tone-ok { color: var(--text); border-color: var(--text); }
.ui-tone-move { color: var(--text); background: var(--surface-3); border-color: var(--border-strong); }
.ui-tone-done { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.ui-tone-stop { color: var(--text); border: 1px dashed var(--text); } /* ended orders: a dashed outline, not a warning colour */

/* ─── skeleton ────────────────────────────────────────────────────── */
.ui-skeleton { position: relative; overflow: hidden; background: var(--surface-2); border-radius: var(--radius-sm); }
.ui-skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(100%);
  background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent); animation: ui-shimmer 1.4s var(--ease-in-out) infinite; }
@keyframes ui-shimmer { to { transform: translateX(-100%); } }

/* ─── empty state ─────────────────────────────────────────────────── */
.ui-empty { display: grid; justify-items: center; gap: var(--space-4); padding: var(--space-16) var(--space-4); text-align: center; }
.ui-empty p { color: var(--text-muted); max-width: 32em; }
@media (pointer: coarse) { .ui-chip { min-height: 44px; } }

/* Latin price figures: Montserrat (first in --font-ui), lining */
.ui-figures { font-family: var(--font-en-ui); font-variant-numeric: tabular-nums lining-nums; }

/* ─── bilingual pairs (<Bi>) ──────────────────────────────────────── */
/* English leads; the Persian line is one step quieter (≈ .62×, muted, Vazirmatn RD Light) */
/* low specificity, so a section can centre the pair; by default the English hugs the reading start like the Persian */
:where(.ui-bi) { display: inline-grid; gap: .2em; justify-items: start; }
:where(.ui-bi-stacked) { display: grid; }
.ui-bi .en-italic { font-size: .46em; letter-spacing: .01em; } /* a small poetic suffix, never a second headline */
.ui-bi-inline { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: .6em; }
.ui-biEn { unicode-bidi: isolate; text-align: match-parent; } /* a wrapped English line keeps to its Persian partner's edge */
.ui-biFa { font-size: .62em; font-weight: var(--fw-fa-quiet); line-height: 1.7; color: var(--text-muted); unicode-bidi: isolate; }

/* ── components/sheet.css ── */
/* Generated by scripts/export-kit.mjs from src/components/ui/sheet.module.css — edit the source, not this file. */
/* every local class .x of the module is .sheet-x here; :global() classes keep their name */
.sheet-root { position: fixed; inset: 0; z-index: var(--z-sheet); }
.sheet-scrim { position: absolute; inset: 0; background: var(--scrim); }
.sheet-bottom, .sheet-side { position: absolute; display: flex; flex-direction: column; background: var(--surface-1); color: var(--text); outline: none; }
.sheet-bottom {
  inset-inline: 0; bottom: 0; max-height: min(88dvh, 760px);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding-bottom: var(--safe-bottom);
  touch-action: none;
}
.sheet-bottom::after { /* covers the spring overshoot below the sheet */
  content: ''; position: absolute; inset-inline: 0; top: 100%; height: 40vh; background: var(--surface-1);
}
.sheet-side { inset-block: 0; inset-inline-start: 0; width: min(440px, 92vw); border-inline-end: var(--hairline) solid var(--border-subtle); }
.sheet-wide { width: min(560px, 92vw); }
/* from the physical left edge (the cart): the hairline moves to the page side */
.sheet-side.sheet-left { inset-inline-start: auto; left: 0; border-inline-end: 0; border-right: var(--hairline) solid var(--border-subtle); }
.sheet-grab { display: grid; place-items: center; height: 22px; cursor: grab; touch-action: none; }
.sheet-grab span { width: 40px; height: 4px; border-radius: var(--radius-pill); background: var(--border-strong); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) var(--space-4) var(--space-3); border-block-end: var(--hairline) solid var(--border-subtle); touch-action: none; }
.sheet-side .sheet-head { min-height: var(--header-h); padding-block: var(--space-2); }
.sheet-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: var(--fw-display); line-height: var(--lh-heading); }
.sheet-close { display: grid; place-items: center; width: var(--touch-min); height: var(--touch-min); border-radius: 50%; }
.sheet-close:hover { background: var(--surface-2); }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: var(--space-4); touch-action: pan-y; }
.sheet-foot { padding: var(--space-4); border-block-start: var(--hairline) solid var(--border-subtle); background: var(--surface-1); }

/* ── components/shop.css ── */
/* Generated by scripts/export-kit.mjs from src/components/shop/shop.module.css — edit the source, not this file. */
/* every local class .x of the module is .shop-x here; :global() classes keep their name */
/* Storefront components. Mobile first; tablet from 720px, desktop from 1024px.
   The house manner: white grounds, hairlines instead of boxes and shadows, soft corners from the --radius-* scale, black type,
   gold only as a thin line, a small mark or a fill behind black. */

.shop-mobileOnly { }
.shop-desktopOnly { display: none !important; }
@media (min-width: 1024px) {
  .shop-mobileOnly { display: none !important; }
  .shop-desktopOnly { display: inline-flex !important; }
}

/* header: see header.module.css */

/* ─── tab bar (phones): a floating capsule of liquid glass — content scrolls beneath it, blurred and brightened; a
   soft glass lens glides to the current tab on a spring (TabBar.tsx); dark glass over the black scenes ─── */
.shop-tabbar {
  position: fixed; inset-inline: 14px; bottom: calc(12px + var(--safe-bottom)); z-index: var(--z-tabbar);
  height: var(--tabbar-h); border-radius: var(--radius-tabbar); overflow: hidden; isolation: isolate;
  background: var(--glass-light);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge), var(--glass-shadow);
  transition: height .35s var(--ease-luxe), background-color .35s var(--ease-standard), box-shadow .35s var(--ease-standard);
}
.shop-tabbar[data-glass='dark'] { background: var(--glass-dark); box-shadow: var(--glass-edge-dark), var(--glass-shadow); }
.shop-tabbar[data-min] { height: 48px; }
.shop-tabbar ul { display: grid; grid-template-columns: repeat(5, 1fr); height: 100%; padding-inline: 4px; }
.shop-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--text-muted); -webkit-tap-highlight-color: transparent; }
.shop-tab[data-active] { color: var(--text); }
/* the lens: a lighter drop of glass behind the current icon, with a hairline of gold */
.shop-tabLens {
  position: absolute; inset-block: 6px; inset-inline: 8%; border-radius: var(--radius-tabbar);
  background: var(--glass-lens);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--white) 90%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--gold) 30%, transparent), 0 4px 12px -6px color-mix(in srgb, var(--black) 22%, transparent);
}
.shop-tabbar[data-glass='dark'] .shop-tabLens {
  background: var(--glass-lens-dark);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--white) 24%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--gold) 45%, transparent);
}
.shop-tabIcon { position: relative; z-index: 1; display: grid; place-items: center; }
.shop-tabCount { position: absolute; top: -5px; inset-inline-end: -10px; min-width: 16px; height: 16px; padding-inline: 4px; border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font-size: 10px; font-weight: 600; line-height: 16px; text-align: center; }
.shop-tab:active .shop-tabIcon { transform: scale(0.92); transition: transform 90ms var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .shop-tabbar { transition: none; } }
/* without blur, or when the visitor asks for less transparency or more contrast: a solid, outlined bar */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .shop-tabbar { background: color-mix(in srgb, var(--white) 94%, transparent); }
  .shop-tabbar[data-glass='dark'] { background: var(--black); }
}
@media (prefers-reduced-transparency: reduce) {
  .shop-tabbar { background: var(--surface-1); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .shop-tabbar[data-glass='dark'] { background: var(--black); }
}
@media (prefers-contrast: more) { .shop-tabbar { box-shadow: inset 0 0 0 1px var(--text), var(--glass-shadow); } }
@media (min-width: 1024px) { .shop-tabbar { display: none; } }

/* ─── toasts & the bead ─────────────────────────────────────────── */
.shop-toasts { position: fixed; z-index: var(--z-toast); inset-inline: 12px; bottom: calc(var(--tabbar-h) + 18px + var(--safe-bottom)); display: grid; gap: var(--space-2); justify-items: center; pointer-events: none; }
.shop-toast { display: flex; align-items: center; gap: var(--space-3); max-width: 460px; padding: 12px 14px 12px 18px; border-radius: var(--radius-lg); background: var(--surface-inverse); color: var(--text-inverse); font-size: var(--fs-small); line-height: 1.7; box-shadow: var(--shadow-2); pointer-events: auto; }
.shop-toast[data-tone='error'] { box-shadow: inset 0 0 0 1px var(--accent), var(--shadow-2); } /* a gold hairline ring; the icon tells the tone */
.shop-toastAction { flex: none; min-height: 36px; padding-inline: var(--space-3); color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.shop-toastAction:hover { color: var(--accent-hover); }
.shop-toastAction:focus-visible { outline-color: var(--accent); }
@media (min-width: 1024px) { .shop-toasts { bottom: 24px; inset-inline: auto 24px; justify-items: end; } }
.shop-bead { position: fixed; top: 0; left: 0; z-index: var(--z-toast); width: 10px; height: 10px; border-radius: 50%; background: var(--accent); pointer-events: none; }

/* ─── cart lines, meter, summary ────────────────────────────────── */
.shop-lines { display: grid; }
.shop-line { display: grid; grid-template-columns: 76px 1fr auto; gap: var(--space-4); padding-block: var(--space-4); border-block-end: 1px solid var(--border-subtle); }
.shop-line[data-pending] { opacity: .6; }
.shop-lineImg { width: 76px; aspect-ratio: 4 / 5; background: var(--stage); overflow: hidden; }
.shop-lineImg img { width: 100%; height: 100%; object-fit: cover; }
.shop-lineBody { display: grid; gap: 2px; align-content: start; min-width: 0; }
.shop-lineTitle { font-size: var(--fs-small); line-height: 1.7; }
.shop-lineTitle:hover { text-decoration: underline; text-decoration-color: var(--accent-icon); text-underline-offset: 5px; }
.shop-lineBrand { font-size: var(--fs-caption); color: var(--text-muted); }
.shop-lineRow { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-block-start: var(--space-2); flex-wrap: wrap; }
.shop-lineTotal { font-size: var(--fs-small); white-space: nowrap; }
.shop-lineNote { font-size: var(--fs-caption); color: var(--text-muted); }
.shop-lineRemove { display: grid; place-items: center; width: 44px; height: 44px; color: var(--text-muted); transition: color var(--duration-hover) var(--ease-standard); }
.shop-lineRemove:hover { color: var(--text); }

/* cart page: the same hairline rows, with larger pictures */
.shop-linesCards { border-block-start: 1px solid var(--border-subtle); }
.shop-linesCards .shop-line { grid-template-columns: 104px 1fr auto; padding-block: var(--space-6); }
.shop-linesCards .shop-lineImg { width: 104px; }
.shop-linesCards .shop-lineBody { padding-block: 4px; }
.shop-linesCards .shop-lineTitle { font-size: var(--fs-body); }
.shop-linesCards .shop-lineTotal { font-size: var(--fs-body); }
.shop-linesCards .shop-lineRemove { align-self: start; }
@media (max-width: 559.98px) {
  .shop-linesCards .shop-line { grid-template-columns: 76px 1fr auto; }
  .shop-linesCards .shop-lineImg { width: 76px; }
  .shop-linesCards .shop-lineTitle { font-size: var(--fs-small); }
}

/* free-shipping meter: a porcelain block; a thin gold line fills (never text) */
.shop-meter { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: var(--space-3); row-gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--surface-2); font-size: var(--fs-small); margin-block-end: var(--space-2); }
.shop-meter p { line-height: 1.8; }
.shop-meterIcon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--accent-icon); color: var(--accent-ink); }
.shop-meter[data-done] .shop-meterIcon { background: var(--surface-inverse); border-color: var(--surface-inverse); color: var(--text-inverse); }
.shop-meterTrack { grid-column: 1 / -1; height: 2px; border-radius: var(--radius-pill); background: var(--surface-3); overflow: hidden; }
.shop-meterTrack span { display: block; height: 100%; background: var(--accent); transform-origin: right; }
.shop-meter[data-done] .shop-meterTrack { display: none; }

/* coupon: applied state and the field */
.shop-coupon { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); font-size: var(--fs-small); padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4); border-radius: var(--radius-pill); background: var(--surface-2); }
.shop-coupon span { display: inline-flex; align-items: center; gap: var(--space-2); }
.shop-coupon svg { color: var(--accent-ink); }
.shop-coupon button { min-height: 40px; padding-inline: var(--space-4); text-decoration: underline; text-underline-offset: 4px; }
.shop-couponForm { display: grid; gap: var(--space-2); }
.shop-couponForm p { grid-column: 1 / -1; }
.shop-couponPill { display: flex; align-items: center; gap: var(--space-2); min-height: 54px; padding: 4px; padding-inline-start: var(--space-4); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface-1); transition: border-color var(--duration-hover) var(--ease-standard); }
.shop-couponPill:focus-within { border-color: var(--text); }
.shop-couponIcon { flex: none; color: var(--accent-icon); }
.shop-couponInput { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; color: var(--text); font-size: var(--fs-body); text-align: right; outline: none; }
.shop-couponInput::placeholder { color: var(--text-muted); opacity: 1; direction: rtl; }
.shop-couponBtn { min-height: 44px !important; padding-inline: 20px !important; }

.shop-summary { display: grid; gap: var(--space-2); font-size: var(--fs-small); }
.shop-summary div { display: flex; justify-content: space-between; gap: var(--space-4); }
.shop-summary dt { color: var(--text-muted); }
.shop-summary dd { white-space: nowrap; }
.shop-summaryTotal { padding-block-start: var(--space-3); border-block-start: 1px solid var(--border-subtle); font-size: var(--fs-body); }
.shop-summaryTotal dt { color: var(--text); }
.shop-summaryTotal dd { font-size: 1.125rem; font-weight: 500; }
.shop-drawerFoot { display: grid; gap: var(--space-2); }
.shop-drawerTotal { display: flex; justify-content: space-between; align-items: baseline; margin-block-end: var(--space-2); }
.shop-drawerTotal strong { font-size: 1.125rem; font-weight: 500; }
.shop-cartEmpty { display: grid; justify-items: center; gap: var(--space-4); padding-block: var(--space-12); color: var(--text-muted); }

/* ─── product card ──────────────────────────────────────────────── */
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-3); }
@media (min-width: 720px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-12) var(--space-6); } }
@media (min-width: 1024px) { .shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px var(--space-8); } }
/* the curated row: four cards with more air between them */
@media (min-width: 720px) { .shop-gridLarge { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-16) var(--space-8); } }
@media (min-width: 1024px) { .shop-gridLarge { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-16) var(--space-12); } }
/* the softly rounded tile (--radius-product): the bottle on its cream ground, no border, no shadow at rest; a hairline
   divides it from the text */
.shop-card { position: relative; display: flex; flex-direction: column; height: 100%; text-align: center; font-family: var(--font-card); }
/* the tile is isolated (it clips its picture), so it is lifted above the stretched link and lets clicks fall through to it */
.shop-cardMedia {
  position: relative; z-index: 2; pointer-events: none; aspect-ratio: 4 / 5; border-radius: var(--radius-product); background: var(--stage);
  transition: translate var(--duration-slow) var(--ease-luxe), box-shadow var(--duration-slow) var(--ease-luxe);
}
.shop-cardImg { object-fit: cover; transition: opacity .6s var(--ease-standard), transform var(--image-zoom-duration) var(--ease-maison); }
.shop-cardImgAlt { opacity: 0; }
@media (hover: hover) {
  .shop-card:hover .shop-cardMedia { translate: 0 -4px; box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--black) 18%, transparent); }
  .shop-card:hover .shop-cardImgAlt { opacity: 1; }
  .shop-card:hover .shop-cardImg { transform: scale(var(--image-zoom)); }
}
.shop-card:focus-within .shop-cardImgAlt { opacity: 1; }
/* a frosted pill in the starting corner: GIFT SET, DISCOVERY SET, NEW, SOLD OUT */
.shop-cardTag {
  position: absolute; z-index: 2; inset-block-start: 12px; inset-inline-start: 12px; pointer-events: none;
  display: inline-flex; align-items: center; min-height: 26px; padding-inline: 12px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--white) 72%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--text); font-size: var(--fs-micro); line-height: 1;
}


.shop-cardBody { display: flex; flex-direction: column; align-items: center; flex: 1; gap: 6px; margin-block-start: var(--space-4); padding: var(--space-6) var(--space-3) var(--space-2); border-block-start: var(--hairline) solid var(--color-line); }
.shop-cardTitle { display: grid; gap: 2px; font-weight: 400; line-height: 1.3; }
.shop-cardEn { font-size: var(--fs-en-name); font-weight: 400; transition: color var(--duration-hover) var(--ease-standard); }
.shop-cardFaOnly { font-size: var(--fs-small); line-height: 1.8; }
.shop-cardLink { color: inherit; display: grid; gap: 2px; }
.shop-cardLink::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-product); } /* the whole card opens the product */
.shop-cardLink:focus-visible { outline: none; }
.shop-card:has(.shop-cardLink:focus-visible) .shop-cardMedia { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.shop-cardLine { color: var(--text-muted); font-size: var(--fs-micro); }
.shop-cardPrice { margin-block-start: auto; padding-block-start: var(--space-1); justify-content: center; font-size: var(--fs-small) !important; }
.shop-cardWholesale { font-size: var(--fs-caption); color: var(--accent-ink); }
/* «Discover»: a quiet text link under the price; it rises in under the pointer and is always shown on touch */
.shop-cardDiscover {
  margin-block-start: var(--space-2); font-family: var(--font-en-ui); font-size: var(--fs-micro); font-weight: 500; letter-spacing: var(--tracking-micro);
  text-transform: uppercase; color: var(--text); text-decoration: underline; text-decoration-color: var(--color-gold); text-underline-offset: 6px;
  transition: opacity var(--duration-hover) var(--ease-standard), translate var(--duration-luxe) var(--ease-luxe);
}
@media (hover: hover) and (pointer: fine) {
  .shop-cardDiscover { opacity: 0; translate: 0 4px; }
  .shop-card:hover .shop-cardDiscover, .shop-card:focus-within .shop-cardDiscover { opacity: 1; translate: 0 0; }
}
@media (max-width: 719.98px) { .shop-cardLine { letter-spacing: .08em; } } /* the 11px floor holds on phones; the tracking tightens instead */
@media (prefers-reduced-motion: reduce) {
  .shop-card:hover .shop-cardMedia { translate: none; }
  .shop-card:hover .shop-cardImg { transform: none; }
  .shop-cardDiscover { translate: none !important; }
}

/* ─── sections ──────────────────────────────────────────────────── */
.shop-section { padding-block-start: var(--section-space); }
.shop-section:first-child { padding-block-start: var(--space-8); }
@media (min-width: 1024px) { .shop-section { padding-block-start: var(--section-space-lg); } }
.shop-sectionHead { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-block-end: var(--space-8); }
.shop-sectionHeadCenter { flex-direction: column; align-items: center; text-align: center; gap: var(--space-2); margin-block-end: var(--space-12); }
.shop-sectionTitles { display: grid; gap: 4px; }
.shop-sectionHeadCenter .shop-sectionTitles { justify-items: center; }
.shop-sectionTitle { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: var(--fw-fa-title); line-height: var(--lh-heading); }
.shop-sectionBi { gap: var(--space-2); }
.shop-sectionBi > span[lang='en'] { font-family: var(--font-en-display); font-size: var(--fs-en-h2); font-weight: 300; line-height: 1.08; letter-spacing: var(--tracking-en); text-transform: uppercase; }
.shop-sectionBi > span[lang='fa'] { font-size: var(--fs-fa-title); max-width: 34em; }
.shop-sectionHeadCenter .shop-sectionBi { justify-items: center; text-align: center; }
.shop-moreLink {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--touch-min); font-size: var(--fs-small); white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) no-repeat right 0 bottom 10px / 100% 1px;
  transition: background-size var(--duration-luxe) var(--ease-luxe), color var(--duration-hover) var(--ease-standard);
}
.shop-moreLink [lang='en'] { font-family: var(--font-en-ui); font-size: var(--fs-micro); font-weight: 500; letter-spacing: var(--tracking-micro); text-transform: uppercase; }
.shop-moreLink:hover { color: var(--accent-ink); }
.shop-sectionHeadCenter .shop-moreLink { min-height: 36px; }
.shop-scrollerCtrls { display: flex; gap: var(--space-2); }
@media (min-width: 1024px) { .shop-scrollerCtrls { display: none; } }

/* collections: rounded picture tiles, the English name beneath; a swipe rail on phones */
.shop-collections {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: var(--space-3);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.shop-collections::-webkit-scrollbar { display: none; }
.shop-collections > li { scroll-snap-align: start; }
.shop-collection { display: grid; justify-items: center; gap: 4px; text-align: center; }
.shop-collectionMedia { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: var(--stage); margin-block-end: var(--space-4); }
.shop-collectionImg { object-fit: cover; transition: transform 1.2s var(--ease-luxe); }
@media (hover: hover) { .shop-collection:hover .shop-collectionImg { transform: scale(1.04); } }
.shop-collectionEn { font-size: var(--fs-en-h3); }
.shop-collectionName { font-size: var(--fs-caption); }
@media (min-width: 720px) {
  .shop-collections { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; gap: 56px var(--space-8); }
}
@media (prefers-reduced-motion: reduce) { .shop-collection:hover .shop-collectionImg { transform: none; } }
@media (min-width: 1024px) { .shop-collectionMedia { aspect-ratio: 1; } }

/* spotlight: one fragrance at length — a single rounded porcelain panel, the picture half and the pyramid half */
.shop-spotlight { padding-block-start: var(--section-space); }
.shop-spotlightPanel { display: grid; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); background: var(--surface-2); }
.shop-spotlightArt { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--stage); }
.shop-spotlightImg { object-fit: cover; transition: transform 1.4s var(--ease-luxe); }
@media (hover: hover) { .shop-spotlightArt:hover .shop-spotlightImg { transform: scale(1.03); } }
.shop-spotlightCopy { display: grid; gap: var(--space-4); align-content: center; justify-items: start; padding: var(--space-8) var(--space-6) var(--space-12); }
.shop-spotlightTitle { display: grid; gap: var(--space-2); font-weight: 400; }
.shop-spotlightTitle .en { font-size: var(--fs-en-h2); font-weight: 300; letter-spacing: .04em; line-height: 1.05; }
.shop-spotlightFa { font-size: var(--fs-small); }
.shop-spotlightLead { font-size: var(--fs-body); line-height: 2; max-width: 32em; }
.shop-spotlightBy { font-family: var(--font-en-display); font-style: normal; font-size: 1.0625rem; color: var(--text-muted); }
.shop-spotlightBy span { font-style: normal; color: var(--text); }
.shop-spotlightBuy { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-8); margin-block-start: var(--space-4); }
@media (min-width: 1024px) {
  .shop-spotlight { padding-block-start: var(--section-space-lg); }
  .shop-spotlightPanel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .shop-spotlightArt { aspect-ratio: auto; min-height: 640px; }
  .shop-spotlightCopy { padding: var(--space-16) clamp(40px, 5vw, 88px); }
}
@media (prefers-reduced-motion: reduce) { .shop-spotlightArt:hover .shop-spotlightImg { transform: none; } }

/* the notes ribbon: English names in Cormorant Garamond, the Persian beside them, quieter; a small gold dot between; slow */
.shop-notesRibbon { margin-block-start: var(--section-space); padding-block: var(--space-6); border-block: 1px solid var(--border-subtle); }
.shop-noteItem { position: relative; display: inline-flex; align-items: baseline; gap: var(--space-3); padding-inline: var(--space-8); white-space: nowrap; }
.shop-noteItem::before { content: ''; position: absolute; inset-inline-start: -2px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--gold); }
.shop-noteEn { font-family: var(--font-en-display); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); font-weight: 400; line-height: 1.6; }
.shop-noteFa { font-size: var(--fs-caption); }
@media (min-width: 1024px) { .shop-notesRibbon { margin-block-start: var(--section-space-lg); padding-block: var(--space-8); } }

/* trade band: a black scene; the benefits as hairline rows with gold icons */
.shop-b2b { margin-block-start: var(--space-16); padding-block: var(--space-16); }
.shop-b2bInner { position: relative; display: grid; gap: var(--space-12); }
.shop-b2bCopy { display: grid; gap: var(--space-4); justify-items: start; }
.shop-b2bCopy > p:last-of-type { max-width: 32em; color: var(--text-muted); line-height: 2; }
.shop-b2bTitle { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: var(--fw-fa-title); line-height: 1.45; }
.shop-benefits { display: grid; border-block-start: 1px solid var(--border-subtle); }
.shop-benefit { display: grid; grid-template-columns: 34px 1fr; column-gap: var(--space-4); row-gap: 2px; padding-block: var(--space-6); border-block-end: 1px solid var(--border-subtle); }
.shop-benefitIcon { grid-row: span 2; color: var(--accent-icon); margin-block-start: 4px; }
.shop-benefit h3 { font-size: 1rem; font-weight: 500; line-height: 1.6; color: var(--text); }
.shop-benefit p { font-size: var(--fs-small); line-height: 1.8; color: var(--text-muted); }
@media (min-width: 720px) { .shop-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-8); } }
@media (min-width: 1024px) {
  .shop-b2b { margin-block-start: var(--space-24); padding-block: var(--space-24); }
  .shop-b2bInner { grid-template-columns: 5fr 7fr; gap: var(--space-16); align-items: center; }
}

/* campaign: a rounded black panel inset in the page, its picture in a rounded tile; a white pill */
.shop-campaign { margin-block-start: var(--section-space); padding-block: var(--section-space); } /* full-bleed: the band spans the viewport, its content keeps the container */
.shop-campaignPanel { display: grid; gap: var(--space-8); }
.shop-campaignCopy { display: grid; gap: var(--space-4); justify-items: start; align-content: center; }
.shop-campaignKicker { color: var(--accent-ink); font-size: var(--fs-small); }
.shop-campaignTitle { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3.125rem); font-weight: var(--fw-fa-title); line-height: 1.4; color: var(--text); }
.shop-campaignTitle > span[lang='en'] { font-family: var(--font-en-display); font-size: var(--fs-en-h2); font-weight: 300; line-height: 1.05; letter-spacing: var(--tracking-en); text-transform: uppercase; }
.shop-campaignTitle > span[lang='fa'] { font-size: var(--fs-fa-title); margin-block-start: var(--space-2); }
.shop-campaignBody { max-width: 30em; color: var(--text-muted); line-height: 2; }
.shop-campaignActions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); margin-block-start: var(--space-2); }
.shop-campaignEnds { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--fs-small); color: var(--text-muted); }
.shop-campaignEnds svg { color: var(--accent-icon); }
.shop-campaignArt { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: var(--stage); }
.shop-campaignImg { object-fit: cover; }
@media (min-width: 720px) { .shop-campaignPanel { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: center; } }
@media (min-width: 1024px) {
  .shop-campaign { margin-block-start: var(--section-space-lg); padding-block: var(--section-space-lg); }
  .shop-campaignPanel { grid-template-columns: minmax(0, 1fr) 460px; gap: var(--space-16); }
}

/* the Padideh Promise: four services in a hairline-divided strip on ivory (two by two on phones) */
.shop-promise { display: grid; gap: var(--space-8); justify-items: center; padding: var(--space-12) var(--space-6); border-radius: var(--radius-section); background: var(--surface-2); text-align: center; }
.shop-promiseTitle { justify-items: center; }
.shop-promiseTitle > span[lang='en'] { font-family: var(--font-en-display); font-size: var(--fs-en-h3); font-weight: 400; letter-spacing: var(--tracking-en); text-transform: uppercase; }
.shop-promiseTitle > span[lang='fa'] { font-size: calc(var(--fs-en-h3) * .8); } /* a step under its English line, like every pair */
.shop-promiseList { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; border-block: var(--hairline) solid var(--color-line); }
.shop-promiseList li { display: grid; justify-items: center; align-content: start; gap: var(--space-3); padding: var(--space-8) var(--space-3); }
.shop-promiseList li:nth-child(even) { border-inline-start: var(--hairline) solid var(--color-line); }
.shop-promiseList li:nth-child(n + 3) { border-block-start: var(--hairline) solid var(--color-line); }
.shop-promiseIcon { color: var(--color-gold); }
.shop-promiseItem { justify-items: center; }
.shop-promiseItem > span[lang='en'] { font-family: var(--font-en-ui); font-size: var(--fs-micro); font-weight: 500; letter-spacing: var(--tracking-micro); text-transform: uppercase; }
.shop-promiseItem > span[lang='fa'] { font-size: var(--fs-caption); }
@media (min-width: 1024px) {
  .shop-promise { padding: var(--space-16); }
  .shop-promiseList { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shop-promiseList li { padding-block: var(--space-12); }
  .shop-promiseList li + li { border-inline-start: var(--hairline) solid var(--color-line); }
  .shop-promiseList li:nth-child(n + 3) { border-block-start: 0; }
}

/* reviews */
.shop-reviewTrack { display: flex; gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
.shop-reviewTrack::-webkit-scrollbar { display: none; }
.shop-review { flex: none; width: 86%; scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-8) var(--space-6); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); }
.shop-review blockquote { font-size: var(--fs-body); line-height: 2; }
.shop-reviewWho { margin-block-start: auto; padding-block-start: var(--space-4); border-block-start: 1px solid var(--border-subtle); font-size: var(--fs-small); color: var(--text-muted); display: grid; }
.shop-reviewWho b { color: var(--text); font-weight: 500; }
.shop-reviewSkin { margin-inline-start: var(--space-2); padding-inline-start: var(--space-2); border-inline-start: 1px solid var(--border-strong); }
.shop-reviewWho a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border-strong); min-height: 32px; display: inline-flex; align-items: center; }
@media (min-width: 720px) { .shop-review { width: calc(50% - 8px); } }
@media (min-width: 1024px) {
  .shop-reviewTrack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: var(--space-6); }
  .shop-review { width: auto; }
}

/* trust: four quiet reassurances, gold line icons */
.shop-trust { padding-block: var(--space-12); }
.shop-trust ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-4); }
.shop-trust li { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); text-align: center; font-size: var(--fs-small); line-height: 1.6; }
.shop-trust li svg { color: var(--accent-icon); flex: none; }
@media (min-width: 720px) {
  .shop-trust { padding-block: var(--space-16); }
  .shop-trust ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .shop-trust li + li { border-inline-start: 1px solid var(--border-subtle); }
}

/* ─── footer: rich black ──────────────────────────────────────────
   One low band. The wordmark and the house line sit on the reading side, the three bilingual columns and the boutique
   beside them: nothing is left empty either side of the logo. The ground is one flat rich black (--rich-black,
   the owner's colour) with a gold hairline along the top edge. Every link answers the pointer with a gold hairline drawn in the
   reading direction. */
.shop-footer { margin-block-start: var(--section-space); padding-block: var(--space-12) var(--space-6); border-radius: var(--radius-xl) var(--radius-xl) 0 0; background: var(--footer-bg); }
.shop-footer::before { content: ''; position: absolute; inset: 0 14% auto; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent); opacity: .75; pointer-events: none; }
.shop-footerMain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-6); padding-block-end: var(--space-8); }
/* phones and tablets: the brand first, across the whole width */
.shop-footerBrand { grid-column: 1 / -1; display: grid; justify-items: center; gap: var(--space-4); text-align: center; padding-block-end: var(--space-8); border-block-end: 1px solid var(--border-subtle); }
.shop-footerLogo { display: block; width: 96px; opacity: .94; transition: opacity var(--duration-hover) var(--ease-standard); }
.shop-footerLogo img { width: 100%; height: auto; }
.shop-footerLine { justify-items: center; max-width: 16em; text-align: center; font-family: var(--font-en-display); font-size: var(--fs-en-h3); font-style: normal; font-weight: 400; line-height: 1.25; }
.shop-footerLine > span[lang='fa'] { font-style: normal; font-size: var(--fs-small); font-weight: 400; color: var(--scene-text-quiet); margin-block-start: var(--space-2); }
.shop-footerTitle { margin-block-end: var(--space-3); padding-block-end: var(--space-3); border-block-end: 1px solid var(--border-subtle); }
.shop-footerTitle > span { gap: var(--space-1); }
.shop-footerTitle span[lang='en'] { font-family: var(--font-en-ui); font-size: var(--fs-micro-lg); font-weight: 500; letter-spacing: var(--tracking-micro); text-transform: uppercase; color: var(--accent-ink); }
.shop-footerTitle span[lang='fa'] { font-size: var(--fs-caption); font-weight: 400; color: var(--scene-text-quiet); }
.shop-footerLinks a { display: inline-flex; align-items: center; min-height: 40px; }
.shop-footerLinks a > span { column-gap: .55em; }
.shop-footerLinks a > span > span[lang='en'] { font-family: var(--font-en-display); font-size: 1.25rem; line-height: 1.3; letter-spacing: .01em; color: var(--text); }
.shop-footerLinks a > span > span[lang='fa'] { font-size: var(--fs-small); font-weight: 400; line-height: 1.6; color: var(--scene-text-quiet); transition: color var(--duration-hover) var(--ease-standard); }
/* the hover: a gold hairline under the pair, drawn from the reading side; on leaving it runs out the far side */
.shop-footerLinks a > span, .shop-footerRow a {
  padding-block-end: 3px;
  background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 0 1px;
  transition: background-size var(--duration-fill) var(--ease-luxe), color var(--duration-hover) var(--ease-standard);
}
@media (hover: hover) {
  .shop-footerLinks a:hover > span, .shop-footerRow a:hover { background-position: 100% 100%; background-size: 100% 1px; }
  .shop-footerLinks a:hover > span > span[lang='fa'], .shop-footerRow a:hover { color: var(--text); }
  .shop-footerLogo:hover { opacity: 1; }
}
.shop-footerLinks a:focus-visible > span, .shop-footerRow a:focus-visible { background-position: 100% 100%; background-size: 100% 1px; }
.shop-footerLinks a:active > span > span[lang='fa'], .shop-footerRow a:active { color: var(--accent-hover); }
.shop-footerContact { display: grid; gap: var(--space-2); }
.shop-footerContact li { font-size: var(--fs-small); color: var(--scene-text-quiet); }
.shop-footerBoutique { display: grid; gap: var(--space-2); }
.shop-footerCity { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .6em; min-height: 40px; align-content: center; }
.shop-footerCity .en { font-size: 1.25rem; line-height: 1.3; color: var(--text); }
.shop-footerCity > span:last-child { font-size: var(--fs-small); }
.shop-footerRow { display: flex; align-items: flex-start; gap: var(--space-2); line-height: 1.8; }
.shop-footerRow svg { margin-block-start: 5px; }
.shop-footerRow a { overflow-wrap: anywhere; }
.shop-footerContact svg { color: var(--accent-icon); flex: none; }
/* phones and tablets: the boutique takes the whole row, so an address or e-mail never runs into the next column */
@media (max-width: 1023.98px) { .shop-footerVisit { grid-column: 1 / -1; } }
/* phones: two narrow columns, so each pair stacks (the English name over its Persian one) instead of wrapping here and
   there; the four service links take the whole row, two by two */
@media (max-width: 719.98px) {
  .shop-footerLinks a { min-height: 56px; }
  .shop-footerLinks a > span { display: inline-grid; justify-items: start; gap: 0; }
  .shop-footerLinks a > span > span[lang='en'] { font-size: 1.1875rem; }
  .shop-footerLinks a > span > span[lang='fa'] { font-size: var(--fs-caption); }
  .shop-footerMain > nav[aria-labelledby='f-service'] { grid-column: 1 / -1; }
  .shop-footerMain > nav[aria-labelledby='f-service'] .shop-footerLinks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-6); }
}
@media (min-width: 720px) and (max-width: 1023.98px) {
  .shop-footerMain { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-footerBrand { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; column-gap: var(--space-6); text-align: start; }
  .shop-footerBrand .shop-social { grid-column: 1 / -1; }
  .shop-footerLine { justify-items: start; max-width: none; text-align: start; }
  .shop-footerLine > span[lang='en'] { text-align: end; }
}
.shop-footerExtras { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); padding-block-end: var(--space-8); }
.shop-footerPlace { margin: 0; }
.shop-footerPlace .en, .shop-footerPlace span[lang='en'] { font-family: var(--font-en-display); font-size: 1.0625rem; color: var(--text); }
.shop-footerPlace span[lang='fa'] { font-size: var(--fs-caption); font-weight: 400; color: var(--scene-text-quiet); }
.shop-footerBottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-6); padding-block-start: var(--space-4); border-block-start: 1px solid var(--border-subtle); font-size: var(--fs-caption); color: var(--scene-text-quiet); }

.shop-seals { display: flex; gap: var(--space-3); }
.shop-seals a, .shop-seals > span { display: grid; place-items: center; width: 88px; height: 96px; padding: var(--space-2); background: var(--white); }
.shop-seals img { max-width: 100%; height: auto; }
.shop-sealsCompact a { width: 72px; height: 80px; }
.shop-social { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.shop-social a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding-inline: 14px 16px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); font-size: var(--fs-small); transition: border-color var(--duration-hover) var(--ease-standard), color var(--duration-hover) var(--ease-standard); }
.shop-social a:hover { border-color: var(--accent); color: var(--accent); }
@media (min-width: 1024px) {
  .shop-footer { margin-block-start: var(--section-space-lg); padding-block: var(--space-16) var(--space-6); }
  /* the brand at the reading side, the columns beside it: one row, nothing empty around the logo */
  .shop-footerMain { grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: var(--space-8); padding-block-end: var(--space-12); }
  .shop-footerBrand { grid-column: auto; justify-items: start; align-content: start; gap: var(--space-6); text-align: start; padding-block-end: 0; border-block-end: 0; }
  .shop-footerLogo { width: 112px; }
  .shop-footerLine { justify-items: start; text-align: start; }
  .shop-footerLine > span[lang='en'] { text-align: end; }
}

/* ─── page frame ───────────────────────────────────────────────── */
/* flow-root: a dark stage that slides under the header (negative top margin) moves itself, not <main> — no layout shift */
.shop-main { display: flow-root; min-height: 60vh; outline: none; }
/* the tab bar must never cover the last line of the footer */
@media (max-width: 1023.98px) {
  .shop-footer { padding-block-end: calc(var(--tabbar-h) + 10px + var(--space-8) + var(--safe-bottom)); }
}

/* ─── breadcrumbs ──────────────────────────────────────────────── */
.shop-crumbs { font-size: var(--fs-caption); color: var(--text-muted); }
.shop-crumbs ol { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; white-space: nowrap; align-items: center; }
.shop-crumbs ol::-webkit-scrollbar { display: none; }
.shop-crumbs li { display: inline-flex; align-items: center; flex: none; }
/* on a narrow screen the current page gives way: its name ends in an ellipsis instead of being cut off by the edge */
.shop-crumbs li:last-child { flex: 0 1 auto; min-width: 0; }
.shop-crumbs li + li::before { content: ''; width: 12px; height: 1px; margin-inline: 10px; background: currentColor; opacity: .5; }
.shop-crumbs a { display: inline-flex; align-items: center; min-height: 32px; padding-inline: 4px; margin-inline: -4px; }
.shop-crumbs a:hover { color: var(--text); }
.shop-crumbs [aria-current] { color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; }

@media (forced-colors: active) {
  .shop-card, .shop-meter, .shop-couponPill, .shop-benefit, .shop-tabbar { border: 1px solid CanvasText; }
}

/* ─── new arrivals: an editorial rail ─────────────────────────────── */
.shop-slider { position: relative; }
.shop-sliderNav { display: flex; justify-content: flex-end; gap: var(--space-2); margin-block-end: var(--space-4); }
.shop-sliderBtn {
  display: inline-grid; place-items: center; width: var(--touch-min); height: var(--touch-min);
  border: var(--hairline) solid var(--border-strong); border-radius: var(--radius-button); color: var(--text);
  transition: background-color var(--duration-fill) var(--ease-standard), color var(--duration-fill) var(--ease-standard), opacity var(--duration-hover) var(--ease-standard);
}
@media (hover: hover) { .shop-sliderBtn:hover:not(:disabled) { background: var(--text); color: var(--bg); } }
.shop-sliderBtn:disabled { opacity: .3; cursor: default; }
.shop-sliderTrack {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: var(--space-4);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-block: 6px var(--space-2); /* room for the focus ring */
}
.shop-sliderTrack::-webkit-scrollbar { display: none; }
.shop-sliderTrack > li { scroll-snap-align: start; }
@media (pointer: fine) { .shop-sliderTrack { cursor: grab; } }
.shop-sliderTrack[data-dragging] { scroll-snap-type: none; cursor: grabbing; user-select: none; }
@media (min-width: 720px) { .shop-sliderTrack { grid-auto-columns: calc((100% - 2 * var(--space-6)) / 3); gap: var(--space-6); } }
@media (min-width: 1024px) { .shop-sliderTrack { grid-auto-columns: calc((100% - 3 * var(--space-8)) / 4); gap: var(--space-8); } }

/* ─── editorial picture between the product rows: full-bleed ─────── */
.shop-editorialBreak { position: relative; margin-block-start: var(--section-space); height: clamp(320px, 52vw, 720px); background: var(--stage); overflow: hidden; }
.shop-editorialImg { object-fit: cover; }
@media (min-width: 1024px) { .shop-editorialBreak { margin-block-start: var(--section-space-lg); } }

/* ─── placeholders for owner content (development only) ────────────── */
.shop-placeholder {
  display: grid; place-content: center; justify-items: center; gap: var(--space-2); min-height: 160px; padding: var(--space-6);
  border: var(--hairline) dashed var(--border-strong); background: var(--surface-2); color: var(--text-muted); text-align: center;
}
.shop-placeholder .micro { color: var(--text); }
.shop-placeholderFa { font-size: var(--fs-caption); }
.shop-placeholderFill { position: absolute; inset: var(--space-4); min-height: 0; }

/* touch screens: every link and control is at least 44 × 44px (the type and the look stay as they are) */
@media (pointer: coarse) {
  .shop-moreLink, .shop-sectionHeadCenter .shop-moreLink { min-height: var(--touch-min); }
  .shop-crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: var(--touch-min); min-width: var(--touch-min); }
  .shop-footerLinks a { min-height: var(--touch-min); }
  .shop-footerRow a { display: inline-flex; align-items: center; min-height: var(--touch-min); min-width: var(--touch-min); }
  .shop-footerRow:has(a) { align-items: center; }
  .shop-footerRow:has(a) svg { margin-block-start: 0; }
}

/* ── components/header.css ── */
/* Generated by scripts/export-kit.mjs from src/components/shop/header.module.css — edit the source, not this file. */
/* every local class .x of the module is .header-x here; :global() classes keep their name */
/* The house header. The logo row is white over the page; translucent porcelain with a blur once the page scrolls
   (condensed); black over a «scene» (.onDark remaps the tokens).
   Phones: one 72px row (search · logo · bag). From 860px: an 84px logo row and, floating beneath it, the navigation as
   a 50px capsule of liquid glass (--nav-h) in a 64px row of empty air (--nav-row-h). */

.header-header { position: sticky; top: 0; z-index: var(--z-header); }
.header-bar {
  position: relative; z-index: 2; /* above the navigation row, so the search bar can drop over it */
  background: var(--bg);
  color: var(--text);
  box-shadow: inset 0 -1px 0 var(--border-subtle);
  transition: background-color .45s var(--ease-standard), box-shadow .45s var(--ease-standard);
}
.header-header[data-condensed] .header-bar:not([data-glass='dark']) {
  background: var(--header-scrolled-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.header-bar[data-glass='dark'] { background: var(--black); }

.header-row { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-row-h); transition: height var(--duration-luxe) var(--ease-luxe); }
.header-start { display: flex; align-items: center; justify-self: start; }
.header-end { display: flex; align-items: center; gap: 2px; justify-self: end; }

/* logo: the PP mark and the English wordmark side by side; the ink follows the ground */
.header-logo { display: inline-flex; align-items: center; min-height: var(--touch-min); }
.header-lockup { display: inline-flex; align-items: center; gap: 12px; }
.header-mark { height: var(--logo-h); width: auto; transition: height var(--duration-luxe) var(--ease-luxe); }
.header-word { height: calc(var(--logo-h) * .42); width: auto; transition: height var(--duration-luxe) var(--ease-luxe); }
.header-header[data-condensed] .header-row { height: var(--header-row-h-condensed); }
.header-header[data-condensed] .header-mark { height: var(--logo-h-condensed); }
.header-header[data-condensed] .header-word { height: calc(var(--logo-h-condensed) * .42); }
.header-lockup[data-ink='light'] { display: none; }
.header-bar[data-glass='dark'] .header-lockup[data-ink='dark'] { display: none; }
.header-bar[data-glass='dark'] .header-lockup[data-ink='light'] { display: inline-flex; }

.header-search { display: inline-flex; align-items: center; gap: 10px; min-height: var(--touch-min); padding-inline: 2px 6px; color: var(--text); }
.header-searchText { display: none; font-size: var(--fs-micro-lg); color: var(--text-muted); transition: color var(--duration-hover) var(--ease-standard); }
.header-search:hover .header-searchText, .header-search[aria-expanded='true'] .header-searchText { color: var(--text); }

/* ── search in place: one card of frosted glass drops from under the control — the field, then suggestions or results ── */
.header-searchWrap { position: relative; }
.header-searchPop {
  --search-muted: color-mix(in srgb, var(--text) 74%, transparent);
  position: absolute; top: calc(100% + 6px); inset-inline-start: -8px; z-index: 5;
  display: grid; gap: 4px; width: min(540px, calc(100vw - 2 * var(--gutter) + 16px)); padding: 10px;
  border-radius: var(--radius-sheet); color: var(--text);
  /* heavy frosting: the page behind turns to soft light, never to readable words */
  background: var(--search-glass);
  -webkit-backdrop-filter: blur(56px) saturate(180%); backdrop-filter: blur(56px) saturate(180%);
  box-shadow:
    inset 0 1.5px 0 var(--white),                                             /* the lit top edge */
    inset 0 -1px 0 color-mix(in srgb, var(--white) 50%, transparent),
    inset 0 0 0 1px color-mix(in srgb, var(--white) 60%, transparent),       /* the rim */
    inset 0 0 28px color-mix(in srgb, var(--white) 30%, transparent),        /* light held inside the glass */
    0 0 0 0.5px color-mix(in srgb, var(--black) 10%, transparent),
    0 40px 80px -36px color-mix(in srgb, var(--black) 45%, transparent), 0 6px 18px -8px color-mix(in srgb, var(--black) 10%, transparent);
  /* closed: rolled up under the control */
  opacity: 0; translate: 0 -10px; clip-path: inset(0 -60px 100% -60px);
  pointer-events: none;
  transition: opacity 160ms var(--ease-out), translate 160ms var(--ease-out), clip-path 160ms var(--ease-out);
}
.header-searchPop[data-open] {
  opacity: 1; translate: 0 0; clip-path: inset(-60px -60px -100px -60px); pointer-events: auto;
  transition-duration: 260ms;
}
.header-searchPop[data-instant] { transition: none; }

/* the field: a brighter drop of glass inside the card */
.header-searchBar {
  position: relative; display: flex; align-items: center; gap: 10px; height: 58px; padding-inline: 20px 8px;
  border-radius: var(--radius-tabbar); color: var(--text); background: var(--search-lens);
  box-shadow:
    inset 0 1.5px 0 var(--white), inset 0 0 0 1px color-mix(in srgb, var(--white) 75%, transparent),
    0 0 0 0.5px color-mix(in srgb, var(--black) 10%, transparent), 0 6px 16px -10px color-mix(in srgb, var(--black) 25%, transparent);
  transition: box-shadow var(--duration-hover) var(--ease-standard);
}
.header-searchBar:focus-within { box-shadow:
    inset 0 1.5px 0 var(--white), inset 0 0 0 1px color-mix(in srgb, var(--white) 85%, transparent),
    0 0 0 1px color-mix(in srgb, var(--black) 16%, transparent), 0 8px 20px -10px color-mix(in srgb, var(--black) 30%, transparent); }
.header-searchGlyph { display: grid; place-items: center; color: var(--search-muted); }
.header-searchBar input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; color: var(--text); font-size: 1.0625rem; }
.header-searchBar input::placeholder { color: var(--search-muted); font-weight: 300; }
.header-searchBar input::-webkit-search-cancel-button { display: none; }
.header-searchClear {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%;
  color: var(--search-muted); background: color-mix(in srgb, var(--black) 6%, transparent);
  transition: color var(--duration-hover) var(--ease-standard), background-color var(--duration-hover) var(--ease-standard);
}
.header-searchClear:hover { color: var(--text); background: color-mix(in srgb, var(--black) 10%, transparent); }

.header-searchBody { display: grid; gap: 4px; max-height: min(62dvh, 560px); overflow-y: auto; overscroll-behavior: contain; padding: 8px 6px 4px; }
.header-searchH { display: flex; align-items: baseline; gap: 10px; padding: 6px 4px 10px; font-size: var(--fs-caption); font-weight: 400; color: var(--search-muted); }
.header-searchH .micro { color: var(--text); }

/* four suggestions: the bottle photographs, with the name beneath */
.header-searchSuggest { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.header-searchTile { display: grid; gap: 2px; padding-block-end: 4px; border-radius: var(--radius-lg); text-align: center; }
.header-searchTileMedia { position: relative; display: block; aspect-ratio: 4 / 5; margin-block-end: 6px; overflow: hidden; border-radius: var(--radius-lg); background: var(--stage); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--black) 6%, transparent); }
.header-searchTileMedia img { object-fit: cover; scale: 1.5; transition: scale var(--image-zoom-duration) var(--ease-luxe); } /* the packshots sit small on their ground: bring the bottle forward */
.header-searchTileEn { font-family: var(--font-en-display); font-size: .9375rem; line-height: 1.2; }
.header-searchTileFa { font-size: var(--fs-caption); color: var(--search-muted); }

.header-searchNote { padding: 10px 12px; font-size: var(--fs-small); color: var(--search-muted); }
.header-searchChips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 4px 8px; }
.header-searchChips > a {
  display: inline-flex; align-items: center; min-height: 36px; padding-inline: 14px; border-radius: var(--radius-pill);
  font-size: var(--fs-caption); color: var(--text); background: var(--search-chip);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--white) 90%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--white) 55%, transparent), 0 0 0 0.5px color-mix(in srgb, var(--black) 9%, transparent);
}
.header-searchList { display: grid; gap: 2px; }
.header-searchItem { display: flex; align-items: center; gap: 12px; padding: 6px 8px; border-radius: var(--radius-lg); transition: background-color var(--duration-hover) var(--ease-standard); }
.header-searchItem:focus-visible, .header-searchChips > a:focus-visible, .header-searchAll:focus-visible, .header-searchTile:focus-visible { outline-offset: -2px; }
.header-searchItem:focus-visible { background: var(--search-chip); }
.header-searchThumb { width: 44px; flex: none; overflow: hidden; border-radius: var(--radius-sm); background: var(--stage); }
.header-searchThumb img { display: block; width: 100%; height: auto; }
.header-searchName { flex: 1; display: grid; min-width: 0; line-height: 1.5; font-size: var(--fs-caption); }
.header-searchName .en { justify-self: stretch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: start; direction: rtl; font-size: 1rem; line-height: 1.3; }
.header-searchName small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-caption); color: var(--search-muted); }
.header-searchPrice { font-family: var(--font-en-ui); font-size: var(--fs-caption); white-space: nowrap; }
.header-searchAll { display: inline-flex; align-items: center; justify-self: start; gap: 6px; min-height: 40px; padding-inline: 10px; border-radius: var(--radius-lg); font-size: var(--fs-caption); color: var(--text); }
@media (hover: hover) and (pointer: fine) {
  .header-searchItem:hover, .header-searchChips > a:hover, .header-searchAll:hover { background: var(--search-chip); }
  .header-searchTile:hover .header-searchTileMedia img { scale: calc(1.5 * var(--image-zoom)); }
}

/* phones: the card spans the width under the header */
@media (max-width: 559.98px) {
  .header-searchPop { position: fixed; top: calc(var(--header-row-h) + 6px); inset-inline: var(--gutter); width: auto; }
  .header-searchSuggest { gap: 8px; }
  .header-searchTileEn { font-size: .8125rem; }
}

/* over a black scene the card is dark glass (.onDark has already turned the words light) */
.header-bar[data-glass='dark'] .header-searchPop { background: var(--search-glass-dark); box-shadow: var(--glass-edge-dark), 0 40px 80px -36px color-mix(in srgb, var(--black) 70%, transparent); }
.header-bar[data-glass='dark'] .header-searchBar, .header-bar[data-glass='dark'] .header-searchChips > a { background: var(--glass-lens-dark); box-shadow: var(--glass-edge-dark); }
@media (hover: hover) and (pointer: fine) {
  .header-bar[data-glass='dark'] .header-searchItem:hover, .header-bar[data-glass='dark'] .header-searchAll:hover { background: var(--glass-lens-dark); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header-searchPop { background: var(--surface-1); }
}
@media (prefers-reduced-transparency: reduce) {
  .header-searchPop { background: var(--surface-1); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header-bar[data-glass='dark'] .header-searchPop { background: var(--black-raised); }
}
@media (prefers-contrast: more) {
  .header-searchPop { background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--text); }
  .header-searchBar { box-shadow: inset 0 0 0 1px var(--text); }
}
/* less motion: it fades in place, no slide */
@media (prefers-reduced-motion: reduce) {
  .header-searchPop, .header-searchPop[data-open] { translate: none; clip-path: none; transition-property: opacity; }
  .header-searchTileMedia img { transition: none; }
}


.header-action { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--text); transition: color var(--duration-hover) var(--ease-standard); }
.header-action:hover { color: var(--accent-ink); }
.header-wide { display: none; }
.header-count {
  position: absolute; top: 5px; inset-inline-end: 3px; min-width: 17px; height: 17px; padding-inline: 4px; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--on-accent); font-size: 10px; font-weight: 600; line-height: 17px; text-align: center;
}

/* navigation (from 860px): a capsule of liquid glass floating under the logo row. English capitals, dot-separated;
   a lighter lens of glass glides to the item under the pointer and rests on the current one. */
.header-nav { display: none; }

@media (min-width: 560px) {
  .header-wide { display: inline-grid; }
}
@media (min-width: 860px) {
  .header-searchText { display: inline; }
  /* the logo row ends in a soft fade, not a hairline: the page passes under the capsule beneath it */
  .header-bar { box-shadow: none; }
  .header-bar::after {
    content: ''; position: absolute; inset-inline: 0; top: 100%; height: 18px; pointer-events: none;
    background: linear-gradient(to bottom, color-mix(in srgb, var(--black) 7%, transparent), transparent);
    opacity: 0; transition: opacity .45s var(--ease-standard);
  }
  .header-header[data-condensed] .header-bar::after { opacity: 1; }

  /* the row itself is empty air: only the capsule takes the pointer */
  .header-nav { display: flex; justify-content: center; height: var(--nav-row-h); padding-block-start: 6px; pointer-events: none; }
  .header-navList {
    position: relative; display: flex; align-items: center; height: var(--nav-h); padding-inline: 5px; pointer-events: auto;
    border-radius: var(--radius-tabbar); transition: height var(--duration-luxe) var(--ease-luxe);
  }
  /* the glass is a layer of its own, so the mega sheet (a descendant of the list) can blur the page as well */
  .header-navList::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: var(--nav-glass);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-edge), inset 0 0 0 1px color-mix(in srgb, var(--black) 6%, transparent), var(--glass-shadow);
    transition: background-color .45s var(--ease-standard), box-shadow .45s var(--ease-standard);
  }
  .header-nav[data-glass='dark'] .header-navList::before { background: var(--glass-dark); box-shadow: var(--glass-edge-dark), var(--glass-shadow); }
  /* while a sheet is open the capsule thickens to the sheet's own glass, so the dimmed page does not grey it */
  .header-header:has(.header-hasMega:hover, .header-hasMega:focus-within) .header-nav:not([data-glass='dark']) .header-navList::before { background: var(--mega-glass); }
  .header-header[data-condensed] .header-navList { height: var(--nav-h-condensed); }
  .header-navList > li { display: flex; align-items: center; height: 100%; }
  .header-navList > li + li::before { content: ''; position: relative; width: 3px; height: 3px; margin-inline: clamp(1px, .35vw, 6px); border-radius: 50%; background: var(--accent-icon); }
  .header-navLink {
    position: relative; display: inline-flex; align-items: center; height: 100%; padding-inline: clamp(6px, 1.15vw, 18px);
    font-family: var(--font-en-ui); font-size: clamp(.71875rem, .4rem + .6vw, .9375rem); font-weight: 500; letter-spacing: .15em; text-transform: uppercase;
    color: var(--text); white-space: nowrap; border-radius: var(--radius-tabbar); outline-offset: -4px; transition: color var(--duration-hover) var(--ease-standard);
  }
  .header-navLabel { position: relative; z-index: 1; }
  @media (max-width: 999px) { .header-navLink { letter-spacing: .11em; } } /* eight words still clear the edges at 860px */
  /* the lens: a lighter drop of glass with a hairline of gold (the phone tab bar has the same one) */
  .header-navLens {
    position: absolute; inset-block: 5px; inset-inline: 0; border-radius: var(--radius-tabbar);
    background: var(--glass-lens);
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--white) 90%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--gold) 30%, transparent), 0 4px 12px -6px color-mix(in srgb, var(--black) 22%, transparent);
  }
  .header-nav[data-glass='dark'] .header-navLens {
    background: var(--glass-lens-dark);
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--white) 24%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--gold) 45%, transparent);
  }
  /* the current page keeps its gold hairline under the word */
  .header-navLink[aria-current='page'] .header-navLabel::after { content: ''; position: absolute; inset-inline: 0 .15em; bottom: -5px; height: 1px; background: var(--accent-icon); }
  .header-navLink:active .header-navLabel { transform: scale(.97); transition: transform 90ms var(--ease-out); }

  /* mega-menu: a frosted sheet floating under the capsule; links in two languages and one picture */
  .header-mega {
    /* centred on the capsule, which is centred on the page (physical «left»: the same in both directions) */
    position: absolute; left: 50%; top: calc(100% + 10px); z-index: 2; width: min(1120px, 100vw - 48px); translate: -50% -8px;
    background: var(--mega-glass); color: var(--text); border-radius: var(--radius-tabbar);
    -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
    box-shadow: var(--glass-edge), inset 0 0 0 1px color-mix(in srgb, var(--black) 6%, transparent), 0 40px 80px -36px color-mix(in srgb, var(--black) 40%, transparent), 0 4px 12px color-mix(in srgb, var(--black) 5%, transparent);
    opacity: 0; visibility: hidden; scale: .985; transform-origin: 50% 0;
    transition: opacity var(--duration-hover) var(--ease-standard), translate var(--duration-luxe) var(--ease-luxe), scale var(--duration-luxe) var(--ease-luxe), visibility 0s linear var(--duration-hover);
  }
  /* the pointer crosses the gap between the capsule and the sheet without closing it */
  .header-mega::before { content: ''; position: absolute; inset-inline: 0; bottom: 100%; height: 22px; }
  .header-hasMega:hover > .header-mega, .header-hasMega:focus-within > .header-mega { opacity: 1; visibility: visible; translate: -50% 0; scale: 1; transition-delay: 0s; }
  .header-megaInner { display: grid; grid-template-columns: 140px 1fr 330px; gap: var(--space-12); align-items: start; padding-block: var(--space-8); }
  .header-megaTitle { color: var(--accent-ink); padding-block-start: 6px; }
  .header-megaLinks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-12); }
  .header-megaLink { display: inline-grid; padding-block: 2px; font-family: var(--font-en-display); font-size: var(--fs-en-h3); line-height: 1.2; transition: color var(--duration-hover) var(--ease-standard); }
  .header-megaLink:hover { color: var(--accent-ink); }
  /* the frame is 3:2, exactly the proportions of the picture made for it: nothing of the bottles is cut */
  .header-megaMedia { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); background: var(--stage); }
  .header-megaImg { object-fit: cover; }
  .header-nav[data-glass='dark'] .header-mega { background: var(--mega-glass-dark); box-shadow: var(--glass-edge-dark), 0 40px 80px -36px color-mix(in srgb, var(--black) 70%, transparent); }

  /* without blur, or when the visitor asks for less transparency or more contrast: solid, outlined surfaces */
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .header-navList::before, .header-mega { background: var(--bg); }
    .header-nav[data-glass='dark'] .header-navList::before, .header-nav[data-glass='dark'] .header-mega { background: var(--black-raised); }
  }
}
@media (min-width: 860px) and (prefers-reduced-transparency: reduce) {
  .header-navList::before, .header-mega { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header-nav[data-glass='dark'] .header-navList::before, .header-nav[data-glass='dark'] .header-mega { background: var(--black-raised); }
}
@media (min-width: 860px) and (prefers-contrast: more) {
  .header-navList::before, .header-mega { background: var(--bg); box-shadow: inset 0 0 0 1px var(--text); }
  .header-nav[data-glass='dark'] .header-navList::before, .header-nav[data-glass='dark'] .header-mega { background: var(--black); }
  .header-navLens { box-shadow: inset 0 0 0 1px var(--text); }
}
@media (prefers-reduced-motion: reduce) { .header-bar, .header-bar::after, .header-row, .header-mark, .header-word, .header-navList, .header-navList::before, .header-mega { transition: none; } .header-mega { translate: -50% 0; scale: 1; } .header-navLink:active .header-navLabel { transform: none; } }

/* next/image «fill» needs a positioned parent, also while the mega menu is hidden on phones */
.header-megaMedia { position: relative; }

/* the page behind an open mega menu: ink at 20%, under the header; desktop only, never takes a click */
.header-megaScrim { display: none; }
@media (min-width: 860px) {
  .header-megaScrim {
    display: block; position: fixed; inset: 0; z-index: calc(var(--z-header) - 1); pointer-events: none;
    background: var(--scrim-menu); opacity: 0; visibility: hidden;
    transition: opacity var(--duration-hover) var(--ease-standard), visibility 0s linear var(--duration-hover);
  }
  .header-header:has(.header-hasMega:hover, .header-hasMega:focus-within) + .header-megaScrim { opacity: 1; visibility: visible; transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) { .header-megaScrim { transition: none; } }

@media (pointer: coarse) { .header-search { min-width: var(--touch-min); justify-content: center; } }

/* ── components/advisor.css ── */
/* Generated by scripts/export-kit.mjs from src/components/shop/advisor.module.css — edit the source, not this file. */
/* every local class .x of the module is .advisor-x here; :global() classes keep their name */
/* The scent concierge (Advisor.tsx), four designs:
   glass   — a frosted-glass card on a warm light, the conversation inside it
   onyx    — the same conversation on the footer's rich black, gold for the concierge's words
   atelier — the conversation beside a large still life that becomes the recommended bottle
   whisper — one question, one field; the answer unfolds beneath it as three bottles
   Motion: each new line rises softly into place once (it answers the visitor); the typing dots breathe; nothing else moves. */
.advisor-advisor { --rise: 520ms; position: relative; isolation: isolate; margin-block-start: var(--section-space); }
.advisor-head { display: grid; gap: var(--space-2); }
.advisor-head[data-center] { justify-items: center; text-align: center; }
.advisor-eyebrow { font-family: var(--font-en-ui); font-size: var(--fs-micro); font-weight: 500; letter-spacing: var(--tracking-micro); text-transform: uppercase; color: var(--accent-ink); }
.advisor-title { display: grid; gap: var(--space-1); font-weight: 400; }
.advisor-title [lang='en'] { font-family: var(--font-en-display); font-size: var(--fs-en-h2); font-weight: 300; line-height: 1.05; letter-spacing: var(--tracking-en); text-transform: uppercase; }
.advisor-title span:last-child { font-size: var(--fs-fa-title); font-weight: var(--fw-fa-title); color: var(--text-muted); }

/* ─── the conversation ─────────────────────────────────────────── */
.advisor-log { display: grid; align-content: start; gap: var(--space-3); max-height: 520px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-block: var(--space-6) var(--space-4); }
.advisor-turn { display: grid; gap: var(--space-3); animation: advisor-rise var(--rise) var(--ease-luxe) both; }
.advisor-bubble { max-width: 34em; padding: var(--space-3) var(--space-4); border-radius: var(--radius-card); font-size: var(--fs-small); line-height: 2; }
.advisor-bubble[data-who='advisor'] { justify-self: start; background: var(--surface-1); box-shadow: 0 0 0 1px var(--border-subtle); }
.advisor-bubble[data-who='me'] { justify-self: end; background: var(--action); color: var(--on-action); }
.advisor-picks { display: grid; gap: var(--space-3); justify-items: start; }
@keyframes advisor-rise { from { opacity: 0; translate: 0 10px; } }

.advisor-typing { display: inline-flex; gap: 6px; justify-self: start; padding: var(--space-3) var(--space-4); border-radius: var(--radius-card); background: var(--surface-1); box-shadow: 0 0 0 1px var(--border-subtle); }
.advisor-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: advisor-breathe 1.2s var(--ease-in-out) infinite; }
.advisor-typing i:nth-child(2) { animation-delay: .15s; }
.advisor-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes advisor-breathe { 0%, 100% { opacity: .25; scale: .8; } 50% { opacity: 1; scale: 1; } }

/* the nearest perfume */
.advisor-featured { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-4); align-items: center; width: min(100%, 420px); padding: var(--space-3); border-radius: var(--radius-card); background: var(--surface-1); box-shadow: 0 0 0 1px var(--border-subtle); transition: box-shadow var(--duration-hover) var(--ease-standard); }
@media (hover: hover) { .advisor-featured:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 60%, transparent), 0 18px 34px -24px color-mix(in srgb, var(--black) 45%, transparent); } }
.advisor-featPic { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-sm); background: var(--stage); }
.advisor-featPic img { object-fit: cover; transition: scale var(--duration-luxe) var(--ease-luxe); }
@media (hover: hover) { .advisor-featured:hover .advisor-featPic img { scale: 1.04; } }
.advisor-featText { display: grid; gap: 6px; min-width: 0; }
.advisor-featEn { font-family: var(--font-en-display); font-size: var(--fs-en-name); line-height: 1.15; letter-spacing: var(--tracking-en); text-transform: uppercase; }
.advisor-featFa { font-size: var(--fs-caption); color: var(--text-muted); }
.advisor-shared { display: flex; flex-wrap: wrap; gap: 4px; }
.advisor-shared i { font-style: normal; padding: 2px 10px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--gold) 12%, transparent); color: var(--gold-ink); font-size: var(--fs-caption); }
.advisor-featPrice { font-family: var(--font-en-ui); font-size: var(--fs-small); }
.advisor-featPrice small { color: var(--text-muted); }
.advisor-others { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.advisor-others a { display: inline-flex; align-items: center; gap: var(--space-2); padding: 4px; padding-inline-end: var(--space-3); border-radius: var(--radius-pill); box-shadow: 0 0 0 1px var(--border-subtle); background: var(--surface-1); transition: box-shadow var(--duration-hover) var(--ease-standard); }
@media (hover: hover) { .advisor-others a:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 60%, transparent); } }
.advisor-otherPic { position: relative; width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: var(--stage); flex: none; }
.advisor-otherPic img { object-fit: cover; }
.advisor-otherEn { display: block; font-family: var(--font-en-display); font-size: 1rem; letter-spacing: var(--tracking-en); text-transform: uppercase; line-height: 1.2; }
.advisor-otherFa { display: block; font-size: var(--fs-caption); color: var(--text-muted); }
.advisor-more { min-height: 32px; font-size: var(--fs-caption); color: var(--text-muted); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--border-strong); transition: color var(--duration-hover) var(--ease-standard), text-decoration-color var(--duration-hover) var(--ease-standard); }
@media (hover: hover) { .advisor-more:hover { color: var(--text); text-decoration-color: var(--gold); } }

/* ready-made beginnings */
.advisor-prompts { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block-end: var(--space-4); }
.advisor-prompts button { min-height: 36px; padding-inline: var(--space-4); border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--border-subtle); font-size: var(--fs-caption); color: var(--text-muted); transition: box-shadow var(--duration-hover) var(--ease-standard), color var(--duration-hover) var(--ease-standard), background-color var(--duration-hover) var(--ease-standard); }
@media (hover: hover) { .advisor-prompts button:hover { color: var(--text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 70%, transparent); } }

/* the field: a capsule with a round send button at its far end */
.advisor-composer { display: flex; align-items: center; gap: var(--space-2); padding: 6px; padding-inline-start: var(--space-6); border-radius: var(--radius-tabbar); background: var(--surface-1); box-shadow: 0 0 0 1px var(--border-strong); transition: box-shadow var(--duration-hover) var(--ease-standard); }
.advisor-composer:focus-within { box-shadow: 0 0 0 1px var(--gold), 0 0 0 5px color-mix(in srgb, var(--gold) 14%, transparent); }
.advisor-composer input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: none; outline: none; font-size: 16px; color: var(--text); }
.advisor-composer input::placeholder { color: var(--text-muted); }
.advisor-send { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--action); color: var(--on-action); transition: opacity var(--duration-hover) var(--ease-standard), scale var(--duration-press) var(--ease-out); }
.advisor-send:disabled { opacity: .3; cursor: default; }
.advisor-send:not(:disabled):active { scale: .92; }
.advisor-send:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.advisor-composer[data-big] { padding: 8px; padding-inline-start: var(--space-6); }
.advisor-composer[data-big] input { min-height: 52px; font-size: 1.0625rem; }
.advisor-composer[data-big] .advisor-send { width: 52px; height: 52px; }

/* ─── glass ────────────────────────────────────────────────────── */
.advisor-advisor[data-design='glass'] { padding: var(--space-8) var(--gutter); }
.advisor-advisor[data-design='glass']::before {
  content: ''; position: absolute; inset: 0 4%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(36% 46% at 18% 22%, color-mix(in srgb, var(--gold) 34%, transparent), transparent 72%),
    radial-gradient(40% 50% at 82% 70%, var(--cream), transparent 72%),
    radial-gradient(30% 40% at 60% 10%, color-mix(in srgb, var(--gold-light) 34%, transparent), transparent 72%);
}
.advisor-advisor[data-design='glass'] .advisor-panel {
  display: grid; gap: var(--space-8);
  max-width: 1180px; margin-inline: auto; padding: var(--space-8); border-radius: var(--radius-sheet-lg);
  background: linear-gradient(150deg, color-mix(in srgb, var(--white) 72%, transparent), color-mix(in srgb, var(--white) 42%, transparent) 50%, color-mix(in srgb, var(--white) 60%, transparent));
  -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%);
  box-shadow: var(--glass-edge), var(--glass-shadow);
}
.advisor-aside { display: grid; align-content: start; gap: var(--space-4); }
.advisor-aside .advisor-lede { color: var(--text-muted); font-size: var(--fs-small); }
/* the conversation: a recessed well of fixed height, so the pane keeps its shape as answers arrive */
.advisor-main { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: var(--space-4); min-width: 0; }
.advisor-advisor[data-design='glass'] .advisor-log {
  height: 440px; max-height: none; padding: var(--space-6); border-radius: var(--radius-sheet);
  background: color-mix(in srgb, var(--white) 46%, transparent); box-shadow: inset 0 1px 3px color-mix(in srgb, var(--black) 7%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--black) 4%, transparent);
}
.advisor-advisor[data-design='glass'] .advisor-picks { grid-template-columns: minmax(0, 420px) auto; align-items: end; column-gap: var(--space-4); }
.advisor-advisor[data-design='glass'] .advisor-others { flex-direction: column; }
.advisor-advisor[data-design='glass'] .advisor-picks .advisor-more { grid-column: 1 / -1; justify-self: start; }
.advisor-empty { align-self: center; justify-self: center; margin-block-start: 170px; font-size: var(--fs-caption); color: var(--text-muted); }
@media (max-width: 899.98px) {
  .advisor-advisor[data-design='glass'] .advisor-log { height: 400px; padding: var(--space-4); }
  .advisor-advisor[data-design='glass'] .advisor-picks { grid-template-columns: 1fr; }
  .advisor-advisor[data-design='glass'] .advisor-others { flex-direction: row; }
  .advisor-empty { margin-block-start: 150px; }
}
@media (max-width: 719.98px) { .advisor-advisor[data-design='glass'] .advisor-panel { padding: var(--space-6) var(--space-4); } }
@media (min-width: 900px) {
  .advisor-advisor[data-design='glass'] .advisor-panel { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: var(--space-12); padding: var(--space-12); align-items: stretch; }
  .advisor-advisor[data-design='glass'] .advisor-aside { padding-block-start: var(--space-2); }
}

/* ─── onyx ─────────────────────────────────────────────────────── */
.advisor-advisor[data-design='onyx'] { margin-inline: clamp(12px, 1.6vw, 24px); padding: var(--space-16) var(--gutter); border-radius: var(--radius-xl); background: var(--rich-black); }
.advisor-advisor[data-design='onyx'] .advisor-panel { max-width: 760px; margin-inline: auto; }
.advisor-advisor[data-design='onyx'] .advisor-eyebrow { color: var(--gold); }
.advisor-advisor[data-design='onyx'] .advisor-bubble[data-who='advisor'] { background: none; box-shadow: none; padding-inline: 0; color: var(--gold-light); font-size: var(--fs-body); }
.advisor-advisor[data-design='onyx'] .advisor-bubble[data-who='me'] { background: var(--scene-surface-2); color: var(--text); }
.advisor-advisor[data-design='onyx'] :is(.advisor-featured, .advisor-others a, .advisor-typing) { background: var(--scene-surface); box-shadow: 0 0 0 1px var(--scene-border); }
.advisor-advisor[data-design='onyx'] .advisor-shared i { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold-light); }
.advisor-advisor[data-design='onyx'] .advisor-composer { background: transparent; box-shadow: 0 0 0 1px var(--scene-border-strong); }
.advisor-advisor[data-design='onyx'] .advisor-composer:focus-within { box-shadow: 0 0 0 1px var(--gold), 0 0 0 5px color-mix(in srgb, var(--gold) 20%, transparent); }
.advisor-advisor[data-design='onyx'] .advisor-send { background: var(--gold); color: var(--black); }
.advisor-advisor[data-design='onyx'] .advisor-prompts button { box-shadow: inset 0 0 0 1px var(--scene-border); }

/* ─── atelier ──────────────────────────────────────────────────── */
.advisor-advisor[data-design='atelier'] { padding-inline: var(--gutter); }
.advisor-split { display: grid; gap: var(--space-8); max-width: var(--container-max); margin-inline: auto; }
.advisor-talk { display: grid; align-content: start; }
.advisor-talk .advisor-log { max-height: 380px; }
.advisor-stageArt { position: relative; min-height: 360px; }
.advisor-still { position: relative; height: 100%; min-height: 360px; overflow: hidden; border-radius: var(--radius-xl); background: var(--stage); }
.advisor-still img { object-fit: cover; }
.advisor-stageArt .advisor-reveal { display: grid; gap: var(--space-4); justify-items: start; }
.advisor-stageArt .advisor-featured[data-large] { grid-template-columns: 1fr; width: 100%; padding: 0; background: none; box-shadow: none; }
.advisor-stageArt .advisor-featured[data-large] .advisor-featPic { aspect-ratio: 4 / 3; border-radius: var(--radius-xl); }
.advisor-stageArt .advisor-featured[data-large] .advisor-featEn { font-size: var(--fs-en-h3); }
@media (min-width: 900px) {
  .advisor-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--space-16); align-items: stretch; }
}

/* ─── whisper ──────────────────────────────────────────────────── */
.advisor-advisor[data-design='whisper'] { display: grid; justify-items: center; gap: var(--space-6); max-width: 900px; margin-inline: auto; padding-inline: var(--gutter); text-align: center; }
.advisor-advisor[data-design='whisper'] .advisor-composer { width: min(100%, 640px); text-align: start; }
.advisor-advisor[data-design='whisper'] .advisor-prompts { justify-content: center; }
.advisor-lede { max-width: 36em; color: var(--text-muted); line-height: 2; }
.advisor-answer { width: 100%; min-height: 1px; }
.advisor-answer .advisor-typing { margin-inline: auto; }
.advisor-echo { font-family: var(--font-en-display); font-size: var(--fs-en-h3); color: var(--text-muted); }
.advisor-answerText { max-width: 40em; margin: var(--space-2) auto var(--space-6); line-height: 2; }
.advisor-row { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); text-align: start; }
.advisor-row li { animation: advisor-rise var(--rise) var(--ease-luxe) both; }
.advisor-row .advisor-featured { grid-template-columns: 1fr; width: 100%; height: 100%; align-content: start; padding: var(--space-3) var(--space-3) var(--space-4); }
.advisor-row .advisor-featPic { aspect-ratio: 1; }
.advisor-row .advisor-featText { padding-inline: var(--space-2); }

.advisor-reveal { animation: advisor-rise var(--rise) var(--ease-luxe) both; }

@media (prefers-reduced-transparency: reduce) { .advisor-advisor[data-design='glass'] .advisor-panel { background: var(--surface-1); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-contrast: more) { .advisor-advisor[data-design='glass'] .advisor-panel { background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--text); } }
/* in the glass pane's narrow column the title keeps to two lines */
.advisor-advisor[data-design='glass'] .advisor-title [lang='en'] { font-size: clamp(2rem, 1.2rem + 1.4vw, 2.4rem); }

/* ── components/pages.css ── */
/* Generated by scripts/export-kit.mjs from src/components/pages/pages.module.css — edit the source, not this file. */
/* every local class .x of the module is .pages-x here; :global() classes keep their name */
/* Storefront page layouts. Mobile first; tablet from 720px, desktop from 1024px. */

/* ─── home hero: a full-bleed campaign ─────────────────────────────
   One panel from edge to edge, 86svh tall: the bottle on its cream ground on the
   end side (its inner edge fades into the panel), and on the start side one English display line, one quieter
   Persian line and a single pill. The picture is the LCP and paints without JavaScript.
   TODO(campaign): replace the packshot with campaign photography or a muted film; on a dark picture switch the
   pill to variant="accent" (white). */
.pages-hero { padding: 0; }
.pages-heroPanel {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end;
  min-height: clamp(560px, 82svh, 900px); border-radius: 0; background: var(--stage); /* full-bleed: square at the screen's edges */
}
.pages-heroArt { position: absolute; inset: 0 0 34% 0; z-index: -1; margin: 0;
  mask-image: linear-gradient(to bottom, black 70%, transparent); -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent); }
/* the picture settles in, then drifts slowly (a Ken Burns: scale and a little travel, transform only); it pauses
   off screen (PauseOffscreen) and stays still with reduced motion */
.pages-heroImg { object-fit: cover; object-position: center 40%; animation: pages-heroSettle 9s var(--ease-out) both, pages-heroDrift var(--hero-drift-duration) ease-in-out 9s infinite alternate; }
@keyframes pages-heroSettle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes pages-heroDrift { from { transform: scale(1); } to { transform: scale(1.06) translate3d(-1.2%, -.8%, 0); } }
.pages-heroArt[data-paused] .pages-heroImg { animation-play-state: paused; }
/* phones: the floating tab bar sits over the panel's foot, so the copy keeps clear of it */
.pages-heroCopy { display: grid; gap: var(--space-4); justify-items: center; text-align: center; padding: var(--space-8) var(--space-6) calc(var(--tabbar-h) + var(--space-8) + var(--safe-bottom)); }
.pages-heroTitle { display: grid; gap: var(--space-3); justify-items: center; }
.pages-heroEn { display: block; font-family: var(--font-en-display); font-size: clamp(2.25rem, 1.4rem + 4.2vw, 5.5rem); font-weight: 300; line-height: 1.08; letter-spacing: var(--tracking-en); text-transform: uppercase; color: var(--text); }
.pages-heroEn { text-align: center; }
.pages-heroEn .sb-wordMask { padding-block-end: .08em; }
.pages-heroFa { display: block; font-family: var(--font-fa); font-size: clamp(1.0625rem, .95rem + .5vw, 1.375rem); font-weight: var(--fw-fa-quiet); line-height: 1.9; color: var(--text-muted); }
.pages-heroCta { margin-block-start: var(--space-4); }
.pages-heroCaption { display: none; position: absolute; } /* phones: the headline is the first thing read; the caption joins from 900px */
.pages-heroCaption a { display: grid; justify-items: end; gap: 2px; color: var(--text); text-align: end; }
.pages-heroCaption a .micro { color: var(--text); }
.pages-heroCaption a > span:last-child { font-family: var(--font-fa); font-size: var(--fs-caption); color: var(--text-muted); }
.pages-heroCaption a:hover .micro { color: var(--accent-ink); }
@media (prefers-reduced-motion: reduce) { .pages-heroImg { animation: none; } }

@media (min-width: 900px) {
  .pages-heroPanel { align-content: center; min-height: clamp(600px, 86svh, 920px); }
  /* the picture on the end half; its inner edge fades into the panel */
  .pages-heroArt { inset: 0; inset-inline-start: 42%;
    mask-image: linear-gradient(to right, black 72%, transparent); -webkit-mask-image: linear-gradient(to right, black 72%, transparent); }
  .pages-heroImg { object-position: center; }
  .pages-heroCopy { justify-items: start; text-align: start; width: min(58%, 720px); padding: var(--space-16) clamp(40px, 6vw, 112px); }
  .pages-heroTitle { justify-items: start; }
  .pages-heroEn { text-align: end; } /* the English line is ltr: «end» keeps it to the right edge, where the copy starts */
  .pages-heroCaption { display: block; inset-block: auto var(--space-8); inset-inline-end: var(--space-8); }
}

/* ─── plain index pages (categories, brands) ────────────────────── */
.pages-plain { padding-block: var(--space-4) var(--space-16); }
.pages-plainTitle { font-size: var(--fs-h2); margin-block: var(--space-3) var(--space-2); }
.pages-plainLead { color: var(--text-muted); max-width: 40em; margin-block-end: var(--space-8); }

.pages-catList { display: grid; gap: var(--space-3); margin-block-start: var(--space-6); }
.pages-catRow { border: var(--hairline) solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--surface-1); }
.pages-catMain { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-3); min-height: 96px; }
.pages-catImg { position: relative; width: 72px; height: 90px; flex: none; overflow: hidden; background: var(--stage); display: grid; place-items: center; }
.pages-catImg img { width: 100%; height: 100%; object-fit: cover; }
.pages-catText { display: grid; gap: 2px; flex: 1; }
.pages-catName { font-size: var(--fs-h3); font-weight: 400; }
.pages-catBlurb { font-size: var(--fs-small); color: var(--text-muted); }
.pages-catChev { color: var(--text-muted); transition: transform var(--duration-hover) var(--ease-out); }
.pages-catMain:hover .pages-catChev { transform: translateX(-4px); color: var(--text); }
.pages-catKids { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0 var(--space-3) var(--space-3); padding-inline-start: calc(72px + var(--space-3) + var(--space-4)); }
.pages-catKids a { display: inline-flex; align-items: center; min-height: 40px; padding-inline: var(--space-3); border-radius: var(--radius-pill); background: var(--surface-2); font-size: var(--fs-small); }
.pages-catKids a:hover { background: var(--surface-inverse); color: var(--text-inverse); }
@media (max-width: 719.98px) { .pages-catKids { padding-inline-start: var(--space-3); } }
@media (min-width: 1024px) { .pages-catList { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); } }

.pages-brandGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.pages-brandCard { display: grid; gap: var(--space-1); align-content: start; height: 100%; padding: var(--space-6) var(--space-4); border: var(--hairline) solid var(--border-subtle); border-radius: var(--radius-lg); text-align: center; justify-items: center; }
.pages-brandName { font-family: var(--font-display); font-size: 1.75rem; font-weight: 300; line-height: 1.3; }
.pages-brandLatin { font-family: var(--font-serif); font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); direction: ltr; }
.pages-brandStory { display: none; font-size: var(--fs-small); color: var(--text-muted); margin-block-start: var(--space-3); max-width: 24em; }
.pages-brandCount { margin-block-start: var(--space-3); font-size: var(--fs-caption); padding: 2px 10px; border-radius: var(--radius-pill); background: var(--surface-2); }
@media (min-width: 720px) { .pages-brandGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); } .pages-brandStory { display: block; } }

/* ─── content pages ──────────────────────────────────────────────── */
.pages-article { padding-block: var(--space-4) var(--space-16); }
.pages-articleHead { display: grid; gap: var(--space-3); max-width: 40em; margin-block: var(--space-6) var(--space-8); padding-block-end: var(--space-8); border-block-end: var(--hairline) solid var(--border-subtle); }
.pages-articleHead h1 { font-size: var(--fs-h1); font-weight: var(--fw-fa-thin); }
.pages-articleHead p { font-size: var(--fs-lead); color: var(--text-muted); line-height: 2; }
.pages-articleBody { display: grid; gap: var(--space-8); max-width: 42em; }
.pages-articleBody section { display: grid; gap: var(--space-3); }
.pages-articleBody h2 { font-size: var(--fs-h3); font-weight: 500; }
.pages-articleBody p, .pages-articleBody li { line-height: 2.05; }
.pages-articleBody ul:not(.pages-contact) { display: grid; gap: var(--space-2); padding-inline-start: var(--space-4); }
.pages-articleBody ul:not(.pages-contact) li { position: relative; }
.pages-articleBody ul:not(.pages-contact) li::before { content: ''; position: absolute; inset-inline-start: calc(-1 * var(--space-4)); top: .95em; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
.pages-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.pages-table th { text-align: start; font-weight: 600; color: var(--text-muted); padding: var(--space-2); border-block-end: var(--hairline) solid var(--border-strong); }
.pages-table td { padding: var(--space-3) var(--space-2); border-block-end: var(--hairline) solid var(--border-subtle); vertical-align: top; }
.pages-table small { color: var(--text-muted); }
.pages-contact { display: grid; gap: var(--space-3); }
.pages-contact li { display: flex; align-items: center; gap: var(--space-3); }
.pages-contact a { text-decoration: underline; text-underline-offset: 4px; }
.pages-articleMore { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block-start: var(--space-16); padding-block-start: var(--space-6); border-block-start: var(--hairline) solid var(--border-subtle); }
.pages-articleMore a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--touch-min); padding-inline: var(--space-4); border: var(--hairline) solid var(--border-subtle); border-radius: var(--radius-pill); font-size: var(--fs-small); }
.pages-articleMore a:hover { border-color: var(--border-strong); }

/* ─── 404 / error ────────────────────────────────────────────────── */
.pages-lost { display: grid; gap: var(--space-8); align-items: center; justify-items: center; padding-block: var(--space-12) var(--space-16); text-align: center; }
.pages-lostArch { position: relative; width: min(60vw, 240px); aspect-ratio: 4 / 5; display: grid; place-items: center; background: var(--stage-bg); }
.pages-lostArch span { position: relative; font-size: 3.5rem; font-weight: var(--fw-fa-title); color: var(--gold); }
.pages-lostText { display: grid; gap: var(--space-3); justify-items: center; max-width: 30em; }
.pages-lostText h1 { font-size: var(--fs-h2); }
.pages-lostText p { color: var(--text-muted); }
.pages-lostCtas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-4); margin-block-start: var(--space-3); }
.pages-lostHome { font-size: var(--fs-small); text-decoration: underline; text-underline-offset: 5px; min-height: var(--touch-min); display: inline-flex; align-items: center; }
.pages-digest { font-size: var(--fs-caption); }
.pages-bareHeader { display: flex; justify-content: center; padding: var(--space-4); border-block-end: var(--hairline) solid var(--border-subtle); font-size: 1.25rem; }
.pages-bareLogo { display: inline-flex; align-items: center; gap: 10px; min-height: var(--touch-min); }
.pages-bareMark { height: 38px; width: auto; }
.pages-bareWord { height: 22px; width: auto; }
@media (min-width: 720px) {
  .pages-lost { grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: start; max-width: 860px; gap: var(--space-16); }
  .pages-lostText { justify-items: start; }
  .pages-lostCtas { justify-content: flex-start; }
}

/* ── components/catalog.css ── */
/* Generated by scripts/export-kit.mjs from src/components/catalog/catalog.module.css — edit the source, not this file. */
/* every local class .x of the module is .catalog-x here; :global() classes keep their name */
/* Product listing: /shop, /c/[slug], /brands/[slug], /search */
.catalog-page { padding-block: var(--space-4) var(--space-16); }
.catalog-head { display: grid; gap: var(--space-3); padding-block-end: var(--space-4); }
.catalog-title { font-size: var(--fs-h2); font-weight: var(--fw-fa-title); }
.catalog-titleBi { gap: var(--space-2); }
.catalog-titleBi > span[lang='en'] { font-family: var(--font-en-display); font-size: var(--fs-en-h2); font-weight: 300; line-height: 1.05; letter-spacing: var(--tracking-en); text-transform: uppercase; }
.catalog-titleBi > span[lang='fa'] { font-size: var(--fs-fa-title); }
.catalog-intro { color: var(--text-muted); max-width: 44em; }

.catalog-sub ul { display: flex; gap: var(--space-2); overflow-x: auto; scrollbar-width: none; padding-block: var(--space-1) var(--space-4); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.catalog-sub ul::-webkit-scrollbar { display: none; }
.catalog-subLink { display: inline-flex; align-items: center; min-height: var(--touch-min); padding-inline: var(--space-4); border: var(--hairline) solid var(--border-subtle); border-radius: var(--radius-pill); white-space: nowrap; font-size: var(--fs-small); transition: border-color var(--duration-hover) var(--ease-out); }
.catalog-subLink:hover { border-color: var(--border-strong); }
.catalog-subLink[aria-current] { background: var(--surface-inverse); color: var(--text-inverse); border-color: var(--surface-inverse); }
.catalog-subLink { transition: border-color var(--duration-hover) var(--ease-standard), background-color var(--duration-hover) var(--ease-standard); }

.catalog-layout { display: grid; gap: var(--space-4); }
.catalog-results { min-width: 0; }

/* toolbar — on phones and tablets it sticks under the header (or the top edge while the header is away), so
   filter and sort stay one tap away */
.catalog-toolbar { position: sticky; top: var(--header-h); z-index: 5; background: var(--bg); transition: top var(--duration-luxe) var(--ease-luxe); display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-3); margin-block-end: var(--space-2); border-block-end: var(--hairline) solid var(--border-subtle); }
.catalog-count { font-size: var(--fs-small); font-weight: 400; color: var(--text-muted); }
.catalog-sort { display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-small); color: var(--text-muted); }
.catalog-sort select { min-height: var(--control-h-sm); height: var(--control-h-sm); width: auto; min-width: 150px; font-size: var(--fs-small); }
.catalog-sort[data-pending] { opacity: .6; }
:root[data-header-hidden] .catalog-toolbar { top: 0; }
/* while the sidebar form navigates, the shelf dims a little so the click is seen */
.catalog-results { transition: opacity var(--duration-hover) var(--ease-standard); }
:root[data-filtering] .catalog-results { opacity: .55; }
.catalog-sort label { white-space: nowrap; }
.catalog-tools { display: flex; align-items: center; gap: var(--space-2); }
.catalog-sortLabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: -1px; }
/* phones: a compact select — the chevron moves in and the end padding shrinks, so the longest label
   («بیشترین امتیاز») fits instead of being cut; on the smallest phones the tools take a row of their own */
@media (max-width: 400px) {
  .catalog-sort select { min-width: 0; width: 150px; padding-inline: 12px 28px; background-position: left 10px center, left 15px center; }
}
@media (max-width: 350px) {
  .catalog-toolbar { flex-wrap: wrap; row-gap: var(--space-2); }
  .catalog-tools { flex: 1 1 100%; justify-content: space-between; }
}

.catalog-filterBtn { position: relative; display: inline-flex; align-items: center; gap: var(--space-2); height: var(--control-h-sm); padding-inline: var(--space-3); border: var(--hairline) solid var(--border-strong); border-radius: var(--radius-pill); font-size: var(--fs-small); font-weight: 500; white-space: nowrap; }
.catalog-filterBtn:hover { background: var(--surface-2); --icon-bg: var(--surface-2); }
.catalog-badge { min-width: 20px; height: 20px; padding-inline: 5px; border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font-size: var(--fs-caption); font-weight: 700; line-height: 20px; text-align: center; }

.catalog-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block: var(--space-2) var(--space-4); }
.catalog-activeChip { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 36px; padding-inline: var(--space-3) var(--space-2); border-radius: var(--radius-pill); background: var(--surface-2); font-size: var(--fs-small); }
.catalog-activeChip:hover { background: var(--surface-inverse); color: var(--text-inverse); }
@media (pointer: coarse) { .catalog-activeChip { min-height: var(--touch-min); } }

/* ─── filters: a pane of frosted glass ──────────────────────────────
   Desktop: a sticky card of frosted glass on a faint warm light; each choice applies at once. Phones and tablets: the
   same fields in the bottom sheet, applied with «نمایش نتایج». Options rest in recessed trays; a chosen one rises as a
   white lens set in a gold hairline.
   The motion is soft and short, and nothing else on the page moves: a lens fills in (--lens-in) and its gold setting
   follows a beat later; it lets go quicker (--lens-out); under the pointer an option shows a faint lens and its words
   darken, and a press sinks it a little; the switch knob slides, and stretches toward where it is going while held; a
   price thumb grows a little with a gold halo under the pointer and while it is held. With less motion the global rule
   (globals.css) makes every change instant. */
.catalog-filters { --lens-in: 340ms; --lens-out: 220ms; --tray-pad: 4px; display: grid; gap: var(--space-6); min-width: 0; }
.catalog-filters fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.catalog-side { display: none; }
/* the warm light the glass rests on: without something behind it, glass is only a white card */
.catalog-aura {
  position: absolute; inset: 3% -7%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 26% at 24% 10%, color-mix(in srgb, var(--gold) 46%, transparent), transparent 74%),
    radial-gradient(50% 32% at 84% 52%, var(--cream), transparent 74%),
    radial-gradient(42% 26% at 26% 92%, color-mix(in srgb, var(--gold-light) 50%, transparent), transparent 74%);
}
.catalog-card {
  max-height: calc(100dvh - var(--side-top) - var(--space-6)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  padding: var(--space-6); border-radius: var(--radius-tabbar);
  background: linear-gradient(150deg, color-mix(in srgb, var(--white) 76%, transparent) 0%, color-mix(in srgb, var(--white) 40%, transparent) 46%, color-mix(in srgb, var(--white) 60%, transparent) 100%);
  -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  box-shadow: var(--glass-edge), var(--glass-shadow);
}
.catalog-card::-webkit-scrollbar { display: none; }

.catalog-fHead { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); }
.catalog-fTitle { display: flex; align-items: baseline; gap: .6em; font-size: inherit; font-weight: 400; }
.catalog-fTitle [lang='en'] { font-family: var(--font-en-display); font-size: var(--fs-en-h3); line-height: 1.1; }
.catalog-fTitle span:last-child { font-size: var(--fs-small); color: var(--text-muted); }
/* «پاک کردن همه» arrives along the reading direction when a filter is on, and leaves the same way */
.catalog-clear {
  display: inline-flex; align-items: center; min-height: 32px; font-size: var(--fs-caption); color: var(--text-muted);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--border-strong);
  opacity: 0; visibility: hidden; translate: 6px 0;
  transition: opacity var(--lens-out) var(--ease-standard), translate var(--lens-out) var(--ease-out), visibility 0s linear var(--lens-out),
    color var(--duration-hover) var(--ease-standard), text-decoration-color var(--duration-hover) var(--ease-standard);
}
.catalog-clear[data-on] {
  opacity: 1; visibility: visible; translate: 0 0;
  transition: opacity var(--lens-in) var(--ease-standard), translate var(--lens-in) var(--ease-luxe), visibility 0s,
    color var(--duration-hover) var(--ease-standard), text-decoration-color var(--duration-hover) var(--ease-standard);
}
@media (hover: hover) { .catalog-clear:hover { color: var(--text); text-decoration-color: var(--gold); } }

/* a group's name: small gold capitals, the Persian beside them (a legend, so it floats to take its own line) */
.catalog-gh { float: inline-start; display: flex; align-items: baseline; gap: .7em; width: 100%; padding: 0; margin-block-end: var(--space-3); }
.catalog-gh + * { clear: both; }
.catalog-gh [lang='en'] { font-family: var(--font-en-ui); font-size: var(--fs-micro); font-weight: 500; letter-spacing: var(--tracking-micro); text-transform: uppercase; color: var(--accent-ink); }
.catalog-gh span:last-child { font-size: var(--fs-caption); color: var(--text-muted); }

/* the switch: a recessed track and a white knob; in this right-to-left page «on» is to the left */
.catalog-swRow { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: var(--touch-min); font-size: var(--fs-small); cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.catalog-swRow input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.catalog-sw { position: relative; flex: none; width: 50px; height: 30px; border-radius: var(--radius-tabbar); background: color-mix(in srgb, var(--black) 10%, transparent); box-shadow: inset 0 1px 2px color-mix(in srgb, var(--black) 14%, transparent); transition: background-color var(--duration-hover) var(--ease-standard); }
.catalog-sw i {
  position: absolute; top: 3px; inset-inline-start: 3px; width: 24px; height: 24px; border-radius: var(--radius-tabbar); background: var(--white);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--black) 24%, transparent), 0 5px 10px -5px color-mix(in srgb, var(--black) 40%, transparent);
  transform-origin: 100% 50%;
  transition: translate var(--lens-in) var(--ease-luxe), scale var(--duration-press) var(--ease-out);
}
.catalog-swRow input:checked + .catalog-sw { background: var(--action); box-shadow: none; }
.catalog-swRow input:checked + .catalog-sw i { translate: -20px 0; transform-origin: 0% 50%; }
.catalog-swRow:active .catalog-sw i { scale: 1.18 1; }
.catalog-swRow input:focus-visible + .catalog-sw { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

/* trays and lenses: the options rest in a recessed tray; the chosen one rises as a white lens in a gold hairline. The
   fill and the hairline are layers of their own, so they come and go by opacity and scale alone. */
.catalog-tray { display: flex; flex-wrap: wrap; gap: 4px; padding: var(--tray-pad); border-radius: var(--radius-tabbar); background: color-mix(in srgb, var(--black) 5%, transparent); box-shadow: inset 0 1px 2px color-mix(in srgb, var(--black) 8%, transparent); }
.catalog-tray[data-seg] { flex-wrap: nowrap; }
.catalog-tray[data-seg] .catalog-lens { flex: 1; padding-inline: var(--space-2); }
.catalog-lens {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding-inline: var(--space-4); border-radius: calc(var(--radius-tabbar) - var(--tray-pad));
  color: var(--text-muted); font-size: var(--fs-small); white-space: nowrap; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: color var(--lens-out) var(--ease-standard);
}
.catalog-lens input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.catalog-lens::before, .catalog-lens::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; }
.catalog-lens::before {
  background: var(--white);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--black) 8%, transparent), 0 10px 18px -12px color-mix(in srgb, var(--black) 42%, transparent);
  opacity: 0; scale: .9;
  transition: opacity var(--lens-out) var(--ease-standard), scale var(--lens-out) var(--ease-out);
}
.catalog-lens::after {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 66%, transparent);
  opacity: 0; scale: 1.05;
  transition: opacity var(--lens-out) var(--ease-standard), scale var(--lens-out) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .catalog-lens:hover { color: var(--text); transition-duration: var(--duration-hover); }
  .catalog-lens:hover::before { opacity: .55; scale: .96; transition-duration: var(--duration-hover); }
}
.catalog-lens:has(input:checked) { color: var(--text); transition-duration: var(--lens-in); }
.catalog-lens:has(input:checked)::before { opacity: 1; scale: 1; transition: opacity var(--lens-in) var(--ease-standard), scale var(--lens-in) var(--ease-luxe); }
.catalog-lens:has(input:checked)::after { opacity: 1; scale: 1; transition: opacity var(--lens-in) var(--ease-standard) 70ms, scale var(--lens-in) var(--ease-luxe) 70ms; }
.catalog-lens.catalog-lens:active::before { scale: .94; transition-duration: var(--duration-press); }
.catalog-lens:has(input:focus-visible) { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
/* an option that would leave nothing: still in its place, dimmed, and it answers neither pointer nor press */
.catalog-lens:has(input:disabled) { opacity: .4; cursor: default; transition: opacity var(--duration-hover) var(--ease-standard), color var(--lens-out) var(--ease-standard); }
.catalog-lens.catalog-lens:has(input:disabled):is(:hover, :active)::before { opacity: 0; scale: .9; }
.catalog-lens:has(input:disabled):hover { color: var(--text-muted); }

/* «همه‌ی خانواده‌ها»: the chevron turns over as the tray opens (the tray's growth is animated in FilterPanel.tsx) */
.catalog-more { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; margin-block-start: var(--space-3); font-size: var(--fs-caption); color: var(--text-muted); transition: color var(--duration-hover) var(--ease-standard); }
.catalog-more i { width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; rotate: 45deg; translate: 0 -2px; transition: rotate var(--lens-in) var(--ease-luxe), translate var(--lens-in) var(--ease-luxe); }
.catalog-more[aria-expanded='true'] i { rotate: 225deg; translate: 0 2px; }
@media (hover: hover) { .catalog-more:hover { color: var(--text); } }

/* the price: two thumbs on one track; --lo and --hi (0–1) come from the panel, and the gold runs between the thumbs */
.catalog-priceNow { font-size: var(--fs-small); font-variant-numeric: tabular-nums lining-nums; }
.catalog-range { --th: 24px; --track-h: 6px; position: relative; height: var(--th); margin-block-start: var(--space-3); }
.catalog-range::before, .catalog-range::after { content: ''; position: absolute; top: calc(50% - var(--track-h) / 2); height: var(--track-h); border-radius: var(--radius-tabbar); pointer-events: none; }
.catalog-range::before { inset-inline: 0; background: color-mix(in srgb, var(--black) 7%, transparent); box-shadow: inset 0 1px 1px color-mix(in srgb, var(--black) 8%, transparent); }
.catalog-range::after { inset-inline-start: calc(var(--th) / 2 + (100% - var(--th)) * var(--lo)); inset-inline-end: calc(var(--th) / 2 + (100% - var(--th)) * (1 - var(--hi))); background: var(--gold); }
.catalog-range input { position: absolute; inset: 0; z-index: 1; width: 100%; height: var(--th); margin: 0; padding: 0; -webkit-appearance: none; appearance: none; background: none; pointer-events: none; outline: none; }
.catalog-range input[data-front] { z-index: 2; }
.catalog-range input::-webkit-slider-runnable-track { height: var(--th); background: none; }
.catalog-range input::-moz-range-track { height: var(--th); background: none; }
.catalog-range input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: var(--th); height: var(--th); border: 0; border-radius: 50%; background: var(--white); pointer-events: auto; cursor: grab;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 58%, transparent), 0 1px 2px color-mix(in srgb, var(--black) 22%, transparent), 0 6px 12px -6px color-mix(in srgb, var(--black) 40%, transparent);
  transition: transform var(--duration-hover) var(--ease-luxe), box-shadow var(--duration-hover) var(--ease-standard);
}
.catalog-range input::-moz-range-thumb {
  width: var(--th); height: var(--th); border: 0; border-radius: 50%; background: var(--white); pointer-events: auto; cursor: grab;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 58%, transparent), 0 1px 2px color-mix(in srgb, var(--black) 22%, transparent), 0 6px 12px -6px color-mix(in srgb, var(--black) 40%, transparent);
  transition: transform var(--duration-hover) var(--ease-luxe), box-shadow var(--duration-hover) var(--ease-standard);
}
/* under the pointer (the input itself takes no pointer, so hovering it means hovering its thumb) and while held */
@media (hover: hover) and (pointer: fine) {
  .catalog-range input:hover::-webkit-slider-thumb { transform: scale(1.1); box-shadow: 0 0 0 1px var(--gold), 0 0 0 7px color-mix(in srgb, var(--gold) 14%, transparent), 0 6px 12px -6px color-mix(in srgb, var(--black) 40%, transparent); }
  .catalog-range input:hover::-moz-range-thumb { transform: scale(1.1); box-shadow: 0 0 0 1px var(--gold), 0 0 0 7px color-mix(in srgb, var(--gold) 14%, transparent), 0 6px 12px -6px color-mix(in srgb, var(--black) 40%, transparent); }
}
.catalog-range input:active::-webkit-slider-thumb { transform: scale(1.16); cursor: grabbing; box-shadow: 0 0 0 1px var(--gold), 0 0 0 9px color-mix(in srgb, var(--gold) 18%, transparent), 0 8px 14px -6px color-mix(in srgb, var(--black) 42%, transparent); }
.catalog-range input:active::-moz-range-thumb { transform: scale(1.16); cursor: grabbing; box-shadow: 0 0 0 1px var(--gold), 0 0 0 9px color-mix(in srgb, var(--gold) 18%, transparent), 0 8px 14px -6px color-mix(in srgb, var(--black) 42%, transparent); }
.catalog-range input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.catalog-range input:focus-visible::-moz-range-thumb { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.catalog-rangeEnds { display: flex; justify-content: space-between; margin-block-start: var(--space-2); font-size: var(--fs-caption); color: var(--text-muted); font-variant-numeric: tabular-nums lining-nums; }

/* touch: every option and link is at least 44px tall */
@media (pointer: coarse) { .catalog-lens, .catalog-clear, .catalog-more { min-height: var(--touch-min); } }
/* where glass cannot blur, or should not: a solid card */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .catalog-card { background: var(--surface-1); } }
@media (prefers-reduced-transparency: reduce) { .catalog-card { background: var(--surface-1); -webkit-backdrop-filter: none; backdrop-filter: none; } .catalog-aura { display: none; } }
@media (prefers-contrast: more) {
  .catalog-card { background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--text); }
  .catalog-lens:has(input:checked)::after { box-shadow: inset 0 0 0 2px var(--text); }
}
@media (forced-colors: active) { .catalog-lens:has(input:checked) { outline: 2px solid Highlight; } .catalog-tray { border: 1px solid CanvasText; } }

.catalog-sheetFoot { display: grid; gap: var(--space-2); justify-items: center; }

/* pagination */
.catalog-pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--space-2); margin-block-start: var(--space-12); }
.catalog-pager ol { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1); }
.catalog-pageGap { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: var(--touch-min); color: var(--text-muted); }
/* phones: «‹ قبلی  صفحه‌ی ۳ از ۹  بعدی ›»; the numbers from 640px */
.catalog-pageOf { font-size: var(--fs-small); color: var(--text-muted); padding-inline: var(--space-3); }
@media (max-width: 639.98px) { .catalog-pager { flex-wrap: nowrap; } .catalog-pager ol { display: none; } }
@media (min-width: 640px) { .catalog-pageOf { display: none; } }
.catalog-pageNum, .catalog-pageStep { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1); min-width: var(--touch-min); min-height: var(--touch-min); padding-inline: var(--space-2); border-radius: var(--radius-pill); font-size: var(--fs-small); }
.catalog-pageNum:hover, .catalog-pageStep:hover { background: var(--surface-2); }
.catalog-pageNum[aria-current] { background: var(--surface-inverse); color: var(--text-inverse); }

@media (min-width: 1024px) {
  .catalog-page { padding-block: var(--space-6) var(--space-24); }
  .catalog-head { padding-block-end: var(--space-8); }
  .catalog-layout { grid-template-columns: 296px minmax(0, 1fr); gap: var(--space-12); align-items: start; }
  .catalog-side { --side-top: calc(var(--header-h) + var(--space-6)); display: block; position: sticky; top: var(--side-top); isolation: isolate; transition: top var(--duration-luxe) var(--ease-luxe); }
  :root[data-header-hidden] .catalog-side { --side-top: var(--space-6); }
  .catalog-filterBtn { display: none; }
  .catalog-sortLabel { position: static !important; width: auto !important; height: auto !important; clip: auto !important; margin: 0 !important; }
  .catalog-toolbar { position: static; margin-block-end: var(--space-4); }
}

.catalog-brandHead { display: flex; align-items: baseline; gap: var(--space-3); flex-wrap: wrap; }
.catalog-brandLatin { font-size: var(--fs-small); letter-spacing: .2em; color: var(--text-muted); }

.catalog-searchForm { display: flex; align-items: center; gap: var(--space-2); max-width: 640px; height: var(--control-h); padding-inline: var(--space-4) var(--space-1); border: var(--hairline) solid var(--border-strong); border-radius: var(--radius-pill); }
.catalog-searchForm:focus-within { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.catalog-searchForm input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: 16px; }
.catalog-searchForm button { height: 40px; padding-inline: var(--space-4); border-radius: var(--radius-pill); background: var(--surface-inverse); color: var(--text-inverse); font-size: var(--fs-small); font-weight: 500; }

/* ─── the cover of a collection ────────────────────────────────────
   A rounded black panel inset from the viewport (like the home hero's frame), black with a fine grain; inside, .stage
   re-maps the text tokens to white. A collection with a campaign picture shows it in a frame of 3:2 — exactly the
   picture's own proportions, so no bottle is cut — beside the title from 1024px and above it on smaller screens.
   Without a picture the panel is a centred title page: the English name, the Persian beneath, one sentence, pills. */
.catalog-stage { margin: var(--space-3) clamp(12px, 1.6vw, 24px) 0; border-radius: var(--radius-xl); padding-block: var(--space-8) var(--space-6); background: var(--cover-bg); }
.catalog-stage[data-cover] { padding-block-start: var(--space-4); }
.catalog-stage .catalog-titleBi { justify-items: center; }
.catalog-stage .catalog-titleBi > span[lang='en'] { font-size: clamp(2.25rem, 1.6rem + 4vw, 5.5rem); color: var(--text); text-align: center; }
/* one column no wider than the panel: the row of pills scrolls inside it instead of stretching it */
.catalog-stageIn { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.catalog-stageCopy { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; width: 100%; min-width: 0; }
.catalog-stage .catalog-head { justify-items: center; padding-block-end: var(--space-6); }
.catalog-stage .catalog-head ol { justify-content: center; }
.catalog-stage .catalog-title { color: var(--text); font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem); font-weight: var(--fw-fa-thin); }
.catalog-stage .catalog-intro { font-size: var(--fs-lead); line-height: 2; max-width: 36em; }
/* the picture: a framed photograph on the black, lit by one hairline; it settles into place once, as the page opens */
.catalog-stageArt { position: relative; order: -1; width: min(100%, 560px); aspect-ratio: 3 / 2; margin-block-end: var(--space-6); border-radius: var(--radius-lg); background: var(--scene-surface); box-shadow: 0 0 0 1px var(--scene-border), var(--scene-shadow); }
.catalog-stageImg { object-fit: cover; animation: catalog-coverIn var(--duration-slow) var(--ease-luxe) both; }
@keyframes catalog-coverIn { from { opacity: 0; scale: 1.05; } }
@media (prefers-reduced-motion: reduce) { .catalog-stageImg { animation: none; } }
/* phones: one row that scrolls sideways (centred while it fits); from 1024px the pills wrap */
.catalog-stage .catalog-sub { max-width: 100%; }
.catalog-stage .catalog-sub ul { justify-content: flex-start; flex-wrap: nowrap; margin-inline: calc(-1 * var(--gutter)); }
.catalog-stage .catalog-sub li:first-child { margin-inline-start: auto; }
.catalog-stage .catalog-sub li:last-child { margin-inline-end: auto; }
.catalog-stage .catalog-intro { line-height: 1.9; }
/* sub-collections on black: white hairlines; the current one is white with black type */
.catalog-stagePill {
  display: inline-flex; align-items: center; min-height: 42px; padding-inline: 20px; white-space: nowrap; border-radius: var(--radius-pill);
  border: 1px solid var(--scene-border-strong); color: var(--text);
  font-family: var(--font-en-ui); font-size: var(--fs-micro); font-weight: 500; letter-spacing: var(--tracking-micro); text-transform: uppercase;
  transition: border-color var(--duration-hover) var(--ease-standard), background-color var(--duration-hover) var(--ease-standard), color var(--duration-hover) var(--ease-standard);
}
.catalog-stagePill:hover { border-color: var(--white); }
.catalog-stagePill[aria-current] { background: var(--white); border-color: var(--white); color: var(--black); }
@media (min-width: 1024px) {
  .catalog-stage { padding-block: var(--space-24) var(--space-16); }
  .catalog-stage .catalog-sub ul { justify-content: center; flex-wrap: wrap; overflow: visible; margin: 0; padding-inline: 0; }
  .catalog-stage .catalog-intro { line-height: 2; }
  /* with a picture: the words on the reading side, the photograph beside them */
  .catalog-stage[data-cover] { padding-block: var(--space-12); }
  .catalog-stage[data-cover] .catalog-stageIn { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); align-items: center; column-gap: var(--space-12); justify-items: stretch; text-align: start; }
  .catalog-stage[data-cover] .catalog-stageCopy, .catalog-stage[data-cover] .catalog-head, .catalog-stage[data-cover] .catalog-titleBi { justify-items: start; }
  .catalog-stage[data-cover] .catalog-head ol { justify-content: flex-start; }
  /* the English name is LTR inside an RTL page: its «end» is the reading side */
  .catalog-stage[data-cover] .catalog-titleBi > span[lang='en'] { font-size: clamp(2.5rem, 1rem + 3.4vw, 4.5rem); text-align: end; }
  .catalog-stage[data-cover] .catalog-sub ul { justify-content: flex-start; }
  .catalog-stage[data-cover] .catalog-sub li:first-child, .catalog-stage[data-cover] .catalog-sub li:last-child { margin-inline: 0; }
  .catalog-stage[data-cover] .catalog-stagePill { padding-inline: 16px; }
  .catalog-stageArt { order: 0; width: 100%; margin-block-end: 0; }
}


@media (pointer: coarse) { .catalog-stagePill { min-height: var(--touch-min); } }

/* ── components/product.css ── */
/* Generated by scripts/export-kit.mjs from src/components/product/product.module.css — edit the source, not this file. */
/* every local class .x of the module is .product-x here; :global() classes keep their name */
/* Product detail page. Mobile first; desktop from 1024px.
   The house manner: the photographs on their cream ground, the words on white, hairlines between blocks,
   no cards, no shadows, soft corners from the --radius-* scale. */
.product-page { padding-block: var(--space-2) var(--space-16); }
.product-top { display: grid; gap: var(--space-8); margin-block-start: var(--space-2); }
.product-info { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); align-content: start; min-width: 0; }

/* ─── gallery ─────────────────────────────────────────────────── */
.product-gallery { position: relative; display: grid; gap: var(--space-3); min-width: 0; }
.product-track { border-radius: var(--radius-xl); isolation: isolate; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; background: var(--stage); }
.product-track::-webkit-scrollbar { display: none; }
.product-track:focus-visible { outline-offset: -2px; }
.product-slide { position: relative; flex: 0 0 100%; aspect-ratio: 4 / 5; scroll-snap-align: start; scroll-snap-stop: always; }
.product-slide img { object-fit: cover !important; }
.product-counter { position: absolute; inset-block-end: var(--space-3); inset-inline-end: var(--gutter); min-width: 52px; padding: 2px 12px; border-radius: var(--radius-pill); text-align: center; background: var(--surface-1); font-size: var(--fs-caption); }
.product-thumbs { display: none; }
.product-thumb { position: relative; width: 72px; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); background: var(--stage); overflow: hidden; opacity: .7; transition: opacity var(--duration-hover) var(--ease-standard); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb:hover, .product-thumb[aria-selected='true'] { opacity: 1; }
.product-thumbRing { position: absolute; inset: 0; border: 1px solid var(--text); pointer-events: none; }

/* ─── text ────────────────────────────────────────────────────── */
.product-brand { justify-self: start; min-height: 28px; display: inline-flex; align-items: center; }
.product-brand:hover { color: var(--text); }
.product-title { display: grid; justify-items: start; gap: var(--space-2); font-weight: 400; } /* start: the Latin name (direction ltr) keeps to the right edge too */
.product-titleEn { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); font-weight: 500; letter-spacing: .1em; line-height: 1.1; }
.product-titleFa { font-size: var(--fs-lead); color: var(--text-muted); font-weight: 400; line-height: 1.8; }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); font-size: var(--fs-small); color: var(--text-muted); }
.product-meta > * + *::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--border-strong); margin-inline-end: var(--space-4); vertical-align: middle; }
.product-metaRating { display: inline-flex; min-height: 32px; align-items: center; }
.product-summary { font-size: var(--fs-lead); line-height: 2; }
.product-facts { display: grid; gap: var(--space-3); padding-block: var(--space-4); border-block: 1px solid var(--border-subtle); }
.product-facts > div { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.product-facts dt { font-size: var(--fs-small); color: var(--text-muted); min-width: 108px; }
.product-facts dd { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.product-facts dd > * { display: inline-flex; align-items: center; min-height: 36px; padding-inline: 16px; border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); font-size: var(--fs-small); transition: border-color var(--duration-hover) var(--ease-standard), background-color var(--duration-hover) var(--ease-standard), color var(--duration-hover) var(--ease-standard); }
.product-facts dd a:hover { background: var(--surface-inverse); border-color: var(--surface-inverse); color: var(--text-inverse); }

/* ─── the notes pyramid (also used on the home page) ─────────── */
.product-notes { display: grid; border-block-start: 1px solid var(--border-subtle); }
.product-notes > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding-block: var(--space-4); border-block-end: 1px solid var(--border-subtle); }
.product-notes dt { display: flex; align-items: center; gap: var(--space-3); font-size: var(--fs-small); color: var(--text-muted); }
.product-noteIcon { color: var(--accent-icon); }
.product-noteLabel { display: flex; flex: 1; align-items: baseline; justify-content: space-between; gap: var(--space-3); }
.product-notes dt .micro { color: var(--text); }
.product-notes dt .fa-quiet { font-size: var(--fs-caption); }
.product-notes dd { font-size: var(--fs-body); line-height: 1.9; }
@media (min-width: 560px) {
  .product-notes > div { grid-template-columns: 150px minmax(0, 1fr); gap: var(--space-4); align-items: baseline; }
  .product-noteLabel { flex-direction: column; align-items: flex-start; gap: 0; }
}
.product-infoNotes { margin-block-start: var(--space-4); }

/* ─── buy box ─────────────────────────────────────────────────── */
.product-buy { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); padding-block: var(--space-2) 0; }
.product-priceRow { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.product-priceRow > p { font-weight: 400; }
.product-off { display: inline-flex; align-items: center; min-height: 26px; padding-inline: 10px; border-radius: var(--radius-pill); background: var(--badge-sale-bg); color: var(--on-badge-sale); font-size: var(--fs-caption); }
.product-tierTag { display: inline-flex; align-items: center; min-height: 26px; padding-inline: 10px; background: var(--accent); color: var(--on-accent); font-size: var(--fs-caption); }
.product-stock { display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-small); color: var(--text-muted); }
.product-stockDot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); flex: none; } /* black = in stock, gold = few left, hollow = out */
.product-stock[data-low] { color: var(--accent-ink); }
.product-stock[data-low] .product-stockDot { background: var(--warning); }
.product-stock[data-out] { color: var(--text); }
.product-stock[data-out] .product-stockDot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--text); }
.product-tiers { width: 100%; border-collapse: collapse; font-size: var(--fs-small); background: var(--surface-2); }
.product-tiers caption { text-align: start; font-weight: 500; margin-block-end: var(--space-2); }
.product-tiers th { text-align: start; font-weight: 400; color: var(--text-muted); padding: var(--space-2) var(--space-4); }
.product-tiers td { padding: var(--space-2) var(--space-4); border-block-start: 1px solid var(--border-subtle); }
.product-tiers tr[data-on] td { background: var(--surface-1); font-weight: 500; }
.product-b2bHint { display: flex; align-items: flex-start; gap: var(--space-2); padding: var(--space-3) var(--space-4); background: var(--surface-2); font-size: var(--fs-small); line-height: 1.8; }
.product-b2bHint svg { margin-block-start: 4px; flex: none; color: var(--accent-icon); }
.product-b2bHint a { text-decoration: underline; text-underline-offset: 4px; }
.product-buyRow { display: flex; gap: var(--space-3); align-items: stretch; }
.product-buyRow > :first-child { height: var(--control-h); }
@media (pointer: coarse) { .product-buyRow > :first-child { height: 52px; } }
.product-buyBtn { flex: 1; min-width: 0; }
.product-buyBtn > * { width: 100%; }
@media (max-width: 419.98px) { .product-buyRow .product-buyBtn > * { padding-inline: var(--space-2); gap: 6px; } }
.product-nextTier { font-size: var(--fs-small); color: var(--text-muted); }
/* reassurance: quiet lines with gold icons */
.product-assure { display: grid; gap: var(--space-3); padding-block-start: var(--space-4); font-size: var(--fs-small); color: var(--text-muted); }
.product-assure li { display: flex; align-items: center; gap: var(--space-3); }
.product-assure svg { flex: none; color: var(--accent-icon); }

/* compact purchase bar: rises above the tab bar on phones once the main buy box scrolls away */
/* the phone buy bar: the same liquid glass as the tab bar beneath it, concentric with its button */
.product-stickyBar {
  position: fixed; inset-inline: 14px; bottom: calc(var(--tabbar-h) + 22px + var(--safe-bottom)); z-index: calc(var(--z-tabbar) - 1);
  display: flex; align-items: center; gap: var(--space-3); padding: 8px; padding-inline-start: var(--space-6); border-radius: var(--radius-bar);
  background: var(--glass-light); box-shadow: var(--glass-edge), var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.product-stickyBar[data-glass='dark'] { background: var(--glass-dark); box-shadow: var(--glass-edge-dark), var(--glass-shadow); }
@media (prefers-reduced-transparency: reduce) { .product-stickyBar { background: var(--surface-1); -webkit-backdrop-filter: none; backdrop-filter: none; } .product-stickyBar[data-glass='dark'] { background: var(--black); } }
.product-stickyThumb { position: relative; width: 40px; height: 50px; flex: none; overflow: hidden; background: var(--stage); }
.product-stickyPrice { display: grid; flex: 1; min-width: 0; line-height: 1.5; }
/* up to two lines rather than a one-line ellipsis: in a right-to-left line the browser trims from the left */
.product-stickyPrice span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: var(--fs-caption); line-height: 1.4; color: var(--text-muted); }
.product-stickyPrice strong { font-size: var(--fs-small); font-weight: 500; }
@media (min-width: 1024px) { .product-stickyBar { display: none; } }

/* ─── details: introduction + specification ───────────────────────────── */
.product-details { position: relative; display: grid; gap: var(--space-12); margin-block-start: var(--space-16); align-items: start; padding-block-start: var(--space-12); }
/* the rules above the details and the reviews run along the content, not across the container's gutters */
.product-details::before, .product-reviews::before { content: ''; position: absolute; inset-inline: var(--gutter); top: 0; border-block-start: 1px solid var(--border-subtle); }
.product-cardTitle { font-size: var(--fs-h3); font-weight: 400; }
.product-intro { display: grid; gap: var(--space-3); min-width: 0; }
.product-introText { display: grid; gap: var(--space-4); line-height: 2.05; max-width: 44em; font-size: var(--fs-lead); }
.product-specCard { display: grid; gap: var(--space-3); }
.product-spec { display: grid; border-block-start: 1px solid var(--border-subtle); }
.product-spec > div { display: grid; grid-template-columns: 120px 1fr; gap: var(--space-4); padding-block: var(--space-3); border-block-end: 1px solid var(--border-subtle); font-size: var(--fs-small); }
.product-spec dt { color: var(--text-muted); }
.product-spec dd { text-align: right; } /* right = the RTL start, also for the Latin values */

/* ─── key notes: six ingredient photographs, in one of three designs (KeyNotes.tsx) ─── */
.product-keyNotes { display: grid; gap: var(--space-8); margin-block-start: var(--section-space); }
.product-keyNotesHead { display: grid; gap: var(--space-3); justify-items: center; text-align: center; }
.product-keyNotesHead .product-scentTitle { justify-items: center; }
.product-keyNotesSource { font-size: var(--fs-caption); color: var(--text-muted); }
.product-keyNotesList { display: grid; margin-inline: auto; width: 100%; }
.product-keyNote { display: grid; gap: var(--space-3); justify-items: center; align-content: start; min-width: 0; text-align: center; }
.product-keyNoteMedia { position: relative; display: block; width: 100%; overflow: hidden; background: var(--stage); }
.product-keyNoteMedia img { object-fit: cover; transition: scale var(--image-zoom-duration) var(--ease-luxe); }
.product-keyNoteText { display: grid; gap: 2px; justify-items: center; min-width: 0; }
.product-keyNoteLayer { color: var(--accent-ink); }
.product-keyNoteEn { font-family: var(--font-en-display); font-size: 1.25rem; line-height: 1.2; }
.product-keyNoteFa { font-size: var(--fs-caption); color: var(--text-muted); }
@media (hover: hover) and (pointer: fine) { .product-keyNote:hover .product-keyNoteMedia img { scale: var(--image-zoom); } }
@media (prefers-reduced-motion: reduce) { .product-keyNoteMedia img { transition: none; } }

/* 1 · medallions: a close view of each ingredient in a circle, ringed with a hairline */
.product-keyNotes[data-design='medallions'] .product-keyNotesList { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8) var(--space-3); max-width: 1040px; }
.product-keyNotes[data-design='medallions'] .product-keyNoteMedia {
  width: min(100% - 12px, 148px); aspect-ratio: 1; margin: 6px; border-radius: 50%;
  box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px var(--border-strong);
}
.product-keyNotes[data-design='medallions'] .product-keyNoteEn { font-size: 1.125rem; }

/* 2 · still life: the ingredient on a travertine plinth, tall cards; a swipe row on phones */
.product-keyNotes[data-design='still-life'] .product-keyNotesList {
  grid-auto-flow: column; grid-auto-columns: 46%; gap: var(--space-3);
  width: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.product-keyNotes[data-design='still-life'] .product-keyNotesList::-webkit-scrollbar { display: none; }
.product-keyNotes[data-design='still-life'] .product-keyNote { scroll-snap-align: start; }
.product-keyNotes[data-design='still-life'] .product-keyNoteMedia { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }

/* 3 · tonal: the ingredient on paper of its own colour, square tiles; the name on a drop of glass */
.product-keyNotes[data-design='tonal'] .product-keyNotesList { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); max-width: 980px; }
.product-keyNotes[data-design='tonal'] .product-keyNote { position: relative; display: block; text-align: start; }
.product-keyNotes[data-design='tonal'] .product-keyNoteMedia { aspect-ratio: 1; border-radius: var(--radius-lg); }
.product-keyNotes[data-design='tonal'] .product-keyNoteText {
  position: absolute; inset-inline-start: 8px; bottom: 8px; max-width: calc(100% - 16px); justify-items: start;
  padding: 8px 14px 9px; border-radius: var(--radius-lg);
  background: var(--note-glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge), 0 6px 16px -10px color-mix(in srgb, var(--black) 35%, transparent);
}
.product-keyNotes[data-design='tonal'] .product-keyNoteLayer { color: var(--text); }
.product-keyNotes[data-design='tonal'] .product-keyNoteEn { font-size: 1.125rem; }
.product-keyNotes[data-design='tonal'] .product-keyNoteFa { color: color-mix(in srgb, var(--text) 78%, transparent); }
@media (prefers-reduced-transparency: reduce) { .product-keyNotes[data-design='tonal'] .product-keyNoteText { background: var(--surface-1); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-contrast: more) { .product-keyNotes[data-design='tonal'] .product-keyNoteText { background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--text); } }

@media (min-width: 720px) {
  .product-keyNotes[data-design='still-life'] .product-keyNotesList { grid-auto-columns: 30%; }
  .product-keyNotes[data-design='tonal'] .product-keyNotesList { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
  .product-keyNotes[data-design='tonal'] .product-keyNoteText { inset-inline-start: 12px; bottom: 12px; }
}
@media (min-width: 1024px) {
  .product-keyNotes { margin-block-start: var(--section-space-lg); gap: var(--space-12); }
  .product-keyNotes[data-design='medallions'] .product-keyNotesList { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-4); }
  .product-keyNotes[data-design='still-life'] .product-keyNotesList {
    grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-4);
    width: 100%; margin-inline: 0; padding-inline: 0; overflow: visible;
  }
}

/* ─── the scent: a short description beside the main accords (Accords.tsx) ─── */
/* no rule above: the specification above already ends on a hairline, so space and the title open the block */
.product-scent { position: relative; display: grid; gap: var(--space-8); margin-block-start: var(--section-space); }
.product-scentCopy { display: grid; gap: var(--space-4); align-content: start; max-width: 36em; }
.product-scentTitle { gap: var(--space-2); font-weight: 400; }
.product-scentTitle > span[lang='en'] { font-family: var(--font-en-display); font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem); font-weight: 300; line-height: 1.05; letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
.product-scentTitle > span[lang='fa'] { font-size: var(--fs-h3); color: var(--text-muted); }
.product-scentBrief { font-size: var(--fs-body); font-weight: var(--fw-fa-quiet); line-height: 2.1; text-wrap: pretty; }
.product-accords { display: grid; gap: var(--space-6); margin: 0; min-width: 0; align-content: start; }
.product-accordsHead { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); padding-block-end: var(--space-3); border-block-end: 1px solid var(--border-subtle); font-size: var(--fs-small); }
.product-accordsHead .micro, .product-accordList .micro { color: var(--text-muted); }
.product-accordList { display: grid; gap: var(--space-2); }
.product-accordList li { display: grid; grid-template-columns: minmax(0, 1fr) 7.5em; align-items: center; gap: var(--space-3); }
.product-accordList li > .micro { text-align: left; white-space: nowrap; } /* the English names line up along the far edge */
/* one bar per accord, as long as its strength (never shorter than its name): the tone in full under the white name,
   easing a little lighter toward its end; a hairline of light along the top edge, as on the house's glass */
.product-accordBar {
  justify-self: start; display: flex; align-items: center; inline-size: max(var(--w), 7.5em); min-block-size: 34px;
  padding-inline: var(--space-3); border-radius: calc(var(--radius-card) / 2); color: var(--white);
  background: linear-gradient(to left, var(--tone) 55%, color-mix(in srgb, var(--tone) 86%, var(--white)));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--white) 20%, transparent);
  clip-path: inset(0); transition: clip-path var(--duration-slow) var(--ease-maison) calc(var(--i, 0) * 70ms);
}
.product-accords[data-rise='wait'] .product-accordBar { clip-path: inset(0 0 0 100%); } /* unveiled from the right, the reading start */
.product-accordName { font-size: var(--fs-small); font-weight: 500; white-space: nowrap; }
.product-accordSource { font-size: var(--fs-caption); color: var(--text-muted); }
@media (min-width: 900px) { .product-scentBrief { font-size: var(--fs-lead); } }

/* ─── reviews ─────────────────────────────────────────────────── */
.product-reviews { position: relative; margin-block-start: var(--space-16); padding-block-start: var(--space-12); }
.product-h2 { font-size: var(--fs-h2); font-weight: var(--fw-fa-title); margin-block-end: var(--space-8); }
.product-reviewsGrid { display: grid; gap: var(--space-8); }
.product-score { display: grid; gap: var(--space-2); align-content: start; }
.product-scoreBig { display: flex; align-items: baseline; gap: var(--space-2); }
.product-scoreBig strong { font-family: var(--font-fa-display); font-size: 3.25rem; line-height: 1; font-weight: var(--fw-fa-thin); } /* Persian digits */
.product-scoreBig span, .product-scoreCount { color: var(--text-muted); font-size: var(--fs-small); }
.product-bars { display: grid; gap: var(--space-2); margin-block-start: var(--space-3); }
.product-bars li { display: grid; grid-template-columns: 16px 1fr 28px; align-items: center; gap: var(--space-3); font-size: var(--fs-caption); color: var(--text-muted); }
.product-bar { height: 2px; background: var(--surface-3); overflow: hidden; }
.product-bar span { display: block; height: 100%; background: var(--accent); transform-origin: right; }
.product-reviewCol { display: grid; gap: var(--space-8); min-width: 0; }
.product-reviewList { display: grid; border-block-start: 1px solid var(--border-subtle); }
.product-reviewList li { display: grid; gap: var(--space-2); padding-block: var(--space-6); border-block-end: 1px solid var(--border-subtle); }
.product-reviewList li > p:first-of-type { line-height: 2; }
.product-reviewHead { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-caption); color: var(--text-muted); }
.product-reviewWho { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); font-size: var(--fs-small); color: var(--text-muted); }
.product-reviewWho b { color: var(--text); font-weight: 500; }
.product-verified { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; padding-inline: 8px; background: var(--surface-2); color: var(--accent-ink); font-size: var(--fs-caption); }
.product-noScore { color: var(--text-muted); line-height: 1.9; }
.product-reviewBox { display: grid; gap: var(--space-4); padding: var(--space-8) var(--space-6); background: var(--surface-2); }
.product-reviewBox h3 { font-size: var(--fs-h3); font-weight: 400; }
.product-reviewLogin a { text-decoration: underline; text-underline-offset: 4px; }
.product-reviewForm { display: grid; gap: var(--space-4); }
.product-reviewGrid { display: grid; gap: var(--space-4); }
.product-starsInput { border: 0; margin: 0; padding: 0; }
.product-starsInput legend { font-size: var(--fs-small); font-weight: 500; margin-block-end: var(--space-2); padding: 0; }
.product-starsInput > div { display: flex; align-items: center; gap: 2px; }
.product-starsInput label { position: relative; display: grid; place-items: center; width: var(--touch-min); height: var(--touch-min); cursor: pointer; color: var(--border-strong); transition: transform 160ms var(--ease-out), color var(--duration-fast); }
.product-starsInput label[data-on] { color: var(--accent-icon); }
.product-starsInput label:hover { transform: scale(1.12); }
.product-starsInput input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.product-starsInput label:has(input:focus-visible) { outline: 1.5px solid var(--focus-ring); outline-offset: 0; }
.product-starsLabel { margin-inline-start: var(--space-3); font-size: var(--fs-small); color: var(--text-muted); min-width: 5em; }
@media (prefers-reduced-motion: reduce) { .product-starsInput label:hover { transform: none; } }

@media (min-width: 720px) {
  .product-reviewGrid { grid-template-columns: 1fr 1fr; }
  .product-gallery { margin-inline: 0; }
  .product-counter { inset-inline-end: var(--space-3); }
}
@media (min-width: 1024px) {
  .product-page { padding-block: var(--space-4) var(--space-24); }
  .product-top { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--space-16); align-items: start; margin-block-start: var(--space-6); }
  .product-gallery { position: sticky; top: calc(var(--header-h) + 24px); grid-template-columns: 76px minmax(0, 1fr); align-items: start; gap: var(--space-4); }
  .product-track { grid-column: 2; grid-row: 1; }
  .product-thumbs { display: grid; gap: var(--space-3); grid-column: 1; grid-row: 1; }
  .product-counter { display: none; }
  .product-info { gap: var(--space-6); padding-block-start: var(--space-8); }
  .product-details { grid-template-columns: minmax(0, 1fr) 400px; gap: var(--space-16); }
  .product-scent { grid-template-columns: minmax(0, 1fr) 400px; gap: var(--space-16); } /* the chart under the specification */
  .product-specCard { position: sticky; top: calc(var(--header-h) + 32px); }
  .product-reviewsGrid { grid-template-columns: 300px minmax(0, 1fr); gap: var(--space-16); align-items: start; }
  .product-score { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* Windows high contrast: a real edge where a tint marked the block */
@media (forced-colors: active) {
  .product-reviewBox, .product-b2bHint, .product-tiers, .product-off, .product-tierTag { border: 1px solid CanvasText; }
}

/* the perfumer's credit under the pyramid */
.product-composed { font-family: var(--font-en-display); font-style: normal; font-size: 1.0625rem; color: var(--text-muted); }
.product-composed span { font-style: normal; color: var(--text); }

/* a picture opens full screen on a tap or click */
.product-zoomBtn { position: absolute; inset: 0; display: block; width: 100%; cursor: zoom-in; }
.product-zoom { position: fixed; inset: 0; z-index: var(--z-sheet); background: var(--porcelain); cursor: zoom-out; }
.product-zoomImg { object-fit: contain; padding: var(--space-8); }
.product-zoomClose { position: absolute; inset-block-start: calc(var(--space-4) + env(safe-area-inset-top, 0px)); inset-inline-end: var(--space-4); box-shadow: var(--shadow-1); }

/* no reviews yet: one quiet line that opens the form */
.product-firstReview { margin-block-start: var(--space-12); }
.product-firstReviewBox { border-block: 1px solid var(--border-subtle); }
.product-firstReviewSummary { display: flex; align-items: center; gap: var(--space-4); min-height: 64px; cursor: pointer; list-style: none; font-size: var(--fs-small); }
.product-firstReviewSummary::-webkit-details-marker { display: none; }
.product-firstReviewSummary .micro { color: var(--accent-ink); }
.product-firstReviewSummary svg { margin-inline-start: auto; transition: rotate var(--duration-hover) var(--ease-standard); }
.product-firstReviewBox[open] .product-firstReviewSummary svg { rotate: 180deg; }
.product-firstReviewForm { max-width: 640px; padding-block: var(--space-4) var(--space-8); }

/* touch screens: the brand link and the fact chips reach 44px */
@media (pointer: coarse) {
  .product-brand { min-height: var(--touch-min); }
  .product-facts dd > * { min-height: var(--touch-min); }
}

/* ─── the perfumer: a full-bleed black band, as the house presents its perfumers. The reading side carries the name
   (Latin capitals over the Persian), the role after a gold hairline and a few lines in Persian; the portrait rests on
   the band's foot on the far side, and comes first on phones ─── */
.product-perfumer { margin-block-start: var(--section-space); padding-block-start: var(--space-12); overflow: hidden; }
.product-perfumerIn { display: grid; gap: var(--space-8); align-items: end; }
.product-perfumerCopy { display: grid; gap: var(--space-4); align-content: center; max-width: 38em; padding-block-end: var(--space-12); }
.product-perfumerName { display: grid; gap: var(--space-2); font-weight: 400; }
.product-perfumerName > span[lang='en'] { font-family: var(--font-en-display); font-size: var(--fs-en-h2); font-weight: 300; line-height: 1.05; letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
.product-perfumerName > span[lang='fa'] { font-size: var(--fs-fa-title); color: var(--text-muted); }
.product-perfumerRole { display: flex; align-items: center; gap: var(--space-3); font-size: var(--fs-small); color: var(--text-muted); }
.product-perfumerRole::before { content: ''; flex: none; width: 32px; height: 1px; background: var(--gold); }
.product-perfumerRole .micro { color: var(--text-muted); }
.product-perfumerBio { font-size: var(--fs-body); font-weight: var(--fw-fa-quiet); line-height: 2.1; color: var(--text); text-wrap: pretty; }
@media (min-width: 900px) { .product-perfumerBio { font-size: var(--fs-lead); } }
.product-perfumerArt { position: relative; order: -1; justify-self: center; width: min(100%, 360px); aspect-ratio: 4 / 5; }
.product-perfumerImg { object-fit: cover; object-position: top center; mix-blend-mode: lighten; } /* the portrait's pure black gives way to the band's lit black: no visible frame */
@media (min-width: 900px) {
  .product-perfumer { margin-block-start: var(--section-space-lg); padding-block-start: var(--space-16); }
  .product-perfumerIn { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: var(--space-16); }
  .product-perfumerCopy { padding-block: var(--space-12) var(--space-24); }
  .product-perfumerArt { order: 0; width: 100%; justify-self: end; }
}

/* ── components/checkout.css ── */
/* Generated by scripts/export-kit.mjs from src/components/checkout/checkout.module.css — edit the source, not this file. */
/* every local class .x of the module is .checkout-x here; :global() classes keep their name */
/* Cart, checkout and order pages. Mobile first; desktop from 1024px.
   The house manner at the till: English-led titles with the Persian beneath, quiet white panels framed by one hairline
   and the house curve (no shadows), choices as ivory tiles that take an ink outline when chosen, figures in the Latin
   face. On phones the purchase bar is the same floating glass as the tab bar it replaces. */
.checkout-page { padding-block: var(--space-4) calc(var(--space-16) + 72px); }
.checkout-title { display: flex; align-items: baseline; gap: var(--space-3); font-size: var(--fs-h2); margin-block: var(--space-3) var(--space-6); }
/* the page title: the English display line (Light), the Persian beneath in Vazirmatn RD ExtraLight */
.checkout-titleRow { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-2) var(--space-4); margin-block: var(--space-4) var(--space-8); }
.checkout-titleBi { gap: var(--space-2); margin-block: var(--space-4) var(--space-8); }
.checkout-titleRow .checkout-titleBi { margin: 0; }
.checkout-titleBi > span[lang='en'] { font-family: var(--font-en-display); font-size: clamp(2.25rem, 1.7rem + 2.2vw, 3.5rem); font-weight: 300; line-height: 1.05; letter-spacing: var(--tracking-en); text-transform: uppercase; }
.checkout-titleBi > span[lang='fa'] { font-size: var(--fs-fa-title); }
.checkout-titleCount { font-family: var(--font-ui); font-size: var(--fs-small); color: var(--text-muted); font-weight: 400; padding-block-end: var(--space-2); }
.checkout-split { display: grid; gap: var(--space-6); }
.checkout-main { display: grid; gap: var(--space-4); align-content: start; min-width: 0; }
.checkout-aside { display: grid; gap: var(--space-4); align-content: start; min-width: 0; }
.checkout-box { display: grid; gap: var(--space-5, 20px); padding: var(--space-6) var(--space-4); background: var(--surface-1); border: var(--hairline) solid var(--color-line); border-radius: var(--radius-section); }
.checkout-boxHead { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); }
/* a panel title: English capitals over the Persian */
.checkout-boxBi { gap: 2px; }
.checkout-boxBi > span[lang='en'] { font-family: var(--font-en-ui); font-size: var(--fs-micro); font-weight: 500; letter-spacing: var(--tracking-micro); text-transform: uppercase; color: var(--text-muted); }
.checkout-boxBi > span[lang='fa'] { font-size: var(--fs-h3); font-weight: 400; color: var(--text); }
.checkout-boxLink { font-size: var(--fs-small); text-decoration: underline; text-decoration-color: var(--color-gold); text-underline-offset: 5px; min-height: 44px; display: inline-flex; align-items: center; }
.checkout-shipNote, .checkout-terms { font-size: var(--fs-caption); color: var(--text-muted); line-height: 1.8; }
.checkout-terms a { text-decoration: underline; text-underline-offset: 3px; }
.checkout-notice { display: flex; align-items: flex-start; gap: var(--space-2); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--surface-warm); font-size: var(--fs-small); line-height: 1.9; }
.checkout-notice svg { flex: none; margin-block-start: 5px; color: var(--accent-ink); }
.checkout-muted { color: var(--text-muted); font-size: var(--fs-small); display: flex; flex-wrap: wrap; column-gap: var(--space-4); }
.checkout-gap { position: relative; }
.checkout-gap::before { content: ''; position: absolute; inset-inline-start: calc(-1 * var(--space-2)); top: 50%; width: 1px; height: 12px; margin-top: -6px; background: var(--border-strong); }

/* reassurance under the summary: three quiet lines, rose-gold icons */
.checkout-trust { display: grid; gap: var(--space-2); padding-inline: var(--space-2); }
.checkout-trust li { display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-small); color: var(--text-muted); }
.checkout-trust svg { color: var(--accent-icon); flex: none; }

/* mobile purchase bar — the same liquid glass as the tab bar it replaces, floating where it would be.
   Concentric: the slab's corner = the button's corner (--radius-button) + its 8px inset. */
.checkout-bottomBar {
  position: fixed; inset-inline: 14px; bottom: calc(12px + var(--safe-bottom)); z-index: calc(var(--z-tabbar) + 1);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--space-2) var(--space-3);
  padding: 8px; padding-inline-start: var(--space-4); border-radius: var(--radius-bar);
  background: var(--glass-light); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge), var(--glass-shadow);
}
.checkout-bottomBar[data-glass='dark'] { background: var(--glass-dark); box-shadow: var(--glass-edge-dark), var(--glass-shadow); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .checkout-bottomBar { background: var(--surface-1); } .checkout-bottomBar[data-glass='dark'] { background: var(--black); } }
@media (prefers-reduced-transparency: reduce) { .checkout-bottomBar { background: var(--surface-1); -webkit-backdrop-filter: none; backdrop-filter: none; } .checkout-bottomBar[data-glass='dark'] { background: var(--black); } }
.checkout-bottomBar > div:not(.checkout-barError) { display: grid; line-height: 1.5; }
.checkout-bottomBar span { font-size: var(--fs-caption); color: var(--text-muted); }
.checkout-bottomBar strong { font-family: var(--font-en-ui); font-size: var(--fs-body); font-weight: 400; }
.checkout-barError { grid-column: 1 / -1; }
@media (prefers-reduced-motion: reduce) { .checkout-bottomBar { transition: none; } }
.checkout-desktopCta, .checkout-desktopOnly { display: none; }

/* checkout steps: one framed panel each; the header is an outlined numeral, the English label over the Persian
   title, and a gold line icon at the end */
.checkout-step { display: grid; gap: var(--space-6); padding: var(--space-6) var(--space-4); background: var(--surface-1); border: var(--hairline) solid var(--color-line); border-radius: var(--radius-section); }
.checkout-stepHead { display: flex; align-items: center; gap: var(--space-4); padding-block-end: var(--space-4); border-block-end: var(--hairline) solid var(--color-line); }
.checkout-stepTitle { display: grid; gap: 2px; font-size: var(--fs-h3); font-weight: 400; line-height: 1.5; }
.checkout-stepTitle .micro { color: var(--text-muted); }
.checkout-stepNum { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; border: var(--hairline) solid var(--text); color: var(--text); font-family: var(--font-fa); font-size: var(--fs-body); font-weight: 300; }
.checkout-stepIcon { margin-inline-start: auto; color: var(--color-gold); }
.checkout-grid { display: grid; gap: var(--space-4); }
.checkout-full { grid-column: 1 / -1; }
.checkout-noteField { margin-block-start: var(--space-2); }

/* «save this address» — a plain checkbox row, not a tile */
.checkout-saveAddr.checkout-saveAddr, .checkout-saveAddr.checkout-saveAddr:hover, .checkout-saveAddr.checkout-saveAddr:has(input:checked) { grid-column: 1 / -1; border: 0; padding-inline: 0; min-height: var(--touch-min); background: none; box-shadow: none; }

/* choices (address, shipping, payment): hairline tiles; the chosen one takes a black ring */
.checkout-choices { display: grid; gap: var(--space-2); }
.checkout-choice { position: relative; display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-4) var(--space-4); border-radius: var(--radius-control); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--color-line); cursor: pointer; transition: box-shadow var(--duration-hover) var(--ease-out), background-color var(--duration-hover) var(--ease-out); }
.checkout-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.checkout-choice > svg { flex: none; color: var(--text-muted); margin-block-start: 3px; }
.checkout-choice:hover { box-shadow: inset 0 0 0 1px var(--border-strong); }
.checkout-choice:has(input:checked) { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--text); }
.checkout-choice:has(input:checked) > svg { color: var(--text); }
.checkout-choice:has(input:focus-visible) { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.checkout-choice[data-disabled] { opacity: .5; cursor: not-allowed; }
.checkout-choice[data-disabled]:hover { box-shadow: inset 0 0 0 1px transparent; }
.checkout-radio { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-block-start: 4px; border-radius: 50%; border: 1.5px solid var(--border-strong); background: var(--surface-1); transition: border-color var(--duration-hover) var(--ease-out); }
.checkout-radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--text); transform: scale(0); transition: transform .25s var(--lg-ease); }
.checkout-choice:has(input:checked) .checkout-radio { border-color: var(--text); }
.checkout-choice:has(input:checked) .checkout-radio::after { transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .checkout-radio::after { transition: none; } }
@media (forced-colors: active) { .checkout-choice:has(input:checked) { outline: 2px solid Highlight; } .checkout-radio::after { background: CanvasText; } }
.checkout-choiceBody { display: grid; gap: 2px; flex: 1; line-height: 1.8; min-width: 0; }
.checkout-choiceBody b { font-weight: 500; }
.checkout-choicePrice { font-family: var(--font-en-ui); font-size: var(--fs-small); font-weight: 400; white-space: nowrap; }

/* mini summary */
.checkout-mini { display: grid; gap: var(--space-3); max-height: 320px; overflow-y: auto; padding-block-start: 6px; }
.checkout-mini li { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: var(--space-3); font-size: var(--fs-small); }
.checkout-miniImg { position: relative; width: 52px; height: 64px; border-radius: var(--radius-xs); background: var(--stage); display: grid; place-items: center; }
.checkout-miniImg img { width: 100%; height: 100%; object-fit: contain; }
.checkout-miniQty { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; padding-inline: 4px; border-radius: var(--radius-pill); background: var(--surface-inverse); color: var(--text-inverse); font-size: 11px; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px var(--surface-1); }
.checkout-miniTitle { display: grid; gap: 0; line-height: 1.5; min-width: 0; }
.checkout-miniTitle .en { font-size: var(--fs-small); letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.checkout-miniFa { font-size: var(--fs-caption); color: var(--text-muted); }
.checkout-miniPrice { font-family: var(--font-en-ui); white-space: nowrap; }
.checkout-sum { display: grid; gap: var(--space-2); padding-block-start: var(--space-4); border-block-start: var(--hairline) solid var(--border-subtle); font-size: var(--fs-small); }
.checkout-sum > div { display: flex; justify-content: space-between; gap: var(--space-3); }
.checkout-sum dt { color: var(--text-muted); }
.checkout-sum dd { font-family: var(--font-en-ui); }
.checkout-sumTotal { align-items: baseline; padding-block-start: var(--space-4); margin-block-start: var(--space-2); border-block-start: var(--hairline) solid var(--border-subtle); font-size: var(--fs-body); font-weight: 500; }
.checkout-sumTotal dt { color: var(--text); }
.checkout-sumTotal dd { font-size: 1.375rem; font-weight: 400; letter-spacing: .01em; }

@media (min-width: 720px) {
  .checkout-grid { grid-template-columns: 1fr 1fr; }
  .checkout-step { padding: var(--space-8); }
}
@media (min-width: 1024px) {
  .checkout-page { padding-block: var(--space-6) var(--space-24); }
  .checkout-split { grid-template-columns: minmax(0, 1fr) 380px; gap: var(--space-8); align-items: start; }
  .checkout-aside { position: sticky; top: calc(var(--header-h) + 32px); }
  .checkout-box { padding: var(--space-8); }
  .checkout-bottomBar { display: none; }
  .checkout-desktopCta, .checkout-desktopOnly { display: block; }
}

@media (forced-colors: active) {
  .checkout-box, .checkout-step, .checkout-choice, .checkout-bottomBar, .checkout-notice { border: 1px solid CanvasText; }
}

/* ── components/order.css ── */
/* Generated by scripts/export-kit.mjs from src/components/checkout/order.module.css — edit the source, not this file. */
/* every local class .x of the module is .order-x here; :global() classes keep their name */
.order-page { display: grid; gap: var(--space-6); padding-block: var(--space-4) var(--space-16); }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-4); }
.order-kicker { display: flex; align-items: baseline; gap: var(--space-2); font-size: var(--fs-small); color: var(--text-muted); }
.order-kicker .figures-tab { color: var(--text); letter-spacing: .04em; }
.order-title { font-size: var(--fs-h2); font-weight: var(--fw-fa-title); margin-block: var(--space-1); }
.order-date { font-size: var(--fs-small); color: var(--text-muted); }
.order-head > :last-child { display: none; }

/* journey: a horizontal rail on every size; the reached part is ink, the rest hairline */
.order-journey { display: grid; grid-template-columns: repeat(5, 1fr); isolation: isolate; }
.order-journey li { position: relative; display: grid; justify-items: center; gap: var(--space-2); text-align: center; font-size: var(--fs-caption); color: var(--text-muted); }
.order-journey li::before { content: ''; position: absolute; top: 15px; inset-inline-start: 50%; width: 100%; height: 2px; border-radius: var(--radius-pill); background: var(--surface-3); z-index: -1; }
.order-journey li:last-child::before { display: none; }
.order-journey li[data-done]::before { background: var(--text); }
.order-journey li[data-current]::before { background: linear-gradient(to left, var(--text) 0 50%, var(--surface-3) 50% 100%); }
.order-dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--surface-3); background: var(--surface-1); font-size: var(--fs-caption); font-weight: 700; }
.order-journey li[data-done] { color: var(--text); }
.order-journey li[data-done] .order-dot { background: var(--text); border-color: var(--text); color: var(--text-inverse); }
.order-journey li[data-current] .order-dot { background: var(--surface-1); color: var(--text); border-color: var(--text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 30%, transparent); }
.order-stopped, .order-tracking { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--surface-warm); font-size: var(--fs-small); }
.order-tracking svg { color: var(--accent-ink); }

/* the one thing the customer must do next: a lifted white card, not a box outline */
.order-action { display: grid; gap: var(--space-4); padding: var(--space-6) var(--space-4); background: var(--surface-2); border: var(--hairline) solid var(--color-gold); border-radius: var(--radius-section); }
.order-action h2 { font-size: var(--fs-h3); }
.order-action p { line-height: 1.9; }

.order-grid { display: grid; gap: var(--space-4); }
.order-side { display: grid; gap: var(--space-4); align-content: start; }
.order-card { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-6) var(--space-4); background: var(--surface-1); border: var(--hairline) solid var(--color-line); border-radius: var(--radius-section); }
.order-card h2 { display: flex; justify-content: space-between; align-items: baseline; padding-block-end: var(--space-3); border-block-end: var(--hairline) solid var(--color-line); font-size: var(--fs-body); font-weight: 500; }
.order-card h2 span { font-size: var(--fs-small); font-weight: 400; color: var(--text-muted); }
.order-muted { color: var(--text-muted); font-size: var(--fs-small); }
.order-items { display: grid; gap: var(--space-3); }
.order-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: var(--space-3); align-items: center; font-size: var(--fs-small); }
.order-itemImg { width: 56px; height: 70px; border-radius: var(--radius-xs); background: var(--stage); display: grid; place-items: center; overflow: hidden; }
.order-itemBody { display: grid; gap: 2px; line-height: 1.7; }
.order-itemTotal { font-family: var(--font-en-ui); white-space: nowrap; }
.order-log { display: grid; gap: var(--space-3); }
.order-log li { display: grid; gap: 2px; padding-inline-start: var(--space-4); border-inline-start: 2px solid var(--border-subtle); font-size: var(--fs-small); }
.order-log li:first-child { border-color: var(--text); }
.order-log time { font-size: var(--fs-caption); color: var(--text-muted); }
.order-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-4); }
.order-help { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--touch-min); font-size: var(--fs-small); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--border-strong); }

@media (min-width: 720px) {
  .order-journey li { font-size: var(--fs-small); }
  .order-head > :last-child { display: inline-flex; }
}
@media (min-width: 1024px) {
  .order-page { gap: var(--space-8); padding-block: var(--space-6) var(--space-24); }
  .order-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--space-8); align-items: start; }
  .order-card, .order-action { padding: var(--space-8); }
}

@media (forced-colors: active) { .order-card, .order-action, .order-stopped, .order-tracking { border: 1px solid CanvasText; } }

/* ── components/account.css ── */
/* Generated by scripts/export-kit.mjs from src/components/account/account.module.css — edit the source, not this file. */
/* every local class .x of the module is .account-x here; :global() classes keep their name */
/* Login, account and wholesale pages */

/* ─── login ──────────────────────────────────────────────────────── */
.account-loginWrap { display: grid; min-height: calc(100dvh - var(--header-h) - 40px); }
.account-loginArt { display: none; }
.account-loginPanel { display: grid; align-content: start; gap: var(--space-3); width: min(100%, 440px); margin-inline: auto; padding: var(--space-8) var(--gutter) var(--space-16); }
.account-loginTitle { font-size: var(--fs-h2); line-height: 1.5; }
.account-loginLead { color: var(--text-muted); margin-block-end: var(--space-4); }
@media (min-width: 1024px) {
  .account-loginWrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .account-loginArt { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; overflow: hidden; background: var(--stage-bg); color: var(--accent); padding: var(--space-16); margin: var(--space-8) var(--space-16) 0; min-height: 560px; }
  .account-loginLogo { align-self: center; width: 200px; height: auto; }
  .account-loginArt p { position: relative; justify-self: start; font-size: var(--fs-h3); font-weight: 300; max-width: 14em; }
  .account-loginPanel { align-content: center; padding-block: var(--space-16); }
}

.account-otp { display: grid; gap: var(--space-4); }
.account-fieldBlock { display: grid; gap: var(--space-2); }
.account-bigLabel { font-weight: 700; }
.account-phoneInput { height: 56px; font-size: 1.25rem; text-align: center; }
.account-help { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.9; }
.account-fieldError { display: flex; align-items: flex-start; gap: var(--space-2); font-size: var(--fs-small); font-weight: 600; color: var(--danger); line-height: 1.8; }
.account-fieldError svg { flex: none; margin-block-start: 4px; }
/* checkout context on the sign-in page */
.account-steps { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); margin-block-end: var(--space-2); font-size: var(--fs-small); color: var(--text-muted); }
.account-steps li { display: inline-flex; align-items: center; gap: var(--space-2); }
.account-steps li + li::before { content: ''; width: 16px; height: 1px; background: var(--border-strong); margin-inline-end: var(--space-2); }
.account-steps li[aria-current] { color: var(--text); font-weight: 700; }
.account-stepDot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border-strong); font-size: var(--fs-caption); }
.account-steps li[aria-current] .account-stepDot { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.account-orderPeek { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--surface-1); box-shadow: var(--shadow-1); font-size: var(--fs-small); margin-block-end: var(--space-2); }
.account-orderPeek span { color: var(--text-muted); }
.account-orderPeek strong { font-size: var(--fs-body); }
.account-inlineBtn { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; color: var(--text); text-decoration: underline; text-underline-offset: 4px; font-size: var(--fs-small); }
.account-inlineBtn:disabled { opacity: .5; }
.account-resend { text-align: center; font-size: var(--fs-small); color: var(--text-muted); min-height: var(--touch-min); display: grid; place-items: center; }
.account-dev { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3); border: 1px dashed var(--border-strong); border-radius: var(--radius-md); font-size: var(--fs-caption); color: var(--text-muted); }
.account-dev b { color: var(--text); font-size: var(--fs-body); }

.account-cells { position: relative; margin-block-start: var(--space-2); }
.account-cellInput { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; caret-color: transparent; z-index: 1; }
.account-cellRow { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-2); }
.account-cell { display: grid; place-items: center; height: 60px; border: var(--hairline) solid var(--border-strong); background: var(--field-bg); border-radius: var(--radius-sm); font-size: 1.5rem; font-weight: 700; transition: border-color var(--duration-fast), box-shadow var(--duration-fast); }
.account-cell[data-filled] { border-color: var(--text); }
.account-cell[data-active] { box-shadow: 0 0 0 2px var(--text); }
.account-cell[data-active]:empty::after { content: ''; width: 2px; height: 24px; background: var(--text); animation: account-caret 1s steps(1) infinite; }
@keyframes account-caret { 50% { opacity: 0; } }
.account-cells[data-invalid] .account-cell { border: 2px solid var(--danger); }

/* ─── account ────────────────────────────────────────────────────── */
.account-account { display: grid; gap: var(--space-8); padding-block: var(--space-6) var(--space-16); max-width: 960px; }
.account-accHead { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-4); }
.account-avatar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface-inverse); color: var(--accent); font-family: var(--font-display); font-size: 1.5rem; }
.account-accName { font-size: var(--fs-h3); }
.account-accMeta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); font-size: var(--fs-small); color: var(--text-muted); }
.account-role { padding: 0 10px; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--text); font-size: var(--fs-caption); line-height: 1.9; }
.account-signOut button { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--touch-min); padding-inline: var(--space-3); border-radius: var(--radius-pill); font-size: var(--fs-small); color: var(--text-muted); }
.account-signOut button:hover { background: var(--surface-2); color: var(--text); }

.account-jump { display: flex; gap: var(--space-2); overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.account-jump::-webkit-scrollbar { display: none; }
.account-jump a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--touch-min); padding-inline: var(--space-4); border: var(--hairline) solid var(--border-subtle); border-radius: var(--radius-pill); white-space: nowrap; font-size: var(--fs-small); }
.account-jump a:hover { border-color: var(--border-strong); }
.account-jump a span { min-width: 20px; height: 20px; padding-inline: 5px; border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font-size: var(--fs-caption); line-height: 20px; text-align: center; font-weight: 700; }

.account-block { display: grid; gap: var(--space-4); scroll-margin-top: calc(var(--header-h) + 24px); }
.account-block > h2 { font-size: var(--fs-h3); font-weight: 700; padding-block-end: var(--space-2); border-block-end: var(--hairline) solid var(--border-subtle); }
.account-orders { display: grid; gap: var(--space-3); }
.account-order { display: grid; gap: var(--space-3); padding: var(--space-4); border: var(--hairline) solid var(--border-subtle); border-radius: var(--radius-lg); }
.account-order:hover { border-color: var(--border-strong); }
.account-orderTop, .account-orderBottom { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); font-size: var(--fs-small); }
.account-orderBottom span { color: var(--text-muted); }
.account-orderThumbs { display: flex; gap: var(--space-2); }
.account-orderThumbs > span { width: 44px; height: 55px; border-radius: var(--radius-xs); background: var(--surface-2); display: grid; place-items: center; overflow: hidden; font-size: var(--fs-caption); }
.account-more { color: var(--text-muted); }
.account-addrs { display: grid; gap: var(--space-3); }
.account-addr { display: grid; gap: var(--space-3); padding: var(--space-4); border: var(--hairline) solid var(--border-subtle); border-radius: var(--radius-lg); }
.account-defaultTag { margin-inline-start: var(--space-2); padding: 0 8px; border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font-size: var(--fs-caption); line-height: 1.9; }
.account-addrActions { display: flex; gap: var(--space-2); }
.account-addrActions button { display: inline-flex; align-items: center; gap: 4px; min-height: var(--touch-min); padding-inline: var(--space-3); border-radius: var(--radius-pill); font-size: var(--fs-small); color: var(--text-muted); }
.account-addrActions button:hover { background: var(--surface-2); color: var(--text); }
.account-formGrid { display: grid; gap: var(--space-4); }
.account-formFull { grid-column: 1 / -1; }
.account-b2bOk { display: flex; align-items: flex-start; gap: var(--space-2); line-height: 1.9; }
.account-b2bOk svg { flex: none; margin-block-start: 4px; }
.account-b2bCta { display: grid; gap: var(--space-3); justify-items: start; }
@media (min-width: 720px) {
  .account-orders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-addr { grid-template-columns: 1fr auto; align-items: start; }
  .account-formGrid { grid-template-columns: 1fr 1fr; }
}

.account-appForm { display: grid; gap: var(--space-6); }
.account-appForm fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: var(--space-4); }
.account-appForm legend { font-weight: 700; padding: 0; margin-block-end: var(--space-3); }

/* ── components/wholesale.css ── */
/* Generated by scripts/export-kit.mjs from src/components/account/wholesale.module.css — edit the source, not this file. */
/* every local class .x of the module is .wholesale-x here; :global() classes keep their name */
/* hero: the dark «stage» slides under the floating header, like the fragrance landing */
.wholesale-hero { margin-block-start: calc(-1 * var(--header-h)); padding-block: calc(var(--header-h) + var(--space-6)) var(--space-16); }
.wholesale-heroIn { position: relative; display: grid; gap: var(--space-4); justify-items: start; }
.wholesale-title { font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem); font-weight: var(--fw-hero); line-height: 1.3; color: var(--accent); max-width: 14em; margin-block-start: var(--space-8); }
.wholesale-lead { max-width: 36em; font-size: var(--fs-lead); color: var(--text-muted); margin-block-end: var(--space-4); }

.wholesale-perks { margin-block-start: calc(-1 * var(--space-8)); position: relative; }
/* perks sit half over the stage: white panels with a hairline */
.wholesale-perks ul { display: grid; gap: var(--space-3); }
.wholesale-perks li { display: grid; align-content: start; gap: var(--space-2); padding: var(--space-6) var(--space-5, 20px); background: var(--surface-1); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.wholesale-perks li > svg { color: var(--accent-ink); }
.wholesale-perks h2 { font-size: var(--fs-h3); }
.wholesale-perks p { font-size: var(--fs-small); color: var(--text-muted); }

.wholesale-how { padding-block: var(--space-16) var(--space-8); display: grid; gap: var(--space-8); }
.wholesale-how > h2 { font-size: var(--fs-h2); }
.wholesale-how ol { display: grid; gap: var(--space-6); }
.wholesale-how li { display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-4); row-gap: var(--space-1); }
.wholesale-how h3 { font-size: var(--fs-h3); align-self: center; }
.wholesale-how p { grid-column: 2; color: var(--text-muted); }
.wholesale-num { grid-row: span 2; font-family: var(--font-display); font-weight: var(--fw-display); font-size: 2.75rem; line-height: 1; color: var(--text); width: 1.2em; }

.wholesale-apply { display: grid; gap: var(--space-6); padding-block: var(--space-8) var(--space-16); scroll-margin-top: 80px; }
.wholesale-applyHead { display: grid; gap: var(--space-2); }
.wholesale-applyHead h2 { font-size: var(--fs-h2); }
.wholesale-applyHead p { color: var(--text-muted); }

@media (min-width: 720px) {
  .wholesale-perks ul { grid-template-columns: repeat(2, 1fr); }
  .wholesale-how ol { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .wholesale-hero { padding-block: calc(var(--header-h) + var(--space-8)) var(--space-24); }
  .wholesale-perks ul { grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
  .wholesale-perks li { padding: var(--space-8) var(--space-6); }
  .wholesale-apply { grid-template-columns: 320px minmax(0, 1fr); gap: var(--space-16); align-items: start; }
  .wholesale-applyHead { position: sticky; top: 120px; }
}

/* ── components/admin.css ── */
/* Generated by scripts/export-kit.mjs from src/components/admin/admin.module.css — edit the source, not this file. */
/* every local class .x of the module is .admin-x here; :global() classes keep their name */
/* Admin panel. Phone first (store owners check orders on the move); rail + wide tables from 1024px. */
.admin-shell { min-height: 100dvh; background: var(--bg); }
.admin-main { padding: var(--space-4) var(--gutter) calc(var(--tabbar-h) + var(--space-8) + var(--safe-bottom)); outline: none; min-width: 0; }

/* ─── rail (desktop) ─────────────────────────────────────────────── */
.admin-rail { display: none; }
.admin-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: var(--fw-display); font-size: 1.375rem; color: var(--text); padding: var(--space-6) var(--space-6) var(--space-4); }
.admin-brandMark { height: 36px; width: auto; flex: none; color: var(--text); }
.admin-brandText { display: grid; line-height: 1.35; }
.admin-brandText small { font-family: var(--font-ui); font-weight: 400; font-size: var(--fs-caption); color: var(--accent); }
.admin-railNav ul { display: grid; gap: 2px; padding-inline: var(--space-3); }
.admin-railLink { position: relative; display: flex; align-items: center; gap: var(--space-3); min-height: 44px; padding-inline: var(--space-3); border-radius: var(--radius-pill); color: var(--text-muted); font-size: var(--fs-small); transition: color var(--duration-hover) var(--ease-out); }
.admin-railLink > svg, .admin-railLink > span { position: relative; z-index: 1; }
.admin-railLink:hover { color: var(--text); }
.admin-railLink[aria-current] { color: var(--text); font-weight: 600; }
.admin-railLens { position: absolute; inset: 0; z-index: 0 !important; border-radius: var(--radius-pill); background: var(--accent-wash); box-shadow: inset -3px 0 0 var(--accent), inset 0 1px 0 var(--glass-highlight); } /* rim on the start (right) edge */
.admin-railBadge { margin-inline-start: auto; min-width: 22px; height: 22px; padding-inline: 6px; border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; line-height: 22px; text-align: center; }
.admin-railFoot { margin-block-start: auto; display: grid; gap: var(--space-3); padding: var(--space-6); border-block-start: var(--hairline) solid var(--border-subtle); font-size: var(--fs-small); }
.admin-railFoot p { display: grid; }
.admin-railFoot p span { color: var(--text-muted); font-size: var(--fs-caption); }
.admin-railStore { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--accent); min-height: 32px; }

/* ─── bottom bar (phones) ───────────────────────────────────────── */
.admin-bottom {
  position: fixed; inset-inline: 12px; bottom: calc(10px + var(--safe-bottom)); z-index: var(--z-tabbar); height: var(--tabbar-h); border-radius: var(--radius-pill);
  background: var(--glass-bg-strong); backdrop-filter: saturate(1.6) blur(20px); -webkit-backdrop-filter: saturate(1.6) blur(20px);
  box-shadow: inset 0 1px 0 var(--glass-highlight), var(--shadow-2);
}
.admin-bottom ul { display: grid; grid-template-columns: repeat(5, 1fr); height: 100%; padding: 6px; }
.admin-bottomLink { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 100%; height: 100%; border-radius: var(--radius-pill); color: var(--text-muted); }
.admin-bottomLink[aria-current] { color: var(--text); }
.admin-bottomLens { position: absolute; inset: 0; border-radius: var(--radius-pill); background: var(--accent-wash); box-shadow: inset 0 1px 0 var(--glass-highlight); }
.admin-bottomIcon { position: relative; z-index: 1; }
.admin-bottomLabel { position: relative; z-index: 1; font-size: 11px; font-weight: 600; line-height: 1.4; }
.admin-bottomBadge { position: absolute; top: -6px; inset-inline-end: -12px; min-width: 18px; height: 18px; padding-inline: 4px; border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font-size: 10px; font-weight: 700; line-height: 18px; text-align: center; }
.admin-bottomDot { position: absolute; top: -2px; inset-inline-end: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.admin-moreList { display: grid; gap: var(--space-1); }
.admin-moreList a { display: flex; align-items: center; gap: var(--space-3); min-height: 52px; padding-inline: var(--space-3); border-radius: var(--radius-sm); }
.admin-moreList a[aria-current] { background: var(--surface-2); font-weight: 600; }
.admin-moreList a:hover { background: var(--surface-2); }

@media (min-width: 1024px) {
  .admin-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); }
  /* rail: black with the gold light at the top, like the storefront footer */
  .admin-rail { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; color: var(--text); overflow-y: auto;
    background: var(--stage-bg); border-inline-end: var(--hairline) solid var(--border-subtle); }
  .admin-bottom { display: none; }
  .admin-main { padding: var(--space-8) var(--space-12) var(--space-16); }
}

/* ─── page frame ────────────────────────────────────────────────── */
.admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-4); margin-block-end: var(--space-6); }
.admin-head h1 { font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-h2); line-height: 1.3; }
.admin-head p { color: var(--text-muted); font-size: var(--fs-small); }
.admin-headActions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.admin-back { display: inline-flex; align-items: center; gap: var(--space-1); min-height: 32px; font-size: var(--fs-small); color: var(--text-muted); }
.admin-back:hover { color: var(--text); }
.admin-section { display: grid; gap: var(--space-4); margin-block-end: var(--space-8); }
.admin-sectionTitle { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--fs-body); font-weight: 700; }
.admin-sectionTitle a { font-size: var(--fs-small); font-weight: 400; text-decoration: underline; text-underline-offset: 4px; }
/* surfaces follow the store: white panels with a hairline, soft corners */
.admin-panel { border-radius: var(--radius-lg); padding: var(--space-4); background: var(--surface-1); box-shadow: var(--shadow-1); min-width: 0; }
.admin-cols { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) {
  .admin-cols { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
  .admin-panel { padding: var(--space-6); border-radius: var(--radius-lg); }
}
.admin-muted { color: var(--text-muted); font-size: var(--fs-small); }
.admin-num { } /* proportional figures: Shazde's tabular set is spaced too wide for Persian digits */

/* ─── KPI tiles ──────────────────────────────────────────────────── */
.admin-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
@media (max-width: 719.98px) { .admin-kpi { padding: var(--space-3); } .admin-kpi dd { font-size: 1.0625rem; } }
.admin-kpi { display: grid; gap: var(--space-1); align-content: start; padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-1); box-shadow: var(--shadow-1); }
.admin-kpi dt { font-size: var(--fs-caption); color: var(--text-muted); }
.admin-kpi dd { font-size: 1.25rem; font-weight: 700; line-height: 1.4; }
.admin-kpi dd small { font-size: var(--fs-caption); font-weight: 400; color: var(--text-muted); margin-inline-start: 4px; }
/* the lead figure sits on the same black «stage» as the storefront's dark scenes */
.admin-kpiLead { grid-column: 1 / -1; color: var(--text); box-shadow: var(--shadow-2);
  background: var(--stage-bg); border: var(--hairline) solid var(--glass-border); }
.admin-kpiLead dt { color: var(--text-muted); }
.admin-kpiLead dd { font-family: var(--font-display); font-weight: var(--fw-hero); font-size: 2.25rem; color: var(--accent); }
.admin-kpiLead dd small { color: var(--text-muted); }
@media (min-width: 720px) { .admin-kpis { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); } .admin-kpiLead { grid-column: auto; } }

/* queue: jobs waiting on a person */
.admin-queue { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
/* quiet tiles; a queue with work waiting lifts to white with a black ring (like a chosen option at checkout) */
.admin-queue a { display: grid; gap: 2px; padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-2); transition: background-color var(--duration-hover) var(--ease-out), box-shadow var(--duration-hover) var(--ease-out); }
.admin-queue a:hover { background: var(--surface-3); }
.admin-queue b { font-size: 1.5rem; line-height: 1.3; }
.admin-queue span { font-size: var(--fs-small); color: var(--text-muted); }
.admin-queue a[data-hot] { background: var(--surface-1); box-shadow: inset 0 0 0 1.5px var(--text), var(--shadow-1); }
.admin-queue a[data-hot]:hover { box-shadow: inset 0 0 0 1.5px var(--text), var(--shadow-2); }
@media (min-width: 720px) { .admin-queue { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* chart */
.admin-chart { width: 100%; height: auto; display: block; overflow: visible; }
.admin-chartWrap { position: relative; }
.admin-chartTip { position: absolute; top: 0; transform: translateX(50%); pointer-events: none; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); background: var(--surface-inverse); color: var(--text-inverse); font-size: var(--fs-caption); white-space: nowrap; line-height: 1.7; }
.admin-chartLegend { display: flex; justify-content: space-between; font-size: var(--fs-caption); color: var(--text-muted); }

/* ranked list */
.admin-rank { display: grid; gap: var(--space-3); }
.admin-rank li { display: grid; gap: var(--space-1); font-size: var(--fs-small); }
.admin-rankRow, .admin-rank .admin-rankRow { display: flex; justify-content: space-between; gap: var(--space-3); }
.admin-rankBar { height: 6px; border-radius: var(--radius-pill); background: var(--surface-3); overflow: hidden; }
.admin-rankBar span { display: block; height: 100%; border-radius: inherit; background: var(--accent); transform-origin: right; }

/* ─── toolbar & tabs ─────────────────────────────────────────────── */
.admin-toolbar { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; margin-block-end: var(--space-4); }
/* search: a white pill, like the store's coupon field */
.admin-search { display: flex; align-items: center; gap: var(--space-2); flex: 1 1 240px; height: var(--control-h-sm); padding-inline: var(--space-4); border-radius: var(--radius-pill); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--border-strong); color: var(--text-muted); }
.admin-search:focus-within { outline: 2px solid var(--focus-ring); outline-offset: 2px; color: var(--text); }
.admin-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; height: 100%; font-size: 16px; color: var(--text); }
/* status filters: the segmented pill of the product page; the current one is a white lens.
   Concentric: 24px track = 20px pill + 4px inset. Scrolls sideways on phones. */
.admin-tabs { display: flex; gap: 2px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 4px; margin-block-end: var(--space-4); border-radius: var(--radius-pill); background: var(--surface-2); }
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tabs a { position: relative; display: inline-flex; align-items: center; gap: var(--space-2); min-height: 40px; padding-inline: var(--space-4); border-radius: var(--radius-pill); white-space: nowrap; font-size: var(--fs-small); color: var(--text-muted); transition: color var(--duration-hover) var(--ease-out), background-color var(--duration-hover) var(--ease-out); }
.admin-tabs a:hover { color: var(--text); background: var(--surface-3); }
.admin-tabs a[aria-current] { color: var(--text); font-weight: 700; background: var(--surface-1); box-shadow: var(--shadow-1); }
.admin-tabs small { min-width: 20px; padding-inline: 5px; border-radius: var(--radius-pill); background: var(--surface-3); font-size: 11px; line-height: 20px; text-align: center; }
.admin-tabs a[aria-current] small { background: var(--accent); color: var(--on-accent); }
@media (pointer: coarse) { .admin-tabs a { min-height: 44px; } }

/* ─── data table → cards on phones ───────────────────────────────── */
/* desktop: the table is itself a white card; inside a panel it stays flat */
.admin-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-small); background: var(--surface-1); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); overflow: hidden; }
.admin-panel .admin-table { background: none; border-radius: 0; box-shadow: none; }
.admin-table th { text-align: start; font-weight: 600; color: var(--text-muted); font-size: var(--fs-caption); padding: var(--space-3) var(--space-4); background: var(--surface-2); white-space: nowrap; }
.admin-panel .admin-table th { background: none; border-block-end: var(--hairline) solid var(--border-subtle); padding-inline: var(--space-3); }
.admin-table td { padding: var(--space-3) var(--space-4); border-block-end: var(--hairline) solid var(--border-subtle); vertical-align: middle; }
.admin-table tbody tr:last-child td { border-block-end: 0; }
.admin-table tbody tr { transition: background-color var(--duration-fast); }
.admin-table tbody tr:hover { background: var(--surface-2); }
.admin-rowLink { font-weight: 600; }
.admin-rowLink::after { content: ''; position: absolute; inset: 0; }
.admin-table tr { position: relative; }
.admin-thumb { width: 44px; height: 55px; border-radius: var(--radius-xs); background: var(--surface-1); border: 1px solid var(--border-subtle); display: grid; place-items: center; overflow: hidden; }
.admin-thumb img { width: 100%; height: 100%; object-fit: contain; }
.admin-cellMain { display: grid; gap: 2px; }
.admin-cellMain span { color: var(--text-muted); font-size: var(--fs-caption); }
.admin-cellMain .ltr { text-align: right; }
.admin-end { text-align: end; }
.admin-nowrap { white-space: nowrap; }
.admin-inlineActions { display: flex; gap: var(--space-1); justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 1023.98px) {
  .admin-table thead { display: none; }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; }
  .admin-table { background: none; border-radius: 0; box-shadow: none; overflow: visible; }
  .admin-table tbody { display: grid; gap: var(--space-3); }
  .admin-table tr { display: grid; grid-template-columns: 1fr auto; gap: var(--space-1) var(--space-3); padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-1); box-shadow: var(--shadow-1); }
  .admin-panel .admin-table tr { box-shadow: none; background: var(--surface-2); border-radius: var(--radius-md); }
  .admin-table tbody tr:hover { background: var(--surface-1); }
  .admin-table td { padding: 0; border: 0; }
  .admin-table td[data-label]::before { content: attr(data-label) ' '; color: var(--text-muted); font-size: var(--fs-caption); }
  .admin-table td.admin-hideSm { display: none; }
  .admin-table td.admin-wide { grid-column: 1 / -1; }
  .admin-end { text-align: start; }
}

/* small action buttons */
/* small actions: quiet white glass like the store's secondary buttons; the dark one is the page's main action */
.admin-act { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 36px; padding-inline: var(--space-3); border: 0; border-radius: var(--radius-pill); font-size: var(--fs-caption); font-weight: 600; background: var(--surface-2); box-shadow: inset 0 1px 0 var(--glass-highlight); white-space: nowrap; transition: background-color var(--duration-hover) var(--ease-out), border-color var(--duration-hover) var(--ease-out); }
.admin-act:hover { background: var(--surface-3); }
.admin-actDark { background: var(--surface-inverse); border-color: var(--surface-inverse); color: var(--text-inverse); box-shadow: inset 0 1px 0 var(--sheen); }
.admin-actDark:hover { background: var(--surface-2); border-color: var(--surface-2); }
@media (pointer: coarse) { .admin-act { min-height: 44px; } }

/* forms */
.admin-form { display: grid; gap: var(--space-4); }
.admin-formGrid { display: grid; gap: var(--space-4); }
.admin-full { grid-column: 1 / -1; }
@media (min-width: 720px) { .admin-formGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-formGrid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.admin-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--space-3); }
.admin-fieldset legend { font-weight: 700; margin-block-end: var(--space-3); padding: 0; }
.admin-checkRow { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.admin-saveBar { position: sticky; bottom: calc(var(--tabbar-h) + 18px + var(--safe-bottom)); z-index: 5; display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; padding: var(--space-3) var(--space-4); border-radius: var(--radius-pill); /* concentric: 10px buttons + 12px inset */ background: var(--glass-bg); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 0 0 1px var(--glass-border), var(--shadow-2); }
@media (min-width: 1024px) { .admin-saveBar { bottom: var(--space-4); } }

/* images editor */
.admin-images { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.admin-imageItem { position: relative; width: 96px; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); background: var(--surface-2); overflow: hidden; }
.admin-imageItem img { width: 100%; height: 100%; object-fit: contain; }
.admin-imageItem button { position: absolute; top: 4px; inset-inline-end: 4px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-1); box-shadow: 0 0 0 1px var(--border-subtle); }
.admin-imageItem[data-first]::after { content: 'تصویر اصلی'; position: absolute; inset-inline: 0; bottom: 0; padding: 2px; background: var(--surface-inverse); color: var(--text-inverse); font-size: 11px; text-align: center; }
.admin-upload { position: relative; width: 96px; aspect-ratio: 4 / 5; display: grid; place-items: center; align-content: center; gap: 4px; border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); font-size: var(--fs-caption); color: var(--text-muted); cursor: pointer; text-align: center; }
.admin-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.admin-upload:hover { border-color: var(--text); color: var(--text); }
.admin-tierRow { display: grid; grid-template-columns: 1fr 1fr auto; gap: var(--space-2); align-items: end; }

/* order detail */
.admin-statusFlow { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.admin-kv { display: grid; gap: var(--space-2); font-size: var(--fs-small); }
.admin-kv > div { display: flex; justify-content: space-between; gap: var(--space-3); }
.admin-kv dt { color: var(--text-muted); }
.admin-timeline { display: grid; gap: var(--space-3); }
.admin-timeline li { display: grid; gap: 2px; padding-inline-start: var(--space-4); border-inline-start: 2px solid var(--border-subtle); font-size: var(--fs-small); }
.admin-timeline li:first-child { border-color: var(--text); }
.admin-timeline time, .admin-timeline small { font-size: var(--fs-caption); color: var(--text-muted); }

/* cards list (applications, reviews) */
.admin-cards { display: grid; gap: var(--space-3); }
@media (min-width: 1024px) { .admin-cards2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.admin-card { display: grid; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-1); box-shadow: var(--shadow-1); align-content: start; }
.admin-panel .admin-card { background: var(--surface-2); box-shadow: none; border-radius: var(--radius-md); } /* a card inside a panel (e.g. a shipping method) stays flat */
.admin-cardHead { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); }
.admin-cardHead h2, .admin-cardHead h3 { font-size: var(--fs-body); font-weight: 700; }
.admin-cardActions { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.admin-cardActions input { flex: 1 1 160px; }
.admin-empty { padding: var(--space-8) var(--space-4); border: 1px dashed var(--border-strong); border-radius: var(--radius-md); text-align: center; color: var(--text-muted); }

@media print {
  .admin-rail, .admin-bottom, .admin-headActions, .admin-back, .admin-main form { display: none !important; }
  .admin-shell { display: block; }
  .admin-main { padding: 0; }
  .admin-panel, .admin-table, .admin-card, .admin-kpi { border: 0; padding: 0; box-shadow: none !important; background: none !important; }
  .admin-kpiLead { color: inherit; }
}

/* campaign image picker in settings */
.admin-campaignImage { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.admin-campaignThumb { width: 96px; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; background: var(--stage); }
.admin-campaignThumb img { width: 100%; height: 100%; object-fit: cover; }

@media (forced-colors: active) {
  .admin-panel, .admin-kpi, .admin-card, .admin-table, .admin-queue a, .admin-tabs, .admin-search { border: 1px solid CanvasText; }
  .admin-tabs a[aria-current], .admin-queue a[data-hot] { outline: 2px solid Highlight; }
}

/* ── components/details.css ── */
/* Generated by scripts/export-kit.mjs from src/components/admin/details.module.css — edit the source, not this file. */
/* every local class .x of the module is .details-x here; :global() classes keep their name */
.details-list { display: grid; gap: var(--space-2); }
.details-list > li { display: grid; gap: var(--space-2); }
.details-item { border: var(--hairline) solid var(--border-subtle); border-radius: var(--radius-md); background: var(--surface-1); }
.details-item[open] { border-color: var(--border-strong); }
.details-item summary { display: flex; align-items: center; gap: var(--space-3); min-height: 52px; padding-inline: var(--space-4); cursor: pointer; list-style: none; }
.details-item summary::-webkit-details-marker { display: none; }
.details-item summary::after { content: ''; margin-inline-start: auto; width: 8px; height: 8px; border-bottom: 1.5px solid currentColor; border-left: 1.5px solid currentColor; transform: rotate(-45deg) translateY(-2px); transition: transform var(--duration-hover) var(--ease-out); }
.details-item[open] summary::after { transform: rotate(135deg) translate(-2px, 0); }
.details-item summary span { font-size: var(--fs-caption); color: var(--text-muted); }
.details-item summary:focus-visible { outline-offset: -2px; }
.details-body { padding: var(--space-2) var(--space-4) var(--space-4); }
.details-child { margin-inline-start: var(--space-8); }
.details-add { border-style: dashed; }
.details-add summary { color: var(--text-muted); font-weight: 600; }

/* ── i18n.css ── */
/* Bilingual layer. Persian, right-to-left, is the reference the whole system was built and tested in.
   An English page sets <html lang="en" dir="ltr">; this file adapts the few places that are not logical yet.

   Two separate switches:
   - [dir='ltr']  direction: anything drawn with left/right, translateX or a gradient angle
   - :lang(en)    language: fonts, line height, words baked into CSS
   Everything else already uses logical properties (margin-inline, inset-inline-start, padding-inline-end …)
   and mirrors by itself. Load after the component files.

   PROPOSED, NOT YET SEEN BY THE OWNER: the English type settings below. Show a preview before treating them
   as final — the owner approves every change of visual direction (docs/03-typography.md → «English»).

   Why English does not use Shazde: Shazde has Latin letters (geometric, close to Montserrat), but it draws
   the ASCII punctuation in Persian form — , . : ; % come out as Persian marks. Fine for a Latin word inside
   Persian text (SPF50, a brand name), wrong for English sentences. English pages take a Latin family. */

/* the Latin family for English pages: system fonts until the owner picks one (proposal: Montserrat, OFL —
   the nearest match to Shazde's own Latin letterforms); Shazde stays last for any Persian word */
:root { --font-latin: system-ui, -apple-system, 'Segoe UI', Roboto; } /* no generic here: it would end the stack */

/* ── language ─────────────────────────────────────────────────────────── */
:root:lang(en) {
  --font-ui: var(--font-latin), var(--font-shazde), sans-serif;
  --font-display: var(--font-ui);
  --font-card: var(--font-ui);
  --fw-hero: 800;      /* system and most Latin families stop at 800–900 */
  --lh-body: 1.65;
  --lh-heading: 1.25;
}
:lang(en) .header-logo::after, :lang(en) .shop-footerLogo::after { content: none; } /* the Persian «تجارت» word after the logo */
:lang(en) .admin-imageItem[data-first]::after { content: 'Main image'; }

/* ── direction ────────────────────────────────────────────────────────── */
/* icons drawn facing right (truck, log-in, log-out) are mirrored for RTL only */
[dir='ltr'] .ui-mirror { transform: none; }

/* the select chevron is two gradients placed from the physical left; in LTR it moves to the right */
[dir='ltr'] .ui-select { background-position: right 22px center, right 17px center; }
@media (max-width: 400px) {
  [dir='ltr'] .catalog-sort select { background-position: right 15px center, right 10px center; }
}
[dir='ltr'] .ui-ltrInput, [dir='ltr'] .admin-cellMain .ltr, [dir='ltr'] .shop-couponInput { text-align: left; }
[dir='ltr'] .product-spec dd { text-align: left; }

/* switches, bars and meters grow from the start edge */
[dir='ltr'] .catalog-switch input:checked + .catalog-switchTrack span { transform: translateX(18px); }
[dir='ltr'] .product-bar span, [dir='ltr'] .admin-rankBar span, [dir='ltr'] .shop-meterTrack span { transform-origin: left; }
[dir='ltr'] .shop-meterTrack span { background-image: linear-gradient(to right, var(--accent), var(--accent-icon)); }
[dir='ltr'] .order-journey li[data-current]::before { background: linear-gradient(to right, var(--text) 0 50%, var(--surface-3) 50% 100%); }

/* arrows that nudge toward the reading direction on hover */
[dir='ltr'] .shop-concern:hover .shop-concernArrow, [dir='ltr'] .pages-catMain:hover .pages-catChev { transform: translateX(4px); }
/* the breadcrumb chevron points along the reading direction */
[dir='ltr'] .shop-crumbs li + li::before { transform: rotate(135deg); }
/* centring tricks written for an inline-start of «right» */
[dir='ltr'] .pages-hero::before { transform: translateX(-50%); }
[dir='ltr'] .admin-chartTip { transform: translateX(-50%); }
[dir='ltr'] .admin-railLens { box-shadow: inset 3px 0 0 var(--accent), inset 0 1px 0 var(--glass-highlight); }

/* travelling light and the endless ribbon move with the reading direction */
[dir='ltr'] .ui-skeleton::after { transform: translateX(-100%); animation-name: ds-shimmer-ltr; }
@keyframes ds-shimmer-ltr { to { transform: translateX(100%); } }
[dir='ltr'] .motion-marqueeTrack { animation-name: ds-marquee-ltr; }
@keyframes ds-marquee-ltr { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* the brand verse writes in from the right; an English slogan would write in from the left */
[dir='ltr'] .verse-misra { animation-name: ds-ink-ltr, verse-sheen; }
@keyframes ds-ink-ltr { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (min-width: 900px) {
  [dir='ltr'] .verse-beyt::before { background: linear-gradient(to right, var(--accent-glow), transparent); }
  [dir='ltr'] .verse-beyt::after { background: linear-gradient(to left, var(--accent-glow), transparent); }
}

/* the side sheet enters from the start edge (behaviors.css) */
[dir='ltr'] .sheet-root .sheet-side { --sheet-off: -100%; }

/* ── behaviors.css ── */
/* States that JavaScript drives. In the Next.js reference these were spring animations in React (motion);
   here they are CSS transitions toggled by data attributes from js/*.js, so a server-rendered page
   (WordPress) gets the same behaviour without a framework. Load after the component files.

   Spring → curve: the sheet spring (stiffness 380, damping 40, mass 1) settles in ≈0.42s with no visible
   overshoot; cubic-bezier(.32,.72,0,1) is the closest single curve. Exits are faster than entrances. */

:root {
  --ease-sheet: cubic-bezier(.32, .72, 0, 1);
  --ease-liquid: cubic-bezier(.34, 1.36, .64, 1);   /* the tab lens: a little elastic, reads as a material */
  --duration-sheet: 420ms;
  --duration-exit: 180ms;
}

/* ── sheet (js/sheet.js) — <div class="sheet-root" data-sheet hidden> … ───────────────────────── */
.sheet-root { visibility: hidden; transition: visibility 0s linear var(--duration-sheet); }
.sheet-root[data-open] { visibility: visible; transition-delay: 0s; }
.sheet-root .sheet-scrim { opacity: 0; transition: opacity var(--duration-exit) var(--ease-out); }
.sheet-root[data-open] .sheet-scrim { opacity: 1; transition-duration: 260ms; }
.sheet-root .sheet-bottom { transform: translateY(100%); transition: transform var(--duration-exit) var(--ease-in); }
.sheet-root .sheet-side { --sheet-off: 100%; transform: translateX(var(--sheet-off)); transition: transform var(--duration-exit) var(--ease-in); }
.sheet-root[data-open] .sheet-bottom, .sheet-root[data-open] .sheet-side { transform: none; transition: transform var(--duration-sheet) var(--ease-sheet); }
.sheet-root[data-dragging] .sheet-bottom { transition: none; }

/* ── compact purchase bar (js/sticky-buy.js) ───────────────────────────────────────────────────── */
.product-stickyBar { transform: translateY(calc(100% + 120px)); visibility: hidden; transition: transform var(--duration-exit) var(--ease-in), visibility 0s linear var(--duration-exit); }
.product-stickyBar[data-shown] { transform: none; visibility: visible; transition: transform var(--duration-sheet) var(--ease-sheet), visibility 0s; }

/* ── one lens that glides between items: header categories, tab bar, segmented tabs (js/lens.js) ── */
/* :where() keeps these at zero specificity: a component's own position (the fixed tab bar) always wins */
:where([data-lens-host]) { position: relative; }
:where([data-lens]) { position: absolute; }
[data-lens] { inset-block: 0; inset-inline-start: 0; width: var(--lens-w, 0); translate: var(--lens-x, 0) 0;
  transition: translate 380ms var(--ease-liquid), width 380ms var(--ease-liquid); pointer-events: none; z-index: 0; }
:where([data-lens-host]) > :where(:not([data-lens])) { position: relative; z-index: 1; }

/* ── header and tab bar: hide while reading down, return on the first scroll up (js/chrome.js) ─── */
.header-header { transition: translate 320ms var(--ease-out); }   /* spring 420 / 42 in the reference */
.header-header[data-hidden] { translate: 0 -120%; }

/* ── toasts (js/toast.js) ──────────────────────────────────────────────────────────────────────── */
.shop-toast { animation: ds-toast-in 260ms var(--ease-out) both; }
.shop-toast[data-leaving] { animation: ds-toast-out var(--duration-exit) var(--ease-in) both; }
@keyframes ds-toast-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes ds-toast-out { to { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  .sheet-root *, .product-stickyBar, [data-lens], .header-header { transition-duration: 1ms !important; }
  .header-header[data-hidden] { translate: none; }
  .shop-toast, .shop-toast[data-leaving] { animation: none; }
}
