/* ============================================================
   THE FAMILY RIDE — Main Stylesheet
   Boho-chic · Warm tan/cream palette · Target-inspired clarity
   ============================================================ */

:root {
  --cream: #FAF6F0;
  --tan: #D4B896;
  --tan-light: #EAD9C6;
  --tan-dark: #B89A78;
  --warm-white: #FFFFFF;
  --text-dark: #2C1F14;
  --text-mid: #5C4033;
  --text-light: #9C7E6A;
  --accent: #C8845A;
  --accent-soft: #E8C4A8;
  --green: #7A8C6E;
  --green-light: #C2CBB8;
  --border: #E0CEBC;
  --gold: #C9A96E;
  --shadow-sm: 0 2px 8px rgba(120,80,50,0.08);
  --shadow-md: 0 8px 24px rgba(120,80,50,0.10);
  --shadow-lg: 0 16px 48px rgba(120,80,50,0.14);
  --radius: 16px;
  --radius-sm: 10px;
}

html { font-size: 16px; scroll-behavior: smooth; }

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── NAVIGATION ─────────────────────────────────────────── */

/* Wrapper — sticky, no flex itself, contains two rows */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 300;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

/* ── Row 1: logo + search + badge + hamburger ── */
.nav-top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 64px;
  padding: 0 2rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--text-dark);
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); font-style: italic; }

.nav-search { flex: 1; max-width: 400px; }
.nav-search-inner {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.nav-search select {
  flex: 1;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--text-dark);
  cursor: pointer;
  outline: none;
}
.nav-search select:focus { border-color: var(--accent); }
.nav-search select:disabled { opacity: 0.5; cursor: not-allowed; }

.nav-go-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-go-btn:hover { background: var(--tan-dark); }

.nav-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  padding: 5px 13px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Hide old .nav-links — replaced by mega bar */
.nav-links { display: none; }

.nav-hamburger {
  display: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 1.1rem;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
}

/* ── Row 2: mega nav bar ── */
.nav-mega-bar {
  background: var(--cream);
  border-bottom: 2px solid var(--border);
  padding: 0 1rem;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  /* Ensure it stacks below row 1, not beside it */
  width: 100%;
}
.nav-mega-bar::-webkit-scrollbar { display: none; }

/* Each nav item — relative so dropdown anchors to it */
.mega-item {
  position: relative;
  flex-shrink: 0;
}

/* The trigger button */
.mega-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 1rem;
  height: 42px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-mid);
  white-space: nowrap;
  cursor: pointer;
  /* Reset all button styles */
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;   /* sits flush on the bar's bottom border */
  font-family: 'DM Sans', sans-serif;
  transition: color 0.18s, border-color 0.18s;
  outline: none;
}
.mega-trigger:hover { color: var(--accent); border-bottom-color: var(--accent); }
.mega-item.open > .mega-trigger { color: var(--accent); border-bottom-color: var(--accent); }

.mega-trigger .arrow {
  font-size: 0.55rem;
  opacity: 0.6;
  transition: transform 0.2s;
  display: inline-block;
}
.mega-item.open > .mega-trigger .arrow { transform: rotate(180deg); }

/* ── Dropdown panel ── */
.mega-dropdown {
  display: none;
  position: absolute;
  top: 100%;          /* flush below the trigger row */
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 8px 32px rgba(80,40,20,0.13);
  z-index: 500;
  padding: 0.4rem 0 0.6rem;
  /* Make sure background is fully opaque */
  opacity: 1;
}
.mega-item.open > .mega-dropdown {
  position: fixed;
  display: block;
  left: auto;
  top:auto;
}

.mega-dropdown a {
  display: block;
  padding: 0.55rem 1.2rem 0.55rem 1.4rem;
  font-size: 0.875rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-mid);
  text-decoration: none;
  font-weight: 400;
  line-height: 1.35;
  border-left: 2px solid transparent;
  background: #fff;        /* explicit white — no bleed-through */
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.mega-dropdown a:hover {
  background: var(--cream);
  color: var(--accent);
  border-left-color: var(--accent);
}

.mega-dropdown-header {
  padding: 0.6rem 1.4rem 0.2rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-light);
  font-weight: 700;
  background: #fff;
}

.mega-dropdown hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.35rem 0;
}

/* ── Mobile nav drawer ── */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-sm);
}
.mobile-nav a {
  display: block;
  padding: 0.85rem 2rem;
  text-decoration: none;
  color: var(--text-mid);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav.open { display: flex; }

/* ── HERO IMAGE ─────────────────────────────────────────── */
.hero-image-wrap {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(250,246,240,0) 20%, rgba(255,255,255,0.8) 80%, #fff 100%);
}

/* ── HERO TEXT ──────────────────────────────────────────── */
.hero {
  background: #fff;
  padding: 44px 2rem 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(212,184,150,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 1.3rem;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--text-mid);
  font-style: italic;
  max-width: 580px;
  margin: 0 auto 2.6rem;
  line-height: 1.6;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.hero-tag {
  background: var(--tan-light);
  color: var(--text-mid);
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  color: var(--tan-dark);
  font-size: 1.1rem;
}
.hero-divider::before, .hero-divider::after {
  content: '';
  width: 80px; height: 1px;
  background: var(--tan);
}

/* ── LEGEND BAR ─────────────────────────────────────────── */
.legend-bar {
  background: var(--tan-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.legend-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
}
.legend-items {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  align-items: center;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: var(--text-mid);
  font-weight: 500;
}
.legend-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

/* ── MAIN CONTENT BACKGROUND ────────────────────────────── */
.main-content {
  background: #ffffff;
}

/* ── SECTIONS ───────────────────────────────────────────── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.section-label {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}
.section-count {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--text-light);
  font-size: 1.15rem;
}
.section-desc {
  color: var(--text-mid);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 700px;
}

/* ── FILTER BAR ─────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
}
.filter-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  font-weight: 500;
}
.filter-btn {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-mid);
  padding: 8px 18px;
  border-radius: 22px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ── CARD GRID ──────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.6rem;
}

/* ── SUV CARD ───────────────────────────────────────────── */
.suv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  animation: fadeUp 0.5s ease both;
}
.suv-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card-rank-band { height: 5px; width: 100%; }

.card-header {
  padding: 1.4rem 1.6rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.card-rank-badge {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.card-title-group { flex: 1; }
.card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}
.card-sub {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 3px;
}
.card-price {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

/* Duffle Rating */
.duffle-section {
  padding: 0.7rem 1.6rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid var(--border);
}
.duffle-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  font-weight: 500;
  white-space: nowrap;
}
.duffle-bags { display: flex; gap: 3px; }
.bag { font-size: 1.15rem; }
.bag.half { opacity: 0.55; }
.bag.empty { opacity: 0.18; }
.duffle-score {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-left: auto;
}

/* Stats Grid */
.card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}
.stat-cell {
  padding: 0.85rem 0.9rem;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.15s;
}
.stat-cell:last-child { border-right: none; }
.stat-cell:hover { background: var(--tan-light); }
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}
.stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-light);
  margin-top: 4px;
  font-weight: 500;
}

/* Score Bars */
.card-bars { padding: 1.1rem 1.6rem; }
.bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.bar-row:last-child { margin-bottom: 0; }
.bar-label {
  font-size: 0.8rem;
  color: var(--text-mid);
  width: 90px;
  flex-shrink: 0;
  font-weight: 500;
}
.bar-track {
  flex: 1;
  height: 6px;
  background: var(--tan-light);
  border-radius: 3px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 3px;
}
.bar-val {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
  width: 28px;
  text-align: right;
}

/* Highlights */
.card-highlights {
  padding: 1rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  border-top: 1px solid var(--border);
}
.highlight-chip {
  background: var(--tan-light);
  color: var(--text-mid);
  font-size: 0.775rem;
  padding: 4px 12px;
  border-radius: 14px;
  font-weight: 500;
}
.highlight-chip.green  { background: var(--green-light); color: var(--green); }
.highlight-chip.accent { background: #F2E0D0; color: var(--accent); }

/* ── TIER 2 SECTION ─────────────────────────────────────── */
.tier-section {
  background: #fff;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  padding: 4rem 2rem;
}
.tier-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}
.tier-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.tier-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.t2-rank {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--tan-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-mid);
  flex-shrink: 0;
}
.t2-info { flex: 1; min-width: 0; }
.t2-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.t2-sub { font-size: 0.8rem; color: var(--text-light); margin-top: 1px; }
.t2-right { text-align: right; flex-shrink: 0; }
.t2-bags { font-size: 0.85rem; letter-spacing: -1px; }
.t2-price { font-size: 0.8rem; color: var(--accent); font-weight: 600; margin-top: 2px; }

/* ── METHODOLOGY ────────────────────────────────────────── */
.methodology {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}
.method-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}
.method-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--text-mid);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
  text-align: left;
}
.criteria-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
}
.criteria-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.criteria-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}
.criteria-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ── BOHO DIVIDER ───────────────────────────────────────── */
.boho-divider {
  text-align: center;
  color: var(--tan);
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  padding: 1.2rem;
  background: #fff;
}

/* ── DETAIL PAGE ────────────────────────────────────────── */
.detail-hero {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 3rem 2rem 2.5rem;
}
.detail-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.detail-breadcrumb {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}
.detail-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}
.detail-breadcrumb a:hover { text-decoration: underline; }

.detail-tier-badge {
  display: inline-block;
  background: var(--tan-light);
  color: var(--text-mid);
  font-size: 0.78rem;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.detail-make {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}
.detail-model-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.detail-trim {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-mid);
  margin-bottom: 1.2rem;
}
.detail-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.detail-duffle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.detail-duffle-bags { font-size: 1.4rem; letter-spacing: -1px; }
.detail-duffle-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 600;
}
.detail-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-mid);
  border-left: 3px solid var(--tan);
  padding-left: 1rem;
  line-height: 1.5;
}

.detail-image {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tan-light);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-image-placeholder {
  font-size: 5rem;
  opacity: 0.4;
}

/* Detail Body */
.detail-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  background: #fff;
}

.detail-description {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.detail-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 2rem;
}
.spec-cell {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.spec-cell:nth-child(even) { border-right: none; }
.spec-cell:nth-last-child(-n+2) { border-bottom: none; }
.spec-key {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 3px;
}
.spec-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.detail-scores h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
}
.detail-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}
.detail-bar-label {
  font-size: 0.875rem;
  color: var(--text-mid);
  font-weight: 500;
  width: 110px;
  flex-shrink: 0;
}
.detail-bar-track {
  flex: 1;
  height: 8px;
  background: var(--tan-light);
  border-radius: 4px;
  overflow: hidden;
}
.detail-bar-fill {
  height: 100%;
  border-radius: 4px;
}
.detail-bar-val {
  font-size: 0.875rem;
  color: var(--text-mid);
  font-weight: 600;
  width: 32px;
  text-align: right;
}

/* Sidebar */
.detail-sidebar {}
.sidebar-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  margin-bottom: 1.4rem;
}
.sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.sidebar-stat:last-child { border-bottom: none; }
.sidebar-stat-key { color: var(--text-light); font-size: 0.82rem; }
.sidebar-stat-val {
  font-weight: 600;
  color: var(--text-dark);
  font-family: 'Playfair Display', serif;
}

.sidebar-highlights { display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar-highlight {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-mid);
}
.sidebar-highlight::before {
  content: '✦';
  color: var(--accent);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* Similar Vehicles */
.similar-section {
  background: var(--cream);
  border-top: 2px solid var(--border);
  padding: 3rem 2rem;
}
.similar-inner { max-width: 1100px; margin: 0 auto; }
.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.similar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}
.similar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.similar-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}
.similar-card-sub {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 2px 0 0.6rem;
}
.similar-card-reason {
  font-size: 0.775rem;
  color: var(--accent);
  font-weight: 500;
}
.similar-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.similar-card-bags { font-size: 0.85rem; letter-spacing: -1px; }
.similar-card-price {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--text-dark);
  color: var(--tan-light);
  padding: 2.5rem 2rem 1.5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--tan);
  display: block;
  margin-bottom: 0.4rem;
}
.footer-logo em { color: var(--accent); }
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  color: var(--tan-light);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-legal {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
}

/* ── 404 / ERROR ────────────────────────────────────────── */
.error-page {
  text-align: center;
  padding: 6rem 2rem;
}
.error-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.error-page p { color: var(--text-mid); margin-bottom: 2rem; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 500;
  display: inline-block;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--tan-dark); }

/* ── RESPONSIVE ─────────────────────────────────────────── */

/* ── 1100px: compress nav-top, shrink trigger padding ── */
@media (max-width: 1100px) {
  .nav-search { max-width: 280px; }
  .mega-trigger { padding: 0 0.7rem; font-size: 0.72rem; letter-spacing: 0.04em; }
}

/* ── 900px: hide search, keep mega bar scrollable ── */
@media (max-width: 900px) {
  .nav-search  { display: none; }
  .nav-badge   { display: none; }
  /* mega bar stays but scrolls horizontally — already overflow-x:auto */
  .mega-trigger { padding: 0 0.65rem; font-size: 0.7rem; }
  .detail-hero-inner { grid-template-columns: 1fr; }
  .detail-body { grid-template-columns: 1fr; }
  .detail-image { display: none; }
}

/* ── 680px: collapse everything into hamburger ── */
@media (max-width: 680px) {
  .nav-search    { display: none; }
  .nav-badge     { display: none; }
  .nav-mega-bar  { display: none; }
  .nav-hamburger { display: flex; align-items: center; justify-content: center; }

  /* Mobile drawer tweaks */
  .mobile-nav a  { font-size: 1rem; padding: 1rem 1.5rem; }

  .cards-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .legend-bar { flex-direction: column; gap: 1rem; text-align: center; }
  .detail-specs-grid { grid-template-columns: 1fr; }
  .spec-cell { border-right: none !important; }
  .spec-cell:last-child { border-bottom: none; }
}

/* ============================================================
   EXPANDED SITE — New Page Styles
   ============================================================ */

/* ── SECTION HERO (reusable for landing pages) ───────────── */
.section-hero {
  background: #fff;
  padding: 3.5rem 2rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.section-hero::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(212,184,150,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.section-hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.section-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section-hero h1 em { color: var(--accent); font-style: italic; }
.section-hero p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto 1.8rem;
  line-height: 1.6;
}
.section-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.section-hero-tag {
  background: var(--tan-light);
  color: var(--text-mid);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
}

/* ── PAGE BREAD CRUMB ────────────────────────────────────── */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  font-size: 0.8rem;
  color: var(--text-light);
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.4rem; }

/* ── RANKED LIST PAGE ────────────────────────────────────── */
.ranked-page { background: #fff; }
.ranked-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Ranked vehicle row */
.ranked-item {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.ranked-item:last-child { border-bottom: none; }
.ranked-item:hover .ranked-name { color: var(--accent); }
.ranked-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--tan);
  min-width: 48px;
  text-align: right;
  line-height: 1;
  padding-top: 4px;
  flex-shrink: 0;
}
.ranked-body { flex: 1; }
.ranked-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
  transition: color 0.2s;
}
.ranked-sub {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.ranked-why {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.55;
}
.ranked-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}
.ranked-chip {
  background: var(--tan-light);
  color: var(--text-mid);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 12px;
}
.ranked-chip.green { background: #e8f2e4; color: var(--green); }
.ranked-chip.accent { background: #faeee6; color: var(--accent); }
.ranked-right {
  text-align: right;
  flex-shrink: 0;
  min-width: 90px;
}
.ranked-price {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--accent);
  font-weight: 700;
}
.ranked-bags { font-size: 0.75rem; letter-spacing: -1px; margin-top: 3px; }

/* ── SIDEBAR LAYOUT (ranking pages) ─────────────────────── */
.two-col-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  background: #fff;
}
.page-sidebar {}
.sidebar-sticky { position: sticky; top: 84px; }
.sidebar-widget {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.3rem;
  margin-bottom: 1.3rem;
}
.sidebar-widget-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border);
}
.widget-links { display: flex; flex-direction: column; gap: 0.3rem; }
.widget-links a {
  font-size: 0.875rem;
  color: var(--text-mid);
  text-decoration: none;
  padding: 0.3rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.6rem;
  transition: all 0.15s;
}
.widget-links a:hover {
  color: var(--accent);
  border-left-color: var(--accent);
}

/* ── AFFILIATE / DEAL BUTTONS ────────────────────────────── */
.deal-btn {
  display: block;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  margin-bottom: 0.7rem;
  transition: opacity 0.2s, transform 0.15s;
  color: #fff;
}
.deal-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.deal-btn.autotrader { background: #e8742a; }
.deal-btn.carsguru   { background: #00a0dc; }
.deal-btn.truecar    { background: #00b398; }
.deal-btn.carsdotcom { background: #d4202c; }

/* ── REVIEWS PAGE ────────────────────────────────────────── */
.reviews-search-hero {
  background: var(--text-dark);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.reviews-search-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(200,132,90,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.reviews-search-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.reviews-search-hero h1 em { color: var(--tan); font-style: italic; }
.reviews-search-hero p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--tan-light);
  margin-bottom: 2rem;
}
.reviews-search-bar {
  display: flex;
  gap: 0.75rem;
  max-width: 600px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.reviews-search-bar select,
.reviews-search-bar input {
  flex: 1;
  min-width: 160px;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  background: #fff;
  color: var(--text-dark);
  outline: none;
}
.reviews-search-bar button {
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
}
.reviews-search-bar button:hover { background: var(--tan-dark); }

/* Review card grid */
.review-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.review-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--tan-light);
  display: block;
}
.review-card-img-placeholder {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, var(--tan-light), var(--tan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.review-card-body { padding: 1.1rem 1.3rem; }
.review-card-make { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); font-weight: 600; }
.review-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--text-dark);
  font-weight: 700;
  margin: 2px 0 0.3rem;
}
.review-card-score {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.review-card-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.review-card-tag {
  background: var(--tan-light);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--text-mid);
  font-weight: 500;
}

/* ── REVIEW DETAIL PAGE ──────────────────────────────────── */
.review-hero {
  background: var(--text-dark);
  padding: 3rem 2rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.review-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,132,90,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.review-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.review-hero-make {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tan);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.review-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.review-hero-trim {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--tan-light);
  margin-bottom: 1.2rem;
}
.family-score-display {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 1.2rem;
}
.family-score-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.family-score-denom {
  font-size: 1.1rem;
  color: var(--tan-light);
}
.family-score-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tan);
  font-weight: 600;
  display: block;
  margin-top: -0.3rem;
}
.review-hero-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--tan);
  margin-bottom: 1.4rem;
}
.review-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.08);
}
.review-hero-img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.review-deal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.review-deal-btn:hover { background: var(--tan-dark); }

/* Review body layout */
.review-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  background: #fff;
}
.review-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--tan-light);
}

/* Scorecard */
.scorecard {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  margin-bottom: 2rem;
}
.scorecard-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.scorecard-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}
.scorecard-label {
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 500;
  flex: 1;
}
.scorecard-track {
  width: 120px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
}
.scorecard-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--accent);
}
.scorecard-val {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  min-width: 28px;
  text-align: right;
}

/* Pros / Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.pros-box, .cons-box {
  border-radius: var(--radius-sm);
  padding: 1.2rem;
}
.pros-box { background: #eef5ec; border: 1px solid #c8e0c4; }
.cons-box { background: #fdf2ee; border: 1px solid #f0d0c0; }
.pros-cons-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.pros-box .pros-cons-title { color: var(--green); }
.cons-box .pros-cons-title { color: var(--accent); }
.pros-cons ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.pros-cons li {
  font-size: 0.875rem;
  color: var(--text-mid);
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
}
.pros-cons li::before { content: '•'; font-weight: 700; flex-shrink: 0; }
.pros-box li::before { color: var(--green); }
.cons-box li::before { color: var(--accent); }

/* Family tests */
.family-tests {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-bottom: 2rem;
}
.family-test-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.family-test-icon { font-size: 1.3rem; flex-shrink: 0; }
.family-test-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}
.family-test-result {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
}
.family-test-pass { color: var(--green); font-weight: 600; }
.family-test-note { color: var(--accent); font-weight: 600; }

/* Competitor comparisons */
.compare-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}
.compare-link-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.compare-link-item:hover {
  border-color: var(--accent);
  background: #faeee6;
}
.compare-link-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}
.compare-link-arrow { color: var(--accent); font-weight: 700; }

/* Best for tags */
.best-for-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.best-for-tag {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--tan-light);
  color: var(--text-mid);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 500;
}
.best-for-tag .tag-icon { font-size: 1rem; }

/* Inventory / affiliate sidebar box */
.inventory-box {
  background: var(--text-dark);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  color: #fff;
  margin-bottom: 1.3rem;
}
.inventory-box-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--tan);
  margin-bottom: 0.5rem;
}
.inventory-box p {
  font-size: 0.82rem;
  color: var(--tan-light);
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* ── COMPARE PAGE ────────────────────────────────────────── */
.compare-page-hero {
  background: #fff;
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.vs-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  margin: 0 1rem;
  flex-shrink: 0;
}
.compare-vehicles-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.compare-vehicle-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-dark);
  font-weight: 700;
  text-align: center;
}
.compare-vehicle-sub {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 2px;
}

.compare-body {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: #fff;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2.5rem;
}
.compare-table th {
  background: var(--cream);
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--text-dark);
  padding: 1rem 1.2rem;
  text-align: left;
  border: 1px solid var(--border);
}
.compare-table th:first-child { width: 35%; }
.compare-table td {
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-mid);
}
.compare-table tr:nth-child(even) td { background: var(--cream); }
.compare-table td.winner {
  color: var(--green);
  font-weight: 700;
}
.compare-table td.label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  font-weight: 600;
  background: #fff !important;
}
.compare-winner-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--text-dark) 100%);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  text-align: center;
}
.compare-winner-banner h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}
.compare-winner-banner p { font-size: 0.9rem; opacity: 0.85; }

/* ── COMFORT / BUYING GUIDE PAGES ────────────────────────── */
.guide-intro {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 2rem 0;
  color: var(--text-mid);
  font-size: 1.02rem;
  line-height: 1.8;
}

/* Category landing card grid */
.category-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}
.category-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: block;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--tan);
}
.category-card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.category-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.category-card-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.55;
}
.category-card-count {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-top: 0.75rem;
}

/* ── DEALS / FIND A CAR PAGE ─────────────────────────────── */
.deals-hero {
  background: linear-gradient(135deg, var(--text-dark) 0%, #3d2815 100%);
  padding: 3.5rem 2rem;
  text-align: center;
}
.deals-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 0.75rem;
}
.deals-hero h1 em { color: var(--gold); font-style: italic; }
.deals-hero p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--tan-light);
  max-width: 520px;
  margin: 0 auto 2rem;
}
.deals-filter-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto;
}
.deals-filter-row select {
  flex: 1;
  min-width: 160px;
  padding: 11px 14px;
  border: none;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.12);
  color: #fff;
  outline: none;
  cursor: pointer;
}
.deals-filter-row select option { background: var(--text-dark); }

.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.affiliate-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.affiliate-logo-area {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.affiliate-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
}
.affiliate-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.affiliate-cta {
  display: block;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.2s;
}
.affiliate-cta:hover { opacity: 0.87; }

.vehicle-deal-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}
.vehicle-deal-row:last-child { border-bottom: none; }
.vehicle-deal-info { flex: 1; }
.vehicle-deal-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 700;
}
.vehicle-deal-meta { font-size: 0.82rem; color: var(--text-light); margin-top: 2px; }
.vehicle-deal-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 700;
}
.vehicle-deal-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.deal-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.deal-pill:hover { opacity: 0.85; }
.deal-pill.at { background: #e8742a; }
.deal-pill.cg { background: #00a0dc; }
.deal-pill.tc { background: #00b398; }
.deal-pill.cd { background: #d4202c; }

/* ── BOHO DIVIDER ─────────────────────────────────────────── */
.boho-divider {
  text-align: center;
  color: var(--tan-dark);
  font-size: 1rem;
  letter-spacing: 0.4em;
  padding: 2rem 0;
  background: #fff;
}

/* ── RESPONSIVE — new sections ───────────────────────────── */
@media (max-width: 900px) {
  .two-col-layout { grid-template-columns: 1fr; }
  .review-body { grid-template-columns: 1fr; }
  .review-hero-inner { grid-template-columns: 1fr; }
  .review-hero-img { display: none; }
  .pros-cons { grid-template-columns: 1fr; }
  .family-tests { grid-template-columns: 1fr; }
}
