/* ==========================================================================
   Nahr Alrafidayn Trading L.L.C - storefront stylesheet (November 2026 redesign)
   --------------------------------------------------------------------------
   Concept: the logo's own colours. Warm black and logo yellow on a stone
   ground, as on the first site; covers and page heads are black bands with
   yellow contour lines, the yellow marks every action. Every product picture
   stands on a stage tinted with the product's own colour (--c on .card / .pdp-stage).
   Type: Sofia Sans Extra Condensed for display and prices, Sofia Sans for text;
   Noto Kufi Arabic / IBM Plex Sans Arabic for Arabic script.
   Mobile first. Logical properties everywhere, so right-to-left just works.

   Contents
     1. Tokens (light + dark)        7. Product cards, grids, rails
     2. Base & typography            8. Shop page
     3. Layout helpers               9. Product page
     4. Buttons, chips, fields      10. Cart, drawer, checkout, order
     5. Header, menu, tab bar       11. Content pages
     6. Home: covers & sections     12. Layers, toast, utilities, print
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* brand (the same in both themes) */
  --signal: #F9DF1B;          /* logo yellow: actions and highlights */
  --signal-strong: #EFD000;
  --signal-soft: #FFF6BF;
  --ink: #100F0D;             /* logo black: text on yellow, dark bands */
  --lapis: #1C1B18;           /* band colours (the names stay for the rules that use them) */
  --lapis-2: #141311;
  --lapis-3: #0A0A09;
  --contour: #58595B;
  --logo-yt: #D6BB00;         /* wordmark yellow, a little deeper for light backgrounds */

  /* theme: light */
  --bg: #EEEEE9;              /* stone page ground */
  --surface: #FFFFFF;
  --stage: #E4E4DE;
  --stage-2: #D9D9D1;
  --text: #100F0D;
  --muted: #595A55;
  --faint: #8A8B84;
  --line: #D5D5CD;
  --line-strong: #BDBDB4;
  --focus: #100F0D;
  --accent: #100F0D;          /* links, icons and active states on light ground */
  --accent-soft: #F8EFB4;     /* pale logo yellow behind icons and notes */
  --contrast-bg: #100F0D;
  --contrast-fg: #F7F6F1;
  --contrast-hover: #2A2925;
  --success: #1E7A4C;
  --success-soft: #E2F1E7;
  --danger: #B3261E;
  --warn: #9A5B00;
  --overlay: rgba(16, 15, 13, .5);
  --shadow: 0 1px 2px rgba(16, 15, 13, .06), 0 14px 34px -14px rgba(16, 15, 13, .26);
  --shadow-float: 0 -1px 0 rgba(16, 15, 13, .04), 0 12px 32px -12px rgba(16, 15, 13, .34);
  --tint: 15%;                 /* how much product colour goes into its stage */
  --glass: rgba(255, 255, 255, .86);

  /* black bands: covers, footer, inner page heads */
  --band: #100F0D;
  --band-text: #F3F2EC;
  --band-muted: #A9A9A1;
  --band-line: rgba(243, 242, 236, .14);

  /* type */
  --font-body: "Sofia Sans", "IBM Plex Sans Arabic", "Noto Sans Devanagari", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Sofia Sans Extra Condensed", "Noto Kufi Arabic", "Noto Sans Devanagari", "Noto Sans Bengali", "Arial Narrow", "Roboto Condensed", sans-serif;
  --fs-xs: .78rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.3rem;
  --fs-h3: clamp(1.3rem, 1.1rem + .8vw, 1.6rem);
  --fs-h2: clamp(2.05rem, 1.45rem + 2.3vw, 3.1rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 3.3vw, 4.1rem);
  --fs-hero: clamp(3rem, 1.7rem + 5.2vw, 5.8rem);
  --fs-price: clamp(1.35rem, 1.2rem + .5vw, 1.55rem);

  /* space & shape */
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1280px;
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --radius-sm: 8px;           /* names kept for ads.css and inline styles */
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 60px;
  --tabbar-h: 0px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (min-width: 900px) { :root { --header-h: 72px; } }
@media (max-width: 899.98px) { :root { --tabbar-h: 62px; } }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121210; --surface: #1B1B18; --stage: #22221E; --stage-2: #2A2A25;
    --text: #F2F1EB; --muted: #ABABA3; --faint: #7D7D76; --line: #2E2E29; --line-strong: #44443D;
    --focus: #F9DF1B; --accent: #F9DF1B; --accent-soft: #2B2812;
    --contrast-bg: #F2F1EB; --contrast-fg: #100F0D; --contrast-hover: #FFFFFF;
    --success: #4CC38A; --success-soft: #12261A; --danger: #F2827A; --warn: #F2B544;
    --overlay: rgba(0, 0, 0, .64); --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 38px -14px rgba(0, 0, 0, .75);
    --shadow-float: 0 -1px 0 rgba(255, 255, 255, .04), 0 14px 34px -12px rgba(0, 0, 0, .8);
    --tint: 22%; --glass: rgba(27, 27, 24, .86); --logo-yt: #F3E132;
    --band: #0A0A09; --band-line: rgba(243, 242, 236, .1);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121210; --surface: #1B1B18; --stage: #22221E; --stage-2: #2A2A25;
  --text: #F2F1EB; --muted: #ABABA3; --faint: #7D7D76; --line: #2E2E29; --line-strong: #44443D;
  --focus: #F9DF1B; --accent: #F9DF1B; --accent-soft: #2B2812;
  --contrast-bg: #F2F1EB; --contrast-fg: #100F0D; --contrast-hover: #FFFFFF;
  --success: #4CC38A; --success-soft: #12261A; --danger: #F2827A; --warn: #F2B544;
  --overlay: rgba(0, 0, 0, .64); --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 38px -14px rgba(0, 0, 0, .75);
  --shadow-float: 0 -1px 0 rgba(255, 255, 255, .04), 0 14px 34px -12px rgba(0, 0, 0, .8);
  --tint: 22%; --glass: rgba(27, 27, 24, .86); --logo-yt: #F3E132;
  --band: #0A0A09; --band-line: rgba(243, 242, 236, .1);
  color-scheme: dark;
}

/* 2. Base & typography ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  padding-bottom: calc(var(--tabbar-h) + var(--safe-b));
}
main { flex: 1 0 auto; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--signal-strong); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.004em;
  line-height: .96;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-md); font-weight: 680; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
small { font-size: var(--fs-sm); }
.lede { font-size: var(--fs-md); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--signal); color: var(--ink); }

/* Scripts --------------------------------------------------------------------
   html[data-l] carries the language (en ar ckb fa ur tr ru hi bn tl), html[dir] the direction.
   Arabic script: Kufi display letters are wide and must never be spaced out; lines need air.
   Devanagari and Bengali: tall marks above and below need room. Cyrillic and Filipino run long. */
html[dir="rtl"] {
  --fs-hero: clamp(2.3rem, 1.3rem + 3.9vw, 4.1rem); --fs-h1: clamp(2rem, 1.35rem + 2.5vw, 3.1rem);
  --fs-h2: clamp(1.65rem, 1.2rem + 1.7vw, 2.4rem); --fs-h3: clamp(1.2rem, 1.05rem + .7vw, 1.45rem); --fs-price: clamp(1.15rem, 1.05rem + .4vw, 1.3rem);
}
html:is([data-l="hi"], [data-l="bn"]) {
  --fs-hero: clamp(2.2rem, 1.2rem + 3.6vw, 3.8rem); --fs-h1: clamp(1.9rem, 1.25rem + 2.4vw, 2.9rem);
  --fs-h2: clamp(1.6rem, 1.15rem + 1.6vw, 2.3rem); --fs-h3: clamp(1.2rem, 1.05rem + .7vw, 1.45rem); --fs-price: clamp(1.15rem, 1.05rem + .4vw, 1.3rem);
}
html:is([data-l="ru"], [data-l="tl"]) { --fs-hero: clamp(2.6rem, 1.5rem + 4.4vw, 5rem); --fs-h1: clamp(2.3rem, 1.5rem + 3vw, 3.7rem); --fs-h2: clamp(1.9rem, 1.35rem + 2vw, 2.8rem); }
html:is([dir="rtl"], [data-l="hi"], [data-l="bn"]) :is(h1, h2, h3, .display, .cover-title, .price, .tab-label, .cat-name) { line-height: 1.38; }
html:is([dir="rtl"], [data-l="hi"], [data-l="bn"]) :is(h1, h2, .display, .cover-title) { font-weight: 700; }
html:is([dir="rtl"], [data-l="hi"], [data-l="bn"]) body { line-height: 1.75; }
html:is([dir="rtl"], [data-l="hi"], [data-l="bn"]) body * { letter-spacing: 0 !important; }
/* prices are digits and Latin "AED": keep them in the condensed face in every language */
.price, .cover-price strong, .pdp-price .price, .line-total, .totals .grand dd, .bar-price { font-family: "Sofia Sans Extra Condensed", var(--font-display); }
.flip-rtl { transform: none; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* a page translated by JavaScript stays hidden for a moment so the English text never flashes */
html.i18n-wait body { visibility: hidden; }

/* 3. Layout helpers -------------------------------------------------------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(40px, 6vw, 88px); }
.section-sm { padding-block: clamp(28px, 4vw, 52px); }
.section-tight { padding-block: clamp(28px, 4vw, 52px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px 28px; margin-block-end: clamp(18px, 2.4vw, 30px); }
.section-head > div { display: grid; gap: 8px; min-width: 0; }
.section-head p { color: var(--muted); max-width: 56ch; }
.section-head h2 { font-size: var(--fs-h2); }
.link-more {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  font-weight: 700; font-size: var(--fs-sm); text-decoration: none; color: var(--accent);
  padding: 8px 2px; border-radius: 8px; white-space: nowrap;
}
.link-more:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--signal-strong); }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--signal); color: var(--ink); padding: 10px 14px; border-radius: var(--r-xs); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon { flex: none; }
.row-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.stack { display: grid; gap: 16px; }
.stack-sm { display: grid; gap: 4px; }
.split { display: grid; gap: clamp(28px, 5vw, 72px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.full-bleed { margin-inline: calc(50% - 50vw); }

/* 4. Buttons, chips, fields ------------------------------------------------ */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--text); --btn-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1.5px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 750; font-size: var(--fs-base); line-height: 1.1;
  text-decoration: none; white-space: nowrap; user-select: none; -webkit-user-select: none;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), transform .12s var(--ease), box-shadow .16s var(--ease);
}
.btn:hover { --btn-bd: var(--text); }
.btn:active { transform: scale(.98); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { --btn-bg: var(--signal); --btn-fg: var(--ink); --btn-bd: var(--signal); }
.btn-primary:hover { --btn-bg: var(--signal-strong); --btn-bd: var(--signal-strong); box-shadow: 0 6px 18px -8px rgba(201, 170, 0, .8); }
.btn-dark { --btn-bg: var(--contrast-bg); --btn-fg: var(--contrast-fg); --btn-bd: var(--contrast-bg); }
.btn-dark:hover { --btn-bg: var(--contrast-hover); --btn-bd: var(--contrast-hover); }
.btn-blue { --btn-bg: var(--lapis); --btn-fg: #fff; --btn-bd: var(--lapis); }
.btn-blue:hover { --btn-bg: var(--lapis-2); --btn-bd: var(--lapis-2); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: var(--band-text); --btn-bd: rgba(242, 245, 252, .4); }
.btn-ghost-light:hover { --btn-bd: var(--band-text); --btn-bg: rgba(242, 245, 252, .08); }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; font-size: var(--fs-md); padding: 0 28px; }
.btn-sm { min-height: 38px; padding: 0 15px; font-size: var(--fs-sm); gap: 6px; }
@media (max-width: 520px) { .btn { white-space: normal; text-align: center; padding-block: 10px; } .btn-sm { padding-block: 6px; } }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  border: 0; background: transparent; color: var(--text); position: relative; flex: none;
}
.icon-btn:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.link-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px; border: 0; background: none;
  color: var(--accent); font-weight: 700; font-size: var(--fs-sm); text-decoration: none; border-radius: 8px;
}
.link-btn:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--signal-strong); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--text);
  font-weight: 650; font-size: var(--fs-sm); white-space: nowrap; text-decoration: none; flex: none;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"], .chip.is-active, .chip[aria-current="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip .count { font-weight: 600; opacity: .62; font-size: var(--fs-xs); }

.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px;
  background: var(--signal); color: var(--ink); font-size: var(--fs-xs); font-weight: 800; line-height: 1.3; letter-spacing: .01em;
}
.badge-out { background: var(--contrast-bg); color: var(--contrast-fg); }
.badge-low { background: var(--surface); color: var(--warn); box-shadow: inset 0 0 0 1.5px currentColor; }

.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field > span, .field > label { font-weight: 650; font-size: var(--fs-sm); }
.field .opt { color: var(--muted); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 11px 15px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--text); font-size: max(16px, var(--fs-base));
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--lapis); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lapis) 18%, transparent); }
:root[data-theme="dark"] :is(.input, .select, .textarea):focus { border-color: var(--signal); box-shadow: 0 0 0 4px rgba(249, 223, 27, .2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.input, .select, .textarea):focus { border-color: var(--signal); box-shadow: 0 0 0 4px rgba(249, 223, 27, .2); } }
.textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.select {
  appearance: none; -webkit-appearance: none; padding-inline-end: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23566176' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
[dir="rtl"] .select { background-position: left 16px center; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field-error { display: none; color: var(--danger); font-size: var(--fs-sm); font-weight: 600; }
.field.has-error .field-error { display: block; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field .hint, .hint { color: var(--muted); font-size: var(--fs-sm); }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; line-height: 1.5; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--lapis); flex: none; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.search-inline { position: relative; display: block; min-width: 0; }
.search-inline > .icon { position: absolute; inset-inline-start: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-inline .input { padding-inline-start: 46px; border-radius: 999px; }
.notice {
  display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--accent-soft); color: var(--text); font-size: var(--fs-sm); line-height: 1.5;
}
.notice .icon { color: var(--accent); margin-top: 1px; }
.notice.is-success { background: var(--success-soft); }
.notice.is-success .icon { color: var(--success); }
/* 5. Header, language menu, menu sheet, tab bar, footer -------------------- */
#site-header, #site-footer { display: contents; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border-block-end: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 10px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; text-decoration: none; color: var(--text); padding-block: 6px; }
.brand-logo { height: 30px; width: auto; max-width: 100%; }
.brand-logo .y { fill: #F9DF1B; } .brand-logo .yt { fill: var(--logo-yt); } .brand-logo .k { fill: currentColor; } .brand-logo .w { fill: var(--surface); } .brand-logo .g { fill: #58595B; }
@media (min-width: 900px) { .brand-logo { height: 36px; } }
.main-nav { flex-shrink: 0; display: flex; align-items: center; gap: 2px; margin-inline-start: 18px; min-width: 0; }
.main-nav a {
  position: relative; padding: 9px 13px; border-radius: 999px; text-decoration: none; font-weight: 650; font-size: .95rem; white-space: nowrap; color: var(--text);
}
.main-nav a:hover { background: color-mix(in srgb, var(--text) 7%, transparent); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; inset-inline: 13px; bottom: 3px; height: 3px; border-radius: 3px; background: var(--signal);
}
.header-search {
  display: flex; align-items: center; gap: 10px; flex: 0 1 300px; min-width: 0; height: 44px; margin-inline-start: auto; padding: 0 16px;
  border: 1.5px solid transparent; border-radius: 999px; background: var(--stage); color: var(--muted); font-size: var(--fs-sm); text-align: start;
}
.header-search:hover { border-color: var(--line-strong); color: var(--text); }
.header-search span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; flex: none; }
.header-search + .header-actions { margin-inline-start: 6px; }
.cart-count {
  position: absolute; top: 3px; inset-inline-end: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px;
  display: grid; place-items: center; background: var(--signal); color: var(--ink); font-size: 11px; font-weight: 850; line-height: 1;
  box-shadow: 0 0 0 2px var(--surface);
}
.cart-count[data-count="0"] { display: none; }
.cart-btn.bump .cart-count, .tab.bump .cart-count { animation: nrt-bump .5s var(--ease); }
/* account button: a red dot when a gift card code or a payment notice is waiting */
.acct-btn { position: relative; }
.acct-dot { position: absolute; top: 9px; inset-inline-end: 9px; width: 10px; height: 10px; border-radius: 99px; background: #D93025; box-shadow: 0 0 0 2px var(--surface); }
.acct-dot[hidden] { display: none; }
@keyframes nrt-bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }
.lang-wrap { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 999px;
  border: 0; background: transparent; color: var(--text); font-weight: 750; font-size: var(--fs-sm);
}
.lang-btn:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.lang-code { font-size: .8rem; letter-spacing: .02em; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; min-width: 220px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
}
.lang-menu ul { list-style: none; margin: 0; padding: 0; display: grid; }
.lang-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 12px;
  border: 0; border-radius: var(--r-xs); background: none; color: var(--text); text-align: start; font-weight: 600;
}
.lang-item:hover, .lang-item:focus-visible { background: var(--stage); }
.lang-item.is-current { color: var(--accent); }
.menu-btn { display: none; }

/* header on phones and tablets: logo, search, language - the rest lives in the tab bar */
@media (max-width: 899.98px) {
  .main-nav, .header-search, .theme-btn-desktop, .header-actions .cart-btn, .header-actions .acct-btn { display: none; }
  .header-inner { gap: 4px; }
  .header-search + .header-actions { margin-inline-start: auto; }
}
@media (min-width: 900px) {
  .search-btn-mobile { display: none; }
  html.nav-compact .main-nav { display: none; }
  html.nav-compact .menu-btn { display: inline-grid; }
}
@media (min-width: 900px) and (max-width: 1320px) { .header-search { flex-basis: 52px; padding: 0; justify-content: center; } .header-search span { display: none; } }
@media (max-width: 380px) { .brand-logo { height: 26px; } .lang-btn { padding: 0 8px; } }

/* bottom tab bar (phones and tablets) */
.tabbar { display: none; }
@media (max-width: 899.98px) {
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset-inline: 0; bottom: 0; z-index: 70;
    height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
    background: var(--glass); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
    border-block-start: 1px solid var(--line);
  }
}
.tab {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; min-width: 0; padding: 6px 2px 4px;
  border: 0; background: none; color: var(--muted); text-decoration: none; font-size: 11.5px; font-weight: 700; line-height: 1.15;
}
.tab .icon { width: 24px; height: 24px; }
.tab-icon .acct-dot { top: 1px; inset-inline-end: 12px; }
.tab-icon { position: relative; display: grid; place-items: center; width: 52px; height: 30px; border-radius: 999px; transition: background-color .18s var(--ease); }
.tab-label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-inline: 2px; }
.tab[aria-current="page"], .tab.is-on { color: var(--text); }
.tab[aria-current="page"] .tab-icon, .tab.is-on .tab-icon { background: var(--signal); color: var(--ink); }
.tab .cart-count { top: -2px; inset-inline-end: 2px; }
.tab.is-muted { color: var(--muted); }
.tab.is-muted .tab-icon { background: none; color: inherit; }
.tab.is-muted .cart-count { background: var(--signal); color: var(--ink); box-shadow: 0 0 0 2px var(--surface); }
.tab[aria-current="page"] .cart-count, .tab.is-on .cart-count { background: var(--ink); color: var(--signal); box-shadow: 0 0 0 2px var(--signal); }

/* menu sheet (opens from the tab bar, or from the menu button on a narrow desktop) */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 calc(var(--tabbar-h) + var(--safe-b)); z-index: 45; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); padding: 18px var(--gutter) 32px; animation: nrt-sheet .22s var(--ease);
}
@keyframes nrt-sheet { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.mnav-title { font: 800 var(--fs-h3)/1 var(--font-display); margin: 6px 0 12px; }
.mnav-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 168px), 1fr)); gap: 10px; }
.mnav-cat {
  display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 12px 8px 8px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: var(--fs-sm); line-height: 1.25;
}
[dir="rtl"] .mnav-cat { padding: 8px 8px 8px 12px; }
.mnav-cat img { width: 48px; height: 48px; border-radius: 12px; background: color-mix(in oklab, var(--c, var(--stage)) var(--tint), var(--stage)); object-fit: contain; flex: none; }
.mnav-links { display: grid; margin-top: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.mnav-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 16px; text-decoration: none; font-weight: 700; border-block-end: 1px solid var(--line); }
.mnav-links a:last-child { border-block-end: 0; }
.mnav-links a[aria-current="page"] { color: var(--accent); }
.mobile-lang { margin-top: 22px; }
.mobile-lang p { display: flex; align-items: center; gap: 8px; font-weight: 750; margin-bottom: 10px; }
.lang-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.lang-chip {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 48px; padding: 0 14px;
  border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font-weight: 650;
}
.lang-chip.is-current { border-color: var(--text); }
.mobile-meta { display: grid; gap: 4px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.mobile-meta a { display: flex; align-items: center; gap: 10px; padding: 10px 2px; text-decoration: none; font-weight: 650; }
.mobile-meta .btn { justify-self: start; margin-bottom: 8px; }

/* footer */
.site-footer {
  position: relative; isolation: isolate; overflow: hidden; margin-top: auto;
  background: radial-gradient(120% 90% at 85% 0%, #2A2925 0%, transparent 55%), var(--band); color: var(--band-text);
}
.footer-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.footer-grid { display: grid; gap: 36px 28px; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); padding-block: clamp(48px, 6vw, 80px) 36px; }
.footer-brand { display: grid; gap: 16px; align-content: start; max-width: 340px; }
.footer-brand img { width: 150px; height: auto; }
.footer-brand p { color: var(--band-muted); font-size: var(--fs-sm); }
.footer-col h3 { font-size: var(--fs-sm); font-weight: 800; color: var(--signal); margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-col a { text-decoration: none; color: var(--band-text); display: inline-block; padding-block: 5px; font-size: .95rem; }
.footer-col a:hover { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.footer-sub { margin-top: 22px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--band-text); font-size: .95rem; padding-block: 4px; }
.footer-contact li .icon { margin-top: 3px; color: var(--signal); }
.footer-contact .muted { color: var(--band-muted); }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 20px 28px;
  border-top: 1px solid var(--band-line); color: var(--band-muted); font-size: var(--fs-xs);
}
.legal-lines { display: grid; gap: 4px; }
.site-footer .pay-marks { margin-top: 4px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; max-width: 520px; } }
@media (max-width: 520px) { .footer-grid { gap: 28px 18px; } .footer-contact { grid-column: 1 / -1; } }

/* payment marks */
.pay-marks { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pay-mark { display: inline-grid; place-items: center; height: 34px; min-width: 52px; padding: 0 8px; border-radius: 8px; background: #fff; border: 1px solid #E2E6EE; color: #0C1427; }
.pay-mark svg { height: 20px; width: auto; }
.pay-mark.is-visa svg { height: 14px; }
/* 6. Home: covers and sections --------------------------------------------- */
.covers { position: relative; padding-block: 14px 6px; }
@media (min-width: 900px) { .covers { padding-block: 22px 8px; } }
.covers-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% - 2 * var(--gutter)); gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter); scrollbar-width: none;
}
.covers-track::-webkit-scrollbar { display: none; }
@media (min-width: 1360px) {
  .covers-track { grid-auto-columns: var(--maxw); padding-inline: calc((100% - var(--maxw)) / 2); scroll-padding-inline: calc((100% - var(--maxw)) / 2); gap: 18px; }
}
.cover {
  --c1: #2A2925; --c2: #0A0A09; --cfg: #F3F2EC; --cmuted: rgba(243, 242, 236, .78);
  position: relative; isolation: isolate; overflow: hidden; scroll-snap-align: center; scroll-snap-stop: always;
  display: grid; grid-template-rows: auto 1fr; min-height: clamp(360px, 96vw, 450px);
  border-radius: var(--r-xl); color: var(--cfg);
  background: radial-gradient(110% 80% at 85% 10%, color-mix(in srgb, var(--c1) 70%, #fff 12%) 0%, transparent 60%), linear-gradient(165deg, var(--c1) 0%, var(--c2) 100%);
}
.cover.is-light { --cfg: #100F0D; --cmuted: rgba(16, 15, 13, .72); }
.cover-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.cover-copy { position: relative; z-index: 2; display: grid; gap: 10px; align-content: start; padding: clamp(20px, 5vw, 40px) clamp(20px, 5vw, 44px) 4px; }
.cover-kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; font-size: var(--fs-sm); color: var(--cmuted); }
.cover-kicker .badge { font-size: 11px; }
.cover-title { font: 800 clamp(2.1rem, 1.25rem + 3.4vw, 3.7rem)/.9 var(--font-display); letter-spacing: -.01em; text-wrap: balance; color: var(--cfg); }
h1.cover-title { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem); }
.cover-text { font-size: clamp(.95rem, .92rem + .2vw, 1.08rem); color: var(--cmuted); max-width: 36ch; }
.cover-price { display: flex; align-items: baseline; gap: 8px; color: var(--cfg); }
.cover-price small { font-size: var(--fs-sm); color: var(--cmuted); font-weight: 650; }
.cover-price strong { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; line-height: 1; }
.cover-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.cover-art { position: relative; z-index: 1; display: grid; place-items: end center; min-height: 0; padding: 0 8px; }
.cover-art img { width: min(74%, 330px); height: auto; max-height: 100%; object-fit: contain; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .26)); }
.cover-art.is-trio { display: block; }
.cover-art.is-trio img { position: absolute; width: 56%; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .22)); }
.cover-art.is-trio img:nth-child(1) { inset-inline-start: 2%; bottom: 6%; width: 50%; }
.cover-art.is-trio img:nth-child(2) { inset-inline-end: 0; bottom: 24%; width: 46%; }
.cover-art.is-trio img:nth-child(3) { inset-inline-start: 30%; bottom: -2%; width: 46%; }
.cover.is-gold { --c1: #FBE449; --c2: #F2CF00; --cfg: #100F0D; --cmuted: rgba(16, 15, 13, .74); }
.cover.is-gold .btn-primary { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.cover.is-gold .badge { background: var(--ink); color: var(--signal); }
.cover.is-gold .btn-primary:hover { --btn-bg: #2A2925; --btn-bd: #2A2925; box-shadow: none; }
/* phones: compact slides - smaller type, one button, a smaller picture */
@media (max-width: 759.98px) {
  .cover { min-height: 0; }
  .cover-copy { gap: 8px; padding: 20px 20px 0; }
  h1.cover-title { font-size: clamp(1.9rem, 1.2rem + 3.4vw, 2.4rem); }
  .cover-title { font-size: clamp(1.8rem, 1.15rem + 3.2vw, 2.3rem); }
  html[dir="rtl"] .cover-title { font-size: clamp(1.55rem, 1.05rem + 2.8vw, 2rem); }
  .cover-text { font-size: .92rem; }
  .cover-price strong { font-size: 1.45rem; }
  .cover-actions { margin-top: 2px; }
  .cover-actions .btn { min-height: 44px; padding: 0 20px; font-size: .98rem; }
  .cover-actions .btn + .btn { display: none; }
  .cover-art { padding: 8px 8px 0; }
  .cover-art img { width: auto; max-width: 72%; max-height: 196px; }
  .cover-art.is-trio { min-height: 200px; }
}
@media (min-width: 760px) {
  .cover { grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(300px, 30vw, 390px); }
  .cover-copy { align-content: center; padding-block: 28px; padding-inline-end: 0; }
  .cover-art { place-items: center; padding: 18px; }
  .cover-art img { max-height: min(32vw, 340px); width: auto; }
  .cover-art.is-trio img:nth-child(1) { bottom: 10%; }
}
.covers-bar { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.covers-dots { display: flex; gap: 6px; }
.covers-dots button { width: 26px; height: 26px; padding: 0; border: 0; background: none; display: grid; place-items: center; border-radius: 99px; }
.covers-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--line-strong); transition: width .25s var(--ease), background-color .25s var(--ease); }
.covers-dots button[aria-current="true"]::before { width: 24px; background: var(--text); }
.covers-nav { display: none; }
@media (min-width: 900px) {
  .covers-nav { display: inline-grid; width: 40px; height: 40px; border-radius: 99px; border: 1.5px solid var(--line-strong); background: var(--surface); place-items: center; color: var(--text); }
  .covers-nav:hover { border-color: var(--text); }
}

/* category rail (scrolls on phones, grid on large screens) */
.cat-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 104px; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity;
  margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.cat-rail::-webkit-scrollbar { display: none; }
.cat-tile { display: grid; gap: 8px; justify-items: center; text-align: center; text-decoration: none; scroll-snap-align: start; color: var(--text); }
.cat-art {
  position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden;
  background: var(--stage); background: color-mix(in oklab, var(--c, var(--stage)) var(--tint), var(--stage));
  transition: transform .2s var(--ease);
}
.cat-art img { width: 92%; height: 92%; object-fit: contain; }
.cat-tile:hover .cat-art { transform: translateY(-3px); }
.cat-name { font-weight: 750; font-size: var(--fs-sm); line-height: 1.22; max-width: 100%; }
.cat-count { display: block; font-weight: 600; font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }
@media (min-width: 900px) {
  .cat-rail { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 16px 14px; }
}

/* promo pair */
.promo-duo { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.promo {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 42%; align-items: center; gap: 8px;
  min-height: 210px; padding: 24px; border-radius: var(--r-xl); text-decoration: none; color: var(--ink); background: var(--signal);
}
.promo.is-dark { color: var(--band-text); background: radial-gradient(90% 90% at 90% 10%, #34322C 0%, transparent 60%), linear-gradient(160deg, var(--lapis), var(--lapis-3)); }
.promo canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.promo h3 { font: 800 clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem)/.98 var(--font-display); text-wrap: balance; }
html:is([dir="rtl"], [data-l="hi"], [data-l="bn"]) .promo h3 { line-height: 1.35; font-weight: 700; }
.promo p { margin-top: 8px; font-size: var(--fs-sm); opacity: .82; max-width: 34ch; }
.promo .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 800; font-size: var(--fs-sm); }
.promo-art { position: relative; height: 100%; min-height: 160px; }
.promo-art img { position: absolute; width: 74%; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .2)); }
.promo-art img:nth-child(1) { inset-inline-end: 0; top: 0; }
.promo-art img:nth-child(2) { inset-inline-start: 0; bottom: 0; width: 66%; }
.promo-art .icon { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; color: var(--signal); }
.promo:hover .go { text-decoration: underline; text-decoration-thickness: 2px; }

/* brands */
.brand-row { display: flex; gap: 10px; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; scrollbar-width: none; }
.brand-row::-webkit-scrollbar { display: none; }
.brand-chip {
  flex: none; display: grid; place-items: center; min-width: 120px; height: 72px; padding: 0 22px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text);
  font: 800 1.5rem/1 "Sofia Sans Extra Condensed", var(--font-display); letter-spacing: .01em;
}
.brand-chip:hover { border-color: var(--text); }
@media (min-width: 900px) { .brand-row { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; } .brand-chip { flex: 1 1 130px; } }

/* service promises */
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.promise { display: grid; gap: 6px; align-content: start; padding: 22px; border-inline-end: 1px solid var(--line); }
.promise:last-child { border-inline-end: 0; }
.promise .icon { color: var(--lapis); margin-bottom: 6px; }
:root[data-theme="dark"] .promise .icon { color: var(--signal); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .promise .icon { color: var(--signal); } }
.promise h3 { font-size: var(--fs-base); font-weight: 800; }
.promise p { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 900px) {
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise:nth-child(2) { border-inline-end: 0; }
  .promise:nth-child(-n+2) { border-block-end: 1px solid var(--line); }
}
@media (max-width: 420px) { .promise { padding: 18px 16px; } }

/* wholesale band */
.trade-band { position: relative; isolation: isolate; overflow: hidden; background: var(--signal); color: var(--ink); }
.trade-band .band-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.trade-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.trade-inner h2 { font-size: var(--fs-h2); }
.trade-inner .lede { color: rgba(16, 15, 13, .78); margin-top: 14px; }
.trade-actions { margin-top: 24px; }
.trade-band .btn-dark { --btn-bg: #100F0D; --btn-fg: #fff; --btn-bd: #100F0D; }
.trade-band .btn-dark:hover { --btn-bg: #2A2925; --btn-bd: #2A2925; }
.trade-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.trade-list li { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 16px 0; border-top: 1.5px solid rgba(16, 15, 13, .16); }
.trade-list li:last-child { border-bottom: 1.5px solid rgba(16, 15, 13, .16); }
.trade-list .icon { grid-row: span 2; margin-top: 2px; }
.trade-list strong { font-weight: 800; }
.trade-list span { color: rgba(16, 15, 13, .76); font-size: var(--fs-sm); }
@media (max-width: 820px) { .trade-inner { grid-template-columns: 1fr; } }
/* 7. Product cards, grids and rails ------------------------------------------ */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 14px; } }
@media (min-width: 1040px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; } }

.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(156px, 45%); gap: 10px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 12px; scroll-padding-inline: var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: minmax(200px, 31%); gap: 14px; } }
@media (min-width: 1040px) {
  .rail { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 26px 18px; }
  .rail > :nth-child(n+9) { display: none; }
}

.card {
  --c: #8A8B84;
  position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0;
  background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .2s var(--ease);
}
.card:hover { box-shadow: 0 0 0 1px var(--line-strong), var(--shadow); }
.card-media {
  position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden;
  background: var(--stage); background: color-mix(in oklab, var(--c) var(--tint), var(--stage));
}
.card-media img { width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(16, 15, 13, .16)); transition: transform .35s var(--ease), opacity .2s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; }
.card-body { display: flex; flex-direction: column; gap: 3px; flex: 1; padding: 12px; }
.card-brand { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.card-title { font: 750 .98rem/1.25 var(--font-body); letter-spacing: 0; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.card-title a:focus-visible { outline: none; }
.card:has(.card-title a:focus-visible) { box-shadow: 0 0 0 3px var(--focus); }
.card-spec { font-size: var(--fs-xs); color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-spec .nw { white-space: nowrap; }
.card-colors { position: relative; z-index: 1; display: flex; align-items: center; gap: 2px; margin: 4px -4px 0; }
.card-dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; border-radius: 99px; display: grid; place-items: center; cursor: pointer; }
.card-dot::before { content: ""; width: 14px; height: 14px; border-radius: 99px; background: var(--dot, #999); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); transition: box-shadow .15s ease; }
.card-dot[aria-pressed="true"]::before { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 0 0 2px var(--surface), 0 0 0 3.5px var(--text); }
.card-more { font-size: var(--fs-xs); font-weight: 650; color: var(--muted); padding-inline-start: 2px; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.card .price { display: grid; line-height: 1; font-size: clamp(1.3rem, 1.15rem + .5vw, 1.5rem); font-weight: 800; }
.card .price small { font: 650 var(--fs-xs)/1.3 var(--font-body); color: var(--muted); }
.card .price bdi { white-space: nowrap; }
html[dir="rtl"] .card .price, html[data-l="hi"] .card .price, html[data-l="bn"] .card .price { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); }
.card-add {
  position: relative; z-index: 1; flex: none; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 99px;
  display: grid; place-items: center; background: var(--signal); color: var(--ink); cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.card-add:hover { background: var(--signal-strong); }
.card-add:active { transform: scale(.94); }
.card-add:disabled { background: var(--stage-2); color: var(--faint); cursor: not-allowed; }
.card-add .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.card-add.is-added { background: var(--success); color: #fff; }
@media (min-width: 640px) { .card-body { padding: 14px 16px 16px; gap: 4px; } .card-title { font-size: 1.04rem; } }
@media (max-width: 380px) { .card-body { padding: 10px; } .card-add { width: 38px; height: 38px; } }

/* 8. Layers: drawer, search, modal, toast ------------------------------------ */
.layer { position: fixed; inset: 0; z-index: 90; }
.scrim { position: absolute; inset: 0; background: var(--overlay); animation: nrt-fade .2s ease both; }
@keyframes nrt-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nrt-in-end { from { transform: translateX(100%); } to { transform: none; } }
@keyframes nrt-in-start { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes nrt-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes nrt-down { from { transform: translateY(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes nrt-pop { from { transform: translateY(10px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }

.drawer-panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(440px, 100%); display: flex; flex-direction: column;
  background: var(--surface); box-shadow: var(--shadow-float); animation: nrt-in-end .3s var(--ease) both;
}
[dir="rtl"] .drawer-panel { animation-name: nrt-in-start; }
@media (max-width: 639.98px) {
  .drawer-panel, [dir="rtl"] .drawer-panel { inset: auto 0 0 0; width: 100%; max-height: 90vh; max-height: 90dvh; border-radius: var(--r-xl) var(--r-xl) 0 0; animation-name: nrt-up; }
  .drawer-panel::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 99px; background: var(--line-strong); }
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 16px 12px 20px; padding-inline: 20px 12px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: clamp(1.6rem, 1.4rem + .8vw, 2rem); }
.drawer-head .count { font: 700 var(--fs-sm)/1 var(--font-body); color: var(--muted); margin-inline-start: 6px; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px; }
.drawer-body .meter { margin-block: 14px 4px; }
.drawer-foot { display: grid; gap: 12px; padding: 14px 20px calc(16px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--surface); }
.drawer-foot .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 750; }
.drawer-foot .row .num { font: 800 1.5rem/1 "Sofia Sans Extra Condensed", var(--font-display); }
.drawer-foot .summary-note { margin: -6px 0 0; }
.drawer-foot .two { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; }
.drawer-foot .two .btn { width: 100%; }
.drawer-empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 44px 8px; color: var(--muted); }
.drawer-empty .icon { color: var(--faint); }
.drawer-empty strong { color: var(--text); font-size: var(--fs-lg); }
.drawer-empty .chip-row { justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* free-delivery meter */
.meter { display: grid; gap: 9px; padding: 12px 14px; border-radius: var(--r); background: var(--accent-soft); color: var(--text); }
.meter p { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 650; line-height: 1.35; }
.meter .icon { flex: none; color: var(--accent); }
.meter-track { height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 18%, transparent); overflow: hidden; }
.meter-fill { width: var(--p, 0%); height: 100%; border-radius: inherit; background: var(--accent); transition: width .5s var(--ease); }
.meter.is-done { background: var(--success-soft); }
.meter.is-done .icon { color: var(--success); }
.meter.is-done .meter-fill { background: var(--success); }

/* cart lines (drawer, cart page) */
.line-items { list-style: none; margin: 0; padding: 0; }
.line-item {
  display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; grid-template-areas: "thumb info total"; gap: 4px 14px;
  align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line);
}
.line-item:last-child { border-bottom: 0; }
.line-item .thumb { grid-area: thumb; display: grid; place-items: center; width: 80px; height: 80px; border-radius: var(--r-sm); overflow: hidden; background: var(--stage); background: color-mix(in oklab, var(--c, var(--stage)) var(--tint), var(--stage)); }
.line-item .thumb img { width: 88%; height: 88%; object-fit: contain; }
.line-item > div { grid-area: info; min-width: 0; }
.line-item h3 { font: 750 var(--fs-base)/1.3 var(--font-body); }
.line-item h3 a { color: inherit; text-decoration: none; }
.line-item h3 a:hover { text-decoration: underline; }
.line-item .variant, .line-item .unit { font-size: var(--fs-sm); color: var(--muted); margin-top: 2px; }
.line-item .controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; }
.line-total { grid-area: total; font-size: 1.3rem; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.drawer .line-item { grid-template-columns: 68px minmax(0, 1fr) auto; }
.drawer .line-item .thumb { width: 68px; height: 68px; }
@media (max-width: 480px) {
  .line-item, .drawer .line-item { grid-template-columns: 68px minmax(0, 1fr); grid-template-areas: "thumb info" "thumb total"; }
  .line-item .thumb { width: 68px; height: 68px; }
  .line-total { font-size: 1.2rem; }
}

/* quantity stepper */
.qty { display: inline-flex; align-items: center; height: 40px; border: 1.5px solid var(--line-strong); border-radius: 99px; background: var(--surface); }
.qty button { display: grid; place-items: center; width: 38px; height: 100%; padding: 0; border: 0; border-radius: 99px; background: none; color: var(--text); cursor: pointer; }
.qty button:hover { background: var(--stage); }
.qty input { width: 34px; height: 100%; padding: 0; border: 0; background: none; color: var(--text); text-align: center; font: 750 16px/1 var(--font-body); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus-visible { outline: none; }
.qty:focus-within { border-color: var(--focus); }
.qty-sm { height: 36px; }
.qty-sm button { width: 34px; }
.qty-sm input { width: 30px; }

/* search sheet */
.search-panel {
  position: absolute; inset: 0 0 auto; max-height: 100%; overflow-y: auto; overscroll-behavior: contain;
  padding: max(12px, env(safe-area-inset-top)) 0 22px; background: var(--surface);
  border-radius: 0 0 var(--r-xl) var(--r-xl); box-shadow: var(--shadow-float); animation: nrt-down .25s var(--ease) both;
}
.search-row { display: flex; align-items: center; gap: 8px; }
.search-row .search-inline { flex: 1; }
.search-row .input { height: 50px; border-radius: 99px; }
.search-out { margin-top: 16px; }
.search-cats h2, .search-label { font: 750 var(--fs-sm)/1.3 var(--font-body); color: var(--muted); margin-bottom: 10px; letter-spacing: 0; }
.search-cats { display: grid; gap: 18px; }
.search-cats .chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.search-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.search-results a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-sm); color: var(--text); text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { background: var(--stage); }
.search-results img { width: 56px; height: 56px; object-fit: contain; border-radius: var(--r-xs); background: var(--stage); }
.search-results .name { font-weight: 750; }
.search-results .sub { display: block; font-size: var(--fs-xs); color: var(--muted); }
.search-results .price { font-size: 1.2rem; font-weight: 800; }
.search-empty { color: var(--muted); padding: 6px 4px 14px; }

/* modal */
.modal-wrap { position: absolute; inset: 0; display: grid; place-items: center; overflow-y: auto; padding: 16px; }
.modal {
  position: relative; display: grid; gap: 14px; width: min(520px, 100%); padding: 28px 24px 24px;
  background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-float); animation: nrt-pop .22s var(--ease) both;
}
.modal .close { position: absolute; top: 12px; inset-inline-end: 12px; }
.modal-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); }
.modal h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); padding-inline-end: 36px; }
.modal-actions { display: grid; gap: 10px; }
.modal-actions .btn { width: 100%; }
.modal .ref { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--stage); font-size: var(--fs-sm); color: var(--muted); }
.modal .ref strong { color: var(--text); font-size: var(--fs-md); }

/* toast */
.toast-zone { position: fixed; z-index: 95; inset-inline: 0; bottom: calc(var(--tabbar-h) + var(--safe-b) + 12px); display: grid; justify-items: center; padding: 0 12px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; max-width: min(540px, 100%); padding: 8px; padding-inline-start: 14px;
  border-radius: 99px; background: var(--contrast-bg); color: var(--contrast-fg); box-shadow: var(--shadow-float);
  font-size: var(--fs-sm); font-weight: 650; pointer-events: auto; animation: nrt-pop .25s var(--ease) both;
}
.toast .icon { flex: none; color: #4CC38A; }
.toast > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.toast button { flex: none; min-height: 36px; padding: 0 14px; border: 0; border-radius: 99px; background: var(--signal); color: var(--ink); font: 800 var(--fs-sm)/1 var(--font-body); cursor: pointer; }
:root[data-theme="dark"] .toast .icon { color: #12804A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .toast .icon { color: #12804A; } }

/* empty states */
.empty-state { display: grid; justify-items: center; gap: 12px; padding: clamp(40px, 8vw, 84px) 16px; text-align: center; color: var(--muted); }
.empty-state > .icon { color: var(--faint); }
.empty-state h1, .empty-state h2 { color: var(--text); font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); }
.empty-state p { max-width: 46ch; }
.empty-state .row-wrap { justify-content: center; margin-top: 6px; }
/* 9. Shop ------------------------------------------------------------------- */
.shop-bar {
  position: sticky; top: var(--header-h); z-index: 20; margin-inline: calc(-1 * var(--gutter)); padding: 10px var(--gutter);
  background: var(--bg); background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.shop-bar.is-stuck { border-bottom-color: var(--line); }
.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
.chip-row::-webkit-scrollbar { display: none; }
.shop-bar .chip-row { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.chip-row .chip { flex: none; }
@media (min-width: 1040px) { .shop-bar .chip-row { flex-wrap: wrap; overflow: visible; } }
.shop-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 8px 18px; }
.shop-tools .search-inline { flex: 1 1 260px; }
.shop-tools .select { flex: 0 1 210px; width: auto; min-width: 0; }
@media (max-width: 640px) {
  .shop-tools .search-inline { flex-basis: 100%; }
  .shop-tools .select { flex: 1 1 0; }
}
.shop-tools .input, .shop-tools .select { height: 46px; border-radius: 99px; }

/* 10. Product page ---------------------------------------------------------- */
.pdp-crumbs { padding-block: 16px 14px; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 4.5vw, 72px); align-items: start; padding-bottom: clamp(32px, 5vw, 64px); }
@media (max-width: 899.98px) { .pdp { grid-template-columns: minmax(0, 1fr); gap: 18px; } .pdp-crumbs { padding-block: 12px 10px; } }
.pdp-gallery { display: grid; gap: 12px; min-width: 0; }
@media (min-width: 900px) { .pdp-gallery { position: sticky; top: calc(var(--header-h) + 18px); } }
.pdp-stage {
  --c: #8A8B84; position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl);
  background: var(--stage); background: color-mix(in oklab, var(--c) var(--tint), var(--stage)); transition: background-color .35s ease;
}
.pdp-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.pdp-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pdp-track::-webkit-scrollbar { display: none; }
.pdp-slide { margin: 0; display: grid; place-items: center; aspect-ratio: 1; scroll-snap-align: center; scroll-snap-stop: always; }
.pdp-slide img { width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(16, 15, 13, .2)); }
.pdp-stage > .badge { position: absolute; top: 16px; inset-inline-start: 16px; }
.pdp-dots { position: absolute; bottom: 12px; inset-inline: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.pdp-dots span { width: 7px; height: 7px; border-radius: 99px; background: color-mix(in srgb, var(--text) 25%, transparent); transition: width .25s var(--ease), background-color .25s ease; }
.pdp-dots span.is-on { width: 20px; background: var(--text); }
.pdp-thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 3px; }
.pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-thumb { flex: none; display: grid; place-items: center; width: 74px; height: 74px; padding: 0; border: 0; border-radius: var(--r); background: var(--stage); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); }
.pdp-thumb img { width: 86%; height: 86%; object-fit: contain; }
.pdp-thumb[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--text); }
@media (max-width: 899.98px) { .pdp-thumbs { display: none; } }
@media (min-width: 900px) { .pdp-dots { display: none; } }
.pdp-gallery .note { font-size: var(--fs-xs); color: var(--faint); }

.pdp-info { display: grid; gap: 20px; min-width: 0; }
.pdp-title { display: grid; gap: 8px; }
.brand-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: var(--fs-sm); font-weight: 700; color: var(--muted); }
.brand-line a { color: inherit; }
.pdp-title h1 { font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.6rem); line-height: .95; }
html:is([dir="rtl"], [data-l="hi"], [data-l="bn"]) .pdp-title h1 { line-height: 1.3; }
.pdp-title .muted { font-size: var(--fs-base); }
.pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.pdp-price .price { font-size: clamp(2.2rem, 1.8rem + 1.4vw, 2.9rem); font-weight: 800; line-height: 1; }
.pdp-price .vat { font-size: var(--fs-sm); color: var(--muted); }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 750; color: var(--success); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: currentColor; }
.stock.is-low { color: var(--warn); }
.stock.is-out { color: var(--danger); }
.opt-group { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
.opt-group legend { padding: 0; margin-bottom: 10px; font-weight: 750; font-size: var(--fs-sm); }
.opt-group legend span { color: var(--muted); font-weight: 650; }
.color-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.color-opt { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 99px; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16), 0 0 0 3px var(--bg), 0 0 0 3px transparent; transition: box-shadow .15s ease; }
.color-opt[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16), 0 0 0 3px var(--bg), 0 0 0 5px var(--text); }
.size-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.size-opt { display: grid; gap: 2px; justify-items: start; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: var(--surface); color: var(--text); text-align: start; cursor: pointer; }
.size-opt strong { font-size: var(--fs-base); }
.size-opt span { font-size: var(--fs-sm); color: var(--muted); }
.size-opt:hover { border-color: var(--text); }
.size-opt[aria-pressed="true"] { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.buy-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.buy-row .qty { height: 54px; }
.buy-row .qty button { width: 44px; }
.buy-row #buy-btn { grid-column: 1 / -1; }
@media (min-width: 560px) { .buy-row { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); } .buy-row #buy-btn { grid-column: auto; } }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.info-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list .icon { color: var(--accent); margin-top: 1px; }
.info-list strong { display: block; font-weight: 750; }
.info-list span { color: var(--muted); font-size: var(--fs-sm); }
.info-list .pay-marks { margin-top: 8px; }
.pdp-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(28px, 5vw, 72px); padding-block: clamp(24px, 4vw, 48px) clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.pdp-details h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); margin-bottom: 14px; }
.pdp-details .lede { color: var(--text); }
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.spec-table th, .spec-table td { padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: start; }
.spec-table th { width: 40%; padding-inline-end: 16px; font-weight: 650; color: var(--muted); }
.spec-table td { font-weight: 650; }

/* buy bar (phones and small tablets) */
.buy-bar {
  position: fixed; z-index: 45; inset-inline: 0; bottom: calc(var(--tabbar-h) + var(--safe-b)); padding: 10px 0;
  background: var(--glass); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
  border-top: 1px solid var(--line); transform: translateY(110%); opacity: 0; visibility: hidden;
  transition: transform .3s var(--ease), opacity .2s ease, visibility 0s linear .3s;
}
.buy-bar.is-on { transform: none; opacity: 1; visibility: visible; transition: transform .3s var(--ease), opacity .2s ease; }
.buy-bar .wrap { display: flex; align-items: center; gap: 12px; }
.bar-info { display: grid; min-width: 0; flex: 1; }
.bar-name { font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-price { font-size: 1.45rem; font-weight: 800; line-height: 1.05; }
.buy-bar .btn { flex: none; }
@media (min-width: 900px) { .buy-bar { display: none; } }
/* 11. Cart, checkout and order ---------------------------------------------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 410px); gap: clamp(18px, 3.5vw, 44px); align-items: start; padding-bottom: clamp(40px, 6vw, 88px); }
@media (max-width: 899.98px) { .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr); } }
.cart-lines { padding: 4px clamp(14px, 3vw, 24px); border-radius: var(--r-xl); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.cart-main { display: grid; gap: 14px; min-width: 0; }
.cart-main > .meter { margin: 0; }
.summary { display: grid; gap: 16px; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--r-xl); background: var(--surface); box-shadow: 0 0 0 1px var(--line); min-width: 0; }
@media (min-width: 900px) { .summary { position: sticky; top: calc(var(--header-h) + 18px); } }
.summary h2 { font-size: clamp(1.6rem, 1.35rem + .9vw, 2.1rem); }
.summary .row-wrap h2 { margin-inline-end: auto; }
.totals { display: grid; gap: 10px; margin: 0; }
.totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; font-size: var(--fs-sm); }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 700; text-align: end; }
.totals .grand { padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--fs-base); }
.totals .grand dt { color: var(--text); font-weight: 800; }
.totals .grand dd { font-size: clamp(1.8rem, 1.6rem + .6vw, 2.2rem); font-weight: 800; line-height: 1; }
.summary-note { font-size: var(--fs-sm); color: var(--muted); }
.summary .pay-marks { justify-content: center; }
.summary-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.summary-items li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; font-size: var(--fs-sm); }
.summary-items .thumb { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-sm); background: var(--stage); }
.summary-items .thumb img { width: 86%; height: 86%; object-fit: contain; }
.summary-items .thumb .icon { color: var(--faint); }
.qty-badge { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; background: var(--text); color: var(--bg); font-size: 11px; font-weight: 800; }
.summary-items .name { font-weight: 700; }
.summary-items .variant { color: var(--muted); font-size: var(--fs-xs); }

/* sticky total on phones (cart page) */
.cart-bar {
  position: fixed; z-index: 45; inset-inline: 0; bottom: calc(var(--tabbar-h) + var(--safe-b)); padding: 10px 0;
  background: var(--glass); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); border-top: 1px solid var(--line);
}
.cart-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cart-bar .bar-info small { font-size: var(--fs-xs); color: var(--muted); font-weight: 650; }
.cart-bar .btn { flex: none; min-width: 46%; }
@media (min-width: 900px) { .cart-bar { display: none; } }
@media (max-width: 899.98px) { body[data-page="cart"].has-cart-bar { padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 76px); } }

/* checkout steps (a real sequence, so they are numbered) */
.steps { list-style: none; display: flex; gap: 8px; margin: 0 0 18px; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 8px; flex: 1 1 0; min-width: 0; font-size: var(--fs-sm); font-weight: 700; color: var(--faint); }
.steps li:last-child { flex: 0 1 auto; }
.steps li::before { content: counter(step); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 99px; background: var(--stage-2); color: var(--muted); font-size: var(--fs-xs); font-weight: 800; }
.steps li::after { content: ""; flex: 1; min-width: 12px; height: 2px; border-radius: 2px; background: var(--line-strong); }
.steps li:last-child::after { display: none; }
.steps li[aria-current="step"] { color: var(--text); }
.steps li[aria-current="step"]::before { background: var(--signal); color: var(--ink); }
.steps li.is-done { color: var(--text); }
.steps li.is-done::before { content: "\2713"; background: var(--ink); color: var(--signal); }
.steps li.is-done::after { background: var(--text); }
@media (max-width: 420px) { .steps li { font-size: var(--fs-xs); gap: 6px; } }

.form-card { display: grid; gap: 16px; padding: clamp(18px, 2.6vw, 28px); margin-bottom: 14px; border-radius: var(--r-xl); background: var(--surface); box-shadow: 0 0 0 1px var(--line); min-width: 0; }
.form-card h2 { font-size: clamp(1.55rem, 1.3rem + .9vw, 2rem); }
.form-card .field .opt { font-weight: 500; color: var(--muted); }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.radio-card input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); }
.radio-card strong { display: block; font-weight: 750; }
.radio-card .desc { display: block; font-size: var(--fs-sm); color: var(--muted); }
.radio-card .fee { font-weight: 800; white-space: nowrap; }
.radio-card:has(input:checked) { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.radio-card:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.deliver-to { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px; }
.deliver-to .stack-sm { min-width: 0; }

/* Stripe payment panel */
.stripe-panel { display: grid; gap: 14px; padding: 18px; border-radius: var(--r-lg); background: var(--stage); }
.stripe-marks { display: flex; flex-wrap: wrap; gap: 8px; }
.stripe-marks .pay-mark { height: 38px; min-width: 60px; padding: 0 12px; border-radius: 10px; }
.stripe-panel p { font-size: var(--fs-sm); }
.stripe-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--fs-sm); }
.stripe-points li { display: flex; gap: 10px; align-items: flex-start; }
.stripe-points .icon { flex: none; color: var(--accent); margin-top: 1px; }
.checkout-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; }
.checkout-actions .btn-primary { min-width: min(100%, 300px); }
@media (max-width: 560px) {
  .checkout-actions { flex-direction: column-reverse; align-items: stretch; }
  .checkout-actions .btn-primary { width: 100%; }
  .checkout-actions .link-btn { justify-content: center; }
}
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: var(--fs-sm); color: var(--muted); text-align: center; }
.secure-note .icon { flex: none; color: var(--success); }
.is-busy { cursor: progress; }
.spin { width: 18px; height: 18px; border-radius: 99px; border: 2.5px solid currentColor; border-inline-end-color: transparent; animation: nrt-spin .8s linear infinite; }
@keyframes nrt-spin { to { transform: rotate(360deg); } }

/* order page */
.order-solo { max-width: 680px; margin: 0 auto clamp(48px, 7vw, 96px); }
.order-status { justify-items: start; }
.order-status h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.7rem); }
.order-status > p { color: var(--muted); }
.order-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); }
.order-status.is-paid .order-mark { background: var(--success-soft); color: var(--success); }
.order-status.is-fail .order-mark { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.spin-ring { width: 30px; height: 30px; border-radius: 99px; border: 3px solid currentColor; border-inline-end-color: transparent; animation: nrt-spin .9s linear infinite; }
.order-ref { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; width: 100%; padding: 14px 16px; border-radius: var(--r); background: var(--stage); font-size: var(--fs-sm); color: var(--muted); }
.order-ref span { display: grid; gap: 2px; }
.order-ref strong { color: var(--text); font-size: var(--fs-md); }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.order-test { display: flex; gap: 8px; align-items: flex-start; padding: 10px 14px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--warn) 12%, transparent); color: var(--text); font-size: var(--fs-sm); }
.order-test .icon { flex: none; color: var(--warn); margin-top: 2px; }

/* mobile number: country code + number, WhatsApp */
.phone-row { display: grid; grid-template-columns: minmax(106px, auto) minmax(0, 1fr); gap: 8px; }
.phone-cc { padding-inline: 12px 30px; font-variant-numeric: tabular-nums; }
.wa-check { margin-top: 8px; font-size: var(--fs-sm); font-weight: 650; }
.wa-check .icon { display: inline-block; color: #1FA855; vertical-align: -4px; }
.wa-check input:disabled { opacity: 1; }
.deliver-to .icon { display: inline-block; color: #1FA855; vertical-align: -3px; }
/* 12. Inner page covers, content pages -------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: var(--fs-sm); color: var(--muted); min-width: 0; }
.crumbs a { color: var(--text); font-weight: 650; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .icon { opacity: .55; flex: none; }
.crumbs [aria-current] { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.page-head, .about-hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 10px; align-content: start;
  margin-block: 14px clamp(16px, 2.6vw, 28px); padding: clamp(22px, 4vw, 46px) clamp(20px, 4vw, 52px);
  border-radius: var(--r-xl); color: var(--band-text);
  background: radial-gradient(80% 130% at 100% 0%, #34322C 0%, transparent 58%), linear-gradient(160deg, var(--lapis) 0%, var(--lapis-3) 100%);
}
[dir="rtl"] .page-head, [dir="rtl"] .about-hero { background: radial-gradient(80% 130% at 0% 0%, #34322C 0%, transparent 58%), linear-gradient(200deg, var(--lapis) 0%, var(--lapis-3) 100%); }
.page-head > canvas, .about-hero > canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.page-head h1, .about-hero h1 { color: #fff; font-size: clamp(2.3rem, 1.5rem + 3vw, 3.9rem); max-width: 22ch; }
.page-head .lede, .about-hero .lede { color: var(--band-muted); max-width: 62ch; }
.page-head .lede a { color: #fff; }
.page-head .crumbs, .about-hero .crumbs { color: var(--band-muted); }
.page-head .crumbs a, .about-hero .crumbs a { color: var(--band-text); }
.page-meta { color: var(--band-muted); font-size: var(--fs-sm); font-weight: 650; }
.page-head.is-compact { padding-block: clamp(18px, 3vw, 34px); }
.page-head.is-compact h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.3rem); }

/* about */
.about-hero { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: center; gap: clamp(20px, 4vw, 56px); }
.about-hero .stack { gap: 14px; }
.mark-stage { position: relative; display: grid; place-items: center; aspect-ratio: 6 / 5; border-radius: var(--r-lg); overflow: hidden; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px var(--band-line); }
.mark-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mark-stage img { position: relative; width: 66%; height: auto; }
@media (max-width: 820px) { .about-hero { grid-template-columns: minmax(0, 1fr); } .mark-stage { aspect-ratio: 16 / 9; } .mark-stage img { width: 40%; } }
.about-body { padding-block: clamp(12px, 2vw, 24px) clamp(36px, 5vw, 64px); }
.legend-pair { display: grid; gap: 14px; margin-top: 18px; }
.legend-pair > div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.swatch { width: 44px; height: 44px; border-radius: 12px; }

/* prose */
.prose { max-width: 72ch; min-width: 0; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); margin: 1.5em 0 .45em; }
.prose > h2:first-child, .prose .doc > h2:first-child { margin-top: 0; }
.prose h3 { font: 750 var(--fs-md)/1.35 var(--font-body); margin: 1.3em 0 .4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-inline-start: 1.25em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose strong { font-weight: 750; }
.prose table { width: 100%; margin: 0 0 1em; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.updated { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 20px; }

/* policies */
.policy-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(20px, 3.5vw, 56px); align-items: start; padding-bottom: clamp(48px, 7vw, 96px); }
.policy-nav { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 4px; }
.policy-nav a { padding: 11px 14px; border-radius: var(--r-sm); color: var(--muted); font-size: var(--fs-sm); font-weight: 650; text-decoration: none; }
.policy-nav a:hover { background: var(--stage); color: var(--text); }
.policy-nav a[aria-current="page"] { background: var(--surface); color: var(--text); box-shadow: 0 0 0 1px var(--line); }
.policy-layout .prose { max-width: none; padding: clamp(20px, 3.4vw, 44px); border-radius: var(--r-xl); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.policy-layout .doc { max-width: 72ch; }
@media (max-width: 860px) {
  .policy-layout { grid-template-columns: minmax(0, 1fr); }
  .policy-nav { position: static; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
  .policy-nav::-webkit-scrollbar { display: none; }
  .policy-nav a { flex: none; border-radius: 99px; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
  .policy-nav a[aria-current="page"] { background: var(--text); color: var(--bg); box-shadow: none; }
}

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: 0 0 0 1.5px var(--line-strong), var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 750; line-height: 1.35; cursor: pointer; list-style: none; border-radius: inherit; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; width: 32px; height: 32px; padding: 6px; border-radius: 99px; background: var(--stage); transition: transform .25s var(--ease), background-color .2s ease; }
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--signal); color: var(--ink); }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
.faq .answer p, .faq .answer ul { margin: 0 0 .8em; }
.faq .answer ul { padding-inline-start: 1.2em; }
.faq .answer a { color: var(--accent); }
.faq .answer > :last-child { margin-bottom: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(14px, 3vw, 32px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-cards { display: grid; gap: 10px; }
.contact-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.contact-card > .icon { box-sizing: border-box; width: 44px; height: 44px; padding: 11px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); }
.contact-card strong { display: block; font-weight: 750; }
.contact-card .value { display: block; margin-top: 4px; font-size: var(--fs-md); font-weight: 650; overflow-wrap: anywhere; }
.contact-card .value a { color: inherit; text-decoration: none; }
.contact-card .value a:hover { text-decoration: underline; }
.contact-card .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
#contact-form { margin-bottom: 0; }
.facts-section { padding-block: clamp(28px, 4.5vw, 56px) clamp(24px, 4vw, 48px); }
.facts-section .section-head h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.7rem); }
.facts-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: var(--r-xl); background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: var(--fs-sm); }
.facts-table th, .facts-table td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.facts-table th { width: 38%; color: var(--muted); font-weight: 650; }
.facts-table td { font-weight: 650; }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
  .facts-table th, .facts-table td { display: block; width: auto; }
  .facts-table th { padding: 14px 16px 2px; border-bottom: 0; }
  .facts-table td { padding: 0 16px 14px; }
  .facts-table tr:last-child td { border-bottom: 0; }
}
.map-block { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); overflow: hidden; margin-bottom: clamp(48px, 7vw, 96px); border-radius: var(--r-xl); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.map-info { display: grid; gap: 14px; align-content: start; padding: clamp(20px, 3vw, 36px); }
.map-info h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.3rem); }
.map-address { display: flex; gap: 10px; }
.map-address .icon { flex: none; color: var(--accent); margin-top: 2px; }
.makani { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 14px; border-radius: var(--r); background: var(--stage); }
.makani span { color: var(--muted); font-size: var(--fs-sm); }
.makani strong { font-size: var(--fs-md); letter-spacing: .04em; }
.map-note { font-size: var(--fs-sm); }
.map-info .btn { justify-self: start; }
.map-frame { min-height: 340px; background: var(--stage); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }
@media (max-width: 860px) { .map-block { grid-template-columns: minmax(0, 1fr); } }

/* 404 */
.not-found { display: grid; justify-items: center; gap: 14px; padding-block: clamp(48px, 10vw, 120px); text-align: center; }
.not-found .big { font: 800 clamp(7rem, 4rem + 14vw, 14rem)/.8 "Sofia Sans Extra Condensed", var(--font-display); color: var(--lapis); letter-spacing: -.02em; }
:root[data-theme="dark"] .not-found .big { color: var(--signal); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .not-found .big { color: var(--signal); } }
.not-found .row-wrap { justify-content: center; }
/* 10. Accounts, gift cards, PayPal and crypto ------------------------------ */
/* product cards: the values of a gift card */
.card-values { display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0 0; }
.card-values span { font-size: 11.5px; font-weight: 750; line-height: 1; padding: 5px 7px; border-radius: 99px; background: var(--stage); color: var(--text); white-space: nowrap; }
.size-opts.is-values { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }

/* home: gift card band */
.cards-band .region-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: -4px 0 14px; }
.region-chips .chip { min-height: 38px; }

/* cart + checkout */
.meter.is-digital p { color: var(--text); }
.meter.is-digital .icon { color: var(--accent); }
.signed-as { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -4px 0 14px; padding: 10px 12px; border-radius: var(--r); background: var(--stage); font-size: var(--fs-sm); }
.signed-as .link-btn { margin-inline-start: auto; }
.digital-note { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; }
.digital-note .icon { flex: none; color: var(--ink); background: var(--signal); border-radius: 12px; padding: 7px; width: 38px; height: 38px; }
.digital-mixed { margin: 0 0 16px; }
.co-wait, .acct-loading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 220px; color: var(--muted); }
.gate { text-align: center; display: grid; justify-items: center; gap: 10px; padding-block: 34px; }
.gate > .icon { width: 56px; height: 56px; padding: 12px; border-radius: 99px; background: var(--signal); color: var(--ink); }
.gate h2 { margin: 4px 0 0; }
.gate p { max-width: 46ch; margin: 0; }
.gate-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.pay-choice { margin-bottom: 14px; }
.pay-card { align-items: center; }
.pay-card .pay-art { margin-inline-start: auto; display: flex; align-items: center; }
.pay-card .pay-marks { gap: 4px; flex-wrap: wrap; justify-content: flex-end; max-width: 150px; }
.pay-card .pay-mark { width: 40px; height: 27px; }
.pay-word { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; letter-spacing: .01em; color: var(--text); white-space: nowrap; }
.pay-word .icon { color: var(--accent); }
.pay-logo { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; min-width: 64px; padding: 0 10px; border-radius: 8px; background: #fff; border: 1px solid #E2E6EE; color: #0C1427; white-space: nowrap; line-height: 1; }
.pay-logo-pp { font-size: 17px; letter-spacing: -.01em; }
.pay-logo-pp b { font-weight: 800; color: #003087; }
.pay-logo-pp i { font-style: normal; font-weight: 800; color: #009CDE; }
.pay-logo-cr { font-size: 12px; font-weight: 800; }
.pay-logo-cr svg { width: 40px; height: 24px; flex: none; }
.pay-logo-txt { font-size: 11px; font-weight: 700; color: #0C1427; }
@media (max-width: 560px) { .pay-card .pay-art .pay-marks { display: none; } .pay-logo { min-height: 30px; min-width: 52px; padding: 0 8px; } .pay-logo-cr .pay-logo-txt { display: none; } }
.order-charged { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 10px 0 0; color: var(--muted); font-size: var(--fs-sm); }

/* account page: sign in / create account */
.account-root { padding-block: 8px 72px; min-height: 50vh; }
.auth-layout { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .auth-layout { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 36px; } }
.auth-card { display: grid; gap: 14px; }
.auth-card h2 { margin: 0; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 99px; background: var(--stage); margin-bottom: 4px; }
.auth-tabs a { display: grid; place-items: center; min-height: 44px; border-radius: 99px; font-weight: 800; color: var(--muted); text-decoration: none; }
.auth-tabs a[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,.12)); }
.auth-alt { margin: 0; text-align: center; }
.auth-alt a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.btn-block { width: 100%; justify-content: center; }
.pw-wrap { position: relative; display: block; }
.pw-wrap .input { padding-inline-end: 52px; }
.pw-eye { position: absolute; inset-block: 0; inset-inline-end: 4px; width: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); border-radius: 99px; }
.pw-eye:hover { color: var(--text); }
.form-msg { margin: 0; }
.form-msg[hidden] { display: none; }
.notice.is-ok { background: color-mix(in srgb, #1E7A4C 12%, var(--surface)); border-color: color-mix(in srgb, #1E7A4C 40%, transparent); }
.notice.is-err { background: color-mix(in srgb, #B3261E 10%, var(--surface)); border-color: color-mix(in srgb, #B3261E 40%, transparent); }
.auth-why { position: relative; overflow: hidden; padding: 28px; border-radius: var(--r-xl); background: var(--ink); color: #F3F2EC; }
.auth-why h2 { color: #fff; margin: 0 0 16px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.auth-why ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.auth-why li { display: flex; gap: 12px; align-items: flex-start; color: rgba(243, 242, 236, .86); }
.auth-why .icon { flex: none; color: var(--signal); margin-top: 2px; }
@media (max-width: 899.98px) { .auth-why { order: 2; } }

/* account page: signed in */
.acct-hero { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.acct-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.acct-id h2 { margin: 0; font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); }
.acct-id p { margin: 2px 0 0; font-size: var(--fs-sm); overflow-wrap: anywhere; }
.acct-avatar { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 99px; background: var(--signal); color: var(--ink); font: 800 1.5rem/1 var(--font-display); }
.acct-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: 0 calc(-1 * 4px) 18px; border-bottom: 1px solid var(--line); }
.acct-tabs::-webkit-scrollbar { display: none; }
.acct-tabs a { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 99px; color: var(--muted); font-weight: 800; text-decoration: none; white-space: nowrap; }
.acct-tabs a[aria-selected="true"] { background: var(--ink); color: var(--signal); }
.tab-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: #D93025; color: #fff; font-size: 11px; display: grid; place-items: center; }
.acct-empty { padding-block: 36px; }
.acct-orders, .acct-notes, .gift-codes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.acct-order { padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.ao-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ao-ref { font-weight: 800; }
.ao-head time { margin-inline-start: auto; font-size: var(--fs-sm); }
.ostatus { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 99px; font-size: 12.5px; font-weight: 800; background: var(--stage); color: var(--text); }
.ostatus.is-paid, .ostatus.is-done { background: color-mix(in srgb, #1E7A4C 14%, var(--surface)); color: #1E7A4C; }
.ostatus.is-wait, .ostatus.is-pending { background: var(--accent-soft); color: var(--ink); }
.ostatus.is-failed, .ostatus.is-expired, .ostatus.is-cancelled { background: color-mix(in srgb, #B3261E 10%, var(--surface)); color: #B3261E; }
:root[data-theme="dark"] .ostatus.is-paid, :root[data-theme="dark"] .ostatus.is-done { color: #7FD6A8; }
:root[data-theme="dark"] .ostatus.is-failed, :root[data-theme="dark"] .ostatus.is-expired, :root[data-theme="dark"] .ostatus.is-cancelled { color: #F2A29C; }
.ao-items { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; }
.ao-items li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.ao-items img, .ao-items .ph { width: 52px; height: 52px; border-radius: 12px; background: var(--stage); object-fit: contain; }
.ao-items .name { display: block; font-weight: 700; }
.ao-items .variant { display: block; font-size: var(--fs-sm); color: var(--muted); }
.ao-items .q { color: var(--muted); font-weight: 700; }
.ao-note { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; padding: 8px 12px; border-radius: var(--r); background: var(--accent-soft); color: var(--ink); font-size: var(--fs-sm); font-weight: 650; }
.ao-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.ao-act { display: flex; gap: 8px; }
.acct-notes li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.acct-notes li.is-new { border-color: var(--text); box-shadow: inset 4px 0 0 var(--signal); }
.acct-notes li > .icon { flex: none; color: var(--accent); margin-top: 2px; }
.acct-notes p { margin: 0 0 2px; font-weight: 650; }
.acct-notes time { font-size: var(--fs-sm); }
.acct-panel .form-card h3 { margin: 18px 0 10px; }
.acct-panel .form-card h3:first-child { margin-top: 0; }

/* gift card codes in the account */
.cards-wait { margin-bottom: 18px; padding: 16px; border-radius: var(--r-lg); background: var(--accent-soft); color: var(--ink); }
.cards-wait h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 1.1rem; }
.cards-wait p { margin: 0 0 8px; color: rgba(16, 15, 13, .75); }
.cards-wait ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cards-wait li { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; }
.cards-wait .val { font-weight: 800; }
.gift-codes { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.gift-code { --gc: #100F0D; position: relative; overflow: hidden; display: grid; gap: 12px; padding: 18px; border-radius: 18px; background: var(--gc); color: #F3F2EC; box-shadow: 0 10px 24px rgba(0, 0, 0, .16); }
.gift-code::after { content: ""; position: absolute; width: 180px; height: 180px; inset-inline-end: -60px; top: -70px; border-radius: 50%; border: 2px solid rgba(249, 223, 27, .35); box-shadow: 0 0 0 16px rgba(249, 223, 27, .08), 0 0 0 34px rgba(249, 223, 27, .05); pointer-events: none; }
.gift-code.is-light { color: #100F0D; }
.gift-code.is-light::after { border-color: rgba(16, 15, 13, .2); box-shadow: 0 0 0 16px rgba(16, 15, 13, .05), 0 0 0 34px rgba(16, 15, 13, .03); }
.gc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.gc-name { font: 800 1.25rem/1.1 var(--font-display); }
.gc-val { font-weight: 850; padding: 4px 10px; border-radius: 99px; background: var(--signal); color: #100F0D; white-space: nowrap; }
.gift-code.is-light .gc-val { background: #100F0D; color: var(--signal); }
.gc-code { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .1); }
.gift-code.is-light .gc-code { background: rgba(16, 15, 13, .08); }
.gc-code code { flex: 1 1 160px; min-width: 0; font: 700 1.05rem/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; overflow-wrap: anywhere; user-select: all; }
.gc-code .btn { --btn-bg: rgba(255, 255, 255, .92); --btn-fg: #100F0D; --btn-bd: transparent; }
.gift-code.is-light .gc-code .btn { --btn-bg: #100F0D; --btn-fg: #fff; }
.gc-note { margin: 0; font-size: var(--fs-sm); opacity: .9; white-space: pre-line; }
.gc-meta { margin: 0; font-size: 12px; opacity: .7; }
.gc-hint { display: flex; align-items: center; gap: 6px; margin-top: 14px; }

/* 10b. Saved delivery addresses (account tab and checkout picker) ----------- */
.addr-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.addr-head h3 { margin: 0 0 4px; }
.addr-head p { margin: 0; max-width: 56ch; }
.addr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.addr-item { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 14px 16px; display: grid; gap: 10px; }
.addr-item.is-default { border-color: var(--accent); }
.addr-item.is-editing { padding: 0; border: 0; background: none; }
.addr-body { display: grid; gap: 2px; min-width: 0; }
.addr-body strong { overflow-wrap: anywhere; }
.addr-line { overflow-wrap: anywhere; }
.addr-badge { display: inline-block; font-size: 11.5px; font-weight: 750; padding: 3px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); margin-inline-start: 6px; vertical-align: middle; }
.addr-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.addr-actions .btn { min-height: 38px; }
.addr-form .form-grid { margin-top: 10px; }
.addr-form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.addr-picker { margin-bottom: 14px; }
.addr-picker .radio-card .desc { overflow-wrap: anywhere; }
.save-addr { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; }

/* 10c. PayPal and crypto marks in the shared payment list (footer, cart, product) */
.pay-mark.is-paypal, .pay-mark.is-crypto { min-width: 64px; }
.pay-mark.is-crypto svg { width: 48px; height: 24px; }
.pm-pp { display: inline-flex; font-size: 15px; letter-spacing: -.01em; line-height: 1; }
.pm-pp b { font-weight: 800; color: #003087; }
.pm-pp i { font-style: normal; font-weight: 800; color: #009CDE; }
/* 13. Odds and ends ---------------------------------------------------------- */
@supports not selector(:has(a)) { .card-title a:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 2px; } }
/* the ad corner sits above the bottom tab bar on phones */
@media (max-width: 899.98px) {
  .nrt-ad-corner { bottom: calc(var(--tabbar-h) + var(--safe-b) + 12px) !important; }
  body[data-page="product"] .nrt-ad-corner, body[data-page="cart"] .nrt-ad-corner { bottom: calc(var(--tabbar-h) + var(--safe-b) + 88px) !important; }
}
.flash-in { animation: nrt-pop .3s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .spin, .spin-ring { animation-duration: 1.6s !important; animation-iteration-count: infinite !important; }
}
@media print {
  .site-header, .tabbar, .mobile-nav, .site-footer, .toast-zone, .layer, .buy-bar, .cart-bar, .shop-bar, .covers-bar, .nrt-ad-corner, .nrt-ad-strip { display: none !important; }
  body { padding: 0 !important; background: #fff; color: #000; }
  .page-head, .about-hero { background: none !important; color: #000; padding: 0; }
  .page-head h1, .about-hero h1, .page-head .lede, .page-head .crumbs a { color: #000 !important; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-nav { display: none; }
  .policy-layout .prose { box-shadow: none; padding: 0; }
  a { color: inherit; }
}
