:root {
  --bg: #0c0d10;
  --surface: #12151b;
  --surface-2: #181c24;
  --card: #ffffff;
  --muted: #6b7280;
  --text: #10131a;
  --text-light: #f6f7f9;
  --line: #e5e7eb;
  --accent: #e1241e;
  --accent-dark: #b81a15;
  --shadow: 0 14px 32px rgba(8, 10, 14, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #f4f6f9;
  line-height: 1.5;
}
main { overflow: clip; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(8, 10, 14, 0.94);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
}
.brand-badge {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  flex: 0 0 auto;
}
.brand-badge img {
  height: 54px;
  width: auto;
  max-width: min(42vw, 250px);
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #f2f4f7;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.nav-links a { opacity: .88; }
.nav-links a.active, .nav-links a:hover { opacity: 1; color: #fff; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.phone-link {
  color: #fff;
  white-space: nowrap;
  font-weight: 700;
  font-size: 15px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 14px 20px;
  font-weight: 800;
  line-height: 1;
  transition: .18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark {
  background: rgba(255,255,255,.04);
  color: #fff;
  border-color: rgba(255,255,255,.18);
}
.btn-light {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: #d1d5db;
}
.btn-sm { padding: 11px 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 28px;
}

.hero {
  position: relative;
  color: var(--text-light);
  padding: 22px 0 0;
  background: linear-gradient(180deg, #0a0c10 0%, #11161d 100%);
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,7,10,.93) 0%, rgba(6,8,12,.88) 28%, rgba(7,10,14,.60) 50%, rgba(7,10,14,.22) 72%, rgba(7,10,14,.30) 100%),
    radial-gradient(circle at 82% 20%, rgba(225,36,30,.10), transparent 26%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: end;
  min-height: 610px;
  padding: 36px 0 90px;
}
.hero-copy { max-width: 840px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #f3a8a5;
  font-weight: 700;
}
.eyebrow::before { content: ""; width: 42px; height: 2px; background: var(--accent); }
.hero h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.45rem);
  line-height: 1.02;
  margin: 14px 0 14px;
  text-shadow: 0 12px 34px rgba(0,0,0,.35);
}
.hero-line {
  display: block;
  white-space: nowrap;
}
.hero p {
  font-size: 1.08rem;
  color: rgba(255,255,255,.86);
  max-width: 620px;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.hero-points {
  display:flex; flex-wrap:wrap; gap:16px; margin-top:26px;
  color:rgba(255,255,255,.72); font-size:13px; text-transform:uppercase; letter-spacing:.12em;
}
.hero-visual { display:none; }
.hero-ribbon {
  position: relative;
  z-index: 2;
  background: rgba(11,14,18,.76);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.trust-item:last-child { border-right: 0; }
.trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(225,36,30,.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex: 0 0 auto;
}
.trust-item strong {
  display: block;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}
.trust-item span {
  display: block;
  color: rgba(255,255,255,.68);
  font-size: 14px;
}

section { padding: 64px 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
}
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 650px; }
.section-link { color: var(--accent); font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; }

.search-panel {
  margin-top: 26px;
  position: relative;
  z-index: 2;
}
.search-box {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.search-box h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}
.filter-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr) auto;
  gap: 12px;
}
.field, .field textarea {
  width: 100%;
  border: 1px solid #dbe1e7;
  border-radius: 12px;
  padding: 14px 14px;
  background: #fff;
}
textarea.field { min-height: 120px; resize: vertical; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.form-grid .full { grid-column: 1 / -1; }
.form-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.form-card h3 { margin-top: 0; }
.form-help { color: var(--muted); font-size: 14px; margin-top: -6px; }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.vehicle-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.vehicle-photo {
  height: 220px;
  background: linear-gradient(135deg, #c4c8cf, #8f98a8);
  position: relative;
}
.vehicle-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vehicle-status {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(14, 18, 24, .82);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}
.vehicle-body { padding: 18px; }
.vehicle-kicker {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 700;
}
.vehicle-title {
  font-size: 1.34rem;
  line-height: 1.12;
  margin: 6px 0 10px;
}
.vehicle-card:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(8,10,14,.14); }
.vehicle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #525a65;
  font-size: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.vehicle-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
}
.price {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--accent);
}
.surface-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.page-panel { background:#fff; border-radius:22px; padding:28px; box-shadow:var(--shadow); }
.badge { display:inline-flex; align-items:center; gap:8px; background:rgba(225,36,30,.08); color:var(--accent); border:1px solid rgba(225,36,30,.14); border-radius:999px; padding:7px 12px; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.dark-card {
  background: linear-gradient(180deg, #0f1318 0%, #181d25 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.dark-card p, .dark-card li { color: rgba(255,255,255,.8); }
.dark-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(225,36,30,.28), transparent 62%);
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
.checklist.single { grid-template-columns: 1fr; }
.checklist li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
  margin-right: 10px;
}
.feature-bands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.band {
  display: flex;
  gap: 18px;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.band-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  display: grid;
  place-items: center;
  font-size: 30px;
  color: var(--text);
  flex: 0 0 auto;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.why-item, .review-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.why-item h4, .review-card h4 { margin: 12px 0 8px; }
.icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(225,36,30,.08);
  color: var(--accent);
  font-size: 24px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stars { color: #df221d; font-size: 18px; letter-spacing: 2px; }
.review-card p { color: #505661; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr .78fr;
  gap: 22px;
}
.map-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
.map-card img, .map-card iframe { width: 100%; height: 100%; min-height:320px; object-fit: cover; border:0; }
.map-overlay {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  background: rgba(255,255,255,.96);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.hours-list {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.hours-list td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.hours-list tr:last-child td { border-bottom: 0; }
.hours-list td:last-child { text-align: right; font-weight: 700; }

.page-hero {
  position: relative;
  background:
    radial-gradient(circle at 84% 16%, rgba(225,36,30,.18), transparent 22%),
    linear-gradient(180deg, #0a0c10 0%, #151920 100%);
  color: #fff;
  padding: 82px 0 60px;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(225,36,30,.22), transparent 65%);
  filter: blur(12px);
}
.page-hero h1 { margin: 10px 0 10px; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.page-hero p { max-width: 700px; color: rgba(255,255,255,.8); }
.breadcrumbs { color: rgba(255,255,255,.64); font-size: 14px; }

.inventory-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 26px;
}
.side-panel {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  height: fit-content;
}
.vehicle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.result-count { color: var(--muted); font-weight: 700; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.spec {
  background: #f7f8fa;
  border-radius: 12px;
  padding: 14px;
}
.spec span { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.spec strong { display: block; margin-top: 6px; font-size: 1rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.gallery-main { grid-column: 1 / -1; height: 420px; border-radius: 18px; overflow: hidden; }
.gallery-main img, .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb { height: 170px; border-radius: 18px; overflow: hidden; }
.vehicle-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
}
.notice {
  padding: 14px 16px;
  background: rgba(225,36,30,.08);
  border: 1px solid rgba(225,36,30,.18);
  border-radius: 12px;
}

.footer {
  padding: 28px 0 18px;
  background: #0a0d12;
  color: rgba(255,255,255,.78);
}
.footer .brand-badge img { max-width: 220px; height: auto; }
.inline-link { color: var(--accent); font-weight: 700; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr .8fr .95fr;
  gap: 24px;
  padding: 28px 0;
}
.footer h4 { color: #fff; margin-bottom: 12px; text-transform: uppercase; font-size: 14px; letter-spacing: .08em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 8px 0; }
.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}

.muted { color: var(--muted); }
.center { text-align: center; }
.hidden { display: none !important; }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .mobile-toggle { display: inline-block; }
  .nav-wrap { min-height: 76px; }
  .hero-grid, .split, .feature-bands, .contact-grid, .vehicle-layout, .inventory-layout { grid-template-columns: 1fr; }
  .hero-grid { min-height: 500px; }
  .cards-3, .review-grid, .why-grid, .vehicle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid, .filter-grid, .form-grid, .footer-grid, .checklist { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 22px), var(--max)); }
  .brand-badge img { height: 42px; max-width: 160px; }
  .phone-link { display: none; }
  .nav-actions .btn { display: none; }
  .hero {
    padding-top: 18px;
    background:
      linear-gradient(180deg, rgba(5,7,10,.96) 0%, rgba(6,9,13,.88) 42%, rgba(7,10,14,.90) 100%),
      var(--hero-image, url('../images/hero-original-sports-car.png')) 72% center / cover no-repeat,
      linear-gradient(180deg, #0a0c10 0%, #11161d 100%);
  }
  .hero-grid { min-height: auto; padding: 24px 0 42px; }
  .hero h1 { font-size: 2.45rem; }
  .hero-line { white-space: normal; }
  .search-panel { margin-top: 18px; }
  .cards-3, .review-grid, .why-grid, .trust-grid, .filter-grid, .form-grid, .footer-grid, .checklist, .vehicle-grid, .spec-grid, .gallery-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .vehicle-title { font-size: 1.4rem; }
  .gallery-main { height: 280px; }
  .gallery-thumb { height: 140px; }
}

.inventory-note { color: var(--muted); font-size: 14px; }
.cta-band { background: linear-gradient(135deg, #10141a, #171c24); color: #fff; border-radius: 24px; padding: 30px; display:flex; align-items:center; justify-content:space-between; gap:20px; box-shadow: var(--shadow); }
.cta-band p { color: rgba(255,255,255,.78); margin: 8px 0 0; max-width: 700px; }
@media (max-width: 840px) { .cta-band { flex-direction: column; align-items: flex-start; } }

.vehicle-badge { position:absolute; top:14px; right:14px; background:var(--accent); color:#fff; padding:6px 10px; border-radius:999px; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.sold-overlay { position:absolute; inset:0; display:grid; place-items:center; background:rgba(7,9,12,.58); color:#fff; font-size:2.2rem; font-weight:900; letter-spacing:.14em; }
.price-label { font-size:12px; text-transform:uppercase; letter-spacing:.08em; font-weight:700; }
.vin-row { display:grid; grid-template-columns:1fr auto; gap:10px; align-items:center; }
.small-status { margin-top:8px; min-height:20px; font-size:13px; color:var(--muted); }

.old-price{font-size:.72em;color:var(--muted);text-decoration:line-through;font-weight:600;margin-right:6px}

/* Customer-facing cleanup revision */
.simple-page-hero { padding: 74px 0 54px; }
.simple-page-hero h1 { max-width: 920px; }
.simple-page-hero p { max-width: 760px; }
.vehicle-photo { height: 235px; background:#eceff3; }
.vehicle-photo img { object-fit: cover; object-position: center center; }
.vehicle-status.special-status { background: rgba(12,14,18,.9); color:#fff; }
.price-hidden { font-size:1.15rem; color:#111827; white-space:nowrap; }
.footer [data-hours-list] { display:grid; gap:8px; max-width:280px; }
.footer [data-hours-list] li { margin:0; display:grid; grid-template-columns: 104px 1fr; gap:14px; align-items:baseline; }
.footer [data-hours-list] li span { white-space:nowrap; }
.footer [data-hours-list] li strong { color:rgba(255,255,255,.9); font-weight:600; white-space:nowrap; }
.footer-grid > div { min-width:0; }
@media (max-width: 1080px) {
  .vehicle-photo { height: 250px; }
}
@media (max-width: 720px) {
  .vehicle-photo { height: 240px; }
  .footer [data-hours-list] li { grid-template-columns: 96px 1fr; }
}

/* Price-change clarity */
.detail-old-price{font-size:.46em;margin:0 0 4px;color:#7a818b;line-height:1.2;}
.vehicle-badge{max-width:calc(100% - 28px);white-space:nowrap;}

.price-drop-stack{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.price-drop-label{font-size:11px;line-height:1.1;text-transform:uppercase;letter-spacing:.09em;color:var(--accent);font-weight:900;margin-bottom:2px}.price-drop-stack .old-price{font-size:.92rem;margin:0;color:#8a9099}.price-drop-stack .price{margin:0}.detail-old-price{display:block;font-size:.95rem!important;margin:3px 0 2px!important;color:#7a818b!important}.vehicle-photo .vehicle-badge{top:14px;right:14px}


/* V7 vehicle detail and pricing polish */
.price { display:flex; flex-direction:column; align-items:flex-start; gap:1px; }
.price-amount { line-height:1; }
.price-tax { display:block; font-size:.72rem; line-height:1.2; color:#69717c; font-weight:700; margin-top:5px; }
.price-drop-stack .price-tax { margin-top:4px; }
.vehicle-card-actions { display:flex; flex-direction:column; align-items:flex-end; gap:7px; }
.carfax-mini-link { font-size:12px; font-weight:900; letter-spacing:.04em; color:#223b69; text-decoration:underline; text-underline-offset:3px; }
.vehicle-detail-heading { background:#0c0f13; color:#fff; padding:34px 0 30px; }
.back-inventory { display:inline-block; color:rgba(255,255,255,.7); font-size:14px; font-weight:700; margin-bottom:18px; }
.vehicle-heading-row { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; }
.vehicle-heading-row h1 { margin:5px 0 0; font-size:clamp(2rem,4vw,3.35rem); line-height:1.04; }
.detail-badge { background:var(--accent); padding:8px 12px; border-radius:999px; text-transform:uppercase; font-size:11px; letter-spacing:.08em; font-weight:900; }
.vehicle-detail-section { padding-top:34px; }
.vehicle-detail-top { display:grid; grid-template-columns:minmax(0,1.16fr) minmax(390px,.84fr); gap:28px; align-items:start; }
.vehicle-gallery-panel,.vehicle-overview-panel { min-width:0; }
.detail-gallery-main { height:520px; border-radius:20px; overflow:hidden; background:#e8ebef; box-shadow:var(--shadow); }
.detail-gallery-main img { width:100%; height:100%; object-fit:cover; }
.detail-thumb-row { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin-top:11px; }
.detail-thumb-row .gallery-thumb { border:2px solid transparent; border-radius:12px; padding:0; overflow:hidden; height:92px; cursor:pointer; background:#e8ebef; }
.detail-thumb-row .gallery-thumb:hover { border-color:var(--accent); }
.detail-thumb-row .gallery-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.vehicle-overview-panel { background:#fff; border-radius:20px; padding:28px; box-shadow:var(--shadow); }
.vehicle-overview-panel h2 { font-size:2rem; line-height:1.12; margin:10px 0 10px; }
.vehicle-overview-panel p { color:var(--muted); margin:0 0 22px; }
.overview-spec-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.overview-spec { padding:13px 14px; border-bottom:1px solid var(--line); }
.overview-spec:nth-child(odd) { border-right:1px solid var(--line); }
.overview-spec:nth-last-child(-n+2) { border-bottom:0; }
.overview-spec span { display:block; color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.07em; font-weight:800; margin-bottom:4px; }
.overview-spec strong { display:block; font-size:14px; overflow-wrap:anywhere; }
.overview-price-card { margin-top:22px; padding-top:21px; border-top:1px solid var(--line); }
.detail-price-wrap .price { margin-top:4px; font-size:2.2rem; }
.vehicle-price-state { display:flex; flex-direction:column; gap:5px; background:#f5f6f8; border-radius:12px; padding:15px; }
.vehicle-price-state strong { font-size:1.15rem; color:var(--accent); }
.vehicle-price-state span { color:var(--muted); font-size:14px; }
.overview-actions { display:grid; gap:10px; margin-top:18px; }
.vehicle-detail-stack { display:grid; grid-template-columns:1fr; gap:24px; margin-top:28px; }
.detail-row-card { margin:0; }
.detail-row-heading h2 { margin:8px 0 6px; }
.detail-row-heading p { color:var(--muted); margin:0 0 18px; }
.detail-feature-list { grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:20px; }
.similar-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width:1080px){
  .vehicle-detail-top { grid-template-columns:1fr; }
  .detail-gallery-main { height:470px; }
  .vehicle-overview-panel { max-width:none; }
}
@media (max-width:720px){
  .vehicle-detail-heading { padding:25px 0 22px; }
  .vehicle-heading-row { align-items:flex-start; flex-direction:column; }
  .vehicle-heading-row h1 { font-size:2rem; }
  .vehicle-detail-section { padding-top:20px; }
  .detail-gallery-main { height:300px; border-radius:14px; }
  .detail-thumb-row { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .detail-thumb-row .gallery-thumb { height:67px; }
  .vehicle-overview-panel { padding:20px; border-radius:14px; }
  .overview-spec-grid { grid-template-columns:1fr; }
  .overview-spec:nth-child(odd) { border-right:0; }
  .overview-spec:nth-last-child(-n+2) { border-bottom:1px solid var(--line); }
  .overview-spec:last-child { border-bottom:0; }
  .detail-feature-list,.similar-grid { grid-template-columns:1fr; }
}

/* V8 vehicle detail hierarchy */
.vehicle-overview-panel .overview-summary { margin:12px 0 22px; }


/* Final pre-Supabase accessibility/form polish */
.consent-row{display:flex;align-items:flex-start;gap:10px;font-size:.88rem;line-height:1.45;color:var(--muted);}
.consent-row input{width:18px;height:18px;margin-top:2px;flex:0 0 auto;accent-color:var(--accent);}
.consent-row a{text-decoration:underline;font-weight:700;}
:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 75%,white);outline-offset:3px;}
.vehicle-photo img,.gallery-main img,.gallery-thumb img{background:#eceff2;}

.inventory-disclaimer,.vehicle-disclaimer{font-size:.82rem;line-height:1.5;color:var(--muted);margin:10px 0 0;}
.inventory-disclaimer{max-width:920px;}
