/* Layout: catálogo primero. Cabecera fija, hero corto con el auto destacado, grilla de fichas,
   y una página por vehículo con galería, datos, equipamiento y sugerencias.
   Detalle propio: el corte inclinado de la G del logo se repite en precio y botones principales. */
:root {
  --bg: #0c0b09;
  --surface: #15130f;
  --surface-2: #1d1a15;
  --line: #2d2921;
  --text: #f1ece2;
  --muted: #a39b8b;
  --gold: #d5ad6e;
  --gold-hi: #e6c58c;
  --on-gold: #17130b;
  --wa: #25d366;
  --wa-hi: #3be07a;
  --on-wa: #06200f;
  --bad: #d9705f;
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 20px;
  --max: 1180px;
  --cut: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

[hidden] { display: none !important; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 6px;
  font-weight: 600; font-size: 15px; transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-wa { background: var(--wa); color: var(--on-wa); border-radius: 0; padding-right: calc(22px + var(--cut) * .6);
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); }
.btn-wa:hover { background: var(--wa-hi); }
.btn-line { border-color: var(--line); background: transparent; color: var(--text); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-wa.btn-sm { padding-right: calc(14px + var(--cut) * .6); }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 500; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.top .btn { margin-left: 4px; }

/* Estado de atención */
.open { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); }
.open i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.open.is-open i { background: var(--wa); box-shadow: 0 0 0 4px color-mix(in srgb, var(--wa) 22%, transparent); }
.open.is-open { color: var(--text); }

/* Hero */
.hero { padding-block: 48px 56px; border-bottom: 1px solid var(--line);
  background: radial-gradient(900px 420px at 85% 0%, color-mix(in srgb, var(--gold) 13%, transparent), transparent 70%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; letter-spacing: -0.025em; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero-copy p { color: var(--muted); font-size: 18px; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.pay-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.pay-chips li { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--text); background: var(--surface); }
.feat { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--surface); aspect-ratio: 4 / 4.3; border: 1px solid var(--line); }
.feat img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transition: transform .6s; }
.feat:hover img { transform: scale(1.03); }
.feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,11,9,.92) 0%, rgba(12,11,9,.15) 48%, transparent 70%); }
.feat-info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.feat-info h2 { font-size: 22px; font-weight: 700; }
.feat-info p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.tag-new { position: absolute; z-index: 2; top: 16px; left: 16px; background: var(--gold); color: var(--on-gold); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 4px; }

/* Precio con corte inclinado */
.price-tag { display: inline-block; background: var(--gold); color: var(--on-gold); font-family: var(--font-display); font-weight: 800;
  padding: 8px calc(18px + var(--cut)) 8px 16px; font-size: 20px; line-height: 1.2;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); white-space: nowrap; }
.price-tag small { font-weight: 700; font-size: .62em; margin-right: 6px; letter-spacing: 0; }

/* Franja de condiciones */
.terms { border-bottom: 1px solid var(--line); background: var(--surface); }
.terms-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.term { padding: 22px 20px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); }
.term:first-child { border-left: 0; padding-left: 0; }
.term b { font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.term span { color: var(--muted); font-size: 14px; }

/* Secciones */
.sec { padding-block: 64px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.sec-head p { color: var(--muted); }

/* Filtros */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); background: transparent; border-radius: 999px; font-weight: 500; font-size: 14px; color: var(--muted); }
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 700; }
.fields { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.field { min-height: 40px; padding: 0 12px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 14px; max-width: 100%; }
.field::placeholder { color: var(--muted); }
.field:focus { border-color: var(--gold); outline: none; }
input.field { width: 224px; }

/* Grilla de fichas */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .2s, transform .2s; min-width: 0; }
.card:hover { border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); transform: translateY(-3px); }
.card[hidden] { display: none; }
.card-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.04); }
.status { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 4px; font-size: 13px; font-weight: 700; background: var(--gold); color: var(--on-gold); }
.status.sold { background: var(--bad); color: #1c0a06; }
.status.reserved { background: var(--text); color: var(--bg); }
.pill-img { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 4px; font-size: 12.5px; font-weight: 700; background: rgba(12,11,9,.82); color: var(--gold-hi); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.card-body { display: flex; flex-direction: column; gap: 16px; padding: 18px 18px 20px; flex: 1; }
.card h3 { font-size: 19px; font-weight: 700; }
.card h3 a:hover { color: var(--gold-hi); }
.mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 12px 0; border-block: 1px solid var(--line); }
.mini div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mini dt { font-size: 12px; color: var(--muted); }
.mini dd { margin: 0; font-weight: 600; font-size: 15px; }
.card-foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.card-price { display: flex; flex-direction: column; gap: 2px; }
.card-price .price-tag { align-self: flex-start; }
.card-price > span:not(.price-tag) { font-size: 13px; color: var(--muted); }
.card-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.why { display: inline-block; align-self: flex-start; font-size: 12.5px; font-weight: 600; color: var(--gold-hi); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); border-radius: 4px; padding: 3px 9px; }
.empty { grid-column: 1 / -1; padding: 40px 24px; text-align: center; border: 1px dashed var(--line); border-radius: 12px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty p { color: var(--muted); max-width: 44ch; }
.empty-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Quiénes somos */
.about-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.about-copy h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.about-copy p { color: var(--muted); font-size: 18px; max-width: 52ch; }
.about-copy p:first-of-type { color: var(--text); }
.proofs { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.proofs li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.proofs b { font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.proofs span { color: var(--muted); }

/* Respaldo en la ficha */
.trust { border-top: 1px solid var(--line); padding-block: 36px; }
.trust-in { display: flex; align-items: center; gap: 20px 40px; flex-wrap: wrap; }
.trust-in h2 { font-size: 20px; font-weight: 800; }
.trust ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.trust li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.trust svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* Cómo comprar */
.how { background: var(--surface); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 2px solid var(--gold); }
.steps li::before { content: counter(s); font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--gold); line-height: 1; }
.steps h3 { font-size: 19px; font-weight: 700; }
.steps p { color: var(--muted); }
.pay-note { margin-top: 32px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--muted); max-width: 78ch; }
.pay-note b { color: var(--text); }

/* Vender o cambiar */
.trade { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 36px; border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--line)); border-radius: 12px;
  background: linear-gradient(120deg, var(--surface), var(--surface-2)); }
.trade h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.trade p { color: var(--muted); margin-top: 8px; max-width: 56ch; }

/* Pie */
.foot { border-top: 1px solid var(--line); padding-block: 48px 40px; background: var(--surface); }
.foot-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.foot img { height: 64px; width: auto; }
.foot h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); }
.foot a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.foot a:hover { text-decoration-color: var(--gold); }
.foot-note { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.copy { display: inline-flex; align-items: center; gap: 8px; }
.copy button { border: 1px solid var(--line); background: transparent; border-radius: 4px; padding: 2px 9px; font-size: 12.5px; color: var(--muted); }
.copy button:hover { color: var(--text); border-color: var(--muted); }

/* WhatsApp flotante */
.fab { position: fixed; z-index: 45; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: var(--on-wa);
  display: grid; place-items: center; box-shadow: 0 8px 26px rgba(0,0,0,.5); transition: transform .15s, background .15s; }
.fab:hover { background: var(--wa-hi); transform: scale(1.06); }
.fab svg { width: 30px; height: 30px; }

/* Ficha del vehículo */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 22px 18px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--gold-hi); }
.crumbs span[aria-current] { color: var(--text); }
.vehicle { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 56px; }
.gal { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.stage { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; aspect-ratio: 5 / 4; }
.track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: center; border: 0; padding: 0; background: var(--surface-2); overflow: hidden; cursor: zoom-in; }
.slide::before { content: ""; position: absolute; inset: -20px; background: var(--bgimg) center / cover; filter: blur(26px) brightness(.55); }
.slide img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.nav-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(12,11,9,.72); display: grid; place-items: center; backdrop-filter: blur(6px); }
.nav-btn:hover { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.nav-btn svg { width: 20px; height: 20px; }
.nav-btn.prev { left: 12px; } .nav-btn.next { right: 12px; }
.count { position: absolute; z-index: 3; right: 12px; bottom: 12px; padding: 4px 11px; background: rgba(12,11,9,.72); border-radius: 999px; font-size: 13px; font-weight: 600; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.thumb { flex: 0 0 auto; width: 84px; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--surface-2); opacity: .6; transition: opacity .15s, border-color .15s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb[aria-current="true"] { opacity: 1; border-color: var(--gold); }

.buy { display: flex; flex-direction: column; gap: 22px; min-width: 0; position: sticky; top: 92px; }
.buy h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.buy .lead { color: var(--muted); font-size: 17px; margin-top: 10px; }
.buy-price { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.buy-price .price-tag { font-size: clamp(26px, 3.4vw, 34px); padding-block: 10px; }
.buy-price > span:not(.price-tag) { color: var(--muted); font-size: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 4px; border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); color: var(--gold-hi); }
.cta-stack { display: grid; gap: 10px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.facts div { padding: 14px 14px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.facts div:first-child { border-left: 0; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 15px; }
.checks svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.share-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.share-row button { border: 0; background: none; color: var(--gold-hi); text-decoration: underline; text-underline-offset: 4px; padding: 4px 0; font-weight: 600; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-block: 56px; border-top: 1px solid var(--line); }
.detail h2 { font-size: 26px; font-weight: 800; margin-bottom: 20px; }
.spec { margin: 0; display: grid; }
.spec div { display: grid; grid-template-columns: minmax(120px, .42fr) 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); font-size: 15px; }
.spec dd { margin: 0; font-weight: 600; }
.equip { display: grid; gap: 26px; }
.equip h3 { font-size: 15px; font-weight: 700; color: var(--gold-hi); margin-bottom: 10px; }
.equip ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.equip li { display: flex; gap: 10px; align-items: flex-start; }
.equip svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }

/* Sugerencias */
.sug { padding-block: 56px 72px; border-top: 1px solid var(--line); background: var(--surface); }
.sug-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.sug-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.sug-head p { color: var(--muted); margin-top: 6px; }
.sug-ctrl { display: flex; gap: 8px; }
.sug-ctrl .nav-btn { position: static; transform: none; background: var(--bg); }
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail .card { flex: 0 0 min(340px, 82%); scroll-snap-align: start; background: var(--bg); }

/* Barra móvil */
.mbar { display: none; }

/* Visor */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(5,5,4,.96); display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb .nav-btn { position: fixed; }
.lb-x { position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; }
.lb-count { position: fixed; top: calc(24px + env(safe-area-inset-top, 0px)); left: 20px; font-size: 14px; color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 6px; font-weight: 600; font-size: 14px; z-index: 120; }
.toast[hidden] { display: none; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feat { aspect-ratio: 4 / 3.4; }
  .terms-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .term:nth-child(3) { border-left: 0; padding-left: 0; }
  .term:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vehicle { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .buy { position: static; }
  .detail { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-in > :first-child { grid-column: 1 / -1; }
  .fields { margin-left: 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .nav { display: none; }
  .top-in { gap: 12px; min-height: 64px; }
  .brand img { height: 40px; }
  .top .btn { margin-left: auto; }
  .hero { padding-block: 32px 40px; }
  .hero-copy p { font-size: 17px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .sec { padding-block: 48px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .trade { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .track { aspect-ratio: 4 / 5; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .spec div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .fab { display: none; }
  body.has-mbar { padding-bottom: 84px; }
  .mbar { display: flex; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mbar .price-tag { font-size: 17px; padding-block: 6px; }
  .mbar .btn { flex: none; }
  .toast { bottom: 100px; }
  .filters .chips { width: 100%; }
  .fields { width: 100%; }
  .fields .field, input.field { flex: 1 1 140px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
