/* RAD PRODUCT — storefront design system (the admin panel uses panel.css)
   Mobile-first. Breakpoints: 600px (large phone / small tablet), 960px (desktop), 1280px, 1440px. */

@font-face { font-family: 'Vazirmatn'; src: url('/fonts/vazirmatn.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-wdth.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  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; }

/* ── tokens ─────────────────────────────────────────────────────────── */
:root {
  --paper: #F4F5F6;      /* page */
  --paper-2: #E9EDEF;    /* recessed bands */
  --surface: #FFFFFF;
  --ink: #15212B;        /* text */
  --ink-2: #3A4853;
  --muted: #5F6D78;      /* 5.2:1 on white */
  --line: #DFE4E8;
  --line-strong: #C9D1D7; /* interactive borders, 3:1 on white */
  /* RAD display surface: a fine blueprint grid under a soft light (products sit on a drawing table) */
  --grid-tex: linear-gradient(rgba(21,33,43,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(21,33,43,.045) 1px, transparent 1px);
  --line-2: #ECEFF1;
  --graphite: #14212B;   /* hero, panels, admin sidebar, footer */
  --graphite-2: #1C2C38;
  --graphite-3: #26394A;
  --on-dark: #EAF0F3;
  --on-dark-2: #A9B8C3;
  --green: #0E6A52;      /* the one action colour — 6.4:1 on white */
  --green-2: #0A5743;
  --green-50: #E6F2ED;
  --green-100: #CDE5DB;
  --glow: #7FE0BC;
  --danger: #B42318;
  --danger-50: #FDECEA;
  --wa: #128C4B;

  /* origin light */
  --o-iranian: linear-gradient(90deg, #1E9A57 0%, #1E9A57 22%, #D5DEE3 38%, #D5DEE3 62%, #D8383A 78%, #D8383A 100%);
  --o-chinese: linear-gradient(90deg, #D8362B 0%, #E0584C 55%, #E4B04A 100%);
  --o-korean: linear-gradient(90deg, #CD2E3A 0%, #C3CEDC 22%, #D3DCE6 50%, #C3CEDC 78%, #1F55A6 100%);
  --o-foreign: linear-gradient(90deg, #4E7C98 0%, #7FA3B9 50%, #2F8A73 100%);
  --o-moto: linear-gradient(90deg, #D5892B 0%, #E8B25E 50%, #B9621C 100%);
  --o-iranian-glow: rgba(30, 154, 87, .22);
  --o-chinese-glow: rgba(216, 54, 43, .2);
  --o-korean-glow: rgba(120, 146, 180, .22);
  --o-foreign-glow: rgba(78, 124, 152, .2);
  --o-moto-glow: rgba(213, 137, 43, .22);

  --r-xl: 22px; --r-lg: 18px; --r-md: 14px; --r-sm: 10px; --r-xs: 7px;
  --sh-1: 0 1px 2px rgba(21, 33, 43, .05), 0 1px 1px rgba(21, 33, 43, .03);
  --sh-2: 0 2px 6px rgba(21, 33, 43, .05), 0 14px 32px -12px rgba(21, 33, 43, .14);
  --sh-3: 0 4px 10px rgba(21, 33, 43, .06), 0 24px 48px -16px rgba(21, 33, 43, .2);

  --font: 'Vazirmatn', 'Segoe UI', Tahoma, system-ui, sans-serif;
  --tech: 'Archivo', 'Vazirmatn', 'Segoe UI', sans-serif;
  --gutter: 16px;
  --head-h: 60px;
  --tab-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 960px) { :root { --gutter: 32px; --head-h: 72px; } }

/* ── base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.75 var(--font); overflow-x: clip;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); -webkit-font-smoothing: antialiased; }
@media (min-width: 960px) { html { scroll-padding-top: 136px; } body { font-size: 16px; padding-bottom: 0; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.4; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
bdi { unicode-bidi: isolate; }
.code, .brand-word, .hero-word { font-family: var(--tech); font-stretch: 112%; letter-spacing: .01em; }
.code { font-size: .92em; font-weight: 600; direction: ltr; white-space: nowrap; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); font-weight: 400; }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--glow); }
.skip { position: fixed; top: -60px; inset-inline-start: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── buttons, inputs, chips ─────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-sm);
  border: 1px solid transparent; font-weight: 700; font-size: 14.5px; white-space: nowrap; transition: background-color .18s var(--ease), border-color .18s, color .18s, transform .12s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); }
.btn-quiet { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-quiet:hover { border-color: #C6CFD5; background: #FAFBFB; }
.btn-ghost-dark { border-color: rgba(255,255,255,.22); color: var(--on-dark); background: rgba(255,255,255,.04); }
.btn-ghost-dark:hover { border-color: var(--glow); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0E7A40; }
.btn-lg { min-height: 52px; font-size: 15.5px; padding: 0 22px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: border-color .18s, opacity .18s; }
.icon-btn:hover { border-color: #C0CAD1; }
.icon-btn:disabled { opacity: .35; cursor: default; }
.input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); font-size: 16px; transition: border-color .18s, box-shadow .18s; }
.input:hover { border-color: #C9D2D8; }
.input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-50); }
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-50); }
.input-sm { min-height: 42px; padding: 6px 12px; font-size: 14.5px; }
select.input { appearance: none; padding-inline-start: 36px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6D78' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat left 10px center / 18px; }
textarea.input { resize: vertical; min-height: 88px; line-height: 1.8; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: border-color .18s, background .18s, color .18s; }
.chip:hover { border-color: #BFC9D0; color: var(--ink); }
.chip em { font-style: normal; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-on em { color: #C9D3DA; }
.chip .i { width: 14px; height: 14px; }
.chip-dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: var(--on-dark); }
.chip-dark:hover { border-color: rgba(255,255,255,.35); color: #fff; }
.chip-dark em { color: var(--on-dark-2); }
.chip-dark.is-on { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.chip-dark.is-on em { color: var(--muted); }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--green); color: #fff; font-size: 11.5px; font-weight: 800; line-height: 1; }
.badge[hidden] { display: none; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--paper); color: var(--ink-2); font-size: 13.5px; line-height: 1.8; }
.note .i { width: 18px; height: 18px; margin-top: 3px; color: var(--muted); }
.fine { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.fine .i { width: 16px; height: 16px; margin-top: 3px; }
.fine a { color: var(--green); font-weight: 600; }
.link-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink); font-weight: 700; font-size: 14px; }
.link-more .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-more:hover .i { transform: translateX(-3px); }
.link-more:hover { color: var(--green); }
.on-dark .link-more { color: var(--glow); }

/* ── header ─────────────────────────────────────────────────────────── */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 12px; height: var(--head-h); }
.brand { display: flex; flex-direction: column; line-height: 1.1; margin-inline-end: auto; min-height: 44px; justify-content: center; }
.brand-word { font-weight: 800; font-size: 18px; letter-spacing: .04em; color: var(--ink); direction: ltr; white-space: nowrap; }
.brand-sub { font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 3px; }
.head-search, .head-phone { display: none; }
.head-actions { display: flex; align-items: center; gap: 8px; }
/* the one solid primary in the chrome: the request list */
.order-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--graphite); color: #fff; font-weight: 700; font-size: 14px;
  transition: background .18s var(--ease), transform .12s var(--ease); }
.order-btn:hover, .order-btn.is-on { background: var(--graphite-3); }
.order-btn:active { transform: scale(.98); }
.order-btn .badge { position: absolute; top: -7px; inset-inline-end: -7px; box-shadow: 0 0 0 2px #fff; }
.order-btn span { display: none; }
@media (min-width: 400px) { .order-btn span { display: inline; } }
/* mobile: search stays one tap away on every inner page */
.m-search { position: relative; padding: 0 var(--gutter) 10px; }
.m-search > .i { position: absolute; inset-inline-start: calc(var(--gutter) + 14px); top: 13px; color: var(--muted); }
.m-search input { width: 100%; height: 46px; padding: 0 44px 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 16px; transition: border-color .18s, background .18s, box-shadow .18s; }
.m-search input:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px var(--green-50); }
.origin-strip { display: none; }
@media (min-width: 960px) {
  .m-search { display: none; }
  .brand { margin-inline-end: 0; }
  .brand-word { font-size: 21px; }
  .head-search { display: flex; flex: 1; max-width: 560px; margin-inline: auto; position: relative; }
  .head-search input { width: 100%; height: 48px; padding: 0 18px 0 56px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 15px; transition: border-color .18s, background .18s, box-shadow .18s; }
  .head-search input:focus { outline: none; background: #fff; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-50); }
  .head-search button { position: absolute; left: 4px; top: 4px; width: 44px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 9px; background: var(--ink); color: #fff; }
  .head-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border-radius: 10px; font-family: var(--tech); font-stretch: 105%; font-weight: 600; font-size: 14px; color: var(--ink-2); }
  .head-phone:hover { color: var(--ink); background: var(--paper); }
  .head-phone .i { width: 18px; height: 18px; }
  .order-btn { padding: 0 18px; }
  .origin-strip { display: block; border-top: 1px solid var(--line-2); }
  .origin-strip ul { display: flex; gap: 4px; height: 48px; align-items: stretch; }
  .origin-strip li { display: flex; }
  .origin-strip a { position: relative; display: flex; align-items: center; padding: 0 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
  .origin-strip a:hover, .origin-strip a[aria-current] { color: var(--ink); }
  .origin-strip a::after { content: ""; position: absolute; inset-inline: 14px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--ink); opacity: 0; transform: scaleX(.4); transition: opacity .2s, transform .25s var(--ease); }
  .origin-strip a[data-o]::after { background: var(--grad); }
  .origin-strip a:hover::after, .origin-strip a[aria-current]::after { opacity: 1; transform: none; }
  .origin-strip .mega-li { margin-inline-end: 10px; padding-inline-end: 10px; border-inline-end: 1px solid var(--line); }
}
/* category panel (desktop): every shelf one click from any page */
.mega { display: flex; }
.mega summary { list-style: none; display: flex; align-items: center; gap: 8px; margin-block: 5px; padding: 0 14px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; transition: background .18s; }
.mega summary::-webkit-details-marker { display: none; }
.mega summary:hover, .mega[open] summary { background: var(--paper); }
.mega summary .i { width: 18px; height: 18px; }
.mega .mega-chev { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.mega[open] .mega-chev { transform: rotate(180deg); }
.mega-panel { position: absolute; inset-inline: 0; top: 100%; background: var(--surface); border-block: 1px solid var(--line); box-shadow: 0 28px 48px -28px rgba(21,33,43,.3); padding-block: 20px 22px; }
.mega-panel > * { max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.mega-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px 12px; }
.mega-grid a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 8px; border-radius: 10px; transition: background .18s; }
.mega-grid a:hover { background: var(--paper); }
.mega-ill { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--grid-tex), #F1F3F5; background-size: 10px 10px, 10px 10px, auto; }
.mega-ill .ill { width: 36px; }
.mega-grid b { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.5; }
.mega-grid em { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
.mega-foot { display: flex; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); }
@media (prefers-reduced-motion: no-preference) { .mega[open] .mega-panel { animation: mega-in .22s var(--ease); } @keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } } }

/* ── bottom tab bar (mobile) ────────────────────────────────────────── */
.tabbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr); height: calc(var(--tab-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.tabbar a[aria-current] { color: var(--ink); }
.tabbar a[aria-current]::before { content: ""; position: absolute; top: 0; width: 28px; height: 2px; border-radius: 0 0 2px 2px; background: var(--green); }
.tabbar .i { width: 23px; height: 23px; }
.tabbar .badge { position: absolute; top: 6px; left: calc(50% - 22px); }
@media (min-width: 960px) { .tabbar { display: none; } }

/* ── section scaffolding ────────────────────────────────────────────── */
/* rhythm: one generous gap between sections; a white band marks the category index; rails and grids get a ruled header */
.sec { padding-block: 44px 0; }
.sec.is-band { margin-top: 44px; padding-block: 36px 40px; background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec-head h2 { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.sec-head p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.sec-head.is-ruled, .rail .sec-head { padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.sec-tools { display: flex; align-items: center; gap: 12px; flex: none; }
.sec-more { display: flex; justify-content: center; margin-top: 28px; }
.sec-more .btn .i { width: 18px; height: 18px; }
@media (min-width: 960px) {
  .sec { padding-block: 88px 0; }
  .sec.is-band { margin-top: 88px; padding-block: 64px 72px; }
  .sec-head { margin-bottom: 24px; }
  .sec-head h2 { font-size: 28px; }
  .sec-head p { font-size: 15px; }
  .sec-head.is-ruled, .rail .sec-head { padding-bottom: 18px; margin-bottom: 28px; }
}
.sub-h { display: flex; align-items: center; justify-content: space-between; font-size: 17px; margin: 28px 0 12px; }

/* ── hero: black performance car, text over its dark side ───────────── */
.on-dark { color: var(--on-dark); }
.hero { position: relative; overflow: hidden; background: #0B1117; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(127,224,188,.45), transparent); }
.hero-media { position: relative; display: block; height: 58vw; max-height: 340px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,17,23,.1) 0%, rgba(11,17,23,.35) 55%, #0B1117 100%); }
.hero-grid { position: relative; z-index: 1; padding-block: 28px 40px; }
.hero.has-media .hero-grid { margin-top: -64px; padding-top: 0; }
.hero h1 { display: flex; flex-direction: column; gap: 10px; }
.hero-word { font-size: clamp(34px, 10.4vw, 84px); font-weight: 800; font-stretch: 125%; line-height: .95; letter-spacing: .01em; direction: ltr; text-align: right; color: #fff; }
.hero-fa { font-size: clamp(17px, 4.6vw, 26px); font-weight: 700; color: var(--on-dark); }
.hero-lede { margin-top: 14px; max-width: 34em; color: var(--on-dark-2); font-size: 14.5px; line-height: 1.9; }
.hero-search { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 22px; max-width: 600px; padding: 6px; padding-inline-start: 44px; border-radius: 14px; background: #fff; box-shadow: 0 10px 40px -10px rgba(0,0,0,.6); }
.hero-search > .i { position: absolute; inset-inline-start: 14px; color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 16px; }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { box-shadow: 0 0 0 3px rgba(127,224,188,.45), 0 10px 40px -10px rgba(0,0,0,.6); }
.hero-search .btn { flex: none; }
.hero-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--on-dark-2); }
.hero-quick span { width: 100%; }
.hero-quick a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: var(--on-dark); background: rgba(255,255,255,.04); transition: border-color .18s, background .18s; }
.hero-quick a:hover { border-color: rgba(127,224,188,.6); background: rgba(127,224,188,.08); }
@media (min-width: 600px) { .hero-quick span { width: auto; } .hero-media { max-height: 380px; } }
@media (min-width: 960px) {
  .hero-media { position: absolute; inset: 0; height: auto; max-height: none; }
  .hero-media img { object-position: 30% 50%; }
  /* the text side (right, RTL) sits on the photo's empty black; a soft scrim keeps it legible */
  .hero-media::after { background: linear-gradient(270deg, #0B1117 0%, rgba(11,17,23,.92) 34%, rgba(11,17,23,.35) 62%, rgba(11,17,23,.05) 100%), linear-gradient(0deg, rgba(11,17,23,.55), transparent 30%); }
  .hero-grid, .hero.has-media .hero-grid { margin-top: 0; padding-block: 72px 80px; min-height: 500px; display: flex; align-items: center; }
  .hero-copy { max-width: 620px; }
  .hero-lede { font-size: 16px; }
}
@media (min-width: 1440px) { .hero-grid, .hero.has-media .hero-grid { min-height: 540px; } }

/* ── origin light (shared by cards, tiles, headers) ─────────────────── */
[data-o="iranian"] { --grad: var(--o-iranian); --glow-c: var(--o-iranian-glow); }
[data-o="chinese"] { --grad: var(--o-chinese); --glow-c: var(--o-chinese-glow); }
[data-o="korean"]  { --grad: var(--o-korean);  --glow-c: var(--o-korean-glow); }
[data-o="foreign"] { --grad: var(--o-foreign); --glow-c: var(--o-foreign-glow); }
[data-o="moto"]    { --grad: var(--o-moto);    --glow-c: var(--o-moto-glow); }
.o-mark { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.o-mark i { width: 14px; height: 4px; border-radius: 2px; background: var(--grad); }

/* ── origin tiles ───────────────────────────────────────────────────── */
.origins-dock { position: relative; z-index: 2; margin-top: 20px; }
.origin-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 12px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.origin-tiles::-webkit-scrollbar { display: none; }
.origin-tiles li { scroll-snap-align: start; }
.origin-tile { position: relative; display: flex; flex-direction: column; gap: 2px; height: 100%; min-height: 116px; padding: 20px 18px 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--sh-1); transition: box-shadow .25s var(--ease), transform .25s var(--ease); overflow: hidden; }
.origin-tile::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--grad); }
.origin-tile::after { content: ""; position: absolute; inset-inline: 0; top: 3px; height: 40px; background: var(--grad); opacity: .07; filter: blur(8px); }
.origin-tile:hover { box-shadow: var(--sh-2), 0 -12px 30px -16px var(--glow-c); transform: translateY(-2px); }
.ot-name { font-weight: 800; font-size: 16.5px; }
.ot-count { font-size: 13px; color: var(--muted); font-weight: 600; }
.ot-veh { margin-top: auto; padding-top: 10px; font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.origin-tiles.is-compact .origin-tile { min-height: 96px; }
@media (min-width: 600px) { .origin-tiles { grid-auto-columns: 40%; } }
@media (min-width: 960px) {
  .origins-dock { margin-top: -76px; }
  .hero.has-media .hero-grid { padding-bottom: 148px; }
  .origin-tiles { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; gap: 14px; }
  .origin-tile { min-height: 140px; padding: 24px 20px 18px; box-shadow: var(--sh-2); }
  .ot-name { font-size: 17.5px; }
}

/* ── category tiles ─────────────────────────────────────────────────── */
.cat-feature { display: grid; gap: 12px; margin-bottom: 12px; }
.cat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cat-txt { min-width: 0; }
.cat-tile { display: flex; align-items: center; gap: 10px; min-height: 72px; height: 100%; padding: 10px 12px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.cat-tile:hover { border-color: var(--line-strong); box-shadow: var(--sh-2); transform: translateY(-2px); }
.cat-ill { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: radial-gradient(60% 60% at 50% 45%, #fff, rgba(255,255,255,0) 75%), var(--grid-tex), #F1F3F5; background-size: auto, 12px 12px, 12px 12px, auto; }
.cat-ill .ill { width: 46px; }
.cat-name { display: block; font-weight: 700; font-size: 13.5px; line-height: 1.55; }
.cat-count { display: block; font-size: 12px; color: var(--muted); }
.cat-lede { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.8; margin-block: 2px 4px; }
.cat-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; font-size: 13.5px; color: var(--ink); }
.cat-go .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.cat-tile:hover .cat-go { color: var(--green); }
.cat-tile:hover .cat-go .i { transform: translateX(-3px); }
.cat-tile.is-feature { align-items: stretch; padding: 0; overflow: hidden; min-height: 148px; }
.cat-tile.is-feature .cat-ill { width: 42%; height: auto; border-radius: 0; background-size: auto, 16px 16px, 16px 16px, auto; }
.cat-tile.is-feature .cat-ill .ill { width: 72%; max-width: 150px; }
.cat-tile.is-feature .cat-txt { display: flex; flex-direction: column; justify-content: center; padding: 16px 18px; }
.cat-tile.is-feature .cat-name { font-size: 18px; font-weight: 800; }
.cat-tile.is-feature .cat-count { font-size: 13px; margin-top: 2px; }
@media (min-width: 600px) { .cat-feature { grid-template-columns: 1fr 1fr; } .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .cat-feature { gap: 16px; margin-bottom: 16px; }
  .cat-tile.is-feature { min-height: 216px; }
  .cat-tile.is-feature .cat-txt { padding: 28px 32px; }
  .cat-tile.is-feature .cat-name { font-size: 23px; }
  .cat-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .cat-tiles .cat-tile { flex-direction: column; text-align: center; justify-content: flex-start; padding: 14px 10px; gap: 8px; }
  .cat-tiles .cat-ill { width: 100%; height: 84px; background-size: auto, 14px 14px, 14px 14px, auto; }
  .cat-tiles .cat-ill .ill { width: 74px; }
  .cat-name { font-size: 14px; }
}
.cat-list { display: grid; gap: 10px; }
.cat-list .cat-tile { align-items: flex-start; padding: 14px; }
.cat-list .cat-ill { width: 64px; height: 64px; }
.cat-list .cat-ill .ill { width: 58px; }
.cat-list .cat-name { font-size: 15px; }
@media (min-width: 600px) { .cat-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cat-list { grid-template-columns: repeat(3, 1fr); } }
.cats-page { padding-bottom: 48px; }

/* ── product card ───────────────────────────────────────────────────── */
/* a catalog object: display surface, type + origin, name, fit, code, price, one quiet action */
.card { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), border-color .25s, transform .25s var(--ease); }
/* origin light: a 1px line of light along the outer top edge that fades down the sides (quiet at rest) */
.card[data-o]::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: var(--grad);
  -webkit-mask: linear-gradient(to bottom, #000, rgba(0,0,0,.25) 28%, transparent 52%), linear-gradient(#000 0 0) content-box;
  -webkit-mask-composite: source-out; mask: linear-gradient(to bottom, #000, rgba(0,0,0,.25) 28%, transparent 52%), linear-gradient(#000 0 0) content-box; mask-composite: subtract; opacity: .5; transition: opacity .25s; }
.card:hover { border-color: var(--line-strong); box-shadow: var(--sh-2); transform: translateY(-2px); }
.card[data-o]:hover { box-shadow: var(--sh-2), 0 -10px 26px -14px var(--glow-c); }
.card:hover::before { opacity: 1; }
.card-media { display: block; padding: 6px 6px 0; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 12px 12px 12px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 20px; }
.card-type { font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-name { margin-top: 6px; font-size: 14.5px; font-weight: 800; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.6em * 2); }
.card-name a::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.card-name a:focus-visible { outline: none; }
.card-name a:focus-visible::after { outline: 2px solid var(--green); outline-offset: 2px; }
.card-fit { margin-top: 2px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-code { margin-top: 4px; font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-foot { display: flex; align-items: flex-end; margin-top: auto; padding-top: 12px; }
/* quiet until chosen: outline at rest, graphite on hover, green once it is in the request */
.add { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin-top: 10px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 13.5px;
  transition: background .18s var(--ease), color .18s, border-color .18s, transform .12s var(--ease); }
.add .i { width: 18px; height: 18px; }
.add:hover { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.add:active { transform: scale(.98); }
.add.is-in { background: var(--green-50); border-color: var(--green-100); color: var(--green); }
.add.is-in:hover { background: var(--green); border-color: var(--green); color: #fff; }
.add.is-added { background: var(--green); border-color: var(--green); color: #fff; }
@media (min-width: 960px) { .card-body { padding: 14px 14px 14px; } .card-name { font-size: 15px; } }

/* price */
.price { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.price-v { font-weight: 800; font-size: 15px; color: var(--ink); white-space: nowrap; }
.price-v small { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.price-k { font-size: 11px; color: var(--muted); }
.price.is-ask .price-v { font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: normal; }
.price.big .price-v { font-size: 26px; letter-spacing: -.01em; }
.price.big .price-v small { font-size: 14px; }
.price.big .price-k { font-size: 13px; margin-top: 2px; }
.price.big.is-ask .price-v { font-size: 19px; font-weight: 700; color: var(--ink); }

/* ── stage: photos and illustrations share one display surface ─────── */
.stage { position: relative; aspect-ratio: 1 / 1; border-radius: calc(var(--r-md) - 5px); overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(62% 58% at 50% 46%, #FFFFFF 0%, rgba(255,255,255,.9) 40%, rgba(255,255,255,0) 74%), var(--grid-tex), #F1F3F5;
  background-size: auto, 18px 18px, 18px 18px, auto; background-position: center; }
.stage.is-photo img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; transition: transform .45s var(--ease); }
.card:hover .stage.is-photo img, .card:hover .stage.is-ill .ill { transform: scale(1.035); }
.stage.is-ill .ill { width: 80%; transition: transform .45s var(--ease); }
.ill-tag { position: absolute; bottom: 7px; inset-inline-start: 8px; font-size: 10.5px; font-weight: 600; color: #56636D; background: rgba(255,255,255,.92); padding: 1px 7px; border-radius: 999px; }

/* ── technical illustrations ────────────────────────────────────────── */
.ill { color: #43535F; overflow: visible; --ill-sw: 1.25px; }
.ill * { fill: none; stroke: currentColor; stroke-width: var(--ill-sw); vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.ill .b { fill: #E4EAEE; }
.ill .s { fill: #C9D3DA; }
.ill .a { fill: #CFE6DC; }
.ill .a-line { stroke: var(--green); }
.ill .b-thick { stroke: #DCE3E8; stroke-width: 9px; }
.ill .hole { fill: #F4F6F7; }
.ill .gr { fill: rgba(21,33,43,.08); stroke: none; }
.ill text { stroke: none; fill: var(--ink); font-family: var(--tech); font-weight: 700; font-stretch: 110%; text-anchor: middle; direction: ltr; }
.ill .t2 { font-weight: 600; fill: var(--ink-2); }
.ill.k-oil .a { fill: #F1E0BC; }
.ill.k-oil.is-spectrum .a { fill: #D4E0F2; }
.ill.big { --ill-sw: 1.6px; }
.on-dark .ill { color: #B9C8D2; }
.on-dark .ill .b { fill: rgba(255,255,255,.05); }
.on-dark .ill .s { fill: rgba(255,255,255,.11); }
.on-dark .ill .a { fill: rgba(127,224,188,.16); }
.on-dark .ill.k-oil .a { fill: rgba(241,208,140,.2); }
.on-dark .ill.k-oil.is-spectrum .a { fill: rgba(160,190,235,.2); }
.on-dark .ill .a-line { stroke: var(--glow); }
.on-dark .ill .hole { fill: var(--graphite-2); }
.on-dark .ill .gr { fill: rgba(0,0,0,.35); }
.on-dark .ill text { fill: #fff; }
.on-dark .ill .t2 { fill: var(--on-dark-2); }

/* ── rails ──────────────────────────────────────────────────────────── */
.rail { padding-top: 44px; }
.rail-stage { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 6px var(--gutter) 14px; scroll-padding-inline: var(--gutter); scrollbar-width: none; max-width: 1360px; margin-inline: auto; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track:focus-visible { outline-offset: -2px; }
.rail-item { scroll-snap-align: start; min-width: 0; }
.rail-nav { display: none; }
@media (min-width: 600px) { .rail-track { grid-auto-columns: 30%; gap: 14px; } }
@media (min-width: 960px) {
  .rail { padding-top: 88px; }
  .rail-track { grid-auto-columns: calc((100% - 2 * var(--gutter) - 4 * 16px) / 5); gap: 16px; }
}
@media (min-width: 960px) and (pointer: fine) {
  .rail-nav:not([hidden]) { display: block; }
  .rail-arrow { position: absolute; top: 36%; z-index: 3; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink);
    border: 1px solid var(--line); box-shadow: var(--sh-2); transition: opacity .2s, transform .2s var(--ease), background .18s, color .18s; }
  .rail-arrow[data-rail-dir="prev"] { inset-inline-start: max(10px, calc((100% - 1360px) / 2 + 6px)); }
  .rail-arrow[data-rail-dir="next"] { inset-inline-end: max(10px, calc((100% - 1360px) / 2 + 6px)); }
  .rail-arrow:hover { background: var(--graphite); border-color: var(--graphite); color: #fff; }
  .rail-arrow:disabled { opacity: 0; visibility: hidden; transform: scale(.9); pointer-events: none; transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s; }
}
@media (min-width: 1280px) { .rail-track { grid-auto-columns: calc((100% - 2 * var(--gutter) - 5 * 16px) / 6); } }
@media (prefers-reduced-motion: no-preference) { .rail-track { scroll-behavior: smooth; } }

/* ── curated dark panels ────────────────────────────────────────────── */
.panels { display: grid; gap: 12px; }
.panel { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 20px 20px; border-radius: var(--r-xl); background: var(--graphite); overflow: hidden;
  background-image: radial-gradient(80% 60% at 80% 100%, rgba(127,224,188,.1), transparent 70%), linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px; }
.panel h3 { font-size: 19px; color: #fff; }
.panel p { color: var(--on-dark-2); font-size: 13.5px; margin-top: 4px; line-height: 1.85; }
.panel .btn { align-self: flex-start; }
.lineup { display: flex; align-items: flex-end; justify-content: center; margin-block: 4px; border-bottom: 1px solid rgba(255,255,255,.1); }
.lineup > a, .lineup > .ill { flex: 1; max-width: 120px; margin-inline: -8px; }
.lineup > a { display: block; border-radius: 10px; }
.lineup .ill { width: 100%; }
@media (min-width: 960px) { .panels { grid-template-columns: repeat(3, 1fr); gap: 16px; } .panel { padding: 26px 24px 24px; } .panel h3 { font-size: 21px; } }

/* ── steps ──────────────────────────────────────────────────────────── */
.steps { padding-bottom: 56px; }
.step-list { display: grid; gap: 10px; counter-reset: s; }
.step-list li { position: relative; padding: 18px 18px 18px 18px; padding-inline-start: 62px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); counter-increment: s; }
.step-list li::before { content: counter(s, persian); position: absolute; inset-inline-start: 18px; top: 18px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--green-50); color: var(--green); font-weight: 800; font-size: 14px; }
.step-list b { display: block; font-size: 15px; }
.step-list span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.steps-support { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--ink-2); font-size: 14px; }
.steps-support a { font-weight: 700; color: var(--green); }
.steps-support .i { color: var(--wa); }
@media (min-width: 960px) { .step-list { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* ── footer ─────────────────────────────────────────────────────────── */
.site-foot { background: var(--graphite); padding-block: 40px 24px; margin-top: 16px; }
.foot-grid { display: grid; gap: 28px; }
.site-foot .brand-word { color: #fff; font-size: 20px; }
.site-foot p { color: var(--on-dark-2); font-size: 13.5px; margin-top: 10px; max-width: 36em; line-height: 1.9; }
.site-foot h2 { font-size: 14px; color: #fff; margin-bottom: 4px; }
.site-foot a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--on-dark); }
.site-foot a:hover { color: var(--glow); }
.site-foot .i { width: 18px; height: 18px; }
.foot-note { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: var(--on-dark-2); }
@media (min-width: 960px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* ── breadcrumbs ────────────────────────────────────────────────────── */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding-block: 14px 6px; font-size: 12.5px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; color: #A7B2BA; }
.crumbs a { display: inline-flex; min-height: 28px; align-items: center; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 600; max-width: 22em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.on-dark .crumbs ol { color: var(--on-dark-2); }
.on-dark .crumbs li::after { color: rgba(255,255,255,.25); }
.on-dark .crumbs a:hover { color: #fff; }
.on-dark .crumbs [aria-current] { color: var(--on-dark); }

/* ── listing header ─────────────────────────────────────────────────── */
.list-head { padding-bottom: 20px; }
.list-head h1 { font-size: 26px; font-weight: 800; margin-top: 4px; }
.lh-lede { color: var(--ink-2); font-size: 14px; margin-top: 8px; max-width: 42em; line-height: 1.9; }
.lh-stats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 16px 0 0; }
.lh-stats div { display: flex; flex-direction: column-reverse; }
.lh-stats dt { font-size: 12.5px; color: var(--muted); }
.lh-stats dd { margin: 0; font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.lh-chips { display: flex; gap: 8px; margin-top: 16px; overflow-x: auto; padding-bottom: 4px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.lh-chips::-webkit-scrollbar { display: none; }
.list-head.is-cat { padding-bottom: 4px; }
.lh-card { display: grid; grid-template-columns: minmax(0, 1fr) 80px; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.lh-text { min-width: 0; }
.lh-rule { display: block; width: 40px; height: 3px; border-radius: 2px; background: var(--green); margin-top: 12px; }
.lh-art { width: 80px; height: 80px; border-radius: 14px; align-self: start; display: grid; place-items: center;
  background: radial-gradient(60% 60% at 50% 45%, #fff, rgba(255,255,255,0) 75%), var(--grid-tex), #F1F3F5; background-size: auto, 14px 14px, 14px 14px, auto; }
.lh-art .ill { width: 66px; }
@media (min-width: 600px) { .lh-card { grid-template-columns: minmax(0, 1fr) 120px; } .lh-art { width: 120px; height: 120px; align-self: center; } .lh-art .ill { width: 96px; } }
.list-head.is-origin { position: relative; background: var(--graphite); padding-bottom: 28px; overflow: hidden;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 28px 28px; }
.list-head.is-origin::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--grad); }
.list-head.is-origin::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 120px; background: var(--grad); opacity: .1; filter: blur(30px); pointer-events: none; }
.list-head.is-origin h1 { color: #fff; }
.list-head.is-origin .lh-lede, .list-head.is-origin .lh-stats dt { color: var(--on-dark-2); }
.list-head.is-origin .lh-stats dd { color: #fff; }
.list-head.is-search, .list-head.is-plain { background: var(--surface); border-bottom: 1px solid var(--line); }
.lh-search { position: relative; display: flex; gap: 8px; margin-top: 14px; max-width: 640px; }
.lh-search > .i { position: absolute; inset-inline-start: 14px; top: 14px; color: var(--muted); }
.lh-search input { flex: 1; min-width: 0; height: 48px; padding: 0 44px 0 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 16px; background: var(--paper); }
.lh-search input:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px var(--green-50); }
@media (min-width: 960px) {
  .list-head { padding-bottom: 36px; }
  .list-head h1 { font-size: 36px; }
  .lh-lede { font-size: 15.5px; }
  .lh-stats dd { font-size: 24px; }
  .list-head.is-cat { padding-bottom: 8px; }
  .lh-card { grid-template-columns: minmax(0, 1fr) 400px; gap: 0; padding: 0; overflow: hidden; min-height: 264px; }
  .lh-text { padding: 36px 44px; }
  .lh-art { width: 100%; height: 100%; align-self: stretch; border-radius: 0; border-inline-start: 1px solid var(--line-2); background-size: auto, 20px 20px, 20px 20px, auto; }
  .lh-art .ill { width: 210px; }
  .lh-chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .list-head.is-origin { padding-block-end: 40px; }
}

/* ── listing body ───────────────────────────────────────────────────── */
.list-body { display: grid; gap: 14px; padding-block: 16px 48px; }
.list-body > * { min-width: 0; }   /* a scrolling chip row must not widen the column */
/* origin as chips: every option visible with its count, the current one pressed */
.chip-row ul { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--gutter) 4px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.chip-row ul::-webkit-scrollbar { display: none; }
.chip-row .chip { min-height: 42px; padding: 0 16px; font-size: 14px; }
.chip-dot { width: 12px; height: 4px; border-radius: 2px; background: var(--grad); }
.toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.tb-count { margin-inline-end: auto; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.btn-filter { min-height: 42px; padding: 0 12px; font-size: 14px; }
.btn-filter .badge { margin-inline-start: 2px; }
.tb-sort select { width: auto; min-width: 128px; }
.active-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.anchor { display: block; grid-column: 1 / -1; height: 0; scroll-margin-top: 110px; }
.more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 28px; }
.more p { font-size: 13px; color: var(--muted); }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 960px) {
  .list-body { gap: 18px; padding-top: 28px; }
  .chip-row ul { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .btn-filter { display: none; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1360px) { .grid:not(.is-8) { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* filters: bottom sheet on mobile, sticky sidebar on desktop */
.filters { position: fixed; inset-inline: 0; bottom: 0; z-index: 60; max-height: 86vh; display: flex; flex-direction: column; background: var(--surface); border-radius: 22px 22px 0 0;
  box-shadow: 0 -20px 60px rgba(0,0,0,.2); transform: translateY(105%); visibility: hidden; transition: transform .32s var(--ease), visibility 0s .32s; }
.filters.is-open { transform: none; visibility: visible; transition: transform .32s var(--ease); }
.filters-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px 12px; border-bottom: 1px solid var(--line-2); }
.filters-head h2 { font-size: 17px; }
.filters-body { overflow-y: auto; padding: 8px 16px 16px; overscroll-behavior: contain; }
.filters-foot { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-2); }
.sheet-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(12,20,27,.45); }
.sheet-scrim[hidden] { display: none; }
.f-group { border: 0; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line-2); min-width: 0; }
.f-group:last-child { border-bottom: 0; }
.f-group legend, .f-label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 8px; padding: 0; }
.f-group legend { float: right; width: 100%; }
.f-group legend + * { clear: both; }
.f-opt { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 14px; cursor: pointer; }
.f-opt input { width: 18px; height: 18px; accent-color: var(--green); margin: 0; }
.f-opt em { margin-inline-start: auto; font-style: normal; font-size: 12.5px; color: var(--muted); }
.switch { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch-ui { position: relative; flex: none; width: 40px; height: 24px; border-radius: 999px; background: #CDD5DB; transition: background .2s; }
.switch-ui::after { content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.switch input:checked + .switch-ui { background: var(--green); }
.switch input:checked + .switch-ui::after { transform: translateX(-16px); }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--green); outline-offset: 2px; }
.switch em { font-style: normal; color: var(--muted); font-size: 12.5px; }
@media (min-width: 960px) {
  /* desktop: one horizontal filter bar above the results (was a tall sidebar) */
  .filters { position: static; max-height: none; transform: none; visibility: visible; transition: none; z-index: auto;
    border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: none; }
  .filters-head, .filters-foot { display: none; }
  .filters-body { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; padding: 14px 16px; overflow: visible; }
  .filters .f-group { flex: 1 1 200px; padding: 0; border: 0; }
  .filters .f-group:first-child { flex: 2 1 320px; }
  .filters .f-group:has(.switch) { flex: 0 0 auto; }
  .filters .f-label { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
  .filters .input { min-height: 44px; }
  .sheet-scrim { display: none !important; }
}

/* empty states */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 40px 16px 56px; }
.empty .ill { width: 120px; margin-bottom: 8px; }
.empty h2, .empty h1 { font-size: 18px; }
.empty p { color: var(--muted); font-size: 14px; max-width: 30em; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.is-404 { padding-block: 80px; }
.is-404 h1 { font-size: 24px; }

/* ── product detail ─────────────────────────────────────────────────── */
.pd { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 4px 12px; }
.pd-gallery { min-width: 0; }
.pd-stage { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); padding: 8px; position: relative; }
.pd[data-o] .pd-stage { box-shadow: 0 -12px 30px -22px var(--glow-c); }
.pd[data-o] .pd-stage::before { content: ""; position: absolute; inset-inline: 18%; top: -1px; height: 2px; border-radius: 2px; background: var(--grad); opacity: .9; }
.pd-stage .stage { border-radius: 16px; }
.pd-stage .stage.is-ill .ill { width: 64%; }
.pd-stage .ill-tag { display: none; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.pd-thumb { flex: none; width: 68px; height: 68px; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd-thumb[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pd-ill-note { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.pd-ill-note .i { width: 16px; height: 16px; }
.pd-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pd-name { font-size: 22px; margin-top: 10px; line-height: 1.55; }
.pd-fit { margin-top: 6px; color: var(--ink-2); font-size: 14px; }
.pd-about { margin-top: 10px; color: var(--ink-2); font-size: 14px; line-height: 1.9; }
.pd-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pd-specs li { padding: 5px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pd-buy { margin-top: 18px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.pd-price-note { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.pd-actions { display: flex; gap: 10px; margin-top: 16px; }
.pd-actions .btn { flex: 1; min-width: 0; padding-inline: 12px; }
.pd-actions .btn span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 419px) { .wide-only { display: none; } }
@media (max-width: 400px) { .pd-buy { padding: 16px 14px; } .pd-actions { gap: 8px; } .stepper button { width: 40px; } .stepper input { width: 40px; } }
.pd-codes { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.pd-codes .code { color: var(--ink); font-size: 13px; }
.pd-secondary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.pd-secondary .btn { flex: 1 1 auto; }
.pd-secondary .btn .i { width: 18px; height: 18px; }
.pd-order-link .i { width: 16px; height: 16px; }
.pd-order-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--green); font-weight: 700; font-size: 14px; }
.pd-buy .note { margin-top: 6px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); flex: none; }
.stepper button { width: 44px; height: 50px; border: 0; background: none; display: grid; place-items: center; color: var(--ink); border-radius: 12px; }
.stepper button:hover { background: var(--paper); }
.stepper input { width: 46px; height: 50px; border: 0; text-align: center; font-weight: 800; font-size: 16px; background: none; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.stepper input:focus { outline: none; }
.stepper:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-50); }
.stepper.is-sm button { width: 38px; height: 40px; }
.stepper.is-sm input { width: 38px; height: 40px; font-size: 15px; }
.pd-facts { margin-top: 22px; }
.pd-facts h2 { font-size: 17px; margin-bottom: 8px; }
.pd-facts dl { margin: 0; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.pd-facts dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.pd-facts dl > div:last-child { border-bottom: 0; }
.pd-facts dt { color: var(--muted); }
.pd-facts dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.pd-facts dd a { color: var(--green); }
.pd-facts .note { margin-top: 10px; }
.buybar { position: fixed; inset-inline: 0; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); z-index: 44; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter);
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(21,33,43,.18); }
.buybar[hidden] { display: none; }
.buybar-p { flex: 1; min-width: 0; }
@media (min-width: 960px) {
  .pd { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "info gallery"; gap: 48px; padding-top: 8px; align-items: start; }
  .pd-gallery { grid-area: gallery; position: sticky; top: calc(var(--head-h) + 64px); }
  .pd-info { grid-area: info; }
  .pd-name { font-size: 30px; }
  .pd-fit { font-size: 15px; }
  .pd-buy { padding: 22px 24px; }
  .buybar { display: none !important; }
}

/* ── order page ─────────────────────────────────────────────────────── */
.order { display: grid; gap: 20px; padding-block: 20px 48px; }
.o-item { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 12px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.o-item + .o-item { margin-top: 10px; }
.o-item .stage { border-radius: 10px; }
.o-item .ill-tag { display: none; }
.o-name { font-weight: 700; font-size: 14.5px; line-height: 1.65; }
.o-name a:hover { color: var(--green); }
.o-codes { font-size: 12px; color: var(--muted); margin-top: 2px; }
.o-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.o-sub { font-weight: 800; font-size: 14px; }
.o-sub small { font-weight: 600; color: var(--muted); font-size: 11.5px; }
.o-remove { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 8px; border: 0; background: none; color: var(--muted); font-size: 13px; border-radius: 8px; }
.o-remove:hover { color: var(--danger); background: var(--danger-50); }
.o-remove .i { width: 17px; height: 17px; }
.skeleton-list span { display: block; height: 104px; border-radius: var(--r-md); background: linear-gradient(90deg, #E8ECEE 0%, #F3F5F6 50%, #E8ECEE 100%); background-size: 200% 100%; margin-bottom: 10px; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.summary, .req-form { padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.req-form { margin-top: 14px; }
.summary h2, .req-form h2 { font-size: 16px; margin-bottom: 10px; }
.summary dl { margin: 0; }
.summary dl div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 700; }
.summary dl div.total { border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 12px; }
.summary dl div.total dd { font-size: 17px; font-weight: 800; }
.summary-note { font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.8; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
.opt { font-weight: 500; color: var(--muted); }
.help { font-size: 12px; color: var(--muted); margin-top: 5px; }
.err { font-size: 12.5px; color: var(--danger); margin-top: 5px; font-weight: 600; }
.err[hidden] { display: none; }
.form-err { margin-bottom: 12px; padding: 10px 12px; border-radius: 10px; background: var(--danger-50); }
.ok { margin-top: 10px; font-size: 13px; color: var(--green); font-weight: 700; }
.field-row { display: grid; gap: 0 12px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .order { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
  .order-side { position: sticky; top: calc(var(--head-h) + 60px); }
  .o-item { grid-template-columns: 96px 1fr; padding: 14px; }
}

/* ── confirmation ───────────────────────────────────────────────────── */
.confirm-head { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: 28px 26px; text-align: center; }
.ch-icon { width: 56px; height: 56px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: var(--green-50); color: var(--green); }
.ch-icon .i { width: 28px; height: 28px; stroke-width: 2.4; }
.confirm-head h1 { font-size: 23px; }
.ch-no { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 10px; }
.ch-no span { font-size: 13px; color: var(--muted); }
.ch-no .code { font-size: 26px; font-weight: 800; letter-spacing: .02em; }
.ch-date { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.confirm { display: grid; gap: 14px; padding-block: 18px 48px; }
.card-block { padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.card-block + .card-block { margin-top: 14px; }
.card-block h2 { font-size: 16px; margin-bottom: 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.card-block h2 .muted { font-size: 13px; }
.send { border-color: var(--green-100); background: linear-gradient(180deg, var(--green-50), #fff 70%); }
.send p { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.send-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.send-actions .btn-wa { width: 100%; }
.send-actions .btn-quiet { flex: 1 1 auto; }
.send-actions [hidden] { display: none; }
.send-after { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.send-after[hidden] { display: none; }
.send-after .i { width: 18px; height: 18px; margin-top: 2px; color: var(--green); }
.req-items li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.req-items li:first-child { padding-top: 0; }
.ri-name a { font-weight: 700; font-size: 14px; line-height: 1.65; }
.ri-name a:hover { color: var(--green); }
.ri-codes { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.ri-qty { font-weight: 800; font-size: 14px; text-align: left; }
.ri-price { grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.ri-price small { color: var(--muted); font-weight: 500; }
.req-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; font-size: 14px; }
.req-total b { font-size: 18px; }
.req-total small { color: var(--muted); font-weight: 500; font-size: 12px; }
.report { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-2); font: 500 13.5px/2 var(--font); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow: auto; }
.report.is-small { font-size: 12.5px; max-height: 300px; margin-bottom: 10px; }
.kv { margin: 0; }
.kv div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 7px 0; font-size: 14px; border-bottom: 1px solid var(--line-2); }
.kv div:last-child { border-bottom: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.kv dd a { color: var(--green); }
.timeline li { position: relative; padding-inline-start: 26px; padding-bottom: 14px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #C5CED4; background: #fff; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 5px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li.is-done::before { border-color: var(--green); background: var(--green); }
.timeline b { display: block; font-size: 14px; }
.timeline span { display: block; font-size: 12.5px; color: var(--muted); }
.timeline.is-log { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); }
@media (min-width: 960px) {
  .confirm-head { padding-block: 40px 36px; }
  .confirm-head h1 { font-size: 28px; }
  .confirm { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; padding-top: 28px; }
  .send-actions .btn-wa { width: auto; }
  .send-actions .btn-quiet { flex: 0 0 auto; }
}

/* ── toast ──────────────────────────────────────────────────────────── */
.toast { position: fixed; z-index: 80; inset-inline: 12px; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 12px); display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 12px;
  border-radius: 14px; background: var(--graphite); color: #fff; font-size: 14px; box-shadow: var(--sh-3); }
.toast[hidden] { display: none; }
.toast a { margin-inline-start: auto; color: var(--glow); font-weight: 700; min-height: 36px; display: inline-flex; align-items: center; white-space: nowrap; }
.toast .i { color: var(--glow); }
.is-product .toast { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 84px); }
@media (min-width: 960px) { .toast, .is-product .toast { inset-inline: auto 32px; bottom: 32px; min-width: 340px; } }
@media (prefers-reduced-motion: no-preference) { .toast:not([hidden]) { animation: toast-in .28s var(--ease); } @keyframes toast-in { from { opacity: 0; transform: translateY(8px); } } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ── production additions: pager, category index, request document, print ── */
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; font-size: 13.5px; color: var(--muted); }
.btn.is-disabled { opacity: .4; pointer-events: none; }
.seg-switch { display: flex; gap: 8px; margin-top: 14px; }
.ch-lede { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.share-url { font-size: 13px; background: var(--paper); }
.link-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.link-actions .btn { flex: 1 1 auto; }
.send-actions .btn[hidden] { display: none; }
.send-actions .btn:disabled { opacity: .6; }
.send-after:empty { display: none; }
.doc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.doc-head h2 { margin: 0; }
.doc-head p { font-size: 13px; }
.doc-meta { margin: 0; font-size: 13px; }
.doc-meta div { display: flex; gap: 8px; }
.doc-meta dt { color: var(--muted); }
.doc-meta dd { margin: 0; font-weight: 700; }
.doc .kv { margin-bottom: 16px; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.req-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.req-table th { text-align: start; font-size: 12.5px; color: var(--muted); font-weight: 700; padding: 10px 12px; background: #F7F9FA; border-bottom: 1px solid var(--line); }
.req-table td { padding: 11px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.req-table tfoot td { border-bottom: 0; background: #FAFBFB; }
.req-table .num { text-align: end; white-space: nowrap; }
.req-table .nm { font-weight: 600; line-height: 1.7; }
.req-table .sub { font-size: 12px; color: var(--muted); font-weight: 500; }
.req-table small { color: var(--muted); }
.doc-note { margin-top: 14px; font-size: 14px; }
.doc > .note { margin-top: 16px; }
@media (max-width: 599px) {
  .req-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .req-table, .req-table tbody, .req-table tfoot, .req-table tr, .req-table td { display: block; }
  .req-table tr { padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
  .req-table td { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border: 0; text-align: start; }
  .req-table td.num { text-align: start; }
  .req-table td[data-l]::before { content: attr(data-l); color: var(--muted); font-size: 12.5px; font-weight: 600; }
  .req-table td:empty { display: none; }
  .req-table td.nm { display: block; padding-bottom: 6px; }
}
@media print {
  body { background: #fff; color: #000; padding: 0; font-size: 12pt; }
  .site-head, .tabbar, .site-foot, .toast, .noprint, .skip, .buybar { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .confirm { display: block; padding: 0; }
  .card-block { border: 0; padding: 0; box-shadow: none; }
  .table-wrap { border-color: #999; }
  a[href]::after { content: ''; }
}
.starter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }

/* home: priced products as a grid (breaks the run of rails) */
@media (min-width: 960px) { .grid.is-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
