/* ============================================================
   Web Starter Template — Base Stylesheet
   No client-specific design. Just structure, reset, and utilities.

   HOW TO USE:
   1. Set CSS custom properties below for client colors/fonts
   2. Build page-specific styles in <style> blocks or additional CSS files
   3. This file handles: reset, layout, nav, footer, forms, animations
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES — Set per client
   ============================================================ */
:root {
  /* Brand palette — pulled from the live fivestarairbags.com Elementor kit */
  --navy: #2E2E2E;          /* primary / brand ink */
  --navy-deep: #1F1F1F;     /* deepest surface */
  --navy-soft: #3E3E3E;     /* raised dark surface */
  --bg: #ffffff;
  --bg-alt: #F5F5F4;        /* light steel-blue surface */
  --bg-tint: #FAFAF9;       /* faint blue wash (matches kit) */
  --text: #2E2E2E;
  --text-muted: #6A6A6A;
  --text-on-dark: #D8D8D8;  /* body text on navy */
  --accent: #FF5134;        /* red-orange CTA / accent */
  --accent-dark: #e23a1f;
  --accent-text: #d23a1f;   /* accent used as text (AA on white) */
  --gold: #FFBA00;          /* five-star rating color */
  --border: #E7E7E5;
  --border-dark: #474747;   /* borders on navy */
  --white: #ffffff;

  /* Fonts — Heebo (display) + Rubik (body), per the live site */
  --font-display: 'Heebo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Rubik', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --radius: 10px;
  --radius-sm: 6px;
  --container: 1200px;
  --nav-height: 76px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.16);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sec { padding: 100px 0; }
.sec-alt { background: var(--bg-alt); }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.5vw, 48px); }
h3 { font-size: clamp(20px, 2vw, 28px); }
h4 { font-size: 18px; }
.label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.body-text { color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  text-align: center;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border: 2px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.nav-transparent { background: transparent; border-color: transparent; }
.nav-transparent.scrolled { background: var(--bg); border-color: var(--border); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.nav-logo img { height: 54px; width: auto; }
/* Dual-logo toggle: dark variant by default, light variant over transparent nav (hero) */
.nav-logo .logo-light { display: none; }
.nav-logo .logo-dark { display: inline-block; }
.nav.nav-transparent:not(.scrolled) .nav-logo .logo-dark { display: none; }
.nav.nav-transparent:not(.scrolled) .nav-logo .logo-light { display: inline-block; }
/* Footer logo always uses logo-light directly in HTML; this just sizes it */
.footer-logo img { height: 54px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--accent-dark); }

/* Mobile toggle */
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: all 0.3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-content { position: relative; z-index: 1; }
.hero-desc { font-size: 18px; color: var(--text-muted); max-width: 600px; margin: 16px 0 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after { content: '+'; font-size: 24px; color: var(--accent); transition: transform 0.3s; }
.faq-item.open .faq-q::after { content: '-'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a p { padding-bottom: 20px; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   FORM OVERLAY
   ============================================================ */
.form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.form-overlay.open { opacity: 1; visibility: visible; }
.form-box {
  background: var(--bg);
  border-radius: var(--radius);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 24px;
}
.form-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  color: var(--text-muted);
  z-index: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 64px 0 32px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-desc { color: var(--text-muted); font-size: 14px; margin-top: 12px; }
.footer h4, .footer .footer-h { font-family: var(--font-display); font-size: 14px; font-weight: 700; margin-bottom: 16px; line-height: 1.2; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim.vis { opacity: 1; transform: translateY(0); }
.anim-d1 { transition-delay: 0.1s; }
.anim-d2 { transition-delay: 0.2s; }
.anim-d3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
}

@media (max-width: 768px) {
  .sec { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 60vh; }
  .hero-actions { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ============================================================
   MOBILE NAV OVERLAY
   Style this per client. Below is a minimal slide-in panel.
   ============================================================ */
.mobile-nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: var(--nav-height);
}
.mobile-nav-open .nav-links a { font-size: 24px; }

/* ============================================================
   FIVE STAR AIRBAGS — BRAND DESIGN SYSTEM
   Built on the Web Starter base. Palette + type pulled from the
   live site (navy #2E2E2E / red-orange #FF5134 / gold #FFBA00,
   Heebo + Rubik). No gradients (flat brand color only).
   ============================================================ */

body { font-size: 17px; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; color: var(--navy); }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
strong { color: inherit; font-weight: 700; }
.muted { color: var(--text-muted); }
.accent { color: var(--accent-text); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--text-muted); line-height: 1.65; }
.eyebrow { font-family: var(--font-display); font-size: 13px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; display: block; }
.sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }

/* --- CSS WORDMARK LOGO (themes via currentColor) --- */
/* Themeable via --brand-c (avoids the currentColor self-reference bug where the filled mark went white-on-white) */
.brand { --brand-c: var(--navy); --brand-text: var(--white); display: inline-flex; align-items: stretch; border: 2.5px solid var(--brand-c); color: var(--brand-c); line-height: 1; font-family: var(--font-display); letter-spacing: 0.02em; }
.brand-mark { background: var(--brand-c); color: var(--brand-text); font-weight: 800; padding: 7px 10px; font-size: 18px; }
.brand-word { color: var(--brand-c); font-weight: 800; padding: 7px 10px; font-size: 18px; }
.brand-light, .footer-logo .brand, .hero-dark .brand { --brand-c: #fff; --brand-text: var(--navy); }
@media (max-width: 420px){ .brand-mark, .brand-word { font-size: 15px; padding: 6px 8px; } }

/* --- NAV (white, sticky) --- */
.nav { background: var(--white); border-bottom: 1px solid var(--border); }
.nav.scrolled { box-shadow: var(--shadow); }
.nav-links a { color: var(--navy); font-weight: 500; }
.nav-links a:hover { color: var(--accent-text); }
.nav-cta { background: var(--accent); color: #fff !important; font-weight: 700; }
.nav-cta:hover { background: var(--accent-dark); }
.nav-phone { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 16px; display: inline-flex; align-items: center; gap: 7px; }
.nav-phone:hover { color: var(--accent-text); }

/* --- TOP UTILITY / TRUST BAR --- */
.topbar { background: var(--navy); color: #fff; font-size: 13.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 18px; }
.topbar a { color: #fff; }
.topbar .stars { color: var(--gold); }
.topbar-items { display: flex; gap: 22px; align-items: center; }
.topbar-items span { display: inline-flex; align-items: center; gap: 7px; color: var(--text-on-dark); }
@media (max-width: 900px){ .topbar-items span.hide-sm { display:none; } }

/* --- STARS --- */
.stars { display: inline-flex; gap: 2px; color: var(--gold); font-size: 16px; letter-spacing: 1px; }
.stars::before { content: '\2605\2605\2605\2605\2605'; }
.rating-line { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); }
.rating-line .muted { font-weight: 400; }

/* --- BUTTONS (flat) --- */
.btn { border-radius: var(--radius); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.2px; padding: 15px 30px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--border); color: var(--navy); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-text); }
.btn-ghost-light { border: 2px solid rgba(255,255,255,0.4); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-lg { padding: 18px 38px; font-size: 17px; }

/* --- HERO --- */
.hero-dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero-dark::after { content:''; position:absolute; right:-120px; top:-120px; width:420px; height:420px; border:60px solid rgba(255,81,52,0.06); border-radius:50%; pointer-events:none; }
.hero-dark h1 { color: #fff; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.05; }
.hero-dark .hero-desc, .hero-dark .lead { color: var(--text-on-dark); }
.hero-dark .eyebrow { color: var(--gold); }
.hero-pop { color: var(--accent); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--border-dark); }
.hero-trust .ht { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-on-dark); }
.hero-trust .ht b { color: #fff; font-family: var(--font-display); }

/* --- TRUST STRIP (icon row) --- */
.trust-strip { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-strip .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.trust-cell { display: flex; align-items: center; gap: 14px; }
.trust-cell .ic { width: 42px; height: 42px; flex: none; color: var(--accent-text); }
.trust-cell b { display: block; font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 15px; }
.trust-cell span { font-size: 13.5px; color: var(--text-muted); }
@media (max-width: 860px){ .trust-strip .container { grid-template-columns: 1fr 1fr; } }

/* --- STAT BLOCKS (tag -> number -> context, per RM rule) --- */
.stat { text-align: center; }
.stat .tag { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 5vw, 60px); color: var(--navy); line-height: 1; }
.stat .num .accent { color: var(--accent-text); }
.stat .ctx { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

/* --- BADGES --- */
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,81,52,0.1); color: var(--accent-text); font-weight: 700; font-size: 13px; letter-spacing: 0.5px; padding: 7px 14px; border-radius: 999px; }
.badge-navy { background: var(--navy); color: #fff; }
.badge-gold { background: rgba(255,186,0,0.16); color: #8a6500; }
.badge-est { font-family: var(--font-display); text-transform: uppercase; }

/* --- CARDS --- */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card:hover { border-color: var(--border); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.svc-card { display: flex; flex-direction: column; padding: 30px; height: 100%; }
.svc-card .ic { width: 46px; height: 46px; color: var(--accent-text); margin-bottom: 18px; }
.svc-card h3 { font-size: 21px; margin-bottom: 10px; }
.svc-card p { color: var(--text-muted); font-size: 15.5px; flex: 1; }
.svc-card .price { font-family: var(--font-display); font-weight: 800; color: var(--navy); margin-top: 16px; font-size: 18px; }
.svc-card .price small { font-weight: 500; color: var(--text-muted); font-size: 13px; }
.svc-card .more { margin-top: 16px; font-weight: 700; color: var(--accent-text); font-size: 14px; }
.card-top-accent { border-top: 4px solid var(--accent); }

/* --- PAGE HERO (interior) + BREADCRUMB --- */
.page-hero { background: var(--navy); color: #fff; padding: 56px 0; }
.page-hero-compact { padding: 16px 0; }
.page-hero-compact .crumbs { margin-bottom: 0; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: var(--text-on-dark); }
.crumbs { font-size: 13px; color: var(--text-on-dark); margin-bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--text-on-dark); text-decoration: underline; text-underline-offset: 2px; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: 0.5; }

/* --- SECTIONS ON DARK --- */
.sec-navy { background: var(--navy); color: #fff; }
.sec-navy h2, .sec-navy h3 { color: #fff; }
.sec-navy .lead, .sec-navy p { color: var(--text-on-dark); }
.sec-navy .eyebrow { color: var(--gold); }
.sec-navy .num, .cta-band .num, .hero-dark .num { color: #fff; }
.sec-navy .tag, .sec-navy .ctx { color: var(--text-on-dark); }

/* --- CTA BAND --- */
.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: var(--text-on-dark); margin: 14px auto 28px; max-width: 600px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- SPEC / PRICING TABLE --- */
.spec-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec-table th, .spec-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 15.5px; }
.spec-table thead th { background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.4px; }
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table tbody tr:nth-child(even) { background: var(--bg-tint); }
.spec-table .price { font-family: var(--font-display); font-weight: 800; color: var(--accent-text); }
.spec-table td.you b { color: var(--navy); }

/* --- CHECK / ICON LISTS --- */
.checklist { display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; color: var(--text); }
.checklist li::before { content: '\2713'; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; background: var(--accent); color: #fff; border-radius: 50%; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.checklist.on-dark li { color: var(--text-on-dark); }

/* --- FAULT CODE PILLS / GRID --- */
.code-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 12px; }
.code-pill { display: block; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; background: var(--white); transition: all 0.2s; }
.code-pill:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.code-pill .code { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 16px; }
.code-pill .desc { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 3px; }

/* --- CODE LOOKUP TOOL --- */
.code-tool { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 28px; }
.code-tool input { width: 100%; padding: 16px 18px; border: 2px solid var(--border); border-radius: var(--radius-sm); font: inherit; font-size: 17px; }
.code-tool input:focus { outline: none; border-color: var(--accent); }
.code-result { margin-top: 20px; }
.code-result .hit { border-left: 4px solid var(--accent); background: var(--bg-tint); padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 12px; }
.code-result .hit .code { font-family: var(--font-display); font-weight: 800; color: var(--navy); }

/* --- REVIEW CARDS --- */
.review-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.review-card .stars { margin-bottom: 12px; }
.review-card p { color: var(--text); font-size: 15.5px; line-height: 1.6; }
.review-card .who { margin-top: 16px; font-weight: 700; color: var(--navy); font-size: 14px; }
.review-card .who span { display: block; font-weight: 400; color: var(--text-muted); font-size: 13px; }

/* --- PROCESS STEPS --- */
.steps { counter-reset: step; display: grid; gap: 24px; }
.step { position: relative; padding-left: 64px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; background: var(--navy); color: #fff; border-radius: 50%; font-family: var(--font-display); font-weight: 800; font-size: 20px; display: grid; place-items: center; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 15px; }

/* --- FOOTER (navy) --- */
.footer { background: var(--navy); color: var(--text-on-dark); padding: 64px 0 28px; }
.footer h4, .footer .footer-h { color: #fff; }
.footer-desc { color: var(--text-on-dark); }
.footer-links a { color: var(--text-on-dark); }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--border-dark); color: #93a0bb; }
.footer .stars { color: var(--gold); }
.footer-areas { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-areas a { font-size: 13px; }

/* --- MOBILE NAV (navy fullscreen, iOS-safe via JS) --- */
.mobile-toggle span { background: var(--navy); }
.mobile-nav-open .nav-links { background: var(--navy); }
.mobile-nav-open .nav-links a { color: #fff; font-family: var(--font-display); }
.mobile-nav-open .mobile-toggle span { background: #fff; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px){ .nav-phone.hide-sm, .nav-links { } }
@media (max-width: 768px){
  body { font-size: 16px; }
  .hero-trust { gap: 12px 18px; }
  .trust-strip .container { grid-template-columns: 1fr; }
  .step { padding-left: 56px; }
}

/* --- Make text wordmark (replaces trademarked manufacturer logos, nominative-use safe) --- */
.make-word { font-family: var(--font-display); font-weight: 800; font-size: clamp(15px, 1.8vw, 21px); color: var(--navy); letter-spacing: 0.5px; text-align: center; line-height: 1.15; }
a.card:hover .make-word { color: var(--accent-text); }

/* --- Footer non-affiliation disclaimer --- */
.footer-disclaimer { border-top: 1px solid var(--border-dark); margin-top: 28px; padding-top: 22px; font-size: 12px; color: #8d9ab6; line-height: 1.6; max-width: 980px; }

/* --- Hero background photo + flat overlay (no gradient) --- */
.hero-photo { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center;  filter: grayscale(60%) brightness(0.85); }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: rgba(24,24,24,0.84); }
.hero-dark .hero-content { position: relative; z-index: 1; }

/* --- Inline photo blocks (real shop/team/process imagery) --- */
.photo-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-cap { font-size: 13px; color: var(--text-muted); font-style: italic; margin-top: 10px; text-align: center; }
.svc-card .ic-img { width: 54px; height: 54px; object-fit: contain; margin-bottom: 18px; }

/* ===== Shopify cart drawer, branded ===== */
shopify-cart::part(dialog) { border: none; border-radius: 10px; box-shadow: var(--shadow-lg); font-family: var(--font-body); color: var(--text); }
shopify-cart::part(primary-button) { background: var(--accent); color: #fff; border-radius: 6px; font-weight: 700; font-family: var(--font-display); }
shopify-cart::part(primary-button):hover { background: var(--accent-dark); }
shopify-cart::part(secondary-button) { color: var(--text); }

/* ===== Find-a-part strip (top of every page, scrolls away) ===== */
.find-strip { background: var(--accent); }
.find-strip-inner { padding: 9px 0; }
.find-strip-form { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.find-strip-label { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: 0.02em; white-space: nowrap; }
.find-strip input { flex: 1 1 240px; min-width: 180px; font: inherit; font-size: 14px; padding: 8px 12px; border: none; border-radius: 6px; }
.find-strip button { font-family: var(--font-display); font-weight: 700; font-size: 14px; padding: 8px 16px; border: none; border-radius: 6px; background: var(--navy); color: #fff; cursor: pointer; }
.find-strip button:hover { background: #1F1F1F; }

/* ===== Live stock blocks + VIN rows ===== */
.live-stock-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .live-stock-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .live-stock-grid { grid-template-columns: repeat(3, 1fr); } }
.shop-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; margin-bottom: 12px; }
.shop-card-link { display: block; text-decoration: none; color: inherit; }
.shop-card-link:hover h3 { color: var(--accent-text); }
.shop-card .price-line { font-family: var(--font-display); font-weight: 800; font-size: 18px; margin: 10px 0 12px; }
.vin-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.vin-row input { flex: 1 1 260px; min-width: 200px; font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 6px; letter-spacing: 0.06em; text-transform: uppercase; }
.vin-msg { font-size: 14px; margin: 8px 0 0; }
.rp-form { display: grid; gap: 14px; max-width: 640px; }
.rp-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.rp-form input, .rp-form select, .rp-form textarea { font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 6px; background: #fff; }
.rp-form textarea { min-height: 110px; }

/* ===== Paragraph rhythm ===== */
p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }
.lead { margin-bottom: 22px; }
h2 + p, h3 + p { margin-top: 0; }
p + h2 { margin-top: 34px; }
p + h3 { margin-top: 26px; }
ul + p, ol + p, .checklist + p { margin-top: 18px; }
.faq-a p { margin-bottom: 14px; }

/* ===== Storefront chrome (v3) ===== */
body { background: #EAEDED; }
.az-wrap { max-width: 1420px; margin: 0 auto; padding: 0 16px; }
.az-head { background: #1F1F1F; color: #fff; }
.az-head__row { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 10px 16px; }
.az-head .brand { color: #fff; display: inline-flex; width: max-content; justify-self: start; }
.az-ship { font-size: 12px; line-height: 1.25; color: #CFCFCF; white-space: nowrap; }
.az-ship b { display: block; color: #fff; font-size: 13.5px; }
.az-search { display: flex; width: 100%; border-radius: 6px; overflow: hidden; background: #fff; }
.az-search select { border: none; background: #F0F0EE; color: #2E2E2E; font: inherit; font-size: 13px; padding: 0 10px; border-right: 1px solid #D9D9D6; }
.az-search input { flex: 1 1 auto; min-width: 0; border: none; font: inherit; font-size: 15px; padding: 11px 12px; color: #2E2E2E; }
.az-search button { border: none; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 14px; padding: 0 18px; cursor: pointer; }
.az-search button:hover { background: var(--accent-dark); }
.az-phone { font-size: 12px; color: #CFCFCF; white-space: nowrap; }
.az-phone b { display: block; color: #fff; font-size: 14px; }
.az-cart { position: relative; display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-family: var(--font-display); white-space: nowrap; }
.az-cart svg { width: 26px; height: 26px; }
.az-cart__n { position: absolute; top: -1px; left: 15px; min-width: 17px; height: 17px; box-sizing: border-box; padding: 0 4px; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 11px; line-height: 17px; text-align: center; }
.az-strip { background: #2E2E2E; color: #fff; }
.az-strip__row { display: flex; gap: 4px 2px; align-items: center; flex-wrap: wrap; padding: 6px 16px; }
.az-strip a { color: #fff; text-decoration: none; font-size: 13.5px; padding: 6px 10px; border-radius: 4px; white-space: nowrap; }
.az-strip a:hover { outline: 1px solid rgba(255,255,255,0.7); }
.az-strip .az-garage-chip { background: #3E3E3E; font-weight: 600; }
.az-strip .az-garage-chip.is-set { background: var(--accent); }
@media (max-width: 899px) {
  .az-head__row { grid-template-columns: 1fr auto; grid-template-areas: "brand cart" "search search"; gap: 10px; }
  .az-head .brand { grid-area: brand; }
  .az-ship, .az-phone { display: none; }
  .az-search { grid-area: search; }
  .az-cart { grid-area: cart; }
  .az-search select { display: none; }
}
/* inner pages: white panels on the gray canvas, matching the storefront */
.sec { background: #fff; border: 1px solid #D9D9D6; border-radius: 8px; max-width: 1420px; margin: 18px auto 0; box-sizing: border-box; }
.sec.sec-alt { background: #fff; }
.sec.sec-navy, .sec.cta-band { background: #2E2E2E; border-color: #2E2E2E; }
.page-hero { margin: 0; }
.footer { margin-top: 28px; }
@media (max-width: 1452px) { .sec { margin-left: 16px; margin-right: 16px; } }

/* ===== Sticky header, mobile menu, mobile search ===== */
/* iPhone safe area: the page draws under the notch or Dynamic Island (viewport-fit=cover), so the
   fixed chrome pads itself by the inset. Without this a sliver of the page shows above the header. */
:root { --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
        --sal: env(safe-area-inset-left, 0px); --sar: env(safe-area-inset-right, 0px); }
html { background: #1F1F1F; }
.az-head { position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.25); padding-top: var(--sat); }
.az-menu { padding-top: var(--sat); padding-bottom: calc(30px + var(--sab)); }
.footer { padding-bottom: calc(var(--sab) + 8px); }
@media (max-width: 899px) {
  .az-wrap, .az-head__row, .az-strip__row { padding-left: max(16px, var(--sal)); padding-right: max(16px, var(--sar)); }
  .az-head__row { padding-left: max(10px, var(--sal)); padding-right: max(10px, var(--sar)); }
}
.az-burger { display: none; width: 44px; height: 44px; border: none; background: transparent; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.az-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }
.az-search-toggle { display: none; width: 44px; height: 44px; border: none; background: transparent; color: #fff; padding: 10px; cursor: pointer; }
.az-search-toggle svg { width: 24px; height: 24px; }
.az-menu-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1100; }
.az-menu { position: fixed; top: 0; left: 0; bottom: 0; width: min(86vw, 360px); background: #1F1F1F; color: #fff; z-index: 1200; overflow-y: auto; padding: 0 0 30px; box-shadow: 4px 0 24px rgba(0,0,0,0.4); }
.az-menu__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 12px 18px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.az-menu__close { width: 44px; height: 44px; border: none; background: transparent; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.az-menu__call { display: block; margin: 14px 18px 6px; background: var(--accent); color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 17px; padding: 14px 16px; border-radius: 6px; }
.az-menu__call span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12.5px; opacity: 0.9; margin-top: 2px; }
.az-menu__group { padding: 12px 18px 4px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.az-menu__group b { display: block; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #B5B5B5; margin-bottom: 4px; }
.az-menu__group a { display: block; color: #fff; text-decoration: none; font-size: 16px; padding: 10px 0; }
.az-menu__group a:active { color: var(--accent); }
body.az-menu-open { overflow: hidden; }
@media (max-width: 899px) {
  .az-strip { display: none; }
  .az-burger, .az-search-toggle { display: flex; align-items: center; justify-content: center; }
  /* 88px of controls on each side so the logo sits dead centre under the notch or Dynamic Island */
  .az-head__row { grid-template-columns: 88px 1fr 44px 44px; grid-template-areas: "burger brand stoggle cart" "search search search search"; gap: 6px 0; padding: 6px 10px; }
  .az-burger { grid-area: burger; justify-self: start; }
  .az-head .brand { grid-area: brand; justify-self: center; }
  .az-search-toggle { grid-area: stoggle; }
  .az-cart { grid-area: cart; width: 44px; height: 44px; justify-content: center; padding: 0; }
  .az-cart__label { display: none; }
  .az-search { grid-area: search; margin-bottom: 4px; }
  .az-head.is-compact .az-search { display: none; }
  .az-head.is-compact .az-search-toggle[aria-expanded="true"] ~ .az-search { display: flex; }
  .btn, .az-add, .az-search button { min-height: 44px; }
}
@media (min-width: 900px) { .az-menu, .az-menu-backdrop { display: none !important; } }

/* ---- Buy strip: make-aware live stock row above the footer ---- */
.sec.buy-strip { background: #2E2E2E; color: #fff; border-color: #2E2E2E; padding: 24px 18px 20px; }
.buy-strip__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.buy-strip__head h2 { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.2; margin: 0; color: #fff; }
.buy-strip__head a { color: #FFB3A3; font-weight: 600; text-decoration: none; font-size: 14px; white-space: nowrap; }
.buy-strip__head a:hover { text-decoration: underline; }
.buy-strip__sub { margin: 0 0 14px; color: #CFCFCF; font-size: 14px; }
.bs-wrap { position: relative; }
.bs-scroller { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 0 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.bs-scroller::-webkit-scrollbar { display: none; }
.bs-scroller:empty { display: none; }
.bs-card { flex: 0 0 232px; scroll-snap-align: start; background: #fff; color: #2E2E2E; border: 1px solid #E4E1DC; border-radius: 6px; padding: 10px; display: flex; flex-direction: column; min-width: 0; }
.bs-card__img { display: block; background: #fff; }
.bs-card__img img { width: 100%; height: 170px; object-fit: cover; border-radius: 4px; display: block; }
.bs-card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.3; margin: 8px 0 4px; color: #2E2E2E; text-decoration: none; }
.bs-card__title:hover { color: var(--accent-text, #C8401F); text-decoration: underline; }
.bs-card__fit { font-size: 12.5px; color: #5B5B5B; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bs-card__price { font-family: var(--font-display); font-weight: 900; font-size: 21px; margin: 8px 0 2px; }
.bs-card__ship { font-size: 12px; color: var(--green, #1B7F3B); margin-bottom: 10px; }
.bs-add { margin-top: auto; border: none; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 14px; padding: 10px 12px; border-radius: 4px; cursor: pointer; text-align: center; text-decoration: none; display: block; min-height: 44px; }
.bs-add:hover { background: var(--accent-dark, #C8401F); }
.bs-add--alt { background: #555; }
.bs-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 72px; border: 1px solid #555; background: rgba(46,46,46,.94); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; border-radius: 4px; display: none; }
.bs-arrow[data-dir="-1"] { left: -8px; } .bs-arrow[data-dir="1"] { right: -8px; }
.bs-wrap.has-overflow .bs-arrow { display: block; }
.bs-arrow[hidden] { display: none !important; }
.buy-strip__finder { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.buy-strip__finder label { font-weight: 700; font-size: 14px; flex: 0 0 100%; color: #fff; }
.buy-strip__finder input { flex: 1 1 260px; min-height: 44px; border: 1px solid #555; border-radius: 4px; padding: 0 12px; font: inherit; font-size: 15px; background: #fff; color: #2E2E2E; }
.buy-strip__finder button { min-height: 44px; border: none; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 15px; padding: 0 18px; border-radius: 4px; cursor: pointer; }
.buy-strip__finder button:hover { background: var(--accent-dark, #C8401F); }
.buy-strip__links { margin: 12px 0 0; font-size: 14px; color: #CFCFCF; }
.buy-strip__links a { color: #fff; font-weight: 600; }
@media (max-width: 899px) { .sec.buy-strip { padding: 18px 14px 16px; } .buy-strip__head h2 { font-size: 19px; } .bs-arrow { display: none !important; } }

/* ---- Lead figure on service and guide pages ---- */
.lead-photo { margin: 0 0 28px; }
.lead-photo img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 8px; display: block; }
.lead-photo figcaption { font-size: 13px; font-style: italic; color: #5B5B5B; margin-top: 8px; line-height: 1.5; }

/* ---- Homepage contact banner sits flush on the footer ---- */
.az-contact { margin-bottom: 0; }
.az-contact + .footer { margin-top: 0; }
#vehicle { scroll-margin-top: 140px; }
#vehicle.is-flash { outline: 3px solid #fff; outline-offset: 4px; transition: outline-color .6s; }

/* ---- Inline stock callout inside article copy (native-ad style) ---- */
.inline-stock { margin: 28px 0 8px; padding: 16px 18px 14px; background: #FAF9F7; border: 1px solid #E4E1DC; border-radius: 8px; }
.inline-stock__head { display: flex; align-items: baseline; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 12px; }
.inline-stock__kicker { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text, #d23a1f); }
.inline-stock__head strong { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: #2E2E2E; flex: 1 1 auto; }
.inline-stock__head a { font-size: 14px; font-weight: 600; color: var(--accent-text, #d23a1f); text-decoration: none; white-space: nowrap; }
.inline-stock__head a:hover { text-decoration: underline; }
.inline-stock__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.is-card { display: grid; grid-template-columns: 84px 1fr; gap: 10px; background: #fff; border: 1px solid #E4E1DC; border-radius: 6px; padding: 8px; min-width: 0; }
.is-card__img img { width: 84px; height: 64px; object-fit: cover; border-radius: 4px; display: block; }
.is-card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; font-weight: 600; line-height: 1.3; color: #2E2E2E; text-decoration: none; }
.is-card__title:hover { text-decoration: underline; }
.is-card__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.is-card__price { font-family: var(--font-display); font-weight: 900; font-size: 16px; }
.is-add { border: none; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 12px; padding: 7px 10px; border-radius: 4px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.is-add:hover { background: var(--accent-dark, #C8401F); }
.is-add--alt { background: #555; }
@media (max-width: 899px) { .inline-stock__cards { grid-template-columns: 1fr; } .inline-stock { padding: 14px; } }

/* ---- Mobile menu: Shop is the primary action, Call is secondary ---- */
.az-menu__shop { display: block; margin: 14px 16px 8px; padding: 14px 16px; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 17px; text-align: center; border-radius: 6px; text-decoration: none; }
.az-menu__shop:hover { background: var(--accent-dark, #C8401F); }
.az-menu .az-menu__call { display: block; margin: 0 16px 14px; padding: 10px 12px; background: transparent; border: 1px solid rgba(255,255,255,.28); color: #fff; font-weight: 700; font-size: 15px; text-align: center; border-radius: 6px; text-decoration: none; }
.az-menu .az-menu__call span { display: block; font-weight: 400; font-size: 12px; color: #CFCFCF; margin-top: 2px; }
/* Mobile search toggle: header carries the open state, not sibling order */
@media (max-width: 899px) {
  .az-head.is-compact .az-search { display: none; }
  .az-head.is-compact.search-open .az-search { display: flex; }
}

/* ---- Make page vehicle photo (replaces the text plate) ---- */
.make-photo { margin: 0; }
.make-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; }

/* ===== Header search dropdown (live results under the bar) ===== */
.az-search { position: relative; overflow: visible; }
.az-search select { border-radius: 6px 0 0 6px; }
.az-search button[type="submit"] { border-radius: 0 6px 6px 0; }
@media (max-width: 899px) { .az-search input { border-radius: 6px 0 0 6px; } }
.az-sugg { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 1002; background: #fff; color: #2E2E2E; border: 1px solid #D9D9D6; border-radius: 8px; box-shadow: 0 14px 34px rgba(0,0,0,0.28); max-height: min(70vh, 560px); overflow-y: auto; text-align: left; }
.az-sugg__row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 12px; color: inherit; text-decoration: none; border-bottom: 1px solid #F0F0EE; font-size: 14px; line-height: 1.3; }
.az-sugg__row:hover, .az-sugg__row:focus { background: #FFF3EF; outline: none; }
.az-sugg__row img, .az-sugg__noimg { width: 56px; height: 42px; object-fit: cover; border-radius: 4px; background: #F0F0EE; display: block; }
.az-sugg__t { display: block; font-weight: 600; }
.az-sugg__t small { display: block; font-weight: 400; font-size: 12px; color: #6B6B68; margin-top: 2px; }
.az-sugg__p { font-family: var(--font-display); font-weight: 800; color: var(--accent-text, #C8351F); white-space: nowrap; }
.az-sugg__all { display: block; padding: 11px 12px; font-weight: 700; font-size: 14px; color: var(--accent-text, #C8351F); text-decoration: none; background: #FAFAF8; border-radius: 0 0 8px 8px; }
.az-sugg__all:hover { text-decoration: underline; }
.az-sugg__empty { padding: 12px 14px; font-size: 14px; line-height: 1.45; }
.az-sugg__empty a { color: var(--accent-text, #C8351F); font-weight: 600; }

/* ===== Vehicle pop-up (header "Select your vehicle", every page) ===== */
.az-vmodal { position: fixed; inset: 0; margin: auto; height: fit-content; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; border: 0; border-radius: 10px; padding: 26px 24px 24px; background: #fff; color: #2E2E2E; box-shadow: 0 30px 80px rgba(0,0,0,0.45); }
.az-vmodal::backdrop { background: rgba(20,20,20,0.62); }
.az-vmodal[open] { animation: azVmIn .28s cubic-bezier(.2,.85,.25,1) both; }
@keyframes azVmIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .az-vmodal[open] { animation: none; } }
body.az-vmodal-open { overflow: hidden; }
.az-vmodal [hidden] { display: none !important; }
.az-vmodal h2 { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; margin: 0 36px 16px 0; color: #1F1F1F; }
.az-vmodal__x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 6px; background: #F0F0EE; color: #1F1F1F; font-size: 24px; line-height: 1; cursor: pointer; }
.az-vmodal__x:hover { background: #E2E2DF; }
.az-vmodal__cur { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #FFF3EF; border: 1px solid #FFD3C9; border-radius: 6px; padding: 10px 12px; margin: 0 0 16px; font-size: 14.5px; }
.az-vmodal__cur button { border: 0; background: none; color: var(--accent-text); font: inherit; font-weight: 700; cursor: pointer; padding: 4px; }
.az-vmodal__lbl { display: block; font-weight: 700; font-size: 14px; margin: 0 0 6px; }
.az-vmodal__line { display: flex; gap: 8px; }
.az-vmodal input, .az-vmodal select { font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid #CFCFCB; border-radius: 6px; background: #fff; color: #2E2E2E; min-width: 0; }
.az-vmodal input { flex: 1 1 auto; text-transform: uppercase; letter-spacing: 0.05em; }
.az-vmodal input::placeholder { text-transform: none; letter-spacing: 0; }
.az-vmodal input:focus, .az-vmodal select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.az-vmodal__go { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 6px; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 14.5px; padding: 12px 18px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.az-vmodal__go:hover { background: var(--accent-dark); color: #fff; }
.az-vmodal__go:focus-visible, .az-vmodal__alt:focus-visible, .az-vmodal__x:focus-visible { outline: 2px solid #1F1F1F; outline-offset: 2px; }
.az-vmodal__hint { font-size: 12.5px; color: #6A6A6A; margin: 6px 0 0; }
.az-vmodal__msg { font-size: 14px; margin: 8px 0 0; color: var(--accent-text); font-weight: 600; }
.az-vmodal__msg:empty { display: none; }
.az-vmodal__or { display: flex; align-items: center; gap: 12px; color: #6A6A6A; font-size: 13px; margin: 18px 0 12px; }
.az-vmodal__or::before, .az-vmodal__or::after { content: ''; flex: 1; height: 1px; background: #E7E7E5; }
.az-vmodal__pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.az-vmodal__pick .az-vmodal__go { grid-column: 1 / -1; background: #1F1F1F; }
.az-vmodal__pick .az-vmodal__go:hover { background: #333; }
.az-vmodal__done p { font-size: 16px; margin: 0 0 14px; }
.az-vmodal__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.az-vmodal__alt { border: 1px solid #CFCFCB; background: #fff; border-radius: 6px; padding: 12px 18px; font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; color: #2E2E2E; }
.az-vmodal__alt:hover { border-color: #1F1F1F; }
@media (max-width: 520px) {
  .az-vmodal { padding: 22px 16px 18px; }
  .az-vmodal__pick { grid-template-columns: 1fr 1fr; }
  .az-vmodal__pick select[name="model"] { grid-column: 1 / -1; }
  .az-vmodal__line .az-vmodal__go { padding: 12px 14px; }
  .az-vmodal__btns > * { flex: 1 1 100%; }
}
/* store grid: saved vehicle filter */
.shop-garage { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; background: #FFF3EF; border: 1px solid #FFD3C9; border-radius: 6px; padding: 10px 14px; margin: 0 0 12px; font-size: 15px; }
.shop-garage[hidden] { display: none; }
.shop-garage span { margin-right: auto; }
.shop-garage button { border: 0; background: none; color: var(--accent-text); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; padding: 4px 2px; }
.shop-garage button:hover { text-decoration: underline; }

/* iOS Safari zooms the whole page when a focused field's text is under 16px.
   Every control stays at 16px on phone and tablet widths so tapping a field never zooms. */
@media (max-width: 899px) {
  input, select, textarea,
  .az-bar input, .az-bar select, .az-search input, .az-search select, .find-strip input, .vin-row input,
  .shop-bar input, .shop-bar select, .rp-form input, .rp-form select, .rp-form textarea,
  .buy-strip__finder input, .az-vmodal input, .az-vmodal select, .code-tool input { font-size: 16px; }
}
