:root {
  --red: #d0102f;
  --red-dark: #a50c25;
  --ink: #15171b;
  --ink-2: #3a3e46;
  --muted: #6b7079;
  --line: #e6e8ec;
  --bg: #f4f5f7;
  --card: #fff;
  --ok: #138a3d;
  --ok-bg: #e5f6ec;
  --wait: #a25c00;
  --wait-bg: #fff2dc;
  --wa: #1fa855;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 20, 28, .05), 0 6px 20px rgba(16, 20, 28, .06);
  --shadow-hover: 0 4px 10px rgba(16, 20, 28, .08), 0 16px 36px rgba(16, 20, 28, .12);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 Inter, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
img { max-width: 100%; }
h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.15; margin: 8px 0 12px; letter-spacing: -.02em; }
h2 { font-size: clamp(21px, 2.6vw, 28px); line-height: 1.2; margin: 0 0 16px; letter-spacing: -.01em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.inline { display: inline; }
.error { color: var(--red); }
.block { margin-top: 44px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.block-head h2 { margin: 0; }

/* top */
.infobar { background: var(--ink); color: #c9ced6; font-size: 13px; }
.infobar-row { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.infobar-tag { font-weight: 600; color: #fff; }
.infobar-meta { display: flex; gap: 18px; flex-wrap: wrap; }
.infobar a { color: #c9ced6; }
.infobar a:hover { color: #fff; }
.top { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-row { display: flex; gap: 18px; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.logo-badge { width: 42px; height: 42px; border-radius: 11px; background: linear-gradient(135deg, var(--red), #ff4d5e); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 17px; box-shadow: 0 4px 12px rgba(208, 16, 47, .35); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-mark { font-weight: 800; font-size: 21px; letter-spacing: .01em; color: var(--ink); }
.logo-mark b { color: var(--red); }
.logo-mark.light { color: #fff; font-size: 22px; margin-bottom: 8px; }
.logo-sub { font-size: 12px; color: var(--muted); }
.search { flex: 1; display: flex; background: var(--bg); border: 2px solid transparent; border-radius: 12px; transition: border-color .15s, background .15s; }
.search:focus-within { border-color: var(--red); background: #fff; }
.search input { flex: 1; padding: 11px 14px; border: 0; background: transparent; font-size: 16px; min-width: 0; outline: none; }
.search button { border: 0; background: var(--red); color: #fff; border-radius: 9px; margin: 4px; padding: 0 16px; cursor: pointer; display: grid; place-items: center; }
.top-links { display: flex; gap: 14px; align-items: center; flex-shrink: 0; }
.wa-pill { background: var(--wa); color: #fff; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.wa-pill:hover { color: #fff; background: #178a45; }
.cart-link { position: relative; color: var(--ink); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--bg); }
.badge { position: absolute; top: -4px; right: -4px; background: var(--red); color: #fff; border-radius: 10px; padding: 0 6px; font-size: 12px; font-weight: 700; line-height: 18px; }
.models-nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.models-nav::-webkit-scrollbar { display: none; }
.models-nav a { white-space: nowrap; font-size: 14px; padding: 5px 12px; border-radius: 999px; background: var(--bg); color: var(--ink-2); font-weight: 500; }
.models-nav a:hover, .models-nav a.on { background: var(--ink); color: #fff; }
.staff-bar { background: #fff4d6; color: #6b4e00; font-size: 14px; padding: 6px 0; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% 0%, #4a0d1a 0%, transparent 60%), linear-gradient(160deg, #15171b 0%, #1d2026 60%, #2a0f17 100%); color: #fff; padding: 48px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: center; }
.eyebrow { display: inline-block; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); padding: 5px 12px; border-radius: 999px; font-size: 14px; color: #e5e7eb; }
.hero h1 { color: #fff; font-size: clamp(30px, 5vw, 52px); margin-top: 16px; }
.hero-lead { color: #c9ced6; font-size: 18px; max-width: 600px; }
.hero-search { display: flex; background: #fff; border-radius: 14px; padding: 6px; max-width: 580px; margin-top: 22px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.hero-search input { flex: 1; border: 0; padding: 12px 14px; font-size: 17px; outline: none; min-width: 0; border-radius: 10px; }
.hero-search .btn { width: auto; padding: 12px 26px; }
.hero-quick { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; color: #9aa1ab; }
.hero-quick a { color: #e5e7eb; background: rgba(255, 255, 255, .08); padding: 4px 10px; border-radius: 999px; }
.hero-quick a:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.hero-art { position: relative; min-height: 330px; }
.hero-blob { position: absolute; inset: 20px 0 10px 30px; background: radial-gradient(circle at 50% 55%, rgba(208, 16, 47, .55), rgba(208, 16, 47, 0) 65%); filter: blur(10px); }
.hero-car { position: absolute; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); }
.hero-car-1 { width: 78%; right: 0; top: 30px; }
.hero-car-2 { width: 62%; left: 0; bottom: 6px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border-radius: 16px 16px 0 0; overflow: hidden; margin-top: 40px; }
.stat { background: rgba(21, 23, 27, .75); padding: 18px 20px; display: flex; flex-direction: column; }
.stat b { font-size: 24px; color: #fff; }
.stat span { color: #9aa1ab; font-size: 14px; }

/* models & groups */
.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.model-tile { background: var(--card); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 2px; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; border: 1px solid transparent; }
.model-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #f3c2ca; color: var(--ink); }
.model-tile img { width: 100%; height: 92px; object-fit: contain; margin-bottom: 8px; background: linear-gradient(180deg, #f6f7f9, #eceef2); border-radius: 10px; padding: 6px; }
.model-tile small, .group-tile small, .engine-tile small { color: var(--muted); font-size: 13px; }
.groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.group-tile { display: flex; gap: 14px; align-items: center; background: var(--card); border-radius: var(--radius); padding: 14px; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.group-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: var(--ink); }
.group-tile img { width: 52px; height: 52px; background: #fdf0f2; border-radius: 12px; padding: 6px; flex-shrink: 0; }
.group-tile span { display: flex; flex-direction: column; line-height: 1.3; }
.engines { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.engine-tile { background: var(--card); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s; }
.engine-tile:hover { transform: translateY(-2px); color: var(--ink); }
.engine-tile img { height: 46px; width: auto; align-self: flex-start; margin-bottom: 6px; }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px; }
.card { background: var(--card); border-radius: var(--radius); display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; overflow: hidden; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card-img { position: relative; display: grid; place-items: center; height: 136px; background: linear-gradient(135deg, #f7f8fa, #eceef2); }
.card-img img { width: 76px; height: 76px; transition: transform .2s; }
.card:hover .card-img img { transform: scale(1.08) rotate(-3deg); }
.card-img .pill { position: absolute; top: 10px; left: 10px; }
.icon-filter, .icon-oil { background: linear-gradient(135deg, #fff8e6, #fdeccc); }
.icon-brake, .icon-clutch { background: linear-gradient(135deg, #fdeef0, #f9d9de); }
.icon-cooling { background: linear-gradient(135deg, #eaf3fd, #d6e6f8); }
.icon-electric, .icon-fuel { background: linear-gradient(135deg, #f0edfd, #e0daf8); }
.icon-suspension, .icon-belt { background: linear-gradient(135deg, #eaf7ef, #d5eedf); }
.icon-engine, .icon-gasket, .icon-exhaust { background: linear-gradient(135deg, #f1f2f4, #e2e5ea); }
.icon-body { background: linear-gradient(135deg, #e9f6f7, #d3ecee); }
.card-body { padding: 12px 14px 4px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.card-cat { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--red); }
.card-title { color: var(--ink); font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-title:hover { color: var(--red); }
.card-code { font-size: 12px; color: var(--muted); margin-top: auto; }
.card-foot { padding: 10px 14px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-price { display: flex; flex-direction: column; line-height: 1.2; }
.card-actions { display: flex; gap: 6px; align-items: center; }
.chips { display: flex; gap: 4px; flex-wrap: wrap; }
.chip { font-size: 12px; background: var(--bg); color: var(--ink-2); border-radius: 6px; padding: 2px 7px; white-space: nowrap; }
.chip-link:hover { background: var(--ink); color: #fff; }
.pill { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-wait { background: var(--wait-bg); color: var(--wait); }
.price { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.ask-price { font-weight: 700; font-size: 14px; color: var(--red); border-bottom: 1px dashed currentColor; white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; border: 0; border-radius: 10px; padding: 10px 16px; background: var(--red); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .15s, transform .05s; font-family: inherit; }
.btn:hover { background: var(--red-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-big { padding: 14px 22px; font-size: 17px; }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--bg); color: var(--ink); border-color: #cfd3da; }
.btn-wa { background: var(--wa); }
.btn-wa:hover { background: #178a45; }
.btn-icon { width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.btn-icon:hover { border-color: var(--red); color: var(--red); }
.linklike { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: inherit; padding: 0; font-family: inherit; }

/* page hero & listing */
.page-hero { background: linear-gradient(160deg, #15171b, #252930 70%, #2a0f17); color: #fff; padding: 22px 0 26px; }
.page-hero h1 { color: #fff; }
.page-hero-sm { padding-bottom: 18px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.page-hero-img { width: 280px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .45)); }
.page-hero-icon { width: 120px; background: #fff; border-radius: 24px; padding: 14px; }
.page-lead, .page-lead p { color: #c9ced6; max-width: 760px; margin: 0; }
.crumbs { font-size: 14px; color: #9aa1ab; }
.crumbs a { color: #c9ced6; }
.crumbs-page { color: var(--muted); padding: 18px 0 6px; }
.crumbs-page a { color: var(--ink-2); }
.chips-nav { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 4px; scrollbar-width: thin; }
.chips-nav a { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; background: #fff; border: 1px solid var(--line); color: var(--ink-2); padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.chips-nav a small { color: var(--muted); }
.chips-nav a:hover { border-color: var(--ink); color: var(--ink); }
.chips-nav a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips-nav a.on small { color: #c9ced6; }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; background: #fff; padding: 10px; border-radius: var(--radius); box-shadow: var(--shadow); margin: 14px 0 18px; }
.toolbar input[type=search] { flex: 1; min-width: 200px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 16px; outline: none; }
.toolbar input[type=search]:focus { border-color: var(--red); }
.toolbar-count { margin-left: auto; }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; font-weight: 500; user-select: none; }
.switch input { display: none; }
.switch span { width: 38px; height: 22px; background: #d5d9df; border-radius: 999px; position: relative; transition: background .15s; }
.switch span::after { content: ""; position: absolute; width: 18px; height: 18px; top: 2px; left: 2px; background: #fff; border-radius: 50%; transition: left .15s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::after { left: 18px; }
.empty { grid-column: 1 / -1; background: #fff; border-radius: var(--radius); padding: 28px; text-align: center; }
.pager { display: flex; gap: 16px; justify-content: center; align-items: center; margin: 28px 0; }
.pager a { background: #fff; padding: 8px 16px; border-radius: 10px; box-shadow: var(--shadow); font-weight: 600; }

/* product page */
.product { display: grid; grid-template-columns: minmax(280px, 440px) 1fr; gap: 28px; align-items: start; margin-top: 8px; }
.product-gallery { position: sticky; top: 140px; border-radius: 20px; aspect-ratio: 1 / 1; display: grid; place-items: center; box-shadow: var(--shadow); overflow: hidden; }
.product-gallery > img:first-child { width: 48%; height: auto; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .12)); }
.product-gallery .pill { position: absolute; top: 16px; left: 16px; font-size: 13px; }
.product-car { position: absolute; right: 12px; bottom: 10px; width: 34%; opacity: .9; }
.product-title { font-size: clamp(22px, 3vw, 32px); margin-top: 4px; }
.product-code { color: var(--muted); }
.fits { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 14px 0; }
.fits .chip { font-size: 13px; padding: 4px 10px; }
.buybox { background: #fff; border-radius: 18px; padding: 20px; box-shadow: var(--shadow); margin-top: 16px; display: flex; flex-direction: column; gap: 16px; }
.buybox-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.price-big { font-size: 30px; }
.ask-price-big { font-size: 18px; }
.stock-line { font-weight: 700; font-size: 15px; }
.stock-line.ok { color: var(--ok); }
.stock-line.wait { color: var(--wait); }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 150px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty button { width: 40px; height: 50px; border: 0; background: var(--bg); font-size: 20px; cursor: pointer; color: var(--ink); }
.qty input { width: 54px; height: 50px; border: 0; text-align: center; font-size: 17px; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.perks { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); font-size: 15px; }
.staff-box { background: #fff9e6; border: 1px solid #f0d98c; border-radius: 12px; padding: 12px; font-size: 14px; margin-top: 16px; }
.staff-box table { width: 100%; margin-top: 6px; }
.staff-box td:last-child { text-align: right; font-weight: 700; }
.text { background: #fff; border-radius: var(--radius); padding: 4px 18px; margin: 16px 0; box-shadow: var(--shadow); }
.vin-note { margin-top: 20px; }

/* home sections */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why-item { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.why-item b { display: block; font-size: 17px; margin: 8px 0 4px; }
.why-item p { margin: 0; color: var(--muted); font-size: 15px; }
.why-ico { font-size: 28px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 20px 20px 20px 70px; position: relative; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 10px; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps span { color: var(--muted); font-size: 15px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 16px; color: var(--ink-2); }
.visit { display: grid; grid-template-columns: 1fr 1.2fr; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.visit-info { padding: 28px; }
.visit-addr { font-size: 20px; font-weight: 700; }
.visit-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.visit-map { width: 100%; min-height: 320px; border: 0; display: block; background: #e9ecf0; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.contact-card span { font-size: 26px; }
.contact-card b { display: block; margin-top: 6px; }
.contact-card p { margin: 4px 0 0; font-size: 17px; }
.seo-text { color: var(--ink-2); max-width: 900px; }
.text-page { max-width: 820px; font-size: 17px; }

/* cart & checkout */
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.cart { width: 100%; border-collapse: collapse; }
.cart th, .cart td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.cart input[type=number] { width: 70px; padding: 6px 8px; font-size: 16px; border: 1.5px solid var(--line); border-radius: 8px; }
.cart-cta { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.summary { background: #fff; border-radius: var(--radius); padding: 16px 16px 16px 36px; box-shadow: var(--shadow); }
.checkout { display: flex; flex-direction: column; gap: 14px; max-width: 540px; margin-top: 18px; }
.checkout label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.checkout input, .checkout textarea { padding: 12px; font-size: 16px; border: 1.5px solid var(--line); border-radius: 10px; font-family: inherit; font-weight: 400; background: #fff; }
.checkout input:focus, .checkout textarea:focus { border-color: var(--red); outline: none; }

/* footer */
.foot { margin-top: 64px; background: var(--ink); color: #9aa1ab; padding: 40px 0 20px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.foot b { color: #fff; }
.foot a { color: #c9ced6; }
.foot a:hover { color: #fff; }
.foot ul { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 5px; }
.foot address { font-style: normal; margin-top: 10px; }
.foot-bottom { border-top: 1px solid #2a2e35; margin-top: 28px; padding-top: 16px; font-size: 13px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(31, 168, 85, .45); z-index: 30; transition: transform .15s; }
.wa-float:hover { transform: scale(1.07); }

@media (max-width: 1000px) {
  .why { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 200px; }
  .hero-car-1 { width: 62%; top: 0; }
  .hero-car-2 { width: 50%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .product { grid-template-columns: 1fr; }
  .product-gallery { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .visit { grid-template-columns: 1fr; }
  .contact-cards, .steps { grid-template-columns: 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-img { width: 180px; justify-self: end; margin-top: -10px; }
  .page-hero-icon { width: 80px; }
  .top-row { flex-wrap: wrap; gap: 10px; }
  .search { order: 3; flex-basis: 100%; }
  .top-links { margin-left: auto; }
  .infobar-tag { display: none; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-img { height: 104px; }
  .card-img img { width: 56px; height: 56px; }
  .card-body { padding: 10px 10px 2px; }
  .card-foot { padding: 8px 10px 12px; flex-direction: column; align-items: stretch; }
  .card-actions .btn { flex: 1; }
  .chips { display: none; }
  .why, .foot-grid { grid-template-columns: 1fr; }
  .models { grid-template-columns: 1fr 1fr; }
  .groups { grid-template-columns: 1fr 1fr; gap: 8px; }
  .group-tile { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .group-tile img { width: 40px; height: 40px; }
  .engines { grid-template-columns: 1fr 1fr; }
  .infobar-meta { gap: 12px; font-size: 12px; }
  .card-foot .ask-price { text-align: center; }
  .wa-pill { display: none; }
  .hero-search .btn { padding: 12px 16px; }
  .toolbar-count { margin-left: 0; }
}

/* real photos */
.hero-art { min-height: 400px; }
.hero-photo { position: absolute; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px rgba(0, 0, 0, .5); border: 3px solid rgba(255, 255, 255, .9); background: #222; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption { position: absolute; left: 12px; bottom: 10px; background: rgba(21, 23, 27, .75); color: #fff; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.hero-photo-1 { width: 82%; aspect-ratio: 3 / 2; right: 0; top: 0; transform: rotate(1.5deg); }
.hero-photo-2 { width: 54%; aspect-ratio: 3 / 2; left: 0; bottom: 0; transform: rotate(-3deg); }
.model-tile.has-photo { padding: 0; overflow: hidden; }
.model-tile.has-photo img { height: auto; aspect-ratio: 16 / 10; object-fit: cover; padding: 0; border-radius: 0; margin: 0 0 10px; background: #ddd; transition: transform .25s; }
.model-tile.has-photo:hover img { transform: scale(1.04); }
.model-tile.has-photo b, .model-tile.has-photo small { padding: 0 14px; }
.model-tile.has-photo small { padding-bottom: 14px; }
.page-hero-photo { width: 380px; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; border: 3px solid rgba(255, 255, 255, .9); box-shadow: 0 16px 36px rgba(0, 0, 0, .45); }
.product-car-link { position: absolute; right: 12px; bottom: 12px; width: 36%; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); color: var(--ink); font-size: 12px; font-weight: 600; }
.product-car-link img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.product-car-link span { display: block; padding: 4px 8px; }
.product-car-link .product-car { position: static; width: 100%; }
@media (max-width: 820px) {
  .hero-art { min-height: 250px; margin-top: 8px; }
  .hero-photo-1 { width: 72%; }
  .hero-photo-2 { width: 50%; }
  .page-hero-photo { width: 100%; max-width: 420px; }
  .product-car-link { width: 40%; }
}
.hero-photo-1 figcaption { top: 10px; bottom: auto; }
.hero-photo-solo { position: relative; width: 100%; aspect-ratio: 3 / 2; transform: rotate(1deg); }
.hero-photo-solo figcaption { top: auto; bottom: 12px; }
.hero-art:has(.hero-photo-solo) { min-height: 0; }

/* hero carousel */
.hero { padding-top: 24px; }
.carousel { position: relative; border-radius: 22px; overflow: hidden; background: #0f1114; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.slides { display: flex; transition: transform .6s cubic-bezier(.22, .8, .2, 1); will-change: transform; }
.slide { flex: 0 0 100%; display: grid; grid-template-columns: minmax(340px, 42%) 1fr; min-height: 460px; position: relative; }
.slide-text { position: relative; z-index: 2; padding: 44px 40px 64px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg, #15171b 0%, #1d2026 55%, #2a0f17 100%); }
.slide-title { color: #fff; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; margin: 14px 0 12px; letter-spacing: -.02em; }
.slide-lead { color: #c9ced6; font-size: 17px; margin: 0 0 22px; }
.slide-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.slide-cta .btn { width: auto; }
.btn-glass { background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .28); color: #fff; }
.btn-glass:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.slide-img { position: relative; display: block; overflow: hidden; }
.slide-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6.5s ease-out; }
.slide.is-active .slide-img img { transform: scale(1); }
.slide-img::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 90px; z-index: 1; background: linear-gradient(90deg, #1d2026, rgba(29, 32, 38, 0)); }
.slide .eyebrow { align-self: flex-start; }
.slide-text > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease .25s, transform .5s ease .25s; }
.slide.is-active .slide-text > * { opacity: 1; transform: none; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); display: grid; place-items: center; padding-bottom: 4px; }
.car-btn:hover { background: #fff; }
.car-prev { left: 14px; }
.car-next { right: 14px; }
.car-dots { position: absolute; left: 40px; bottom: 22px; z-index: 3; display: flex; gap: 8px; }
.car-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.car-dots button[aria-selected="true"] { width: 30px; background: var(--red); }
.hero .hero-search { max-width: none; margin-top: 18px; }
.hero .hero-quick { margin-bottom: 4px; }
.hero .stats { margin-top: 26px; }

/* map tabs */
.map-box { position: relative; min-height: 360px; display: flex; flex-direction: column; }
.map-tabs { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; background: #fff; border-radius: 999px; padding: 4px; box-shadow: 0 4px 16px rgba(0, 0, 0, .18); }
.map-tabs button { border: 0; background: transparent; padding: 7px 16px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.map-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.map-box .visit-map { flex: 1; min-height: 360px; }

@media (max-width: 860px) {
  .slide { grid-template-columns: 1fr; grid-template-rows: 220px auto; min-height: 0; }
  .slide-img { grid-row: 1; }
  .slide-img::before { inset: auto 0 0 0; width: auto; height: 60px; background: linear-gradient(0deg, #1d2026, rgba(29, 32, 38, 0)); }
  .slide-text { grid-row: 2; padding: 18px 18px 52px; }
  .slide-lead { font-size: 15px; }
  .slide-cta .btn { flex: 1 1 auto; padding: 12px 14px; font-size: 15px; }
  .car-btn { top: 110px; width: 38px; height: 38px; font-size: 24px; }
  .car-dots { left: 18px; bottom: 18px; }
}
.car-btn { top: auto; bottom: 16px; transform: none; width: 42px; height: 42px; font-size: 26px; }
.car-prev { left: auto; right: 66px; }
.car-next { right: 16px; }
@media (max-width: 860px) { .car-btn { top: 168px; bottom: auto; width: 36px; height: 36px; } .car-prev { right: 58px; } .car-next { right: 14px; } }
.map-box [hidden] { display: none !important; }
.map-tabs { position: static; transform: none; align-self: flex-start; margin: 10px 12px; box-shadow: none; background: var(--bg); }
.map-box { background: #fff; }
.map-box .visit-map { min-height: 400px; }
