/* =====================================================================
   Catálogo Falcão — design system
   Grafite + vermelho Falcão, tipografia condensada (motorsport), códigos em mono.
   ===================================================================== */
:root {
  --ink: #111316; --ink-2: #1b1e23; --ink-3: #2c3037;
  --red: #d6181e; --red-hi: #ef2b31; --red-600: #b3121a; --red-50: #fdeeee;
  --bg: #f1f2f4; --surface: #fff; --sunk: #f5f6f7;
  --line: #e3e5e9; --line-2: #d2d5db;
  --text: #15171a; --text-2: #3b4048; --muted: #6a7079; --soft: #9ba1a9;
  --ok: #138046; --ok-bg: #e5f4ec; --wa: #1fa855; --wa-600: #178c46;
  --r-sm: 7px; --r: 10px; --r-md: 14px; --r-lg: 20px;
  --sh-1: 0 1px 2px rgba(17,19,22,.06);
  --sh-2: 0 1px 2px rgba(17,19,22,.05), 0 12px 28px -14px rgba(17,19,22,.28);
  --sh-3: 0 24px 64px -18px rgba(10,11,13,.45);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Saira Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --hdr-h: 77px;
  --ease: cubic-bezier(.2,.8,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body { margin: 0; font: 15px/1.5 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 4px; }
.ic { width: 20px; height: 20px; flex: none; }
.mono { font-family: var(--mono); font-feature-settings: 'zero'; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.eyebrow { font: 700 13px/1 var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--red); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow .ic { width: 16px; height: 16px; }

/* ------------------------------ botões ------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--r); border: 1px solid transparent;
  font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; transition: background .15s, border-color .15s, color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 18px; height: 18px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--red); }
.btn-line { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-600); }
.btn-block { width: 100%; }
.icon-btn { width: 40px; height: 40px; border-radius: var(--r); display: grid; place-items: center; color: var(--muted); transition: background .15s, color .15s; }
.icon-btn:hover { background: var(--sunk); color: var(--ink); }
.link-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.link-btn:hover { color: var(--red); }
.link-btn .ic { width: 15px; height: 15px; }

/* ------------------------------ topo ------------------------------ */
.demo-bar { background: #fff3d1; color: #5e4500; font-size: 13px; line-height: 1.45; text-align: center; padding: 8px 16px; border-bottom: 1px solid #f0dc9c; }
.demo-bar .ic { width: 15px; height: 15px; vertical-align: -3px; margin-right: 4px; }
.demo-bar code { background: rgba(0,0,0,.07); padding: 1px 5px; border-radius: 4px; font-family: var(--mono); font-size: 12px; }
.topbar { background: #0a0b0d; color: #a3a8b0; font-size: 12.5px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 16px; }
.topbar-links { display: flex; gap: 20px; align-items: center; }
.topbar-links > * { display: inline-flex; align-items: center; gap: 6px; }
.topbar-links a:hover { color: #fff; }
.topbar .ic { width: 14px; height: 14px; color: var(--red-hi); }

.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.hdr.is-stuck { box-shadow: 0 8px 24px -16px rgba(17,19,22,.35); }
.hdr-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 42px; width: auto; }
.brand-text { font: 800 22px/1 var(--display); text-transform: uppercase; color: var(--ink); }
.brand-tag { font: 700 11.5px/1.05 var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); border-left: 2px solid var(--red); padding-left: 10px; }

.search { position: relative; display: flex; align-items: center; height: 52px; background: var(--sunk); border: 1.5px solid var(--line-2); border-radius: 13px; transition: border-color .15s, box-shadow .15s, background .15s; max-width: 760px; width: 100%; justify-self: center; }
.search:focus-within { background: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(214,24,30,.12); }
.search-ic { margin: 0 4px 0 16px; color: var(--muted); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 8px; font-size: 15.5px; outline: none; }
.search input::placeholder { color: var(--soft); }
.search input::-webkit-search-cancel-button { display: none; }
.search-kbd { font: 600 12px/1 var(--mono); color: var(--muted); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; padding: 3px 7px; margin-right: 8px; background: #fff; }
.search:focus-within .search-kbd { display: none; }
.search-clear { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); margin-right: 2px; }
.search-clear:hover { background: var(--line); color: var(--ink); }
.search-clear .ic { width: 18px; height: 18px; }
.search-go { height: calc(100% - 8px); margin-right: 4px; padding: 0 20px; border-radius: 9px; background: var(--red); color: #fff; display: inline-flex; align-items: center; gap: 8px;
  font: 700 16px/1 var(--display); text-transform: uppercase; letter-spacing: .05em; transition: background .15s; }
.search-go:hover { background: var(--red-600); }
.search-go .ic { width: 18px; height: 18px; }

.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-3); padding: 8px; max-height: min(72vh, 620px); overflow: auto; z-index: 60; }
.sg-cols { display: grid; grid-template-columns: 1.45fr 1fr; gap: 6px; }
.sg-sec { padding: 6px 4px; }
.sg-label { font: 700 11.5px/1 var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); padding: 6px 8px 8px; }
.sg-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 13.5px; }
.sg-item:hover, .sg-item.is-active { background: var(--sunk); }
.sg-item.is-active { box-shadow: inset 3px 0 0 var(--red); }
.sg-item .ic { width: 18px; height: 18px; color: var(--muted); }
.sg-item em { margin-left: auto; font: 500 11.5px var(--mono); font-style: normal; color: var(--soft); }
.sg-prod img { width: 46px; height: 46px; object-fit: contain; background: var(--sunk); border-radius: 8px; padding: 3px; mix-blend-mode: multiply; flex: none; }
.sg-prod span { min-width: 0; }
.sg-prod b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 600 15px/1.15 var(--display); text-transform: uppercase; }
.sg-prod small { display: block; font: 500 11.5px var(--mono); color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; padding: 12px; border-top: 1px solid var(--line); color: var(--red); font: 700 14px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; border-radius: 0 0 10px 10px; }
.sg-all:hover, .sg-all.is-active { background: var(--red-50); }
.sg-all .ic { width: 16px; height: 16px; }
.sg-empty { padding: 18px; color: var(--muted); font-size: 14px; text-align: center; }

.quote-btn { position: relative; height: 52px; padding: 0 18px; border-radius: 13px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; gap: 10px;
  font: 700 16px/1 var(--display); text-transform: uppercase; letter-spacing: .05em; transition: background .15s; }
.quote-btn:hover { background: var(--ink-3); }
.quote-count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; display: grid; place-items: center; background: var(--ink-3); color: var(--soft); font: 600 12.5px/1 var(--mono); transition: background .2s, color .2s; }
.quote-count.has { background: var(--red); color: #fff; }
.quote-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); } 60% { transform: scale(.92); } }

.catnav { background: var(--ink); position: relative; }
.catnav-in { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.catnav-in::-webkit-scrollbar { display: none; }
.catnav a { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; color: #c3c7cd; white-space: nowrap;
  font: 600 15px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; transition: color .15s; }
.catnav a .ic { width: 18px; height: 18px; color: #6f7680; transition: color .15s; }
.catnav a:hover { color: #fff; }
.catnav a:hover .ic, .catnav a.is-on .ic { color: var(--red-hi); }
.catnav a.is-on { color: #fff; box-shadow: inset 0 -3px 0 var(--red); }

main { min-height: 60vh; outline: none; }
main.is-loading { opacity: .55; transition: opacity .15s .1s; pointer-events: none; }

/* ------------------------------ hero ------------------------------ */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 60px 0 68px; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(900px 480px at 88% -10%, rgba(214,24,30,.32), transparent 62%),
              linear-gradient(115deg, transparent 0 58%, rgba(255,255,255,.025) 58% 64%, transparent 64%),
              repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, transparent 1px 64px); }
.hero::after { content: ''; position: absolute; left: -24px; bottom: 0; width: min(46%, 560px); height: 7px; transform: skewX(-32deg); transform-origin: left bottom;
  background: linear-gradient(90deg, var(--red) 0 62%, transparent 62% 65%, var(--red) 65% 74%, transparent 74% 77%, var(--red) 77% 81%, transparent 81%); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg span { position: absolute; right: -1.5vw; bottom: -.2em; font: 800 clamp(120px, 17vw, 270px)/1 var(--display); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); white-space: nowrap; user-select: none; }
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.eyebrow-light { color: #ff6166; }
.hero h1 { font: 800 clamp(46px, 6.2vw, 82px)/.9 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin: 16px 0 20px; }
.hero h1 em { font-style: normal; color: var(--red-hi); }
.hero .lead { color: #b8bcc3; font-size: 17px; line-height: 1.6; max-width: 54ch; }
.hero-stats { display: flex; gap: 40px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.hero-stats dd { font: 800 38px/1 var(--display); font-variant-numeric: tabular-nums; }
.hero-stats dt { font: 600 12px/1 var(--font); text-transform: uppercase; letter-spacing: .1em; color: #8a9099; }

.finder { background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 22px; backdrop-filter: blur(6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.finder-head { display: flex; gap: 14px; align-items: center; }
.finder-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--red); display: grid; place-items: center; transform: skewX(-8deg); }
.finder-ic .ic { width: 26px; height: 26px; transform: skewX(8deg); }
.finder-head b { display: block; font: 800 22px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.finder-head small { color: #8f959e; font-size: 13px; }
.finder-tabs { display: flex; gap: 6px; margin: 18px 0 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.finder-tabs button { padding: 8px 15px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); color: #c9ccd1; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .15s, color .15s; }
.finder-tabs button:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.finder-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.mf-panel { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.mf-chip { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.07); transition: background .15s, border-color .15s, transform .15s; }
.mf-chip b { font: 700 16px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.mf-chip span { font: 500 11px/1 var(--mono); color: #8f959e; }
.mf-chip:hover { background: var(--red); border-color: var(--red); transform: translateY(-1px); }
.mf-chip:hover span { color: #ffd4d6; }

/* ------------------------------ blocos da home ------------------------------ */
.block { margin-top: 56px; margin-bottom: 56px; }
.block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.block-head h2 { font: 800 34px/1 var(--display); text-transform: uppercase; letter-spacing: -.005em; margin-top: 8px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.link-more .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-more:hover { color: var(--red); }
.link-more:hover .ic { transform: translateX(3px); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 12px; }
.cat-tile { position: relative; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; min-height: 140px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.cat-tile::after { content: ''; position: absolute; top: 0; right: 0; width: 64px; height: 4px; background: var(--red); transform: skewX(-32deg) translateX(80px); transition: transform .3s var(--ease); }
.cat-tile:hover { border-color: var(--ink); box-shadow: var(--sh-2); transform: translateY(-2px); }
.cat-tile:hover::after { transform: skewX(-32deg) translateX(14px); }
.cat-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--sunk); color: var(--ink); display: grid; place-items: center; transition: background .2s, color .2s; }
.cat-ic .ic { width: 26px; height: 26px; }
.cat-tile:hover .cat-ic { background: var(--red); color: #fff; }
.cat-name { font: 700 19px/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; margin-top: 14px; padding-right: 22px; }
.cat-n { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.cat-go { position: absolute; right: 16px; bottom: 18px; width: 18px; height: 18px; color: var(--soft); transition: transform .2s var(--ease), color .2s; }
.cat-tile:hover .cat-go { color: var(--red); transform: translateX(3px); }

.brand-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(152px, 1fr)); gap: 10px; }
.brand-tile { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 78px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s; }
.brand-tile b { font: 700 19px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; transition: color .15s; }
.brand-tile span { font: 500 11.5px var(--mono); color: var(--muted); }
.brand-tile:hover { border-color: var(--red); }
.brand-tile:hover b { color: var(--red); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 24px 24px 26px; }
.steps li::after { content: ''; position: absolute; right: -20px; top: 0; bottom: 0; width: 70px; background: repeating-linear-gradient(-58deg, transparent 0 9px, rgba(255,255,255,.035) 9px 11px); }
.steps span { display: block; font: 800 54px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--red-hi); margin-bottom: 12px; }
.steps b { display: block; font: 700 22px/1.05 var(--display); text-transform: uppercase; margin-bottom: 6px; }
.steps p { color: #a8adb5; font-size: 14px; max-width: 32ch; }

/* ------------------------------ cards ------------------------------ */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(218px, 1fr)); gap: 14px; }
.grid-tight { grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.card:hover { border-color: var(--line-2); box-shadow: var(--sh-2); transform: translateY(-2px); }
.card-media { position: relative; display: block; aspect-ratio: 1; padding: 16px; background: linear-gradient(180deg, #fff 40%, #f3f4f6); border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-media img[src*="sem-foto.svg"], .zoom img[src*="sem-foto.svg"] { scale: .64; }
.zoom:has(img[src*="sem-foto.svg"]) { cursor: default; }
.card-zoom { position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s; }
.card-zoom .ic { width: 15px; height: 15px; }
.card:hover .card-zoom, .card-media:focus-visible .card-zoom { opacity: 1; transform: none; }
.stock { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: rgba(255,255,255,.92); border: 1px solid var(--line); line-height: 1.2; }
.card .stock { position: absolute; left: 10px; top: 10px; }
.stock i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.stock.is-ok { color: var(--ok); }
.stock.is-ok i { background: var(--ok); box-shadow: 0 0 0 3px rgba(19,128,70,.16); }
.stock.is-ask { color: var(--muted); }
.stock.is-ask i { background: var(--soft); }
.inq { position: absolute; right: 10px; bottom: 10px; background: var(--red); color: #fff; font: 700 12px/1 var(--display); text-transform: uppercase; letter-spacing: .05em; padding: 5px 8px; border-radius: 6px; transform: skewX(-8deg); }

.card-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 13px 14px 4px; min-width: 0; }
.card-brand { font: 700 13px/1 var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--red); }
.card-title { font: 600 17px/1.13 var(--display); text-transform: uppercase; letter-spacing: .01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.39em; }
.card-title a:hover { color: var(--red); }
.codes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.codes div { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; font: 500 11.5px/1 var(--mono); max-width: 100%; }
.codes dt { background: var(--sunk); color: var(--muted); padding: 5px 6px; font: 700 10px/1 var(--font); text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; }
.codes dd { padding: 5px 7px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.buy { display: flex; gap: 8px; align-items: center; padding: 12px 14px 14px; }
.qty { display: flex; align-items: center; height: 40px; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; flex: none; background: #fff; }
.qty button { width: 32px; height: 100%; display: grid; place-items: center; color: var(--muted); transition: background .15s, color .15s; }
.qty button:hover { background: var(--sunk); color: var(--ink); }
.qty .ic { width: 15px; height: 15px; }
.qty input { width: 40px; height: 100%; border: 0; text-align: center; font: 600 14px var(--mono); outline: none; -moz-appearance: textfield; appearance: textfield; background: transparent; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.btn-add { flex: 1; min-width: 0; height: 40px; border-radius: 9px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; transition: background .15s, transform .1s; }
.btn-add:hover { background: var(--red); }
.btn-add:active { transform: scale(.98); }
.btn-add .ic { width: 17px; height: 17px; }
.btn-add .ic-ok { display: none; }
.btn-add.is-added { background: var(--ok); }
.btn-add.is-added .ic-ok { display: block; }
.btn-add.is-added .ic-add { display: none; }

/* lista (densa, para quem já sabe o que quer — balcão) */
html[data-view="list"] .results .grid { grid-template-columns: 1fr; gap: 8px; }
html[data-view="list"] .results .card { flex-direction: row; align-items: center; }
html[data-view="list"] .results .card:hover { transform: none; }
html[data-view="list"] .results .card-media { width: 96px; flex: none; padding: 8px; border-bottom: 0; border-right: 1px solid var(--line); }
html[data-view="list"] .results .card-zoom, html[data-view="list"] .results .card .stock { display: none; }
html[data-view="list"] .results .card-body { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-rows: auto auto; column-gap: 20px; align-items: center; padding: 10px 16px; }
html[data-view="list"] .results .card-brand { grid-column: 1; }
html[data-view="list"] .results .card-title { grid-column: 1; -webkit-line-clamp: 2; min-height: 0; }
html[data-view="list"] .results .codes { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; align-items: flex-end; margin: 0; padding: 0; }
html[data-view="list"] .results .buy { width: 290px; flex: none; padding: 0 16px 0 0; }
html[data-view="list"] .results .inq { right: auto; left: 6px; bottom: 6px; font-size: 10px; }

/* ------------------------------ resultados ------------------------------ */
.results-layout { display: grid; grid-template-columns: 284px minmax(0, 1fr); gap: 28px; padding-top: 28px; padding-bottom: 64px; align-items: start; }
.filters { position: sticky; top: calc(var(--hdr-h) + 16px); max-height: calc(100vh - var(--hdr-h) - 32px); display: flex; flex-direction: column; }
.filters-head, .filters-foot, .filters-backdrop { display: none; }
.filters-scroll { overflow: auto; padding-right: 4px; scrollbar-width: thin; }
.fbox { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.fbox-head { width: 100%; display: flex; align-items: center; gap: 8px; padding: 14px 16px; font: 700 16px/1 var(--display); text-transform: uppercase; letter-spacing: .05em; text-align: left; }
.fbox-head .ic { margin-left: auto; width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.fbox-head[aria-expanded="false"] .ic { transform: rotate(-90deg); }
.fbox-head[aria-expanded="false"] + .fbox-body { display: none; }
.fbox-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.fbox-body { padding: 0 8px 10px; }
.fsearch { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; height: 36px; margin: 0 4px 8px; background: var(--sunk); }
.fsearch .ic { width: 15px; height: 15px; color: var(--soft); }
.fsearch input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 13px; }
.flist { max-height: 296px; overflow: auto; scrollbar-width: thin; }
.fopt { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 7px; font-size: 13.5px; line-height: 1.25; }
.fopt:hover { background: var(--sunk); }
.fopt-box { width: 18px; height: 18px; border: 1.5px solid var(--line-2); border-radius: 5px; display: grid; place-items: center; flex: none; background: #fff; transition: background .15s, border-color .15s; }
.fopt-box .ic { width: 12px; height: 12px; color: #fff; opacity: 0; stroke-width: 3; }
.fopt.is-on .fopt-box { background: var(--red); border-color: var(--red); }
.fopt.is-on .fopt-box .ic { opacity: 1; }
.fopt.is-on .fopt-name { font-weight: 600; }
.fopt-name { min-width: 0; }
.fopt-n { margin-left: auto; font: 500 11px/1 var(--mono); color: var(--muted); background: var(--sunk); padding: 3px 6px; border-radius: 999px; }
.fopt-group { padding: 10px 8px 4px; font: 700 11px/1 var(--font); text-transform: uppercase; letter-spacing: .12em; color: var(--soft); }
.fbox-stock { padding: 0; }
.toggle { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.toggle b { display: block; font-size: 14px; }
.toggle small { display: block; font-size: 12px; color: var(--muted); }
.toggle-track { position: relative; width: 42px; height: 24px; border-radius: 999px; background: var(--line-2); flex: none; transition: background .2s; }
.toggle-track span { position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); transition: transform .2s var(--ease); }
.toggle.is-on .toggle-track { background: var(--ok); }
.toggle.is-on .toggle-track span { transform: translateX(18px); }

.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.results-title { font: 800 clamp(26px, 3vw, 38px)/1 var(--display); text-transform: uppercase; margin-top: 8px; overflow-wrap: anywhere; }
.results-tools { display: flex; gap: 8px; align-items: center; }
.filters-open { display: none; }
.filters-open b { background: var(--red); color: #fff; border-radius: 999px; min-width: 20px; height: 20px; display: inline-grid; place-items: center; font: 600 11px var(--mono); padding: 0 6px; }
.sort { position: relative; display: flex; align-items: center; height: 42px; padding-left: 12px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); }
.sort span { font-size: 12px; color: var(--muted); margin-right: 4px; }
.sort select { appearance: none; border: 0; background: transparent; height: 100%; padding: 0 34px 0 2px; font-size: 13.5px; font-weight: 600; outline: none; cursor: pointer; }
.sort .ic { position: absolute; right: 10px; width: 16px; height: 16px; pointer-events: none; color: var(--muted); }
.view-toggle { display: flex; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.view-toggle button { width: 42px; height: 40px; display: grid; place-items: center; color: var(--muted); transition: background .15s, color .15s; }
.view-toggle .ic { width: 18px; height: 18px; }
html[data-view="grid"] .view-toggle [data-view="grid"], html[data-view="list"] .view-toggle [data-view="list"], html:not([data-view]) .view-toggle [data-view="grid"] { background: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 9px 0 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; max-width: 100%; transition: background .15s; }
.chip .ic { width: 14px; height: 14px; opacity: .7; }
.chip:hover { background: var(--red); }
.chip-moto { background: var(--red); }
.chip-moto:hover { background: var(--red-600); }
.chip-clear { font-size: 13px; color: var(--red); font-weight: 600; padding: 0 6px; }
.chip-clear:hover { text-decoration: underline; text-underline-offset: 3px; }
.range { text-align: center; color: var(--muted); font-size: 13px; margin-top: 10px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pg { min-width: 42px; height: 42px; padding: 0 10px; border-radius: var(--r); border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; font: 600 14px var(--mono); transition: border-color .15s, background .15s; }
.pg:hover { border-color: var(--ink); }
.pg.is-cur { background: var(--ink); border-color: var(--ink); color: #fff; }
.pg.is-off { opacity: .35; pointer-events: none; }
.pg .ic { width: 18px; height: 18px; }
.pg-gap { display: grid; place-items: center; width: 24px; color: var(--muted); }

.empty-state { text-align: center; padding: 64px 20px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.empty-ic { width: 54px; height: 54px; color: var(--line-2); margin: 0 auto 16px; }
.empty-state h1, .empty-state h2 { font: 800 30px/1 var(--display); text-transform: uppercase; margin-bottom: 10px; }
.empty-state p { color: var(--muted); max-width: 48ch; margin: 0 auto; }
.empty-actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }

/* ------------------------------ produto ------------------------------ */
.pd { padding: 26px 0 64px; }
.pd-modal { padding: 0; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 20px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--red); }
.crumbs .ic { width: 14px; height: 14px; color: var(--soft); }
.crumbs span { color: var(--text); font-family: var(--mono); font-size: 12.5px; }
.pd-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 44px; align-items: start; }
.pd-modal .pd-grid { gap: 32px; }
.pd-media { position: sticky; top: calc(var(--hdr-h) + 20px); }
.pd-modal .pd-media { top: 0; }
.zoom { position: relative; aspect-ratio: 1; background: linear-gradient(180deg, #fff 45%, #f2f3f5); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; padding: 28px; cursor: zoom-in; }
.zoom img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.zoom.is-zooming img { transform: scale(2.1); }
.pd-media-note { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); margin-top: 10px; }
.pd-media-note .ic { width: 14px; height: 14px; }
.pd-brand { font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--red); }
.pd-brand:hover { text-decoration: underline; text-underline-offset: 3px; }
.pd-title { font: 700 clamp(28px, 3.3vw, 42px)/1.02 var(--display); text-transform: uppercase; letter-spacing: .005em; margin: 8px 0 14px; padding-right: 36px; }
.pd .stock { font-size: 12.5px; padding: 6px 12px 6px 10px; }
.pd-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 22px 0; }
.pd-specs > div { background: #fff; padding: 12px 14px; min-width: 0; }
.pd-specs > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pd-specs dt { font: 600 11px/1 var(--font); text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.pd-specs dd { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 500; min-width: 0; }
.pd-specs dd .mono { font-weight: 600; overflow-wrap: anywhere; }
.pd-specs dd a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.pd-specs dd a:hover { color: var(--red); }
.copy { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; color: var(--soft); flex: none; }
.copy:hover { background: var(--sunk); color: var(--ink); }
.copy .ic { width: 14px; height: 14px; }
.pd-apps, .pd-notes { margin-bottom: 20px; }
.pd-apps h3, .pd-notes h3 { display: flex; align-items: center; gap: 8px; font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.pd-apps h3 .ic, .pd-notes h3 .ic { width: 18px; height: 18px; color: var(--red); }
.app-chip { display: inline-flex; align-items: center; padding: 6px 12px; margin: 0 6px 6px 0; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 13px; font-weight: 600; transition: background .15s, color .15s, border-color .15s; }
.app-chip:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.pd-notes p { font-size: 14px; line-height: 1.6; color: var(--text-2); background: var(--sunk); border-left: 3px solid var(--red); padding: 12px 14px; border-radius: 0 10px 10px 0; }
.buy.is-lg { padding: 0; margin: 24px 0 14px; }
.buy.is-lg .qty { height: 54px; border-radius: 12px; }
.buy.is-lg .qty button { width: 44px; }
.buy.is-lg .qty input { width: 56px; font-size: 17px; }
.buy.is-lg .btn-add { height: 54px; border-radius: 12px; font-size: 18px; background: var(--red); }
.buy.is-lg .btn-add:hover { background: var(--ink); }
.buy.is-lg .btn-add.is-added { background: var(--ok); }
.pd-share { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-share .btn { height: 40px; font-size: 14px; padding: 0 14px; }
.related { margin-top: 56px; }
.pd-modal .related { margin-top: 36px; }
.related .block-head h2 { font-size: 28px; }

/* ------------------------------ modal / gaveta / toast ------------------------------ */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,11,13,.62); backdrop-filter: blur(3px); animation: fade .2s; }
.modal-panel { position: relative; width: min(1060px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-3); animation: pop .28s var(--ease); overscroll-behavior: contain; }
.modal-x { position: absolute; top: 14px; right: 14px; z-index: 3; background: #fff; }
.modal-loading { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.modal-loading div { border-radius: 14px; background: linear-gradient(90deg, var(--sunk), #fbfbfc, var(--sunk)); background-size: 200% 100%; animation: shimmer 1.1s infinite linear; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.985); } }
@keyframes shimmer { to { background-position: -200% 0; } }

.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(10,11,13,.55); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(452px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .34s var(--ease); box-shadow: var(--sh-3); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 22px 22px 18px; border-bottom: 1px solid var(--line); position: relative; }
.drawer-head::after { content: ''; position: absolute; left: 22px; bottom: -2px; width: 56px; height: 3px; background: var(--red); transform: skewX(-32deg); }
.drawer-head h2 { font: 800 30px/1 var(--display); text-transform: uppercase; margin-top: 6px; }
.drawer-body { flex: 1; overflow: auto; padding: 4px 22px; overscroll-behavior: contain; }
.q-items { list-style: none; margin: 0; padding: 0; }
.q-items li { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; animation: fade .25s; }
.q-thumb { width: 60px; height: 60px; border-radius: 9px; border: 1px solid var(--line); background: var(--sunk); padding: 4px; overflow: hidden; }
.q-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.q-info b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 600 15px/1.12 var(--display); text-transform: uppercase; }
.q-info a:hover b { color: var(--red); }
.q-info small { display: block; font: 500 11.5px/1.3 var(--mono); color: var(--muted); margin-top: 4px; }
.q-ctrl { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.q-ctrl .qty { height: 32px; border-radius: 8px; }
.q-ctrl .qty button { width: 28px; }
.q-ctrl .qty input { width: 38px; font-size: 13px; }
.q-ctrl .link-btn { font-size: 12px; }
.q-empty { text-align: center; padding: 56px 16px; color: var(--muted); }
.q-empty b { display: block; font: 800 22px/1 var(--display); text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.q-empty p { font-size: 14px; max-width: 32ch; margin: 0 auto; }
.drawer.is-empty .drawer-foot, .drawer:not(.is-empty) .q-empty { display: none; }
.drawer-foot { display: grid; gap: 10px; padding: 16px 22px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fafbfc; }
.q-sum { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--muted); }
.q-sum b { color: var(--ink); }
.q-who { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.q-who summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 11px 12px; font-size: 14px; font-weight: 600; }
.q-who summary::-webkit-details-marker { display: none; }
.q-who summary small { font-weight: 400; color: var(--muted); font-size: 12px; }
.q-who summary .ic { margin-left: auto; width: 16px; height: 16px; color: var(--muted); transition: transform .2s; }
.q-who[open] summary .ic { transform: rotate(180deg); }
.q-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px 12px; }
.q-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.q-form input, .q-form textarea { border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 10px; font-size: 14px; color: var(--text); background: #fff; resize: vertical; outline: none; }
.q-form input:focus, .q-form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(214,24,30,.12); }
.q-form-wide { grid-column: 1 / -1; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; padding: 12px 14px 12px 16px; border-radius: 12px; box-shadow: var(--sh-3); font-size: 14px; max-width: calc(100vw - 32px); transition: opacity .25s, transform .25s var(--ease); }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast .ic { width: 18px; height: 18px; color: #4fd98a; }
.toast button { color: #ff7a7f; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }

.fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(31,168,85,.7); transition: transform .2s var(--ease); }
.fab .ic { width: 28px; height: 28px; }
.fab:hover { transform: scale(1.07); }
.fab-mascot { width: 84px; height: auto; background: none; box-shadow: none; border-radius: 14px; animation: mascote 1s infinite alternate ease-in-out; }
.fab-mascot img { width: 100%; border-radius: 14px; }
@keyframes mascote { to { transform: scale(1.08); } }

/* ------------------------------ rodapé ------------------------------ */
.ftr { background: #0a0b0d; color: #a3a8b0; margin-top: 24px; position: relative; }
.ftr::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--red) 0 30%, transparent 30% 31%, var(--red) 31% 34%, transparent 34% 35%, var(--red) 35% 36%, transparent 36%); }
.ftr-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-top: 52px; padding-bottom: 36px; }
.ftr-brand b { display: block; font: 800 26px/1 var(--display); text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.ftr-brand p { font-size: 14px; max-width: 46ch; }
.ftr h4 { font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.ftr li { display: flex; align-items: center; gap: 8px; }
.ftr li .ic { width: 16px; height: 16px; color: var(--red-hi); }
.ftr a:hover { color: #fff; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; padding-bottom: 30px; font-size: 12.5px; }
.ftr-bottom a { color: #fff; font-weight: 600; }

/* ------------------------------ responsivo ------------------------------ */
@media (max-width: 1100px) {
  .hero-in { grid-template-columns: 1fr; gap: 36px; }
  .results-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; z-index: 85; left: 0; right: 0; bottom: 0; top: auto; max-height: 86vh; background: #fff; border-radius: 22px 22px 0 0; box-shadow: var(--sh-3); transform: translateY(105%); transition: transform .32s var(--ease); }
  body.filters-on .filters { transform: none; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 10px; font: 800 22px/1 var(--display); text-transform: uppercase; }
  .filters-scroll { padding: 4px 14px; }
  .filters-foot { display: block; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .filters-foot .btn { width: 100%; height: 50px; }
  .filters-backdrop { display: block; position: fixed; inset: 0; z-index: 84; background: rgba(10,11,13,.5); opacity: 0; pointer-events: none; transition: opacity .3s; }
  body.filters-on .filters-backdrop { opacity: 1; pointer-events: auto; }
  .filters-open { display: inline-flex; }
}
@media (max-width: 900px) {
  .wrap { padding: 0 16px; }
  .topbar-tag, .topbar-links > span { display: none; }
  .topbar-in { justify-content: flex-end; }
  .hdr-in { grid-template-columns: auto auto; grid-template-areas: "brand quote" "search search"; height: auto; padding-top: 10px; padding-bottom: 12px; gap: 10px 12px; }
  .brand { grid-area: brand; }
  .brand img { height: 36px; }
  .brand-tag { display: none; }
  .quote-btn { grid-area: quote; justify-self: end; height: 44px; padding: 0 14px; }
  .search { grid-area: search; height: 48px; max-width: none; }
  .search-kbd, .search-go span { display: none; }
  .search-go { padding: 0 14px; }
  .pd-grid { grid-template-columns: 1fr; gap: 24px; }
  .pd-media { position: static; }
  .sg-cols { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .ftr-in { grid-template-columns: 1fr; gap: 28px; }
  html[data-view="list"] .results .card { flex-wrap: wrap; }
  html[data-view="list"] .results .card-body { flex: 1; grid-template-columns: minmax(0, 1fr); padding: 10px 12px; }
  html[data-view="list"] .results .codes { grid-column: 1; grid-row: auto; flex-direction: row; align-items: center; margin-top: 4px; }
  html[data-view="list"] .results .buy { width: 100%; padding: 0 12px 12px; }
}
@media (max-width: 640px) {
  .quote-btn-txt { display: none; }
  .hero { padding: 36px 0 44px; }
  .hero .lead { font-size: 15.5px; }
  .hero-stats { gap: 22px; }
  .hero-stats dd { font-size: 30px; }
  .finder { padding: 16px; border-radius: 18px; }
  .block { margin-top: 40px; margin-bottom: 40px; }
  .block-head h2 { font-size: 28px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-tile { min-height: 124px; padding: 14px; }
  .cat-name { font-size: 17px; }
  .grid, .grid-tight { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-media { padding: 10px; }
  .card-body { padding: 10px 11px 2px; }
  .card-title { font-size: 15.5px; }
  .card-brand { font-size: 12px; }
  .codes dd { max-width: 110px; }
  .buy { flex-direction: column; align-items: stretch; padding: 10px 11px 11px; gap: 6px; }
  .buy .qty { height: 36px; }
  .buy .qty input { flex: 1; width: auto; }
  .btn-add { height: 38px; }
  .buy.is-lg { flex-direction: row; }
  .results-tools { width: 100%; }
  .sort { flex: 1; min-width: 0; }
  .sort span { display: none; }
  .sort select { width: 100%; min-width: 0; }
  .results-layout { padding-top: 20px; }
  .modal { padding: 0; place-items: end stretch; }
  .modal-panel { width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; padding: 22px 16px calc(22px + env(safe-area-inset-bottom)); animation: sheet .32s var(--ease); }
  .pd-specs { grid-template-columns: 1fr 1fr; }
  .zoom { aspect-ratio: 4 / 3; max-height: 40vh; width: 100%; padding: 16px; }
  .pd-grid { gap: 16px; }
  .pd-media-note { display: none; }
  .pd-title { font-size: 26px; padding-right: 0; }
  .q-form { grid-template-columns: 1fr; }
  .fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .toast { bottom: 84px; }
  .ftr-bottom { flex-direction: column; }
}
@keyframes sheet { from { transform: translateY(100%); } }
@media (max-width: 380px) {
  .grid, .grid-tight { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .hdr, .catnav, .filters, .fab, .ftr, .buy, .results-tools, .pager, .drawer, .demo-bar { display: none !important; }
  body { background: #fff; }
  .card { break-inside: avoid; box-shadow: none; }
}
