:root {
  --navy: #182452;      /* lacquer navy, the box ink */
  --navy-2: #24346e;
  --red: #c41e2f;       /* seal red: prices */
  --gold: #f2c230;      /* booster-foil gold: the cart */
  --gold-2: #e0ad12;
  --bg: #eef1f6;        /* cool card-stock grey */
  --paper: #ffffff;
  --ink: #141a2e;
  --ink-2: #4b5470;
  --line: #d9deea;
  --soft: #f5f7fb;
  --ok: #17784a;
  --radius-lg: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 0 rgba(24, 36, 82, 0.06), 0 6px 20px -12px rgba(24, 36, 82, 0.25);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy: #9fb2ff; --navy-2: #b9c7ff; --red: #ff6b78; --gold: #f2c230; --gold-2: #ffd34d;
    --bg: #0d1222; --paper: #161d33; --ink: #e9ecf5; --ink-2: #a3abc4; --line: #2b3454; --soft: #1b2340;
    --ok: #4fd18f; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --navy: #9fb2ff; --navy-2: #b9c7ff; --red: #ff6b78; --gold: #f2c230; --gold-2: #ffd34d;
  --bg: #0d1222; --paper: #161d33; --ink: #e9ecf5; --ink-2: #a3abc4; --line: #2b3454; --soft: #1b2340;
  --ok: #4fd18f; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.5 var(--font); font-variation-settings: "wdth" 100;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--navy); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.muted { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  appearance: none; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 15px; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; white-space: nowrap;
}
.btn:hover { border-color: var(--ink-2); }
.btn.small { min-height: 34px; padding: 6px 14px; font-size: 14px; }
.btn.ghost { background: transparent; border-color: transparent; color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.12); }
.btn.primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.primary:hover { background: var(--navy-2); }
.btn.gold { background: var(--gold); color: #1d1a0a; border-color: var(--gold); font-weight: 700; }
.btn.gold:hover { background: var(--gold-2); }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .55; cursor: progress; }
.linkish { background: none; border: 0; padding: 4px 2px; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn.light { color: #fff; } .icon-btn.light:hover { background: rgba(255,255,255,.15); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.primary { color: #0d1222; } }
:root[data-theme="dark"] .btn.primary { color: #0d1222; }

/* ---------- Top bar ---------- */
.demo-banner { background: var(--gold); color: #1d1a0a; text-align: center; font-size: 14px; padding: 6px 16px; font-weight: 600; }
.topbar { background: #182452; color: #fff; position: sticky; top: 0; z-index: 30; }
.topbar-inner { max-width: 1240px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--gold); color: #182452; display: grid; place-items: center; font-weight: 800; font-variation-settings: "wdth" 125; font-size: 19px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-variation-settings: "wdth" 115; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.brand-text span { font-size: 13px; opacity: .75; }
.top-actions { display: flex; gap: 2px; }
.top-actions .btn { padding: 8px 12px; }

/* ---------- Before-you-order notice ---------- */
.notice { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.notice-item { display: flex; gap: 12px; align-items: flex-start; background: color-mix(in srgb, var(--gold) 22%, var(--paper)); border: 1px solid color-mix(in srgb, var(--gold) 60%, var(--paper)); border-radius: var(--radius-lg); padding: 12px 16px; }
.notice-item svg { flex: none; width: 26px; height: 26px; margin-top: 1px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notice-item p { margin: 0; font-size: 15px; line-height: 1.45; }
.notice-item b { color: var(--ink); }
.ask-text { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; background: var(--soft); font: 15px/1.4 var(--font); resize: none; }
#askLinks .btn { flex-direction: column; gap: 0; line-height: 1.2; padding-block: 8px; }
#askLinks .btn small { font-weight: 400; color: var(--ink-2); font-size: 12px; }

/* ---------- Intro ---------- */
main { max-width: 1240px; margin: 0 auto; padding: 0 16px 140px; }
.intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 26px 0 22px; }
.intro h1 {
  margin: 0 0 10px; font-size: clamp(28px, 5vw, 48px); line-height: 1.02; letter-spacing: -0.02em;
  font-weight: 800; font-variation-settings: "wdth" 72; max-width: 16ch; color: var(--navy);
}
.intro p { margin: 0; max-width: 54ch; color: var(--ink-2); }

/* The stamp: price-list date, the one loud element */
.stamp {
  flex: none; border: 2.5px solid var(--red); color: var(--red); border-radius: 10px; padding: 10px 16px 9px;
  transform: rotate(-3deg); text-align: center; background: color-mix(in srgb, var(--paper) 70%, transparent);
  display: flex; flex-direction: column; min-width: 150px;
}
.stamp span { font-size: 12px; font-weight: 600; }
.stamp strong { font-size: 24px; font-variation-settings: "wdth" 125; font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; }
.stamp em { font-style: normal; font-size: 12px; font-weight: 600; border-top: 1.5px solid currentColor; margin-top: 4px; padding-top: 3px; }

/* ---------- Coming-soon banner ---------- */
.banner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; background: color-mix(in srgb, var(--gold) 22%, var(--paper)); border: 1px solid color-mix(in srgb, var(--gold) 60%, var(--paper)); border-radius: 18px; padding: 16px 28px 16px 16px; margin-bottom: 14px; }
.banner:not(:has(.banner-photo)) { grid-template-columns: minmax(0, 1fr) auto; padding-left: 20px; }
.banner-photo { width: 168px; height: 168px; border: 0; padding: 0; border-radius: 12px; background: var(--paper); overflow: hidden; cursor: zoom-in; }
.banner-photo img { width: 100%; height: 100%; object-fit: contain; }
.banner-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-left: 8px; }
.banner-date { font-size: 15px; font-weight: 600; color: color-mix(in srgb, var(--gold) 30%, var(--ink)); }
.banner h2 { margin: 0; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.02; font-weight: 800; font-variation-settings: "wdth" 76; color: var(--navy); letter-spacing: -0.02em; text-wrap: balance; }
.banner p { margin: 0; font-size: 17px; line-height: 1.45; color: var(--ink-2); max-width: 56ch; }
.banner-side { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 190px; }
.banner-count { display: flex; align-items: baseline; gap: 8px; color: var(--red); }
.banner-count strong { font-size: 52px; font-weight: 800; font-variation-settings: "wdth" 125; line-height: 1; font-variant-numeric: tabular-nums; }
.banner-count span { font-size: 16px; font-weight: 700; }
.banner-badge { background: var(--paper); border: 1px solid color-mix(in srgb, var(--gold) 60%, var(--paper)); color: var(--ink); font-weight: 700; font-size: 15px; border-radius: 999px; padding: 9px 16px; text-align: center; }

.nudge { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius-lg); padding: 10px 14px; margin-bottom: 14px; font-size: 15px; }
.nudge span { flex: 1 1 260px; }

/* ---------- Filters ---------- */
.filters { position: sticky; top: 54px; z-index: 20; background: var(--bg); padding: 10px 0; display: flex; gap: 10px; align-items: center; }
.search { position: relative; flex: 0 0 240px; }
.search svg { position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; fill: none; stroke: var(--ink-2); stroke-width: 2; }
.search input { width: 100%; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px 9px 38px; background: var(--paper); min-height: 40px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 14px; white-space: nowrap; cursor: pointer; color: var(--ink-2); min-height: 36px; }
.chip[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip[aria-selected="true"] { color: #0d1222; } }
:root[data-theme="dark"] .chip[aria-selected="true"] { color: #0d1222; }
.chip small { opacity: .7; font-weight: 500; margin-left: 4px; }

/* ---------- Catalog ---------- */
.status { color: var(--ink-2); padding: 8px 0; min-height: 8px; }
.status.error { color: var(--red); font-weight: 600; }
.cat-title { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 12px; }
.cat-title h2 { margin: 0; font-size: 22px; font-variation-settings: "wdth" 80; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.cat-title span { color: var(--ink-2); font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 12px; }

.product { background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow); display: grid; grid-template-columns: 132px 1fr; gap: 14px; padding: 12px; align-items: start; }
.thumb { position: relative; width: 132px; aspect-ratio: 1; border-radius: 10px; background: var(--soft); border: 0; padding: 0; cursor: zoom-in; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb .count { position: absolute; right: 6px; bottom: 6px; background: rgba(20,26,46,.75); color: #fff; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 1px 7px; }
.thumb.empty { cursor: default; display: grid; place-items: center; color: var(--ink-2); font-size: 12px; text-align: center; padding: 8px; }
.product h3 { margin: 2px 0 8px; font-size: 17px; line-height: 1.2; font-weight: 700; font-variation-settings: "wdth" 88; }

.variants { display: flex; flex-direction: column; gap: 8px; }
.variant { border-top: 1px solid var(--line); padding-top: 8px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.variant:first-child { border-top: 0; padding-top: 0; }
.v-kind { font-weight: 700; font-size: 14px; }
.v-spec { grid-column: 1; font-size: 13px; color: var(--ink-2); white-space: pre-line; line-height: 1.35; }
.v-spec.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v-more { grid-column: 1; justify-self: start; font-size: 13px; padding: 0; }
.v-price { grid-row: 1; grid-column: 2; text-align: right; font-weight: 800; font-size: 20px; color: var(--red); font-variation-settings: "wdth" 112; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; line-height: 1.1; }
.v-price.out { font-size: 14px; font-weight: 700; color: var(--ink-2); font-variation-settings: "wdth" 100; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.product.sold-out .thumb img { filter: grayscale(1); opacity: .55; }
.product.sold-out h3 { color: var(--ink-2); }
.v-price.ask { font-size: 16px; color: var(--ink-2); font-variation-settings: "wdth" 100; }
.v-price small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; font-variation-settings: "wdth" 100; }
.v-buy { grid-column: 2; grid-row: 2 / span 2; justify-self: end; align-self: start; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); height: 38px; }
.stepper button { width: 38px; height: 36px; border: 0; background: transparent; cursor: pointer; font-size: 20px; font-weight: 600; color: var(--navy); border-radius: 999px; }
.stepper button:hover { background: var(--soft); }
.stepper input { width: 42px; text-align: center; border: 0; background: transparent; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper.on { border-color: var(--navy); background: color-mix(in srgb, var(--navy) 8%, var(--paper)); }
.add-btn { min-height: 38px; padding: 6px 16px; font-size: 14px; }

.empty-state { background: var(--paper); border-radius: var(--radius-lg); padding: 28px; text-align: center; color: var(--ink-2); }
.skeleton { height: 156px; border-radius: var(--radius-lg); background: linear-gradient(90deg, var(--paper), var(--soft), var(--paper)); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Info ---------- */
.info { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.info-block { background: var(--paper); border-radius: var(--radius-lg); padding: 18px 20px; }
.info h2 { margin: 0 0 10px; font-size: 18px; font-variation-settings: "wdth" 85; color: var(--navy); }
.info p, .info li { font-size: 15px; }
.info p { margin: 8px 0 0; }
.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.steps li::marker { font-weight: 800; color: var(--red); }
.plain { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }

/* ---------- Cart bar ---------- */
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); pointer-events: none; }
.cartbar-inner { pointer-events: auto; max-width: 640px; margin: 0 auto; background: #182452; color: #fff; border-radius: 18px; padding: 10px 10px 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 12px 30px -10px rgba(10,16,40,.55); }
.cartbar-sum { display: flex; flex-direction: column; line-height: 1.2; }
.cartbar-sum b { font-size: 15px; }
.cartbar-sum span { font-size: 14px; opacity: .85; font-variant-numeric: tabular-nums; }
.cartbar.bump .cartbar-inner { animation: bump .35s ease; }
@keyframes bump { 40% { transform: translateY(-4px); } }

/* ---------- Side panel ---------- */
.scrim { position: fixed; inset: 0; background: rgba(10, 14, 30, .45); z-index: 40; }
.panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: var(--paper); z-index: 41; display: flex; flex-direction: column; box-shadow: -20px 0 40px -20px rgba(0,0,0,.35); animation: slidein .22s ease-out; }
@keyframes slidein { from { transform: translateX(30px); opacity: 0; } }
.panel-head { display: flex; align-items: center; gap: 6px; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--line); }
.panel-head h2 { flex: 1; margin: 0; font-size: 19px; font-variation-settings: "wdth" 90; }
.panel-body { flex: 1; overflow-y: auto; padding: 14px 18px; }
.panel-foot { border-top: 1px solid var(--line); padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; }
.panel-foot:empty { display: none; }

.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img, .line .ph { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: var(--soft); }
.line-name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.line-meta { font-size: 13px; color: var(--ink-2); }
.line-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.line-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.line .stepper { height: 32px; } .line .stepper button { width: 30px; height: 30px; font-size: 17px; } .line .stepper input { width: 34px; }
.totals { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .grand { font-size: 18px; font-weight: 800; padding-top: 6px; border-top: 1px solid var(--line); margin-top: 4px; }
.totals .grand span:last-child { color: var(--red); font-variant-numeric: tabular-nums; }
.note { background: var(--soft); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 14px; color: var(--ink-2); }
.note b { color: var(--ink); }

.form { display: flex; flex-direction: column; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 600; }
.form label small { font-weight: 400; color: var(--ink-2); }
.form input, .form select, .form textarea { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; background: var(--paper); font-weight: 400; font-size: 16px; min-height: 44px; }
.form textarea { min-height: 80px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.sellers { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sellers legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 6px; }
.seller-opt { flex-direction: row !important; align-items: flex-start; gap: 10px !important; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; cursor: pointer; }
.seller-opt input { width: 18px; height: 18px; min-height: 0; padding: 0; border: 0; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.seller-opt span { display: flex; flex-direction: column; line-height: 1.3; }
.seller-opt small { font-weight: 400; color: var(--ink-2); font-size: 13px; }
.seller-opt:has(input:checked) { border-color: var(--navy); background: color-mix(in srgb, var(--navy) 7%, var(--paper)); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-error { color: var(--red); margin: 0; font-size: 14px; font-weight: 600; min-height: 0; }
.form-error:empty { display: none; }
.form p { margin: 0; }

.done { text-align: center; padding: 20px 0; }
.done .seal { width: 96px; height: 96px; margin: 8px auto 14px; border: 3px solid var(--red); border-radius: 50%; display: grid; place-items: center; color: var(--red); transform: rotate(-8deg); font-weight: 800; font-variation-settings: "wdth" 125; font-size: 15px; line-height: 1.1; animation: stampin .45s cubic-bezier(.2,1.6,.4,1); }
@keyframes stampin { from { transform: rotate(-8deg) scale(1.6); opacity: 0; } }
.done h3 { margin: 0 0 6px; font-size: 22px; }
.done .ord { font-size: 26px; font-weight: 800; font-variation-settings: "wdth" 115; color: var(--navy); letter-spacing: .01em; }

.order-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px 14px; margin-bottom: 10px; }
.order-card header { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.order-card h3 { margin: 0; font-size: 16px; }
.order-card ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.badge { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.badge.New { background: #fff2c6; color: #6a5200; }
.badge.Confirmed, .badge.Paid { background: #dde6ff; color: #1e3489; }
.badge.Shipped, .badge.Completed { background: #d8f2e4; color: #0f5c37; }
.badge.Cancelled { background: #fde0e3; color: #8c1220; }

/* ---------- Dialogs ---------- */
.modal { border: 0; border-radius: 18px; padding: 22px 22px 24px; width: min(440px, calc(100% - 24px)); background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.modal.small { width: min(360px, calc(100% - 24px)); }
.modal::backdrop { background: rgba(10, 14, 30, .5); }
.modal h2 { margin: 0 0 14px; font-size: 22px; font-variation-settings: "wdth" 90; }
.modal-close-form { position: absolute; right: 10px; top: 10px; margin: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 8px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.seg button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.stack { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.lightbox::backdrop { background: rgba(8, 10, 20, .9); }
.lightbox form { position: absolute; top: 12px; right: 12px; margin: 0; }
.lightbox img { max-width: min(92vw, 900px); max-height: 74vh; object-fit: contain; border-radius: 10px; background: #fff; }
.lightbox p { color: #fff; margin: 0; padding: 0 16px; text-align: center; font-weight: 600; }
.lightbox-nav { display: flex; gap: 8px; }
.lightbox-nav button { width: 54px; height: 54px; border-radius: 8px; border: 2px solid transparent; padding: 0; overflow: hidden; background: #fff; cursor: pointer; }
.lightbox-nav button[aria-current="true"] { border-color: var(--gold); }
.lightbox-nav img { width: 100%; height: 100%; object-fit: contain; }

.toast { position: fixed; left: 50%; top: 76px; translate: -50% -12px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; z-index: 60; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- Small screens ---------- */
@media (max-width: 700px) {
  .intro { flex-direction: column; align-items: flex-start; padding-top: 22px; gap: 14px; }
  .stamp { align-self: flex-end; margin-top: -6px; }
  .filters { flex-direction: column; align-items: stretch; position: static; gap: 8px; }
  .search { flex: none; }
  .product { grid-template-columns: 92px 1fr; gap: 12px; padding: 10px; }
  .thumb { width: 92px; }
  .v-price { font-size: 18px; }
  .brand-text span { display: none; }
  .top-actions .btn { padding: 8px 10px; font-size: 14px; }
  .row2 { grid-template-columns: 1fr; }
  .notice { grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
  .banner { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .banner-photo { width: 96px; height: 96px; }
  .banner-text { padding-left: 0; }
  .banner p { font-size: 15px; }
  .banner-side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: space-between; min-width: 0; gap: 8px 12px; }
  .banner-count strong { font-size: 36px; }
  .banner:not(:has(.banner-photo)) { grid-template-columns: 1fr; }
  .notice-item { padding: 10px 12px; }
  .notice-item p { font-size: 14px; }
  .sellers { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .variant { grid-template-columns: 1fr; }
  .v-price { grid-column: 1; grid-row: auto; text-align: left; }
  .v-buy { grid-column: 1; grid-row: auto; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.form .seller-opt input:focus { outline: none; }
.seller-opt:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
