/* ============================================================
   MERIDIAN MOTORS — Unified Stylesheet
   ============================================================ */

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

/* ── Design Tokens ── */
:root {
  --dark:        #0f172a;   /* hero, trust strip, footer */
  --black:       #111827;   /* text, nav hover */
  --white:       #ffffff;
  --off-white:   #f4f5f7;   /* page backgrounds */
  --border:      #e5e7eb;
  --accent:      #1d4ed8;   /* primary blue */
  --accent-dark: #1e40af;
  --accent-light:#eff6ff;   /* tinted blue backgrounds */
  --text:        #111827;
  --text-muted:  #6b7280;
  --card-bg:     #ffffff;
  --nav-h:       64px;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --font-display:'Outfit', sans-serif;
  --font-body:   'Inter', sans-serif;
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --max-w:       1100px;
  --pad-x:       2.5rem;
}

/* ============================================================
   2026 REVAMP - Technical / Exchange Style Overrides
   ============================================================ */

:root {
  --dark: #0a1220;
  --black: #0b1220;
  --off-white: #edf1f5;
  --border: #cfd7e3;
  --accent: #1f5eff;
  --accent-dark: #1748c7;
  --accent-light: #eaf0ff;
  --text: #142033;
  --text-muted: #627188;
  --card-bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --font-display: Arial, Helvetica, sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --max-w: 1240px;
}

body {
  background:
    linear-gradient(180deg, #f7f9fc 0%, #eef2f6 100%);
  color: var(--text);
}

nav {
  background: rgba(18, 29, 48, 0.96);
  border-bottom: 1px solid rgba(120, 144, 179, 0.28);
  box-shadow: 0 18px 40px rgba(6, 12, 23, 0.18);
}

.nav-logo,
.nav-links a.active,
.nav-links a:hover {
  color: #fff;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.76);
}

.nav-logo {
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-logo-img {
  display: block;
  width: auto;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo .brand-logo-img {
  width: auto;
  height: 50px;
}

.nav-logo span {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.18);
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
}

.btn-primary,
.btn-dark,
.btn-white {
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(180deg, #2d6cff 0%, #1f5eff 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-outline,
.btn-ghost,
.btn-ghost-white {
  border-radius: 4px;
}

.page-header,
.inventory-page-header {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(246,248,251,0.95) 100%);
  border-bottom: 1px solid rgba(20, 32, 51, 0.08);
}

.page-eyebrow,
.section-label,
.footer-col-title,
.product-eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-weight: 700;
}

.page-title,
.section-title,
.product-name,
.content-card-title,
.form-card-title,
.process-card-title,
.info-card-header,
.sidebar-title,
.faq-section-title,
.cta-strip-title,
.review-name,
.trust-title,
.ops-title,
.team-copy-title {
  font-family: var(--font-display);
  letter-spacing: 0;
}

.hero {
  min-height: 720px;
  height: auto;
  padding: 5.5rem var(--pad-x) 7rem;
  display: block;
  background:
    radial-gradient(circle at top right, rgba(31,94,255,0.18), transparent 24%),
    linear-gradient(180deg, #0b1424 0%, #0d1727 100%);
}

.hero-bg {
  background:
    linear-gradient(to right, rgba(10,18,32,0.96) 24%, rgba(10,18,32,0.78) 58%, rgba(10,18,32,0.7) 100%),
    linear-gradient(rgba(66, 88, 122, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 88, 122, 0.12) 1px, transparent 1px),
    url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  background-size: auto, 42px 42px, 42px 42px, cover;
}

.hero-shell {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 2rem;
  align-items: stretch;
}

.hero-content {
  max-width: none;
  padding: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  color: #88adff;
}

.hero-eyebrow::before {
  background: #88adff;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 78px);
  line-height: 0.92;
  text-transform: uppercase;
}

.hero h1 em {
  color: #dfe8ff;
}

.hero-sub {
  max-width: 620px;
  font-size: 17px;
  color: rgba(231, 237, 247, 0.78);
}

.hero-mini-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.hero-mini-signals span,
.signal-chip,
.footer-badge,
.inventory-status-card,
.console-status,
.hero-pill,
.car-spec-pill {
  border: 1px solid rgba(117, 138, 170, 0.34);
  background: rgba(255,255,255,0.06);
  color: #d9e2f0;
  backdrop-filter: blur(10px);
}

.hero-mini-signals span,
.signal-chip,
.footer-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-console {
  position: relative;
  z-index: 1;
  padding: 1.2rem;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(8,15,28,0.9), rgba(12,22,38,0.82));
  border: 1px solid rgba(114, 139, 181, 0.24);
  box-shadow: 0 24px 48px rgba(4, 8, 17, 0.3);
}

.hero-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(132, 156, 190, 0.16);
}

.console-label,
.console-card-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7f95b8;
}

.console-status {
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  color: #edf3ff;
}

.hero-console-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.hero-console-card {
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(132, 156, 190, 0.14);
}

.console-card-value {
  margin: 0.35rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.console-card-meta {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(224, 232, 244, 0.72);
}

.hero-stats {
  position: relative;
  inset: auto;
  max-width: var(--max-w);
  margin: 1.2rem auto 0;
  justify-content: flex-start;
  gap: 1rem;
}

.hero-stat {
  min-width: 180px;
  text-align: left;
  padding: 0.95rem 1rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(132, 156, 190, 0.18);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.03em;
}

.inventory-section,
.reviews-section,
.ops-section,
.team-section {
  padding: 4.5rem var(--pad-x);
}

.inventory-section,
.team-section {
  background: transparent;
}

.ops-grid,
.team-panel,
.reviews-track,
.car-grid,
.content-card,
.form-card,
.info-card,
.sidebar-card,
.map-card,
.process-card {
  box-shadow: 0 20px 38px rgba(10, 18, 32, 0.06);
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ops-card {
  padding: 1.4rem;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border: 1px solid rgba(20, 32, 51, 0.08);
}

.ops-index {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.ops-title {
  margin: 0.65rem 0;
  font-size: 30px;
  line-height: 0.92;
  text-transform: uppercase;
}

.ops-copy {
  font-size: 14px;
  color: var(--text-muted);
}

.car-grid {
  gap: 14px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.car-card,
.review-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(20, 32, 51, 0.08);
  background: linear-gradient(180deg, #fff 0%, #f7f9fb 100%);
}

.car-card {
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.car-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(180deg, #fff 0%, #f7f9fb 100%);
  border-color: rgba(31, 94, 255, 0.22);
  box-shadow: 0 24px 48px rgba(8, 15, 29, 0.1);
}

.car-img {
  aspect-ratio: 16 / 9;
  padding: 10px;
  background: linear-gradient(180deg, #edf2f8 0%, #dfe7f2 100%);
  border-bottom: 1px solid rgba(20, 32, 51, 0.08);
}

.car-img-inner {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
}

.car-img img {
  filter: saturate(0.97) contrast(1.02);
}

.car-tag {
  top: 18px;
  left: 18px;
  border-radius: 4px;
  background: rgba(11, 18, 32, 0.9);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.36rem 0.62rem;
}

.car-info {
  gap: 0.75rem;
  padding: 1rem 1rem 1.1rem;
}

.car-meta {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5f6d83;
}

.car-name {
  font-size: 31px;
  line-height: 0.94;
  text-transform: uppercase;
}

.car-spec-pill {
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  background: #f2f5fa;
}

.car-footer {
  border-top: 1px solid rgba(20, 32, 51, 0.08);
}

.car-price {
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}

.car-view {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.review-card {
  padding: 1.6rem;
}

.review-stars {
  color: var(--accent);
  font-size: 16px;
}

.review-text {
  color: #55657d;
  font-style: normal;
}

.trust-section {
  background:
    linear-gradient(180deg, #101a2d 0%, #0a1220 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.trust-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 1rem;
}

.trust-item {
  border-right: none;
  border: 1px solid rgba(132, 156, 190, 0.16);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
}

.trust-icon {
  border-radius: 4px;
}

.team-panel {
  padding: 1rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  border: 1px solid rgba(20, 32, 51, 0.08);
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(280px, 1.15fr) minmax(220px, 0.95fr);
  gap: 1rem;
  align-items: stretch;
}

.team-shot {
  min-height: 290px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(20, 32, 51, 0.08);
}

.team-shot-office {
  background-image:
    linear-gradient(rgba(9, 18, 31, 0.18), rgba(9, 18, 31, 0.18)),
    url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=80');
}

.team-shot-handover {
  background-image:
    linear-gradient(rgba(9, 18, 31, 0.18), rgba(9, 18, 31, 0.18)),
    url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=900&q=80');
}

.team-copy {
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-copy-title {
  font-size: 32px;
  line-height: 0.96;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.team-copy p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.signal-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.signal-chip {
  color: var(--text);
  background: #eef3fb;
}

.inventory-page-header {
  padding-bottom: 1.4rem;
}

.inventory-status-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.inventory-status-card {
  min-height: 80px;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(20, 32, 51, 0.08);
  background: linear-gradient(180deg, #f7faff 0%, #edf3ff 100%);
  color: var(--text);
}

.inventory-status-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  margin-top: 0.4rem;
  text-transform: uppercase;
}

.inventory-status-label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #657490;
}

.filters-bar {
  padding: 1rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(20, 32, 51, 0.08);
}

.filter-group label,
.sort-label,
.field-label,
.spec-key,
.footer-contact-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.inventory-body,
.product-main,
.contact-page-body,
.info-page-body,
.faq-body,
.enquiry-page-body {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.product-main,
.contact-page-body,
.info-page-body,
.faq-body,
.enquiry-page-body {
  gap: 2rem;
}

.product-main,
.form-card,
.info-card,
.sidebar-card,
.process-card,
.map-card,
.content-card,
.faq-item,
.cat-nav,
.cta-strip,
.enquiry-banner {
  border-radius: 10px;
  border: 1px solid rgba(20, 32, 51, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
}

.product-price,
.enquiry-title {
  font-size: 38px;
  line-height: 0.96;
  text-transform: uppercase;
}

.hero-pill,
.enquiry-meta-pill {
  color: var(--text);
  background: #eef3fb;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

footer {
  background:
    linear-gradient(180deg, #0d1728 0%, #09111d 100%);
  padding-top: 2.4rem;
}

.footer-badges {
  max-width: var(--max-w);
  margin: 0 auto 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-badge {
  min-height: 36px;
  color: #d9e2f0;
}

.footer-grid {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.footer-logo {
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-logo span {
  background: var(--accent);
}

.footer-tagline,
.footer-links a,
.footer-contact-val,
.footer-copy,
.footer-legal a {
  color: rgba(227, 235, 245, 0.72);
}

.footer-map {
  background: rgba(255,255,255,0.03);
}

@media (max-width: 1100px) {
  .hero-shell,
  .team-grid,
  .ops-grid,
  .inventory-status-bar {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-console-grid {
    grid-template-columns: 1fr 1fr;
  }

  .car-grid,
  .reviews-track {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 4.75rem;
    padding-bottom: 4rem;
  }

  .hero-shell {
    gap: 1.25rem;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero-console-grid,
  .car-grid,
  .reviews-track,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
  }

  .hero-stat {
    min-width: 0;
  }

  .filters-bar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-logo {
    font-size: 20px;
  }

  .hero-mini-signals,
  .footer-badges,
  .signal-wall {
    gap: 0.55rem;
  }

  .hero-mini-signals span,
  .signal-chip,
  .footer-badge {
    font-size: 12px;
    min-height: 30px;
    padding: 0.28rem 0.62rem;
  }

  .hero-console-grid,
  .filters-bar {
    grid-template-columns: 1fr;
  }

  .ops-title,
  .team-copy-title,
  .car-name,
  .product-price,
  .enquiry-title {
    font-size: 26px;
  }

  .car-price {
    font-size: 28px;
  }
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(29, 78, 216, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  z-index: 201;
  display: flex;
  align-items: center;
  padding: 0 var(--pad-x);
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 3px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover  { color: var(--white); }
.nav-links a.active { color: var(--white); font-weight: 500; }

.nav-cta {
  background: var(--white) !important;
  color: var(--accent) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #dbeafe !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── Mobile menu overlay ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  flex-direction: column;
  padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.02em;
  display: block;
}
.mobile-menu .mobile-cta {
  margin-top: 2rem;
  background: var(--text);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
  font-weight: 500;
  border-bottom: none;
}

/* ============================================================
   SHARED PAGE HEADER (inventory, returns, faq, contact)
   ============================================================ */

.page-header {
  margin-top: var(--nav-h);
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 3rem var(--pad-x);
}

.page-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.page-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.65;
}

/* ============================================================
   SECTION TYPOGRAPHY (home reuse)
   ============================================================ */

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.view-all {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color 0.2s;
  flex-shrink: 0;
}
.view-all:hover { color: var(--text); }
.view-all::after { content: '→'; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }

.btn-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--text);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 15px 28px;
  border-radius: 7px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
}
.btn-dark:hover { background: var(--dark); transform: translateY(-1px); }

.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  padding: 14px 28px;
  border-radius: 7px;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.btn-outline:hover { border-color: var(--text); background: var(--off-white); }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--black);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-white:hover { background: #eef2ff; }

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost-white:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

/* ============================================================
   CAR CARDS (shared across home, inventory, product)
   ============================================================ */

.car-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.car-card {
  background: var(--card-bg);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
  cursor: pointer;
}
.car-card:hover { background: #f5f6f8; }
.car-card:hover .car-img-inner,
.car-card:hover .thumb-inner { transform: scale(1.03); }

.car-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.car-img-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e9ebee 0%, #d5d8dc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--ease);
}

.car-img-placeholder { width: 58%; opacity: 0.22; }
.car-img-placeholder svg { width: 100%; height: auto; }

.car-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--dark);
  color: var(--white);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 4px;
  text-transform: uppercase;
}
.car-tag.featured {
  background: var(--accent);
  color: #fff;
}

.car-info {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.car-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.car-meta span { display: flex; align-items: center; gap: 6px; }
.car-meta span:not(:last-child)::after { content: '·'; color: #d1d5db; }

.car-name {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.25;
}

.car-specs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.car-spec-pill {
  font-size: 11px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 9px;
  color: var(--text-muted);
}

.car-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.car-price {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.car-view {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.car-card:hover .car-view { color: var(--text); }

/* Card colour swatches for placeholder images */
.cc-1  { background: linear-gradient(135deg,#e9ebee,#d5d8dc); }
.cc-2  { background: linear-gradient(135deg,#dce0e4,#c8ccd0); }
.cc-3  { background: linear-gradient(135deg,#e4e7ec,#cdd2d9); }
.cc-4  { background: linear-gradient(135deg,#e0e4ec,#c8d0dc); }
.cc-5  { background: linear-gradient(135deg,#dce4eb,#c8d3dc); }
.cc-6  { background: linear-gradient(135deg,#e4e7ec,#d0d5dc); }
.cc-7  { background: linear-gradient(135deg,#e5e8dd,#d1d4c5); }
.cc-8  { background: linear-gradient(135deg,#dce0e8,#c4c8d4); }
.cc-9  { background: linear-gradient(135deg,#e8dde0,#d4c5c8); }

/* ============================================================
   FORMS (select, input shared base — inventory filters etc.)
   ============================================================ */

select,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29,78,216,0.1);
}
textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  padding-right: 34px;
  cursor: pointer;
}

/* ============================================================
   TRUST STRIP (home)
   ============================================================ */

.trust-section {
  background: var(--dark);
  padding: 4rem var(--pad-x);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-item {
  padding: 2rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trust-item:last-child { border-right: none; }

.trust-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(29,78,216,0.45);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.trust-icon svg { width: 18px; height: 18px; }

.trust-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.trust-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ============================================================
   REVIEWS (home)
   ============================================================ */

.reviews-section { background: var(--off-white); padding: 5rem var(--pad-x); }

.reviews-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.review-card {
  background: var(--card-bg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-stars { color: var(--accent); font-size: 14px; letter-spacing: 1px; }

.review-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  font-style: italic;
  flex: 1;
}
.review-text::before { content: '\201C'; }
.review-text::after  { content: '\201D'; }

.review-author { border-top: 1px solid var(--border); padding-top: 14px; }
.review-name   { font-size: 13px; font-weight: 500; color: var(--text); }
.review-loc    { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: var(--dark);
  padding: 4rem var(--pad-x) 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.8fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.footer-logo span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 3px;
  flex-shrink: 0;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 1.5rem;
}

.footer-socials { display: flex; gap: 10px; }
.social-icon {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.social-icon:hover { border-color: var(--accent); color: var(--accent); }

.footer-col-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item { display: flex; flex-direction: column; gap: 2px; }
.footer-contact-label { font-size: 10.5px; color: rgba(255,255,255,0.35); letter-spacing: 0.06em; text-transform: uppercase; }
.footer-contact-val   { font-size: 13.5px; color: rgba(255,255,255,0.7); }

.footer-map {
  width: 100%;
  height: 160px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 12.5px; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 1.5rem; list-style: none; }
.footer-legal a { font-size: 12.5px; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.55); }

/* ============================================================
   HOME — HERO
   ============================================================ */

.hero {
  margin-top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  min-height: 560px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(15,23,42,0.86) 45%, rgba(15,23,42,0.2) 100%),
    url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?w=1600&q=80') center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--pad-x);
  max-width: 680px;
  animation: heroIn 1s var(--ease) both;
}

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

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 420px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  position: absolute;
  bottom: 2.5rem;
  right: var(--pad-x);
  z-index: 1;
  display: flex;
  gap: 2.5rem;
  animation: heroIn 1s 0.3s var(--ease) both;
}
.hero-stat { text-align: right; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: 3px;
  letter-spacing: 0.04em;
}

/* ── Home sections ── */
section { padding: 5rem var(--pad-x); }
.inventory-section { background: var(--white); }

/* ============================================================
   INVENTORY PAGE
   ============================================================ */

.inventory-page-header {
  margin-top: var(--nav-h);
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem var(--pad-x) 0;
}

.page-header-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-count { font-size: 13px; color: var(--text-muted); margin-top: 5px; }

.sort-wrap { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sort-label { font-size: 13px; color: var(--text-muted); }
.sort-wrap select { min-width: 180px; width: auto; }

.filters-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding-bottom: 1.5rem;
}

.filter-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.filter-group select { min-width: unset; width: 100%; }

.clear-btn {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 10px 0;
  white-space: nowrap;
  align-self: end;
  transition: color 0.2s;
}
.clear-btn:hover { color: var(--text); }

.inventory-body {
  padding: 2rem var(--pad-x) 4rem;
  background: var(--off-white);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 2.5rem;
}
.page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-muted);
  transition: all 0.15s;
  text-decoration: none;
}
.page-btn:hover { border-color: var(--text); color: var(--text); }
.page-btn.active { background: var(--text); color: var(--white); border-color: var(--text); }
.page-btn.arrow { font-size: 16px; }

/* ============================================================
   PRODUCT PAGE
   ============================================================ */

.breadcrumb {
  margin-top: var(--nav-h);
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 12px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--text); }

.product-main {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem var(--pad-x);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.gallery-main {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e9ebee 0%, #d5d8dc 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  position: relative;
  cursor: pointer;
}
.gallery-main svg { width: 45%; opacity: 0.2; }
.gallery-main-label {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(15,23,42,0.65);
  color: var(--white);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gallery-thumb {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb:hover  { border-color: var(--text-muted); }
.gallery-thumb-inner  { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.gallery-thumb-inner svg { width: 50%; opacity: 0.2; }

.lightbox-open { overflow: hidden; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 999;
}
.lightbox-overlay[hidden] { display: none; }

.lightbox-dialog {
  position: relative;
  width: min(1120px, 100%);
  height: min(82vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
}
.lightbox-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.lightbox-btn:hover { opacity: 0.8; }
.lightbox-btn:disabled { opacity: 0.38; cursor: default; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.lightbox-counter {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: transparent;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.product-info { display: flex; flex-direction: column; gap: 20px; }

.product-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--accent); }

.product-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}

.product-price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.product-meta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.meta-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
}
.meta-pill svg { width: 12px; height: 12px; flex-shrink: 0; }

.key-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.key-spec {
  padding: 12px 14px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.key-spec-label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.key-spec-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-display);
}

.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 400;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
}
.trust-badge svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

.cta-stack { display: flex; flex-direction: column; gap: 10px; }

.spec-section {
  background: var(--card-bg);
  padding: 2.5rem var(--pad-x);
  border-bottom: 1px solid var(--border);
}

.spec-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 100%;
}
.spec-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}
.spec-row:last-child { border-bottom: none; }
.spec-cell {
  padding: 12px 16px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.spec-cell:last-child { border-right: none; }
.spec-row:nth-child(even) .spec-cell { background: var(--off-white); }
.spec-key {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.spec-val {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
}

.more-section {
  padding: 2.5rem var(--pad-x);
  background: var(--off-white);
}
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.thumb-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.5s var(--ease);
}
.thumb-inner svg { width: 50%; opacity: 0.18; }

/* ============================================================
   INFO PAGES — Shared sidebar layout
   ============================================================ */

.info-page-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem var(--pad-x) 5rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
  min-width: 0;
}

.content-area { display: flex; flex-direction: column; gap: 2.5rem; min-width: 0; overflow: hidden; }

.content-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.content-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border);
  min-width: 0;
}

.content-card-icon {
  width: 40px; height: 40px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.content-card-icon svg { width: 20px; height: 20px; }

.content-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  word-break: break-word;
}
.content-card-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 2px; word-break: break-word; }

.content-card-body { padding: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; overflow: hidden; }
.content-card-body p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; word-break: break-word; }
.content-card-body p strong { color: var(--text); font-weight: 500; }

/* ── Sidebar ── */
.sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.sidebar-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.sidebar-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.sidebar-contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color 0.2s;
}
.sidebar-contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-contact-item:hover { color: var(--text); }
.sidebar-contact-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.sidebar-contact-item strong { color: var(--text); font-weight: 500; display: block; font-size: 12.5px; }

.sidebar-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.sidebar-list a {
  font-size: 13.5px; color: var(--text-muted); text-decoration: none;
  display: flex; align-items: center; gap: 6px;
  transition: color 0.2s;
  padding: 5px 0;
}
.sidebar-list a:hover { color: var(--accent); }
.sidebar-list a::before { content: '→'; font-size: 12px; color: var(--accent); }

.key-points { display: flex; flex-direction: column; gap: 10px; }
.key-point {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--text-muted); line-height: 1.55;
}
.key-point svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   RETURNS & WARRANTY — specific components
   ============================================================ */

.steps-list { display: flex; flex-direction: column; }
.step-item {
  display: flex; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.step-item:last-child { border-bottom: none; padding-bottom: 0; }

.step-num {
  width: 28px; height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  flex-shrink: 0; margin-top: 1px;
  font-family: var(--font-display);
}
.step-title { font-size: 14.5px; font-weight: 500; color: var(--text); margin-bottom: 3px; }
.step-desc  { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

.criteria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.criteria-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: 8px;
  font-size: 13.5px; line-height: 1.5;
}
.criteria-item.ok      { background: #f0fdf4; color: #166534; }
.criteria-item.not-ok  { background: #fef2f2; color: #991b1b; }
.criteria-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }

.warranty-table { width: 100%; border-collapse: collapse; }
.warranty-table th {
  text-align: left; font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.warranty-table td {
  font-size: 13.5px; color: var(--text-muted);
  padding: 13px 14px; border-bottom: 1px solid var(--border); vertical-align: top;
}
.warranty-table tr:last-child td { border-bottom: none; }
.warranty-table td:first-child { font-weight: 500; color: var(--text); }
.w-tag {
  display: inline-block;
  font-size: 11px; font-weight: 500;
  padding: 2px 8px; border-radius: 4px;
}
.w-tag.blue  { background: var(--accent-light); color: var(--accent); }
.w-tag.green { background: #f0fdf4; color: #166534; }

.notice-box {
  background: var(--accent-light);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex; gap: 12px; align-items: flex-start;
}
.notice-box svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.notice-box-text { font-size: 13.5px; color: #1e3a8a; line-height: 1.65; }
.notice-box-text strong { font-weight: 500; }

/* ============================================================
   FAQ PAGE — specific components
   ============================================================ */

.faq-search-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--pad-x) 0;
  min-width: 0;
}
.faq-search { position: relative; }
.faq-search svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--text-muted); pointer-events: none;
}
.faq-search input {
  padding-left: 42px;
  border-radius: var(--radius-md);
  font-size: 14.5px;
}

.faq-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--pad-x) 5rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
  min-width: 0;
}

.cat-nav { position: sticky; top: calc(var(--nav-h) + 1.5rem); z-index: 10; }
.cat-nav-title {
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px;
}
.cat-nav-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.cat-nav-item a {
  display: block; font-size: 13.5px; color: var(--text-muted);
  text-decoration: none; padding: 7px 12px; border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
.cat-nav-item a:hover { background: var(--card-bg); color: var(--text); }
.cat-nav-item.active a { background: var(--accent-light); color: var(--accent); font-weight: 500; }

.faq-sections { display: flex; flex-direction: column; gap: 2.5rem; }

.faq-section-title {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 10px;
}
.faq-section-title svg { width: 18px; height: 18px; color: var(--accent); }

.faq-list {
  display: flex; flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.5rem; text-align: left;
  cursor: pointer; font-family: var(--font-body);
  font-size: 14.5px; font-weight: 500; color: var(--text);
  transition: background 0.15s;
}
.faq-question:hover { background: var(--off-white); }
.faq-question.open  { background: var(--accent-light); color: var(--accent); }

.faq-chevron {
  width: 18px; height: 18px; flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.25s var(--ease), color 0.15s;
}
.faq-question.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-answer.open { max-height: 600px; }
.faq-answer-inner {
  padding: 1rem 1.25rem;
  font-size: 14px; color: var(--text-muted); line-height: 1.75;
}
.faq-answer-inner p + p { margin-top: 0.75rem; }
.faq-answer-inner a { color: var(--accent); text-decoration: none; }
.faq-answer-inner a:hover { color: var(--accent-dark); }
.faq-answer-inner strong { color: var(--text); font-weight: 500; }

.no-results { display: none; text-align: center; padding: 3rem 1rem; color: var(--text-muted); font-size: 14.5px; }
.no-results svg { width: 36px; height: 36px; margin: 0 auto 1rem; display: block; color: var(--border); }

.cta-strip {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-strip-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; color: #fff;
  letter-spacing: -0.02em; margin-bottom: 6px;
}
.cta-strip-sub { font-size: 14px; color: rgba(255,255,255,0.6); }
.cta-strip-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }

/* ============================================================
   CONTACT PAGE — specific components
   ============================================================ */

.contact-page-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem var(--pad-x) 5rem;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}

.form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.form-card-header { padding: 1.5rem 1.75rem; border-bottom: 1px solid var(--border); }
.form-card-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.form-card-sub   { font-size: 13.5px; color: var(--text-muted); margin-top: 4px; }

.form-body { padding: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; }

.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.topic-btn {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 9px;
  background: var(--card-bg); cursor: pointer;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 400;
  color: var(--text-muted); transition: border-color 0.15s, color 0.15s, background 0.15s;
  text-align: left;
}
.topic-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.topic-btn:hover    { border-color: var(--accent); color: var(--text); background: var(--accent-light); }
.topic-btn.selected { border-color: var(--accent); color: var(--accent); background: var(--accent-light); font-weight: 500; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 12.5px; font-weight: 500; color: var(--text); }
.field-label span { color: var(--text-muted); font-weight: 400; }

.car-ref-row { display: flex; gap: 10px; align-items: flex-end; }
.car-ref-row .field-group { flex: 1; }
.browse-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--off-white); color: var(--text-muted);
  font-family: var(--font-body); font-size: 13px;
  padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; border: 1.5px solid var(--border);
  white-space: nowrap; transition: border-color 0.2s, color 0.2s;
  height: 44px;
}
.browse-btn:hover { border-color: var(--text-muted); color: var(--text); }

.consent-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-muted); line-height: 1.55;
}
.consent-row input[type="checkbox"] {
  width: 16px; height: 16px; min-width: 16px;
  border: 1.5px solid var(--border); border-radius: 4px;
  margin-top: 2px; cursor: pointer; accent-color: var(--accent);
  padding: 0;
}
.consent-row a { color: var(--accent); text-decoration: none; }
.consent-row a:hover { color: var(--accent-dark); }

.submit-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; background: var(--accent); color: #fff;
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  padding: 14px 24px; border-radius: 9px;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 4px;
}
.submit-btn:hover  { background: var(--accent-dark); transform: translateY(-1px); }
.submit-btn:active { transform: translateY(0); }
.submit-btn svg { width: 16px; height: 16px; }

.form-success {
  display: none; padding: 3rem 1.75rem;
  text-align: center; flex-direction: column;
  align-items: center; gap: 1rem;
}
.success-icon {
  width: 56px; height: 56px; background: #f0fdf4;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto; color: #16a34a;
}
.success-icon svg { width: 26px; height: 26px; }
.success-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.success-sub   { font-size: 14px; color: var(--text-muted); max-width: 340px; line-height: 1.65; }

/* Contact sidebar info cards */
.info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.info-card-header {
  padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 14.5px; font-weight: 700; color: var(--text); letter-spacing: -0.01em;
}
.info-card-body { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 14px; }

.info-item { display: flex; align-items: flex-start; gap: 12px; }
.info-item-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--accent-light); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-top: 1px;
}
.info-item-icon svg { width: 17px; height: 17px; }
.info-item-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; margin-bottom: 2px; }
.info-item-val   { font-size: 14px; color: var(--text); }
.info-item-val a { color: var(--text); text-decoration: none; }

.footer-contact-val a[href="contact.html"],
.callback-link-text {
  color: var(--accent);
  text-decoration: none;
}

.footer-contact-val a[href="contact.html"]::before {
  content: '';
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  margin-right: 0.4rem;
  background: currentColor;
  vertical-align: -0.12em;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ============================================================
   PRODUCT ENQUIRY PAGE
   ============================================================ */

.enquiry-page-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem var(--pad-x) 5rem;
  display: grid;
  grid-template-columns: 1fr 360px;
  grid-template-areas:
    "banner process"
    "form process";
  gap: 2rem;
  align-items: start;
}

.enquiry-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  grid-area: form;
}

.enquiry-banner-wrap {
  grid-area: banner;
  width: 100%;
}

.enquiry-process {
  grid-area: process;
}

.enquiry-banner {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  width: 100%;
  max-width: 100%;
}

.enquiry-banner-media {
  width: 132px;
  height: 84px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #e9ebee 0%, #d5d8dc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
}

.enquiry-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.enquiry-banner-media svg {
  width: 52%;
  opacity: 0.2;
}

.enquiry-banner-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.enquiry-kicker {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.enquiry-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
  min-width: 0;
}

.enquiry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.enquiry-meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--off-white);
  font-size: 11px;
  color: var(--text-muted);
}

.process-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.process-card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.process-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.process-card-sub {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.process-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.process-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.process-item:last-child {
  border-bottom: none;
}

.process-step {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.process-item-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.process-item-copy {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   ADMIN PAGE
   ============================================================ */

.admin-page-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem var(--pad-x) 5rem;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
  align-items: start;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.admin-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.admin-card-header {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.admin-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.admin-card-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.admin-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
}

.admin-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-search {
  width: 100%;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.admin-stat {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

.admin-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.admin-stat-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.admin-list {
  display: flex;
  flex-direction: column;
}

.admin-listing {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.admin-listing:last-child {
  border-bottom: none;
}

.admin-listing:hover {
  background: var(--off-white);
}

.admin-listing.active {
  background: var(--accent-light);
}

.admin-listing-thumb {
  width: 72px;
  height: 54px;
  border-radius: 9px;
  overflow: hidden;
  background: linear-gradient(135deg,#e9ebee,#d5d8dc);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-listing-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-listing-thumb svg {
  width: 52%;
  opacity: 0.2;
}

.admin-listing-main {
  min-width: 0;
}

.admin-listing-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.admin-listing-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.admin-listing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10.5px;
  border: 1px solid var(--border);
  background: var(--off-white);
  color: var(--text-muted);
}

.admin-badge.live {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}

.admin-badge.archived {
  background: #f3f4f6;
  color: #4b5563;
  border-color: #d1d5db;
}

.admin-badge.featured {
  background: var(--accent-light);
  color: var(--accent);
  border-color: #bfdbfe;
}

.admin-empty {
  padding: 2rem 1.25rem;
  color: var(--text-muted);
  font-size: 14px;
}

.admin-editor {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-preview {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  align-items: center;
}

.admin-preview-thumb {
  width: 180px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg,#e9ebee,#d5d8dc);
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-preview-thumb svg {
  width: 46%;
  opacity: 0.2;
}

.admin-preview-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.admin-preview-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.admin-btn:hover {
  border-color: var(--text-muted);
}

.admin-btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.admin-btn.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.admin-btn.danger {
  color: #991b1b;
  border-color: #fecaca;
  background: #fef2f2;
}

.admin-btn.danger:hover {
  background: #fee2e2;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-grid .field-group.full {
  grid-column: 1 / -1;
}

.admin-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
}

.admin-check-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.admin-status {
  margin-bottom: 12px;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  display: none;
}

.admin-status.show {
  display: block;
}

.admin-status.success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.admin-status.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.info-item-val a:hover { color: var(--accent); }

.hours-table { width: 100%; }
.hours-row {
  display: flex; justify-content: space-between;
  font-size: 13.5px; padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.hours-row:last-child { border-bottom: none; }
.hours-day  { color: var(--text-muted); }
.hours-time { color: var(--text); }
.hours-time.closed { color: var(--text-muted); }

.map-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.map-placeholder {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, #e9ebee 0%, #dde1e7 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  color: var(--text-muted); font-size: 13px;
}
.map-placeholder svg { width: 28px; height: 28px; color: #c0c8d4; }
.map-card-body { padding: 1.1rem 1.5rem; }
.map-address { font-size: 14px; color: var(--text); line-height: 1.6; }
.map-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--accent); text-decoration: none;
  margin-top: 8px; font-weight: 500;
}
.map-link:hover { color: var(--accent-dark); }

.response-badge {
  background: var(--accent-light);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: #1e3a8a; line-height: 1.55;
}
.response-badge svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); }

/* ============================================================
   RESPONSIVE — Breakpoints
   ============================================================ */

/* ============================================================
   RESPONSIVE — Breakpoints  (largest → smallest)
   ============================================================ */

/* ── Tablet (≤ 960px) ── */
@media (max-width: 960px) {
  :root { --pad-x: 2rem; }

  /* Product layout */
  .product-main { grid-template-columns: 1fr; gap: 2rem; }
  .key-specs { grid-template-columns: repeat(3, 1fr); }
  .more-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Wide tablet (≤ 900px) ── */
@media (max-width: 900px) {
  /* Grids */
  .car-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-last-child(-n+2) { border-bottom: none; }
  .reviews-track { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* Info pages */
  .info-page-body { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

  /* Contact */
  .contact-page-body { grid-template-columns: 1fr; }
  .contact-page-body .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .map-card { grid-column: 1 / -1; }
  .enquiry-page-body {
    grid-template-columns: 1fr;
    grid-template-areas:
      "banner"
      "form"
      "process";
  }
  .admin-page-body { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; }

  /* Inventory */
  .filters-bar { grid-template-columns: 1fr 1fr; }

  /* Hero stats */
  .hero-stats { display: none; }
}

/* ── Mid (≤ 860px) — FAQ sidebar becomes pill row ── */
@media (max-width: 860px) {
  .faq-body { grid-template-columns: 1fr; gap: 1.5rem; }
  .faq-search-wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
  .faq-body { padding-left: 1.25rem; padding-right: 1.25rem; }

  /* Cat-nav: unstick and render as a horizontal pill row */
  .cat-nav { position: static; z-index: auto; }
  .cat-nav-title { display: none; }
  .cat-nav-list { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .cat-nav-item a {
    display: block;
    padding: 6px 14px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
  }
  .cat-nav-item.active a {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
  }
}

/* ── Mobile (≤ 640px) ── */
@media (max-width: 640px) {
  :root { --pad-x: 1.25rem; }

  .enquiry-page-body {
    grid-template-areas:
      "banner"
      "process"
      "form";
  }
  .admin-preview { grid-template-columns: 1fr; }
  .admin-preview-thumb { width: 100%; height: 180px; }
  .admin-grid { grid-template-columns: 1fr; }

  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Grids → 1 col */
  .car-grid        { grid-template-columns: 1fr; }
  .trust-grid      { grid-template-columns: 1fr; }
  .trust-item      { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .trust-item:last-child { border-bottom: none; }
  .reviews-track   { grid-template-columns: 1fr; }
  .more-grid       { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; }
  .criteria-grid   { grid-template-columns: 1fr; }
  .field-row       { grid-template-columns: 1fr; }
  .topic-grid      { grid-template-columns: 1fr; }

  /* Sidebar → stack */
  .sidebar { display: flex; flex-direction: column; }
  .contact-page-body .sidebar { display: flex; flex-direction: column; }

  /* Step items — ensure they don't overflow */
  .step-item { flex-wrap: nowrap; min-width: 0; }
  .step-item > div:last-child { min-width: 0; overflow: hidden; }
  .step-title { word-break: break-word; }
  .step-desc  { word-break: break-word; }

  /* Criteria items */
  .criteria-item { word-break: break-word; }

  /* Product page */
  .spec-row { grid-template-columns: 1fr 1fr; }
  .spec-row .spec-cell:nth-child(3) { grid-column: span 2; border-right: none; border-top: 1px solid var(--border); }
  .key-specs { grid-template-columns: repeat(2, 1fr); }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .enquiry-banner {
    gap: 0.7rem;
    padding: 0.7rem;
    align-items: center;
  }
  .enquiry-banner-media {
    width: 88px;
    height: 66px;
    min-height: 66px;
  }
  .enquiry-kicker {
    font-size: 9px;
    letter-spacing: 0.07em;
  }
  .enquiry-title {
    font-size: 13px;
    line-height: 1.25;
  }
  .enquiry-meta {
    gap: 5px;
  }
  .enquiry-meta-pill {
    font-size: 10.5px;
    padding: 3px 6px;
  }

  /* Inventory */
  .filters-bar { grid-template-columns: 1fr 1fr; gap: 8px; }
  .inventory-body { padding: 1.25rem var(--pad-x) 3rem; }

  /* Info page headers */
  .page-header { padding: 2rem var(--pad-x); }
  .info-page-body { padding: 2rem var(--pad-x) 4rem; }
  .contact-page-body { padding: 2rem var(--pad-x) 4rem; }
  .enquiry-page-body { padding: 2rem var(--pad-x) 4rem; }
  .admin-page-body { padding: 2rem var(--pad-x) 4rem; }

  /* General sections */
  section { padding: 3.5rem var(--pad-x); }
  .trust-section { padding: 3rem var(--pad-x); }
  footer { padding: 3rem var(--pad-x) 1.5rem; }

  /* CTA strip — stack buttons vertically */
  .cta-strip { padding: 1.75rem; flex-direction: column; align-items: stretch; }
  .cta-strip-actions { flex-direction: column; width: 100%; }
  .cta-strip-actions .btn-white,
  .cta-strip-actions .btn-ghost-white { text-align: center; justify-content: center; width: 100%; box-sizing: border-box; }

  /* Warranty table — scrollable rather than overflowing */
  .warranty-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }
  .warranty-table { min-width: 420px; }

  /* Hero */
  .hero-content { padding: 0 var(--pad-x); }

  /* Breadcrumb */
  .breadcrumb { padding: 10px var(--pad-x); }
  .product-main { padding: 1.5rem var(--pad-x); }
  .spec-section { padding: 2rem var(--pad-x); }
  .more-section { padding: 2rem var(--pad-x); }
}

/* ============================================================
   FAQ CATEGORY NAV — FIXED (desktop + mobile)
   ============================================================ */

.faq-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--pad-x) 4rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
}

/* Sidebar */
.cat-nav {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  align-self: start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: block;
  width: 100%;
}

.cat-nav-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.cat-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat-nav-item a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}

.cat-nav-item a:hover {
  background: var(--off-white);
  color: var(--text);
}

.cat-nav-item.active a {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 500;
}

/* FAQ content fix */
.faq-sections {
  min-width: 0;
}

/* ============================================================
   MOBILE FIX (THIS IS WHAT WAS BREAKING)
   ============================================================ */

@media (max-width: 900px) {

  .faq-body {
    grid-template-columns: 1fr;
  }

  .cat-nav {
    position: static;
    padding: 0;
    border: none;
    background: transparent;
  }

  .cat-nav-title {
    display: none;
  }

  .cat-nav-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
  }

  .cat-nav-item {
    flex-shrink: 0;
  }

  .cat-nav-item a {
    white-space: nowrap;
    border: 1px solid var(--border);
    background: var(--card-bg);
    padding: 8px 12px;
    font-size: 13px;
  }

  .cat-nav-item.active a {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
  }

  /* smoother scrolling */
  .cat-nav-list::-webkit-scrollbar {
    height: 4px;
  }
}

/* ============================================================
   FINAL OVERRIDE PASS - keep revamp rules last in cascade
   ============================================================ */

:root {
  --dark: #0a1220;
  --black: #0b1220;
  --off-white: #edf1f5;
  --border: #cfd7e3;
  --accent: #1f5eff;
  --accent-dark: #1748c7;
  --accent-light: #eaf0ff;
  --text: #142033;
  --text-muted: #627188;
  --card-bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --font-display: Arial, Helvetica, sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --max-w: 1240px;
}

body {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef2f6 100%);
  color: var(--text);
}

nav {
  background: rgba(18, 29, 48, 0.96);
  border-bottom: 1px solid rgba(120, 144, 179, 0.28);
  box-shadow: 0 18px 40px rgba(6, 12, 23, 0.18);
}

.hamburger span { background: #fff; }

.nav-links a {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.76);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.nav-logo span {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.18);
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-primary,
.btn-dark,
.btn-white {
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-eyebrow,
.section-label,
.footer-col-title,
.product-eyebrow,
.filter-group label,
.sort-label,
.field-label,
.spec-key,
.footer-contact-label {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-title,
.section-title,
.product-name,
.content-card-title,
.form-card-title,
.process-card-title,
.info-card-header,
.sidebar-title,
.faq-section-title,
.cta-strip-title,
.review-name,
.trust-title,
.ops-title,
.team-copy-title,
.car-name,
.product-price,
.enquiry-title {
  font-family: var(--font-display);
}

.hero {
  min-height: 720px;
  height: auto;
  padding: 5.5rem var(--pad-x) 7rem;
  display: block;
  background: radial-gradient(circle at top right, rgba(31,94,255,0.18), transparent 24%), linear-gradient(180deg, #0b1424 0%, #0d1727 100%);
}

.hero-bg {
  background:
    linear-gradient(to right, rgba(10,18,32,0.96) 24%, rgba(10,18,32,0.78) 58%, rgba(10,18,32,0.7) 100%),
    linear-gradient(rgba(66, 88, 122, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 88, 122, 0.12) 1px, transparent 1px),
    url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  background-size: auto, 42px 42px, 42px 42px, cover;
}

.hero-shell {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 2rem;
  align-items: stretch;
}

.hero-content {
  max-width: none;
  padding: 0;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 78px);
  line-height: 0.92;
  text-transform: uppercase;
}

.hero-sub {
  max-width: 620px;
  font-size: 17px;
  color: rgba(231, 237, 247, 0.78);
}

.hero-mini-signals,
.signal-wall,
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-mini-signals span,
.signal-chip,
.footer-badge,
.hero-pill,
.car-spec-pill,
.enquiry-meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-mini-signals span,
.footer-badge {
  border: 1px solid rgba(117, 138, 170, 0.34);
  background: rgba(255,255,255,0.06);
  color: #d9e2f0;
}

.signal-chip,
.hero-pill,
.car-spec-pill,
.enquiry-meta-pill {
  background: #eef3fb;
  color: var(--text);
  border: 1px solid rgba(20, 32, 51, 0.08);
}

.hero-console {
  position: relative;
  z-index: 1;
  padding: 1.2rem;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(8,15,28,0.9), rgba(12,22,38,0.82));
  border: 1px solid rgba(114, 139, 181, 0.24);
  box-shadow: 0 24px 48px rgba(4, 8, 17, 0.3);
}

.hero-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(132, 156, 190, 0.16);
}

.console-label,
.console-card-label,
.inventory-status-label,
.ops-index {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-label,
.console-card-label { color: #7f95b8; }
.inventory-status-label,
.ops-index { color: var(--accent); }

.console-status {
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  color: #edf3ff;
  border: 1px solid rgba(117, 138, 170, 0.34);
  background: rgba(255,255,255,0.06);
}

.hero-console-grid,
.ops-grid {
  display: grid;
  gap: 1rem;
}

.hero-console-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
.ops-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.hero-console-card,
.ops-card,
.car-card,
.review-card,
.team-panel,
.form-card,
.info-card,
.sidebar-card,
.map-card,
.process-card,
.content-card,
.faq-item,
.cat-nav,
.cta-strip,
.enquiry-banner {
  border-radius: 10px;
  border: 1px solid rgba(20, 32, 51, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  box-shadow: 0 20px 38px rgba(10, 18, 32, 0.06);
}

.console-card-value,
.ops-title,
.car-name,
.product-price,
.enquiry-title {
  text-transform: uppercase;
}

.console-card-value {
  margin: 0.35rem 0 0.45rem;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.console-card-meta,
.ops-copy,
.review-text,
.team-copy p {
  color: var(--text-muted);
}

.inventory-section,
.reviews-section,
.ops-section,
.team-section {
  padding: 4.5rem var(--pad-x);
  background: transparent;
}

.ops-card { padding: 1.4rem; }

.ops-title {
  margin: 0.65rem 0;
  font-size: 30px;
  line-height: 0.92;
}

.car-grid,
.reviews-track {
  gap: 14px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.car-card {
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.car-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 94, 255, 0.22);
  box-shadow: 0 24px 48px rgba(8, 15, 29, 0.1);
}

.car-img {
  aspect-ratio: 16 / 9;
  padding: 10px;
  background: linear-gradient(180deg, #edf2f8 0%, #dfe7f2 100%);
  border-bottom: 1px solid rgba(20, 32, 51, 0.08);
}

.car-img-inner {
  border-radius: 8px;
  overflow: hidden;
}

.car-tag {
  top: 18px;
  left: 18px;
  border-radius: 4px;
  background: rgba(11, 18, 32, 0.9);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.36rem 0.62rem;
}

.car-info {
  gap: 0.75rem;
  padding: 1rem 1rem 1.1rem;
}

.car-meta {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5f6d83;
}

.car-name {
  font-size: 31px;
  line-height: 0.94;
}

.car-price {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.car-view {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.trust-section {
  background: linear-gradient(180deg, #101a2d 0%, #0a1220 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.trust-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 1rem;
}

.trust-item {
  border-right: none;
  border-radius: 10px;
  border: 1px solid rgba(132, 156, 190, 0.16);
  background: rgba(255,255,255,0.03);
}

.team-panel { padding: 1rem; }

.team-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(280px, 1.15fr) minmax(220px, 0.95fr);
  gap: 1rem;
  align-items: stretch;
}

.team-shot {
  min-height: 290px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(20, 32, 51, 0.08);
}

.team-shot-office {
  background-image: linear-gradient(rgba(9, 18, 31, 0.18), rgba(9, 18, 31, 0.18)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=80');
}

.team-shot-handover {
  background-image: linear-gradient(rgba(9, 18, 31, 0.18), rgba(9, 18, 31, 0.18)), url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=900&q=80');
}

.team-copy {
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-copy-title {
  font-size: 32px;
  line-height: 0.96;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.inventory-page-header {
  background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(246,248,251,0.95) 100%);
  border-bottom: 1px solid rgba(20, 32, 51, 0.08);
  padding-bottom: 1.4rem;
}

.inventory-status-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.inventory-status-card {
  min-height: 80px;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(20, 32, 51, 0.08);
  background: linear-gradient(180deg, #f7faff 0%, #edf3ff 100%);
}

.inventory-status-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  margin-top: 0.4rem;
  text-transform: uppercase;
}

.filters-bar {
  padding: 1rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(20, 32, 51, 0.08);
}

.inventory-body,
.product-main,
.contact-page-body,
.info-page-body,
.faq-body,
.enquiry-page-body,
.footer-grid,
.footer-badges {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.footer-badges { margin-bottom: 2rem; }

footer {
  background: linear-gradient(180deg, #0d1728 0%, #09111d 100%);
  padding-top: 2.4rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-tagline,
.footer-links a,
.footer-contact-val,
.footer-copy,
.footer-legal a {
  color: rgba(227, 235, 245, 0.72);
}

@media (max-width: 1100px) {
  .hero-shell,
  .team-grid,
  .ops-grid,
  .inventory-status-bar {
    grid-template-columns: 1fr;
  }

  .hero-console-grid,
  .car-grid,
  .reviews-track {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 4.75rem;
    padding-bottom: 4rem;
    min-height: 0;
  }

  .hero-shell,
  .hero-console-grid,
  .car-grid,
  .reviews-track,
  .trust-grid,
  .filters-bar {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero-stats {
    display: flex;
    position: relative;
    inset: auto;
    margin: 1rem auto 0;
    flex-direction: column;
    gap: 0.8rem;
    max-width: var(--max-w);
  }

  .hero-stat {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .nav-logo { font-size: 20px; }

  .hero-mini-signals span,
  .signal-chip,
  .footer-badge,
  .hero-pill,
  .car-spec-pill,
  .enquiry-meta-pill {
    font-size: 12px;
    min-height: 30px;
    padding: 0.28rem 0.62rem;
  }

  .ops-title,
  .team-copy-title,
  .car-name,
  .product-price,
  .enquiry-title {
    font-size: 26px;
  }

  .car-price { font-size: 28px; }
}

/* ============================================================
   SIMPLE VEHICLE SALES REVAMP - older classified style
   ============================================================ */

:root {
  --dark: #003b78;
  --black: #222222;
  --off-white: #f2f2f2;
  --border: #d2d2d2;
  --accent: #005baa;
  --accent-dark: #00427d;
  --accent-light: #e8f1fa;
  --text: #222222;
  --text-muted: #666666;
  --card-bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f7f7f7;
  --font-display: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 4px;
  --max-w: 1180px;
}

body {
  background: #eeeeee;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}

nav {
  height: 58px;
  background: #005baa;
  border-bottom: 4px solid #003b78;
  box-shadow: none;
}

.nav-logo {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}

.nav-logo span {
  width: 9px;
  height: 9px;
  background: #ffd200;
  border-radius: 0;
  box-shadow: none;
}

.nav-links {
  gap: 0;
}

.nav-links li {
  border-left: 1px solid rgba(255,255,255,0.18);
}

.nav-links a {
  display: block;
  padding: 19px 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}

.nav-links a.active,
.nav-links a:hover {
  background: #00427d;
}

.nav-cta {
  margin-left: 10px;
  padding: 9px 14px !important;
  background: #ffd200 !important;
  color: #111 !important;
  border: 1px solid #caa600;
  border-radius: 2px !important;
  text-transform: none;
  letter-spacing: 0;
}

.mobile-menu a,
.btn-primary,
.btn-dark,
.btn-white,
.section-title,
.page-title,
.product-name,
.car-name,
.car-price,
.footer-logo,
.ops-title,
.team-copy-title {
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.btn-primary,
.btn-dark,
.btn-white,
.submit-btn {
  background: #005baa;
  border: 1px solid #00427d;
  border-radius: 2px;
  box-shadow: none;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
}

.btn-primary:hover,
.btn-dark:hover,
.submit-btn:hover {
  background: #00427d;
}

.btn-ghost,
.btn-outline,
.btn-ghost-white {
  background: #fff;
  color: #005baa;
  border: 1px solid #b7c5d4;
  border-radius: 2px;
}

.hero {
  margin-top: var(--nav-h);
  min-height: 0;
  padding: 30px var(--pad-x);
  background: #fff;
  border-bottom: 1px solid #d5d5d5;
}

.hero-bg {
  display: none;
}

.hero-shell {
  max-width: var(--max-w);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 25px;
}

.hero h1 {
  color: #202020;
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-sub {
  max-width: 680px;
  margin-bottom: 18px;
  color: #555;
  font-size: 16px;
  line-height: 1.55;
}

.hero-eyebrow,
.page-eyebrow,
.section-label {
  color: #005baa;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.hero-eyebrow::before {
  display: none;
}

.hero-mini-signals,
.footer-badges,
.signal-wall {
  gap: 6px;
}

.hero-mini-signals span,
.footer-badge,
.signal-chip,
.listing-badge,
.car-tag,
.car-spec-pill,
.enquiry-meta-pill {
  min-height: 0;
  padding: 4px 7px;
  border-radius: 2px;
  border: 1px solid #c9c9c9;
  background: #f5f5f5;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  backdrop-filter: none;
}

.listing-badge {
  display: inline-flex;
  background: #e8f1fa;
  border-color: #aac4df;
  color: #00427d;
}

.listing-badge.muted {
  background: #f4f4f4;
  border-color: #d0d0d0;
  color: #555;
}

.hero-console {
  padding: 0;
  border-radius: 3px;
  border: 1px solid #cfcfcf;
  background: #f8f8f8;
  box-shadow: none;
}

.hero-console-head {
  margin: 0;
  padding: 10px 12px;
  background: #003b78;
  border-bottom: 1px solid #003b78;
}

.console-label,
.console-status {
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.console-status {
  background: #ffd200;
  color: #111;
  border: 0;
  border-radius: 2px;
}

.hero-console-grid {
  display: block;
}

.hero-console-card {
  padding: 12px;
  border: 0;
  border-bottom: 1px solid #dedede;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.hero-console-card:last-child {
  border-bottom: 0;
}

.console-card-label {
  color: #777;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.console-card-value {
  margin: 2px 0 3px;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.25;
  text-transform: none;
}

.console-card-meta {
  color: #666;
  font-size: 13px;
}

.hero-stats {
  display: none;
}

.inventory-section,
.ops-section,
.team-section,
.reviews-section {
  padding: 28px var(--pad-x);
}

.section-header {
  max-width: var(--max-w);
  margin: 0 auto 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #d4d4d4;
}

.section-title {
  color: #222;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.view-all {
  color: #005baa;
  font-weight: 700;
  text-decoration: none;
}

.car-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  background: transparent;
  border: 0;
  overflow: visible;
}

.car-card,
.vehicle-row {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 190px;
  gap: 0;
  align-items: stretch;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  background: #fff;
  box-shadow: none;
  color: #222;
}

.car-card:hover {
  transform: none;
  border-color: #005baa;
  box-shadow: none;
  background: #fff;
}

.car-img {
  height: 185px;
  min-height: 185px;
  aspect-ratio: auto;
  padding: 0;
  background: #e9e9e9;
  border-right: 1px solid #d4d4d4;
  border-bottom: 0;
}

.car-img-inner {
  border-radius: 0;
}

.car-tag {
  top: 8px;
  left: 8px;
  background: #ffd200;
  border-color: #caa600;
  color: #111;
}

.car-info {
  padding: 13px 15px;
  gap: 8px;
}

.vehicle-row-top {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.car-name {
  color: #003b78;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.car-summary {
  margin: 0;
  color: #555;
  line-height: 1.45;
}

.vehicle-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #d8d8d8;
  background: #f8f8f8;
}

.vehicle-spec-grid span {
  padding: 7px 8px;
  border-right: 1px solid #d8d8d8;
  color: #333;
  font-size: 13px;
}

.vehicle-spec-grid span:last-child {
  border-right: 0;
}

.vehicle-spec-grid strong {
  display: block;
  margin-bottom: 2px;
  color: #777;
  font-size: 11px;
  text-transform: uppercase;
}

.car-specs {
  gap: 5px;
}

.vehicle-price-panel,
.vehicle-row .car-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 13px;
  border-left: 1px solid #d4d4d4;
  background: #f7f7f7;
  text-align: center;
}

.vehicle-row .car-footer {
  margin-top: 0;
  border-top: 0;
}

.price-label {
  color: #777;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.car-price {
  color: #111;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.1;
}

.price-note {
  color: #777;
  font-size: 12px;
}

.car-view,
.car-enquire {
  display: block;
  padding: 8px 10px;
  border-radius: 2px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.car-view {
  border: 1px solid #8ea9c7;
  background: #fff;
  color: #005baa;
}

.car-enquire {
  border: 1px solid #00427d;
  background: #005baa;
  color: #fff;
}

.inventory-page-header,
.page-header {
  background: #fff;
  border-bottom: 1px solid #d4d4d4;
}

.inventory-status-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.inventory-status-card {
  min-height: auto;
  padding: 10px 12px;
  border: 1px solid #d2d2d2;
  border-radius: 3px;
  background: #f7f7f7;
  box-shadow: none;
}

.inventory-status-label {
  color: #777;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.inventory-status-card strong {
  margin-top: 3px;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.25;
  text-transform: none;
}

.filters-bar {
  padding: 12px;
  border: 1px solid #d2d2d2;
  border-radius: 3px;
  background: #f6f6f6;
}

select,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  border-radius: 2px;
  border: 1px solid #bcbcbc;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}

.ops-grid,
.trust-grid,
.reviews-track {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ops-card,
.trust-item,
.review-card,
.team-panel,
.content-card,
.form-card,
.info-card,
.sidebar-card,
.map-card,
.process-card,
.faq-item,
.cat-nav,
.cta-strip,
.enquiry-banner {
  border: 1px solid #d2d2d2;
  border-radius: 3px;
  background: #fff;
  box-shadow: none;
}

.ops-card,
.trust-item,
.review-card {
  padding: 15px;
}

.ops-title,
.trust-title {
  color: #003b78;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.trust-section {
  padding: 24px var(--pad-x);
  background: #f8f8f8;
  border-top: 1px solid #d4d4d4;
  border-bottom: 1px solid #d4d4d4;
}

.trust-title {
  color: #003b78;
}

.trust-desc {
  color: #555;
}

.team-grid {
  grid-template-columns: 220px minmax(0, 1fr) 220px;
}

.team-shot {
  min-height: 190px;
  border-radius: 2px;
}

.team-copy-title {
  color: #222;
  font-size: 22px;
  line-height: 1.25;
}

footer {
  background: #303030;
  border-top: 5px solid #005baa;
}

.footer-badge {
  background: #414141;
  border-color: #555;
  color: #fff;
}

.footer-logo {
  font-size: 22px;
  color: #fff;
}

.footer-tagline,
.footer-links a,
.footer-contact-val,
.footer-copy,
.footer-legal a {
  color: #dddddd;
}

.footer-col-title {
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 980px) {
  .hero-shell,
  .car-card,
  .vehicle-row,
  .inventory-status-bar,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .car-img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid #d4d4d4;
  }

  .vehicle-price-panel,
  .vehicle-row .car-footer {
    border-left: 0;
    border-top: 1px solid #d4d4d4;
  }

  .ops-grid,
  .trust-grid,
  .reviews-track {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   CLEAN WHITE NAV + PRODUCT RECORD REVAMP
   ============================================================ */

nav {
  background: #fff;
  border-bottom: 1px solid #d9d9d9;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.nav-logo {
  color: #1f2933;
}

.nav-logo span {
  background: #005baa;
}

.nav-links li {
  border-left: 1px solid #e6e6e6;
}

.nav-links a {
  color: #1f2933;
}

.nav-links a.active,
.nav-links a:hover {
  background: #f2f6fb;
  color: #005baa;
}

.nav-cta {
  background: #005baa !important;
  color: #fff !important;
  border-color: #00427d;
}

.hamburger span {
  background: #1f2933;
}

.home-intro {
  max-width: var(--max-w);
  margin: calc(var(--nav-h) + 22px) auto 0;
  padding: 22px var(--pad-x);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border: 1px solid #d7d7d7;
}

.home-intro h1 {
  margin: 4px 0 6px;
  color: #202020;
  font-size: 32px;
  line-height: 1.15;
}

.home-intro p {
  max-width: 650px;
  color: #555;
  margin: 0;
}

.home-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-quick-links a {
  padding: 8px 11px;
  border: 1px solid #aac4df;
  background: #f5f9fd;
  color: #005baa;
  font-weight: 700;
  text-decoration: none;
}

.home-info-strip {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x) 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.home-info-strip div {
  padding: 12px;
  border: 1px solid #d6d6d6;
  background: #fff;
}

.home-info-strip strong,
.home-info-strip span {
  display: block;
}

.home-info-strip strong {
  color: #005baa;
  margin-bottom: 3px;
}

.home-info-strip span {
  color: #666;
  font-size: 13px;
}

.simple-team-panel {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px 260px;
  gap: 14px;
  padding: 14px;
}

.simple-team-panel .team-copy {
  padding: 8px 6px;
}

.team-shot span {
  display: inline-block;
  margin: 10px;
  padding: 4px 7px;
  background: rgba(255,255,255,0.9);
  border: 1px solid #d2d2d2;
  color: #333;
  font-size: 12px;
  font-weight: 700;
}

.team-shot-team {
  background-image: linear-gradient(rgba(9, 18, 31, 0.14), rgba(9, 18, 31, 0.14)), url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=900&q=80');
}

.breadcrumb {
  margin-top: var(--nav-h);
  background: #f7f7f7;
  border-bottom: 1px solid #d8d8d8;
}

.vehicle-record-head {
  max-width: none;
  padding: 18px 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border-bottom: 1px solid #d8d8d8;
}

.vehicle-record-head h1 {
  margin: 0 0 8px;
  color: #2f333b;
  font-size: 32px;
  line-height: 1.15;
}

.vehicle-record-meta,
.vehicle-record-office {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: #5d6673;
  font-size: 14px;
}

.vehicle-record-office {
  justify-content: flex-end;
  font-weight: 600;
}

.product-record-main {
  max-width: none;
  margin: 0;
  padding: 16px 30px;
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(340px, 0.82fr);
  gap: 16px;
  background: #f5f5f5;
  border: 0;
  box-shadow: none;
}

.product-record-main > div:first-child {
  min-width: 0;
}

.product-record-main .gallery-main {
  min-height: 520px;
  border: 1px solid #cfd6df;
  border-radius: 4px;
  background: #e9e9e9;
}

.product-record-main .gallery-thumbs {
  margin-top: 8px;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.product-record-main .gallery-thumb {
  border-radius: 3px;
  border: 2px solid #d2d2d2;
}

.product-record-main .gallery-thumb.active {
  border-color: #005baa;
}

.product-record-main .product-info {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 12px;
}

.product-record-main .product-eyebrow {
  color: #005baa;
  font-size: 13px;
  font-weight: 700;
}

.product-record-main .product-name {
  color: #333;
  font-size: 22px;
}

.product-record-main .product-price {
  padding: 14px;
  border: 1px solid #d6d6d6;
  background: #fff;
  color: #202020;
  font-size: 34px;
}

.product-record-main .hero-pills {
  margin: 0;
  padding: 12px;
  border: 1px solid #d6d6d6;
  background: #fff;
}

.product-record-main .product-desc {
  margin: 0;
  border-radius: 3px;
  background: #fff;
}

.record-checks {
  display: grid;
  gap: 0;
  border: 1px solid #d6d6d6;
  background: #fff;
}

.record-checks div {
  padding: 12px 14px;
  border-bottom: 1px solid #e0e0e0;
}

.record-checks div:last-child {
  border-bottom: 0;
}

.record-checks strong,
.record-checks span {
  display: block;
}

.record-checks strong {
  color: #2f333b;
  font-size: 17px;
  margin-bottom: 2px;
}

.record-checks span {
  color: #687386;
}

.product-record-main .cta-stack {
  padding: 14px;
  border: 1px solid #d6d6d6;
  background: #fff;
}

.spec-section {
  max-width: none;
  margin: 0;
  padding: 18px 30px;
  background: #f5f5f5;
}

.spec-section .section-title {
  font-size: 22px;
}

.spec-grid {
  border-radius: 3px;
}

.spec-cell {
  background: #fff;
}

@media (max-width: 980px) {
  .home-intro,
  .vehicle-record-head,
  .product-record-main,
  .simple-team-panel {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .home-info-strip {
    grid-template-columns: 1fr 1fr;
  }

  .product-record-main {
    padding: 12px var(--pad-x);
  }

  .product-record-main .gallery-main {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .home-intro {
    margin-top: calc(var(--nav-h) + 12px);
  }

  .home-info-strip {
    grid-template-columns: 1fr;
  }

  .vehicle-record-head {
    padding: 14px var(--pad-x);
  }

  .vehicle-record-head h1 {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
  }

  .vehicle-spec-grid,
  .ops-grid,
  .trust-grid,
  .reviews-track {
    grid-template-columns: 1fr;
  }

  .section-title,
  .car-name,
  .team-copy-title {
    font-size: 21px;
  }

  .car-price {
    font-size: 25px;
  }
}

/* Keep row listings consistent whether the price block is rendered as a
   dedicated panel or the older card footer from the previous markup. */
.vehicle-row {
  position: relative;
  grid-template-columns: 250px minmax(0, 1fr);
}

.vehicle-row .car-info {
  position: relative;
  min-height: 185px;
  padding-right: 205px;
}

.vehicle-price-panel,
.vehicle-row .car-footer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 190px;
}

.vehicle-row .car-footer .car-view {
  width: 100%;
}

@media (max-width: 980px) {
  .vehicle-row .car-info {
    min-height: 0;
    padding-right: 15px;
  }

  .vehicle-price-panel,
  .vehicle-row .car-footer {
    position: static;
    width: auto;
  }
}

/* ============================================================
   FINAL CLASSIFIEDS THEME - Meridian Motors
   Dense UK used-car listings, Exchange & Mart-inspired
   ============================================================ */

body.classified-site {
  --classified-blue: #0056a8;
  --classified-blue-dark: #003f7d;
  --classified-yellow: #ffd400;
  --classified-line: #cfcfcf;
  --classified-line-dark: #b8b8b8;
  --classified-page: #eeeeee;
  --classified-panel: #ffffff;
  --classified-soft: #f5f5f5;
  --classified-cell: #f2f2f2;
  --classified-text: #222222;
  --classified-muted: #666666;
  --classified-max: 1240px;
  min-width: 320px;
  background: var(--classified-page);
  color: var(--classified-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

body.classified-site a {
  color: var(--classified-blue);
}

body.classified-site h1,
body.classified-site h2,
body.classified-site h3,
body.classified-site p {
  margin: 0;
}

body.classified-site section {
  padding: 0;
}

body.classified-site .site-nav {
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  height: auto;
  min-height: 52px;
  z-index: 50;
  max-width: none;
  padding: 0 calc((100vw - min(var(--classified-max), calc(100vw - 24px))) / 2);
  background: #ffffff;
  border-top: 4px solid var(--classified-blue);
  border-bottom: 1px solid var(--classified-line);
  box-shadow: none;
  backdrop-filter: none;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

body.classified-site .nav-logo {
  min-height: 52px;
  padding: 0 14px 0 0;
  color: #1f1f1f;
  font: 700 21px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.classified-site .nav-logo span,
body.classified-site .footer-logo span {
  width: 9px;
  height: 9px;
  border-radius: 0;
  background: var(--classified-blue);
  box-shadow: none;
}

body.classified-site .nav-links {
  gap: 0;
  align-items: stretch;
}

body.classified-site .nav-links li {
  border-left: 1px solid #e5e5e5;
}

body.classified-site .nav-links a {
  min-height: 52px;
  padding: 17px 13px 14px;
  color: #222222;
  font: 700 13px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  display: block;
}

body.classified-site .nav-links a.active,
body.classified-site .nav-links a:hover {
  background: #eaf2fb;
  color: var(--classified-blue);
}

body.classified-site .nav-links .nav-cta {
  margin: 8px 0 8px 10px;
  min-height: 0;
  padding: 8px 12px !important;
  background: var(--classified-blue) !important;
  border: 1px solid var(--classified-blue-dark);
  border-radius: 2px !important;
  color: #ffffff !important;
}

body.classified-site .nav-links .nav-cta:hover {
  background: var(--classified-blue-dark) !important;
  color: #ffffff !important;
}

body.classified-site .hamburger {
  display: none;
  align-self: center;
  padding: 9px;
  margin-left: 8px;
  border: 1px solid var(--classified-line);
  border-radius: 2px;
  background: #f6f6f6;
}

body.classified-site .hamburger span {
  background: #222222;
}

body.classified-site .mobile-menu {
  top: 56px;
  inset: 56px 0 auto 0;
  min-height: calc(100vh - 56px);
  padding: 10px 12px 18px;
  background: #ffffff;
  border-top: 1px solid var(--classified-line);
}

body.classified-site .mobile-menu a {
  padding: 11px 8px;
  color: #222222;
  font: 700 15px/1.2 Arial, Helvetica, sans-serif;
  border-bottom: 1px solid #dddddd;
}

body.classified-site .mobile-menu .mobile-cta {
  margin-top: 10px;
  background: var(--classified-blue);
  border: 1px solid var(--classified-blue-dark);
  border-radius: 2px;
  color: #ffffff;
  text-align: left;
}

body.classified-site main,
body.classified-site .section-shell,
body.classified-site .home-intro,
body.classified-site .home-info-strip,
body.classified-site .inventory-shell,
body.classified-site .detail-shell {
  max-width: var(--classified-max);
  margin-left: auto;
  margin-right: auto;
}

body.classified-site .home-intro {
  margin-top: 14px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--classified-line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}

body.classified-site .page-eyebrow,
body.classified-site .section-label {
  margin-bottom: 3px;
  color: var(--classified-blue);
  font: 700 12px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

body.classified-site .home-intro h1 {
  margin: 0 0 5px;
  color: #222222;
  font: 700 28px/1.15 Arial, Helvetica, sans-serif;
}

body.classified-site .home-intro p {
  max-width: 720px;
  color: #555555;
  font-size: 14px;
}

body.classified-site .classified-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

body.classified-site .btn-solid,
body.classified-site .btn-outline,
body.classified-site .clear-btn,
body.classified-site .inline-button,
body.classified-site .page-btn {
  min-height: 31px;
  padding: 7px 10px;
  border-radius: 2px;
  font: 700 13px/1.2 Arial, Helvetica, sans-serif;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

body.classified-site .btn-solid {
  background: var(--classified-blue);
  border: 1px solid var(--classified-blue-dark);
  color: #ffffff;
}

body.classified-site .btn-solid:hover {
  background: var(--classified-blue-dark);
  color: #ffffff;
}

body.classified-site .btn-outline,
body.classified-site .inline-button,
body.classified-site .page-btn {
  background: #ffffff;
  border: 1px solid #9eb5cf;
  color: var(--classified-blue);
}

body.classified-site .btn-outline:hover,
body.classified-site .inline-button:hover,
body.classified-site .page-btn:hover {
  background: #eef5fc;
}

body.classified-site .section-shell {
  margin-top: 14px;
  background: #ffffff;
  border: 1px solid var(--classified-line);
}

body.classified-site .section-heading {
  max-width: none;
  margin: 0;
  padding: 10px 12px;
  border-bottom: 2px solid var(--classified-blue);
  background: #f7f7f7;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

body.classified-site .section-heading h2 {
  color: #222222;
  font: 700 20px/1.2 Arial, Helvetica, sans-serif;
}

body.classified-site .text-link {
  color: var(--classified-blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

body.classified-site .text-link:hover {
  color: var(--classified-blue-dark);
}

body.classified-site .listing-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #ffffff;
}

body.classified-site .listing-row {
  min-height: 168px;
  border-bottom: 1px solid var(--classified-line);
  background: #ffffff;
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr) 174px;
  align-items: stretch;
}

body.classified-site .listing-row:last-child {
  border-bottom: 0;
}

body.classified-site .listing-row:hover {
  background: #fbfdff;
}

body.classified-site .loading-row {
  min-height: 168px;
  background: #ffffff;
  position: relative;
}

body.classified-site .loading-row::before {
  content: "Loading listing...";
  position: absolute;
  inset: 12px;
  padding: 12px;
  border: 1px solid #dddddd;
  background: #f7f7f7;
  color: #777777;
  font-weight: 700;
}

body.classified-site .listing-photo {
  min-height: 168px;
  padding: 8px;
  border-right: 1px solid var(--classified-line);
  background: #eeeeee;
  display: block;
}

body.classified-site .listing-photo img,
body.classified-site .listing-placeholder {
  width: 100%;
  height: 100%;
  min-height: 150px;
  border: 1px solid #d5d5d5;
  background: #ffffff;
  object-fit: contain;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.classified-site .listing-placeholder svg {
  width: 60%;
  max-width: 140px;
  opacity: 0.65;
}

body.classified-site .listing-body {
  min-width: 0;
  padding: 10px 12px;
}

body.classified-site .listing-body h2,
body.classified-site .listing-body h3 {
  margin: 0 0 4px;
  font-size: 0;
}

body.classified-site .listing-title {
  color: var(--classified-blue);
  font: 700 19px/1.2 Arial, Helvetica, sans-serif;
  text-decoration: none;
}

body.classified-site .listing-title:hover {
  color: var(--classified-blue-dark);
}

body.classified-site .listing-subtitle {
  margin-bottom: 2px;
  color: #666666;
  font-size: 12px;
  font-weight: 700;
}

body.classified-site .listing-desc {
  margin: 0 0 8px;
  color: #4f4f4f;
  font-size: 13px;
}

body.classified-site .listing-badges {
  margin-bottom: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

body.classified-site .listing-badge {
  min-height: 0;
  padding: 3px 5px;
  border: 1px solid #b6c9df;
  border-radius: 2px;
  background: #eaf2fb;
  color: #004782;
  font: 700 11px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

body.classified-site .boxed-specs,
body.classified-site .summary-specs {
  border: 1px solid var(--classified-line);
  background: var(--classified-cell);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.classified-site .boxed-specs div,
body.classified-site .summary-specs div {
  min-width: 0;
  padding: 6px 7px;
  border-right: 1px solid var(--classified-line);
  background: #f2f2f2;
}

body.classified-site .boxed-specs div:last-child,
body.classified-site .summary-specs div:last-child {
  border-right: 0;
}

body.classified-site .boxed-specs span,
body.classified-site .summary-specs span {
  display: block;
  margin-bottom: 1px;
  color: #666666;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

body.classified-site .boxed-specs strong,
body.classified-site .summary-specs strong {
  color: #222222;
  font-size: 12px;
  font-weight: 700;
  word-break: break-word;
}

body.classified-site .price-column {
  padding: 12px 10px;
  border-left: 1px solid var(--classified-line);
  background: #f7f7f7;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
}

body.classified-site .price-label {
  color: #666666;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

body.classified-site .listing-price,
body.classified-site .summary-price {
  color: #111111;
  font: 700 26px/1.05 Arial, Helvetica, sans-serif;
}

body.classified-site .availability {
  color: #666666;
  font-size: 12px;
}

body.classified-site .home-info-strip {
  margin-top: 14px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--classified-line);
  border-bottom: 0;
  background: #ffffff;
}

body.classified-site .home-info-strip div {
  padding: 10px 12px;
  border-right: 1px solid var(--classified-line);
  border-bottom: 1px solid var(--classified-line);
  background: #ffffff;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
}

body.classified-site .home-info-strip div:last-child {
  border-right: 0;
}

body.classified-site .home-info-strip svg {
  grid-row: 1 / span 2;
  width: 22px;
  height: 22px;
  color: var(--classified-blue);
}

body.classified-site .home-info-strip strong,
body.classified-site .home-info-strip span {
  display: block;
}

body.classified-site .home-info-strip strong {
  color: var(--classified-blue);
  font-size: 13px;
}

body.classified-site .home-info-strip span {
  color: #666666;
  font-size: 12px;
}

body.classified-site .compact-office {
  margin-bottom: 18px;
}

body.classified-site .office-grid {
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px 220px;
  gap: 10px;
}

body.classified-site .office-grid h3 {
  margin-bottom: 5px;
  font-size: 16px;
}

body.classified-site .office-grid p {
  color: #555555;
}

body.classified-site .photo-placeholder {
  min-height: 130px;
  padding: 8px;
  border: 1px solid var(--classified-line);
  background: #f0f0f0;
  color: #666666;
  font-size: 12px;
  font-weight: 700;
}

body.classified-site .breadcrumb {
  max-width: none;
  margin: 12px 0 0;
  padding: 7px 9px;
  border: 1px solid var(--classified-line);
  background: #ffffff;
  color: #666666;
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.classified-site .breadcrumb a {
  font-weight: 700;
  text-decoration: none;
}

body.classified-site .breadcrumb a:hover {
  color: var(--classified-blue-dark);
}

body.classified-site .inventory-title-row {
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--classified-line);
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

body.classified-site .inventory-title-row h1,
body.classified-site .detail-title h1 {
  color: #222222;
  font: 700 26px/1.15 Arial, Helvetica, sans-serif;
}

body.classified-site .result-count {
  margin-top: 4px;
  color: #666666;
  font-size: 13px;
}

body.classified-site .sort-wrap {
  display: grid;
  gap: 3px;
  min-width: 190px;
  color: #444444;
  font-size: 12px;
  font-weight: 700;
}

body.classified-site select,
body.classified-site input,
body.classified-site textarea {
  width: 100%;
  min-height: 31px;
  padding: 6px 7px;
  border: 1px solid #aeb8c4;
  border-radius: 2px;
  background: #ffffff;
  color: #222222;
  font: 13px/1.2 Arial, Helvetica, sans-serif;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

body.classified-site .inventory-layout {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

body.classified-site .refine-panel,
body.classified-site .results-panel,
body.classified-site .summary-panel,
body.classified-site .detail-box {
  border: 1px solid var(--classified-line);
  border-radius: 2px;
  background: #ffffff;
  box-shadow: none;
}

body.classified-site .refine-panel {
  position: sticky;
  top: 68px;
  padding: 0;
}

body.classified-site .refine-heading {
  padding: 9px 10px;
  border-bottom: 2px solid var(--classified-blue);
  background: #f7f7f7;
  color: #222222;
  font-weight: 700;
}

body.classified-site .filter-group {
  padding: 8px 10px;
  border-bottom: 1px solid #dddddd;
}

body.classified-site .filter-group label {
  display: block;
  margin-bottom: 4px;
  color: #444444;
  font-size: 12px;
  font-weight: 700;
}

body.classified-site .filter-group-heading {
  padding: 10px 10px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

body.classified-site .clear-btn {
  width: calc(100% - 20px);
  margin: 10px;
  background: #ffffff;
  border: 1px solid #aeb8c4;
  color: var(--classified-blue);
}

body.classified-site .results-note {
  padding: 8px 10px;
  border-bottom: 1px solid var(--classified-line);
  background: #f7f7f7;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #666666;
  font-size: 12px;
}

body.classified-site .results-note strong {
  color: #222222;
}

body.classified-site .plain-empty {
  padding: 18px;
  border: 1px solid var(--classified-line);
  background: #ffffff;
  color: #666666;
  display: grid;
  gap: 8px;
}

body.classified-site .plain-empty[hidden] {
  display: none;
}

body.classified-site .pagination {
  padding: 10px;
  border-top: 1px solid var(--classified-line);
  background: #f7f7f7;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

body.classified-site .page-btn.active {
  background: var(--classified-blue);
  border-color: var(--classified-blue-dark);
  color: #ffffff;
}

body.classified-site .page-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

body.classified-site .detail-shell {
  margin-top: 0;
}

body.classified-site .detail-title {
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--classified-line);
  background: #ffffff;
}

body.classified-site .detail-meta {
  margin-top: 6px;
  color: #666666;
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
}

body.classified-site .detail-meta span {
  padding-right: 12px;
  border-right: 1px solid #dddddd;
}

body.classified-site .detail-meta span:last-child {
  border-right: 0;
}

body.classified-site .detail-top {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 326px;
  gap: 10px;
  align-items: start;
}

body.classified-site .gallery-panel {
  border: 1px solid var(--classified-line);
  background: #ffffff;
  display: block;
}

body.classified-site .gallery-main {
  position: relative;
  width: 100%;
  height: clamp(420px, 52vw, 620px);
  min-height: 0;
  padding: 18px;
  border: 0;
  border-bottom: 1px solid var(--classified-line);
  border-radius: 0;
  background: #eeeeee;
  cursor: pointer;
  display: block;
}

body.classified-site .gallery-main #galleryMainInner,
body.classified-site .gallery-main img {
  min-height: 0;
}

body.classified-site .gallery-main #galleryMainInner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid #d5d5d5;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.classified-site .gallery-main img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border: 0;
  object-fit: contain;
  display: block;
  background: #ffffff;
}

body.classified-site .large-placeholder {
  min-height: 342px;
}

body.classified-site .gallery-main span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 3px 6px;
  background: #ffffff;
  border: 1px solid var(--classified-line);
  color: #444444;
  font-size: 12px;
  font-weight: 700;
}

body.classified-site .gallery-thumbs {
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

body.classified-site .gallery-slider {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: stretch;
  padding: 8px;
}

body.classified-site .gallery-slider .gallery-thumbs {
  padding: 0;
  grid-template-columns: repeat(9, minmax(0, 1fr));
}

body.classified-site .gallery-nav-btn {
  border: 1px solid var(--classified-line);
  border-radius: 2px;
  background: #ffffff;
  color: var(--classified-blue);
  font: 700 18px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

body.classified-site .gallery-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

body.classified-site .gallery-thumb {
  min-height: 74px;
  padding: 3px;
  border: 2px solid #d1d1d1;
  border-radius: 2px;
  background: #eeeeee;
  cursor: pointer;
}

body.classified-site .gallery-thumb.active {
  border-color: var(--classified-blue);
}

body.classified-site .gallery-thumb img,
body.classified-site .gallery-thumb svg {
  width: 100%;
  height: 66px;
  object-fit: cover;
  display: block;
}

body.classified-site .summary-panel {
  padding: 12px;
  position: sticky;
  top: 68px;
  display: grid;
  gap: 10px;
  align-content: start;
}

body.classified-site .summary-price {
  padding: 10px;
  border: 1px solid var(--classified-line);
  background: #f7f7f7;
  font-size: 32px;
  line-height: 1.05;
}

body.classified-site .summary-specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.classified-site .summary-specs div {
  border-bottom: 1px solid var(--classified-line);
}

body.classified-site .summary-specs div:nth-child(2n) {
  border-right: 0;
}

body.classified-site .summary-specs div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

body.classified-site .detail-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.classified-site .detail-box {
  overflow: hidden;
}

body.classified-site .detail-box h2 {
  padding: 8px 10px;
  border-bottom: 2px solid var(--classified-blue);
  background: #f7f7f7;
  color: #222222;
  font: 700 16px/1.2 Arial, Helvetica, sans-serif;
}

body.classified-site .detail-box p {
  padding: 10px;
  color: #444444;
}

body.classified-site .detail-wide {
  grid-column: 1 / -1;
}

body.classified-site .detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

body.classified-site .detail-table th,
body.classified-site .detail-table td {
  padding: 7px 9px;
  border-bottom: 1px solid #dddddd;
  vertical-align: top;
  text-align: left;
}

body.classified-site .detail-table th {
  width: 34%;
  background: #f2f2f2;
  color: #555555;
  font-weight: 700;
}

body.classified-site .detail-table td {
  background: #ffffff;
  color: #222222;
}

body.classified-site .detail-table tr:last-child th,
body.classified-site .detail-table tr:last-child td {
  border-bottom: 0;
}

body.classified-site .feature-list {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #dddddd;
}

body.classified-site .feature-list span {
  padding: 7px 8px;
  background: #f7f7f7;
  color: #333333;
  font-size: 13px;
}

body.classified-site footer {
  margin-top: 18px;
  padding: 16px 12px 12px;
  border-top: 4px solid var(--classified-blue);
  background: #333333;
  color: #eeeeee;
}

body.classified-site .footer-badges,
body.classified-site .footer-grid,
body.classified-site .footer-bottom {
  max-width: var(--classified-max);
  margin-left: auto;
  margin-right: auto;
}

body.classified-site .footer-badges {
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

body.classified-site .footer-badge {
  min-height: 0;
  padding: 4px 6px;
  border: 1px solid #555555;
  border-radius: 2px;
  background: #444444;
  color: #ffffff;
  font: 700 11px/1.2 Arial, Helvetica, sans-serif;
}

body.classified-site .footer-grid {
  padding: 0;
  margin-bottom: 0;
  border-bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 72px);
}

body.classified-site .footer-logo {
  color: #ffffff;
  font: 700 20px/1.2 Arial, Helvetica, sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

body.classified-site .footer-tagline,
body.classified-site .footer-links a,
body.classified-site .footer-contact-val,
body.classified-site .footer-copy,
body.classified-site .footer-legal a {
  color: #dddddd;
  font-size: 12px;
}

body.classified-site .footer-tagline {
  margin-top: 8px;
}

body.classified-site .footer-col-title {
  margin-bottom: 7px;
  color: #ffffff;
  font: 700 13px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

body.classified-site .footer-links {
  display: grid;
  gap: 4px;
  list-style: none;
}

body.classified-site .footer-contact {
  display: grid;
  gap: 5px;
}

body.classified-site .footer-contact-label {
  display: block;
  color: #ffffff;
  font: 700 11px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

body.classified-site .footer-contact-val a[href="contact.html"],
body.classified-site .callback-link-text {
  color: var(--classified-blue);
}

body.classified-site .footer-map {
  min-height: 82px;
  padding: 10px;
  border: 1px solid #555555;
  background: #444444;
  color: #dddddd;
  font-size: 12px;
}

body.classified-site .footer-socials {
  display: none;
}

body.classified-site .social-icon {
  width: auto;
  height: auto;
  min-width: 28px;
  padding: 4px 6px;
  border: 1px solid #555555;
  border-radius: 2px;
  background: #444444;
  color: #ffffff;
  font-size: 11px;
  text-decoration: none;
}

body.classified-site .footer-bottom {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

body.classified-site .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

body.classified-site .lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 30px;
  background: rgba(0, 0, 0, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.classified-site .lightbox-overlay[hidden] {
  display: none;
}

body.classified-site .lightbox-dialog {
  position: relative;
  width: min(980px, 100%);
  border: 1px solid #666666;
  background: #111111;
}

body.classified-site .lightbox-image-wrap {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.classified-site .lightbox-image-wrap img {
  max-width: 100%;
  max-height: 82vh;
  display: block;
}

body.classified-site .lightbox-close,
body.classified-site .lightbox-btn {
  position: absolute;
  border: 1px solid #777777;
  border-radius: 2px;
  background: #ffffff;
  color: #111111;
  font-weight: 700;
  cursor: pointer;
}

body.classified-site .lightbox-close {
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
}

body.classified-site .lightbox-btn {
  top: 50%;
  width: 34px;
  height: 42px;
  transform: translateY(-50%);
}

body.classified-site .lightbox-prev {
  left: 8px;
}

body.classified-site .lightbox-next {
  right: 8px;
}

body.classified-site .lightbox-counter {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 6px;
  border: 1px solid #777777;
  background: #ffffff;
  color: #111111;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  body.classified-site .listing-row {
    grid-template-columns: 190px minmax(0, 1fr) 160px;
  }

  body.classified-site .boxed-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.classified-site .boxed-specs div {
    border-bottom: 1px solid var(--classified-line);
  }

  body.classified-site .boxed-specs div:nth-child(2n) {
    border-right: 0;
  }

  body.classified-site .boxed-specs div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 900px) {
  body.classified-site .home-intro,
  body.classified-site .inventory-title-row,
  body.classified-site .detail-top,
  body.classified-site .inventory-layout,
  body.classified-site .detail-grid,
  body.classified-site .office-grid {
    grid-template-columns: 1fr;
  }

  body.classified-site .classified-actions {
    justify-content: flex-start;
  }

  body.classified-site .refine-panel,
  body.classified-site .summary-panel {
    position: static;
  }

  body.classified-site .feature-list,
  body.classified-site .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.classified-site .site-nav {
    padding: 0 12px;
  }

  body.classified-site .nav-links {
    display: none;
  }

  body.classified-site .hamburger {
    display: flex;
  }

  body.classified-site .home-intro h1,
  body.classified-site .inventory-title-row h1,
  body.classified-site .detail-title h1 {
    font-size: 22px;
  }

  body.classified-site .listing-row {
    grid-template-columns: 128px minmax(0, 1fr);
    min-height: 0;
  }

  body.classified-site .listing-photo {
    min-height: 120px;
  }

  body.classified-site .listing-photo img,
  body.classified-site .listing-placeholder {
    min-height: 104px;
  }

  body.classified-site .price-column {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--classified-line);
    text-align: left;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }

  body.classified-site .price-column .price-label,
  body.classified-site .price-column .availability {
    display: none;
  }

  body.classified-site .listing-price {
    font-size: 22px;
  }

  body.classified-site .home-info-strip {
    grid-template-columns: 1fr 1fr;
  }

  body.classified-site .gallery-main,
  body.classified-site .gallery-main #galleryMainInner,
  body.classified-site .large-placeholder {
    min-height: 280px;
  }

  body.classified-site .gallery-main {
    height: 340px;
    padding: 12px;
  }

  body.classified-site .gallery-main #galleryMainInner {
    height: 100%;
  }

  body.classified-site .gallery-slider .gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  body.classified-site {
    font-size: 13px;
  }

  body.classified-site .home-intro,
  body.classified-site .section-shell,
  body.classified-site .home-info-strip,
  body.classified-site .inventory-shell,
  body.classified-site .detail-shell {
    width: calc(100% - 16px);
  }

  body.classified-site .listing-row {
    grid-template-columns: 1fr;
  }

  body.classified-site .listing-photo {
    border-right: 0;
    border-bottom: 1px solid var(--classified-line);
  }

  body.classified-site .boxed-specs,
  body.classified-site .summary-specs,
  body.classified-site .home-info-strip {
    grid-template-columns: 1fr;
  }

  body.classified-site .boxed-specs div,
  body.classified-site .summary-specs div,
  body.classified-site .home-info-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--classified-line);
  }

  body.classified-site .price-column {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  body.classified-site .footer-bottom {
    flex-direction: column;
  }
}

/* Quick homepage and consistency pass */
body.classified-site .brand-logo-img {
  width: auto;
  height: 50px;
}

body.classified-site .home-search-hero {
  max-width: var(--classified-max);
  margin: 14px auto 0;
  padding: 12px;
  border: 1px solid var(--classified-line);
  background: #ffffff;
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

body.classified-site .home-search-panel {
  padding: 24px 16px 18px;
  border: 1px solid var(--classified-line);
  background: #f7f7f7;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

body.classified-site .home-search-panel h1 {
  margin: 0 0 8px;
  color: #111111;
  font: 700 32px/1.12 Arial, Helvetica, sans-serif;
}

body.classified-site .home-search-panel p {
  margin-bottom: 14px;
  color: #555555;
  font-size: 14px;
}

body.classified-site .home-search-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 2px;
}

body.classified-site .home-search-box label {
  display: grid;
  gap: 4px;
  color: #555555;
  font: 700 12px/1.2 Arial, Helvetica, sans-serif;
}

body.classified-site .home-search-box button {
  grid-column: 1 / -1;
  min-height: 42px;
  font-size: 16px;
}

body.classified-site .home-hero-media {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--classified-line);
  background: #dddddd;
}

body.classified-site .home-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  display: block;
}

body.classified-site .home-hero-caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  max-width: 360px;
  padding: 12px 14px;
  background: rgba(0, 55, 105, 0.9);
  color: #ffffff;
  font: 700 19px/1.25 Arial, Helvetica, sans-serif;
  text-align: center;
}

body.classified-site.classifieds-home .listing-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
}

body.classified-site .home-car-card {
  min-height: 0;
  border: 1px solid var(--classified-line);
  background: #ffffff;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

body.classified-site .home-car-card .listing-photo {
  min-height: 170px;
  padding: 6px;
  border-right: 0;
  border-bottom: 1px solid var(--classified-line);
}

body.classified-site .home-car-card .listing-photo img,
body.classified-site .home-car-card .listing-placeholder {
  min-height: 158px;
}

body.classified-site .home-car-card .listing-body {
  padding: 10px;
}

body.classified-site .home-car-card .listing-badges {
  margin-bottom: 7px;
}

body.classified-site .home-car-card .boxed-specs {
  margin-top: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.classified-site .home-car-card .boxed-specs div:nth-child(2n) {
  border-right: 0;
}

body.classified-site .home-car-card .boxed-specs div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

body.classified-site .home-car-card .price-column {
  padding: 10px;
  border-left: 0;
  border-top: 1px solid var(--classified-line);
  text-align: left;
  align-items: stretch;
}

body.classified-site .review-grid {
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body.classified-site .review-card {
  padding: 14px;
  border: 1px solid var(--classified-line);
  background: #ffffff;
}

body.classified-site .review-stars {
  margin-bottom: 8px;
  color: #d69b00;
  font: 700 16px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 1px;
}

body.classified-site .review-card p {
  margin-bottom: 10px;
  color: #444444;
  font-size: 14px;
}

body.classified-site .review-card strong {
  color: #111111;
  font-size: 13px;
}

body.classified-site.info-page .page-header,
body.classified-site.info-page .faq-search-wrap,
body.classified-site.info-page .faq-body,
body.classified-site.info-page .info-page-body {
  max-width: var(--classified-max);
  margin-left: auto;
  margin-right: auto;
}

body.classified-site.info-page .page-header {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--classified-line);
  background: #ffffff;
}

body.classified-site.info-page .page-title {
  color: #111111;
  font: 700 30px/1.15 Arial, Helvetica, sans-serif;
}

body.classified-site.contact-page .page-title {
  color: #111111;
  font: 700 30px/1.15 Arial, Helvetica, sans-serif;
}

body.classified-site.info-page .page-sub {
  max-width: 760px;
  color: #555555;
}

body.classified-site.info-page .content-card,
body.classified-site.info-page .faq-item,
body.classified-site.info-page .cat-nav,
body.classified-site.info-page .faq-search {
  border-radius: 0;
}

body.classified-site .footer-badges {
  display: none;
}

body.classified-site.info-page .page-header,
body.classified-site.contact-page .page-header {
  width: min(var(--classified-max), calc(100% - 24px)) !important;
  max-width: none !important;
  margin: 10px auto 0 !important;
  padding: 16px !important;
  border: 1px solid var(--classified-line) !important;
  background: #ffffff !important;
}

body.classified-site.info-page .faq-search-wrap,
body.classified-site.info-page .faq-body,
body.classified-site.info-page .info-page-body,
body.classified-site.contact-page .contact-page-body,
body.classified-site.contact-page .enquiry-page-body {
  width: min(var(--classified-max), calc(100% - 24px)) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.classified-site.info-page .info-page-body,
body.classified-site.contact-page .contact-page-body,
body.classified-site.contact-page .enquiry-page-body {
  padding-top: 12px !important;
  padding-bottom: 44px !important;
}

body.classified-site.info-page .info-page-body,
body.classified-site.info-page .faq-body {
  gap: 24px !important;
}

body.classified-site.contact-page .contact-page-body,
body.classified-site.contact-page .enquiry-page-body {
  gap: 24px !important;
}

body.classified-site.info-page .info-page-body {
  grid-template-columns: minmax(0, 1fr) 360px !important;
}

body.classified-site.info-page .faq-search-wrap {
  padding-top: 12px;
}

body.classified-site.info-page .faq-body {
  padding-top: 14px;
  padding-bottom: 44px;
}

body.classified-site.info-page .faq-search svg {
  left: 14px;
  z-index: 1;
}

body.classified-site.info-page .faq-search input {
  height: 44px;
  padding-left: 44px;
}

body.classified-site.info-page .cta-strip {
  background: #ffffff;
  border-color: var(--classified-line);
}

body.classified-site.info-page .cta-strip-title {
  color: #222222;
}

body.classified-site.info-page .cta-strip-sub {
  color: #555555;
}

body.classified-site.info-page .btn-ghost-white {
  border-color: #b8c8dc;
  color: var(--classified-blue);
  background: #ffffff;
}

body.classified-site.contact-page .form-card,
body.classified-site.contact-page .info-card,
body.classified-site.contact-page .map-card,
body.classified-site.contact-page .enquiry-banner,
body.classified-site.contact-page .process-card {
  border-radius: 0;
  border-color: var(--classified-line);
}

body.classified-site.contact-page .submit-btn {
  border-radius: 2px;
  background: var(--classified-blue);
  color: #ffffff !important;
  font: 700 14px/1.2 Arial, Helvetica, sans-serif;
}

body.classified-site.contact-page .submit-btn:hover {
  background: var(--classified-blue-dark);
  transform: none;
}

body.classified-site.contact-page .topic-btn,
body.classified-site.contact-page .browse-btn,
body.classified-site.contact-page input,
body.classified-site.contact-page select,
body.classified-site.contact-page textarea {
  border-radius: 2px;
}

body.classified-site.contact-page .form-card-title,
body.classified-site.contact-page .info-card-header,
body.classified-site.contact-page .process-card-title,
body.classified-site.contact-page .enquiry-title {
  font-family: Arial, Helvetica, sans-serif;
}

body.classified-site.contact-page .process-step {
  background: #f7f7f7;
  border-color: var(--classified-line);
  color: #333333;
}

body.classified-site.contact-page .process-item:first-child .process-step {
  background: var(--classified-blue);
  border-color: var(--classified-blue);
  color: #ffffff;
}

body.classified-site.contact-page .enquiry-banner {
  align-items: center;
  gap: 12px;
}

body.classified-site.contact-page .enquiry-banner-media {
  border-radius: 0;
  border: 1px solid var(--classified-line);
  background: #f7f7f7;
}

body.classified-site.contact-page .enquiry-title {
  color: #222222;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: none;
}

body.classified-site.contact-page .enquiry-price {
  color: var(--classified-blue);
  font: 700 18px/1.15 Arial, Helvetica, sans-serif;
}

body.classified-site.contact-page .enquiry-meta {
  margin-top: 2px;
}

body.classified-site.contact-page .enquiry-meta-pill {
  border-radius: 2px;
  color: #333333;
  font-weight: 700;
}

@media (min-width: 901px) {
  body.classified-site.contact-page.enquiry-page .enquiry-page-body {
    grid-template-columns: minmax(0, 1fr) 360px !important;
    grid-template-areas: "content process" !important;
    align-items: start;
    gap: 24px !important;
  }

  body.classified-site.contact-page.enquiry-page .enquiry-content {
    grid-area: content;
    display: grid;
    gap: 24px;
  }

  body.classified-site.contact-page.enquiry-page .enquiry-banner-wrap,
  body.classified-site.contact-page.enquiry-page .enquiry-main {
    grid-area: auto;
  }

  body.classified-site.contact-page.enquiry-page .enquiry-process {
    grid-area: process;
    align-self: start;
  }
}

@media (max-width: 900px) {
  body.classified-site.contact-page.enquiry-page .enquiry-content {
    display: contents;
  }
}

@media (max-width: 640px) {
  body.classified-site.contact-page.enquiry-page .enquiry-content {
    display: contents;
  }

  body.classified-site.contact-page.enquiry-page .enquiry-page-body {
    gap: 16px !important;
    padding-top: 16px !important;
  }

  body.classified-site.contact-page .enquiry-banner {
    padding: 12px;
  }

  body.classified-site.contact-page .enquiry-banner-media {
    width: 130px;
    height: 96px;
    min-height: 96px;
  }

  body.classified-site.contact-page .enquiry-title {
    font-size: 19px;
  }

  body.classified-site.contact-page .enquiry-price {
    font-size: 16px;
  }
}

body.classified-site .btn-solid,
body.classified-site .btn-primary,
body.classified-site .btn-white,
body.classified-site .sidebar-action {
  background: var(--classified-blue) !important;
  border: 1px solid var(--classified-blue-dark) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

body.classified-site .btn-solid:hover,
body.classified-site .btn-primary:hover,
body.classified-site .btn-white:hover,
body.classified-site .sidebar-action:hover {
  background: var(--classified-blue-dark) !important;
  color: #ffffff !important;
}

body.classified-site .sidebar-action {
  width: 100%;
  margin-top: 12px;
  min-height: 42px;
}

body.classified-site .consent-row {
  align-items: center;
}

body.classified-site .consent-row input[type="checkbox"] {
  margin-top: 0;
}

body.classified-site .buyer-policy-card {
  margin-top: 2px;
  padding: 12px;
  border: 1px solid var(--classified-line);
  background: #f7f7f7;
}

body.classified-site .buyer-policy-card h2 {
  margin: 0 0 6px;
  color: #111111;
  font: 700 18px/1.2 Arial, Helvetica, sans-serif;
}

body.classified-site .buyer-policy-card p {
  margin: 0 0 10px;
  color: #555555;
  font-size: 13px;
}

body.classified-site .buyer-policy-card ul {
  margin: 0 0 10px;
  padding-left: 18px;
  color: #333333;
  font-size: 13px;
  line-height: 1.6;
}

body.classified-site .buyer-policy-card a {
  color: var(--classified-blue);
  font-weight: 700;
  text-decoration: none;
}

body.classified-site .buyer-policy-card a:hover {
  color: var(--classified-blue-dark);
}

@media (max-width: 900px) {
  body.classified-site.info-page .info-page-body,
  body.classified-site.info-page .faq-body {
    grid-template-columns: 1fr !important;
  }

  body.classified-site .home-search-hero,
  body.classified-site.classifieds-home .listing-stack,
  body.classified-site .review-grid {
    grid-template-columns: 1fr;
  }

  body.classified-site .home-hero-media,
  body.classified-site .home-hero-media img {
    min-height: 260px;
  }
}

@media (max-width: 520px) {
  body.classified-site .home-search-hero {
    width: calc(100% - 16px);
  }

  body.classified-site .home-search-box {
    grid-template-columns: 1fr;
  }

  body.classified-site .home-hero-caption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 15px;
  }
}

/* ============================================================
   CLASSIFIED ADMIN AND UPLOAD TOOLS
   ============================================================ */

body.classified-site.admin-console-page .page-header,
body.classified-site.upload-admin-page .page-header {
  width: min(var(--classified-max), calc(100% - 24px));
  max-width: none;
  margin: 10px auto 0;
  padding: 16px;
  border: 1px solid var(--classified-line);
  background: #ffffff;
}

body.classified-site.admin-console-page .page-title,
body.classified-site.upload-admin-page .page-title {
  color: #111111;
  font: 700 30px/1.15 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body.classified-site.admin-console-page .page-sub,
body.classified-site.upload-admin-page .page-sub {
  max-width: 760px;
  color: #555555;
}

body.classified-site .admin-mode-tabs {
  width: min(var(--classified-max), calc(100% - 24px));
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--classified-line);
  background: #ffffff;
}

body.classified-site .admin-mode-tab {
  min-height: 44px;
  border: 0;
  border-right: 1px solid var(--classified-line);
  background: #f7f7f7;
  color: #222222;
  cursor: pointer;
  font: 700 14px/1.2 Arial, Helvetica, sans-serif;
}

body.classified-site .admin-mode-tab:last-child {
  border-right: 0;
}

body.classified-site .admin-mode-tab.active {
  background: var(--classified-blue);
  color: #ffffff;
}

body.classified-site .admin-mode-panel {
  display: none;
}

body.classified-site .admin-mode-panel.active {
  display: block;
}

body.classified-site .admin-page-body {
  width: min(var(--classified-max), calc(100% - 24px));
  max-width: none;
  padding: 12px 0 44px;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 12px;
}

body.classified-site .admin-editor {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.classified-site .admin-card,
body.classified-site.upload-admin-page .card {
  border: 1px solid var(--classified-line);
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

body.classified-site .admin-card-header,
body.classified-site.upload-admin-page .card-header {
  padding: 10px 12px;
  border-bottom: 2px solid var(--classified-blue);
  background: #f7f7f7;
}

body.classified-site .admin-card-title,
body.classified-site.upload-admin-page .card-title {
  color: #111111;
  font: 700 18px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body.classified-site .admin-card-sub,
body.classified-site.upload-admin-page .card-sub {
  color: #666666;
  font-size: 12px;
}

body.classified-site .admin-card-body,
body.classified-site.upload-admin-page .card {
  padding: 12px;
}

body.classified-site .admin-stat,
body.classified-site .admin-listing-thumb,
body.classified-site .admin-preview-thumb,
body.classified-site.upload-admin-page .drop-zone,
body.classified-site.upload-admin-page .wm-controls,
body.classified-site.upload-admin-page .tag-wrap,
body.classified-site.upload-admin-page .review-img,
body.classified-site.upload-admin-page .review-pill,
body.classified-site.upload-admin-page .img-thumb {
  border: 1px solid var(--classified-line);
  border-radius: 0;
  background: #f7f7f7;
}

body.classified-site .admin-listing {
  border-bottom: 1px solid var(--classified-line);
}

body.classified-site .admin-listing:hover,
body.classified-site .admin-listing.active {
  background: #eef5ff;
}

body.classified-site .admin-listing-title,
body.classified-site .admin-preview-title {
  color: var(--classified-blue);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body.classified-site .admin-badge,
body.classified-site.upload-admin-page .tag-pill,
body.classified-site.upload-admin-page .img-primary-badge,
body.classified-site.upload-admin-page .wm-badge {
  border-radius: 2px;
  font: 700 11px/1.2 Arial, Helvetica, sans-serif;
  text-transform: none;
}

body.classified-site .admin-btn,
body.classified-site.upload-admin-page .btn-secondary,
body.classified-site.upload-admin-page .wm-btn.secondary {
  min-height: 38px;
  border: 1px solid var(--classified-line-dark);
  border-radius: 2px;
  background: #ffffff;
  color: var(--classified-blue);
  font: 700 13px/1.2 Arial, Helvetica, sans-serif;
}

body.classified-site .admin-btn.primary,
body.classified-site.upload-admin-page .btn-primary,
body.classified-site.upload-admin-page .btn-dark,
body.classified-site.upload-admin-page .ai-parse-btn,
body.classified-site.upload-admin-page .wm-btn {
  min-height: 38px;
  border: 1px solid var(--classified-blue-dark);
  border-radius: 2px;
  background: var(--classified-blue);
  color: #ffffff;
  font: 700 13px/1.2 Arial, Helvetica, sans-serif;
  box-shadow: none;
}

body.classified-site .admin-btn.primary:hover,
body.classified-site.upload-admin-page .btn-primary:hover,
body.classified-site.upload-admin-page .btn-dark:hover,
body.classified-site.upload-admin-page .ai-parse-btn:hover,
body.classified-site.upload-admin-page .wm-btn:hover {
  background: var(--classified-blue-dark);
  transform: none;
}

body.classified-site .admin-btn.danger {
  border-color: #b91c1c;
  background: #fff5f5;
  color: #991b1b;
}

body.classified-site .admin-image-manager {
  display: block;
}

body.classified-site .admin-image-window {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

body.classified-site .admin-image-count {
  margin-top: 8px;
  color: #666666;
  font: 700 12px/1.2 Arial, Helvetica, sans-serif;
}

body.classified-site .admin-managed-image {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--classified-line);
  background: #f7f7f7;
  overflow: hidden;
  cursor: grab;
  padding: 0;
}

body.classified-site .admin-managed-image.selected {
  border: 3px solid var(--classified-blue);
}

body.classified-site .admin-managed-image:active {
  cursor: grabbing;
}

body.classified-site .admin-managed-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.classified-site .admin-managed-image span {
  position: absolute;
  top: 4px;
  left: 4px;
  padding: 2px 6px;
  border-radius: 2px;
  background: var(--classified-blue);
  color: #ffffff;
  font: 700 10px/1.2 Arial, Helvetica, sans-serif;
}

body.classified-site .admin-managed-image strong,
body.classified-site .admin-managed-image i {
  position: absolute;
  left: 4px;
  bottom: 4px;
  padding: 2px 6px;
  border-radius: 2px;
  color: #ffffff;
  font: 700 10px/1.2 Arial, Helvetica, sans-serif;
  font-style: normal;
  background: var(--classified-blue);
}

body.classified-site .admin-managed-image i {
  top: 4px;
  right: 4px;
  bottom: auto;
  left: auto;
  min-width: 18px;
  text-align: center;
  background: rgba(17,24,39,0.82);
}

body.classified-site .admin-managed-image button {
  position: absolute;
  right: 4px;
  bottom: 4px;
  min-height: 28px;
  border: 1px solid #991b1b;
  border-radius: 2px;
  background: #fff5f5;
  color: #991b1b;
  font: 700 11px/1.2 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

body.classified-site .admin-managed-image.add-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 2px dashed var(--classified-line-dark);
  color: var(--classified-blue);
  font: 700 13px/1.2 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

body.classified-site .admin-managed-image.add-tile b {
  font-size: 34px;
  line-height: 1;
}

body.classified-site .admin-managed-image.add-tile span {
  position: static;
  background: transparent;
  color: var(--classified-blue);
  font-size: 12px;
}

body.classified-site .admin-plate-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

body.classified-site .admin-raw-textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.45;
}

body.classified-site .admin-ai-thinking {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #444444;
  font: 700 12px/1.2 Arial, Helvetica, sans-serif;
}

body.classified-site .admin-ai-thinking.visible {
  display: flex;
}

body.classified-site .admin-ai-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #d7dee8;
  border-top-color: var(--classified-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

body.classified-site .admin-grid,
body.classified-site.upload-admin-page .form-grid,
body.classified-site.upload-admin-page .form-grid.cols-3,
body.classified-site.upload-admin-page .form-grid.cols-4 {
  gap: 10px;
}

body.classified-site.upload-admin-page main {
  width: min(var(--classified-max), calc(100% - 24px));
  max-width: none;
  padding: 12px 0 44px;
}

body.classified-site.upload-admin-page .steps-bar {
  margin-bottom: 12px;
  border: 1px solid var(--classified-line);
  border-radius: 0;
  background: #ffffff;
}

body.classified-site.upload-admin-page .step-tab {
  border-color: var(--classified-line);
  font: 700 12px/1.2 Arial, Helvetica, sans-serif;
}

body.classified-site.upload-admin-page .step-tab.active {
  background: var(--classified-blue);
}

body.classified-site.upload-admin-page .step-tab.done {
  background: #eef5ff;
  color: var(--classified-blue);
}

body.classified-site.upload-admin-page .section-divider {
  color: #333333;
  font: 700 13px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

body.classified-site.upload-admin-page .action-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--classified-line);
}

body.classified-site.upload-admin-page footer {
  margin-top: 0;
  border-top: 4px solid var(--classified-blue);
  background: #333333 !important;
  color: #eeeeee !important;
}

body.classified-site .admin-upload-shell {
  width: min(var(--classified-max), calc(100% - 24px));
  margin: 12px auto 44px;
  border: 1px solid var(--classified-line);
  background: #ffffff;
}

body.classified-site .admin-upload-frame {
  width: 100%;
  height: min(2100px, calc(100vh - 190px));
  min-height: 720px;
  border: 0;
  display: block;
}

html.embedded-admin body.classified-site.upload-admin-page {
  background: #ffffff;
}

html.embedded-admin body.classified-site.upload-admin-page .site-nav,
html.embedded-admin body.classified-site.upload-admin-page .mobile-menu,
html.embedded-admin body.classified-site.upload-admin-page .page-header,
html.embedded-admin body.classified-site.upload-admin-page footer {
  display: none;
}

html.embedded-admin body.classified-site.upload-admin-page main {
  width: 100%;
  padding: 12px;
}

@media (max-width: 900px) {
  body.classified-site .admin-page-body,
  body.classified-site .admin-mode-tabs,
  body.classified-site .admin-plate-controls {
    grid-template-columns: 1fr;
  }

  body.classified-site .admin-image-manager {
    display: block;
  }

  body.classified-site .admin-image-window {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  body.classified-site .admin-managed-image.add-tile {
    min-height: 96px;
  }

  body.classified-site .admin-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  body.classified-site.upload-admin-page .form-grid,
  body.classified-site.upload-admin-page .form-grid.cols-3,
  body.classified-site.upload-admin-page .form-grid.cols-4,
  body.classified-site.upload-admin-page .review-header {
    grid-template-columns: 1fr;
  }

  body.classified-site.upload-admin-page .field-group.span-2 {
    grid-column: 1;
  }
}

/* ── PRODUCT GRID PAGE ── */

body.classified-site.products-grid-page .product-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

body.classified-site .product-card {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}


body.classified-site .product-card.loading-card {
  min-height: 280px;
  background: linear-gradient(90deg, #f0f2f5 25%, #e6e9ed 50%, #f0f2f5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

body.classified-site .product-card-img {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f4f5f7;
  flex-shrink: 0;
}

body.classified-site .product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.classified-site .product-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f2f5;
}

body.classified-site .product-card-placeholder svg {
  width: 60px;
  height: 40px;
}

body.classified-site .product-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

body.classified-site .product-card-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

body.classified-site .product-cat-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #eef2f7;
  color: #4a5568;
  border-radius: 2px;
  padding: 2px 6px;
}

body.classified-site .product-cond-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #f0f2f5;
  color: #6b7280;
  border-radius: 2px;
  padding: 2px 6px;
}

body.classified-site .product-cond-badge.badge-new {
  background: #ecfdf5;
  color: #065f46;
}

body.classified-site .product-cond-badge.badge-refurb {
  background: #eff6ff;
  color: #1e40af;
}

body.classified-site .product-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.classified-site .product-card-title:hover {
  color: var(--classified-blue, #1a4fa0);
}

body.classified-site .product-card-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

body.classified-site .product-card-tags span {
  font-size: 10px;
  color: #6b7280;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  padding: 1px 5px;
}

body.classified-site .product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #f0f2f5;
}

body.classified-site .product-card-price {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
}

body.classified-site .product-card-btn {
  font-size: 12px;
  padding: 6px 14px;
}

@media (max-width: 900px) {
  body.classified-site.products-grid-page .product-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  body.classified-site.products-grid-page .product-card-grid {
    grid-template-columns: 1fr;
  }
}
