/* ═══════════════════════════════════════════════════════════════
   HiBargh — brand & UI system v1.0 (2026 rebrand)
   Forest green & electric amber. Bone paper, white cards, ruled
   borders, Space Grotesk numerals, Space Mono data lines.
   Loaded LAST — owns chrome and neutralizes legacy bleed.
   ═══════════════════════════════════════════════════════════════ */

/* ————— fonts ————— */
@font-face {
  font-family: "Vazirmatn";
  font-style: normal; font-weight: 300; font-display: swap;
  src: url("fonts/vazirmatn-300.woff2") format("woff2");
}
@font-face {
  font-family: "Vazirmatn";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/vazirmatn-400.woff2") format("woff2");
}
@font-face {
  font-family: "Vazirmatn";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/vazirmatn-500.woff2") format("woff2");
}
@font-face {
  font-family: "Vazirmatn";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/vazirmatn-700.woff2") format("woff2");
}
@font-face {
  font-family: "Saira Condensed";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/saira-condensed-500.woff2") format("woff2");
}
@font-face {
  font-family: "Saira Condensed";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/saira-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Saira Condensed";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/saira-condensed-700.woff2") format("woff2");
}
@font-face {
  font-family: "Saira";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/saira-400.woff2") format("woff2");
}
@font-face {
  font-family: "Saira";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/saira-500.woff2") format("woff2");
}
@font-face {
  font-family: "Saira";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/saira-600.woff2") format("woff2");
}
@font-face {
  font-family: "Spline Sans Mono";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/spline-sans-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "Spline Sans Mono";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/spline-sans-mono-500.woff2") format("woff2");
}

/* Vazirmatn 800–900, Arabic subset only. The rebrand's headings are black-weight;
   without a real heavy face the browser would synthesise it and smear the Persian
   joins, so the extra-bold display range gets its own file. */
@font-face {
  font-family: "Vazirmatn";
  font-style: normal; font-weight: 800 900; font-display: swap;
  src: url("fonts/vazirmatn-black-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011,
                 U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* Latin faces of the 2026 rebrand. Latin subsets only — every Persian glyph
   still falls through to Vazirmatn, so Farsi typography is untouched. */
@font-face {
  font-family: "Archivo";
  font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("fonts/archivo-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/space-grotesk-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Space Mono deliberately EXCLUDES U+0020: a mono space is far wider than a
   Persian one, and a data line like «سیم مسی · IEC 60364» is mostly Persian —
   letting the monospace file own the spaces blew the words apart. Punctuation
   and Latin data still come from Space Mono; the space falls to Vazirmatn. */
@font-face {
  font-family: "Space Mono";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/space-mono-400.woff2") format("woff2");
  unicode-range: U+0021-007E, U+00B0-00B3, U+00B7, U+2010-2015, U+2018-201D,
                 U+2032-2033, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Space Mono";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/space-mono-700.woff2") format("woff2");
  unicode-range: U+0021-007E, U+00B0-00B3, U+00B7, U+2010-2015, U+2018-201D,
                 U+2032-2033, U+20AC, U+2122, U+2212;
}

/* ————— tokens ————— */
:root {
  /* ————— brand palette ————— */
  --forest: #0c3b1e;        /* primary — buttons, header nav, footer */
  --forest-hover: #0f4a26;
  --pine: #072a15;          /* deepest green — header bar, dark bands */
  --amber: #f6a51e;         /* accent — CTA, marks, wordmark "hi" */
  --amber-hi: #ffbb3d;      /* accent hover on dark */
  --amber-deep: #c8890f;    /* accent hover on light, link hover */
  --bone: #f4f4ef;          /* page surface */
  --paper: #ffffff;         /* cards */
  --border: #e4e5dd;        /* card borders */
  --rule-soft: #dfe0d8;     /* section rules, input borders */
  --stone: #8a8f82;         /* meta text, placeholders */
  /* status pairs */
  --ok-bg: #e7f2ea;      --ok-fg: #1e7a3d;
  --warn-bg: #fbeecf;    --warn-fg: #8a5a06;
  --neutral-bg: #f0f1eb; --neutral-fg: #54594f;

  /* ————— legacy token names, remapped onto the rebrand —————
     Kept so every page stylesheet written against the old spec-sheet system
     (shop, product, checkout, account, admin) recolours automatically instead
     of needing a rewrite. New CSS should prefer the brand names above. */
  --bg: var(--paper);
  --surface: var(--bone);
  --jacket: var(--rule-soft);
  --chalk: var(--neutral-bg);
  --ink: #191c18;
  --muted: #54594f;
  --line: var(--border);
  --cobalt: var(--forest);
  --cobalt-hover: var(--forest-hover);
  --cobalt-text: var(--forest);
  --cobalt-deep: var(--pine);
  --cobalt-core: var(--forest);
  --copper: var(--amber);
  --copper-deep: var(--amber-deep);
  --earth-green: var(--ok-fg);
  --earth-yellow: var(--amber);
  --brown-core: var(--warn-fg);
  --on-dark: #f7f8f5;
  --on-dark-muted: #9fb2a3;
  --on-dark-soft: #c7d3c8;

  /* ————— type —————
     Archivo leads for Latin UI text, Space Grotesk for the wordmark and big
     numerals, Space Mono for data lines; Vazirmatn sits behind all three and
     renders every Persian glyph, so Farsi is unchanged. */
  --font-display: "Archivo", "Vazirmatn", "Saira Condensed", sans-serif;
  --font-body: "Archivo", "Vazirmatn", "Saira", "Helvetica Neue", sans-serif;
  /* Vazirmatn sits ahead of Spline Sans Mono here on purpose: it must own the
     space and every Persian glyph in a mono data line (see the Space Mono
     unicode-range note above). */
  --font-mono: "Space Mono", "Vazirmatn", "Spline Sans Mono", monospace;
  --font-num: "Space Grotesk", "Vazirmatn", "Archivo", sans-serif;
  --font-latin-display: "Space Grotesk", "Archivo", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* ————— geometry ————— */
  --radius-xs: 6px;    /* badges, small marks, focus ring, skeleton bars */
  --radius-sm: 10px;   /* controls: buttons, inputs, icon buttons, thumbs */
  --radius-md: 14px;   /* surfaces: cards, panels, menus, media, toasts */
  --radius-lg: 18px;   /* large surfaces: hero cards, CTA bands */
  --radius-pill: 100px;/* chips, category button, status dots row */
  --hair: 1px;         /* card & divider borders */
  --rule: 1.5px;       /* emphasis borders — chips, focused inputs */
  --header-h: 68px; /* legacy style.css sticky offsets read this */
  --z-sticky: 30;
  --z-drawer: 60;
  --z-skip: 90;

  /* ————— legacy style.css palette, repointed at the rebrand —————
     style.css is never pruned (it still powers unmigrated primitives) and it
     paints ~57 rules with the retired Apple-blue. Rather than chase each
     selector, its own tokens are redefined here — spec.css loads last, so every
     one of those rules turns forest/amber instead of blue. Hard-coded
     rgba(0,113,227,…) washes in that file are neutralised per-component. */
  --apple-blue: var(--forest);
  --apple-blue-dark: var(--pine);
  --apple-green: var(--ok-fg);
  --apple-amber: var(--amber);
  --apple-gray: var(--bone);
  --apple-gray-2: var(--border);
  --apple-gray-3: var(--rule-soft);
  --apple-dark: var(--ink);
  --apple-dark-2: var(--muted);
  --apple-dark-3: var(--muted);
  --apple-dark-4: var(--stone);
  --brand-accent: var(--amber-deep);
}

/* ————— base (overrides legacy style.css bleed) ————— */
html { font-size: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bone);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--amber); color: var(--ink); }

h1, h2, h3, h4 { text-wrap: balance; line-height: 1.3; }
p { text-wrap: pretty; }

a { color: var(--forest); }
a:hover { color: var(--amber-deep); }

/* Apple-style continuous corners where the engine supports them; plain
   border-radius is the universal fallback. Curated boxes only — :where() keeps
   specificity at 0 and never fights the cascade, and circles/pills (the .st,
   .jk, .tag-card eyelet, .brand-dot, native radios) are excluded by omission. */
@supports (corner-shape: squircle) {
  :where(
    .btn, .skip-link, .qty-stepper,
    input:not([type="radio"]):not([type="checkbox"]), select, textarea,
    .nv-searchInput, .nv-iconBtn, .nv-menuPanel, .nv-searchPanel, .nv-srThumb,
    .nv-badge, .nav-drawer__close, .cart-drawer__close, .cart-ditem__media,
    .qa-btn, .pc-oos, .pc-render, .toast, .fly-dot,
    [class*="card"], [class*="panel"], [class*="plate"], [class*="tile"],
    [class*="chip"], [class*="badge"], [class*="swatch"], [class*="box"],
    [class*="thumb"], [class*="media"]
  ) {
    corner-shape: squircle;
  }
  /* …but anything the rebrand draws as a true pill or circle stays round —
     a squircle at --radius-pill reads as a bulging rectangle, not a pill. */
  :where(.chip, .nv-iconBtn, .nv-badge, .nv-catTrigger, .st, .jk, .badge__dot, .nv-dot) {
    corner-shape: round;
  }
}

:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

.skip-link {
  position: fixed;
  inset-inline-start: 1rem; top: -4rem;
  z-index: var(--z-skip);
  background: var(--ink); color: var(--on-dark);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
  transform: none;
  transition: top 150ms ease-out;
}
.skip-link:focus-visible { top: 1rem; }

/* container — NOT `.wrap` (legacy style.css .wrap sets flex-wrap) */
.sw {
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* Latin fragments inside Persian prose (designations, SKUs, units) */
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  font-family: var(--font-mono);
}

/* Retired: this used to be the earth-core candy stripe of the spec-sheet
   system. The rebrand's accent is a flat amber rule — kept under the old class
   name so the pages still emitting it pick up the new mark. */
.earth-stripe {
  height: 4px;
  background: var(--amber);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* retired جریان hairline — inert if any unmigrated page still emits it */
.current { display: none; }

/* ————— type helpers —————
   The ledger's black ink rules are retired: section heads now lead with a
   Space Mono eyebrow over a heavy Archivo/Vazirmatn head, per the rebrand. */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--stone);
}

.page-head {
  padding-top: 0.5rem;
  margin-block: 1.25rem clamp(1.75rem, 4vw, 2.5rem);
}
.page-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.25;
}
.page-lede {
  max-width: 46rem;
  color: var(--muted);
  margin-top: 0.6rem;
}
.page-lede strong { color: var(--ink); font-weight: 700; }

.sec { padding-block: clamp(3rem, 7vw, 5rem); }

.section-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}
.section-head .aside-note {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
}

/* ————— buttons —————
   The reference kit sets its buttons in tracked-out uppercase; Persian is
   cursive and neither applies, so the emphasis is carried by weight 800 and
   the solid forest/amber fills instead. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 800; font-size: 0.98rem;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  padding: 0.78rem 1.7rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  background: none;
  transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}
.btn-primary { background: var(--forest); color: var(--on-dark); }
.btn-primary:hover { background: var(--pine); color: var(--on-dark); }
/* amber call-to-action — the loudest button in the system */
.btn-accent { background: var(--amber); color: var(--ink); }
.btn-accent:hover { background: var(--amber-deep); color: var(--ink); }
.btn-ghost, .btn-quiet { border-color: var(--forest); color: var(--forest); }
.btn-ghost:hover, .btn-quiet:hover { background: var(--forest); color: var(--on-dark); }
/* on dark green bands */
.btn-inverse { background: var(--amber); color: var(--ink); }
.btn-inverse:hover { background: var(--amber-hi); color: var(--ink); }
.btn-outline-light { border-color: rgb(255 255 255 / 0.35); color: var(--on-dark); }
.btn-outline-light:hover { border-color: #fff; background: rgb(255 255 255 / 0.08); color: var(--on-dark); }
.btn-link {
  border-color: transparent; color: var(--forest);
  padding-inline: 0.4rem;
  text-decoration: underline; text-underline-offset: 4px;
}
.btn-link:hover { color: var(--amber-deep); }
.btn-block { display: flex; width: 100%; }
.btn svg, .btn i { flex: none; }

/* ————— chips & status badges ————— */
.chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  border: var(--rule) solid var(--rule-soft);
  color: var(--forest);
  background: var(--paper);
  border-radius: var(--radius-pill);
  padding: 0.42rem 1rem;
  font-size: 0.88rem; font-weight: 600;
  text-decoration: none;
  transition: border-color 150ms ease-out, background-color 150ms ease-out, color 150ms ease-out;
}
.chip:hover { border-color: var(--forest); color: var(--forest); }
.chip[data-active], .chip--solid {
  background: var(--forest); border-color: var(--forest); color: var(--on-dark);
}
.badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  border-radius: var(--radius-xs);
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem; font-weight: 700;
  background: var(--neutral-bg); color: var(--neutral-fg);
}
.badge--ok { background: var(--ok-bg); color: var(--ok-fg); }
.badge--warn { background: var(--warn-bg); color: var(--warn-fg); }
.badge--forest { background: var(--forest); color: var(--amber); }
.badge__dot { inline-size: 8px; block-size: 8px; border-radius: 50%; background: currentColor; flex: none; }

/* ————— breadcrumbs ————— */
.breadcrumbs ol {
  display: flex; flex-wrap: wrap;
  gap: 0.3rem 0.55rem;
  list-style: none;
  padding: 0.9rem 0 0; margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--cobalt-text); text-decoration: underline; }
.breadcrumbs li + li::before { content: '‹'; margin-inline-end: 0.55rem; color: var(--jacket); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ═══════════════ header ═══════════════
   Two tiers on green: a deep-pine utility bar (wordmark, catalogue menu,
   search, account/cart) over a forest sub-nav. */

/* amber announcement strip — scrolls away above the sticky header */
.nv-announce {
  background: var(--amber);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  padding: 0.6rem clamp(1rem, 4vw, 2.5rem);
}
.nv-announce a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.nv-announce a:hover { color: var(--pine); }

.nv-bar {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--pine);
}
.nv-top { background: var(--pine); }
.nv-topInner {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.6vw, 1.25rem);
  min-height: 4.5rem;
  padding-block: 0.85rem;
}
/* legacy alias — unmigrated pages that still emit .nv-pill stay laid out */
.nv-pill { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; }

.nv-wordmark {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
}
.nv-hiMark { display: none; } /* retired: the wordmark is now type, not a glyph */
.nv-wordText {
  font-family: var(--font-latin-display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.055em;
  line-height: 1;
  direction: ltr;
  color: var(--on-dark);
}
.nv-wordText .hi { color: var(--amber); }
.nv-wordGroup { display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.nv-wordSub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.66rem;
  line-height: 1;
  color: var(--on-dark-muted);
  white-space: nowrap;
}

/* catalogue pill + sub-nav links */
.nv-navLinks {
  display: flex; align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  list-style: none; margin: 0; padding: 0;
}
.nv-navLink {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--on-dark);
  text-decoration: none;
  font-size: 0.95rem; font-weight: 700;
  padding-block: 0.15rem;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 150ms ease-out, border-color 150ms ease-out;
}
.nv-navLink:hover, .nv-navLink[data-active] { color: var(--amber); border-bottom-color: var(--amber); }
/* the branch/location marker — amber from rest, per the reference nav */
.nv-navLink--mark { color: var(--amber); }
.nv-dot {
  inline-size: 8px; block-size: 8px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.nv-sub { background: var(--forest); }
.nv-subInner {
  display: flex; align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  padding-block: 0.7rem;
}
.nv-hours {
  margin-inline-start: auto;
  color: var(--on-dark-muted);
  font-size: 0.85rem; font-weight: 600;
  white-space: nowrap;
}

/* grouped menus (details/summary — js/hibargh.js hydrateNavMenus) */
.nv-menuLi { position: relative; }
.nv-menu summary { list-style: none; }
.nv-menu summary::-webkit-details-marker { display: none; }
.nv-menuCaret { inline-size: 11px; block-size: 11px; transition: transform 150ms ease-out; }
.nv-menu[open] > summary .nv-menuCaret { transform: rotate(180deg); }
.nv-menuPanel {
  position: absolute;
  top: calc(100% + 0.7rem);
  inset-inline-start: -0.9rem;
  min-width: 15rem;
  background: var(--paper);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgb(7 42 21 / 0.18);
  overflow: hidden;
  padding-block: 0.35rem;
  z-index: 5;
}
.nv-menuGrid { display: flex; flex-direction: column; }
.nv-menuItem {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.95rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: background-color 120ms ease-out, color 120ms ease-out;
}
.nv-menuItem:hover { background: var(--bone); color: var(--forest); }
.nv-menuItem svg, .nv-menuItem i { inline-size: 16px; block-size: 16px; color: var(--stone); flex: none; }

/* the catalogue pill in the top bar */
.nv-catMenu { position: relative; flex: none; }
.nv-catTrigger {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--forest);
  border: 1px solid rgb(255 255 255 / 0.15);
  border-radius: var(--radius-pill);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-weight: 700; font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 150ms ease-out;
}
.nv-catTrigger:hover { background: var(--forest-hover); }
.nv-catBars { display: flex; flex-direction: column; gap: 3px; flex: none; }
.nv-catBars span { display: block; inline-size: 14px; block-size: 2px; background: var(--amber); }
.nv-catMenu .nv-menuPanel {
  inset-inline-start: 0;
  min-width: min(34rem, 78vw);
}
.nv-catMenu .nv-menuGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0.4rem;
  gap: 0.1rem;
}
.nv-catMenu .nv-menuItem { border-radius: var(--radius-xs); }

/* search — live autocomplete hooks preserved (data-search-input/-panel) */
.nv-search {
  position: relative;      /* anchors .nv-searchPanel — must not clip it */
  flex: 1 1 auto;
  max-width: 38rem;
  display: flex;
}
/* the rounded field itself; clipping lives here, not on the form */
.nv-searchBox {
  flex: 1;
  display: flex;
  align-items: stretch;
  background: var(--paper);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.nv-searchBox:focus-within { box-shadow: 0 0 0 2px var(--amber); }
.nv-searchIcon { display: none; }
.nv-searchInput {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  text-align: right;
  padding: 0.78rem 1.1rem;
  border: none;
  border-radius: 0;
  background: transparent;
  appearance: none;
}
.nv-searchInput::placeholder { color: var(--stone); }
.nv-searchInput:focus-visible { outline: none; }
.nv-searchBtn {
  flex: none;
  border: none;
  background: var(--forest);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-weight: 700; font-size: 0.95rem;
  padding-inline: 1.35rem;
  cursor: pointer;
  transition: background-color 150ms ease-out;
}
.nv-searchBtn:hover { background: var(--forest-hover); }

.nv-searchPanel {
  position: absolute;
  top: calc(100% + 0.55rem);
  inset-inline: 0;
  background: var(--paper);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgb(7 42 21 / 0.18);
  overflow: hidden;
  z-index: 6;
}
.nv-searchPanel[hidden] { display: none; }
.nv-srHead {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0.55rem 0.9rem 0.4rem;
  border-bottom: 1px solid var(--line);
}
.nv-srItem {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background-color 120ms ease-out;
}
.nv-srItem:hover, .nv-srItem:focus, .nv-srItem[aria-selected="true"] { background: var(--surface); }
.nv-srThumb {
  flex: none;
  inline-size: 44px; block-size: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--muted);
  overflow: hidden;
}
.nv-srThumb img { inline-size: 100%; block-size: 100%; object-fit: contain; }
.nv-srBody { min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.nv-srName {
  font-size: 0.9rem; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nv-srMeta { display: flex; align-items: baseline; gap: 0.7rem; }
.nv-srBrand { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }
.nv-srPrice { font-size: 0.82rem; }
.nv-srPriceNow { font-weight: 500; }
.nv-srPriceWas {
  color: var(--muted);
  text-decoration: line-through;
  margin-inline-start: 0.5rem;
  font-size: 0.78rem;
}
.nv-srPriceNa { color: var(--muted); font-size: 0.8rem; }
.nv-srAll {
  display: block;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem; font-weight: 700;
  color: var(--forest);
  text-decoration: none;
  background: var(--bone);
}
.nv-srAll:hover { text-decoration: underline; }
.nv-srEmpty {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.8rem 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.nv-srEmpty svg { inline-size: 16px; block-size: 16px; flex: none; }
.nv-srSkel { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0.9rem; }
.nv-srSkel .s-thumb {
  inline-size: 44px; block-size: 44px; flex: none;
  background: var(--surface); border-radius: var(--radius-sm);
}
.nv-srSkel .s-lines { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.nv-srSkel .s-line { block-size: 0.6rem; background: var(--surface); border-radius: var(--radius-xs); }
.nv-srSkel .s-line.short { inline-size: 55%; }

/* header actions (account, cart) — on the dark bar */
.nv-actions {
  display: flex; align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.4rem);
  margin-inline-start: auto;
  flex: none;
}
.nv-act {
  display: flex; flex-direction: column; gap: 2px;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
}
.nv-actLabel { font-size: 0.78rem; color: var(--on-dark-muted); }
.nv-actValue { font-size: 0.86rem; font-weight: 700; color: var(--on-dark); }
.nv-act:hover .nv-actValue { color: var(--amber); }

.nv-iconBtn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  inline-size: 44px; block-size: 44px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
  flex: none;
  transition: border-color 150ms ease-out, background-color 150ms ease-out, color 150ms ease-out;
}
.nv-iconBtn:hover, .nv-iconBtn[data-active] {
  border-color: var(--amber); color: var(--amber);
  background: rgb(246 165 30 / 0.1);
}
.nv-iconBtn svg { inline-size: 20px; block-size: 20px; }
.nv-badge {
  position: absolute;
  top: -5px;
  inset-inline-start: -5px;
  min-inline-size: 19px; block-size: 19px;
  display: flex; align-items: center; justify-content: center;
  padding-inline: 4px;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.7rem; font-weight: 800;
  border-radius: var(--radius-pill);
  line-height: 1;
}
.nv-badge[hidden] { display: none; }
.nv-menuBtn { display: none; }

/* ═══════════════ drawers ═══════════════ */
.nav-drawer, .cart-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  background: rgb(7 42 21 / 0.45);
}
.nav-drawer[hidden], .cart-drawer[hidden] { display: none; }

.nav-drawer__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  inline-size: min(21rem, 88vw);
  background: var(--bg);
  border-inline-end: var(--hair) solid var(--border);
  overflow-y: auto;
  padding: 1.1rem 1.25rem 2rem;
}
.nav-drawer__panel::before {
  content: "";
  display: block;
  height: 6px;
  margin: -1.1rem -1.25rem 1rem;
  background: repeating-linear-gradient(-55deg,
    var(--earth-yellow) 0 14px, var(--earth-green) 14px 28px);
}
.nav-drawer__panel > a,
.nav-drawer__group summary {
  display: flex; align-items: center; gap: 0.7rem;
  padding-block: 0.75rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.98rem; font-weight: 500;
  cursor: pointer;
}
.nav-drawer__panel > a:first-of-type { border-top: none; }
.nav-drawer__panel a i, .nav-drawer__panel summary i,
.nav-drawer__panel a svg, .nav-drawer__panel summary svg {
  inline-size: 18px; block-size: 18px; color: var(--muted); flex: none;
}
.nav-drawer__group summary { list-style: none; justify-content: flex-start; }
.nav-drawer__group summary::-webkit-details-marker { display: none; }
.nav-drawer__group summary .nv-menuCaret { margin-inline-start: auto; }
.nav-drawer__group[open] summary .nv-menuCaret { transform: rotate(180deg); }
.nav-drawer__sub { padding-inline-start: 1.6rem; padding-block-end: 0.5rem; }
.nav-drawer__sub a {
  display: block;
  padding-block: 0.45rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.nav-drawer__sub a:hover { color: var(--cobalt-text); }
.nav-drawer__close {
  display: flex; align-items: center; justify-content: center;
  inline-size: 38px; block-size: 38px;
  margin-inline-start: auto;
  margin-block-end: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}
.nav-drawer__close:hover { border-color: var(--ink); }

/* cart drawer */
.cart-drawer__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  inline-size: min(24rem, 92vw);
  background: var(--bg);
  border-inline-start: var(--hair) solid var(--border);
  display: flex;
  flex-direction: column;
}
.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: var(--hair) solid var(--border);
}
.cart-drawer__title {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem;
  margin: 0;
}
.cart-drawer__title i, .cart-drawer__title svg { inline-size: 18px; block-size: 18px; }
.cart-drawer__close {
  display: flex; align-items: center; justify-content: center;
  inline-size: 36px; block-size: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}
.cart-drawer__close:hover { border-color: var(--ink); }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 0.5rem 1.25rem; }
.cart-drawer__empty {
  text-align: center;
  padding-block: 2.5rem;
  color: var(--muted);
}
.cart-drawer__empty[hidden] { display: none; }
.cart-drawer__empty .empty-state__icon { display: none; }
.cart-drawer__empty p { margin-bottom: 1.1rem; }
.cart-ditem {
  display: flex; gap: 0.8rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.cart-ditem__media {
  flex: none;
  inline-size: 60px; block-size: 60px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.cart-ditem__media img { inline-size: 100%; block-size: 100%; object-fit: contain; }
.cart-ditem__main { flex: 1; min-width: 0; }
.cart-ditem__top { display: flex; align-items: flex-start; gap: 0.5rem; }
.cart-ditem__name {
  flex: 1; min-width: 0;
  font-size: 0.9rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
  line-height: 1.5;
}
.cart-ditem__name:hover { color: var(--cobalt-text); }
.cart-ditem__remove {
  flex: none;
  display: flex; align-items: center; justify-content: center;
  inline-size: 28px; block-size: 28px;
  border: none; background: none;
  color: var(--muted);
  cursor: pointer;
}
.cart-ditem__remove:hover { color: var(--copper-deep); }
.cart-ditem__remove i, .cart-ditem__remove svg { inline-size: 15px; block-size: 15px; }
.cart-ditem__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.55rem;
}
.cart-ditem__price { font-size: 0.9rem; font-weight: 700; white-space: nowrap; }
.qty-stepper {
  display: flex; align-items: center;
  border: var(--hair) solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  direction: ltr;
}
.qty-stepper__btn {
  display: flex; align-items: center; justify-content: center;
  inline-size: 28px; block-size: 28px;
  border: none; background: none;
  color: var(--ink);
  cursor: pointer;
}
.qty-stepper__btn:hover { background: var(--surface); }
.qty-stepper__btn i, .qty-stepper__btn svg { inline-size: 13px; block-size: 13px; }
.qty-stepper__input {
  inline-size: 2.1rem;
  border: none; background: none;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  text-align: center;
  color: var(--ink);
}
.cart-drawer__foot {
  border-top: var(--hair) solid var(--border);
  padding: 1rem 1.25rem 1.2rem;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.cart-drawer__foot[hidden] { display: none; }
.cart-drawer__subtotal {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}
.cart-drawer__subtotal strong { font-size: 1.05rem; }

/* toasts (markup from js/main.js; legacy base in style.css is overridden) */
.toast-stack {
  position: fixed;
  inset-block-end: 1.25rem;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.toast {
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: none;
  animation: toast-in 0.25s ease-out;
}
.toast--success { background: var(--earth-green); }
.toast--error { background: var(--copper-deep); }

/* fly-to-cart dot + cart surge (js/hibargh.js; motion via WAAPI) */
.fly-dot {
  position: fixed;
  z-index: 85;
  inline-size: 14px; block-size: 14px;
  border-radius: var(--radius-sm);
  background: var(--cobalt);
  pointer-events: none;
}
.nv-surgeRing {
  position: absolute;
  inset: -3px;
  border: 2px solid var(--cobalt);
  border-radius: var(--radius-sm);
  pointer-events: none;
  animation: surge 0.7s ease-out forwards;
}
@keyframes surge {
  from { opacity: 0.9; transform: scale(1); }
  to   { opacity: 0; transform: scale(1.45); }
}

/* ═══════════════ footer ═══════════════ */
.ft-footer {
  margin-top: clamp(3rem, 7vw, 5rem);
  background: var(--forest);
  color: var(--on-dark);
}
.ft-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  padding-block: clamp(2.75rem, 5vw, 4rem) 2rem;
}
.ft-wordmark {
  font-family: var(--font-latin-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.055em;
  line-height: 1;
  direction: ltr;
  margin: 0 0 0.55rem;
  color: var(--on-dark);
}
.ft-wordmark .hi { color: var(--amber); }
.ft-wordSub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--on-dark);
  margin: 0 0 0.6rem;
}
.ft-about {
  font-size: 0.9rem;
  color: var(--on-dark-muted);
  line-height: 1.8;
  max-width: 22rem;
}
.ft-contact { margin-top: 1.1rem; font-size: 0.9rem; }
.ft-contact p { margin: 0.3rem 0; color: var(--on-dark-soft); }
.ft-contact a {
  font-family: var(--font-mono);
  color: var(--on-dark);
  text-decoration: none;
}
.ft-contact a:hover { color: var(--amber); text-decoration: underline; }
.ft-colTitle {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--amber);
  margin: 0 0 1.1rem;
}
.ft-colList { list-style: none; margin: 0; padding: 0; }
.ft-colList li { margin-bottom: 0.65rem; }
.ft-colLink {
  color: var(--on-dark-soft);
  text-decoration: none;
  font-size: 0.92rem;
}
.ft-colLink:hover { color: var(--amber); }
.ft-legal {
  padding-block: 1.4rem 2.2rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}
.ft-legalRow {
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 2rem;
  font-size: 0.8rem;
  color: var(--on-dark-muted);
}
.ft-legalLine { display: none; }

/* ═══════════════ product card (.pc-* names kept for JS) ═══════════════ */
.pc-card {
  position: relative;
  list-style: none;
  /* Owner call (2026-07-26): the card carries NO white fill — it sits directly
     on the bone page so a grid of them reads as one calm field instead of a
     patchwork of white blocks. Only the photo keeps a tile. */
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: transparent;
  padding: 0.55rem;
  transition: border-color 150ms ease-out, background-color 150ms ease-out;
}
.pc-card:hover { border-color: var(--border); background: var(--paper); }
.pc-media { display: block; }
.pc-render {
  inline-size: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 8%;
  border-radius: var(--radius-sm);
  background: var(--paper);
}
.pc-render--empty {
  display: flex; align-items: center; justify-content: center;
  color: var(--rule-soft);
  padding: 0;
}
.pc-info { padding: 0.85rem 0.3rem 0.4rem; }
.pc-brand {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.pc-name {
  font-size: 0.92rem; font-weight: 500;
  line-height: 1.55;
  margin: 0 0 0.45rem;
}
.pc-titleLink { color: inherit; text-decoration: none; }
/* whole-card click target; interactive children (category link, add button) lift above it */
.pc-titleLink::after { content: ""; position: absolute; inset: 0; z-index: 1; }
/* grid hides the ledger-row extras — the list view reveals them */
.pc-meta,
.pc-desc,
.pc-oosAsk,
.pc-card .qty-stepper { display: none; }
.pc-buy { padding: 0 0.3rem 0.4rem; }
.pc-price { display: block; font-size: 0.95rem; font-weight: 700; }
.pc-price .pc-unit { font-weight: 400; font-size: 0.8rem; color: var(--muted); }
.pc-priceWas {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.82rem;
  text-decoration: line-through;
  margin-inline-start: 0.55rem;
}
.pc-oos {
  position: absolute;
  top: 0.7rem;
  inset-inline-start: 0.7rem;
  z-index: 2;
  font-size: 0.72rem; font-weight: 700;
  color: var(--neutral-fg);
  border: none;
  border-radius: var(--radius-xs);
  background: var(--neutral-bg);
  padding: 0.25rem 0.6rem;
}
.pc-quick {
  position: absolute;
  inset-block-end: 0.55rem;
  inset-inline-end: 0.5rem;
  z-index: 2;
  margin: 0;
}
.qa-btn {
  display: flex; align-items: center; justify-content: center;
  inline-size: 34px; block-size: 34px;
  border: var(--hair) solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out;
}
.qa-btn:hover { background: var(--cobalt); border-color: var(--cobalt); color: var(--on-dark); }
.qa-btn svg { inline-size: 15px; block-size: 15px; }
.qa-label { display: none; } /* grid: icon-only quick-add; list view shows the full label */

/* ————— stock marks & jacket chips ————— */
.st {
  display: inline-block;
  inline-size: 8px; block-size: 8px;
  border-radius: 50%;
  margin-inline-end: 0.4rem;
  background: var(--st, var(--ok-fg));
  vertical-align: baseline;
}
.st.low { background: var(--amber); }
.st.ask { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--stone); }
.jk {
  display: inline-block;
  inline-size: 10px; block-size: 10px;
  border-radius: 50%;
  border: 1px solid rgb(25 28 24 / 0.2);
  vertical-align: baseline;
  margin-inline-start: 0.3rem;
  background: var(--jk, var(--rule-soft));
}

/* ————— data table ————— */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.spec-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  text-align: left; direction: ltr;
  padding: 0.7rem 0.9rem 0.45rem;
  border-bottom: 1px solid var(--line);
}
.spec-table td {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-align: left; direction: ltr;
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--line);
}
.spec-table th:first-child, .spec-table td:first-child {
  font-family: var(--font-body);
  text-align: right; direction: rtl;
}
.spec-table td:first-child { font-weight: 700; }

/* pocket card — the counter's reference card; plain ruled border now that the
   ledger's offset ink shadow is retired */
.pocket-card {
  border: var(--hair) solid var(--border);
  border-radius: var(--radius-md);
  background: var(--paper);
  /* white card, so it must reset its own ink — it is often dropped inside a
     forest/pine band whose `color` is near-white */
  color: var(--ink);
  overflow: hidden;
}
.pocket-card .card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-bottom: var(--hair) solid var(--border);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.015em;
  font-size: 1.1rem;
}
.pocket-card .card-head .rev {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--stone);
}
.pocket-card .card-foot {
  padding: 0.85rem 1.4rem 1rem;
  border-top: var(--hair) solid var(--border);
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--muted);
  background: var(--bone);
}

/* ————— forms ————— */
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.7rem 0.95rem;
  border: 2px solid var(--rule-soft);
  border-radius: var(--radius-sm);
  background: var(--paper);
  appearance: none;
  transition: border-color 150ms ease-out;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); }
.field input::placeholder, .field textarea::placeholder { color: var(--stone); }
.field .hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; }
.field-error, .form-error { color: var(--warn-fg); font-size: 0.88rem; }
.input-ltr {
  direction: ltr;
  text-align: left;
  font-family: var(--font-mono) !important;
}

/* ————— empty state ————— */
.empty-card {
  border: var(--hair) solid var(--border);
  border-radius: var(--radius-md);
  background: var(--paper);
  padding: 1.4rem 1.6rem;
  max-width: 34rem;
}
.empty-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.empty-card strong { color: var(--ink); font-weight: 700; }
.empty-card .btn { margin-top: 0.9rem; }

/* ————— generic ledger row primitives (page CSS sets its own columns) ————— */
.ledger-head {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  padding-bottom: 0.5rem;
}
.ledger-row {
  text-decoration: none;
  color: inherit;
  border-top: 1px solid var(--line);
  transition: background-color 150ms ease-out;
}
.ledger-row:last-of-type { border-bottom: 1px solid var(--line); }
.ledger-row:hover { background: var(--surface); }
.ledger-row .arrow {
  color: var(--muted);
  transition: transform 150ms ease-out, color 150ms ease-out;
}
.ledger-row:hover .arrow { transform: translateX(-4px); color: var(--cobalt-text); }

/* ————— responsive ————— */
@media (max-width: 1040px) {
  /* the sub-nav and the catalogue pill both fold into the mobile drawer */
  .nv-sub, .nv-catMenu { display: none; }
  .nv-navLinks, .nv-hours { display: none; }
  .nv-menuBtn { display: inline-flex; }
  .nv-search { max-width: none; }
}
@media (max-width: 760px) {
  .nv-topInner { flex-wrap: wrap; row-gap: 0.75rem; }
  .nv-search { order: 3; flex-basis: 100%; max-width: none; }
  .nv-announce { font-size: 0.8rem; }
}
@media (max-width: 560px) {
  .nv-topInner { gap: 0.6rem; }
  .nv-wordText { font-size: 1.5rem; }
  .nv-wordSub { display: none; }
  .nv-act { display: none; }
  .nv-searchInput { font-size: 0.9rem; padding: 0.7rem 0.9rem; }
  .nv-searchBtn { padding-inline: 1rem; }
  .ft-grid { grid-template-columns: 1fr; gap: 1.9rem; }
  .cart-drawer__panel { inline-size: 100vw; border-inline-start: none; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ————— reduced motion ————— */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ledger-row:hover .arrow { transform: none; }
  .nv-surgeRing { animation: none; }
  .toast { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
