/* ============================================================
   CarHunch Homepage v2 — Self-contained styles
   NO dependency on theme style.css. This file owns the page.
   ============================================================
   Design system (source of truth for site-wide v2):
   - Tokens: --ch-bg, --ch-card, --ch-text, --ch-muted, --ch-primary,
     --ch-primary-light, --ch-border, --ch-dark, --ch-radius, --ch-shadow,
     --ch-max-w. Use these instead of hard-coded colours.
   - Layout: .container (max-width 1200px), .ch-content (1100px), .ch-section.
   - Typography: body.ch-v2 sets font Inter, line-height 1.5; headings in .ch-section.
   - Buttons: .ch-btn-primary (primary), .ch-btn-secondary (outline).
   - Cards: .ch-feature-card, .ch-metric-card; icon + text with .ch-card-icon, .ch-feature-text.
   - Hero: .ch-hero, .ch-hero-sub, .ch-cta-block.
   ============================================================ */

/* --- 1. Nuclear reset: kill anything wp_head() injected --- */
body.ch-v2 *,
body.ch-v2 *::before,
body.ch-v2 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.ch-v2 {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  background: #f8fafc !important;
  font-family: "Inter", system-ui, -apple-system, sans-serif !important;
  color: #0f172a !important;
  line-height: 1.5 !important;
  text-align: left !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.ch-v2.admin-bar { margin-top: 0 !important; }
html { margin-top: 0 !important; }

/* --- 2. Design tokens --- */
body.ch-v2 {
  --ch-bg: #f8fafc;
  --ch-card: #ffffff;
  --ch-text: #0f172a;
  --ch-muted: #64748b;
  --ch-primary: #2563eb;
  --ch-primary-light: #3b82f6;
  --ch-border: #e2e8f0;
  --ch-dark: #0f172a;
  --ch-dark-lighter: #1e293b;
  --ch-radius: 16px;
  --ch-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  --ch-shadow-hover: 0 15px 40px rgba(15, 23, 42, 0.08);
  --ch-max-w: 1200px;
}

/* Front page only: use number-plate blue so brand and plate match */
body.ch-v2.ch-front-page {
  --ch-primary: #003399;
  --ch-primary-light: #0044b3;
}

/* ── UK Number Plate Font ── */
@font-face {
  font-family: 'Charles Wright';
  src: url('assets/fonts/CharlesWright-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── UK Number Plate (Display) — scoped under .ch-v2 so link styles don't override ── */
.ch-v2 .uk-plate {
  display: inline-flex;
  align-items: stretch;
  background: #FFCD00 !important;
  border: 3px solid #111 !important;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.35);
  font-family: 'Charles Wright', 'Arial Black', 'Arial', sans-serif;
  position: relative;
  max-width: 100%;
}

.ch-v2 .uk-plate::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.35) 0%,
    rgba(255,255,255,0.08) 50%,
    transparent 100%
  );
  border-radius: 5px 5px 0 0;
  pointer-events: none;
}

.ch-v2 .uk-plate__country {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #003399 !important;
  color: #fff !important;
  padding: 0 10px;
  min-width: 36px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  gap: 2px;
}

.ch-v2 .uk-plate__country::before {
  content: '★';
  font-size: 10px;
  color: #FFD700;
}

.ch-v2 .uk-plate__reg {
  padding: 8px 20px 8px 16px;
  font-size: 2.8rem;
  font-weight: 700;
  color: #111 !important;
  letter-spacing: 2px;
  white-space: nowrap;
  line-height: 1.1;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.08);
}

.ch-v2 .uk-plate--branded .uk-plate__dealer {
  position: absolute;
  bottom: 0;
  left: 36px;
  right: 0;
  text-align: center;
  background: rgba(245,245,245,0.85);
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 600;
  color: var(--ch-primary);
  padding: 1px 0;
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* ── Size variants ── */
.ch-v2 .uk-plate--lg .uk-plate__reg {
  font-size: 3.2rem;
  padding: 12px 24px 14px 20px;
}

.ch-v2 .uk-plate--sm .uk-plate__reg {
  font-size: 1.8rem;
  padding: 6px 14px 6px 12px;
}

.ch-v2 .uk-plate--sm .uk-plate__country {
  min-width: 28px;
  padding: 0 6px;
  font-size: 11px;
}

.ch-v2 .uk-plate--xs .uk-plate__reg {
  font-size: 1.2rem;
  padding: 4px 10px 4px 8px;
  letter-spacing: 1px;
}

.ch-v2 .uk-plate--xs .uk-plate__country {
  min-width: 22px;
  padding: 0 4px;
  font-size: 9px;
}

.ch-v2 .uk-plate--xs .uk-plate__country::before {
  display: none;
}

.ch-v2 .uk-plate--front {
  background: #fff !important;
}

@media (max-width: 600px) {
  .ch-v2 .uk-plate__reg {
    font-size: 2rem;
    padding: 6px 14px 6px 12px;
  }
  .ch-v2 .uk-plate--lg .uk-plate__reg {
    font-size: 2.4rem;
    padding: 8px 18px 10px 14px;
  }
}

/* Hero samples: plates as links — smaller so they don't compete with main search */
.ch-v2 .ch-hero-samples .uk-plate {
  vertical-align: middle;
  border-width: 2px !important;
}

.ch-v2 .ch-hero-samples .uk-plate.uk-plate--sm .uk-plate__reg {
  font-size: 0.95rem;
  padding: 3px 8px 3px 6px;
  letter-spacing: 1px;
}

.ch-v2 .ch-hero-samples .uk-plate.uk-plate--sm .uk-plate__country {
  min-width: 18px;
  padding: 0 4px;
  font-size: 8px;
}

.ch-v2 .ch-hero-samples .uk-plate.uk-plate--sm .uk-plate__country::before {
  font-size: 6px;
}

.ch-v2 .ch-hero-samples a:hover {
  text-decoration: none;
}

/* --- 3. Utility classes --- */
.ch-v2 .container {
  max-width: var(--ch-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.ch-v2 .gradient-text {
  background: linear-gradient(90deg, var(--ch-primary), var(--ch-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ch-v2 .italic-text {
  font-style: italic;
  font-weight: 700;
}

/* --- 4. Header --- */
.ch-v2 .ch-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--ch-border);
}

.ch-v2 .ch-header.scrolled {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.9);
}

.ch-v2 .ch-header-inner {
  max-width: var(--ch-max-w);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 24px;
}

.ch-v2 .ch-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ch-text);
  font-weight: 700;
  font-size: 1.25rem;
}

.ch-v2 .ch-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--ch-primary);
  color: #fff;
  border-radius: 0.5rem;
  line-height: 1;
}

.ch-v2 .ch-logo-icon svg.ch-car-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.ch-v2 .ch-logo-text {
  letter-spacing: -0.02em;
  font-weight: 900;
}

.ch-v2 .ch-logo-accent {
  color: var(--ch-primary);
}

.ch-v2 .ch-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.ch-v2 .ch-nav a {
  color: var(--ch-muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ch-v2 .ch-nav a:hover {
  color: var(--ch-primary);
}

.ch-v2 .ch-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ch-v2 .ch-sign-in {
  color: var(--ch-muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.ch-v2 .ch-sign-in:hover {
  color: var(--ch-primary);
}

.ch-v2 .ch-btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--ch-primary);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.ch-v2 .ch-btn-primary:hover {
  transform: scale(1.02);
}

.ch-v2 .ch-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  color: var(--ch-text);
}

.ch-v2 .ch-hamburger:hover {
  background: var(--ch-border);
}

.ch-v2 .ch-hamburger-icon,
.ch-v2 .ch-hamburger-icon::before,
.ch-v2 .ch-hamburger-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.ch-v2 .ch-hamburger-icon {
  position: relative;
}

.ch-v2 .ch-hamburger-icon::before,
.ch-v2 .ch-hamburger-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.ch-v2 .ch-hamburger-icon::before {
  top: -6px;
}

.ch-v2 .ch-hamburger-icon::after {
  top: 6px;
}

.ch-v2 .ch-hamburger[aria-expanded="true"] .ch-hamburger-icon {
  background: transparent;
}

.ch-v2 .ch-hamburger[aria-expanded="true"] .ch-hamburger-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.ch-v2 .ch-hamburger[aria-expanded="true"] .ch-hamburger-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* --- 5. Hero --- */
.ch-v2 .ch-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 40px;
  text-align: center;
  background: #f5f6f8;
}

/* Background: subtle grey car image + gradient overlay (mock look) */
.ch-v2 .ch-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ch-v2 .ch-hero-bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(1);
}

/* Overlay on top of image: full-height gradient so bottom 10–20% is solid #f5f6f8,
   matching ch-metrics below. Masks image edge so no visible line. */
.ch-v2 .ch-hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(245, 246, 248, 0.5) 50%,
    rgba(245, 246, 248, 1) 90%,
    #f5f6f8 100%
  );
}

.ch-v2 .ch-hero-inner {
  position: relative;
  z-index: 10;
}

/* --- Full-page background (vehicle page etc.): same car image + gradient as hero --- */
.ch-v2.ch-v2-page-bg {
  background: #f5f6f8;
}

.ch-v2.ch-v2-page-bg .ch-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ch-v2.ch-v2-page-bg .ch-page-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(1);
}

.ch-v2.ch-v2-page-bg .ch-page-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(245, 246, 248, 0.5) 50%,
    rgba(245, 246, 248, 1) 90%,
    #f5f6f8 100%
  );
}

.ch-v2.ch-v2-page-bg .ch-page-content {
  position: relative;
  z-index: 1;
}

.ch-v2 .ch-hero-badge {
  display: inline-block;
  background: rgba(13, 89, 242, 0.1);
  color: var(--ch-primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.ch-v2 .ch-hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 1.5rem 0 1.5rem;
  color: var(--ch-text);
}

.ch-v2 .ch-hero-highlight {
  color: var(--ch-primary);
  font-style: italic;
  font-weight: 900;
}

.ch-v2 .ch-hero-sub {
  font-size: 18px;
  color: var(--ch-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.ch-v2 .ch-search-wrapper {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--ch-radius);
  box-shadow: var(--ch-shadow);
  max-width: 560px;
  margin: 0 auto 1rem;
  overflow: hidden;
}

.ch-v2 .ch-search-uk {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: var(--ch-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  align-self: stretch;
  border-radius: var(--ch-radius) 0 0 var(--ch-radius);
}

.ch-v2 .ch-search-wrapper input {
  flex: 1;
  border: 2px solid #eab308;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  font-family: inherit;
  background: #FFD700;
  min-width: 0;
  height: auto;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ch-v2 .ch-search-wrapper input::placeholder {
  color: #713f12;
  font-weight: 600;
  opacity: 0.9;
}

.ch-v2 .ch-search-wrapper input:focus {
  outline: none;
}

.ch-v2 .ch-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ch-primary);
  color: #fff;
  border: none;
  padding: 0 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease;
  line-height: 1.5;
  align-self: stretch;
  border-radius: 0 var(--ch-radius) var(--ch-radius) 0;
}

.ch-v2 .ch-search-btn:hover {
  transform: scale(1.02);
}

/* ── Plate-style search input ── */
.ch-v2 .ch-plate-input {
  background: #FFCD00 !important;
  border: 3px solid #111 !important;
  border-radius: 8px !important;
  box-shadow:
    0 4px 16px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.3) !important;
  max-width: 520px !important;
  position: relative;
  overflow: hidden;
}

.ch-v2 .ch-plate-input .ch-search-uk {
  background: #003399 !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 0 14px;
  min-width: 40px;
  border-radius: 4px 0 0 4px;
}

.ch-v2 .ch-plate-input input {
  background: transparent !important;
  border: none !important;
  font-family: 'Charles Wright', 'Arial Black', 'Arial', sans-serif !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  letter-spacing: 3px !important;
  color: #111 !important;
  text-transform: uppercase;
  text-align: center;
  padding: 0.6rem 0.5rem !important;
  min-width: 0;
}

.ch-v2 .ch-plate-input input::placeholder {
  color: rgba(0,0,0,0.25) !important;
  font-weight: 700 !important;
  letter-spacing: 3px;
}

.ch-v2 .ch-plate-input input:focus {
  outline: none !important;
}

.ch-v2 .ch-plate-input .ch-search-btn {
  border-radius: 0 4px 4px 0;
  font-weight: 700;
  padding: 0 1.2rem;
}

@media (max-width: 600px) {
  .ch-v2 .ch-plate-input input {
    font-size: 1.4rem !important;
    letter-spacing: 2px !important;
  }
}

.ch-v2 .ch-search-dvla,
.ch-v2 .ch-hero-samples {
  text-align: center;
}

.ch-v2 .ch-hero-samples a {
  margin: 0 0.25em;
}

.ch-v2 .ch-search-dvla {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #059669;
  margin-bottom: 0.5rem;
}

.ch-v2 .ch-search-dvla::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #059669;
  border-radius: 50%;
}

.ch-v2 .ch-hero-samples {
  margin-top: 0.5rem;
  font-size: 14px;
  color: var(--ch-muted);
}

.ch-v2 .ch-hero-samples a {
  color: var(--ch-primary);
  text-decoration: none;
  font-weight: 500;
}

.ch-v2 .ch-hero-samples a:hover {
  text-decoration: underline;
}

/* --- 6. Metrics row --- */
.ch-v2 .ch-metrics {
  padding: 30px 0 40px;
  background: #f5f6f8;
}

.ch-v2 .ch-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ch-v2 .ch-metric-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: var(--ch-radius);
  padding: 32px;
  border: 1px solid var(--ch-border);
  box-shadow: var(--ch-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ch-v2 .ch-metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ch-shadow-hover);
}

.ch-v2 .ch-metric-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--ch-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch-v2 .ch-metric-text {
  min-width: 0;
}

.ch-v2 .ch-metric-card .ch-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ch-text);
  margin-bottom: 0.25rem;
}

.ch-v2 .ch-metric-card.ch-metric-dominant .ch-value {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  background: linear-gradient(90deg, var(--ch-primary), var(--ch-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ch-v2 .ch-metric-card .ch-label {
  font-size: 15px;
  color: var(--ch-muted);
}

/* --- 7. Why CarHunch --- */
.ch-v2 .ch-why {
  padding: 40px 0 80px;
  background: #f5f6f8;
}

.ch-v2 .ch-why-label {
  color: var(--ch-primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.ch-v2 .ch-why-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.ch-v2 .ch-why-heading {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--ch-text);
  margin: 0;
}

.ch-v2 .ch-why-desc {
  color: var(--ch-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 400px;
  text-align: right;
}

.ch-v2 .ch-feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 4-card sections: 2×2 layout instead of 3+1 */
.ch-v2 .ch-feature-cards:has(.ch-feature-card:nth-child(4):last-child) {
  grid-template-columns: repeat(2, 1fr);
}

.ch-v2 .ch-feature-card {
  background: #fff;
  border-radius: var(--ch-radius);
  padding: 24px;
  border: 1px solid var(--ch-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--ch-shadow);
}

.ch-v2 .ch-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ch-shadow-hover);
}

.ch-v2 .ch-feature-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ch-v2 .ch-feature-card .ch-card-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--ch-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch-v2 .ch-feature-text {
  min-width: 0;
}

.ch-v2 .ch-feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ch-text);
  margin: 0 0 0.25rem;
}

.ch-v2 .ch-feature-card .ch-card-desc {
  font-size: 0.95rem;
  color: var(--ch-muted);
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ch-v2 .ch-feature-placeholder {
  min-height: 80px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch-v2 .ch-placeholder-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.ch-v2 .ch-placeholder-bars span {
  width: 12px;
  border-radius: 4px;
  min-height: 8px;
}

.ch-v2 .ch-placeholder-hbars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.ch-v2 .ch-placeholder-hbars span {
  height: 8px;
  border-radius: 4px;
  background: var(--ch-primary);
  opacity: 0.6;
}

/* Feature card graphics (Why CarHunch) */
.ch-v2 .ch-feature-card-graphic {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ch-border);
}

.ch-v2 .ch-mot-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 56px;
}

.ch-v2 .ch-mot-chart .bar {
  flex: 1;
  min-width: 24px;
  border-radius: 6px 6px 0 0;
}

.ch-v2 .ch-mot-chart .bar.pass { background: #059669; }
.ch-v2 .ch-mot-chart .bar.fail { background: #dc2626; }

.ch-v2 .ch-mot-chart-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--ch-muted);
}

.ch-v2 .ch-mot-chart-labels span { flex: 1; min-width: 0; text-align: center; }

.ch-v2 .ch-hunch-circle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ch-v2 .ch-hunch-circle {
  width: 72px;
  height: 72px;
  position: relative;
}

.ch-v2 .ch-hunch-circle svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ch-v2 .ch-hunch-circle .track {
  fill: none;
  stroke: var(--ch-border);
  stroke-width: 8;
}

.ch-v2 .ch-hunch-circle .fill {
  fill: none;
  stroke: var(--ch-primary);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dasharray 0.3s ease;
}

.ch-v2 .ch-hunch-circle .pct-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: 700;
  color: var(--ch-text);
}

.ch-v2 .ch-hunch-circle-caption {
  font-size: 11px;
  color: var(--ch-muted);
  text-align: center;
}

.ch-v2 .ch-compare-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ch-v2 .ch-compare-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ch-text);
}

.ch-v2 .ch-compare-bar-row .label { flex: 0 0 72px; color: var(--ch-muted); }

.ch-v2 .ch-compare-bar-row .track {
  flex: 1;
  min-width: 0;
  height: 10px;
  background: var(--ch-border);
  border-radius: 5px;
  overflow: hidden;
}

.ch-v2 .ch-compare-bar-row .track .fill {
  height: 100%;
  border-radius: 5px;
}

.ch-v2 .ch-compare-bar-row .pct { flex: 0 0 2.5em; text-align: right; font-weight: 600; font-size: 12px; color: var(--ch-text); }

.ch-v2 .ch-compare-bar-row.you .fill { background: var(--ch-primary); width: 72%; }
.ch-v2 .ch-compare-bar-row.peers .fill { background: #059669; width: 45%; }

/* --- 8. Dark CTA --- */
.ch-v2 .ch-cta-dark {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  padding: 100px 0;
}

.ch-v2 .ch-cta-dark .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.ch-v2 .ch-cta-dark h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

.ch-v2 .ch-cta-dark .ch-cta-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.ch-v2 .ch-cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.ch-v2 .ch-cta-buttons .ch-btn-primary {
  padding: 0.75rem 1.5rem;
  font-size: 16px;
}

.ch-v2 .ch-cta-buttons .ch-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  border: 2px solid #fff;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease;
}

.ch-v2 .ch-cta-buttons .ch-btn-secondary:hover {
  transform: scale(1.02);
}

.ch-v2 .ch-cta-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ch-v2 .ch-cta-stat-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
}

.ch-v2 .ch-cta-stat-box .ch-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ch-primary-light);
  margin-bottom: 0.25rem;
}

.ch-v2 .ch-cta-stat-box .ch-stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.ch-v2 .ch-cta-dark .container > div:only-child {
  grid-column: 1 / -1;
  text-align: center;
}

.ch-v2 .ch-cta-dark .container > div:only-child .ch-cta-buttons {
  justify-content: center;
}

/* --- 9. Footer --- */
.ch-v2 .ch-footer {
  background: var(--ch-bg);
  padding: 60px 0 24px;
  border-top: 1px solid var(--ch-border);
}

.ch-v2 .ch-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.ch-v2 .ch-footer-brand .ch-logo-footer {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.ch-v2 .ch-footer-brand .ch-logo-footer .ch-logo-icon {
  width: 28px;
  height: 28px;
}

.ch-v2 .ch-footer-brand .ch-logo-footer .ch-logo-icon svg.ch-car-icon {
  width: 18px;
  height: 18px;
}

.ch-v2 .ch-footer-brand p {
  font-size: 14px;
  color: var(--ch-muted);
  line-height: 1.5;
  margin: 0 0 1rem;
}

.ch-v2 .ch-footer-social {
  display: flex;
  gap: 0.75rem;
}

.ch-v2 .ch-footer-social a {
  color: var(--ch-muted);
  text-decoration: none;
}

.ch-v2 .ch-footer-social a:hover {
  color: var(--ch-primary);
}

.ch-v2 .ch-footer h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ch-text);
  margin: 0 0 1rem;
}

.ch-v2 .ch-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ch-v2 .ch-footer ul li {
  margin-bottom: 0.5rem;
}

.ch-v2 .ch-footer ul a {
  font-size: 14px;
  color: var(--ch-muted);
  text-decoration: none;
}

.ch-v2 .ch-footer ul a:hover {
  color: var(--ch-primary);
}

.ch-v2 .ch-footer-copy {
  border-top: 1px solid var(--ch-border);
  padding-top: 1.5rem;
  font-size: 13px;
  color: var(--ch-muted);
  margin: 0;
}

/* Slim footer (marketing pages) */
.ch-v2 .ch-footer-slim {
  padding: 48px 0 24px;
}

.ch-v2 .ch-footer-slim-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.ch-v2 .ch-footer-slim .ch-footer-brand p {
  margin: 0;
  max-width: 360px;
}

.ch-v2 .ch-footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.ch-v2 .ch-footer-links a {
  font-size: 14px;
  color: var(--ch-muted);
  text-decoration: none;
  font-weight: 500;
}

.ch-v2 .ch-footer-links a:hover {
  color: var(--ch-primary);
}

/* --- Contact page (v2) --- */
.ch-v2 .ch-contact-hero {
  padding: 48px 0 32px;
  text-align: center;
}

.ch-v2 .ch-contact-hero h1 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--ch-text);
  margin: 0 0 0.5rem;
}

.ch-v2 .ch-contact-hero p {
  font-size: 16px;
  color: var(--ch-muted);
  margin: 0 0 2rem;
}

.ch-v2 .ch-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 2rem;
}

.ch-v2 .ch-contact-card {
  background: var(--ch-card);
  border-radius: var(--ch-radius);
  padding: 24px;
  border: 1px solid var(--ch-border);
  box-shadow: var(--ch-shadow);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ch-v2 .ch-contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ch-shadow-hover);
}

.ch-v2 .ch-contact-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ch-text);
  margin: 0 0 0.5rem;
}

.ch-v2 .ch-contact-card p {
  font-size: 14px;
  color: var(--ch-muted);
  line-height: 1.4;
  margin: 0 0 1rem;
}

.ch-v2 .ch-contact-email-btn {
  display: inline-block;
  background: var(--ch-primary);
  color: #fff;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.ch-v2 .ch-contact-email-btn:hover {
  transform: scale(1.02);
  background: var(--ch-primary-light);
}

.ch-v2 .ch-contact-email-btn.copied {
  background: #059669;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.ch-v2 .ch-contact-general {
  background: var(--ch-card);
  border-radius: var(--ch-radius);
  padding: 32px;
  border: 1px solid var(--ch-border);
  box-shadow: var(--ch-shadow);
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.ch-v2 .ch-contact-general h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ch-text);
  margin: 0 0 0.5rem;
}

.ch-v2 .ch-contact-general p {
  font-size: 15px;
  color: var(--ch-muted);
  margin: 0 0 1rem;
}

@media (max-width: 768px) {
  .ch-v2 .ch-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Generic inner page (About, Terms, Privacy) --- */
.ch-v2 .ch-page-hero {
  padding: 48px 0 32px;
  text-align: center;
}

.ch-v2 .ch-page-hero h1 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--ch-text);
  margin: 0;
}

.ch-v2 .ch-page-body {
  padding: 32px 0 60px;
}

.ch-v2 .ch-page-body h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--ch-text);
  margin: 2rem 0 0.75rem;
}

.ch-v2 .ch-page-body h2:first-child { margin-top: 0; }

.ch-v2 .ch-page-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ch-text);
  margin: 1.5rem 0 0.5rem;
}

.ch-v2 .ch-page-body p {
  font-size: 15px;
  color: var(--ch-text);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.ch-v2 .ch-page-body ul,
.ch-v2 .ch-page-body ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  font-size: 15px;
  color: var(--ch-text);
  line-height: 1.6;
}

.ch-v2 .ch-page-body a {
  color: var(--ch-primary);
  text-decoration: none;
}

.ch-v2 .ch-page-body a:hover {
  text-decoration: underline;
}

/* --- Marketing content sections --- */
.ch-v2 .ch-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.ch-v2 .ch-section {
  padding: 30px 0;
}

.ch-v2 .ch-section:first-of-type {
  padding-top: 24px;
}

.ch-v2 .ch-section h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--ch-text);
  margin: 0 0 1rem;
}

.ch-v2 .ch-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ch-text);
  margin: 0 0 0.5rem;
}

.ch-v2 .ch-section p {
  font-size: 15px;
  color: var(--ch-muted);
  line-height: 1.6;
  margin: 0 0 1rem;
  max-width: 72ch;
}

.ch-v2 .ch-section p:last-child {
  margin-bottom: 0;
}

/* Extra space above these paragraphs (after card blocks) */
.ch-v2 .ch-section p.ch-p-after-cards {
  margin-top: 1.5rem;
}

.ch-v2 .ch-bullet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
  list-style: none;
  padding: 0;
}

.ch-v2 .ch-bullet-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 15px;
  color: var(--ch-text);
  line-height: 1.5;
}

.ch-v2 .ch-bullet-grid li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.5rem;
  background: var(--ch-primary);
  border-radius: 50%;
}

.ch-v2 .ch-insight-block {
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--ch-radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 15px;
  color: var(--ch-dark);
  line-height: 1.6;
  font-style: italic;
}

.ch-v2 .ch-cta-block {
  text-align: center;
  padding: 3rem 0;
}

.ch-v2 .ch-cta-block .ch-btn-primary {
  padding: 0.75rem 1.5rem;
  font-size: 16px;
}

/* --- Marketing: tables, steps, CTA search --- */
.ch-v2 .ch-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.ch-v2 .ch-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  margin: 0;
  font-size: 15px;
}

.ch-v2 .ch-table-wrap .ch-table { margin: 0; }

.ch-v2 .ch-table th,
.ch-v2 .ch-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--ch-border);
}

.ch-v2 .ch-table th {
  font-weight: 600;
  color: var(--ch-text);
  background: rgba(0, 0, 0, 0.02);
}

.ch-v2 .ch-table tr:last-child td { border-bottom: none; }

.ch-v2 .ch-steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  counter-reset: step;
}

.ch-v2 .ch-steps li {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 1.5rem;
  counter-increment: step;
  font-size: 15px;
  color: var(--ch-text);
  line-height: 1.6;
}

.ch-v2 .ch-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--ch-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch-v2 .ch-steps li strong { display: block; margin-bottom: 0.25rem; color: var(--ch-text); }

.ch-v2 .ch-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.ch-v2 .ch-feature-list li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ch-border);
  font-size: 15px;
  color: var(--ch-text);
  line-height: 1.6;
}

.ch-v2 .ch-feature-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.ch-v2 .ch-feature-list strong { color: var(--ch-text); }

.ch-v2 .ch-compare-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 1.5rem 0;
  align-items: start;
}

@media (max-width: 768px) {
  .ch-v2 .ch-compare-cols { grid-template-columns: 1fr; }
}

.ch-v2 .ch-cta-dark .ch-search-form-wrap {
  margin-bottom: 1.5rem;
}

.ch-v2 .ch-cta-dark .ch-search-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto 1rem;
  border-radius: var(--ch-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.ch-v2 .ch-cta-dark .ch-search-form .ch-search-uk {
  padding: 0 14px;
  font-size: 12px;
}

.ch-v2 .ch-cta-dark .ch-search-form input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  min-width: 0;
  background: #fff;
  color: var(--ch-text);
}

.ch-v2 .ch-cta-dark .ch-search-form .ch-search-btn {
  padding: 0 1.25rem;
  white-space: nowrap;
}

.ch-v2 .ch-stat-callout {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--ch-primary);
  margin: 0.5rem 0;
}

/* --- 10. Responsive --- */
@media (max-width: 900px) {
  .ch-v2 .ch-hamburger {
    display: flex;
  }

  .ch-v2 .ch-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--ch-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 999;
    display: none;
  }

  .ch-v2 .ch-nav.open {
    display: flex;
  }

  .ch-v2 .ch-header-actions .ch-sign-in {
    display: none;
  }

  .ch-v2 .ch-metrics-grid,
  .ch-v2 .ch-feature-cards {
    grid-template-columns: 1fr;
  }

  .ch-v2 .ch-cta-dark .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ch-v2 .ch-cta-buttons {
    justify-content: center;
  }

  .ch-v2 .ch-cta-stats {
    align-items: center;
  }

  .ch-v2 .ch-why-header {
    flex-direction: column;
    text-align: left;
  }

  .ch-v2 .ch-why-desc {
    text-align: left;
  }

  .ch-v2 .ch-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .ch-v2 .ch-hero,
  .ch-v2 .ch-metrics,
  .ch-v2 .ch-why,
  .ch-v2 .ch-cta-dark {
    padding: 60px 0;
  }

  .ch-v2 .ch-search-wrapper {
    flex-direction: column;
  }

  .ch-v2 .ch-plate-input {
    flex-direction: row;
  }

  .ch-v2 .ch-search-uk {
    justify-content: center;
    padding: 10px;
  }

  .ch-v2 .ch-footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ch-v2 .ch-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ch-v2 .ch-footer ul {
    text-align: center;
  }

  .ch-v2 .ch-footer-slim-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Vehicle page (v2 shell) --- */
.ch-v2 .vehicle-header {
  background: linear-gradient(135deg, var(--ch-primary) 0%, var(--ch-primary-light) 100%);
  color: #fff;
  padding: 2rem;
  border-radius: var(--ch-radius);
  margin-bottom: 2rem;
  text-align: center;
}

.ch-v2 .vehicle-header__plate {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.ch-v2 .vehicle-header__plate .uk-plate {
  box-shadow:
    0 4px 20px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

.ch-v2 .vehicle-header h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
}

.ch-v2 .vehicle-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.ch-v2 .vehicle-image,
.ch-v2 .vehicle-details {
  background: var(--ch-card);
  border-radius: var(--ch-radius);
  padding: 1.5rem;
  border: 1px solid var(--ch-border);
  box-shadow: var(--ch-shadow);
}

.ch-v2 .vehicle-page-actions {
  text-align: center;
  margin-bottom: 1.5rem;
}

.ch-v2 .vehicle-page-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ch-card);
  color: var(--ch-text);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--ch-border);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.ch-v2 .vehicle-page-actions a:hover {
  background: var(--ch-border);
  color: var(--ch-primary);
}

.ch-v2 .tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

.ch-v2 .tab {
  background: var(--ch-muted);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  font-weight: 500;
  font-size: 15px;
}

.ch-v2 .tab:hover {
  background: var(--ch-dark-lighter);
  transform: translateY(-1px);
  box-shadow: var(--ch-shadow);
}

.ch-v2 .tab.active {
  background: var(--ch-primary);
  border-color: var(--ch-primary-light);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}

.ch-v2 .reminder-badge {
  display: inline-block;
  background: #059669;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 18px;
  margin-left: 6px;
}

@keyframes ch-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.ch-v2 .vehicle-lookup-form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.ch-v2 .vehicle-lookup-form .form-card {
  background: var(--ch-card);
  border-radius: var(--ch-radius);
  padding: 2rem;
  border: 1px solid var(--ch-border);
  box-shadow: var(--ch-shadow);
}

.ch-v2 .vehicle-lookup-form h1 {
  text-align: center;
  color: var(--ch-text);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.ch-v2 .vehicle-lookup-form input[type="text"] {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--ch-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}

.ch-v2 .vehicle-lookup-form .form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.ch-v2 .vehicle-lookup-form .form-submit {
  padding: 1rem 2rem;
  background: var(--ch-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  transition: transform 0.2s ease;
}

.ch-v2 .vehicle-lookup-form .form-submit:hover {
  transform: scale(1.02);
}

.ch-v2 .vehicle-lookup-form .form-help {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--ch-muted);
  font-size: 0.9rem;
}

.ch-v2 .vehicle-error {
  background: #fef2f2;
  color: #991b1b;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #fecaca;
}

.ch-v2 .vehicle-error h3 { margin: 0 0 0.5rem; font-size: 1.125rem; }

.ch-v2 .vehicle-error a {
  color: #991b1b;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .ch-v2 .vehicle-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .ch-v2 .vehicle-header {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }
  .ch-v2 .tabs {
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .ch-v2 .tabs::-webkit-scrollbar { display: none; }
  .ch-v2 .tab {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    flex-shrink: 0;
  }
}

/* Vehicle tab content: inherit v2 typography and links */
.ch-v2 .container a:not(.tab):not(.ch-btn-primary):not(.ch-btn-secondary):not(.ch-contact-email-btn) {
  color: var(--ch-primary);
  text-decoration: none;
}

.ch-v2 .container a:not(.tab):not(.ch-btn-primary):not(.ch-btn-secondary):not(.ch-contact-email-btn):hover {
  text-decoration: underline;
}

.ch-v2 .vehicle-tab-hero {
  background: linear-gradient(135deg, var(--ch-primary) 0%, var(--ch-primary-light) 100%);
  color: #fff;
  padding: 1.5rem;
  border-radius: var(--ch-radius);
  margin-bottom: 2rem;
  text-align: center;
}

.ch-v2 .vehicle-tab-hero h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.ch-v2 .vehicle-tab-hero p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.95;
  color: rgba(255,255,255,0.95);
}
