/* LilamAuto dealer showroom — v2 skin (index.html design reference).
 * Everything is scoped to body.la-v2, which dealer-showroom.js sets unless ?ui=classic.
 * Cards come from the shared lilamauto-cards.css, so only its custom properties are
 * overridden here — nothing outside the showroom page changes. */

body.la-v2 {
  --v2-ink: #0b1220;
  --v2-navy: #0b1b33;
  --v2-navy-800: #0f2342;
  --v2-brand: #1456f0;
  --v2-brand-50: #eef3ff;
  --v2-brand-700: #0d37a3;
  --v2-accent: #f5a524;
  --v2-line: #e3e8ef;
  --v2-canvas: #f4f6fa;
  --v2-wa: #128c4a;
  --v2-wa-hover: #0f7a40;
  --la-primary: #1456f0;
  --la-card-radius: 20px;
  --la-card-border: 1px solid var(--v2-line);
  --la-card-shadow: none;
  font-family: 'Plus Jakarta Sans', 'Noto Sans Arabic', system-ui, sans-serif;
  background: var(--v2-canvas);
  color: var(--v2-ink);
  -webkit-font-smoothing: antialiased;
  /* clip, not hidden: hidden turns body into a scroll container and breaks the sticky nav */
  overflow-x: clip;
}
html:has(body.la-v2) { overflow-x: clip; scroll-behavior: smooth; }
body.la-v2 .max-w-5xl { max-width: 1280px; }
body.la-v2 :focus-visible { outline: 3px solid #7fa3ff; outline-offset: 2px; }
body.la-v2 [id='overview'],
body.la-v2 [id='showroom-inventory'],
body.la-v2 [id='showroom-parts'],
body.la-v2 [id='la-reviews-root'],
body.la-v2 [id='showroom-location'],
body.la-v2 [id='showroom-contact'] { scroll-margin-top: 112px; }
@media (prefers-reduced-motion: reduce) {
  html:has(body.la-v2) { scroll-behavior: auto; }
  body.la-v2 *, body.la-v2 *::before, body.la-v2 *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Hero ---------- */
body.la-v2 .la-hero {
  position: relative; overflow: hidden; border-radius: 28px; color: #fff;
  background:
    radial-gradient(900px 380px at 95% -10%, rgba(20, 86, 240, 0.6), transparent 60%),
    radial-gradient(700px 300px at 0% 110%, rgba(245, 165, 36, 0.16), transparent 60%),
    linear-gradient(135deg, #0b1b33 0%, #0f2a52 100%);
  box-shadow: 0 20px 40px -20px rgba(11, 27, 51, 0.45);
}
/* cover photo: full backdrop under a navy readability overlay (dealers without a cover keep the plain navy hero) */
body.la-v2 .la-hero > .la-showroom-cover { position: absolute; inset: 0; min-height: 0; border-radius: 0; background: none; }
body.la-v2 .la-hero > .la-showroom-cover img { height: 100%; width: 100%; object-fit: cover; }
body.la-v2 .la-hero:has(> .la-showroom-cover img)::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 27, 51, 0.35) 0%, rgba(11, 27, 51, 0.82) 100%),
    linear-gradient(90deg, rgba(11, 27, 51, 0.7) 0%, rgba(11, 27, 51, 0.4) 100%);
}
@media (min-width: 1024px) {
  body.la-v2 .la-hero:has(> .la-showroom-cover img)::after {
    background:
      linear-gradient(180deg, rgba(11, 27, 51, 0) 40%, rgba(11, 27, 51, 0.7) 100%),
      linear-gradient(90deg, rgba(11, 27, 51, 0.92) 0%, rgba(11, 27, 51, 0.7) 45%, rgba(11, 27, 51, 0.42) 100%);
  }
}
body.la-v2 .la-hero > div:not(.la-showroom-cover) { position: relative; z-index: 1; margin-top: 0; padding: 1.25rem; }
@media (min-width: 640px) { body.la-v2 .la-hero > div:not(.la-showroom-cover) { padding: 2rem; } }
@media (min-width: 1024px) { body.la-v2 .la-hero > div:not(.la-showroom-cover) { padding: 2.5rem; } }
body.la-v2 .la-hero img.w-20 {
  width: 6rem; height: 6rem; border-radius: 1.5rem; border: 0; background: #fff; object-fit: contain;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2), 0 20px 30px -10px rgba(0, 0, 0, 0.4);
}
body.la-v2 .la-hero div.w-20 { width: 6rem; height: 6rem; border-radius: 1.5rem; background: #fff; border: 0; }
@media (min-width: 640px) { body.la-v2 .la-hero img.w-20, body.la-v2 .la-hero div.w-20 { width: 7rem; height: 7rem; } }
body.la-v2 .la-hero h1 { color: #fff; font-size: 1.75rem; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
@media (min-width: 640px) { body.la-v2 .la-hero h1 { font-size: 2.25rem; } }
body.la-v2 .la-hero .text-slate-500 { color: rgba(255, 255, 255, 0.7); font-family: ui-monospace, monospace; }
/* status chips -> glass pills */
body.la-v2 .la-hero span.rounded.font-medium {
  border-radius: 999px; padding: 0.25rem 0.7rem; font-weight: 700; color: #fff;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2);
}
body.la-v2 .la-hero span.bg-amber-100 { background: var(--v2-accent); color: var(--v2-navy); border-color: transparent; }
body.la-v2 .la-hero span.bg-emerald-100 { background: rgba(52, 211, 153, 0.18); color: #6ee7b7; }

/* metrics grid */
body.la-v2 .la-hero .la-trust-strip {
  display: grid; gap: 1px; margin: 1.75rem 0 1.25rem; overflow: hidden;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px;
}
@media (min-width: 640px) { body.la-v2 .la-hero .la-trust-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { body.la-v2 .la-hero .la-trust-strip { grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); } }
body.la-v2 .la-hero .la-trust-strip span {
  background: var(--v2-navy-800); padding: 1rem; font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.6);
}
body.la-v2 .la-hero .la-trust-strip strong {
  margin-bottom: 0.2rem; font-size: 1.25rem; font-weight: 800; letter-spacing: 0; text-transform: none; color: #fff;
  font-variant-numeric: tabular-nums;
}

body.la-v2 .la-hero .la-v2-hide, body.la-v2 .la-v2-hide { display: none; }

body.la-v2 .la-hero .la-show-initials { display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.75rem; color: var(--v2-navy); letter-spacing: 0.04em; }

/* ---------- Body ---------- */
body.la-v2 .la-v2-main { margin-top: 1.25rem; }
body.la-v2 .la-v2-stack { display: flex; flex-direction: column; gap: 1.5rem; }
body.la-v2 .la-v2-stack > section,
body.la-v2 .la-v2-stack > p,
body.la-v2 .la-v2-stack > div.flex-wrap,
body.la-v2 .la-v2-stack > .la-v2-loc {
  margin: 0; background: #fff; border: 1px solid var(--v2-line); border-radius: 24px; padding: 1.25rem;
}
@media (min-width: 640px) {
  body.la-v2 .la-v2-stack > section, body.la-v2 .la-v2-stack > p, body.la-v2 .la-v2-stack > div.flex-wrap, body.la-v2 .la-v2-stack > .la-v2-loc { padding: 1.75rem; }
}
body.la-v2 .la-v2-stack h2, body.la-v2 .la-v2-h2 {
  font-size: 1.375rem; font-weight: 800; letter-spacing: -0.01em; color: var(--v2-navy); margin-bottom: 0.9rem;
}
body.la-v2 .la-v2-stack > .la-v2-loc { margin-bottom: 0; }


/* filters & chips */
body.la-v2 .la-v2-stack input[type='search'],
body.la-v2 .la-v2-stack input[type='number'],
body.la-v2 .la-v2-stack input[type='text'],
body.la-v2 .la-v2-stack select,
body.la-v2 .la-v2-stack textarea {
  border: 1px solid var(--v2-line); border-radius: 12px; background: #fff; font-size: 0.875rem; font-weight: 500;
}
body.la-v2 .la-v2-stack input:focus, body.la-v2 .la-v2-stack select:focus, body.la-v2 .la-v2-stack textarea:focus {
  outline: none; border-color: var(--v2-brand); box-shadow: 0 0 0 3px rgba(20, 86, 240, 0.18);
}
@media (max-width: 639px) {
  body.la-v2 .la-v2-stack input, body.la-v2 .la-v2-stack select, body.la-v2 .la-v2-stack textarea { font-size: 16px; }
}
body.la-v2 .la-v2-stack button.inline-flex.rounded-lg.border,
body.la-v2 .inv-make-chip, body.la-v2 [class*='-chip'].inline-flex {
  border-radius: 999px; font-weight: 600;
}
body.la-v2 .la-v2-stack [aria-pressed='true'], body.la-v2 .inv-make-chip[aria-pressed='true'], body.la-v2 .inv-make-chip.is-active {
  background: var(--v2-brand-50); border-color: var(--v2-brand); color: var(--v2-brand-700);
}

/* vehicle / part cards (shared card CSS driven by variables above) */
body.la-v2 .la-grid { gap: 1.25rem; }
@media (min-width: 640px) { body.la-v2 .la-v2-stack .la-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { body.la-v2 .la-v2-stack .la-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
body.la-v2 .la-card:hover { transform: translateY(-4px); box-shadow: 0 22px 36px -14px rgba(11, 27, 51, 0.2); }
body.la-v2 .la-card__price { color: var(--v2-navy); font-weight: 800; letter-spacing: -0.01em; }

/* location */
body.la-v2 .la-v2-loc iframe { border-radius: 16px; }
body.la-v2 .la-v2-loc a { color: var(--v2-brand); font-weight: 700; }

/* ---------- Contact band ---------- */
body.la-v2 .la-v2-contact {
  display: grid; gap: 1.5rem; align-items: center; color: #fff; border-radius: 28px; padding: 1.5rem;
  background:
    radial-gradient(900px 380px at 95% -10%, rgba(20, 86, 240, 0.6), transparent 60%),
    linear-gradient(135deg, #0b1b33 0%, #0f2a52 100%);
}
body.la-v2 .la-v2-stack > section.la-v2-contact { padding: 1.5rem; background: linear-gradient(135deg, #0b1b33 0%, #0f2a52 100%); }
@media (min-width: 640px) { body.la-v2 .la-v2-stack > section.la-v2-contact { padding: 2.5rem; } }
@media (min-width: 1024px) { body.la-v2 .la-v2-contact { grid-template-columns: 1fr 1fr; } }
body.la-v2 .la-v2-contact h2 { color: #fff; margin-bottom: 0.5rem; font-size: 1.5rem; }
body.la-v2 .la-v2-contact p { color: rgba(255, 255, 255, 0.72); font-size: 0.9375rem; max-width: 32rem; }
body.la-v2 .la-v2-contact-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.la-v2-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.2rem;
  border-radius: 12px; font-weight: 700; font-size: 0.875rem; text-decoration: none; border: 1px solid transparent;
  transition: background 0.2s, transform 0.15s;
}
.la-v2-btn:active { transform: scale(0.97); }
.la-v2-btn-wa { background: #128c4a; color: #fff; }
.la-v2-btn-wa:hover { background: #0f7a40; }
.la-v2-btn-white { background: #fff; color: #0b1b33; }
.la-v2-btn-white:hover { background: #eef3ff; }
.la-v2-btn-glass { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.18); }
.la-v2-btn-glass:hover { background: rgba(255, 255, 255, 0.18); }

/* mobile sticky contact bar keeps working; just match the new look */
body.la-v2 .la-sticky-contact { border-top-color: var(--v2-line); }

@media print {
  body.la-v2 .la-v2-nav, body.la-v2 .la-v2-contact { display: none !important; }
  body.la-v2 .la-hero { background: #0b1b33 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

body.la-v2 .la-v2-stack > p { font-size: 0.9375rem; line-height: 1.7; color: #334155; }

/* Mobile sticky bar: primary contact actions only (share/print/copy/follow already live in the hero grid) */
@media (max-width: 767px) {
  body.la-v2 .la-sticky-contact > :not(#sticky-wa):not(#sticky-call):not(#sticky-directions) { display: none !important; }
  body.la-v2 .la-sticky-contact { background: rgba(255, 255, 255, 0.96); }
  body.la-v2 .la-sticky-contact #sticky-call { background: var(--v2-navy); color: #fff; }
  body.la-v2 .la-sticky-contact #sticky-wa { background: var(--v2-wa); color: #fff; }
}


/* ---------- Top bar (brand, dealer name, search, language, section nav) ---------- */
body.la-v2 .la-v2-topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.35rem 1rem;
  margin: -1rem -1rem 1rem; padding: 0.6rem 1rem 0; background: #fff;
  /* full-bleed white bar even though the page container is max-width */
  box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax);
}
body.la-v2 .la-v2-topleft { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
body.la-v2 .la-v2-topleft > a { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--v2-navy); text-decoration: none; }
body.la-v2 .la-v2-sep { color: #cbd5e1; display: none; }
body.la-v2 .la-v2-topname { display: none; font-size: 0.875rem; font-weight: 500; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 640px) { body.la-v2 .la-v2-sep, body.la-v2 .la-v2-topname { display: inline; } }
body.la-v2 .la-v2-topbar select#lang-select { border: 0; border-radius: 999px; background: var(--v2-canvas); font-weight: 700; font-size: 0.75rem; min-height: 40px; padding-inline: 0.9rem; }
body.la-v2 .la-v2-search {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 44px; height: 44px;
  border-radius: 999px; background: var(--v2-canvas); color: #64748b; font-size: 0.75rem; font-weight: 600; border: 0; cursor: pointer;
}
body.la-v2 .la-v2-search:hover { background: #e6ebf3; }
body.la-v2 .la-v2-search svg { width: 16px; height: 16px; }
body.la-v2 .la-v2-search .la-v2-search-text, body.la-v2 .la-v2-search kbd { display: none; }
@media (min-width: 768px) {
  body.la-v2 .la-v2-search { width: auto; height: 40px; padding: 0 0.9rem; }
  body.la-v2 .la-v2-search .la-v2-search-text, body.la-v2 .la-v2-search kbd { display: inline; }
  body.la-v2 .la-v2-search kbd { font-family: ui-monospace, monospace; font-size: 10px; background: #fff; padding: 1px 6px; border: 1px solid var(--v2-line); border-radius: 4px; }
}
body.la-v2 .la-v2-topbar .la-v2-nav {
  flex-basis: 100%; order: 3; margin: 0; padding: 0; border: 0; border-top: 1px solid var(--v2-line); border-radius: 0;
  background: none; position: static; -webkit-backdrop-filter: none; backdrop-filter: none; overflow-x: auto; scrollbar-width: none;
}
body.la-v2 .la-v2-topbar .la-v2-nav::-webkit-scrollbar { display: none; }
body.la-v2 .la-v2-topbar .la-v2-nav ul { margin: 0; padding: 0; list-style: none; display: flex; white-space: nowrap; }
body.la-v2 .la-v2-topbar .la-v2-nav a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 0.95rem; font-size: 0.8125rem; font-weight: 600;
  color: #64748b; text-decoration: none; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
body.la-v2 .la-v2-topbar .la-v2-nav a:hover { color: var(--v2-navy); }
body.la-v2 .la-v2-topbar .la-v2-nav a.active { color: var(--v2-brand); border-bottom-color: var(--v2-brand); }
body.la-v2 [id='overview'], body.la-v2 [id='showroom-inventory'], body.la-v2 [id='showroom-parts'], body.la-v2 [id='la-reviews-root'],
body.la-v2 [id='showroom-location'], body.la-v2 [id='showroom-contact'] { scroll-margin-top: 120px; }

/* ---------- Hero: identity left, actions right ---------- */
body.la-v2 .la-v2-herotop { display: flex; flex-direction: column; gap: 1.75rem; }
@media (min-width: 1024px) { body.la-v2 .la-v2-herotop { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
body.la-v2 .la-v2-herotop > .flex { margin-bottom: 0; align-items: center; }
body.la-v2 .la-v2-logo { position: relative; flex: none; }
body.la-v2 .la-v2-check {
  position: absolute; right: -6px; bottom: -6px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--v2-brand); border: 3px solid var(--v2-navy); color: #fff; display: flex; align-items: center; justify-content: center;
}
body.la-v2 .la-v2-check svg { width: 14px; height: 14px; }
body.la-v2 .la-v2-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; margin-top: 0.75rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); }
body.la-v2 .la-v2-rating { display: inline-flex; align-items: center; gap: 0.35rem; color: #fff; text-decoration: none; }
body.la-v2 .la-v2-rating[hidden] { display: none; }
body.la-v2 .la-v2-rating:hover { text-decoration: underline; }
body.la-v2 .la-v2-rate-star { color: var(--v2-accent); }
body.la-v2 .la-v2-rating span:last-child { color: rgba(255, 255, 255, 0.7); }
body.la-v2 .la-v2-metaloc svg { width: 14px; height: 14px; vertical-align: -2px; opacity: 0.6; }
body.la-v2 .la-v2-actions { display: flex; flex-direction: column; gap: 0.6rem; flex: none; }
@media (min-width: 1024px) { body.la-v2 .la-v2-actions { align-items: flex-end; } }
body.la-v2 .la-v2-actions-primary { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
@media (min-width: 1024px) { body.la-v2 .la-v2-actions-primary { grid-template-columns: auto auto; } body.la-v2 .la-v2-actions-primary > * { min-width: 8rem; } }
body.la-v2 .la-v2-actions-secondary { display: flex; flex-wrap: wrap; gap: 0.5rem; }
@media (min-width: 1024px) { body.la-v2 .la-v2-actions-secondary { justify-content: flex-end; } }
body.la-v2 .la-hero .la-v2-actions a, body.la-v2 .la-hero .la-v2-actions button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1rem; border-radius: 12px;
  font-weight: 700; font-size: 0.8125rem; line-height: 1.2; text-align: center; cursor: pointer;
  background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.18); text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
body.la-v2 .la-hero .la-v2-actions a:hover, body.la-v2 .la-hero .la-v2-actions button:hover { background: rgba(255, 255, 255, 0.18); }
body.la-v2 .la-hero .la-v2-actions a:active, body.la-v2 .la-hero .la-v2-actions button:active { transform: scale(0.97); }
body.la-v2 .la-hero .la-v2-actions #cta-wa { background: var(--v2-wa); border-color: transparent; min-height: 48px; }
body.la-v2 .la-hero .la-v2-actions #cta-wa:hover { background: var(--v2-wa-hover); }
body.la-v2 .la-hero .la-v2-actions #cta-call { background: #fff; color: var(--v2-navy); border-color: #fff; min-height: 48px; }
body.la-v2 .la-hero .la-v2-actions #cta-call:hover { background: var(--v2-brand-50); }
body.la-v2 .la-hero .la-v2-actions #cta-follow[aria-pressed='true'] { background: #fff; color: var(--v2-navy); }
body.la-v2 .la-hero .la-trust-strip span { position: relative; }
body.la-v2 .la-v2-bar { display: block; height: 6px; margin-top: 0.55rem; border-radius: 99px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
body.la-v2 .la-v2-bar b { display: block; height: 100%; border-radius: 99px; background: #34d399; }

/* ---------- Hub shortcut cards ---------- */
body.la-v2 .la-v2-hub { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.75rem; margin-top: 1.25rem; }
body.la-v2 .la-v2-hubcard {
  display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem; background: #fff; border: 1px solid var(--v2-line);
  border-radius: 16px; color: var(--v2-navy); text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s;
}
body.la-v2 .la-v2-hubcard:hover { border-color: var(--v2-brand); box-shadow: 0 8px 20px -10px rgba(11, 27, 51, 0.2); }
body.la-v2 .la-v2-hubicon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--v2-brand-50); color: var(--v2-brand); display: flex; align-items: center; justify-content: center; }
body.la-v2 .la-v2-hubtext b { display: block; font-size: 0.875rem; font-weight: 800; line-height: 1.25; }
body.la-v2 .la-v2-hubtext small { display: block; margin-top: 0.25rem; font-size: 0.75rem; color: #64748b; line-height: 1.3; }

/* ---------- Inventory toolbar ---------- */
body.la-v2 .la-v2-toolbar { display: flex; flex-direction: column; gap: 0.75rem; margin: 0 0 1rem; padding: 0.9rem; background: #fff; border: 1px solid var(--v2-line); border-radius: 16px; }
body.la-v2 .la-v2-toolbar-row { display: flex; flex-direction: column; gap: 0.6rem; }
@media (min-width: 640px) { body.la-v2 .la-v2-toolbar-row { flex-direction: row; } }
body.la-v2 .la-v2-searchbox { position: relative; flex: 1; }
body.la-v2 .la-v2-searchbox svg { position: absolute; inset-inline-start: 0.9rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: #94a3b8; pointer-events: none; }
body.la-v2 .la-v2-searchbox input { width: 100%; min-height: 44px; padding-inline-start: 2.5rem; background: var(--v2-canvas); border-color: transparent; }
body.la-v2 .la-v2-toolbar-row select { min-height: 44px; }
body.la-v2 .la-v2-chiprow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
body.la-v2 .la-v2-chiprow > label:not(.sr-only) {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0 0.9rem; border: 1px solid var(--v2-line); border-radius: 999px;
  background: #fff; font-size: 0.8125rem; font-weight: 600; color: #334155; cursor: pointer; transition: all 0.2s;
}
body.la-v2 .la-v2-chiprow > label:has(input:checked) { background: var(--v2-brand-50); border-color: var(--v2-brand); color: var(--v2-brand-700); }
body.la-v2 .la-v2-chiprow input[type='checkbox'] { accent-color: var(--v2-brand); }
body.la-v2 .la-v2-chiprow #inv-make-chips { width: auto; flex-basis: auto; }
body.la-v2 .la-v2-more {
  margin-inline-start: auto; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0 0.9rem; border-radius: 999px;
  border: 1px solid #cfdaf5; background: var(--v2-brand-50); color: var(--v2-brand-700); font-size: 0.8125rem; font-weight: 600; cursor: pointer;
}
body.la-v2 .la-v2-more svg { width: 14px; height: 14px; }
body.la-v2 .la-v2-adv { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 0.75rem; border-top: 1px solid var(--v2-line); }
body.la-v2 .la-v2-adv[hidden] { display: none; }

/* ---------- Vehicle cards ---------- */
body.la-v2 .la-grid > .vehicle-card-wrap { height: 100%; }
body.la-v2 .vehicle-card-wrap {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--v2-line); border-radius: 20px; overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
body.la-v2 .vehicle-card-wrap:hover { transform: translateY(-4px); box-shadow: 0 22px 36px -14px rgba(11, 27, 51, 0.2); }
body.la-v2 .vehicle-card-wrap .la-card { border: 0; border-radius: 0; box-shadow: none; transform: none; }
body.la-v2 .vehicle-card-wrap .la-card:hover { transform: none; box-shadow: none; }
body.la-v2 .vehicle-card-wrap .vehicle-card-meta, body.la-v2 .vehicle-card-wrap .vehicle-card-badges { padding-inline: 1rem; }
body.la-v2 .la-v2-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: auto; padding: 1rem; border-top: 1px solid var(--v2-line); }
body.la-v2 .la-v2-card-actions .vehicle-copy-link {
  margin: 0; min-height: 42px; justify-content: center; border-radius: 12px; font-size: 0.8125rem; font-weight: 700;
}
body.la-v2 .la-v2-inspect {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 12px; background: var(--v2-brand-50);
  color: var(--v2-brand-700); font-size: 0.8125rem; font-weight: 700; text-decoration: none;
}
body.la-v2 .la-v2-inspect:hover { background: #dce6ff; }
body.la-v2 .la-v2-card-actions .vehicle-share-wa {
  grid-column: 1 / -1; margin: 0; min-height: 44px; justify-content: center; border-radius: 12px; font-size: 0.8125rem; font-weight: 700;
  background: var(--v2-wa); border-color: var(--v2-wa);
}
body.la-v2 .la-v2-card-actions .vehicle-share-wa:hover { background: var(--v2-wa-hover); }

/* ---------- Reviews ---------- */
body.la-v2 .la-v2-stack > #la-reviews-root { background: none; border: 0; padding: 0; }
body.la-v2 .la-v2-reviews-grid { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { body.la-v2 .la-v2-reviews-grid { grid-template-columns: 320px 1fr; align-items: start; } body.la-v2 .la-v2-rsum { position: sticky; top: 9rem; } }
body.la-v2 .la-v2-rsum { background: #fff; border: 1px solid var(--v2-line); border-radius: 24px; padding: 1.5rem; }
body.la-v2 .la-v2-rsum h2 { margin-bottom: 0.25rem; font-size: 1.25rem; }
body.la-v2 .la-v2-avg { display: flex; align-items: center; gap: 1rem; margin: 1rem 0 1.25rem; }
body.la-v2 .la-v2-avg strong { font-size: 3rem; line-height: 1; font-weight: 800; letter-spacing: -0.02em; color: var(--v2-navy); }
body.la-v2 .la-v2-stars { color: var(--v2-accent); letter-spacing: 0.1em; }
body.la-v2 .la-v2-avg small { display: block; margin-top: 0.25rem; font-size: 0.75rem; font-weight: 600; color: #64748b; }
body.la-v2 .la-v2-empty { margin: 1rem 0 1.25rem; font-size: 0.875rem; color: #64748b; }
body.la-v2 .la-v2-btn-dark { background: var(--v2-navy); color: #fff; width: 100%; }
body.la-v2 .la-v2-btn-dark:hover { background: #16305a; }
body.la-v2 .la-v2-rmain { display: flex; flex-direction: column; gap: 0.75rem; }
body.la-v2 .la-v2-review { background: #fff; border: 1px solid var(--v2-line); border-radius: 16px; padding: 1.1rem 1.25rem; }
body.la-v2 .la-v2-review p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.65; color: #475569; }
body.la-v2 #la-review-form { margin: 0.25rem 0 0; padding: 1.25rem; background: #fff; border: 1px solid var(--v2-line); border-radius: 24px; }

/* ---------- Location: three columns ---------- */
body.la-v2 .la-v2-loc-cols { display: grid; border: 1px solid var(--v2-line); border-radius: 20px; overflow: hidden; }
@media (min-width: 768px) { body.la-v2 .la-v2-loc-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
body.la-v2 .la-v2-loc-col { padding: 1.5rem; }
body.la-v2 .la-v2-loc-col + .la-v2-loc-col { border-top: 1px solid var(--v2-line); }
@media (min-width: 768px) { body.la-v2 .la-v2-loc-col + .la-v2-loc-col { border-top: 0; border-inline-start: 1px solid var(--v2-line); } }
body.la-v2 .la-v2-loc-col h3 { margin-bottom: 0.6rem; font-size: 1rem; font-weight: 800; color: var(--v2-navy); }
body.la-v2 .la-v2-loc-col p, body.la-v2 .la-v2-loc-col li { font-size: 0.875rem; line-height: 1.6; color: #475569; }
body.la-v2 .la-v2-loc-col #open-status, body.la-v2 .la-v2-loc-col span.rounded { display: inline-block; margin-top: 0.75rem; border-radius: 999px; padding: 0.25rem 0.7rem; font-weight: 700; }
body.la-v2 .la-v2-loc-link { display: inline-block; margin-top: 0.75rem; font-size: 0.875rem; font-weight: 700; color: var(--v2-brand); text-decoration: none; }
body.la-v2 .la-v2-loc-link:hover { text-decoration: underline; }
body.la-v2 .la-v2-loc .la-loc-map { margin-top: 1rem; }

/* ---------- Contact rows ---------- */
body.la-v2 .la-v2-contact-rows { display: flex; flex-direction: column; gap: 0.75rem; }
body.la-v2 .la-v2-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border-radius: 16px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15); color: #fff; text-decoration: none; transition: background 0.2s;
}
body.la-v2 .la-v2-row:hover { background: rgba(255, 255, 255, 0.16); }
body.la-v2 .la-v2-row b { display: block; font-size: 0.875rem; }
body.la-v2 .la-v2-row i { font-style: normal; font-family: ui-monospace, monospace; font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }
body.la-v2 .la-v2-contact-actions { margin-top: 1.25rem; }

/* ---------- Footer ---------- */
body:not(.la-v2) .la-v2-footer { display: none; }
body.la-v2 .la-v2-footer { margin-top: 3rem; background: var(--v2-navy); color: #fff; }
body.la-v2 .la-v2-footer > div { max-width: 1280px; margin: 0 auto; padding: 2.5rem 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
body.la-v2 .la-v2-footer strong { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
body.la-v2 .la-v2-footer strong span { color: #6b95ff; }
body.la-v2 .la-v2-footer p { margin-top: 0.4rem; max-width: 28rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
body.la-v2 .la-v2-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.875rem; font-weight: 500; }
body.la-v2 .la-v2-footer nav a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
body.la-v2 .la-v2-footer nav a:hover { color: #fff; }
@media print { body.la-v2 .la-v2-footer, body.la-v2 .la-v2-topbar { display: none !important; } }

/* ---------- polish ---------- */
body.la-v2 .la-v2-metaloc { display: inline-flex; align-items: center; gap: 0.3rem; }
body.la-v2 .la-hero .la-trust-strip { margin-bottom: 0; }
body.la-v2 .la-v2-actions-primary:has(> :only-child) { grid-template-columns: 1fr; }
@media (min-width: 1024px) { body.la-v2 .la-v2-actions-primary:has(> :only-child) { grid-template-columns: auto; } }
@media (max-width: 767px) {
  body.la-v2 .la-sticky-contact #sticky-call { background: var(--v2-navy) !important; color: #fff !important; border-color: var(--v2-navy) !important; }
  body.la-v2 .la-sticky-contact #sticky-directions { background: #fff !important; color: var(--v2-navy) !important; }
}


/* ---------- Lead-first card actions ---------- */
body.la-v2 .la-v2-card-actions { grid-template-columns: 1fr 1fr; }
body.la-v2 .la-v2-call {
  grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 12px;
  background: var(--v2-brand); color: #fff; font-size: 0.875rem; font-weight: 800; text-decoration: none; transition: background 0.2s, transform 0.15s;
}
body.la-v2 .la-v2-call:hover { background: #1146cc; }
body.la-v2 .la-v2-call:active { transform: scale(0.98); }
body.la-v2 .la-v2-inquire {
  display: none; align-items: center; justify-content: center; min-height: 42px; border-radius: 12px; border: 1px solid var(--v2-line);
  background: #fff; color: var(--v2-navy); font-size: 0.8125rem; font-weight: 700; cursor: pointer;
}
body.la-v2.la-has-inquiry .la-v2-inquire { display: inline-flex; }
body.la-v2.la-has-inquiry .la-v2-inquire:hover { background: var(--v2-canvas); }
body.la-v2 .la-v2-card-actions:not(:has(.la-v2-call)) .la-v2-inspect { grid-column: 1 / -1; background: var(--v2-brand); color: #fff; }
body.la-v2 .la-v2-card-secondary { grid-column: 1 / -1; display: flex; gap: 0.5rem; }
body.la-v2 .la-v2-card-secondary > button { flex: 1; min-height: 38px; margin: 0; justify-content: center; border-radius: 10px; font-size: 0.75rem; font-weight: 600; }
/* share is secondary now: outline, not the green primary */
body.la-v2 .la-v2-card-actions .vehicle-share-wa { grid-column: auto; background: #fff; color: #334155; border-color: var(--v2-line); min-height: 38px; }
body.la-v2 .la-v2-card-actions .vehicle-share-wa:hover { background: var(--v2-canvas); }


/* ---------- WhatsApp is off on this page: chat + call only ---------- */
body.la-v2 #sticky-wa, body.la-v2 #sticky-share-wa, body.la-v2 #cta-wa, body.la-v2 #cta-share-wa,
body.la-v2 .vehicle-share-wa, body.la-v2 .part-share-wa { display: none !important; }
body.la-v2 .la-v2-chat {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 12px; border: 1px solid #a7f3d0;
  background: #ecfdf5; color: #065f46; font-size: 0.8125rem; font-weight: 700; cursor: pointer; transition: background 0.2s;
}
body.la-v2 .la-v2-chat:hover { background: #d1fae5; }
body.la-v2 .la-v2-inquire { grid-column: 1 / -1; }
body.la-v2 .la-v2-card-secondary > button { flex: 1; }


/* ---------- Photo overlay: status badges + save heart ---------- */
body.la-v2 .vehicle-card-wrap { position: relative; }
body.la-v2 .la-v2-badges { position: absolute; top: 0.75rem; inset-inline-start: 0.75rem; inset-inline-end: 3.75rem; z-index: 2; display: flex; flex-wrap: wrap; gap: 0.35rem; pointer-events: none; }
body.la-v2 .la-v2-badges span { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.6875rem; font-weight: 700; color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body.la-v2 .la-v2-badge-avail { background: var(--v2-ok, #12805c); }
body.la-v2 .la-v2-badge-avail::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
body.la-v2 .la-v2-badge-sold { background: #1e293b; }
body.la-v2 .la-v2-badge-new { background: rgba(11, 27, 51, 0.82); }
body.la-v2 .la-v2-badge-feat { background: var(--v2-brand); }
body.la-v2 .la-v2-badge-vip { background: var(--v2-accent); color: var(--v2-navy); }
body.la-v2 .la-v2-heart {
  position: absolute; top: 0.75rem; inset-inline-end: 0.75rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.95); color: #475569;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); transition: color 0.2s, transform 0.2s;
}
body.la-v2 .la-v2-heart:hover { color: #dc2626; transform: scale(1.08); }
body.la-v2 .la-v2-heart[aria-pressed='true'] { color: #dc2626; }
body.la-v2 .la-v2-heart svg { width: 18px; height: 18px; }


/* ---------- Hero identity: badges above the name, status in the meta row ---------- */
body.la-v2 .la-v2-info { display: flex; flex-direction: column; min-width: 0; }
body.la-v2 .la-v2-info .la-v2-chips { order: -1; margin: 0 0 0.5rem; }
body.la-v2 .la-v2-metaloc { max-width: 22rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.la-v2 .la-v2-meta #open-status { margin: 0; }
body.la-v2 .la-hero .la-v2-actions .la-v2-herochat {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1rem; border-radius: 12px; border: 0;
  background: var(--v2-wa); color: #fff; font-weight: 700; font-size: 0.8125rem; cursor: pointer; transition: background 0.2s, transform 0.15s;
}
body.la-v2 .la-hero .la-v2-actions .la-v2-herochat:hover { background: var(--v2-wa-hover); }
body.la-v2 .la-hero .la-v2-actions .la-v2-herochat:active { transform: scale(0.97); }
