/* Demo SRP/VDP for "Your Dealership" (generic dealer, sample vehicles). */
:root {
  --navy: #002c5f; --navy-2: #1c4f78; --cyan: #00aad2; --ink: #1c1b1b; --muted: #6b6b6b;
  --line: #e4e4e4; --soft: #f4f4f4; --chip: #ececec; --white: #fff; --black: #000;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--white); color: var(--ink); font: 15px/1.45 "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1440px; margin: 0 auto; }

/* ---------- Header ---------- */
[hidden] { display: none !important; }
.topbar { background: var(--navy); color: #fff; height: 65px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; font-size: 13px; white-space: nowrap; gap: 20px; }
.topbar .brands { display: flex; gap: 22px; align-items: center; }
.topbar .brands > span { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; line-height: 1.05; letter-spacing: -.1px; }
.topbar .brands svg { width: 20px; height: 20px; }
.topbar .brands > span > span { display: block; }
.topbar .brands small { font-size: 8px; font-weight: 400; display: block; }
.topbar .info { display: flex; gap: 20px; align-items: center; font-weight: 600; }
.topbar .info span { display: flex; align-items: center; gap: 7px; }
.topbar .info svg { width: 13px; height: 13px; fill: #fff; }
.topbar .lang { background: #fff; width: 66px; height: 20px; border-radius: 2px; }
.mainnav { height: 82px; display: flex; align-items: center; padding: 0 24px; gap: 32px; border-bottom: 1px solid var(--line); background: #fff; }
.logo { display: flex; align-items: center; gap: 32px; }
.logo .mark { display: flex; flex-direction: column; align-items: center; color: var(--navy); }
.logo .mark svg { width: 44px; height: 44px; }
.logo .mark b { font-size: 11px; letter-spacing: 1.6px; margin-top: 2px; }
.logo .name { font-size: 19px; font-weight: 600; color: #1c1b1b; letter-spacing: -.2px; }
.mainnav nav { margin-left: auto; display: flex; gap: 26px; font-size: 15.5px; font-weight: 500; color: #3a3a3a; }
.mainnav nav a { display: flex; align-items: center; gap: 7px; }
.mainnav nav a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.mainnav nav a.on { color: var(--navy); }
.mainnav .search { width: 22px; height: 22px; margin-left: 30px; }
.burger { display: none; }
.promo { background: #000; color: #fff; height: 52px; display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 600; position: relative; }
.promo a { background: #fff; color: #000; border-radius: 20px; padding: 6px 18px; font-size: 14.5px; }
.promo .x { position: absolute; right: 24px; font-size: 22px; font-weight: 400; cursor: pointer; }
.trade { background: var(--navy); height: 56px; display: flex; align-items: center; justify-content: center; gap: 16px; color: #fff; font-size: 19px; font-weight: 500; }
.trade input { width: 700px; max-width: 55vw; height: 34px; border-radius: 18px; border: 1px solid #fff; padding: 0 15px; font-size: 14px; }
.trade small { font-size: 9px; line-height: 1; opacity: .85; margin-left: 30px; }
.trade small b { display: block; font-size: 12px; }

/* ---------- Buttons ---------- */
.btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 50px; background: var(--navy); color: #fff; border: 0; font-size: 15.5px; }
.btn:hover { background: #0b3f7d; }
.btn.gray { background: #8c8c8c; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--chip); border: 0; border-radius: 22px; padding: 9px 18px; font-size: 13.5px; color: #333; }
.heart { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #bdbdbd; background: #fff; display: grid; place-items: center; }
.heart svg { width: 15px; height: 15px; fill: none; stroke: #333; stroke-width: 2; }
.heart.on svg { fill: #c8102e; stroke: #c8102e; }

/* ---------- SRP ---------- */
.srp { display: grid; grid-template-columns: 240px 1fr; background: var(--soft); min-height: 1000px; margin-top: 56px; }
.side { background: #fff; padding: 22px 15px; }
.toggles { display: flex; justify-content: space-between; padding: 0 5px 30px; border-bottom: 1px solid var(--line); }
.toggles label { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: #555; cursor: pointer; }
.toggles input { display: none; }
.sw { width: 58px; height: 30px; border-radius: 15px; background: #e0e0e0; position: relative; transition: .2s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: .2s; }
.toggles input:checked + .sw { background: var(--navy); }
.toggles input:checked + .sw::after { left: 31px; }
.price-range { padding: 22px 10px 26px; border-bottom: 1px solid var(--line); }
.price-range h4 { margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .3px; color: #444; }
.bar { height: 3px; background: var(--navy); margin: 0 10px; position: relative; }
.bar::before, .bar::after { content: ""; position: absolute; top: -8px; width: 19px; height: 19px; border-radius: 50%; background: var(--navy); }
.bar::before { left: -10px; } .bar::after { right: -10px; }
.range-vals { display: flex; justify-content: space-between; font-size: 12.5px; color: #555; margin-top: 22px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 34px; }
.tile { background: var(--soft); height: 93px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 12.5px; color: #555; text-align: center; border: 0; }
.tile svg { width: 20px; height: 20px; fill: none; stroke: #333; stroke-width: 1.8; }
.main { padding: 60px 30px 40px; min-width: 0; }
.searchbox { background: #fff; border: 1px solid #ddd; height: 62px; display: flex; align-items: center; gap: 14px; padding: 0 15px; }
.searchbox .mic { width: 30px; height: 30px; border-radius: 50%; background: #e7e7e7; display: grid; place-items: center; }
.searchbox input { border: 0; outline: 0; flex: 1; font-size: 15.5px; color: #333; }
.chiprow { background: #fff; border: 1px solid #ddd; border-top: 0; margin-top: 15px; height: 62px; display: flex; align-items: center; gap: 8px; padding: 0 10px; }
.chiprow .chips { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; flex: 1; scroll-behavior: smooth; }
.chiprow .chips::-webkit-scrollbar { display: none; }
.chiprow .chip { display: flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 13.5px; color: #333; background: none; border: 0; padding: 4px 0; }
.chiprow .chip.on { color: var(--navy); font-weight: 700; }
.chiprow .chip svg { width: 16px; height: 16px; fill: none; stroke: #333; stroke-width: 1.8; }
.arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #ccc; background: #fff; display: grid; place-items: center; flex: none; }
.arrow svg { width: 16px; height: 16px; stroke: var(--navy); stroke-width: 2.4; fill: none; }
.result-head { display: flex; align-items: center; justify-content: space-between; margin: 26px 0 14px; gap: 14px; flex-wrap: wrap; }
.result-head h1 { margin: 0; font-size: 19px; font-weight: 500; }
.views { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.views .v { width: 32px; height: 32px; border: 1px solid #ccc; display: grid; place-items: center; background: #fff; }
.views .v.on { background: #e8e8e8; }
.views select { border: 0; background: none; color: var(--navy); font: inherit; font-size: 13px; cursor: pointer; }
.filters { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.filters span { background: #e2e2e2; border-radius: 18px; padding: 7px 14px; font-size: 12px; font-weight: 600; color: #555; display: flex; gap: 12px; }
.filters span.clear { background: var(--navy); color: #fff; cursor: pointer; }
.filters span i { font-style: normal; color: #333; cursor: pointer; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.grid.list { grid-template-columns: 1fr; }
.card { background: #fff; display: flex; flex-direction: column; }
.card .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 8px; left: 8px; background: var(--navy); color: #fff; border-radius: 16px; padding: 4px 12px; font-size: 12.5px; font-weight: 700; }
.card .body { padding: 14px 15px 16px; display: flex; flex-direction: column; flex: 1; }
.card .acts { display: flex; justify-content: space-between; align-items: center; }
.card .top { font-size: 15px; color: #555; font-weight: 600; margin-top: 12px; }
.card h3 { margin: 2px 0 4px; font-size: 21px; line-height: 1.25; font-weight: 600; text-transform: uppercase; letter-spacing: -.2px; }
.card .ids { font-size: 11.5px; color: #555; line-height: 1.6; }
.tabs { display: flex; justify-content: center; gap: 30px; margin: 14px 0 10px; }
.tabs button { background: none; border: 0; font-weight: 600; color: var(--navy); padding: 0 0 8px; font-size: 14.5px; }
.tabs button.on { color: var(--cyan); position: relative; }
.tabs button.on::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 26px; margin-left: -13px; border-bottom: 2px solid var(--cyan); }
.lines { font-size: 14.5px; }
.lines div { display: flex; justify-content: space-between; padding: 5px 0; }
.lines div b { font-weight: 600; color: #444; }
.lines .save { color: var(--cyan); font-weight: 700; }
.lines .fee { font-weight: 700; }
.lines .final b, .lines .final span { color: var(--navy); font-weight: 700; }
.lines .final b { color: #444; }
.det-link { font-size: 11px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 3px; margin: 8px 0 22px; }
.q { width: 11px; height: 11px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 8.5px; display: inline-grid; place-items: center; font-weight: 700; }
.card .btns { margin-top: auto; display: grid; gap: 8px; }
.card .btns .btn { height: 44px; font-size: 15px; }
.spec-list { font-size: 13.5px; }
.spec-list div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid #f0f0f0; }
.spec-list div span { text-align: right; color: #555; }
.empty { background: #fff; padding: 60px; text-align: center; color: #666; grid-column: 1 / -1; }

/* ---------- VDP ---------- */
.vdp { max-width: 1140px; margin: 0 auto; padding: 20px 0 60px; }
.vdp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.vdp-head h1 { margin: 0; font-size: 25px; font-weight: 600; letter-spacing: -.2px; line-height: 1.3; }
.vdp-head .ids { font-size: 11.5px; color: #333; margin-top: 4px; display: flex; gap: 20px; flex-wrap: wrap; }
.vdp-head .tools { display: flex; gap: 28px; margin-right: 50px; margin-top: 4px; }
.vdp-head .tools button { background: none; border: 0; padding: 0; }
.vdp-head .tools svg { width: 30px; height: 30px; }
.vdp-cols { display: grid; grid-template-columns: 770px 390px; gap: 35px; margin-top: 30px; }
.vdp-left { min-width: 0; }
.gallery { position: relative; background: #eee; aspect-ratio: 770 / 578; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 60px; background: rgba(0,0,0,.35); border: 0; display: grid; place-items: center; }
.gallery .nav svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 2.5; fill: none; }
.gallery .prev { left: 10px; } .gallery .next { right: 10px; }
.gallery .count { position: absolute; left: 14px; bottom: 14px; background: #fff; padding: 6px 12px; font-size: 14.5px; color: var(--navy); display: flex; gap: 6px; align-items: center; border: 0; }
.thumbs { display: flex; align-items: center; gap: 0; margin-top: 8px; position: relative; }
.thumbs .strip { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; flex: 1; }
.thumbs .strip::-webkit-scrollbar { display: none; }
.thumbs img { width: 189px; height: 141px; object-fit: cover; flex: none; cursor: pointer; opacity: .9; outline-offset: -3px; }
.thumbs img.on { outline: 3px solid var(--navy); opacity: 1; }
.thumbs .arrow { position: absolute; z-index: 2; }
.thumbs .arrow.l { left: -18px; } .thumbs .arrow.r { right: -18px; }
.sec { margin-top: 70px; }
.sec h2 { font-size: 23px; font-weight: 600; margin: 0 0 18px; display: flex; justify-content: space-between; align-items: center; cursor: default; }
.sec h2 .chev { width: 10px; height: 10px; border-right: 1.5px solid #555; border-bottom: 1.5px solid #555; transform: rotate(-135deg); margin-right: 6px; transition: .2s; }
.sec.closed h2 .chev { transform: rotate(45deg); }
.sec h2.toggle { cursor: pointer; }
.sec.closed .sec-body { display: none; }
.basic { background: var(--soft); display: grid; grid-template-columns: 1fr 1fr; padding: 4px 20px; column-gap: 30px; }
.basic div { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #e3e3e3; font-size: 13px; gap: 10px; }
.basic div b { font-size: 11px; letter-spacing: .4px; color: #333; }
.basic div span { color: #555; text-align: right; }
.kf { display: grid; grid-template-columns: repeat(5, 142px); gap: 14px 15px; }
.kf div { border: 1px solid #ddd; height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 8px; text-align: center; font-size: 11px; color: #555; letter-spacing: .3px; text-transform: uppercase; line-height: 1.5; }
.kf svg { width: 26px; height: 26px; fill: none; stroke: #444; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sticker { width: 240px; margin-top: 50px; }
.desc { background: var(--soft); padding: 20px; font-size: 14.5px; line-height: 1.95; color: #555; }
.desc p { margin: 0 0 1em; } .desc p:last-child { margin: 0; }
.desc a { color: var(--navy); cursor: pointer; }
.equip h3 { font-size: 16px; margin: 26px 0 10px; color: #222; }
.equip ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 30px; }
.equip li { font-size: 13.5px; color: #555; padding: 6px 0; border-bottom: 1px solid #eee; break-inside: avoid; }
.similar { background: var(--soft); padding: 18px 20px 20px; }
.similar h2 { margin: 0 0 18px; }
.sim-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.sim { background: #fff; }
.sim img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.sim .b { padding: 12px 15px 18px; }
.sim .acts { display: flex; justify-content: space-between; align-items: center; }
.sim .t { font-size: 15px; margin: 14px 0 12px; color: #333; line-height: 1.3; }
.sim .p { font-size: 21px; font-weight: 700; }
.sim .p small { font-size: 16px; }
.contact { margin-top: 26px; padding: 22px 20px; background: repeating-linear-gradient(45deg, #ddd 0 2px, #e9e9e9 2px 22px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact > div { background: #fff; padding: 26px 36px 36px; }
.contact h3 { margin: 0 0 22px; font-size: 21px; font-weight: 600; }
.contact input { width: 100%; border: 0; border-bottom: 1px solid #ccc; padding: 8px 0; font-size: 13px; }
.contact p { font-size: 12px; color: #333; margin: 14px 0 26px; }
.contact a.phone { color: var(--navy); font-size: 14px; display: block; margin-bottom: 40px; }
.contact .btn { height: 64px; margin-top: auto; }
.disc { font-size: 11.5px; font-style: italic; color: #555; line-height: 1.75; margin-top: 50px; }
.disc b { color: #333; }
.disc a { color: var(--navy); font-weight: 600; }
.offers { background: var(--soft); padding: 18px 20px 30px; margin-top: 50px; }
.offers h2 { margin: 0; font-size: 23px; font-weight: 600; }
.offers .otabs { display: flex; justify-content: center; gap: 28px; margin: 22px 0 22px; font-size: 14.5px; font-weight: 600; color: #777; }
.offers .otabs span.on { color: var(--navy); border-bottom: 2px solid var(--navy); padding-bottom: 4px; }
.offer-row { display: flex; gap: 33px; justify-content: center; flex-wrap: wrap; }
.offer { width: 195px; text-align: center; }
.offer .box { background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 12px 6px; }
.offer .box b { font-size: 26px; display: block; }
.offer .box span { font-size: 19px; display: block; color: #333; }
.offer .box small { color: var(--navy); font-weight: 600; font-size: 14px; }
.offer i { display: block; font-size: 14.5px; color: #555; margin: 18px 0; }
.offer .btn { height: 46px; font-size: 14.5px; }
/* right column */
.pricebox { border: 1px solid #eee; box-shadow: 0 2px 8px rgba(0,0,0,.08); padding: 26px 20px 22px; }
.pricebox div { display: flex; justify-content: space-between; font-size: 14px; color: #555; padding: 4px 0; }
.pricebox div.final { font-size: 15.5px; color: #555; text-transform: uppercase; letter-spacing: .3px; }
.pricebox div.final span { color: #333; }
.pricebox .details { color: var(--navy); font-size: 15px; margin-top: 12px; display: flex; gap: 6px; align-items: center; }
.pricebox .details .q { width: 14px; height: 14px; font-size: 10px; }
.side-btns { display: grid; gap: 16px; margin-top: 16px; }
.est { background: var(--navy-2); color: #fff; height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.est b { font-size: 19px; display: block; } .est small { font-size: 12px; }
.est .dot { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.wallet { margin-top: 26px; text-align: center; }
.wallet .wl { font-size: 24px; font-weight: 700; color: #333; letter-spacing: -.3px; }
.wallet .wl small { display: block; font-size: 10px; font-weight: 400; margin-top: -4px; text-align: right; padding-right: 110px; }
.calc { border: 1px solid #ddd; margin-top: 14px; text-align: left; }
.ctabs { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--soft); }
.ctabs button { border: 0; background: #e9e9e9; padding: 10px 0 8px; font-size: 14.5px; font-weight: 700; color: var(--navy); line-height: 1.1; margin: 0 1px; }
.ctabs button small { display: block; font-size: 10px; font-weight: 400; color: #333; margin-top: 3px; }
.ctabs button.on { background: #fff; }
.cbody { padding: 26px 16px 0; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 15px; }
.row .val { font-weight: 700; font-size: 17px; width: 118px; }
.row input { width: 118px; height: 50px; border: 1px solid #ccc; padding: 0 14px; font-size: 14px; }
.row .pm { color: #555; margin-left: auto; margin-right: 8px; }
.row small { display: block; font-size: 11.5px; color: var(--navy); font-weight: 700; line-height: 1.35; }
.calc hr { border: 0; border-top: 1px solid #bbb; margin: 26px 0; }
.selects { display: grid; grid-template-columns: 1fr 115px; gap: 6px; font-size: 15px; }
.selects select { height: 50px; border: 1px solid #ccc; padding: 0 12px; font-size: 13.5px; background: #fff; width: 100%; }
.result { text-align: center; margin: 22px 0 22px; }
.result h4 { margin: 0; font-size: 15.5px; font-weight: 600; }
.result .big { font-size: 34px; font-weight: 700; letter-spacing: -.5px; }
.result p { margin: 4px 0 0; font-size: 13px; color: #333; }
.result p a { color: var(--navy); font-weight: 700; }
.calc .btn { height: 46px; font-size: 14px; margin-bottom: 12px; }
.fine { font-size: 13px; text-align: center; color: #333; padding: 4px 0 14px; line-height: 1.45; }
.fine a { color: var(--navy); font-weight: 700; display: block; }
.lookup { background: #e8e8e8; text-align: center; padding: 14px 10px; font-size: 13.5px; }
.lookup b { display: block; } .lookup small { display: block; font-size: 11.5px; color: #555; margin: 4px 0; } .lookup a { color: var(--navy); font-weight: 700; }

/* ---------- Footer ---------- */
footer { background: #000; color: #fff; margin-top: 60px; padding: 50px 0 30px; }
.foot { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 290px 300px 1fr; gap: 20px; padding: 0 24px; }
.foot h2 { font-size: 28px; margin: 0 0 30px; line-height: 1.3; font-weight: 600; }
.foot .brands { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: 11.5px; font-weight: 600; width: 220px; margin-bottom: 30px; }
.foot p { font-size: 14.5px; margin: 0 0 14px; display: flex; gap: 9px; align-items: center; }
.foot .obtn { display: inline-block; border: 1.5px solid #fff; padding: 12px 20px; font-size: 14.5px; margin-top: 12px; }
.foot .map { height: 515px; background: #ccc; }
.map-ph { display: grid; place-items: center; background: repeating-linear-gradient(45deg, #2a2a2a 0 2px, #333 2px 26px) !important; color: #bbb; font-size: 18px; }
.foot .map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2); }
.foot-bottom { text-align: center; margin-top: 80px; font-size: 14.5px; }
.foot-bottom .lg { display: flex; justify-content: center; align-items: center; gap: 30px; font-size: 18px; font-weight: 600; }
.foot-bottom .lg .mark { color: #fff; } .foot-bottom .lg .mark svg { width: 44px; height: 44px; }
.foot-bottom .links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 56px; margin: 60px auto 0; max-width: 1240px; font-weight: 600; }
.foot-bottom .copy { margin-top: 40px; font-size: 13px; color: #ccc; display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.foot-bottom .copy b { color: #fff; }
.demo-note { margin-top: 18px; font-size: 11.5px; color: #8a8a8a; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; background: rgba(0,0,0,.92); display: none; z-index: 50; align-items: center; justify-content: center; }
.lb.on { display: flex; }
.lb img { max-width: 92vw; max-height: 86vh; }
.lb button { position: absolute; background: none; border: 0; color: #fff; font-size: 40px; }
.lb .c { top: 14px; right: 24px; } .lb .p { left: 20px; } .lb .n { right: 20px; }
.lb .k { position: absolute; bottom: 18px; color: #ddd; font-size: 14px; }

/* ---------- Phone ---------- */
@media (max-width: 1200px) {
  .vdp { padding: 20px 16px 60px; }
  .vdp-cols { grid-template-columns: minmax(0, 1fr) 360px; }
  .kf { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .topbar { height: 44px; justify-content: center; }
  .topbar .brands, .topbar .info { display: none; }
  .topbar::before { content: "Your Dealership"; font-size: 15px; font-weight: 600; }
  .mainnav { height: 62px; padding: 0 16px; gap: 14px; }
  .mainnav nav, .logo .name, .mainnav .search { display: none; }
  .burger { display: block; background: none; border: 0; padding: 0; width: 26px; }
  .burger span { display: block; height: 2px; background: var(--navy); margin: 5px 0; }
  .promo { height: 44px; font-size: 13.5px; } .promo .x { right: 14px; }
  .trade { display: none; }
  .srp { grid-template-columns: 1fr; margin-top: 0; }
  .side { display: none; } .side.open { display: block; }
  .filter-btn { display: flex !important; }
  .main { padding: 16px; }
  .grid { grid-template-columns: 1fr; }
  .vdp { padding: 16px 16px 40px; }
  .vdp-head { flex-direction: column; }
  .vdp-head h1 { font-size: 24px; }
  .vdp-head .tools { margin: 6px 0 0; }
  .vdp-cols { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
  .vdp-cols > *, .vdp-left > * { min-width: 0; max-width: 100%; }
  .vdp-head .ids { gap: 4px 14px; }
  .vdp-right { order: -1; }
  .vdp-left { display: contents; }
  .vdp-left > .gallery-wrap { order: -2; }
  .thumbs img { width: 120px; height: 90px; }
  .thumbs .arrow.l { left: 4px; } .thumbs .arrow.r { right: 4px; }
  .basic { grid-template-columns: 1fr; }
  .equip ul { columns: 1; }
  .sim-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .sec { margin-top: 44px; }
  .foot { grid-template-columns: 1fr; }
  .foot .map { height: 300px; }
  .foot-bottom .links { gap: 14px 26px; padding: 0 16px; }
  .row .val, .row input { width: 110px; }
}
.filter-btn { display: none; margin-bottom: 12px; }

/* ---------- Confirm Availability form ---------- */
.lead-bg { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 60; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 60px 16px; }
.lead { background: #fff; width: 100%; max-width: 900px; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.lead-top { display: flex; justify-content: space-between; align-items: stretch; border-bottom: 1px solid var(--line); }
.lead-top h2 { margin: 0; padding: 18px 30px; font-size: 19px; font-weight: 600; color: #444; }
.lead-x { border: 0; border-left: 1px solid var(--line); background: #fff; width: 60px; font-size: 22px; color: #222; }
.lead-car { background: var(--soft); display: flex; gap: 30px; align-items: center; padding: 26px 40px; }
.lead-car img { width: 250px; aspect-ratio: 4 / 3; object-fit: cover; flex: none; }
.lead-car h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.lead-car p { margin: 0; font-size: 13px; color: #555; line-height: 1.4; }
.lead-form { padding: 26px 40px 0; }
.fld { display: block; margin-bottom: 20px; }
.fld span { display: block; font-size: 15px; color: #777; }
.fld span i { color: #c8102e; font-style: normal; }
.fld input { width: 100%; border: 0; border-bottom: 1px solid #c8c8c8; padding: 10px 0 8px; font-size: 16px; outline: 0; background: none; }
.fld input:focus { border-bottom-color: var(--navy); }
.fld select { width: 100%; height: 40px; border: 1px solid #c8c8c8; padding: 0 10px; font-size: 15px; margin-top: 8px; background: #fff; }
.fld em { display: block; font-style: normal; font-size: 12.5px; color: #c8102e; min-height: 0; margin-top: 4px; }
.fld.bad input, .fld.bad select { border-bottom-color: #c8102e; }
.consent { display: flex; gap: 14px; align-items: flex-start; font-size: 12px; color: #555; line-height: 2.2; margin: 10px 0 20px; }
.consent input { margin-top: 6px; flex: none; }
.lead-msg { color: #c8102e; font-size: 13.5px; min-height: 18px; }
.lead-foot { border-top: 1px solid var(--line); margin: 16px -40px 0; padding: 30px 30px; display: flex; justify-content: flex-end; }
.lead-foot .btn { width: 212px; height: 56px; font-weight: 600; font-size: 15.5px; }
.lead-foot .btn:disabled { opacity: .7; cursor: default; }
.lead-done { text-align: center; padding: 50px 40px 50px; }
.lead-done .ok { width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 30px; display: grid; place-items: center; margin: 0 auto 18px; }
.lead-done h3 { margin: 0 0 10px; font-size: 22px; }
.lead-done p { color: #555; max-width: 520px; margin: 0 auto 26px; line-height: 1.6; }
.lead-done .btn { width: 200px; margin: 0 auto; }
@media (max-width: 700px) {
  .lead-bg { padding: 0; }
  .lead { min-height: 100%; }
  .lead-top h2 { padding: 16px 18px; }
  .lead-car { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; }
  .lead-car img { width: 100%; }
  .lead-form { padding: 20px 18px 0; }
  .lead-foot { margin: 16px -18px 0; padding: 18px; }
  .lead-foot .btn { width: 100%; }
}

/* Clare AI live demo: slim strip above the dealer header */
.demo-ribbon { background: #0b1220; color: #cfd8ea; font-size: 12.5px; text-align: center; padding: 7px 16px; line-height: 1.4; }
.demo-ribbon a { color: #fff; font-weight: 700; margin-left: 4px; white-space: nowrap; }
