/* Taraazu web store. One file, no framework: fast on a phone on 3G. --accent comes from the
   store's settings (JT Gaming yellow by default). Fonts are served by the store itself (OFL). */
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --accent: #c6f432;
  --accent-ink: #0e1116;
  --ink: #0e1116;
  --ink-2: #353b45;
  --muted: #5b6370;
  --line: #dfe2e7;
  --bg: #f3f4f6;
  --card: #fff;
  --dark: #0b0d10;
  --dark-2: #13161b;
  --dark-3: #1d2128;
  --ok: #16a34a;
  --warn: #b45309;
  --bad: #dc2626;
  --wa: #128c7e;
  --r: 14px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(14, 17, 22, .05), 0 4px 14px -6px rgba(14, 17, 22, .1);
  --shadow-lg: 0 16px 36px -14px rgba(14, 17, 22, .24);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Archivo", "Inter", ui-sans-serif, system-ui, sans-serif;
  --solid: #0e1116;
  --solid-ink: #fff;
  --solid-accent: var(--accent);
  --plate-1: #f8f9fa;
  --plate-2: #eceef1;
  --eyebrow: var(--accent-on-light);
  --accent-on-dark: var(--accent);
  --accent-on-light: #4a6b00;
  --accent-text: var(--accent-on-light);
  --on-dark: #e8ebf0;
  --on-dark-muted: #8b93a1;
  --field: #fff;
  color-scheme: light;
}
/* dark: the visitor's choice (the switch in the top bar), or their device's setting */
:root[data-theme="dark"] {
  --ink: #e8ebf0;
  --ink-2: #c9ced7;
  --muted: #949cab;
  --line: #262b33;
  --bg: #0b0d10;
  --card: #13161b;
  --dark: #07090b;
  --dark-2: #111418;
  --dark-3: #1a1e24;
  --solid: #e8ebf0;
  --solid-ink: #fff;
  --solid-accent: var(--accent);
  --plate-1: #e9ebee;
  --plate-2: #d5d9df;
  --eyebrow: var(--accent-on-dark);
  --accent-text: var(--accent-on-dark);
  --ok: #4ade80;
  --bad: #f87171;
  --warn: #fbbf24;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 18px rgba(0, 0, 0, .3);
  --shadow-lg: 0 18px 40px -12px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
:root[data-theme="dark"] .card, :root[data-theme="dark"] .bento-tile:not(.big), :root[data-theme="dark"] .spot:not(.spot-dark),
:root[data-theme="dark"] .budgets a, :root[data-theme="dark"] .perks-row > div, :root[data-theme="dark"] .trust-row > div,
:root[data-theme="dark"] .buy, :root[data-theme="dark"] .tabs, :root[data-theme="dark"] .box, :root[data-theme="dark"] .summary,
:root[data-theme="dark"] .filters-box, :root[data-theme="dark"] .cart-line { border: 1px solid var(--line); }
:root[data-theme="dark"] .search { background: var(--dark-3); color: var(--ink); }
:root[data-theme="dark"] .search kbd { border-color: var(--ink-2); }
:root[data-theme="dark"] .suggest { background: var(--card); border: 1px solid var(--line); }
@media (hover: hover) and (pointer: fine) { :root[data-theme="dark"] .suggest-item:hover, :root[data-theme="dark"] .suggest-item.on, :root[data-theme="dark"] .suggest-cats a { background: var(--dark-3); } }
:root[data-theme="dark"] .save { background: rgba(74, 222, 128, .16); }
:root[data-theme="dark"] .warranty-card { background: color-mix(in srgb, var(--accent) 8%, var(--card)); }
:root[data-theme="dark"] .highlights li, :root[data-theme="dark"] .buy-price, :root[data-theme="dark"] .specs tr:nth-child(odd) { background: var(--dark-3); }
:root[data-theme="dark"] .sold-out-box, :root[data-theme="dark"] .alert { background: rgba(248, 113, 113, .14); color: #fca5a5; }
:root[data-theme="dark"] .btn-wa { background: transparent; color: #3ddc97; border-color: rgba(61, 220, 151, .4); }
:root[data-theme="dark"] .section-head h2 em { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 45%, transparent) 62%); }
:root[data-theme="dark"] .understood .i { color: var(--accent-ink); background: var(--accent); }
:root[data-theme="dark"] .drawer-link.hot { color: var(--accent-on-dark); }
:root[data-theme="dark"] .stock-in, :root[data-theme="dark"] .card-save { color: #4ade80; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
/* controls don't select on long-press and fire taps without the double-tap wait; content text stays selectable */
button, .btn, .chip, .tabbar a, .nav-link, .add-mini, .wish { touch-action: manipulation; -webkit-user-select: none; user-select: none; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; font-size: .9375rem; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-stretch: 88%; line-height: 1.05; letter-spacing: -.015em; margin: 0; font-weight: 800; }
h1 { font-size: clamp(28px, 4.4vw, 44px); }
h2 { font-size: clamp(24px, 3.2vw, 34px); }
h2 em, h1 em { font-style: normal; color: var(--accent-text); }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
.i { flex: none; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; border-radius: 12px; padding: 11px 18px; font-weight: 700; font-size: 15px; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, filter .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.btn.block { display: flex; width: 100%; }
.btn.grow, .grow { flex: 1; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .btn-accent:hover { filter: brightness(1.05); } }
.btn-dark { background: var(--solid); color: var(--solid-ink); }
@media (hover: hover) and (pointer: fine) { .btn-dark:hover { background: var(--dark-3); } }
.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { border-color: var(--ink); } }
.btn-glass { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
@media (hover: hover) and (pointer: fine) { .btn-glass:hover { background: rgba(255, 255, 255, .08); } }
.btn-wa { background: var(--card); color: var(--wa); border: 1.5px solid color-mix(in srgb, var(--wa) 35%, transparent); }
@media (hover: hover) and (pointer: fine) { .btn-wa:hover { background: #effaf7; } }
.icon-btn { padding: 0; width: 50px; height: 50px; flex: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink-2); font-size: 13px; display: inline-flex; align-items: center; gap: 4px; text-decoration: underline; text-underline-offset: 2px; }
.link.danger { color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .link.danger:hover { color: var(--bad); } }

/* ------------------------------------------------------------------ header */
.preview-bar { background: var(--solid); color: #fff; font-size: 13px; text-align: center; padding: 6px 16px; }
.utility { background: var(--dark); color: var(--on-dark-muted); font-size: 12.5px; }
.utility-row { display: flex; justify-content: space-between; gap: 16px; min-height: 34px; align-items: center; }
.utility-left, .utility-right { display: flex; align-items: center; gap: 18px; min-width: 0; }
.utility span, .utility a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .utility a:hover { color: #fff; } }
.utility-left span { overflow: hidden; text-overflow: ellipsis; }
.top { background: var(--dark); color: #fff; position: sticky; top: 0; z-index: 40; }
.top.scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .35); }
.top-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; min-height: 76px; }
.menu-btn { display: none; background: rgba(255, 255, 255, .08); border: 0; width: 44px; height: 44px; border-radius: 12px; place-items: center; cursor: pointer; color: #fff; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-stretch: 90%; font-weight: 800; letter-spacing: -.015em; font-size: 21px; }
.brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 11px; background: #fff; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 900; font-size: 16px; font-family: var(--display); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.brand-mark.xl { width: 76px; height: 76px; font-size: 28px; border-radius: 22px; }
.search { position: relative; display: flex; align-items: center; gap: 10px; background: var(--card); color: var(--ink); border-radius: 14px; padding: 0 6px 0 16px; height: 50px; width: 100%; max-width: 720px; justify-self: center; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; }
.search:focus-within { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 5px color-mix(in srgb, var(--accent) 25%, transparent); }
.search > .i { color: var(--muted); }
.search input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; height: 100%; font-size: 15px; }
.search kbd { font: 600 12px var(--font); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
.search-go { width: 38px; height: 38px; border-radius: 10px; border: 0; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.search.inline { margin: 8px auto 16px; max-width: 460px; border: 1px solid var(--line); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--card); color: var(--ink); border-radius: 16px; box-shadow: 0 24px 60px -10px rgba(0, 0, 0, .35); overflow: hidden; z-index: 60; }
.suggest-sec { padding: 10px; }
.suggest-sec + .suggest-sec { border-top: 1px solid var(--line); }
.suggest-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 4px 8px 6px; display: flex; justify-content: space-between; }
.suggest-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; }
@media (hover: hover) and (pointer: fine) { .suggest-item:hover, .suggest-item.on { background: var(--bg); } }
.suggest-item img, .suggest-item .ph { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: var(--plate-2); mix-blend-mode: multiply; }
.suggest-item b { font-size: 14px; font-weight: 600; display: block; line-height: 1.3; }
.suggest-item small { font-size: 12px; color: var(--muted); }
.suggest-item .pr { text-align: right; font-weight: 800; font-size: 14px; white-space: nowrap; }
.suggest-item .pr s { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.suggest-item.out { opacity: .55; }
.suggest-cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 8px 4px; }
.suggest-cats a { background: var(--bg); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.suggest-all { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; background: var(--dark); color: #fff; font-weight: 700; font-size: 14px; }
.suggest-all small { color: var(--accent-on-dark); font-weight: 600; }
.suggest-empty { padding: 18px; color: var(--muted); font-size: 14px; }
.top-actions { display: flex; align-items: center; gap: 4px; }
.top-link { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; font-size: 14px; font-weight: 700; color: #fff; }
.top-link span { display: grid; line-height: 1.15; }
.top-link small { font-size: 11px; font-weight: 500; color: var(--on-dark-muted); }
.top-link .i { color: var(--accent-on-dark); }
@media (hover: hover) and (pointer: fine) { .top-link:hover { background: rgba(255, 255, 255, .06); } }
.cart-link { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); margin-left: 6px; box-shadow: 0 6px 18px -6px var(--glow); }
@media (hover: hover) and (pointer: fine) { .cart-link:hover { filter: brightness(1.05); } }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 11px; background: #fff; color: #000; font-size: 12px; font-weight: 800; display: grid; place-items: center; padding: 0 6px; box-shadow: 0 0 0 2px var(--dark); }
.cart-count.bump, [data-cart-count].bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.15); } }
.nav { background: var(--dark-2); border-top: 1px solid rgba(255, 255, 255, .06); }
.nav-row { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 6px; padding: 13px 13px; font-size: 14px; font-weight: 600; color: var(--on-dark); white-space: nowrap; border-bottom: 2px solid transparent; }
@media (hover: hover) and (pointer: fine) { .nav-link:hover, .nav-item:hover > .nav-link { color: #fff; border-bottom-color: var(--accent); } }
.nav-all { background: var(--accent); color: var(--accent-ink) !important; border-radius: 10px; padding: 8px 14px; margin-right: 8px; border: 0 !important; }
.nav-hot { color: var(--accent-on-dark) !important; margin-left: auto; }
.mega { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--card); color: var(--ink); border-radius: 0 0 16px 16px; box-shadow: var(--shadow-lg); padding: 10px; z-index: 50; }
.mega a { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .mega a:hover { background: var(--bg); } }
.mega-all-link { font-weight: 700 !important; border-top: 1px solid var(--line); margin-top: 6px; }
.mega-all { width: min(900px, 90vw); padding: 22px; }
.mega-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 20px; }
.mega-col { display: grid; align-content: start; }
.mega-col a { padding: 6px 10px; }
.mega-head { font-family: var(--display); font-stretch: 90%; font-weight: 800 !important; font-size: 16px !important; }
@media (hover: hover) and (min-width: 1001px) { .nav-item:hover .mega, .nav-item:focus-within .mega { display: block; } }
.ticker { background: var(--accent); color: var(--accent-ink); overflow: hidden; font-size: 13px; font-weight: 700; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 42px; padding: 9px 0; animation: marquee 50s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 7px; }
@media (hover: hover) and (pointer: fine) { .ticker:hover .ticker-track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ home */
.hero-grid { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 16px; padding-top: 20px; }
.hero { position: relative; background: var(--dark); border-radius: 24px; overflow: hidden; min-height: 420px; box-shadow: var(--shadow-lg); }
.hero-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; display: block; min-height: 420px; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-text { position: absolute; inset: 0; padding: clamp(24px, 4vw, 52px); color: #fff; background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .35) 55%, transparent); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.hero-text h1 { font-size: clamp(30px, 4.8vw, 58px); font-weight: 900; font-stretch: 82%; max-width: 13ch; text-transform: none; }
.hero-text p { margin: 0; max-width: 42ch; color: var(--on-dark); font-size: 16px; }
.hero-nav { position: absolute; bottom: 18px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .35); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.hero-nav.prev { right: 70px; }
.hero-nav.next { right: 20px; }
.hero-dots { position: absolute; bottom: 34px; left: clamp(24px, 4vw, 52px); display: flex; gap: 6px; }
.hero-dots button { width: 34px; height: 4px; border-radius: 2px; border: 0; background: rgba(255, 255, 255, .3); padding: 0; cursor: pointer; overflow: hidden; }
.hero-dots button i { display: block; height: 100%; width: 0; background: var(--accent); }
.hero-dots button.on i { animation: fill 6s linear forwards; }
@keyframes fill { to { width: 100%; } }
.hero-plain { background: var(--dark); color: #fff; display: flex; align-items: center; }
.hero-plain-in { padding: clamp(28px, 5vw, 60px); }
.hero-plain h1 { font-size: clamp(32px, 5vw, 62px); font-weight: 900; font-stretch: 80%; max-width: 15ch; }
.lead { color: var(--on-dark); font-size: 17px; max-width: 46ch; margin: 16px 0 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.side-tile { position: relative; border-radius: 22px; overflow: hidden; background: var(--dark); min-height: 200px; }
.side-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
@media (hover: hover) and (pointer: fine) { .side-tile:hover img { transform: scale(1.04); } }
.side-text { position: absolute; inset: auto 0 0 0; padding: 18px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); color: #fff; display: grid; gap: 2px; }
.side-text b { font-family: var(--display); font-size: 22px; font-stretch: 85%; }
.side-text small { color: var(--on-dark); }
.side-text em { font-style: normal; color: var(--accent-on-dark); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
.spot { position: relative; border-radius: 22px; overflow: hidden; background: var(--card); padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr) 42%; gap: 12px; min-height: 200px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .2s; }
@media (hover: hover) and (pointer: fine) { .spot:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); } }
.spot-info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.spot-pic { position: relative; display: grid; place-items: center; border-radius: 18px; background: var(--plate-1); }
.spot-pic img { width: 92%; height: auto; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s; }
@media (hover: hover) and (pointer: fine) { .spot:hover .spot-pic img { transform: scale(1.06) rotate(-2deg); } }
.spot-dark { background: var(--dark-2); color: #fff; }
.spot-kind { display: inline-flex; align-items: center; gap: 5px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.spot-name { font-family: var(--display); font-stretch: 88%; font-weight: 800; font-size: 20px; line-height: 1.1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.spot-price { display: grid; line-height: 1.15; }
.spot-price b { font-size: 22px; font-weight: 900; font-family: var(--display); }
.spot-price s { font-size: 13px; opacity: .6; }
.spot-off { position: absolute; top: 8px; right: 8px; font-family: var(--display); font-weight: 900; font-size: 15px; background: var(--bad); color: #fff; border-radius: 10px; padding: 4px 9px; }
.spot-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 14px; border-bottom: 2px solid var(--accent); }
.perks-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.perks-row > div { display: flex; gap: 12px; align-items: center; background: var(--card); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); }
.perks-row .i { color: var(--accent-text); background: color-mix(in srgb, var(--accent) 16%, #fff); padding: 9px; width: 42px; height: 42px; border-radius: 12px; }
.perks-row span { display: grid; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.perks-row b { color: var(--ink); font-size: 14px; }
.section { padding-top: 48px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--eyebrow); }
.eyebrow.light { color: var(--accent-on-dark); }
.section-head h2 em { color: inherit; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 70%, transparent) 62%); padding: 0 2px; }
.section-sub { margin: 6px 0 0; color: var(--muted); }
.section-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; padding: 8px 4px; }
@media (hover: hover) and (pointer: fine) { .more:hover { text-decoration: underline; text-underline-offset: 3px; } }
.arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; cursor: pointer; transition: all .15s; }
@media (hover: hover) and (pointer: fine) { .arrow:hover { background: var(--solid); color: var(--solid-ink); border-color: var(--ink); } }
.bento { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 150px; gap: 14px; }
.bento-tile { position: relative; background: var(--card); border-radius: 20px; padding: 16px; overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 1fr) 46%; gap: 10px; align-items: stretch; transition: transform .15s, box-shadow .2s; }
@media (hover: hover) and (pointer: fine) { .bento-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); } }
.bento-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bento-text b { font-family: var(--display); font-stretch: 88%; font-size: 19px; line-height: 1.05; }
.bento-text small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.bento-pic { display: grid; place-items: center; border-radius: 14px; background: var(--plate-1); color: var(--muted); overflow: hidden; }
.bento-pic img { width: 90%; height: 90%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s; }
@media (hover: hover) and (pointer: fine) { .bento-tile:hover .bento-pic img { transform: scale(1.08) rotate(-2deg); } }
.bento-tile.big { grid-column: span 2; grid-row: span 2; background: var(--dark-2); color: #fff; padding: 26px; grid-template-columns: minmax(0, .9fr) 1.1fr; gap: 20px; }
.bento-tile.big .bento-text { justify-content: center; }
.bento-tile.big .bento-text b { font-size: clamp(30px, 3.2vw, 42px); }
.bento-tile.big .bento-text small { color: var(--on-dark-muted); font-size: 15px; }
.bento-tile.big .bento-pic { border-radius: 20px; }
.bento-cta { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 14px; padding: 10px 14px; border-radius: 12px; align-self: flex-start; }
.ask { margin-top: 56px; background: var(--dark); color: #fff; overflow: hidden; position: relative; }
.ask::before { display: none; }
.ask-in { position: relative; text-align: center; padding-top: 64px; padding-bottom: 64px; display: grid; justify-items: center; gap: 12px; }
.ask h2 { font-size: clamp(30px, 5vw, 56px); font-stretch: 80%; font-weight: 900; }
.ask h2 em { color: var(--accent-on-dark); }
.ask-sub { color: var(--on-dark-muted); max-width: 56ch; margin: 0 0 10px; }
.ask-box { display: flex; align-items: center; gap: 10px; width: min(760px, 100%); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 8px 8px 8px 20px; backdrop-filter: blur(10px); box-shadow: 0 0 0 6px rgba(255, 255, 255, .03); }
.ask-box:focus-within { border-color: var(--accent); }
.ask-box input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; font-size: 17px; height: 48px; }
.ask-box input::placeholder { color: var(--on-dark-muted); }
.ask-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; margin-top: 6px; }
.ask-chips a { border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); padding: 8px 14px; border-radius: 999px; font-size: 13.5px; color: #dcdce4; }
@media (hover: hover) and (pointer: fine) { .ask-chips a:hover { border-color: var(--accent); color: #fff; } }
.budgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.budgets a { background: var(--card); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); display: grid; gap: 2px; position: relative; overflow: hidden; transition: transform .15s, box-shadow .2s; }
.budgets a::after { content: "→"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; font-weight: 800; color: var(--muted); transition: all .2s; }
@media (hover: hover) and (pointer: fine) { .budgets a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); } }
@media (hover: hover) and (pointer: fine) { .budgets a:hover::after { color: var(--ink); right: 14px; } }
.budgets span { font-family: var(--display); font-stretch: 88%; font-weight: 800; font-size: 22px; }
.budgets small { color: var(--muted); font-weight: 600; }
.brands-band { padding-bottom: 6px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: inline-flex; gap: 12px; animation: marquee 40s linear infinite; padding: 4px 0 8px; }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused; } }
.marquee-track a { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 26px; font-family: var(--display); font-stretch: 85%; font-weight: 800; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .marquee-track a:hover { border-color: var(--ink); color: var(--ink); } }
.why { margin-top: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; background: var(--dark-2); color: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 52px); }
.why-text { display: grid; gap: 14px; align-content: center; justify-items: start; }
.why-text h2 em { color: var(--accent-on-dark); }
.why-text p { margin: 0; color: var(--on-dark); max-width: 52ch; }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.why-stats div { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 20px; display: grid; gap: 4px; align-content: end; }
.why-stats b { font-family: var(--display); font-stretch: 80%; font-weight: 900; font-size: clamp(32px, 4vw, 48px); color: var(--accent-on-dark); line-height: 1; }
.why-stats span { color: var(--on-dark-muted); font-size: 14px; }

/* ------------------------------------------------------------------ product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; margin: -4px -4px 0; scrollbar-width: none; scroll-behavior: smooth; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 64px) / 5); } }
.card { background: var(--card); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .2s ease; position: relative; }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); } }
.card-img { position: relative; aspect-ratio: 1; background: var(--plate-1); display: grid; place-items: center; overflow: hidden; }
.card-img img { grid-area: 1 / 1; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease, opacity .3s ease; }
.card-img .ph2 { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .card:hover .card-img .ph1 { transform: scale(1.05); } }
@media (hover: hover) and (pointer: fine) { .card:hover .card-img:has(.ph2) .ph1 { opacity: 0; } }
@media (hover: hover) and (pointer: fine) { .card:hover .card-img .ph2 { opacity: 1; transform: scale(1.03); } }
.card.is-out .card-img img { filter: grayscale(.8); opacity: .6; }
.no-photo { color: var(--on-dark-muted); display: grid; place-items: center; width: 100%; height: 100%; }
.no-photo.big { min-height: 360px; }
.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.badges.lg { top: 16px; left: 16px; }
.badge-off, .badge-pick, .badge-out, .badge-warranty { font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 8px; display: inline-flex; align-items: center; gap: 4px; }
.badge-off { background: var(--bad); color: #fff; }
.badge-cond { font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 8px; background: var(--ink-2, #333); color: #fff; }
.badge-refurbished { background: #0369a1; } .badge-used { background: #475569; } .badge-open_box { background: #b45309; }
.variants { display: grid; gap: 8px; margin: 14px 0; } .variants h3 { font-size: 14px; margin: 0; }
.variant { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line, #ddd); border-radius: 12px; text-decoration: none; color: inherit; }
.variant.current { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; } .variant.off { opacity: .55; }
.condition-box { margin: 12px 0; padding: 12px; border-radius: 12px; background: var(--surface-2, rgba(127,127,127,.08)); font-size: 14px; }
.badges.lg .badge-off { font-size: 15px; padding: 6px 12px; }
.badge-pick { background: var(--solid); color: var(--solid-accent); }
.badge-out { position: absolute; bottom: 10px; right: 10px; background: var(--solid); color: var(--solid-ink); }
.badge-warranty { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .94); color: #353b45; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); font-weight: 700; }
.card-body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-brand { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.card-title { font-family: var(--font); font-stretch: 100%; font-size: 14.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; letter-spacing: 0; }
@media (hover: hover) and (pointer: fine) { .card-title a:hover { text-decoration: underline; text-underline-offset: 2px; } }
.card-stock { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.card-stock i, .stockline i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 18%, transparent); }
.stock-in { color: var(--ok); }
.stock-few { color: var(--warn); }
.stock-few i { background: var(--warn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 18%, transparent); }
.stock-out { color: var(--muted); }
.stock-out i { background: #a1a7b0; box-shadow: none; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.price { display: grid; line-height: 1.15; }
.price strong { font-family: var(--display); font-stretch: 92%; font-size: 21px; font-weight: 800; letter-spacing: -.015em; }
.price s { font-size: 12.5px; color: var(--muted); }
.card-save { font-size: 12px; font-weight: 700; color: var(--ok); }
.add-mini { height: 40px; border-radius: 12px; border: 0; background: var(--solid); color: var(--solid-ink); display: inline-flex; align-items: center; gap: 6px; padding: 0 13px; cursor: pointer; transition: background .15s, transform .12s, color .15s; flex: none; font-weight: 700; font-size: 13px; }
@media (hover: hover) and (pointer: fine) { .add-mini:hover { background: var(--accent); color: var(--accent-ink); } }
.add-mini:active { transform: scale(.94); }
.add-mini.done { background: var(--ok); color: #fff; }

/* wishlist: the heart on cards and product pages */
.wish { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .1); transition: transform .15s, color .15s; }
@media (hover: hover) and (pointer: fine) { .wish:hover { transform: scale(1.1); color: var(--bad); } }
.wish.on, .wish-btn.on { color: var(--bad); }
.wish.on .i, .wish-btn.on .i { fill: currentColor; }
.wish.pop .i, .wish-btn.pop .i { animation: heart .4s ease; }
@keyframes heart { 40% { transform: scale(1.15); } }
.wish-link { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; font-size: 14px; font-weight: 700; color: #fff; }
.wish-link span { display: grid; line-height: 1.15; }
.wish-link small { font-size: 11px; font-weight: 500; color: var(--on-dark-muted); }
.wish-link .i { color: #f87171; }
@media (hover: hover) and (pointer: fine) { .wish-link:hover { background: rgba(255, 255, 255, .06); } }
.wish-link i, .tabbar i { font-style: normal; }
.wish-link i { position: absolute; top: 2px; left: 26px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }
.wish-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
/* the dark/light switch */
.theme-toggle { background: none; border: 0; color: inherit; cursor: pointer; display: inline-flex; align-items: center; padding: 0; font: inherit; }
.theme-toggle span { display: inline-flex; align-items: center; gap: 6px; }
.theme-toggle em { font-style: normal; }
@media (hover: hover) and (pointer: fine) { .theme-toggle:hover { color: #fff; } }
.theme-toggle .to-light, :root[data-theme="dark"] .theme-toggle .to-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .to-light { display: inline-flex; }
.drawer-theme { color: var(--muted); }

/* list view of the results */
.listing-grid.as-list { grid-template-columns: 1fr; }
.listing-grid.as-list .card { flex-direction: row; }
.listing-grid.as-list .card-img { width: 190px; flex: none; }
.listing-grid.as-list .card-body { padding: 18px 20px; }
.listing-grid.as-list .card-title { font-size: 16px; -webkit-line-clamp: 2; min-height: 0; }
.listing-grid.as-list .card-foot { justify-content: flex-start; gap: 24px; }

/* ------------------------------------------------------------------ page heads, crumbs, chips */
.page-head { padding-top: 22px; padding-bottom: 14px; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--ink); text-decoration: underline; } }
.crumbs span { color: var(--ink-2); }
.crumbs.light { color: var(--on-dark-muted); }
@media (hover: hover) and (pointer: fine) { .crumbs.light a:hover { color: #fff; } }
.title-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 2px; scrollbar-width: none; }
.chip { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .16); padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .chip:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); } }

/* ------------------------------------------------------------------ listing */
.list-hero { background: var(--dark-2); color: #fff; padding-bottom: 20px; overflow: hidden; }
.list-hero-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; padding-bottom: 8px; min-height: 160px; }
.list-hero h1 { font-size: clamp(30px, 4.6vw, 52px); font-stretch: 82%; font-weight: 900; }
.list-count { margin: 8px 0 0; color: var(--on-dark-muted); }
.list-cover { width: 170px; height: 150px; object-fit: contain; padding: 12px; background: var(--plate-1); border-radius: 22px; box-shadow: var(--shadow-lg); }
.understood { display: flex; align-items: center; gap: 10px; margin-top: 16px; background: var(--card); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); font-size: 14px; }
.understood .i { color: var(--accent-text); background: color-mix(in srgb, var(--accent) 16%, #fff); padding: 6px; width: 30px; height: 30px; border-radius: 9px; }
.listing { display: grid; grid-template-columns: 270px 1fr; gap: 24px; align-items: start; padding-top: 20px; padding-bottom: 40px; }
.filters-box { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); position: sticky; top: 140px; }
.filters-box summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 16px 18px; font-weight: 800; font-family: var(--display); font-size: 18px; font-stretch: 90%; }
.filters-box summary::-webkit-details-marker { display: none; }
.filters-box .dot { width: 8px; height: 8px; border-radius: 4px; background: var(--accent); box-shadow: 0 0 0 2px var(--ink); }
.filters-in { padding: 0 18px 18px; display: grid; gap: 10px; max-height: calc(100vh - 240px); overflow: auto; }
fieldset { border: 0; border-top: 1px solid var(--line); padding: 14px 0 0; margin: 4px 0 0; display: grid; gap: 7px; }
legend { font-weight: 800; font-size: 12px; padding: 0; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.check { display: flex; align-items: center; gap: 9px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.check .n { margin-left: auto; color: var(--muted); font-size: 12px; background: var(--bg); border-radius: 999px; padding: 1px 8px; }
.switch { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch i { width: 38px; height: 22px; border-radius: 11px; background: var(--line); position: relative; transition: background .2s; flex: none; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: left .2s; }
.switch input:checked + i { background: var(--solid); }
.switch input:checked + i::after { left: 19px; background: var(--accent); }
.switch input:focus-visible + i { outline: 3px solid var(--accent); }
.price-range { display: flex; align-items: center; gap: 6px; }
.price-range input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; background: var(--bg); }
.filters-actions { display: flex; gap: 8px; padding-top: 8px; }
.filters-actions .btn { flex: 1; padding: 10px 12px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.active-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.active-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--solid); color: var(--solid-ink); border-radius: 999px; padding: 6px 10px 6px 13px; font-size: 13px; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .active-chip:hover { background: var(--bad); } }
.results-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort select { border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 9px 14px; color: var(--ink); font-weight: 600; }
.view-toggle { display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.view-toggle button { width: 36px; height: 34px; border: 0; background: none; border-radius: 9px; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.view-toggle button.on { background: var(--solid); color: var(--solid-ink); }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 30px 0 0; }
.empty { text-align: center; padding: 56px 16px; display: grid; justify-items: center; gap: 10px; color: var(--muted); }
.empty h1, .empty h2 { color: var(--ink); }
.empty.big { padding: 80px 16px; }

/* ------------------------------------------------------------------ product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.gallery { position: sticky; top: 140px; display: grid; grid-template-columns: 84px 1fr; gap: 12px; }
.gallery:not(:has(.thumbs)) { grid-template-columns: 1fr; }
.gallery-main { position: relative; background: var(--plate-1); border-radius: 24px; aspect-ratio: 1; display: grid; place-items: center; box-shadow: var(--shadow); overflow: hidden; cursor: zoom-in; }
.gallery-main img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; transition: transform .15s ease-out; }
.gallery-main.zooming img { transform: scale(2); }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; display: inline-flex; gap: 5px; align-items: center; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .9); border-radius: 999px; padding: 5px 10px; color: var(--muted); }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumb { width: 84px; height: 84px; border-radius: 14px; border: 2px solid transparent; background: var(--plate-1); padding: 6px; cursor: pointer; box-shadow: var(--shadow); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.on { border-color: var(--accent); }
.buy { background: var(--card); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.buy-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.buy-brand { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--bg); padding: 5px 10px; border-radius: 8px; }
@media (hover: hover) and (pointer: fine) { .buy-brand:hover { background: var(--accent); } }
.sku { font-size: 12px; color: var(--muted); }
.buy h1 { font-size: clamp(26px, 3.2vw, 38px); font-stretch: 86%; }
.buy-summary { margin: 0; color: var(--ink-2); font-size: 16px; }
.buy-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 14px 16px; background: var(--bg); border-radius: 16px; }
.buy-price strong { font-family: var(--display); font-stretch: 90%; font-size: 40px; font-weight: 900; letter-spacing: -.015em; line-height: 1; }
.buy-price s { color: var(--muted); font-size: 17px; }
.save { background: #dcfce7; color: var(--ok); font-weight: 800; font-size: 13px; padding: 5px 10px; border-radius: 999px; }
.tax-note { margin: -6px 0 0; font-size: 13px; color: var(--muted); }
.stockline { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.highlights li { display: flex; gap: 8px; align-items: flex-start; background: var(--bg); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; line-height: 1.35; }
.highlights .i { color: var(--ok); margin-top: 2px; }
.highlights b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.warranty-card { display: flex; gap: 12px; align-items: center; border: 1.5px dashed color-mix(in srgb, var(--accent) 70%, var(--accent-text)); background: color-mix(in srgb, var(--accent) 9%, #fff); border-radius: 16px; padding: 12px 14px; }
.warranty-icon { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.warranty-card span:last-child { display: grid; }
.warranty-card small { color: var(--ink-2); font-size: 12.5px; }
.buy-actions { display: flex; gap: 10px; }
.buy-row { display: flex; gap: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--card); height: 54px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 14px; }
@media (hover: hover) and (pointer: fine) { .qty button:hover:not(:disabled) { background: var(--bg); } }
.qty button:disabled { opacity: .3; cursor: default; }
.qty input { width: 40px; text-align: center; border: 0; font-weight: 800; font-size: 17px; -moz-appearance: textfield; appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm { height: 38px; border-radius: 11px; }
.qty.sm button { width: 34px; }
.qty.sm span { min-width: 26px; text-align: center; font-weight: 800; }
.sold-out-box { background: #fee2e2; color: #991b1b; border-radius: 14px; padding: 14px; font-size: 14px; }
.deliver { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.deliver p { margin: 0; display: flex; align-items: center; gap: 8px; }
.deliver-row { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.deliver-row label { display: flex; align-items: center; gap: 8px; }
.deliver select { border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; background: var(--bg); font-weight: 600; }
.deliver [data-deliver-out] { font-weight: 600; color: var(--ink); }
.tabs { margin-top: 28px; background: var(--card); border-radius: 24px; box-shadow: var(--shadow); padding: 8px 8px 0; }
.tab-bar { display: flex; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 8px; overflow-x: auto; }
.tab-bar button { border: 0; background: none; padding: 14px 16px; font-weight: 700; font-size: 15px; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab-bar button.on { color: var(--ink); border-bottom-color: var(--accent); }
.tab-panel { padding: 22px 24px 26px; max-width: 900px; }
.prose { color: var(--ink-2); font-size: 15.5px; }
.prose h2 { font-size: 20px; margin: 18px 0 6px; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0 0 12px; padding-left: 20px; }
.specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.specs tr:nth-child(odd) { background: var(--bg); }
.specs th, .specs td { text-align: left; padding: 12px 14px; vertical-align: top; }
.specs th { color: var(--muted); font-weight: 600; width: 38%; }
.specs tr th:first-child { border-radius: 10px 0 0 10px; }
.specs tr td:last-child { border-radius: 0 10px 10px 0; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.trust-row > div { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); }
.trust-row .i { color: var(--accent-text); background: color-mix(in srgb, var(--accent) 16%, #fff); padding: 9px; width: 42px; height: 42px; border-radius: 12px; }
.trust-row span { display: grid; font-size: 12.5px; color: var(--muted); }
.trust-row b { color: var(--ink); font-size: 14px; }
.sticky-buy { display: none; }

/* ------------------------------------------------------------------ cart and checkout */
.cart-layout, .checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; padding-bottom: 48px; }
.cart-lines { display: grid; gap: 12px; }
.cart-line { background: var(--card); border-radius: var(--r); padding: 14px; display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: start; box-shadow: var(--shadow); }
.cart-line.has-problem { box-shadow: inset 0 0 0 2px #f6c3c3, var(--shadow); }
.cart-img { width: 96px; height: 96px; border-radius: 14px; background: var(--plate-1); display: grid; place-items: center; overflow: hidden; color: var(--muted); }
.cart-img img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.cart-info { display: grid; gap: 4px; }
.cart-name { font-weight: 700; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .cart-name:hover { text-decoration: underline; } }
.cart-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.cart-total { font-family: var(--display); font-weight: 800; font-size: 19px; white-space: nowrap; }
.problem { color: var(--bad); font-size: 13px; font-weight: 650; display: flex; gap: 4px; align-items: center; }
.summary { background: var(--card); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 11px; }
.summary.sticky { position: sticky; top: 140px; }
.summary h2 { font-size: 22px; margin-bottom: 4px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.sum-row.total { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 2px; font-size: 20px; font-weight: 800; font-family: var(--display); }
.free-bar { height: 8px; background: var(--bg); border-radius: 4px; overflow: hidden; }
.free-bar div { height: 100%; background: var(--accent); border-radius: 4px; max-width: 100%; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 10px; }
.mini-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.mini-img { position: relative; width: 56px; height: 56px; background: var(--plate-1); border-radius: 12px; }
.mini-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.mini-img i { position: absolute; top: -6px; right: -6px; font-style: normal; background: var(--solid); color: var(--solid-ink); font-size: 11px; font-weight: 800; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }
.mini-name { line-height: 1.3; }
.checkout-main { display: grid; gap: 16px; }
.box { background: var(--card); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.box h2 { display: flex; align-items: center; gap: 10px; font-size: 21px; margin-bottom: 16px; }
.step { width: 30px; height: 30px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 15px; font-weight: 900; font-family: var(--display); }
.fields { display: grid; gap: 14px; }
.fields.two { grid-template-columns: 1fr 1fr; align-items: start; }
.field { display: grid; align-content: start; gap: 6px; font-size: 14px; font-weight: 650; color: var(--ink-2); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; font-size: 16px; color: var(--ink); background: var(--card); outline: 0; transition: border-color .15s, box-shadow .15s; font-weight: 400; }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); }
.field.bad input, .field.bad textarea { border-color: var(--bad); }
.pay-options { display: grid; gap: 10px; margin-bottom: 16px; }
.pay-option { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.pay-option:has(input:checked) { border-color: var(--ink); background: color-mix(in srgb, var(--accent) 10%, #fff); }
.pay-option.off { opacity: .5; cursor: not-allowed; }
.pay-option input { width: 20px; height: 20px; accent-color: var(--ink); }
.pay-option span:last-child { display: grid; }
.pay-option small { color: var(--muted); font-size: 13px; }
.pay-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 8px; align-items: flex-start; background: #fee2e2; color: #991b1b; border-radius: 14px; padding: 12px 14px; font-weight: 600; font-size: 14px; }

/* ------------------------------------------------------------------ order page */
.order-page { padding-top: 24px; padding-bottom: 48px; display: grid; gap: 18px; max-width: 1000px; }
.thanks { background: var(--card); border-radius: 28px; padding: 36px 24px; text-align: center; display: grid; justify-items: center; gap: 8px; box-shadow: var(--shadow); }
.thanks p { margin: 0; max-width: 56ch; }
.thanks-icon { width: 72px; height: 72px; border-radius: 36px; background: var(--ok); color: #fff; display: grid; place-items: center; margin-bottom: 6px; animation: pop .5s cubic-bezier(.22, 1, .36, 1); box-shadow: 0 12px 30px -8px rgba(15, 157, 88, .6); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.progress { list-style: none; margin: 0; padding: 24px; background: var(--card); border-radius: 24px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.progress li { display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 13px; color: var(--muted); position: relative; }
.progress li::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; }
.progress li:first-child::before { display: none; }
.progress li.done::before { background: var(--solid); }
.progress .dot { width: 32px; height: 32px; border-radius: 16px; background: var(--bg); border: 3px solid var(--line); display: grid; place-items: center; z-index: 1; color: #fff; }
.progress li.done .dot { background: var(--solid); border-color: var(--solid); color: var(--solid-ink); }
.progress li.current .dot { background: var(--accent); border-color: var(--ink); color: var(--ink); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 30%, transparent); }
.progress li.done { color: var(--ink); font-weight: 650; }
.order-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: start; }
.order-grid .box { display: grid; gap: 10px; }
.order-grid .box h2 { margin-bottom: 4px; }
.order-grid p { margin: 0; }
.bank { border: 2px solid var(--ink); }
.bank-details { white-space: pre-wrap; font-family: ui-monospace, Menlo, monospace; background: var(--bg); border-radius: 12px; padding: 14px; margin: 10px 0; font-size: 14px; user-select: all; }
.ship { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ship > div { display: flex; align-items: center; gap: 8px; }
.center-box { margin: 40px 0; display: grid; gap: 12px; justify-items: center; text-align: center; }
.center-box .fields { width: 100%; text-align: left; }
.round-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }

/* ------------------------------------------------------------------ footer, drawer, tab bar, toast */
.foot { background: var(--dark); color: var(--on-dark-muted); margin-top: 64px; font-size: 14px; }
.foot-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 36px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.foot-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); }
.foot-cta p { margin: 6px 0 0; max-width: 60ch; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; padding-top: 36px; padding-bottom: 28px; }
.foot-grid > div { display: grid; gap: 9px; align-content: start; }
.foot-grid h3 { color: #fff; font-size: 16px; margin-bottom: 4px; letter-spacing: .04em; }
.foot-grid a, .foot-grid span { display: flex; gap: 8px; align-items: center; }
@media (hover: hover) and (pointer: fine) { .foot-grid a:hover { color: var(--accent-on-dark); } }
.foot-brand { color: #fff; }
.foot-grid .brand-mark { display: grid; place-items: center; }
.foot .muted { color: var(--on-dark-muted); margin: 0; }
.social { display: flex; gap: 8px; margin-top: 6px; }
.social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .07); display: grid; place-items: center; }
@media (hover: hover) and (pointer: fine) { .social a:hover { background: var(--accent); color: var(--accent-ink) !important; } }
.foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px; padding-bottom: 26px; color: var(--on-dark-muted); font-size: 13px; }
.pay-badges { display: flex; gap: 14px; }
.pay-badges span { display: flex; gap: 6px; align-items: center; }
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .55); backdrop-filter: blur(2px); }
.drawer-panel { position: absolute; inset: 0 auto 0 0; width: min(340px, 86vw); background: var(--card); overflow-y: auto; padding-bottom: 24px; animation: slide .22s ease; }
@keyframes slide { from { transform: translateX(-100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: var(--dark); color: #fff; font-family: var(--display); font-weight: 800; font-size: 20px; position: sticky; top: 0; }
.drawer-head button { background: none; border: 0; color: #fff; cursor: pointer; }
.drawer-link, .drawer-group summary { display: flex; align-items: center; gap: 8px; justify-content: space-between; padding: 14px 18px; font-weight: 600; border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; }
.drawer-group summary::-webkit-details-marker { display: none; }
.drawer-group[open] summary .i { transform: rotate(180deg); }
.drawer-group a { display: block; padding: 11px 30px; font-size: 14px; border-bottom: 1px solid var(--bg); color: var(--ink-2); }
.drawer-link.strong { font-weight: 800; }
.drawer-link.hot { color: var(--accent-text); justify-content: flex-start; }
.drawer-foot { display: grid; padding: 14px 18px; gap: 12px; font-size: 14px; color: var(--muted); }
.drawer-foot a { display: flex; gap: 8px; align-items: center; }
.tabbar { display: none; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 29px; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(37, 211, 102, .6); z-index: 45; transition: transform .15s; }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { transform: scale(1.06); } }
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; background: var(--solid); color: var(--solid-ink); padding: 12px 14px 12px 18px; border-radius: 16px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-lg); z-index: 90; font-size: 14px; max-width: calc(100vw - 32px); animation: rise .25s ease; }
.toast a { background: var(--accent); color: var(--accent-ink); padding: 8px 13px; border-radius: 10px; font-weight: 800; white-space: nowrap; }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } }

/* ------------------------------------------------------------------ closed store */
body.closed { min-height: 100vh; display: grid; place-items: center; background: var(--dark); color: #fff; }
.closed-box { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 32px 16px; }
.closed-box img { border-radius: 18px; background: #fff; }
.closed-box h1 { font-size: clamp(32px, 6vw, 52px); font-stretch: 82%; }
.closed-box p { margin: 0; color: var(--on-dark-muted); font-size: 17px; }
.closed-box a:not(.btn) { color: #fff; text-decoration: underline; }

/* ------------------------------------------------------------------ tablets */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  /* the search gets its own row: squeezed between the brand and the actions it was ~70px wide */
  .top-row { grid-template-columns: auto 1fr auto; gap: 10px 16px; padding-top: 10px; padding-bottom: 12px; }
  .menu-btn { grid-column: 1; grid-row: 1; }
  .top-row .brand { grid-column: 2; grid-row: 1; justify-self: start; }
  .top-actions { grid-column: 3; grid-row: 1; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .listing { grid-template-columns: 1fr; gap: 12px; }
  .filters-box { position: static; }
  .filters-in { max-height: none; }
  .pdp { grid-template-columns: 1fr; gap: 16px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .cart-layout, .checkout { grid-template-columns: 1fr; }
  .summary.sticky { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .perks-row, .trust-row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .order-grid { grid-template-columns: 1fr; }
  .hide-md { display: none !important; }
}

/* ------------------------------------------------------------------ phones */
@media (max-width: 680px) {
  body { font-size: .875rem; padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .wrap { padding: 0 14px; }
  .utility-left { display: none; }
  .utility-row { justify-content: center; }
  .top-row { grid-template-columns: auto 1fr auto; gap: 10px; min-height: 60px; padding-top: 8px; padding-bottom: 10px; }
  .menu-btn { grid-column: 1; grid-row: 1; width: 40px; height: 40px; }
  .top-row .brand { grid-column: 2; grid-row: 1; justify-self: start; font-size: 18px; }
  .brand-mark, .brand img { width: 36px; height: 36px; }
  .top-actions { grid-column: 3; grid-row: 1; }
  .cart-link { width: 42px; height: 42px; }
  .search { grid-column: 1 / -1; grid-row: 2; height: 46px; max-width: none; }
  .hide-sm { display: none !important; }
  .ticker { font-size: 12px; }
  .hero, .hero-slide { min-height: 300px; border-radius: 18px; }
  .hero-text { background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .2) 70%); justify-content: flex-end; padding-bottom: 52px; }
  .hero-text h1 { font-size: 30px; }
  .hero-text p { font-size: 14px; }
  .hero-text .btn-lg { padding: 12px 18px; font-size: 15px; }
  .hero-nav { display: none; }
  .hero-dots { bottom: 22px; }
  .hero-side { grid-template-columns: 1fr 1fr; gap: 10px; }
  .spot { min-height: 0; padding: 12px; border-radius: 18px; grid-template-columns: 1fr; }
  .spot-pic { order: -1; aspect-ratio: 4 / 3; }
  .spot-name { font-size: 15px; -webkit-line-clamp: 2; }
  .spot-price b { font-size: 17px; }
  .spot-cta { display: none; }
  .perks-row, .trust-row { gap: 8px; }
  .perks-row > div, .trust-row > div { padding: 10px; gap: 8px; }
  .perks-row .i, .trust-row .i { width: 34px; height: 34px; padding: 7px; }
  .section { padding-top: 34px; }
  .section-head { margin-bottom: 12px; }
  .section-head .arrow { display: none; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 10px; }
  .bento-tile { padding: 12px; border-radius: 16px; grid-template-columns: 1fr; }
  .bento-pic { order: -1; aspect-ratio: 4 / 3; }
  .bento-tile.big { grid-row: auto; padding: 16px; grid-template-columns: 1fr 1fr; }
  .bento-tile.big .bento-pic { order: 0; }
  .bento-tile.big .bento-text b { font-size: 26px; }
  .bento-text b { font-size: 16px; }
  .ask-in { padding-top: 44px; padding-bottom: 44px; }
  .ask-box { flex-wrap: wrap; padding: 8px; }
  .ask-box input { font-size: 16px; }
  .ask-box .btn { width: 100%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rail { grid-auto-columns: 46%; gap: 10px; }
  .card-body { padding: 10px 11px 12px; }
  .card-title { font-size: 13px; }
  .price strong { font-size: 17px; }
  .add-mini { width: 38px; height: 38px; padding: 0; justify-content: center; }
  .wish { width: 34px; height: 34px; top: 8px; right: 8px; }
  .wish-link { padding: 8px; }
  .wish-link i { left: 20px; }
  .theme-toggle em { display: none; }
  .add-mini span { display: none; }
  .badge-warranty { display: none; }
  .budgets { grid-template-columns: 1fr 1fr; gap: 10px; }
  .budgets a { padding: 14px; }
  .budgets span { font-size: 18px; }
  .marquee-track a { padding: 12px 18px; font-size: 15px; }
  .why { border-radius: 22px; }
  .list-cover { display: none; }
  .list-hero-in { min-height: 0; }
  .results-tools { width: 100%; justify-content: space-between; }
  .listing-grid.as-list .card-img { width: 120px; }
  .gallery-main { border-radius: 18px; }
  .zoom-hint { display: none; }
  .buy { padding: 18px; border-radius: 20px; }
  .buy-price strong { font-size: 32px; }
  .highlights { grid-template-columns: 1fr; }
  .fields.two { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 76px 1fr; }
  .cart-img { width: 76px; height: 76px; }
  .cart-total { grid-column: 2; }
  .progress { grid-template-columns: 1fr; gap: 0; padding: 18px; }
  .progress li { grid-template-columns: 32px 1fr; justify-items: start; text-align: left; align-items: center; gap: 12px; padding: 6px 0; }
  .progress li::before { left: 14px; right: auto; width: 3px; height: 100%; top: -50%; }
  .tab-panel { padding: 18px 14px 20px; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 64px; z-index: 44; background: var(--card); padding: 10px 14px; box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
  .sticky-buy div { display: grid; line-height: 1.2; min-width: 0; }
  .sticky-buy small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy strong { font-family: var(--display); font-size: 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .foot-cta { padding-top: 28px; padding-bottom: 24px; }
  .foot-cta .btn { width: 100%; justify-content: center; }
  .foot-base { flex-direction: column; gap: 10px; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .wa-float { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(11, 13, 16, .86); backdrop-filter: blur(16px) saturate(160%); color: #c9c9d2; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .08); }
  .tabbar a, .tabbar button { display: grid; justify-items: center; gap: 2px; font-size: 10.5px; font-weight: 600; background: none; border: 0; color: inherit; cursor: pointer; position: relative; padding: 4px 0; }
  .tabbar .tab-wa { color: #25d366; }
  .tabbar i { position: absolute; top: 0; left: 56%; min-width: 18px; height: 18px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-style: normal; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-property: opacity, color, background-color, border-color !important; scroll-behavior: auto !important; } }

/* press feedback on touch (hover is mouse-only above) */
.card:active, .chip:active, .budgets a:active, .tabbar a:active, .tabbar button:active, .suggest-item:active { transform: scale(.98); transition: transform .1s ease-out; }
/* the drawer leaves the way it came in */
@keyframes slide-out { to { transform: translateX(-100%); } }
@keyframes fade-out { to { opacity: 0; } }
.drawer.closing { animation: fade-out .18s ease-out forwards; }
.drawer.closing .drawer-panel { animation: slide-out .18s cubic-bezier(.32, .72, 0, 1) forwards; }
@media (prefers-reduced-motion: reduce) {
  .drawer-panel, .drawer.closing .drawer-panel { animation: fade-out .15s ease-out reverse !important; }
  .drawer.closing .drawer-panel { animation: fade-out .15s ease-out forwards !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .tabbar { background: var(--dark); backdrop-filter: none; }
  .drawer { backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --line: #a3a9b3; --muted: #3d444f; }
  :root[data-theme="dark"] { --line: #4b525d; --muted: #c3c9d3; }
}
html { transition: background-color .2s ease; }
body { transition: background-color .2s ease, color .2s ease; }
