:root {
  --ink: #171719;
  --ink-soft: #5e5c59;
  --paper: #fcfbf8;
  --canvas: #f0efeb;
  --line: #deddd8;
  --line-strong: #b9b7b0;
  --brand: #9f1f31;
  --brand-dark: #751425;
  --brand-pale: #f5e9ea;
  --gold: #ad8440;
  --gold-pale: #f4ecdc;
  --green: #146a54;
  --green-pale: #e5f2ed;
  --shadow-sm: 0 10px 28px rgba(23, 23, 25, 0.09);
  --shadow-lg: 0 28px 80px rgba(23, 23, 25, 0.2);
  --display: "Poppins", "Segoe UI", sans-serif;
  --body: "Poppins", "Segoe UI", sans-serif;
  --radius: 8px;
  --container: min(1240px, calc(100% - 40px));
}

/* V591: mobile filters use the same dark liquid-glass drawer as the main menu. */
@media (max-width: 720px) {
  .filter-sheet .filter-choice--toggle.is-active,
  .filter-sheet .filter-choice--toggle.is-active:hover,
  .filter-sheet .filter-choice--toggle.is-active:focus-visible {
    background: #fff !important;
    border-color: #deddd8 !important;
    color: #171719 !important;
  }
  .filter-sheet .filter-choice--toggle.is-active > span:first-child { color: #171719 !important; }
  .filter-sheet .filter-choice--toggle.is-active .filter-choice__meta { color: #77736d !important; }
}
  .filter-backdrop {
    background: rgba(7,9,12,.42);
    backdrop-filter: blur(10px) saturate(.86);
    -webkit-backdrop-filter: blur(10px) saturate(.86);
  }
  .filter-sheet {
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    width: min(85vw, 390px);
    max-height: none;
    overflow-y: auto;
    padding: calc(20px + env(safe-area-inset-top)) 22px calc(104px + env(safe-area-inset-bottom));
    color: rgba(255,255,255,.9);
    background: rgba(21,23,26,.82);
    border: 0;
    border-right: 1px solid rgba(255,255,255,.14);
    border-radius: 0 26px 26px 0;
    box-shadow: 18px 0 44px rgba(0,0,0,.28), 1px 0 2px rgba(255,255,255,.1) inset;
    backdrop-filter: blur(28px) saturate(1.22);
    -webkit-backdrop-filter: blur(28px) saturate(1.22);
  }
  .filter-sheet__head {
    position: sticky;
    top: calc(-20px - env(safe-area-inset-top));
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: calc(-20px - env(safe-area-inset-top)) -22px 0;
    padding: calc(20px + env(safe-area-inset-top)) 22px 24px;
    background: rgba(21,23,26,.86);
    border-bottom: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
  }
  .filter-sheet__brand { display: inline-flex; align-items: center; }
  .filter-sheet__brand img { width: 142px; height: auto; filter: brightness(0) invert(1); opacity: .96; }
  .filter-sheet .modal-close {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
  }
  .filter-sheet .modal-close svg { width: 20px; height: 20px; }
  .filter-sheet .filters { display: block; position: static; padding: 0; border: 0; }
  .filter-sheet .filters__title {
    display: flex;
    position: static;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 -22px;
    padding: 20px 22px 16px;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .filter-sheet .filters__title strong { color: #fff; font-size: 17px; font-weight: 700; }
  .filter-sheet .filter-sheet__clear { color: #e7c77e; font-size: 11px; font-weight: 700; }
  .filter-sheet .filter-sheet__clear svg { color: #e7c77e; }
  .filter-sheet .filter-group,
  .filter-sheet .filter-advanced { border-top-color: rgba(255,255,255,.12); }
  .filter-sheet .filter-group label,
  .filter-sheet .filter-group__toggle,
  .filter-sheet .filter-advanced > summary { color: rgba(255,255,255,.88); }
  .filter-sheet .filter-group__toggle { min-height: 42px; font-size: 14px; }
  .filter-sheet .filter-group__toggle svg { color: rgba(255,255,255,.58); }
  .filter-sheet .filter-quick-search,
  .filter-sheet .filter-type-tab,
  .filter-sheet .filter-select,
  .filter-sheet .filter-pill,
  .filter-sheet .filter-choice,
  .filter-sheet .filter-reference-field,
  .filter-sheet .filter-price-option,
  .filter-sheet .filter-category-option,
  .filter-sheet .filter-attribute-option { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.07); color: rgba(255,255,255,.9); }
  .filter-sheet .filter-quick-search input,
  .filter-sheet .filter-reference-input input { color: #fff; }
  .filter-sheet .filter-quick-search input::placeholder,
  .filter-sheet .filter-reference-placeholder { color: rgba(255,255,255,.52); }
  .filter-sheet .filter-quick-search svg,
  .filter-sheet .filter-location svg { color: #e7c77e; }
  .filter-sheet .filter-location { color: rgba(255,255,255,.72); }
  .filter-sheet .filter-location strong { color: #fff; }
  .filter-sheet .filter-choice__meta { color: rgba(255,255,255,.5); }
  .filter-sheet .filter-choice__check,
  .filter-sheet .filter-attribute-option__check,
  .filter-sheet .filter-category-option__check { border-color: rgba(255,255,255,.34); }
  .filter-sheet .filter-choice.is-active,
  .filter-sheet .filter-price-option.is-active,
  .filter-sheet .filter-category-option.is-active,
  .filter-sheet .filter-attribute-option.is-active { border-color: rgba(231,199,126,.72); background: rgba(231,199,126,.16); color: #fff; }
  .filter-sheet .filter-choice.is-active .filter-choice__check,
  .filter-sheet .filter-attribute-option.is-active .filter-attribute-option__check,
  .filter-sheet .filter-category-option.is-active .filter-category-option__check { border-color: #e7c77e; background: #e7c77e; color: #1b1d20; }
  .filter-sheet .filter-reference-field > summary { color: #fff; }
  .filter-sheet .filter-reference-field > summary svg { color: #e7c77e; }
  .filter-sheet .filter-reference-list,
  .filter-sheet .filter-reference-option { background: #24272b; }
  .filter-sheet .filter-reference-option { border-bottom-color: rgba(255,255,255,.09); color: #fff; }
  .filter-sheet .filter-reference-option.is-active { background: rgba(231,199,126,.16); color: #fff; }
  .filter-sheet .filter-range-field > span,
  .filter-sheet .filter-helper { color: rgba(255,255,255,.58); }
  .filter-sheet .filter-sheet__footer {
    right: auto;
    left: 0;
    width: min(85vw, 390px);
    padding: 12px 22px calc(12px + env(safe-area-inset-bottom));
    background: rgba(21,23,26,.92);
    border-top-color: rgba(255,255,255,.12);
    box-shadow: 0 -10px 24px rgba(0,0,0,.26);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
  }
  .filter-sheet__footer .filter-sheet__clear { color: rgba(255,255,255,.62); }
  .filter-sheet__footer .button { border-radius: 14px; background: #b0182d; color: #fff; box-shadow: 0 5px 14px rgba(0,0,0,.22); }
}

.active-filter-bar { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 8px 0 12px; }
.active-filter-bar__list { min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.active-filter-bar__list::-webkit-scrollbar { display: none; }
.active-filter-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 0 9px; border: 1px solid rgba(176,24,45,.2); border-radius: 999px; background: #fff5f6; color: #b0182d; font: inherit; font-size: 10px; white-space: nowrap; }
.active-filter-chip svg { width: 12px; height: 12px; }
.active-filter-clear { flex: 0 0 auto; padding: 0; border: 0; background: transparent; color: #b0182d; font: inherit; font-size: 10px; font-weight: 700; white-space: nowrap; }
@media (max-width: 720px) {
  .active-filter-bar { margin: 6px 0 10px; }
  .active-filter-bar__list { flex: 1 1 auto; }
  .active-filter-clear { font-size: 9px; }
}

* { box-sizing: border-box; }
html { min-height: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
}
body.no-scroll { overflow: hidden; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 1.25em; height: 1.25em; stroke-width: 1.8; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 5000;
  padding: 10px 14px; border-radius: 4px; background: var(--ink); color: #fff;
}
.skip-link:focus { top: 16px; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 88px 0; }
.section--soft { background: var(--canvas); }
.eyebrow {
  margin: 0 0 10px; color: var(--brand); font-size: 12px; font-weight: 700;
  letter-spacing: 0; text-transform: none;
}
.display-title { margin: 0; font-family: var(--display); font-size: clamp(34px, 4vw, 58px); line-height: 1.02; font-weight: 600; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading p { max-width: 460px; margin: 0; color: var(--ink-soft); }
.text-link { position: relative; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.text-link:hover { color: var(--brand); }
.text-link svg { width: 18px; height: 18px; }
.text-link--quiet::after { position: absolute; right: 0; bottom: -4px; left: 0; height: 1px; background: currentColor; content: ''; opacity: 0; transform: scaleX(.72); transform-origin: center; transition: opacity .2s ease, transform .2s ease; }
.text-link--quiet:hover::after, .text-link--quiet:focus-visible::after { opacity: 1; transform: scaleX(1); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 142px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.desktop-nav a { color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.site-header .icon-button { width: 42px; height: 42px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.site-header .icon-button:hover { border: 0; background: transparent; transform: translateY(-1px); }
.site-header .icon-button.is-saved { border: 0; background: transparent; }
.site-header .menu-button {
  width: 44px;
  height: 44px;
  padding: 0;
  color: #343437;
  transition: color .2s ease, transform .16s ease, opacity .2s ease;
}
.site-header .menu-button svg { width: 21px; height: 21px; stroke-width: 1.8; }
.site-header .menu-button:hover { color: var(--brand); transform: none; opacity: .86; }
.site-header .menu-button:active { transform: scale(.92); }
.site-header .menu-button:focus-visible { outline: 2px solid rgba(176,24,45,.42); outline-offset: 2px; }
.home-filter-trigger { justify-content: flex-start; cursor: pointer; text-align: left; }
.home-filter-trigger > span { flex: 1; }
.home-filter-trigger > svg:last-child { width: 16px; height: 16px; }
.icon-button {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink);
  transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}
.icon-button:hover { border-color: var(--ink); transform: translateY(-1px); }
.icon-button svg { display: block; width: 20px; height: 20px; margin: auto; }
.icon-button.is-saved { color: var(--brand); border-color: var(--brand); }
.icon-button.is-saved svg { fill: currentColor; stroke: currentColor; stroke-width: 1.8; }
.count-badge { position: absolute; top: 2px; right: 1px; min-width: 12px; height: 12px; padding: 0 2px; display: grid; place-items: center; border: 0; border-radius: 99px; background: var(--brand); color: #fff; font-size: 7px; line-height: 1; font-weight: 800; box-shadow: 0 2px 5px rgba(23,23,25,.16); }
.header-actions .icon-button.is-saved .count-badge { top: 51%; right: 50%; min-width: 0; height: auto; padding: 0; transform: translate(50%, -42%); border-radius: 0; background: transparent; color: #fff; font-size: 8px; line-height: 1; box-shadow: none; pointer-events: none; }
.menu-button { display: none; }

.hero { position: relative; min-height: 660px; overflow: visible; background: var(--ink); color: #fff; touch-action: pan-y; }
.hero-slides, .hero-scrim { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero-scrim { background: linear-gradient(90deg, rgba(10, 12, 14, .7) 0%, rgba(10, 12, 14, .46) 48%, rgba(10, 12, 14, .18) 100%); }
.hero-inner { position: relative; z-index: 1; min-height: 660px; display: flex; align-items: center; padding: 100px 0 116px; }
.hero-copy { max-width: 675px; }
.hero .eyebrow { color: #f6c8cf; }
.hero-title { margin: 0; max-width: 700px; font-family: var(--display); font-size: clamp(52px, 6vw, 88px); line-height: .94; font-weight: 600; }
.hero-copy > p:not(.eyebrow) { max-width: 540px; margin: 22px 0 0; font-size: 18px; color: rgba(255,255,255,.88); }
.hero-carousel-controls { position: absolute; z-index: 3; right: 0; bottom: 78px; left: 0; display: flex; align-items: center; justify-content: flex-end; gap: 11px; }
.hero-carousel-button { width: 40px; height: 40px; border-color: rgba(255,255,255,.65); background: rgba(17,19,21,.32); color: #fff; backdrop-filter: blur(8px); }
.hero-carousel-button:hover { border-color: #fff; background: rgba(17,19,21,.58); }
.hero-dots { display: flex; align-items: center; gap: 7px; margin-inline: 4px; }
.hero-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.48); transition: width .2s ease, background .2s ease; }
.hero-dot.is-active { width: 25px; border-radius: 99px; background: #fff; }
.search-panel {
  position: absolute; z-index: 2; left: 50%; bottom: -47px; transform: translateX(-50%); width: var(--container);
  padding: 18px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(150px, .65fr) auto;
  gap: 10px; background: var(--paper); color: var(--ink); border: 1px solid rgba(255,255,255,.72); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.field-wrap { position: relative; display: flex; align-items: center; min-height: 54px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.field-wrap svg { margin-left: 15px; color: var(--ink-soft); }
.field-wrap input, .field-wrap select { width: 100%; height: 52px; padding: 0 14px; border: 0; background: transparent; color: var(--ink); }
.field-wrap input:focus, .field-wrap select:focus,
.field-wrap input:focus-visible, .field-wrap select:focus-visible { outline: 0; }
.field-wrap:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-pale); }
.field-wrap select { appearance: auto; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 1px solid transparent; border-radius: 5px; font-weight: 700; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-1px); }
.button--brand { background: var(--brand); color: #fff; }
.button--brand:hover { background: var(--brand-dark); }
.button--ink { background: var(--ink); color: #fff; }
.button--ink:hover { background: #30353a; }
.button--line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button--line:hover { border-color: var(--ink); }
.button--whatsapp { background: var(--green); color: #fff; }
.button--whatsapp:hover { background: #0f5745; }
.button--wide { width: 100%; }
.button svg { width: 19px; height: 19px; }

.brand-carousel-section { padding: 42px 0 34px; background: var(--paper); }
.brand-carousel__head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 20px; }
.brand-carousel__head .display-title { max-width: 680px; }
.brand-marquee { width: 100vw; margin-left: calc((100vw - var(--container)) / -2); overflow: hidden; padding: 14px 0; mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.brand-marquee__track { display: flex; width: max-content; animation: brand-marquee 56s linear infinite; will-change: transform; }
.brand-marquee:hover .brand-marquee__track, .brand-marquee:focus-within .brand-marquee__track { animation-play-state: paused; }
.brand-marquee__set { display: flex; align-items: center; gap: 24px; padding-right: 24px; }
.brand-marquee__set a { min-width: 86px; min-height: 54px; display: grid; place-items: center; outline-offset: 5px; }
.brand-marquee__set img { width: 86px; max-height: 40px; object-fit: contain; filter: none; opacity: .86; transition: opacity .22s ease, transform .22s ease; }
.brand-marquee__set a:hover img, .brand-marquee__set a:focus-visible img { opacity: 1; transform: scale(1.06); }
.brand-marquee__set a:active img { transform: scale(.98); }
@keyframes brand-marquee { to { transform: translateX(-50%); } }

.vehicle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.vehicle-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 5px 14px rgba(23,23,25,.11); transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.vehicle-card:hover { border-color: #b7bdc0; box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.vehicle-card__link { display: flex; flex-direction: column; height: 100%; }
.vehicle-photo { position: relative; aspect-ratio: 1.42; overflow: hidden; background: #e9ebec; }
.vehicle-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.vehicle-card:hover .vehicle-photo img { transform: scale(1.035); }
.vehicle-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 38%; background: rgba(0,0,0,.13); pointer-events: none; }
.vehicle-card__top { position: absolute; inset: 12px 12px auto; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.tag { display: inline-flex; align-items: center; min-height: 19px; padding: 2px 6px; border: 1px solid rgba(183,137,40,.3); border-radius: 4px; background: rgba(183,137,40,.5); color: #fff; backdrop-filter: blur(10px); font-size: 8.5px; font-weight: 700; letter-spacing: .02em; text-transform: none; }
.tag--offer { border-color: rgba(181,31,50,.26); background: rgba(181,31,50,.45); color: #fff; }
.vehicle-card__favorite { position: absolute; z-index: 3; top: 10px; right: 10px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: #fff; box-shadow: none; backdrop-filter: none; }
.vehicle-card__favorite:hover { border: 0; background: rgba(255,255,255,.08); color: #fff; }
.vehicle-card__favorite.is-saved { border: 0; background: transparent; color: #fff; }
.vehicle-card__favorite svg,
.vehicle-card__favorite.is-saved svg { width: 27px; height: 27px; fill: rgba(16,18,20,.5); stroke: #fff; stroke-width: 1.8; filter: drop-shadow(0 2px 3px rgba(0,0,0,.22)); }
.vehicle-card__favorite.is-saved svg { fill: var(--brand); stroke: #fff; }
.photo-count { position: absolute; z-index: 2; bottom: 10px; left: 12px; display: inline-flex; align-items: center; gap: 5px; color: #fff; font-size: 12px; font-weight: 600; }
.photo-count svg { width: 15px; height: 15px; }
.vehicle-card__body { display: flex; flex: 1 1 auto; flex-direction: column; padding: 16px; }
.vehicle-card__brand { margin: 0 0 2px; color: var(--brand); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.vehicle-card__name { display: -webkit-box; overflow: hidden; margin: 0; min-height: 0; color: #202124; font-size: 18px; line-height: 1.24; font-weight: 800; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.vehicle-card__version { overflow: hidden; margin: 4px 0 12px; color: var(--ink-soft); font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; }
.vehicle-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-bottom: 16px; color: #3f4448; font-size: 12.5px; font-weight: 800; }
.vehicle-meta span { min-width: 0; min-height: 30px; display: inline-flex; align-items: center; justify-content: flex-start; gap: 6px; overflow: hidden; padding: 0 4px; background: transparent; white-space: nowrap; text-overflow: ellipsis; }
.vehicle-meta span + span { padding-left: 0; border-left: 0; }
.vehicle-meta svg { flex: 0 0 auto; width: 14px; height: 14px; color: var(--gold); }
.vehicle-meta__value { min-width: 0; display: block; overflow: hidden; font: inherit; text-overflow: ellipsis; white-space: nowrap; }
.vehicle-price { margin: 0; font-size: 14px; color: var(--ink-soft); }
.vehicle-price strong { display: block; color: var(--ink); font-family: var(--display); font-size: 26px; line-height: 1.12; font-weight: 600; }
.vehicle-installment { margin: 7px 0 0; color: var(--green); font-size: 12px; font-weight: 600; }
.vehicle-card__offer-bar { display: flex; align-items: center; gap: 7px; margin: auto -16px -16px; padding: 10px 16px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .01em; text-transform: none; white-space: nowrap; }
.vehicle-card__offer-bar svg:first-child { width: 15px; height: 15px; }
.vehicle-card__offer-bar svg:last-child { width: 14px; height: 14px; margin-left: auto; }
.vehicle-card__highlight-bar { display: flex; align-items: center; gap: 7px; margin: auto -16px -16px; padding: 10px 16px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .01em; text-transform: none; white-space: nowrap; }
.vehicle-card__highlight-bar svg:first-child { width: 15px; height: 15px; fill: currentColor; }
.vehicle-card__highlight-bar svg:last-child { width: 14px; height: 14px; margin-left: auto; }
.vehicle-promo-card { min-width: 0; height: 100%; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid #b8d8cc; border-radius: var(--radius); background: var(--green-pale); color: #155440; }
.vehicle-promo-card__visual { min-height: 0; aspect-ratio: 1.42; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, #d6eee5, #a8d4c3); font-size: 12px; font-weight: 800; text-align: center; }
.vehicle-promo-card__visual svg { width: 38px; height: 38px; }
.vehicle-promo-card__body { min-height: 0; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; padding: 16px; }
.vehicle-promo-card__body .eyebrow { margin-bottom: 5px; color: var(--green); }
.vehicle-promo-card__body h3 { display: -webkit-box; overflow: hidden; margin: 0; color: #103e31; font-family: var(--display); font-size: 21px; line-height: 1.04; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.vehicle-promo-card__body p:not(.eyebrow) { display: -webkit-box; overflow: hidden; margin: 8px 0 12px; color: #356b59; font-size: 11px; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.vehicle-promo-card__body .button { width: 100%; min-height: 38px; margin-top: auto; padding-inline: 8px; font-size: 11px; }

.browse-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.browse-link { min-height: 170px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: color .2s ease, background .2s ease; }
.browse-link:hover { background: var(--ink); color: #fff; }
.browse-link svg { width: 30px; height: 30px; margin-bottom: auto; color: var(--brand); }
.browse-link strong { font-family: var(--display); font-size: 28px; line-height: 1; font-weight: 600; }
.browse-link span { margin-top: 8px; color: var(--ink-soft); font-size: 13px; }
.browse-link:hover span { color: rgba(255,255,255,.72); }

.finance-band { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 420px; background: var(--ink); color: #fff; }
.finance-band__media { min-height: 420px; }
.finance-band__media img { width: 100%; height: 100%; object-fit: cover; }
.finance-band__copy { padding: 64px clamp(32px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.finance-band .eyebrow { color: #f6c8cf; }
.finance-band h2 { max-width: 420px; margin: 0; font-family: var(--display); font-size: clamp(38px, 4vw, 55px); line-height: 1; font-weight: 600; }
.finance-band p:not(.eyebrow) { max-width: 450px; margin: 18px 0 26px; color: rgba(255,255,255,.75); }
.finance-band .button--brand { min-width: 210px; }

.carousel-controls { display: flex; align-items: center; gap: 8px; }
.carousel-controls .text-link { margin-left: 8px; }
.vehicle-carousel { display: flex; gap: 20px; overflow-x: auto; padding: 2px 1px 10px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.vehicle-carousel::-webkit-scrollbar { display: none; }
.vehicle-carousel .vehicle-card { flex: 0 0 calc((100% - 60px) / 4); scroll-snap-align: start; }

.about-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 7vw, 96px); align-items: center; }
.about-media { aspect-ratio: .95; overflow: hidden; border-radius: var(--radius); background: var(--canvas); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-copy > p:not(.eyebrow) { max-width: 520px; margin: 20px 0 0; color: var(--ink-soft); }
.about-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }

.brands { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brand-cell { min-height: 94px; display: grid; place-items: center; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.brand-cell img { width: 82px; max-height: 36px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s ease, opacity .2s ease; }
.brand-cell:hover img { filter: grayscale(0); opacity: 1; }

.site-footer { margin-top: 0; background: #111315; color: #fff; }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr .9fr; gap: 48px; padding: 58px 0 38px; }
.footer-logo { width: 160px; margin-bottom: 17px; filter: brightness(0) invert(1); }
.footer-main p { max-width: 380px; margin: 0; color: rgba(255,255,255,.65); font-size: 14px; }
.footer-main h3 { margin: 0 0 14px; font-size: 14px; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: rgba(255,255,255,.66); font-size: 14px; }
.footer-links a:hover, .footer-link-button:hover { color: #fff; }
.footer-link-button { padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.66); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.footer-company { margin-top: 12px !important; color: rgba(255,255,255,.52) !important; font-size: 12px !important; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 88px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.5); font-size: 12px; }
.footer-bottom--minimal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 118px;
  padding: 18px 0 88px;
  text-align: center;
}
.footer-legal-links { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; color: rgba(255,255,255,.62); font-size: 12px; font-weight: 400; }
.footer-legal-links button { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.footer-legal-links button:hover { color: #fff; }
.footer-copyright, .footer-credit { width: min(100%, 980px); margin: 0 auto; text-align: center; }
.footer-copyright {
  width: min(100%, 980px);
  margin: 0 auto;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  white-space: nowrap;
}
.footer-credit { color: rgba(255,255,255,.62); font-size: 12px; font-weight: 400; text-align: center; }
.footer-credit strong { color: #e0b968; font-weight: 400; }

.home-contact-section {
  padding: 72px 0 76px;
  background: #f7f7f5;
  border-top: 1px solid var(--line);
}
.home-story-section { padding: 76px 0; background: var(--canvas); }
.home-story-grid { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 30px; }
.home-story-media { order: 2; overflow: hidden; border-radius: 8px; aspect-ratio: 16 / 7; box-shadow: 0 16px 36px rgba(24, 24, 26, .12); }
.home-story-media img { width: 100%; height: 100%; object-fit: cover; }
.home-story-copy { order: 1; max-width: 620px; }
.home-story-copy .eyebrow { margin-bottom: 8px; color: var(--ink-soft); font-size: 13px; font-weight: 300; letter-spacing: .04em; text-transform: none; }
.home-story-copy h2 { margin: 0 0 16px; font-family: var(--display); font-size: clamp(34px, 4vw, 58px); line-height: 1.02; font-weight: 700; }
.home-story-copy > p:not(.eyebrow) { margin: 0 0 24px; color: var(--ink-soft); font-size: 17px; line-height: 1.6; }
.home-contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(360px, 1.15fr);
  gap: 64px;
  align-items: center;
}
.home-contact-brand { text-align: left; }
.home-contact-brand h2 { margin: 0; font-size: 22px; font-weight: 800; }
.home-contact-kicker { margin: 24px 0 2px !important; color: var(--ink-soft); font-size: 13px; font-weight: 300; letter-spacing: .04em; }
.home-contact-brand p { max-width: 310px; margin: 10px 0 20px; color: var(--ink-soft); line-height: 1.55; font-weight: 400; }
.home-social-links { display: flex; justify-content: flex-start; gap: 12px; }
.home-social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: rgba(181, 143, 57, .12);
  border: 1px solid rgba(181, 143, 57, .28);
  border-radius: 50%;
  transition: transform .2s ease, background .2s ease;
}
.home-social-links a:hover { transform: translateY(-2px); background: rgba(181, 143, 57, .2); }
.home-social-links svg { width: 20px; height: 20px; }
.home-store-card { border: 1px solid rgba(222,221,216,.9); border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 16px 40px rgba(24, 24, 26, .08); }
.home-store-card__tab { width: fit-content; padding: 13px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.home-store-card__body { display: grid; gap: 12px; padding: 30px; }
.home-store-label { margin: 12px 0 0 !important; color: var(--ink); font-size: 16px; font-weight: 600 !important; }
.home-store-card__body p { margin: 0; color: var(--ink-soft); line-height: 1.6; }
.home-store-address { display: flex; align-items: flex-start; gap: 9px; padding: 0; }
.home-store-address svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; color: var(--brand); }
.home-store-hours { padding: 0; }
.home-store-card__body a { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--ink-soft); font-size: 14px; }
.home-store-card__body a svg { width: 16px; height: 16px; color: var(--brand); }
.home-contact-link { justify-content: flex-start; gap: 12px !important; width: 100% !important; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fbfbfa; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.home-contact-link:hover { border-color: rgba(159,31,49,.35); background: var(--brand-pale); transform: translateY(-1px); }
.home-contact-link svg { width: 18px !important; height: 18px !important; }
.home-contact-link span { line-height: 1.35; }
.home-contact-link strong { color: var(--ink); font-weight: 650; }

.page-hero { padding: 28px 0 24px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.page-hero__inner { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.page-hero .eyebrow { margin-bottom: 6px; font-size: 10px; letter-spacing: 0; }
.page-hero h1 { margin: 0; font-family: var(--display); font-size: clamp(36px, 4vw, 54px); line-height: 1.02; font-weight: 600; }
.page-hero p { max-width: 480px; margin: 0; color: var(--ink-soft); }
.stock-breadcrumbs { padding-top: 18px; padding-bottom: 8px; }
.stock-breadcrumbs a { display: inline-flex; align-items: center; gap: 6px; }
.stock-breadcrumbs a svg { width: 16px; height: 16px; }
.stock-layout { display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 34px; padding: 38px 0 92px; }
.filters { position: sticky; top: 100px; align-self: start; padding-right: 22px; border-right: 1px solid var(--line); }
.filters__title { display: flex; justify-content: space-between; align-items: center; margin: 0 0 18px; font-size: 15px; }
.filters__clear { display: inline-flex; align-items: center; gap: 5px; padding: 6px 0; border: 0; background: transparent; color: var(--brand); font-size: 12px; font-weight: 700; }
.filters__clear svg { width: 14px; height: 14px; }
.filter-group { padding: 16px 0; border-top: 1px solid var(--line); }
.filter-group label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.filter-select { width: 100%; min-height: 44px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 4px; background: #fff; color: var(--ink); }
.filter-type-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.filter-type-tab { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 6px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.filter-type-tab svg { width: 15px; height: 15px; }
.filter-type-tab.is-active, .filter-type-tab:hover { border-color: var(--brand); background: var(--brand-pale); color: var(--brand-dark); }
.brand-filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.brand-filter-option { min-width: 0; min-height: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 7px 4px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-soft); font-size: 9px; font-weight: 700; text-align: center; transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease; }
.brand-filter-option img { width: 55px; height: 27px; object-fit: contain; }
.brand-filter-option span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-filter-option:hover, .brand-filter-option.is-active { border-color: var(--brand); background: var(--brand-pale); color: var(--brand-dark); transform: translateY(-1px); }
.brand-filter-option.is-active { box-shadow: inset 0 0 0 1px var(--brand); }
.brand-filter-all { display: grid; width: 55px; height: 27px; place-items: center; border-radius: 4px; background: var(--ink); color: #fff; font-size: 10px; }
.brand-filter-more { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; padding: 0; border: 0; background: transparent; color: var(--brand); font-size: 12px; font-weight: 700; }
.brand-filter-more svg { width: 15px; height: 15px; }
.filter-year-range { display: none; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
.filter-year-range.is-visible { display: grid; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-pill { min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: var(--ink-soft); font-size: 12px; }
.filter-pill.is-active, .filter-pill:hover { border-color: var(--ink); color: var(--ink); }
.stock-content { min-width: 0; }
.stock-toolbar { position: sticky; top: 68px; z-index: 15; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; padding: 6px 0; border-bottom: 1px solid rgba(222,221,216,.86); background: rgba(252,251,248,.96); backdrop-filter: blur(12px); }
.stock-search-form { min-width: 0; flex: 1; }
.stock-toolbar__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.stock-summary { flex: 0 0 100%; order: 3; margin: 0; padding-top: 1px; color: var(--ink-soft); font-size: 11px; line-height: 1.2; }
.stock-summary strong { color: var(--gold); font-size: 13px; font-weight: 700; }
.filter-clear-inline { min-height: 42px; display: inline-flex; align-items: center; gap: 6px; padding: 0 11px; border: 0; border-radius: 4px; background: var(--brand-pale); color: var(--brand-dark); font-size: 12px; font-weight: 700; white-space: nowrap; }
.filter-clear-inline svg { width: 15px; height: 15px; }
.mobile-filter-button { display: none; }
.sort-control { position: relative; min-width: 174px; min-height: 36px; display: inline-flex; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink); white-space: nowrap; }
.sort-control > svg { flex: 0 0 auto; width: 16px; height: 16px; }
.sort-select { min-width: 0; width: 100%; min-height: 34px; padding: 0 22px 0 0; border: 0; outline: 0; background: transparent; font-size: 13px; color: var(--ink); text-overflow: ellipsis; }
.stock-toolbar .field-wrap,
.stock-toolbar .sort-control,
.stock-toolbar .button { border-radius: var(--radius); }
.stock-toolbar .field-wrap:focus-within,
.stock-toolbar .sort-control:focus-within { border-color: var(--line); box-shadow: none; }
.stock-toolbar .button--line:hover { border-color: var(--line-strong); }
.stock-toolbar button:focus-visible,
.stock-toolbar input:focus-visible,
.stock-toolbar select:focus-visible,
.stock-toolbar button:focus,
.stock-toolbar input:focus,
.stock-toolbar select:focus { outline: 0; outline-offset: 0; }
.stock-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.empty-state { padding: 70px 20px; text-align: center; border: 1px solid var(--line); }
.empty-state svg { width: 42px; height: 42px; color: var(--brand); }
.empty-state h2 { margin: 15px 0 6px; font-family: var(--display); font-size: 34px; font-weight: 600; }
.empty-state p { margin: 0 auto 22px; max-width: 400px; color: var(--ink-soft); }
.favorites-empty { padding-block: 50px 44px; }
.favorites-empty h2 { font-size: 30px; }
.favorites-empty p { max-width: 360px; }
.favorites-empty { border-color: rgba(217,215,209,.9); background: rgba(255,255,255,.46); box-shadow: 0 12px 28px rgba(23,23,25,.045); }
.favorites-empty .button { min-width: 210px; box-shadow: 0 10px 22px rgba(159,31,49,.16); }
.favorites-empty .button svg { display: block !important; width: 18px; height: 18px; flex: 0 0 auto; visibility: visible !important; opacity: 1 !important; color: currentColor; stroke: currentColor; }
.favorites-empty__cta { -webkit-tap-highlight-color: transparent; }
.favorites-empty__cta:active { transform: translateY(1px) scale(.985); }
.favorites-empty__cta:focus-visible { outline: 3px solid rgba(183,137,40,.58); outline-offset: 3px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 36px; }
.page-button { min-width: 42px; min-height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); font-weight: 600; }
.page-button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-button:disabled { opacity: .35; cursor: not-allowed; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 22px 0; color: var(--ink-soft); font-size: 13px; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs svg { width: 14px; height: 14px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 40px; padding-bottom: 90px; }
.gallery-stage { position: relative; overflow: hidden; aspect-ratio: 1.35; background: #e8e9ea; border-radius: var(--radius); }
.gallery-stage img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); transform: translateY(-50%); }
.gallery-nav--prev { left: 14px; }
.gallery-nav--next { right: 14px; }
.gallery-counter { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 6px 10px; border-radius: 4px; background: rgba(0,0,0,.72); color: #fff; font-size: 12px; font-weight: 600; }
.gallery-thumbs { display: flex; gap: 9px; overflow-x: auto; padding: 12px 2px 4px; scrollbar-width: thin; }
.gallery-thumb { flex: 0 0 78px; aspect-ratio: 1.2; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 4px; background: #eee; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.is-active { border-color: var(--brand); }
.detail-summary { position: sticky; top: 100px; align-self: start; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.detail-summary__actions { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.detail-summary__actions .icon-button { margin-left: auto; }
.detail-brand { margin: 0 0 4px; color: var(--ink-soft); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.detail-title { margin: 0; font-family: var(--display); font-size: 42px; line-height: .96; font-weight: 600; }
.detail-version { margin: 11px 0 18px; color: var(--ink-soft); font-size: 14px; }
.detail-price { margin: 0; color: var(--ink-soft); font-size: 13px; }
.detail-price strong { display: block; margin-top: 3px; font-family: var(--display); color: var(--ink); font-size: 45px; line-height: 1; font-weight: 600; }
.detail-installment { margin: 10px 0 22px; padding: 12px; border-left: 3px solid var(--green); background: var(--green-pale); color: #155440; font-size: 13px; }
.detail-actions { display: grid; gap: 9px; }
.detail-location { display: flex; gap: 11px; margin-top: 22px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-location > svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; color: var(--brand); }
.detail-location div { display: grid; gap: 3px; }
.detail-location strong { font-size: 13px; }
.detail-location span { color: var(--ink-soft); font-size: 12px; line-height: 1.4; }
.detail-location a { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--brand); font-size: 13px; font-weight: 700; }
.detail-location a:hover { color: var(--brand-dark); }
.detail-location a svg { width: 16px; height: 16px; }
.detail-trust { display: flex; margin-top: 18px; }
.detail-trust span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--ink-soft); font-size: 12px; }
.detail-trust svg { flex: 0 0 auto; width: 17px; height: 17px; color: var(--green); }
.detail-main { padding-top: 40px; }
.detail-section { padding: 34px 0; border-top: 1px solid var(--line); }
.detail-section h2 { margin: 0 0 20px; font-family: var(--display); font-size: 34px; font-weight: 600; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.spec { min-height: 94px; padding: 16px; background: #fff; }
.spec > svg { display: block; width: 18px; height: 18px; margin-bottom: 13px; color: var(--brand); }
.spec span { display: block; margin-bottom: 6px; color: var(--ink-soft); font-size: 12px; }
.spec strong { font-size: 14px; }
.detail-section__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.detail-section__actions .button { min-height: 46px; }
.feature-list { display: flex; flex-wrap: wrap; gap: 8px; }
.feature { padding: 7px 10px; border-radius: 4px; background: var(--canvas); color: var(--ink-soft); font-size: 13px; }
.description { max-width: 720px; color: var(--ink-soft); white-space: pre-line; }
.related { padding: 70px 0 100px; background: var(--canvas); }
.related .vehicle-carousel { padding-bottom: 12px; }

.gallery-zoom-trigger { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.gallery-zoom-trigger::after { position: absolute; right: 16px; bottom: 16px; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: rgba(17,19,21,.7); color: #fff; content: '↗'; font-size: 20px; opacity: 0; transition: opacity .2s ease; }
.gallery-stage:hover .gallery-zoom-trigger::after, .gallery-zoom-trigger:focus-visible::after { opacity: 1; }
.lightbox-backdrop { position: fixed; z-index: 2000; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(8,10,12,.88); backdrop-filter: saturate(.78) brightness(.58); }
.lightbox { width: min(1120px, 100%); min-width: 0; max-height: calc(100dvh - 48px); display: flex; flex-direction: column; gap: 14px; color: #fff; }
.lightbox__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; font-weight: 700; }
.lightbox-close { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); color: #fff; }
.lightbox__stage { position: relative; width: 100%; aspect-ratio: 1.35; height: auto; max-height: min(calc(100dvh - 230px), 640px); min-width: 0; min-height: 0; display: grid; place-items: center; overflow: hidden; background: rgba(0,0,0,.35); }
.lightbox__stage > img { width: 100%; height: 100%; object-fit: contain; }
.lightbox__stage .gallery-nav { background: rgba(17,19,21,.7); color: #fff; }
.lightbox__thumbs { flex: 0 0 auto; display: flex; gap: 8px; width: 100%; min-width: 0; overflow-x: auto; padding: 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 6px; background: rgba(8,10,12,.68); scrollbar-width: thin; }
.lightbox__thumb { flex: 0 0 84px; height: 58px; overflow: hidden; padding: 0; border: 2px solid transparent; background: transparent; opacity: .65; }
.lightbox__thumb.is-active { border-color: #fff; opacity: 1; }
.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; }

.favorites-page { min-height: 62vh; padding: 42px 0 100px; }
.favorites-head { display: block; margin-bottom: 32px; }
.favorites-head h1 { margin: 0; font-family: var(--display); font-size: clamp(38px, 5vw, 58px); line-height: .98; font-weight: 600; }
.favorites-head__copy { max-width: 460px; margin: 12px 0 0; color: var(--ink-soft); }
.favorites-toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; padding: 14px 16px; border: 1px solid var(--line); background: #fff; }
.select-all { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.select-all input, .favorite-select input { position: absolute; opacity: 0; pointer-events: none; }
.select-all span { display: inline-flex; align-items: center; gap: 8px; }
.select-all span::before, .favorite-select span { width: 18px; height: 18px; border: 1px solid var(--line-strong); border-radius: 3px; background: #fff; content: ''; }
.select-all input:checked + span::before, .favorite-select input:checked + span { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 4px #fff; }
.favorites-selection { color: var(--ink-soft); font-size: 12px; }
.favorites-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.favorites-actions .button { min-height: 38px; padding: 9px 12px; font-size: 12px; }
.favorites-actions .button:disabled { opacity: .45; cursor: not-allowed; }
.favorites-actions .button--whatsapp:disabled { border-color: #d9d7d1; background: #e8e6e0; color: #8b8984; box-shadow: none; }
.favorite-select { position: absolute; z-index: 2; top: 44px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px 4px 5px; border: 1px solid rgba(255,255,255,.88); border-radius: 99px; background: rgba(255,255,255,.96); box-shadow: 0 4px 12px rgba(12,15,18,.16); cursor: pointer; }
.favorite-select span { display: block; }
.vehicle-card:has(.favorite-select) .vehicle-card__favorite { top: 12px; }

.modal-backdrop, .menu-backdrop, .filter-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(8,10,12,.56); }
.modal-backdrop:has(.modal--compact) { background: rgba(8,10,12,.64); }
.modal { position: fixed; z-index: 1001; top: 50%; left: 50%; width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); transform: translate(-50%, -50%); }
.modal--compact { width: min(450px, calc(100% - 32px)); }
.modal__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.modal__head h2 { margin: 0; font-family: var(--display); font-size: 34px; line-height: 1; }
.modal--compact .modal__head h2 { font-size: 32px; }
.modal__head p { margin: 7px 0 0; color: var(--ink-soft); font-size: 14px; }
.modal-close { flex: 0 0 auto; border: 0; background: transparent; color: var(--ink); }
.lead-form { display: grid; gap: 13px; }
.lead-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.lead-form input, .lead-form select { min-height: 48px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 4px; }
.lead-form input:focus, .lead-form select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-pale); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { margin: 0; color: var(--ink-soft); font-size: 12px; }
.privacy-copy, .confirmation-copy { color: var(--ink-soft); font-size: 14px; }
.privacy-copy p:first-child, .confirmation-copy { margin-top: 0; }
.privacy-copy p:last-child { margin-bottom: 0; }
.confirmation-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.confirmation-actions .button { min-height: 44px; }

.mobile-nav { display: none; }
.filter-sheet { display: none; }
.toast-region { position: fixed; z-index: 3000; right: 16px; bottom: 18px; display: grid; gap: 8px; max-width: min(360px, calc(100% - 32px)); }
.toast { display: flex; align-items: center; gap: 10px; padding: 13px 15px; border-radius: 5px; background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); font-size: 14px; }
.toast svg { flex: 0 0 auto; color: #95d9be; }

@media (max-width: 1000px) {
  :root { --container: min(100% - 32px, 760px); }
  .desktop-nav { display: none; }
  .menu-button { display: inline-grid; }
  .hero, .hero-inner { min-height: 620px; }
  .vehicle-grid, .stock-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vehicle-carousel .vehicle-card { flex-basis: calc((100% - 40px) / 3); }
  .browse-grid { grid-template-columns: repeat(4, 1fr); }
  .finance-band { grid-template-columns: .82fr 1.18fr; }
  .brands { grid-template-columns: repeat(4, 1fr); }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
  .about-layout { grid-template-columns: 1fr 1fr; gap: 40px; }
  .detail-title { font-size: 36px; }
  .detail-price strong { font-size: 38px; }
}

@media (max-width: 720px) {
  :root { --container: calc(100% - 32px); }
  body { padding-bottom: 75px; }
  .section { padding: 58px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .section-heading p { font-size: 14px; }
  .header-inner { height: 58px; }
  .brand img { width: 120px; }
  .header-actions .button--whatsapp { display: none; }
  .hero, .hero-inner { min-height: min(650px, calc(100svh - 74px)); }
  .hero::after {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 164px;
    background: linear-gradient(180deg, rgba(247,245,239,0) 0, rgba(247,245,239,0) 76px, rgba(247,245,239,.86) 112px, var(--canvas) 100%);
    content: '';
  }
  .hero-slide img { object-position: 61% center; }
  .hero-scrim { background: rgba(10,12,14,.54); }
  .hero-inner { align-items: flex-start; padding-top: clamp(38px, 7svh, 68px); padding-bottom: 190px; }
  .hero-title { font-size: clamp(44px, 14vw, 60px); }
  .hero-copy > p:not(.eyebrow) { margin-top: 16px; font-size: 16px; }
  .hero-carousel-controls { right: 16px; bottom: 176px; left: 16px; justify-content: center; width: auto; }
  .hero-carousel-button { width: 38px; height: 38px; }
  .search-panel {
    bottom: -22px;
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 7px;
    border-radius: 8px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 44px rgba(17,19,21,.24);
  }
  .search-panel .field-wrap { min-height: 44px; border-color: #ddd8ce; border-radius: 6px; }
  .search-panel .field-wrap:focus-within { border-color: #b51f32; box-shadow: inset 0 0 0 1px rgba(181,31,50,.2); }
  .search-panel .field-wrap svg { width: 17px; height: 17px; margin-left: 12px; }
  .search-panel .field-wrap input,
  .search-panel .field-wrap select { height: 42px; padding: 0 11px; font-size: 13px; font-weight: 600; }
  .search-panel .button { width: 100%; min-height: 43px; border-radius: 6px; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; }
  .brand-carousel-section { padding: 34px 0 32px; }
  .brand-carousel__head { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 20px; }
  .brand-carousel__head .display-title { font-size: 37px; }
  .brand-marquee { padding: 8px 0; mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
  .brand-marquee__track { animation-duration: 68s; }
  .brand-marquee__set { gap: 16px; padding-right: 16px; }
  .brand-marquee__set a { min-width: 64px; min-height: 44px; }
  .brand-marquee__set img { width: 68px; max-height: 32px; }
  .vehicle-grid, .stock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vehicle-carousel { gap: 12px; padding-bottom: 8px; }
  .vehicle-carousel .vehicle-card { flex-basis: min(76vw, 284px); }
  .carousel-controls { width: 100%; justify-content: flex-end; }
  .carousel-controls .text-link { margin-left: auto; }
  .vehicle-card__body { padding: 10px 12px 12px; }
  .vehicle-photo, .vehicle-promo-card__visual { aspect-ratio: 1.34; }
  .vehicle-card__brand { font-size: 9.5px; }
  .vehicle-card__name { min-height: 0; font-size: 15px; line-height: 1.2; }
  .vehicle-card__version { margin: 2px 0 4px; font-size: 10.5px; }
  .vehicle-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-bottom: 6px; font-size: 9.5px; line-height: 1.1; font-weight: 500; }
  .vehicle-meta span { min-height: 26px; gap: 2px; padding: 0; }
  .vehicle-meta span + span { padding-left: 0; }
  .vehicle-meta svg { width: 11px; height: 11px; }
  .vehicle-price { font-size: 10px; }
  .vehicle-price strong { font-size: 20px; }
  .vehicle-card__offer-bar { margin: 10px -12px -12px; padding: 7px 12px; font-size: 8.5px; }
  .vehicle-card__highlight-bar { margin: 10px -12px -12px; padding: 7px 12px; font-size: 8.5px; }
  .vehicle-promo-card__body { padding: 12px; }
  .vehicle-promo-card__body h3 { font-size: 17px; }
  .vehicle-promo-card__body p:not(.eyebrow) { margin: 6px 0 9px; font-size: 9.5px; }
  .vehicle-promo-card__body .button { min-height: 34px; font-size: 9px; }
  .stock-closing-card--secondary { display: none; }
  .vehicle-installment { margin-top: 5px; font-size: 10px; }
  .vehicle-card__favorite { top: 6px; right: 6px; width: 38px; height: 38px; }
  .vehicle-card__favorite svg,
  .vehicle-card__favorite.is-saved svg { width: 20px; height: 20px; }
  .vehicle-card__favorite svg { width: 20px; height: 20px; }
  .vehicle-card__top { inset: 8px 8px auto; }
  .photo-count { left: 8px; bottom: 8px; font-size: 10px; }
  .tag { min-height: 19px; font-size: 8px; }
  .browse-grid { grid-template-columns: repeat(2, 1fr); }
  .browse-link { min-height: 142px; padding: 16px; }
  .browse-link strong { font-size: 24px; }
  .browse-link span { font-size: 11px; }
  .finance-band { grid-template-columns: 1fr; }
  .finance-band__media { min-height: 245px; }
  .finance-band__copy { padding: 43px 24px 48px; }
  .finance-band h2 { font-size: 42px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 1.18; }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .brand-cell { min-height: 76px; }
  .brand-cell img { width: 66px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 28px; }
  .footer-bottom { padding-bottom: 20px; flex-direction: column; }
  .page-hero { padding: 22px 0 18px; }
  .page-hero__inner { align-items: flex-start; flex-direction: column; gap: 16px; }
  .page-hero h1 { font-size: 34px; line-height: 1.04; }
  .stock-layout { display: block; padding: 20px 0 70px; }
  .stock-breadcrumbs { padding-top: 12px; padding-bottom: 2px; font-size: 12px; }
  .filters { display: none; }
  .mobile-filter-button { display: inline-flex; }
  .stock-toolbar { top: 68px; gap: 6px; margin-inline: -6px; margin-bottom: 12px; padding: 5px 0; }
  .stock-toolbar__actions { gap: 0; }
  .mobile-filter-button { min-height: 36px; flex: 0 0 auto; padding-inline: 10px; font-size: 11px; }
  .sort-control { min-width: 160px; width: 160px; min-height: 36px; justify-content: flex-start; padding: 0 7px; }
  .stock-toolbar .mobile-filter-button,
  .stock-toolbar .sort-control,
  .stock-toolbar .sort-control > span { font-size: 11px; font-weight: 600; }
  .sort-control > svg { width: 17px; height: 17px; }
  .sort-select { position: static; width: 100%; height: 34px; padding: 0 18px 0 0; opacity: 1; font-size: 11px; cursor: pointer; }
  .detail-layout { display: block; padding-bottom: 64px; }
  .breadcrumbs { padding: 16px 0; }
  .gallery-stage { width: 100vw; max-width: none; aspect-ratio: 1.07; margin-inline: calc((100vw - var(--container)) / -2); border-radius: 0; }
  .gallery-nav { width: 42px; height: 42px; }
  .gallery-thumbs { width: 100vw; max-width: none; margin-inline: calc((100vw - var(--container)) / -2); padding-inline: 16px; }
  .detail-summary { position: static; margin-top: 22px; padding: 20px; box-shadow: none; }
  .detail-title { font-size: 38px; }
  .detail-price strong { font-size: 42px; }
  .detail-main { padding-top: 28px; }
  .detail-section { padding: 28px 0; }
  .detail-section h2 { font-size: 30px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-section__actions { display: grid; }
  .detail-section__actions .button { width: 100%; }
  .related { padding: 50px 0 64px; }
  .favorites-page { min-height: 58vh; padding: 32px 0 168px; }
  .favorites-head { margin-bottom: 22px; }
  .favorites-head h1 { font-size: 40px; }
  .favorites-toolbar { align-items: flex-start; flex-wrap: wrap; gap: 12px; padding: 12px; }
  .favorites-selection { order: 2; width: 100%; padding-left: 28px; }
  .favorites-actions { order: 3; width: 100%; margin-left: 0; flex-wrap: wrap; }
  .favorites-actions .button { flex: 1 1 calc(50% - 4px); padding-inline: 9px; font-size: 11px; }
  .favorites-actions .button--whatsapp { white-space: nowrap; }
  .favorites-actions .favorites-clear-all { flex-basis: 100%; }
  .favorite-trash { width: 30px; height: 30px; }
  .favorite-trash svg { width: 15px; height: 15px; }
  .favorites-empty { padding: 48px 16px 40px; }
  .favorites-empty h2 { font-size: 30px; }
  .modal--compact .modal__head h2 { font-size: 30px; }
  .favorites-page:has(.favorites-empty) { padding-bottom: 92px; }
  #main-content:has(.favorites-page) + .site-footer { display: none; }
  .mobile-nav { position: fixed; z-index: 200; inset: auto 0 0; display: grid; grid-template-columns: repeat(4, 1fr); height: 72px; padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); }
  .mobile-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--ink-soft); font-size: 10px; font-weight: 600; }
  .mobile-nav a svg { width: 20px; height: 20px; }
  .mobile-nav a.is-active { color: var(--brand); }
  .mobile-nav a.is-contact { color: var(--green); }
  .filter-sheet { position: fixed; z-index: 1001; right: 0; bottom: 0; left: 0; max-height: min(78dvh, 620px); display: block; overflow-y: auto; padding: 22px 16px calc(24px + env(safe-area-inset-bottom)); border-radius: 8px 8px 0 0; background: #fff; transform: translateY(0); }
  .filter-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
  .filter-sheet__head h2 { margin: 0; font-family: var(--display); font-size: 32px; }
  .filter-sheet .filters { display: block; position: static; padding: 0; border: 0; }
  .filter-sheet .filters__title { display: flex; position: sticky; top: -22px; z-index: 2; margin: 0 -16px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fff; }
  .brand-filter-option { min-height: 72px; }
  .modal { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 13px; }
  .lightbox-backdrop { padding: 12px; }
  .lightbox { max-height: calc(100dvh - 24px); gap: 8px; }
  .lightbox__stage { aspect-ratio: 1.35; height: auto; max-height: calc(100dvh - 185px); }
  .lightbox__thumbs { gap: 6px; padding: 5px; }
  .lightbox__thumb { flex-basis: 66px; height: 46px; }
}

/* V558: keep essential filters visible and group secondary choices behind one clear control. */
.filter-advanced {
  border-top: 1px solid rgba(255,255,255,.12);
}
.filter-advanced > summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255,255,255,.92);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}
.filter-advanced > summary::-webkit-details-marker { display: none; }
.filter-advanced > summary svg { width: 16px; height: 16px; transition: transform .2s ease; }
.filter-advanced[open] > summary svg { transform: rotate(180deg); }
.filter-advanced__body { padding-bottom: 2px; }
.filter-advanced__body .filter-group { padding-bottom: 14px; }
.filter-sheet .brand-filter-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(56px, 1fr));
  gap: 2px;
}
.filter-sheet .brand-filter-option {
  min-height: 56px;
  padding: 4px;
}
.filter-sheet .brand-filter-option img {
  width: min(68px, 100%);
  height: 34px;
}
.filter-sheet .brand-filter-option.is-active {
  background: rgba(231,199,126,.16);
  box-shadow: inset 0 0 0 1px rgba(231,199,126,.72);
}
@media (max-width: 720px) {
  .filter-sheet .filter-advanced { border-top-color: rgba(255,255,255,.12); }
  .filter-sheet .filter-advanced > summary { min-height: 42px; font-size: 11px; }
  .filter-sheet .filter-advanced__body .filter-group { padding: 12px 0; }
  .filter-sheet .brand-filter-grid {
    grid-template-rows: repeat(4, 58px);
    gap: 2px;
  }
  .filter-sheet .brand-filter-option { min-height: 58px; }
}

/* V525: filters use the same dark liquid-glass language as the mobile menu. */
.filter-sheet {
  color: rgba(255,255,255,.9);
  background: rgba(21,23,26,.8);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 48px rgba(0,0,0,.3), 0 1px 2px rgba(255,255,255,.1) inset;
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
}
.filter-sheet__head { border-bottom-color: rgba(255,255,255,.12); }
.filter-sheet__head h2,
.filter-sheet .filter-group label,
.filter-sheet .filters__title strong { color: rgba(255,255,255,.92); }
.filter-sheet .filters__clear,
.filter-sheet .brand-filter-more { color: #e7c77e; }
.filter-sheet .filter-group { border-top-color: rgba(255,255,255,.12); }
.filter-sheet .filter-type-tab,
.filter-sheet .filter-select,
.filter-sheet .filter-pill {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
}
.filter-sheet .filter-type-tab.is-active,
.filter-sheet .filter-type-tab:hover,
.filter-sheet .filter-pill.is-active,
.filter-sheet .filter-pill:hover {
  border-color: rgba(231,199,126,.7);
  background: rgba(231,199,126,.16);
  color: #fff;
}
.filter-sheet .filter-select option { background: #222427; color: #fff; }
.filter-sheet .brand-filter-grid { gap: 4px; }
.filter-sheet .brand-filter-option {
  min-height: 58px;
  padding: 5px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #fff;
  transform: none;
}
.filter-sheet .brand-filter-option img {
  width: 64px;
  height: 34px;
  object-fit: contain;
  filter: none;
  opacity: .92;
  transition: opacity .2s ease, transform .2s ease;
}
.filter-sheet .brand-filter-option:hover img,
.filter-sheet .brand-filter-option:focus-visible img { opacity: 1; transform: scale(1.06); }
.filter-sheet .brand-filter-option.is-active { background: rgba(255,255,255,.11); box-shadow: none; }
.filter-sheet .brand-filter-option.is-active img { opacity: 1; }
.filter-sheet .brand-filter-all { background: rgba(255,255,255,.12); color: #fff; }
.filter-sheet > .button { box-shadow: 0 -12px 18px rgba(21,23,26,.5); }

@media (max-width: 380px) {
  .vehicle-card__name { font-size: 13px; }
  .vehicle-price strong { font-size: 18px; }
  .hero-title { font-size: 47px; }
}

/* Premium showroom refinement: editorial contrast, calmer surfaces and sharper hierarchy. */
body { background: var(--paper); color: var(--ink); }
body { font-weight: 500; font-variant-numeric: tabular-nums; }
.eyebrow, .tag { letter-spacing: 0; }
.site-header { background: rgba(252,251,248,.92); border-bottom-color: rgba(185,183,176,.68); box-shadow: 0 4px 18px rgba(23,23,25,.04); backdrop-filter: blur(14px); }
.header-inner { height: 82px; }
.brand img { width: 158px; }
.desktop-nav { gap: 30px; }
.desktop-nav a { position: relative; color: #6d6a65; font-size: 13px; }
.desktop-nav a::after { position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; background: var(--brand); content: ''; opacity: 0; transform: scaleX(.4); transition: opacity .2s ease, transform .2s ease; }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { opacity: 1; transform: scaleX(1); }
.header-actions { gap: 10px; }
.header-actions .button--whatsapp { min-height: 46px; padding-inline: 17px; border-radius: 4px; }
.hero { min-height: 690px; }
.hero-inner { min-height: 690px; }
.hero-scrim { background: linear-gradient(90deg, rgba(9,10,11,.82) 0%, rgba(9,10,11,.52) 52%, rgba(9,10,11,.1) 100%); }
.hero-copy { max-width: 720px; }
.hero .eyebrow { color: #e4c989; }
.hero-title { text-wrap: balance; font-size: clamp(56px, 6.4vw, 94px); }
.hero-copy > p:not(.eyebrow) { max-width: 570px; color: rgba(255,255,255,.8); }
.search-panel { padding: 16px; border-color: rgba(255,255,255,.88); background: rgba(252,251,248,.98); box-shadow: 0 22px 60px rgba(23,23,25,.2); }
.button { border-radius: 4px; }
.button--brand { background: var(--brand); box-shadow: 0 8px 18px rgba(159,31,49,.18); }
.button--brand:hover { background: var(--brand-dark); box-shadow: 0 10px 24px rgba(159,31,49,.24); }
.button--whatsapp { background: #17644f; }
.brand-carousel-section { padding-top: 42px; background: var(--paper); }
.brand-marquee__set a { min-height: 62px; }
.vehicle-grid { gap: 18px; }
.vehicle-card { border-color: #d9d7d1; box-shadow: 0 2px 0 rgba(23,23,25,.02); }
.vehicle-card:hover { border-color: #bdbab1; box-shadow: 0 16px 32px rgba(23,23,25,.13); transform: translateY(-4px); }
.vehicle-photo::after { background: linear-gradient(180deg, transparent 48%, rgba(12,13,15,.3) 100%); }
.vehicle-card__body { padding: 18px; }
.vehicle-card__brand { color: var(--brand); }
.vehicle-card__name { text-wrap: balance; }
.vehicle-price strong { color: #242326; }
.favorite-trash { width: 32px; height: 32px; color: #75665a; border-color: #d8cfc3; background: rgba(251,248,243,.92); }
.favorite-trash svg { width: 16px; height: 16px; fill: none !important; stroke: currentColor; }
.favorite-trash:hover { border-color: var(--brand); background: var(--brand-pale); color: var(--brand); }
.favorite-select { width: 34px; height: 34px; justify-content: center; padding: 0; border-color: rgba(255,255,255,.88); background: rgba(252,251,248,.94); }
.favorite-select span { position: relative; width: 24px; height: 24px; border-color: #b7aea3; border-radius: 50%; background: #fff; }
.select-all span::before { border-radius: 50%; }
.select-all input:checked + span::before, .favorite-select input:checked + span { display: grid; place-items: center; border-color: var(--brand); background: var(--brand); box-shadow: none; color: #fff; }
.select-all input:checked + span::before { content: '✓'; font-size: 11px; }
.favorite-select input:checked + span::after { color: #fff; content: '✓'; font-size: 12px; font-weight: 800; }
.vehicle-card:has(.favorite-select input:checked) { border-color: #d9d7d1; background: var(--paper); box-shadow: 0 2px 0 rgba(23,23,25,.02); }
.vehicle-card:has(.favorite-select input:checked) .vehicle-card__body { background: var(--paper); }
.vehicle-card:has(.favorite-select) .vehicle-card__top { left: 36px; }
.vehicle-card:has(.favorite-select) .favorite-select { top: 10px; left: 10px; width: 20px; height: 20px; padding: 1px; border: 0; border-radius: 4px; background: rgba(8,10,12,.24); box-shadow: 0 3px 8px rgba(8,10,12,.18); backdrop-filter: blur(5px); }
.vehicle-card:has(.favorite-select) .favorite-select span { width: 18px; height: 18px; border-radius: 3px; }
.vehicle-card:has(.favorite-select) .favorite-trash { position: absolute; z-index: 4; top: 10px !important; right: 10px !important; width: 28px; height: 28px; display: grid; place-items: center; border: 0; background: transparent; box-shadow: none; color: #75665a; }
.vehicle-card:has(.favorite-select) .favorite-trash svg { width: 17px; height: 17px; fill: none !important; stroke: #75665a !important; stroke-width: 2; filter: drop-shadow(0 1px 2px rgba(255,255,255,.8)); }
.favorite-trash { position: absolute !important; z-index: 4; top: 10px !important; right: 10px !important; width: 28px; height: 28px; display: grid; place-items: center; border: 0; background: transparent; box-shadow: none; color: #75665a; visibility: visible; opacity: 1; }
.favorite-trash svg { display: block; width: 20px; height: 20px; fill: none !important; stroke: #fff !important; stroke-width: 2.2; filter: drop-shadow(0 1px 2px rgba(0,0,0,.72)); visibility: visible; opacity: 1; }
.favorite-trash, .favorite-trash:hover { color: #fff !important; }
.favorite-trash:hover svg { stroke: #fff !important; }
.vehicle-card:has(.favorite-select) .favorite-trash svg,
.vehicle-card:has(.favorite-select) .favorite-trash:hover svg {
  width: 20px !important;
  height: 20px !important;
  fill: none !important;
  stroke: #fff !important;
  stroke-width: 2.2 !important;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.72));
}
.vehicle-card:has(.favorite-select) .favorite-select input:checked + span {
  border-color: #b51f32 !important;
  background: rgba(255,255,255,.92) !important;
  color: #b51f32 !important;
  box-shadow: 0 2px 7px rgba(8,10,12,.18) !important;
}
.vehicle-card:has(.favorite-select) .favorite-select input:checked + span::after {
  color: #b51f32 !important;
  font-size: 12px;
  font-weight: 800;
}
.vehicle-card__offer-bar { background: var(--brand); }
.vehicle-card__highlight-bar { background: var(--gold); }

.whatsapp-float { display: none; }
.browse-grid { border-color: #d9d7d1; }
.browse-link { border-color: #d9d7d1; background: var(--paper); }
.browse-link:hover { background: #242326; }
.browse-link svg { color: var(--gold); }
.browse-link strong { text-wrap: balance; }
.finance-band { background: #242326; }
.finance-band__copy { position: relative; }
.finance-band__copy::before { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: rgba(228,201,137,.56); content: ''; }
.finance-band .eyebrow { color: #e4c989; }
.filters { border-right-color: #d9d7d1; }
.filter-group { border-top-color: #d9d7d1; }
.filter-type-tab.is-active, .filter-type-tab:hover { border-color: var(--brand); background: var(--brand-pale); }
.brand-filter-option:hover, .brand-filter-option.is-active { border-color: var(--brand); background: var(--brand-pale); }
.page-hero { padding-block: 26px 22px; background: #242326; color: #fff; border-bottom: 0; }
.page-hero .eyebrow { color: #e4c989; }
.page-hero p { color: rgba(255,255,255,.68); }
.stock-layout { padding-top: 32px; }
.stock-toolbar { border-bottom-color: #d9d7d1; }
.stock-grid { gap: 14px; }
@media (max-width: 720px) {
  .stock-layout { padding-bottom: 168px; }
  .stock-grid { column-gap: 8px; row-gap: 12px; margin-inline: -6px; }
}
.detail-summary { border-color: #d9d7d1; background: var(--paper); box-shadow: 0 14px 34px rgba(23,23,25,.1); }
.detail-brand { color: var(--brand); }
.detail-location { border-color: #d9d7d1; }
.detail-section { border-top-color: #d9d7d1; }
.spec-grid { border-color: #d9d7d1; background: #d9d7d1; }
.spec { background: var(--paper); }
.spec > svg { color: var(--gold); }
.related { background: var(--canvas); }
.site-footer { background: #18181a; }
.footer-bottom { border-top-color: rgba(255,255,255,.14); }
.toast { background: #242326; box-shadow: 0 14px 36px rgba(23,23,25,.22); }

@media (max-width: 720px) {
  .footer-legal-links, .footer-copyright, .footer-credit { font-size: 10px; }
  .home-contact-section { padding: 48px 0 56px; }
  .home-story-section { padding: 52px 0; }
  .home-story-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-story-copy h2 { font-size: 38px; }
  .home-story-copy > p:not(.eyebrow) { font-size: 15px; }
  .home-contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-contact-brand h2 { font-size: 20px; }
  .home-store-card__body { padding: 24px 20px 26px; }
  .header-inner { height: 68px; }
  .brand img { width: 132px; }
  .hero-copy { width: 100%; max-width: 100%; min-width: 0; }
  .hero, .hero-inner { min-height: min(650px, calc(100svh - 74px)); }
  .hero-title { max-width: 100%; font-size: clamp(44px, 14vw, 58px); line-height: .98; }
  .hero-copy > p:not(.eyebrow) { max-width: 100%; line-height: 1.45; }
  .hero::after { height: 164px; background: linear-gradient(180deg, rgba(247,245,239,0) 0, rgba(247,245,239,0) 76px, rgba(247,245,239,.86) 112px, var(--canvas) 100%); }
  .hero-carousel-controls { bottom: 176px; }
  .search-panel { bottom: -22px; padding: 10px; gap: 7px; border-radius: 8px; }
  .search-panel .field-wrap { min-height: 44px; }
  .search-panel .field-wrap input,
  .search-panel .field-wrap select { height: 42px; font-size: 13px; font-weight: 600; }
  .search-panel .button { min-height: 43px; font-size: 12px; text-transform: uppercase; }
  .brand-carousel-section { padding-top: 34px; }
  .vehicle-card__body { padding: 12px; }
  .vehicle-card__offer-bar, .vehicle-card__highlight-bar { margin-right: -12px; margin-bottom: -12px; margin-left: -12px; }
  .page-hero { padding-top: 42px; }
  .detail-summary { border-color: #d9d7d1; background: var(--paper); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee__track { animation: none !important; transform: translateX(0) !important; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Account for browser chrome and iPhone safe areas on compact screens. */
@media (max-width: 720px) {
  html { min-height: 100%; }
  body {
    min-height: 100dvh;
    padding-top: env(safe-area-inset-top);
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
  .site-header { top: 0; }
  .stock-toolbar { top: calc(68px + env(safe-area-inset-top)); }
  .stock-layout { padding-bottom: calc(168px + env(safe-area-inset-bottom)); }
  .favorites-page { padding-bottom: calc(168px + env(safe-area-inset-bottom)); }
  .mobile-nav {
    height: calc(72px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
  }
  .toast-region { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .hero { min-height: min(690px, calc(100dvh - 68px - env(safe-area-inset-top))); }
  .hero-slides, .hero-scrim { inset: 0 0 auto; height: 500px; clip-path: none; }
  .hero-slide, .hero-slide img { clip-path: none; }
  .search-panel { bottom: calc(72px + env(safe-area-inset-bottom) + 12px); z-index: 4; }
}

/* Typography hierarchy inspired by the reference dealership site. */
body, button, input, select { font-family: "Poppins", "Segoe UI", sans-serif; }
.display-title,
.hero-title,
.page-hero h1,
.detail-title,
.favorites-head h1,
.detail-section h2,
.empty-state h2,
.home-story-copy h2 { font-weight: 700; }
.vehicle-card__brand { font-weight: 700; }
.vehicle-card__name { font-weight: 700; }
.vehicle-card__version,
.vehicle-price,
.hero-copy > p:not(.eyebrow),
.home-story-copy > p:not(.eyebrow),
.about-copy > p:not(.eyebrow) { font-weight: 400; }
.vehicle-price strong,
.detail-price strong { font-weight: 700; }
.button, .text-link { font-weight: 600; }

@media (max-width: 720px) {
  .stock-grid { column-gap: 6px; row-gap: 8px; margin-inline: -8px; }
  .vehicle-card__body { padding: 8px 10px 10px; }
  .vehicle-photo, .vehicle-promo-card__visual { aspect-ratio: 1.5; }
  .vehicle-card__brand { margin-bottom: 1px; font-size: 8.5px; }
  .vehicle-card__name { font-size: 14px; line-height: 1.15; }
  .vehicle-card__version { margin: 1px 0 3px; font-size: 9.5px; }
  .vehicle-meta { margin-bottom: 4px; font-size: 8.5px; line-height: 1.05; }
  .vehicle-meta span { min-height: 20px; gap: 1px; }
  .vehicle-meta svg { width: 10px; height: 10px; }
  .vehicle-price { font-size: 9px; }
  .vehicle-price strong { font-size: 18px; line-height: 1.05; }
  .vehicle-card__offer-bar, .vehicle-card__highlight-bar { margin: 7px -10px -10px; padding: 6px 10px; font-size: 8px; }
}

/* Final type scale: clearer hierarchy with less visual noise. */
body { font-size: 15px; line-height: 1.55; }
.display-title,
.home-story-copy h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.04; }
.hero-title { font-size: clamp(48px, 5.2vw, 78px); line-height: .98; }
.hero-copy > p:not(.eyebrow) { font-size: 17px; line-height: 1.5; }
.page-hero h1 { font-size: clamp(34px, 3.5vw, 48px); line-height: 1.06; }
.detail-title { font-size: clamp(36px, 3.8vw, 46px); line-height: 1; }
.favorites-head h1 { font-size: clamp(36px, 4.2vw, 50px); line-height: 1.02; }
.vehicle-card__name { font-size: 17px; line-height: 1.2; }
.vehicle-card__version { font-size: 12px; }
.vehicle-meta { font-size: 12px; }
.vehicle-price strong { font-size: 24px; }

@media (max-width: 720px) {
  .stock-toolbar {
    isolation: isolate;
    z-index: 90;
    background: var(--paper);
    box-shadow: 0 8px 14px -10px rgba(23,23,25,.55);
    backdrop-filter: none;
  }
  .stock-toolbar::before {
    position: absolute;
    z-index: -1;
    inset: 0 -12px;
    background: var(--paper);
    content: '';
  }
  .stock-summary { position: relative; z-index: 1; }
  .vehicle-photo,
  .vehicle-promo-card__visual { aspect-ratio: 1.65; }
  .vehicle-card__body { padding: 7px 9px 8px; }
  .vehicle-card__version { margin: 1px 0 2px; }
  .vehicle-meta { margin-bottom: 3px; }
  .vehicle-meta span { min-height: 18px; }
  .vehicle-card__offer-bar,
  .vehicle-card__highlight-bar { height: 25px; min-height: 25px; }
  .display-title,
  .home-story-copy h2 { font-size: 30px; line-height: 1.06; }
  .hero-title { font-size: 50px; line-height: .99; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .page-hero h1 { font-size: 32px; }
  .detail-title { font-size: 36px; }
  .favorites-head h1 { font-size: 38px; }
  .vehicle-card__name { font-size: 14px; }
  .vehicle-card__version { font-size: 10.5px; }
  .vehicle-meta { font-size: 9.5px; }
  .vehicle-price strong { font-size: 19px; }
}

@media (max-width: 720px) {
  .stock-grid { column-gap: 6px; row-gap: 8px; margin-inline: -8px; }
  .vehicle-card__body { padding: 8px 10px 10px; }
  .vehicle-photo, .vehicle-promo-card__visual { aspect-ratio: 1.5; }
  .vehicle-card__brand { margin-bottom: 1px; font-size: 8.5px; }
  .vehicle-card__name { font-size: 14px; line-height: 1.15; }
  .vehicle-card__version { margin: 1px 0 3px; font-size: 9.5px; }
  .vehicle-meta { margin-bottom: 4px; font-size: 8.5px; line-height: 1.05; }
  .vehicle-meta span { min-height: 20px; gap: 1px; }
  .vehicle-meta svg { width: 10px; height: 10px; }
  .vehicle-price { font-size: 9px; }
  .vehicle-price strong { font-size: 18px; line-height: 1.05; }
  .vehicle-card__offer-bar,
  .vehicle-card__highlight-bar {
    box-sizing: border-box;
    height: 28px;
    min-height: 28px;
    margin: auto -10px -10px;
    padding: 0 10px;
    gap: 6px;
    font-size: 8px;
    line-height: 1;
  }
  .vehicle-card__offer-bar svg:first-child,
  .vehicle-card__highlight-bar svg:first-child { width: 14px; height: 14px; flex: 0 0 14px; }
  .vehicle-card__offer-bar svg:last-child,
  .vehicle-card__highlight-bar svg:last-child { width: 13px; height: 13px; flex: 0 0 13px; margin-left: auto; }
}

/* Real iPhone viewport: reduce only vertical media height so two rows clear the browser dock. */
@media (max-width: 720px) {
  .vehicle-photo, .vehicle-promo-card__visual { aspect-ratio: 1.95; }
  .vehicle-card__body { padding-top: 7px; padding-bottom: 8px; }
  .vehicle-card__version { margin-top: 1px; margin-bottom: 2px; }
  .vehicle-meta { margin-bottom: 2px; }
  .vehicle-meta span { min-height: 18px; }
  .vehicle-card__offer-bar, .vehicle-card__highlight-bar {
    height: 25px;
    min-height: 25px;
    margin-bottom: -8px;
    padding-top: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 720px) {
  .mobile-nav { grid-template-columns: repeat(3, 1fr); }
  .whatsapp-float {
    position: fixed;
    z-index: 240;
    right: 16px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    box-shadow: 0 8px 20px rgba(37,211,102,.28);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
  }
  body.has-scrolled .whatsapp-float { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
  .whatsapp-float .whatsapp-logo { position: relative; z-index: 2; width: 27px; height: 27px; color: #fff; }
  .whatsapp-float__pulse {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(37,211,102,.48);
    border-radius: 50%;
    animation: whatsapp-radar 2.8s ease-out infinite;
    content: '';
  }
  .whatsapp-float:focus-visible { outline: 3px solid rgba(37,211,102,.32); outline-offset: 4px; }
}

@keyframes whatsapp-radar {
  0% { opacity: .68; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.62); }
}

/* Refined mobile navigation: liquid glass capsule with a clear active state. */
@media (max-width: 720px) {
  .mobile-nav {
    isolation: isolate;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
    height: 58px;
    padding: 5px 7px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 30px;
    background:
      linear-gradient(180deg, rgba(38,40,43,.86), rgba(10,11,13,.9)),
      linear-gradient(105deg, rgba(255,255,255,.1), rgba(255,255,255,.02) 48%, rgba(255,255,255,.08));
    box-shadow:
      0 16px 36px rgba(10,11,13,.34),
      0 3px 10px rgba(255,255,255,.1) inset,
      0 -1px 3px rgba(0,0,0,.34) inset,
      0 0 0 1px rgba(255,255,255,.06) inset;
    backdrop-filter: blur(24px) saturate(1.18) contrast(1.05);
    -webkit-backdrop-filter: blur(24px) saturate(1.18) contrast(1.05);
  }
  .mobile-nav::before {
    position: absolute;
    z-index: -1;
    top: 1px;
    right: 15%;
    left: 15%;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    content: '';
    filter: blur(7px);
    opacity: .72;
    pointer-events: none;
  }
  .mobile-nav a { position: relative; gap: 2px; color: rgba(255,255,255,.58); font-size: 10px; font-weight: 500; }
  .mobile-nav a svg { width: 20px; height: 20px; stroke-width: 1.8; }
  .mobile-nav a.is-active { color: #fff; }
  .mobile-nav a span { display: block; line-height: 1; }
  .mobile-nav a.is-active { flex-direction: column; gap: 2px; padding: 5px 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(255,255,255,.1); box-shadow: 0 7px 18px rgba(0,0,0,.2), 0 1px 2px rgba(255,255,255,.1) inset; font-size: 10px; font-weight: 600; }
  .mobile-nav a.is-active::before { display: none; }
  .mobile-nav a.is-active svg { position: relative; z-index: 1; stroke-width: 2; }
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* V512: active navigation item follows the raised liquid-glass control pattern. */
@media (max-width: 720px) {
  .mobile-nav {
    height: 62px;
    padding: 5px 8px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 31px;
    background: rgba(12,14,17,.55);
    box-shadow:
      0 16px 34px rgba(0,0,0,.3),
      0 1px 2px rgba(255,255,255,.2) inset,
      0 -1px 4px rgba(0,0,0,.32) inset;
    backdrop-filter: blur(26px) saturate(1.35);
    -webkit-backdrop-filter: blur(26px) saturate(1.35);
  }
  .mobile-nav a {
    min-width: 0;
    min-height: 46px;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 22px;
    gap: 3px;
    line-height: 1;
    transition: background .2s ease, transform .2s ease, color .2s ease;
  }
  .mobile-nav a span { font-size: 10px; line-height: 1; }
  .mobile-nav a.is-active {
    padding: 5px 12px;
    border-color: transparent;
    outline: none;
    background: transparent;
    box-shadow: none;
    transform: none;
  }
  .mobile-nav a.is-active::before {
    display: block;
    position: absolute;
    z-index: 0;
    top: 3px;
    left: 50%;
    width: 30px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    content: '';
    filter: blur(8px);
    opacity: .8;
    pointer-events: none;
    transform: translateX(-50%);
  }
  .mobile-nav a.is-active svg,
  .mobile-nav a.is-active span { position: relative; z-index: 1; }
  .mobile-nav a.is-active svg {
    width: 21px;
    height: 21px;
    filter: drop-shadow(0 0 4px rgba(255,255,255,.18));
  }
  .mobile-nav a:not(.is-active):hover,
  .mobile-nav a:not(.is-active):focus-visible { color: rgba(255,255,255,.9); background: rgba(255,255,255,.06); }
  .mobile-nav a:focus-visible { outline: 2px solid rgba(255,255,255,.72); outline-offset: 2px; }
}

/* V519: selective liquid glass surfaces for the site chrome and overlays. */
.site-header {
  background: rgba(255,255,255,.48);
  border-bottom-color: rgba(190,187,180,.5);
  box-shadow: 0 8px 24px rgba(23,23,25,.08), 0 1px 0 rgba(255,255,255,.6) inset;
  backdrop-filter: blur(22px) saturate(1.28);
  -webkit-backdrop-filter: blur(22px) saturate(1.28);
}
.stock-toolbar {
  background: rgba(252,251,248,.56);
  border-bottom-color: rgba(190,187,180,.62);
  box-shadow: 0 7px 22px rgba(23,23,25,.08), 0 1px 0 rgba(255,255,255,.56) inset;
  backdrop-filter: blur(22px) saturate(1.22);
  -webkit-backdrop-filter: blur(22px) saturate(1.22);
}
.gallery-nav,
.hero-carousel-button,
.lightbox-close {
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.28);
  box-shadow: 0 5px 14px rgba(8,10,12,.12), 0 1px 2px rgba(255,255,255,.22) inset;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.gallery-nav:hover,
.hero-carousel-button:hover,
.lightbox-close:hover { background: rgba(255,255,255,.42); }
.modal,
.filter-sheet {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.66);
  box-shadow: 0 18px 46px rgba(8,10,12,.18), 0 1px 2px rgba(255,255,255,.42) inset;
  backdrop-filter: blur(24px) saturate(1.18);
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
}
.lightbox__thumbs {
  border-color: rgba(255,255,255,.18);
  background: rgba(8,10,12,.5);
  box-shadow: 0 1px 3px rgba(255,255,255,.1) inset;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
@media (max-width: 720px) {
  html, body { min-height: 100%; overflow-x: hidden; overflow-y: auto; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .site-header { background: rgba(255,255,255,.42); }
  .stock-toolbar { background: rgba(252,251,248,.48); }
  .filter-sheet { background: rgba(255,255,255,.78); }
  .filter-sheet .filters__title { background: rgba(255,255,255,.58); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
}

/* V521: interaction surfaces follow the attached dark glass reference. */
.menu-backdrop,
.sort-backdrop,
.filter-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(7,9,12,.36);
  backdrop-filter: blur(8px) saturate(.9);
  -webkit-backdrop-filter: blur(8px) saturate(.9);
}
.menu-drawer {
  position: fixed;
  z-index: 1001;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(85vw, 390px);
  overflow-y: auto;
  padding: 28px 22px calc(28px + env(safe-area-inset-bottom));
  color: #fff;
  background: rgba(21,23,26,.78);
  border-right: 1px solid rgba(255,255,255,.14);
  border-radius: 0 26px 26px 0;
  box-shadow: 18px 0 44px rgba(0,0,0,.22), 1px 0 2px rgba(255,255,255,.1) inset;
  backdrop-filter: blur(28px) saturate(1.22);
  -webkit-backdrop-filter: blur(28px) saturate(1.22);
}
.menu-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.menu-drawer__brand { display: inline-flex; align-items: center; }
.menu-drawer__brand img { width: 142px; height: auto; filter: brightness(0) invert(1); opacity: .96; }
.menu-drawer__close { display: grid; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; }
.menu-drawer__close svg { width: 20px; height: 20px; }
.menu-drawer__eyebrow { margin: 28px 0 8px; color: rgba(255,255,255,.5); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.menu-drawer__nav { display: grid; gap: 5px; }
.menu-drawer__nav a { display: grid; grid-template-columns: 22px 1fr 18px; align-items: center; gap: 12px; min-height: 54px; padding: 0 12px; border-radius: 14px; color: rgba(255,255,255,.86); font-size: 16px; font-weight: 600; }
.menu-drawer__nav a:hover, .menu-drawer__nav a:focus-visible { background: rgba(255,255,255,.1); color: #fff; outline: 0; }
.menu-drawer__nav a svg:first-child { width: 19px; height: 19px; color: rgba(255,255,255,.68); }
.menu-drawer__nav a svg:last-child { width: 16px; height: 16px; justify-self: end; color: rgba(255,255,255,.42); }
.menu-drawer__contact { display: grid; gap: 9px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.menu-drawer__contact > p { margin: 0 0 4px; color: rgba(255,255,255,.55); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.menu-contact-button { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.07); color: #fff; }
.menu-contact-button:hover { background: rgba(255,255,255,.13); }
.menu-contact-button > svg { width: 20px; height: 20px; color: #bfe8d8; }
.menu-contact-button--whatsapp > svg { color: #25d366; }
.menu-contact-button span { display: grid; gap: 2px; font-size: 12px; color: rgba(255,255,255,.64); }
.menu-contact-button strong { color: #fff; font-size: 14px; }
.sort-sheet {
  position: fixed;
  z-index: 1001;
  top: 92px;
  right: 16px;
  width: min(360px, calc(100% - 32px));
  padding: 14px 10px 12px;
  color: #fff;
  background: rgba(24,25,27,.82);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(0,0,0,.28), 0 1px 2px rgba(255,255,255,.12) inset;
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
  animation: sort-sheet-enter .28s cubic-bezier(.22,.8,.26,1) both;
}
@keyframes sort-sheet-enter {
  from { opacity: 0; transform: translateY(110vh); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .sort-sheet { animation: none; }
}

/* V652: mobile sorting follows the full-width bottom sheet reference. */
@media (max-width: 720px) {
  .menu-drawer {
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom)) !important;
    background: #fff !important;
    color: #171719 !important;
    box-shadow: 0 16px 34px rgba(23,23,25,.16) !important;
  }
  .menu-drawer__head {
    padding-bottom: 14px !important;
    border-bottom-color: #deddd8 !important;
  }
  .menu-drawer__brand img { width: 120px !important; }
  .menu-drawer__close {
    width: 34px !important;
    height: 34px !important;
    background: #f1f1ef !important;
    color: #171719 !important;
  }
  .menu-drawer__eyebrow,
  .menu-drawer__contact > p {
    color: #77736d !important;
    letter-spacing: .08em;
  }
  .menu-drawer__nav { gap: 2px; }
  .menu-drawer__nav a {
    min-height: 48px !important;
    padding: 0 8px !important;
    border-radius: 10px !important;
    color: #242326 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
  }
  .menu-drawer__nav a:not(:last-child) { border-bottom: 1px solid #ecebe8 !important; border-radius: 0 !important; }
  .menu-drawer__nav a:last-child { border-bottom: 0 !important; }
  .menu-drawer__nav a:hover,
  .menu-drawer__nav a:focus-visible { background: #f5f4f1 !important; color: #171719 !important; }
  .menu-drawer__nav a svg:first-child { width: 17px !important; height: 17px !important; }
  .menu-drawer__nav a svg:last-child { width: 14px !important; height: 14px !important; }
  .menu-drawer__nav a svg:first-child { color: #777b80 !important; }
  .menu-drawer__nav a svg:last-child { color: #a4a3a0 !important; }
  .menu-drawer__contact {
    gap: 10px !important;
    margin-top: 20px !important;
    padding-top: 16px !important;
    border-top-color: #deddd8 !important;
  }
  .menu-contact-button {
    min-height: 50px !important;
    border-color: #deddd8 !important;
    border-radius: 10px !important;
    background: #fbfbfa !important;
    color: #171719 !important;
  }
  .menu-contact-button > svg { color: #aab8b2 !important; }
  .menu-contact-button--whatsapp > svg { color: #16b968 !important; }
  .menu-contact-button span { color: #77736d !important; }
  .menu-contact-button span { font-size: 11px !important; }
  .menu-contact-button strong { font-size: 13px !important; }
  .menu-contact-button strong { color: #171719 !important; }

  .menu-backdrop {
    background: rgba(7, 9, 12, .5) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .menu-drawer {
    top: 0 !important;
    right: 0 !important;
    bottom: calc(72px + env(safe-area-inset-bottom)) !important;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    overflow-y: auto;
    border-right: 0 !important;
    border-radius: 0 0 24px 24px !important;
    animation: menu-sheet-enter .32s cubic-bezier(.22,.8,.26,1) both !important;
  }
}
@keyframes menu-sheet-enter {
  from { opacity: .8; transform: translateY(-100%); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .menu-drawer { animation: none !important; }
}

@media (max-width: 720px) {
  .filter-sheet.is-entering { animation: filter-sheet-enter .3s cubic-bezier(.22,.8,.26,1) both !important; }
}
@keyframes filter-sheet-enter {
  from { opacity: .8; transform: translateX(-100%); }
  to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .filter-sheet.is-entering { animation: none !important; }
}

@media (max-width: 720px) {
  .filter-sheet .filter-choice--toggle.is-active,
  .filter-sheet .filter-choice--toggle:not(.is-active) {
    border-color: #deddd8 !important;
    background: #fff !important;
    color: #171719 !important;
  }
  .filter-sheet .filter-choice--toggle.is-active > span:first-child,
  .filter-sheet .filter-choice--toggle.is-active .filter-choice__meta {
    color: #171719 !important;
  }
  .filter-sheet .filter-choice--toggle.is-active .filter-choice__meta { color: #77736d !important; }
}

@media (max-width: 720px) {
  .sort-backdrop {
    background: rgba(7, 9, 12, .5) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .sort-sheet {
    top: calc(68px + var(--stock-breadcrumb-space, 0px) + 76px);
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: none;
    min-height: 0;
    overflow-y: auto;
    padding: 30px 24px calc(24px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 28px 28px 0 0;
    background: #fff;
    box-shadow: 0 -12px 36px rgba(23,23,25,.16);
    animation-name: sort-sheet-enter-mobile;
  }
  .sort-sheet__close {
    display: grid;
    width: 32px;
    height: 32px;
    margin: 0 0 56px 0;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #e31735;
  }
  .sort-sheet__close svg { width: 29px; height: 29px; stroke-width: 2.4; }
  .sort-sheet__head {
    display: block;
    padding: 0 0 28px;
    color: #171719;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.02em;
    text-transform: none;
  }
  .sort-options { gap: 10px; }
  .sort-option {
    grid-template-columns: 32px 1fr;
    gap: 16px;
    min-height: 90px;
    padding: 0 26px;
    border: 2px solid #e7e7e7;
    border-radius: 22px;
    background: #fff;
    color: #707070;
    font-size: 23px;
    font-weight: 600;
  }
  .sort-option.is-active {
    border-color: #f6dce2;
    background: #fff0f3;
    color: #171719;
  }
  .sort-option:hover,
  .sort-option:focus-visible { background: #fff; outline: none; }
  .sort-option.is-active:hover,
  .sort-option.is-active:focus-visible { background: #fff0f3; }
  .sort-radio {
    width: 30px;
    height: 30px;
    border: 3px solid #9da0a4;
    border-radius: 50%;
  }
  .sort-option.is-active .sort-radio {
    display: grid;
    place-items: center;
    border-color: #ed1235;
    background: #ed1235;
  }
  .sort-option.is-active .sort-radio::after {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    content: '';
  }
}
@keyframes sort-sheet-enter-mobile {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}
.sort-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 2px 12px 10px; color: rgba(255,255,255,.52); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sort-sheet__close { display: grid; width: 28px; height: 28px; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); }
.sort-sheet__close svg { width: 16px; height: 16px; }
.sort-options { display: grid; }
.sort-option { display: grid; grid-template-columns: 24px 1fr 20px; align-items: center; gap: 12px; min-height: 52px; padding: 0 12px; border: 0; border-radius: 14px; background: transparent; color: rgba(255,255,255,.9); text-align: left; font-size: 16px; font-weight: 500; }
.sort-option:hover, .sort-option:focus-visible { background: rgba(255,255,255,.1); outline: 0; }
.sort-option svg { width: 19px; height: 19px; color: rgba(255,255,255,.58); }
.sort-option.is-active { background: rgba(255,255,255,.08); color: #fff; }
.sort-option.is-active svg { color: #fff; }
.sort-option.is-active svg:last-child { color: #fff; }

@media (max-width: 720px) {
  .menu-drawer { width: 85vw; max-width: none; padding-top: calc(20px + env(safe-area-inset-top)); }
  .sort-sheet { top: calc(88px + env(safe-area-inset-top)); right: 12px; width: calc(100% - 24px); }
  .filter-backdrop { display: block; }
  .filter-sheet {
    position: fixed;
    inset: 0;
    z-index: 1001;
    width: 100%;
    max-height: none;
    overflow-y: auto;
    padding: calc(18px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
  }
  .filter-sheet__head { position: sticky; top: calc(-18px - env(safe-area-inset-top)); z-index: 3; margin: 0 -16px 16px; padding: 10px 16px 14px; background: rgba(255,255,255,.76); border-bottom: 1px solid rgba(210,208,202,.55); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
  .filter-sheet .filters__title { position: static; margin: 0 0 12px; padding: 0 0 12px; background: transparent; }
  .filter-sheet > .button { position: sticky; bottom: 0; z-index: 3; margin-top: 18px; box-shadow: 0 -12px 18px rgba(255,255,255,.58); }
}

/* V525 override: keep the filter surface dark when the mobile rules load last. */
@media (max-width: 720px) {
  .filter-sheet {
    color: rgba(255,255,255,.9);
    background: rgba(21,23,26,.78);
    border-color: rgba(255,255,255,.14);
    box-shadow: 18px 0 44px rgba(0,0,0,.22), 1px 0 2px rgba(255,255,255,.1) inset;
    backdrop-filter: blur(28px) saturate(1.22);
    -webkit-backdrop-filter: blur(28px) saturate(1.22);
  }
  .filter-sheet__head {
    background: rgba(21,23,26,.7);
    border-bottom-color: rgba(255,255,255,.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .filter-sheet > .button { box-shadow: 0 -12px 18px rgba(21,23,26,.58); }
  .filter-sheet,
  .filter-sheet .filter-group,
  .filter-sheet .filter-group label,
  .filter-sheet .filters__title,
  .filter-sheet .filters__title strong,
  .filter-sheet .filter-type-tab,
  .filter-sheet .filter-select,
  .filter-sheet .filter-pill,
  .filter-sheet .brand-filter-option,
  .filter-sheet .brand-filter-option span,
  .filter-sheet .brand-filter-more { color: #fff; }
  .filter-sheet .brand-filter-option span:not(.brand-filter-all) { font-size: 9px; font-weight: 500; }
}

/* V557: clarify the mobile filter sheet hierarchy and interaction states. */
@media (max-width: 720px) {
  .filter-sheet {
    scrollbar-width: none;
    padding: 16px 16px calc(84px + env(safe-area-inset-bottom));
  }
  .filter-sheet::-webkit-scrollbar { display: none; }
  .filter-sheet__head {
    align-items: center;
    margin: -16px -16px 14px;
    padding: 14px 16px 13px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    background: rgba(21,23,26,.94);
  }
  .filter-sheet__eyebrow {
    margin: 0 0 2px;
    color: rgba(255,255,255,.56);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
  }
  .filter-sheet__head h2 { font-size: 28px; line-height: 1.05; }
  .filter-sheet__actions { display: inline-flex; align-items: center; gap: 8px; }
  .filter-sheet__clear { margin: 0; padding: 5px 0; color: #e7c77e; font-size: 11px; }
  .filter-sheet__clear svg { width: 14px; height: 14px; }
  .filter-sheet .filters__title { display: none; }
  .filter-sheet .filter-group { padding: 14px 0; }
  .filter-sheet .filter-group:first-of-type { padding-top: 8px; border-top: 0; }
  .filter-sheet .filter-group label { margin-bottom: 8px; font-size: 11px; letter-spacing: .03em; }
  .filter-sheet .filter-type-tab { min-height: 38px; border-radius: 6px; font-size: 12px; }
  .filter-sheet .filter-type-tab.is-active { background: rgba(231,199,126,.2); border-color: rgba(231,199,126,.75); }
  .filter-sheet .brand-filter-grid { gap: 3px; }
  .filter-sheet .brand-filter-option { min-height: 64px; border-radius: 6px; }
  .filter-sheet > .button { min-height: 46px; margin-top: 14px; border-radius: 6px; background: var(--brand); box-shadow: 0 -10px 20px rgba(21,23,26,.7); font-size: 13px; }
}
  .stock-toolbar {
    position: sticky;
    top: calc(68px + env(safe-area-inset-top));
    z-index: 90;
    margin-inline: -6px;
    margin-bottom: 12px;
    padding: 5px 0;
  }
  .stock-toolbar::before { inset: 0 -12px; }
  .stock-content.has-sticky-toolbar { padding-top: var(--stock-toolbar-space, 0px); }
  .stock-layout { padding-top: 0; }
  .stock-breadcrumbs { padding-top: 4px; padding-bottom: 2px; }
  .stock-layout.has-sticky-breadcrumb { padding-top: var(--stock-breadcrumb-space, 0px); }
  .stock-breadcrumbs.is-stuck {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    z-index: 110;
    width: 100%;
    margin: 0;
    padding: 4px 16px 2px;
    background: var(--paper);
    border-bottom: 0;
    box-shadow: none;
  }
  .stock-toolbar.is-stuck {
    position: fixed;
    top: calc(68px + var(--stock-breadcrumb-space, 0px));
    right: 0;
    left: 0;
    z-index: 120;
    width: 100%;
    margin: 0;
    padding: 5px 16px 6px;
    border-top: 0;
    box-shadow: none;
    backdrop-filter: none;
  }
  .stock-toolbar.is-stuck::before { inset: 0; }
  .is-stock-page .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 4px 14px rgba(23,23,25,.06);
  }
  .is-stock-page .header-inner { height: 60px; }
  .is-stock-page .brand img { width: 124px; }
  .is-stock-page .stock-toolbar .mobile-filter-button,
  .is-stock-page .stock-toolbar .sort-select { font-size: 12px; font-weight: 600; }
  .is-stock-page .stock-grid { padding-top: 8px; }
  .is-stock-page .stock-grid { grid-auto-rows: 242px; padding-bottom: 8px; }
  .is-stock-page .stock-grid > .vehicle-card,
  .is-stock-page .stock-grid > .vehicle-promo-card { height: 100%; }
  .is-stock-page #main-content { padding-top: 60px; }
  .is-stock-page #main-content {
    padding-top: calc(60px + var(--stock-breadcrumb-space, 0px) + var(--stock-toolbar-space, 0px));
  }
  .is-stock-page .stock-layout.has-sticky-breadcrumb { padding-top: 0; }
  .is-stock-page .stock-content.has-sticky-toolbar { padding-top: 0; }
  .is-stock-page .stock-breadcrumbs.is-stuck { top: 60px; }
  .is-stock-page .stock-toolbar.is-stuck { top: calc(60px + var(--stock-breadcrumb-space, 0px)); }
}

/* V528: confirmation overlays use the same translucent glass depth as the menu. */
.modal-backdrop {
  background: rgba(7,9,12,.36);
  backdrop-filter: blur(8px) saturate(.9);
  -webkit-backdrop-filter: blur(8px) saturate(.9);
}

/* V560: mirror the reference filter flow with local, functional controls. */
.filter-quick-search {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  background: rgba(255,255,255,.08);
}
.filter-quick-search svg { flex: 0 0 auto; width: 16px; height: 16px; color: rgba(255,255,255,.68); }
.filter-quick-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 12px;
}
.filter-quick-search input::placeholder { color: rgba(255,255,255,.56); }
.filter-helper { margin: -3px 0 9px; color: rgba(255,255,255,.52); font-size: 10px; }
.filter-location {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.76);
  font-size: 11px;
}
.filter-location svg { width: 15px; height: 15px; color: #e7c77e; }
.filter-location strong { color: #fff; font-weight: 600; }
@media (max-width: 720px) {
  .filter-sheet .filter-group--quick-search { padding-top: 10px; }
  .filter-sheet .filter-quick-search { min-height: 40px; }
  .filter-sheet .filter-helper { font-size: 9px; }
  .filter-sheet .filter-location { min-height: 34px; font-size: 10px; }
}

/* V561: reference-style option rows for supported vehicle attributes. */
.filter-range-selects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.filter-choice-list { display: grid; gap: 6px; }
.filter-choice {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.82);
  font-size: 11px;
  text-align: left;
}
.filter-choice__check { display: inline-flex; width: 16px; height: 16px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.32); border-radius: 3px; }
.filter-choice__check svg { width: 12px; height: 12px; }
.filter-choice.is-active { border-color: rgba(231,199,126,.72); background: rgba(231,199,126,.16); color: #fff; }
.filter-choice.is-active .filter-choice__check { border-color: #e7c77e; background: #e7c77e; color: #1b1d20; }
.filter-group--highlights .filter-choice { border-color: rgba(231,199,126,.2); }
@media (max-width: 720px) {
  .filter-sheet .filter-choice { min-height: 36px; font-size: 10px; }
}

/* V562: faithfully reproduce the supplied reference hierarchy on the mobile filter sheet. */
@media (max-width: 720px) {
  .filter-sheet {
    color: #17202b;
    background: #fff;
    border: 0;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -8px 30px rgba(25,35,45,.14);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .filter-sheet__head {
    margin: -16px -16px 14px;
    padding: 18px 16px 14px;
    background: #fff;
    border-bottom: 1px solid #e6eaf0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .filter-sheet__head h2 { color: #17202b; font-size: 22px; font-weight: 700; }
  .filter-sheet__eyebrow { display: none; }
  .filter-sheet__actions { gap: 9px; }
  .filter-sheet .filter-sheet__clear { color: #d51f35; font-size: 11px; font-weight: 600; }
  .filter-sheet .filter-sheet__clear svg { color: #d51f35; }
  .filter-sheet .modal-close { color: #596370; }
  .filter-sheet .filter-group,
  .filter-sheet .filter-advanced { border-top-color: #e6eaf0; }
  .filter-sheet .filter-group label,
  .filter-sheet .filter-advanced > summary,
  .filter-sheet .filters__title strong { color: #17202b; }
  .filter-sheet .filter-helper { color: #87919d; }
  .filter-sheet .filter-quick-search,
  .filter-sheet .filter-type-tab,
  .filter-sheet .filter-select,
  .filter-sheet .filter-pill,
  .filter-sheet .filter-choice {
    border-color: #dfe4ea;
    background: #fff;
    color: #27313b;
  }
  .filter-sheet .filter-quick-search input { color: #27313b; }
  .filter-sheet .filter-quick-search input::placeholder { color: #a6afb9; }
  .filter-sheet .filter-quick-search svg { color: #d51f35; }
  .filter-sheet .filter-type-tab.is-active,
  .filter-sheet .filter-type-tab:hover,
  .filter-sheet .filter-pill.is-active,
  .filter-sheet .filter-pill:hover,
  .filter-sheet .filter-choice.is-active { border-color: #d51f35; background: #fff5f6; color: #b0182d; }
  .filter-sheet .filter-choice__meta { margin-left: auto; color: #8994a1; font-size: 10px; white-space: nowrap; }
  .filter-sheet .filter-choice__check { border-color: #d7dee6; color: #fff; }
  .filter-sheet .filter-choice.is-active .filter-choice__check { border-color: #d51f35; background: #d51f35; color: #fff; }
  .filter-sheet .filter-location { color: #596370; }
  .filter-sheet .filter-location svg { color: #d51f35; }
  .filter-sheet .filter-location strong { color: #d51f35; }
  .filter-sheet .brand-filter-option.is-active { background: #fff5f6; box-shadow: inset 0 0 0 1px #d51f35; }
  .filter-sheet .brand-filter-more { color: #d51f35; }
  .filter-sheet > .button { background: #b0182d; box-shadow: 0 -10px 20px rgba(255,255,255,.9); }
  .filter-reference-fields { display: grid; gap: 8px; }
  .filter-reference-block { display: grid; gap: 6px; }
  .filter-reference-label { color: #27313b; font-size: 12px; }
  .filter-reference-placeholder { overflow: hidden; color: #8994a1; text-overflow: ellipsis; white-space: nowrap; }
  .filter-reference-field { overflow: hidden; border: 1px solid #dfe4ea; border-radius: 6px; background: #fff; }
  .filter-reference-field > summary { min-height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; color: #17202b; cursor: pointer; font-size: 12px; list-style: none; }
  .filter-reference-field > summary::-webkit-details-marker { display: none; }
  .filter-reference-field > summary svg { width: 15px; height: 15px; color: #d51f35; transition: transform .2s ease; }
  .filter-reference-field[open] > summary { border-bottom: 1px solid #e6eaf0; }
  .filter-reference-field[open] > summary svg { transform: rotate(180deg); }
  .filter-reference-list { max-height: 252px; overflow-y: auto; }
  .filter-reference-option { width: 100%; min-height: 42px; display: grid; grid-template-columns: 28px minmax(0, 1fr) 18px; align-items: center; gap: 8px; padding: 0 10px; border: 0; border-bottom: 1px solid #edf0f3; background: #fff; color: #1d2a36; font-size: 11px; text-align: left; }
  .filter-reference-option img { width: 26px; height: 20px; object-fit: contain; }
  .filter-reference-option__visual { display: grid; min-width: 28px; min-height: 20px; place-items: center; }
  .filter-reference-option__check { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid #d1d9e2; border-radius: 4px; color: #fff; }
  .filter-reference-option__check svg { width: 12px; height: 12px; }
  .filter-reference-option.is-active { background: #fff5f6; color: #b0182d; }
  .filter-reference-option.is-active .filter-reference-option__check { border-color: #d51f35; background: #d51f35; }
  .filter-reference-input { min-height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-top: 1px solid #edf0f3; }
  .filter-reference-input svg { width: 15px; height: 15px; color: #d51f35; }
  .filter-reference-input input { min-width: 0; width: 100%; border: 0; outline: 0; color: #27313b; font: inherit; font-size: 11px; }
  .filter-price-options { display: grid; gap: 2px; }
  .filter-price-option { width: 100%; min-height: 42px; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 0 10px; border: 0; border-radius: 6px; background: #fff; color: #27313b; font: inherit; font-size: 12px; text-align: left; }
  .filter-price-option:hover, .filter-price-option.is-active { background: #fff5f6; color: #b0182d; }
  .filter-price-option__radio { width: 16px; height: 16px; border: 2px solid #d7dee6; border-radius: 50%; }
  .filter-price-option.is-active .filter-price-option__radio { border-color: #d51f35; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 8px #d51f35; }
  .filter-range-field { display: grid; gap: 6px; }
  .filter-range-field > span { color: #27313b; font-size: 12px; }
  .filter-category-options { display: grid; gap: 2px; }
  .filter-category-option { width: 100%; min-height: 42px; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto 18px; align-items: center; gap: 8px; padding: 0 10px; border: 0; border-radius: 6px; background: #fff; color: #27313b; font: inherit; font-size: 12px; text-align: left; }
  .filter-category-option:hover, .filter-category-option.is-active { background: #fff5f6; color: #b0182d; }
  .filter-category-option__icon { display: grid; place-items: center; color: #7e8791; }
  .filter-category-option__icon svg { width: 19px; height: 19px; }
  .filter-category-option__check { width: 16px; height: 16px; display: grid; place-items: center; border: 1px solid #d1d9e2; border-radius: 3px; color: #fff; }
  .filter-category-option__check svg { width: 12px; height: 12px; }
  .filter-category-option.is-active .filter-category-option__check { border-color: #d51f35; background: #d51f35; }
  .filter-group__toggle { width: 100%; min-height: 28px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0; border: 0; background: transparent; color: #17202b; font: inherit; font-size: 12px; font-weight: 600; text-align: left; }
  .filter-group__toggle svg { width: 15px; height: 15px; color: #d51f35; transition: transform .2s ease; }
  .filter-group.is-collapsed > :not(.filter-group__toggle) { display: none; }
  .filter-group.is-collapsed .filter-group__toggle svg { transform: rotate(-90deg); }
  .filter-attribute-options { display: grid; gap: 2px; }
  .filter-attribute-option { width: 100%; min-height: 42px; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 0 10px; border: 0; border-radius: 6px; background: #fff; color: #27313b; font: inherit; font-size: 12px; text-align: left; }
  .filter-attribute-option:hover, .filter-attribute-option.is-active { background: #fff5f6; color: #b0182d; }
  .filter-attribute-option__check { width: 16px; height: 16px; display: grid; place-items: center; border: 1px solid #d1d9e2; border-radius: 3px; color: #fff; }
  .filter-attribute-option__check svg { width: 12px; height: 12px; }
  .filter-attribute-option.is-active .filter-attribute-option__check { border-color: #d51f35; background: #d51f35; }
  .filter-color-option { grid-template-columns: 22px minmax(0, 1fr) auto 18px; }
  .filter-color-option__swatch { width: 20px; height: 20px; display: block; border: 1px solid rgba(39,49,59,.12); border-radius: 50%; background: var(--filter-color); }
  .filter-sheet > .button { position: sticky; bottom: calc(env(safe-area-inset-bottom) + 8px); z-index: 4; width: 100%; min-height: 50px; margin: 20px 0 0; border-radius: 8px; box-shadow: 0 -10px 24px rgba(255,255,255,.92), 0 4px 12px rgba(21,23,26,.12); }
  .filter-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .filter-sheet__head h2 { margin: 0; }
  .filter-sheet { padding-bottom: calc(104px + env(safe-area-inset-bottom)); transform: none; }
  .filter-sheet__footer { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1004; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 10px; margin: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.98); border-top: 1px solid #e6eaf0; box-shadow: 0 -10px 24px rgba(255,255,255,.9); }
  .filter-sheet__footer .filter-sheet__clear { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 0 6px; border: 0; background: transparent; color: #8994a1; font-size: 11px; font-weight: 600; }
  .filter-sheet__footer .filter-sheet__clear svg { width: 15px; height: 15px; }
  .filter-sheet__footer .button { position: static; width: 100%; min-height: 46px; margin: 0; padding: 0 12px; border-radius: 999px; box-shadow: 0 5px 14px rgba(176,24,45,.2); font-size: 12px; }
}

/* V591 final cascade: keep the filter drawer aligned with the dark glass menu. */
@media (max-width: 720px) {
  .filter-backdrop { background: rgba(7,9,12,.42); backdrop-filter: blur(10px) saturate(.86); -webkit-backdrop-filter: blur(10px) saturate(.86); }
  .filter-sheet { top: 0; right: auto; bottom: 0; left: 0; width: min(85vw, 390px); max-height: none; padding: calc(20px + env(safe-area-inset-top)) 22px calc(104px + env(safe-area-inset-bottom)); color: rgba(255,255,255,.9); background: rgba(21,23,26,.82); border: 0; border-right: 1px solid rgba(255,255,255,.14); border-radius: 0 26px 26px 0; box-shadow: 18px 0 44px rgba(0,0,0,.28), 1px 0 2px rgba(255,255,255,.1) inset; backdrop-filter: blur(28px) saturate(1.22); -webkit-backdrop-filter: blur(28px) saturate(1.22); }
  .filter-sheet__head { top: calc(-20px - env(safe-area-inset-top)); margin: calc(-20px - env(safe-area-inset-top)) -22px 0; padding: calc(20px + env(safe-area-inset-top)) 22px 24px; background: rgba(21,23,26,.86); border-bottom-color: rgba(255,255,255,.12); backdrop-filter: blur(24px) saturate(1.2); -webkit-backdrop-filter: blur(24px) saturate(1.2); }
  .filter-sheet__brand img { width: 142px; filter: brightness(0) invert(1); opacity: .96; }
  .filter-sheet .modal-close { display: grid; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; }
  .filter-sheet .filters__title { display: flex; margin: 0 -22px; padding: 20px 22px 16px; background: transparent; border-bottom-color: rgba(255,255,255,.12); }
  .filter-sheet .filters__title strong { color: #fff; font-size: 17px; }
  .filter-sheet .filter-sheet__clear { color: #e7c77e; }
  .filter-sheet .filter-group, .filter-sheet .filter-advanced { border-top-color: rgba(255,255,255,.12); }
  .filter-sheet .filter-group label, .filter-sheet .filter-group__toggle, .filter-sheet .filter-advanced > summary { color: rgba(255,255,255,.88); }
  .filter-sheet .filter-group__toggle { min-height: 42px; font-size: 14px; }
  .filter-sheet .filter-quick-search, .filter-sheet .filter-type-tab, .filter-sheet .filter-select, .filter-sheet .filter-pill, .filter-sheet .filter-choice, .filter-sheet .filter-reference-field, .filter-sheet .filter-price-option, .filter-sheet .filter-category-option, .filter-sheet .filter-attribute-option { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.07); color: rgba(255,255,255,.9); }
  .filter-sheet .filter-quick-search input, .filter-sheet .filter-reference-input input { color: #fff; }
  .filter-sheet .filter-quick-search input::placeholder, .filter-sheet .filter-reference-placeholder { color: rgba(255,255,255,.52); }
  .filter-sheet .filter-quick-search svg, .filter-sheet .filter-location svg, .filter-sheet .filter-reference-field > summary svg { color: #e7c77e; }
  .filter-sheet .filter-location { color: rgba(255,255,255,.72); }
  .filter-sheet .filter-location strong, .filter-sheet .filter-reference-field > summary { color: #fff; }
  .filter-sheet .filter-choice__meta { color: rgba(255,255,255,.5); }
  .filter-sheet .filter-reference-list, .filter-sheet .filter-reference-option { background: #24272b; }
  .filter-sheet .filter-reference-option { border-bottom-color: rgba(255,255,255,.09); color: #fff; }
  .filter-sheet .filter-reference-option.is-active { background: rgba(231,199,126,.16); color: #fff; }
  .filter-sheet .filter-range-field > span, .filter-sheet .filter-helper { color: rgba(255,255,255,.58); }
  .filter-sheet .filter-sheet__footer { right: auto; left: 0; width: min(85vw, 390px); padding: 12px 22px calc(12px + env(safe-area-inset-bottom)); background: rgba(21,23,26,.92); border-top-color: rgba(255,255,255,.12); box-shadow: 0 -10px 24px rgba(0,0,0,.26); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2); }
  .filter-sheet__footer .filter-sheet__clear { color: rgba(255,255,255,.62); }
  .filter-sheet__footer .button { border-radius: 14px; background: #b0182d; color: #fff; box-shadow: 0 5px 14px rgba(0,0,0,.22); }
}

/* V592: keep the filter actions visible while only the filter content scrolls. */
@media (max-width: 720px) {
  .filter-sheet {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
  }
  .filter-sheet__head {
    flex: 0 0 auto;
    position: relative;
    top: auto;
    z-index: 3;
    margin: 0;
    padding: calc(20px + env(safe-area-inset-top)) 22px 18px;
  }
  .filter-sheet__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 22px 22px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.38) transparent;
  }
  .filter-sheet__body .filters { padding: 0; }
  .filter-sheet__footer {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 4;
    flex: 0 0 auto;
    width: auto;
    margin: 0;
  }
}

/* V594: unify contrast across every filter heading and reference field. */
@media (max-width: 720px) {
  .filter-sheet,
  .filter-sheet .filters,
  .filter-sheet .filter-group,
  .filter-sheet .filter-reference-fields { color: rgba(255,255,255,.9); }
  .filter-sheet__head h2,
  .filter-sheet .filter-group > label,
  .filter-sheet .filter-group__toggle,
  .filter-sheet .filter-reference-label,
  .filter-sheet .filter-range-field > span,
  .filter-sheet .filter-advanced > summary { color: #fff; }
  .filter-sheet .filter-reference-label { font-weight: 600; }
  .filter-sheet .filter-reference-field > summary,
  .filter-sheet .filter-reference-placeholder,
  .filter-sheet .filter-select,
  .filter-sheet .filter-select select { color: rgba(255,255,255,.9); }
  .filter-sheet .filter-reference-field,
  .filter-sheet .filter-quick-search,
  .filter-sheet .filter-select,
  .filter-sheet .filter-type-tab,
  .filter-sheet .filter-choice,
  .filter-sheet .filter-price-option,
  .filter-sheet .filter-category-option,
  .filter-sheet .filter-attribute-option { background: rgba(255,255,255,.07); }
  .filter-sheet .filter-choice__meta,
  .filter-sheet .filter-reference-placeholder { color: rgba(255,255,255,.58); }
}

/* V595: show applied filters as a compact count on the toolbar button. */
.filter-count-badge {
  display: inline-grid;
  min-width: 17px;
  height: 17px;
  margin-left: 3px;
  padding: 0 4px;
  place-items: center;
  border-radius: 999px;
  background: #b0182d;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

/* V596: keep the sort control's icon, label and chevron inside its bounds. */
.sort-control {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) 15px;
  align-items: center;
  gap: 7px;
  overflow: hidden;
}
.sort-control > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.sort-control > svg:last-child { justify-self: end; }

/* V597: rebalance the mobile card rhythm without changing its two-column layout. */
@media (max-width: 720px) {
  .is-stock-page .stock-grid {
    column-gap: 8px;
    row-gap: 10px;
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }
  .is-stock-page .vehicle-card__body { padding: 10px 10px 10px; }
  .is-stock-page .vehicle-card__brand { margin-bottom: 1px; font-size: 9px; }
  .is-stock-page .vehicle-card__name { font-size: 15px; line-height: 1.16; }
  .is-stock-page .vehicle-card__version { margin: 3px 0 5px; font-size: 10px; line-height: 1.2; }
  .is-stock-page .vehicle-meta { margin-bottom: 5px; font-size: 9px; }
  .is-stock-page .vehicle-meta span { min-height: 24px; }
  .is-stock-page .vehicle-price { font-size: 9px; }
  .is-stock-page .vehicle-price strong { font-size: 19px; line-height: 1.08; }
  .is-stock-page .vehicle-card__offer-bar,
  .is-stock-page .vehicle-card__highlight-bar { min-height: 28px; margin: 8px -10px -10px; padding: 6px 10px; font-size: 8px; }
  .is-stock-page .vehicle-card__offer-bar svg:first-child,
  .is-stock-page .vehicle-card__highlight-bar svg:first-child { width: 14px; height: 14px; }
  .is-stock-page .vehicle-promo-card__body { padding: 10px; }

  .vehicle-carousel .vehicle-card__body { padding: 10px 10px 10px; }
  .vehicle-carousel .vehicle-card__brand { margin-bottom: 1px; font-size: 9px; }
  .vehicle-carousel .vehicle-card__name { font-size: 15px; line-height: 1.16; }
  .vehicle-carousel .vehicle-card__version { margin: 3px 0 5px; font-size: 10px; line-height: 1.2; }
  .vehicle-carousel .vehicle-meta { margin-bottom: 5px; font-size: 9px; }
  .vehicle-carousel .vehicle-meta span { min-height: 24px; }
  .vehicle-carousel .vehicle-price { font-size: 9px; }
  .vehicle-carousel .vehicle-price strong { font-size: 19px; line-height: 1.08; }
.vehicle-carousel .vehicle-card__offer-bar,
  .vehicle-carousel .vehicle-card__highlight-bar { min-height: 28px; margin: 8px -10px -10px; padding: 6px 10px; font-size: 8px; }
}

/* V600: open the glass navigation drawer from right to left. */
.menu-drawer {
  right: 0;
  left: auto;
  border-right: 0;
  border-left: 1px solid rgba(255,255,255,.14);
  border-radius: 26px 0 0 26px;
  box-shadow: -18px 0 44px rgba(0,0,0,.22), -1px 0 2px rgba(255,255,255,.1) inset;
}

/* V603: make the bottom navigation a full-width straight bar. */
@media (max-width: 720px) {
  .mobile-nav {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(72px + env(safe-area-inset-bottom));
    padding: 5px 8px env(safe-area-inset-bottom);
    border: 0;
    border-top: 1px solid rgba(222,221,216,.9);
    border-radius: 18px 18px 0 0;
    background: rgba(252,251,248,.98);
    box-shadow: 0 -8px 22px rgba(39,32,24,.1);
    backdrop-filter: blur(18px) saturate(1.05);
    -webkit-backdrop-filter: blur(18px) saturate(1.05);
  }
  .mobile-nav::before { display: none; }
  .mobile-nav a,
  .mobile-nav a.is-active {
    min-height: 46px;
    padding: 4px 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ink-soft);
    transform: none;
  }
  .mobile-nav a.is-active { color: var(--brand); }
  .mobile-nav a.is-active::before { display: none; }
  .mobile-nav a svg { filter: none; }
}

/* V604: translucent straight navigation bar with restrained liquid glass depth. */
@media (max-width: 720px) {
  .mobile-nav {
    background: rgba(20,20,22,.86);
    border-top-color: rgba(255,255,255,.14);
    box-shadow: 0 -8px 22px rgba(0,0,0,.2), 0 1px 2px rgba(255,255,255,.08) inset;
    backdrop-filter: blur(22px) saturate(1.15);
    -webkit-backdrop-filter: blur(22px) saturate(1.15);
  }
  .mobile-nav a { color: rgba(255,255,255,.66); }
  .mobile-nav a.is-active { color: #fff; }
}

/* V607: global dark premium surface, including cards and content sections. */
body { background: #111315; color: #f3f1ed; }
main,
.section,
.section--soft,
.brand-carousel-section,
.home-story-section,
.related,
.page-hero { background: #111315; color: #f3f1ed; }
.site-header,
.stock-toolbar { background: rgba(17,19,21,.94); border-color: rgba(255,255,255,.12); }
.site-header .brand img { filter: brightness(0) invert(1); }
.display-title,
.section-heading h2,
.home-story-copy h2,
.favorites-head h1,
.detail-summary h1,
.vehicle-card__name,
.vehicle-price strong { color: #f5f3ef; }
.eyebrow,
.section-heading p,
.home-story-copy > p:not(.eyebrow),
.home-contact-brand p,
.vehicle-card__version,
.vehicle-meta,
.vehicle-price,
.stock-summary { color: rgba(243,241,237,.66); }
.vehicle-card,
.home-store-card,
.detail-summary,
.spec,
.favorites-toolbar,
.modal,
.browse-link { background: rgba(29,32,35,.92); border-color: rgba(255,255,255,.13); color: #f3f1ed; box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.vehicle-card__body { background: transparent; }
.vehicle-card__brand { color: #d9b46d; }
.vehicle-promo-card { background: rgba(22,55,47,.94); border-color: rgba(100,202,166,.32); color: #dff8ed; }
.vehicle-promo-card__visual { background: linear-gradient(135deg, #234d42, #15352e); color: #c9f0e1; }
.home-store-card__tab,
.home-store-label,
.home-store-card__body p,
.home-store-card__body a,
.home-contact-link strong { color: #f3f1ed; }
.home-contact-link { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.field-wrap,
.filter-select,
.filter-type-tab,
.filter-pill,
.sort-control,
.page-button { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: #f3f1ed; }
.field-wrap input,
.field-wrap select,
.sort-select { color: #f3f1ed; }
.field-wrap input::placeholder { color: rgba(243,241,237,.5); }
.mobile-nav { background: rgba(20,20,22,.9); }

/* V608: return the complete interface to a clean light mode. */
body { background: #fff; color: #171719; }
main,
.section,
.section--soft,
.brand-carousel-section,
.home-story-section,
.related,
.page-hero { background: #fff; color: #171719; }
.site-header,
.stock-toolbar { background: rgba(255,255,255,.96); border-color: #deddd8; }
.site-header .brand img { filter: none; }
.display-title,
.section-heading h2,
.home-story-copy h2,
.favorites-head h1,
.detail-summary h1,
.vehicle-card__name,
.vehicle-price strong { color: #171719; }
.eyebrow,
.section-heading p,
.home-story-copy > p:not(.eyebrow),
.home-contact-brand p,
.vehicle-card__version,
.vehicle-meta,
.vehicle-price,
.stock-summary { color: #5e5c59; }
.vehicle-card,
.home-store-card,
.detail-summary,
.spec,
.favorites-toolbar,
.modal,
.browse-link { background: #fff; border-color: #deddd8; color: #171719; box-shadow: 0 8px 22px rgba(23,23,25,.08); }
.vehicle-card__body { background: transparent; }
.vehicle-card__brand { color: var(--brand); }
.vehicle-promo-card { background: var(--green-pale); border-color: #b8d8cc; color: #155440; }
.vehicle-promo-card__visual { background: linear-gradient(135deg, #d6eee5, #a8d4c3); color: #155440; }
.home-store-card__tab,
.home-store-label,
.home-store-card__body p,
.home-store-card__body a,
.home-contact-link strong { color: #171719; }
.home-contact-link { background: #fbfbfa; border-color: #deddd8; }
.field-wrap,
.filter-select,
.filter-type-tab,
.filter-pill,
.sort-control,
.page-button { background: #fff; border-color: #deddd8; color: #171719; }
.field-wrap input,
.field-wrap select,
.sort-select { color: #171719; }
.field-wrap input::placeholder { color: #8a8883; }
.mobile-nav { background: rgba(255,255,255,.84); border-top-color: rgba(120,125,132,.18); }

@media (max-width: 720px) {
  .filter-backdrop { background: rgba(18,20,22,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .menu-drawer,
  .filter-sheet,
  .sort-sheet { color: #171719; background: rgba(255,255,255,.96); border-color: #deddd8; box-shadow: 0 18px 44px rgba(23,23,25,.18); }
  .menu-drawer__head,
  .filter-sheet__head { border-bottom-color: #deddd8; background: rgba(255,255,255,.96); }
  .menu-drawer__brand img { filter: none; }
  .menu-drawer__close,
  .filter-sheet .modal-close,
  .sort-sheet__close { background: #f0efeb; color: #171719; }
  .menu-drawer__eyebrow,
  .menu-drawer__contact > p,
  .sort-sheet__head { color: #68655f; }
  .menu-drawer__nav a,
  .menu-contact-button { color: #171719; }
  .menu-drawer__nav a:hover,
  .menu-drawer__nav a:focus-visible,
  .menu-contact-button:hover { background: #f0efeb; color: #171719; }
  .menu-drawer__contact { border-top-color: #deddd8; }
  .menu-contact-button { border-color: #deddd8; background: #fbfbfa; }
  .filter-sheet .filter-group__toggle,
  .filter-sheet .filter-reference-label,
  .filter-sheet .filter-range-field > span,
  .filter-sheet .filter-advanced > summary,
  .filter-sheet__head h2 { color: #171719; }
  .filter-sheet .filter-quick-search,
  .filter-sheet .filter-type-tab,
  .filter-sheet .filter-select,
  .filter-sheet .filter-pill,
  .filter-sheet .filter-choice,
  .filter-sheet .filter-reference-field,
  .filter-sheet .filter-price-option,
  .filter-sheet .filter-category-option,
  .filter-sheet .filter-attribute-option { background: #fff; border-color: #deddd8; color: #171719; }
  .filter-sheet .filter-quick-search input,
  .filter-sheet .filter-reference-field > summary,
  .filter-sheet .filter-reference-placeholder { color: #171719; }
  .filter-sheet .filter-quick-search input::placeholder,
  .filter-sheet .filter-choice__meta,
  .filter-sheet .filter-reference-placeholder { color: #7d7a74; }
  .filter-sheet .filter-reference-list,
  .filter-sheet .filter-reference-option { background: #fff; color: #171719; }
  .filter-sheet .filter-reference-option { border-bottom-color: #eeeae4; }
  .filter-sheet__footer { background: rgba(255,255,255,.98); border-top-color: #deddd8; box-shadow: 0 -10px 24px rgba(23,23,25,.08); }
  .filter-sheet__footer .filter-sheet__clear { color: #68655f; }
  .sort-option { color: #171719; }
}
.menu-drawer,
.sort-sheet { background: rgba(255,255,255,.96); color: #171719; border-color: #deddd8; box-shadow: 0 18px 44px rgba(23,23,25,.16); }
.menu-drawer__nav a,
.menu-contact-button,
.sort-option { color: #171719; }
.site-footer { background: #fff; border-top: 1px solid #deddd8; color: #5e5c59; }
.site-footer a,
.site-footer strong { color: #171719; }
.site-footer .footer-bottom,
.site-footer .footer-legal-links,
.site-footer .footer-legal-links button,
.site-footer .footer-copyright,
.site-footer .footer-credit { color: #68655f; }
.site-footer .footer-legal-links button:hover { color: #171719; }
.site-footer .footer-credit strong { color: var(--brand); }

/* V613: Destaque and Oferta use compact switch controls. */
.filter-choice--toggle { grid-template-columns: minmax(0,1fr) auto 38px; }
.filter-choice--toggle .filter-choice__check {
  position: relative;
  width: 38px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: #e8eaf3;
  color: transparent;
  box-shadow: inset 0 0 0 1px rgba(37,43,61,.05);
}
.filter-choice--toggle .filter-choice__check::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(23,23,25,.18);
  content: '';
  transition: transform .18s ease;
}
.filter-choice--toggle.is-active .filter-choice__check { background: var(--brand); }
.filter-choice--toggle.is-active .filter-choice__check::after { transform: translateX(16px); }
.filter-choice--toggle .filter-choice__check svg { display: none; }

/* V614: make every checkbox marker visible and consistent. */
@media (max-width: 720px) {
  .filter-sheet .filter-choice:not(.filter-choice--toggle) .filter-choice__check,
  .filter-sheet .filter-reference-option__check,
  .filter-sheet .filter-category-option__check,
  .filter-sheet .filter-attribute-option__check {
    display: grid !important;
    width: 18px !important;
    height: 18px !important;
    place-items: center;
    visibility: visible !important;
    opacity: 1 !important;
    border: 1px solid #cfd5dc !important;
    border-radius: 4px;
    background: #fff !important;
    color: #fff !important;
  }
  .filter-sheet .filter-choice:not(.filter-choice--toggle).is-active .filter-choice__check,
  .filter-sheet .filter-reference-option.is-active .filter-reference-option__check,
  .filter-sheet .filter-category-option.is-active .filter-category-option__check,
  .filter-sheet .filter-attribute-option.is-active .filter-attribute-option__check {
    border-color: var(--brand) !important;
    background: var(--brand) !important;
  }
  .filter-sheet .filter-choice__check svg,
  .filter-sheet .filter-reference-option__check svg,
  .filter-sheet .filter-category-option__check svg,
.filter-sheet .filter-attribute-option__check svg { display: block !important; width: 12px; height: 12px; }
}

/* V615: keep location and vehicle type controls readable in the light filter sheet. */
@media (max-width: 720px) {
  .filter-sheet .filter-location {
    display: flex !important;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #eeeae4;
    border-radius: 8px;
    background: #faf9f6 !important;
    color: #5e5c59 !important;
    font-size: 12px;
  }
  .filter-sheet .filter-location svg { flex: 0 0 auto; color: var(--brand) !important; }
  .filter-sheet .filter-location strong { color: var(--brand) !important; }
  .filter-sheet .filter-type-tab {
    cursor: pointer;
    pointer-events: auto !important;
    color: #171719 !important;
    background: #fff !important;
  }
  .filter-sheet .filter-type-tab.is-active {
    border-color: var(--brand) !important;
    background: var(--brand-pale) !important;
    color: var(--brand) !important;
    box-shadow: inset 0 0 0 1px rgba(159,31,49,.08);
  }
  .filter-sheet .filter-choice--toggle .filter-choice__check {
    display: block !important;
    color: transparent !important;
  }
}

/* V616: keep range controls uniform and easy to scan. */
@media (max-width: 720px) {
  .filter-sheet .filter-range-selects {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
  }
  .filter-sheet .filter-range-field {
    min-width: 0;
  }
  .filter-sheet .filter-range-field > span {
    display: block;
    margin-bottom: 6px;
    color: #5e5c59 !important;
    font-size: 11px;
    font-weight: 600;
  }
  .filter-sheet .filter-range-field .filter-select {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px;
    padding: 0 30px 0 11px;
    border: 1px solid #d8d5ce !important;
    border-radius: 8px;
    background: #fff !important;
    color: #171719 !important;
    font-size: 12px;
    line-height: 1;
  }
}

/* V618: collapsed filter groups show only their heading. */
.filter-group.is-collapsed > :not(.filter-group__toggle) {
  display: none !important;
}

/* V620: full-width solid filter footer with a straight mobile surface. */
@media (max-width: 720px) {
  .filter-sheet__footer {
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)) !important;
    border-radius: 12px 12px 0 0 !important;
    background: #fff !important;
    border-top: 1px solid #deddd8 !important;
    box-shadow: 0 -8px 18px rgba(23,23,25,.08) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
.filter-sheet__footer .filter-sheet__clear { color: #68655f !important; }
  .filter-sheet__footer .button {
    border-radius: 10px !important;
    background: var(--brand) !important;
    color: #fff !important;
  }
}

/* V635: small store logo in the store selector. */
@media (max-width: 720px) {
  .filter-sheet__footer .filter-sheet__clear,
  .filter-sheet__footer .filter-sheet__clear svg { color: #171719 !important; }
  .filter-sheet__footer .button { background: #171719 !important; color: #fff !important; box-shadow: 0 5px 14px rgba(23,23,25,.18); }
  .filter-sheet .filter-group--quick-search > label {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
  }
  .filter-sheet__footer .filter-sheet__clear {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
  }
  .filter-sheet .filter-range-field--floating .filter-select {
    min-height: 40px;
    padding-top: 12px;
    padding-bottom: 2px;
    color: #5f6973 !important;
    font-weight: 400 !important;
  }
  .filter-sheet .filter-reference-field > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 16px;
    align-items: center;
    gap: 8px;
  }
  .filter-sheet .filter-reference-summary__visual {
    width: 24px;
    height: 22px;
    display: grid;
    place-items: center;
  }
  .filter-sheet .filter-reference-summary__visual img {
    width: 24px;
    max-height: 20px;
    object-fit: contain;
  }
  .filter-sheet .filter-brand-picker {
    display: grid;
    gap: 8px;
  }
  .filter-sheet .filter-brand-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .filter-sheet .filter-brand-option {
    position: relative;
    min-width: 0;
    min-height: 70px;
    display: grid;
    grid-template-rows: 36px auto;
    align-items: center;
    justify-items: center;
    gap: 3px;
    padding: 5px 3px 6px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #fff;
    color: #27313b;
    font: inherit;
    text-align: center;
  }
  .filter-sheet .filter-brand-option:hover,
  .filter-sheet .filter-brand-option.is-active {
    border-color: rgba(159,31,49,.35);
    background: #fff5f6;
    color: #9f1f31;
  }
  .filter-sheet .filter-brand-option__logo {
    width: 46px;
    height: 34px;
    display: grid;
    place-items: center;
  }
  .filter-sheet .filter-brand-option__logo img {
    width: 44px;
    max-height: 30px;
    object-fit: contain;
  }
  .filter-sheet .filter-brand-option__name {
    width: 100%;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .filter-sheet .filter-brand-option__check {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 10px;
    height: 10px;
    display: grid;
    place-items: center;
    border: 1px solid #d1d9e2;
    border-radius: 3px;
    background: #fff;
    color: #fff;
  }
  .filter-sheet .filter-brand-option__check svg {
    width: 8px;
    height: 8px;
  }
  .filter-sheet .filter-brand-option.is-active .filter-brand-option__check {
    border-color: #d51f35;
    background: #d51f35;
  }
  .filter-sheet .filter-brand-more {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: #9f1f31;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
  }
  .filter-sheet .filter-brand-more svg {
    width: 14px;
    height: 14px;
  }
  .filter-sheet .filter-attribute-option {
    grid-template-columns: 22px minmax(0, 1fr) auto 18px;
  }
  .filter-sheet .filter-attribute-option__icon {
    display: grid;
    place-items: center;
    color: #7e8791;
  }
  .filter-sheet .filter-attribute-option__icon svg {
    width: 18px;
    height: 18px;
  }
  .filter-sheet .filter-attribute-option__check {
    grid-column: 4;
  }
  .filter-sheet .filter-color-option {
    grid-template-columns: 22px minmax(0, 1fr) auto 18px;
  }
  .filter-sheet .filter-quick-option {
    width: 100%;
    min-height: 42px;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto 18px;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: #27313b;
    font: inherit;
    font-size: 12px;
    text-align: left;
  }
  .filter-sheet .filter-quick-option:hover,
  .filter-sheet .filter-quick-option.is-active {
    background: #fff5f6;
    color: #b0182d;
  }
  .filter-sheet .filter-quick-option__icon {
    display: grid;
    place-items: center;
    color: #7e8791;
  }
  .filter-sheet .filter-quick-option__icon svg {
    width: 18px;
    height: 18px;
  }
  .filter-sheet .filter-quick-option__check {
    width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    border: 1px solid #d1d9e2;
    border-radius: 3px;
    color: #fff;
  }
  .filter-sheet .filter-quick-option__check svg {
    width: 12px;
    height: 12px;
  }
  .filter-sheet .filter-quick-option.is-active .filter-quick-option__check {
    border-color: #d51f35;
    background: #d51f35;
  }
  .filter-sheet .filter-price-option__radio {
    width: 16px;
    height: 16px;
    border-width: 1px;
    border-radius: 4px;
  }
  .filter-sheet .filter-price-option.is-active .filter-price-option__radio {
    border-color: var(--brand);
    background: var(--brand);
    box-shadow: inset 0 0 0 3px #fff;
  }
  .filter-sheet .filter-range-helper {
    margin: 2px 0 6px;
    color: #7d7a74;
    font-size: 11px;
    line-height: 1.35;
  }
  .filter-sheet .filter-price-options--quick-price {
    gap: 2px;
    margin-bottom: 4px;
  }
  .filter-sheet .filter-price-options--quick-price .filter-price-option {
    min-height: 36px;
    padding-inline: 8px;
    font-size: 12px;
  }
  .filter-sheet .filter-range-selects--price {
    gap: 18px;
    margin-top: 4px;
  }
  .filter-sheet .filter-range-field--floating {
    position: relative;
    display: block;
  }
  .filter-sheet .filter-range-field--floating > span {
    position: absolute;
    top: -7px;
    left: 12px;
    z-index: 1;
    margin: 0;
    padding: 0 4px;
    background: #fff;
    color: #a9b2bc !important;
    font-size: 11px;
    font-weight: 500;
    text-transform: lowercase;
  }
  .filter-sheet .filter-range-field--floating .filter-select {
    min-height: 44px;
    padding: 14px 10px 3px 12px;
    appearance: none;
    -webkit-appearance: none;
    background-image: none !important;
    color: #a9b2bc !important;
    font-size: 12px;
  }
  .filter-sheet .filter-range-slider {
    position: relative;
    height: 28px;
    margin: 9px 2px 10px;
  }
  .filter-sheet .filter-range-slider::before {
    position: absolute;
    top: 12px;
    right: 0;
    left: 0;
    height: 4px;
    border-radius: 999px;
    background: #dfe7ee;
    content: '';
  }
  .filter-sheet .filter-range-slider::after {
    position: absolute;
    top: 12px;
    left: var(--range-min);
    width: calc(var(--range-max) - var(--range-min));
    height: 4px;
    border-radius: 999px;
    background: var(--gold);
    content: '';
    pointer-events: none;
    z-index: 1;
  }
  .filter-sheet .filter-range-slider input[type='range'] {
    position: absolute;
    top: 3px;
    left: 0;
    width: 100%;
    height: 22px;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    pointer-events: none;
    background: transparent;
    z-index: 2;
  }
  .filter-sheet .filter-range-slider input[type='range']::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
  }
  .filter-sheet .filter-range-slider input[type='range']::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    margin-top: -7px;
    appearance: none;
    -webkit-appearance: none;
    pointer-events: auto;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 1px 4px rgba(23,23,25,.22);
  }
  .filter-sheet .filter-range-slider input[type='range']::-moz-range-track {
    height: 4px;
    background: transparent;
  }
  .filter-sheet .filter-range-slider input[type='range']::-moz-range-thumb {
    width: 12px;
    height: 12px;
    pointer-events: auto;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 1px 4px rgba(23,23,25,.22);
  }
}

/* V619: keep filter controls clean when focused. */
.filter-sheet .filter-select:focus,
.filter-sheet .filter-select:focus-visible,
.filter-sheet .filter-reference-field > summary:focus,
.filter-sheet .filter-reference-field > summary:focus-visible,
.filter-sheet .filter-quick-search:focus-within,
.filter-sheet .filter-type-tab:focus,
.filter-sheet .filter-type-tab:focus-visible,
.filter-sheet .filter-choice:focus,
.filter-sheet .filter-choice:focus-visible,
.filter-sheet .filter-category-option:focus,
.filter-sheet .filter-category-option:focus-visible,
.filter-sheet .filter-attribute-option:focus,
.filter-sheet .filter-attribute-option:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
  border-color: #d8d5ce !important;
}

/* V611: filters open as a full-screen mobile surface. */
@media (max-width: 720px) {
  .filter-sheet {
    right: 0;
    left: 0;
    width: 100%;
    max-width: none;
    border-radius: 0;
  }
  .filter-sheet__footer { width: 100%; }
}

/* V612: restore readable contrast for every filter control in light mode. */
@media (max-width: 720px) {
  .filter-sheet,
  .filter-sheet__body,
  .filter-sheet .filters { color: #171719 !important; background: #fff; }
  .filter-sheet .filter-group,
  .filter-sheet .filter-advanced { border-color: #deddd8; }
  .filter-sheet .filter-group__toggle,
  .filter-sheet .filter-group > label,
  .filter-sheet .filter-reference-label,
  .filter-sheet .filter-range-field > span,
  .filter-sheet .filter-advanced > summary { color: #171719 !important; }
  .filter-sheet .filter-group__toggle svg,
  .filter-sheet .filter-advanced > summary svg { color: #68655f !important; }
  .filter-sheet .filter-quick-search,
  .filter-sheet .filter-type-tab,
  .filter-sheet .filter-select,
  .filter-sheet .filter-pill,
  .filter-sheet .filter-choice,
  .filter-sheet .filter-reference-field,
  .filter-sheet .filter-price-option,
  .filter-sheet .filter-category-option,
  .filter-sheet .filter-attribute-option { background: #fff !important; border-color: #deddd8 !important; color: #171719 !important; }
  .filter-sheet .filter-quick-search input,
  .filter-sheet .filter-reference-field > summary,
  .filter-sheet .filter-reference-option,
  .filter-sheet .filter-reference-placeholder,
  .filter-sheet .filter-price-option,
  .filter-sheet .filter-category-option,
  .filter-sheet .filter-attribute-option { color: #171719 !important; }
  .filter-sheet .filter-quick-search input::placeholder,
  .filter-sheet .filter-choice__meta,
  .filter-sheet .filter-reference-placeholder { color: #7d7a74 !important; }
  .filter-sheet .filter-reference-list,
  .filter-sheet .filter-reference-option { background: #fff !important; }
  .filter-sheet .filter-reference-option { border-bottom-color: #eeeae4 !important; }
  .filter-sheet .filter-choice.is-active,
  .filter-sheet .filter-price-option.is-active,
  .filter-sheet .filter-category-option.is-active,
  .filter-sheet .filter-attribute-option.is-active { background: var(--brand-pale) !important; color: var(--brand) !important; }
}

/* V609: solid white bottom navigation with clear labels and icons. */
@media (max-width: 720px) {
  .mobile-nav {
    background: #fff;
    border-top-color: #deddd8;
    box-shadow: 0 -5px 16px rgba(23,23,25,.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .mobile-nav a { color: #5e5c59; }
  .mobile-nav a.is-active { color: var(--brand); }
  .mobile-nav a.is-contact { color: var(--green); }
  .mobile-nav a svg { opacity: 1; }
}

/* V656: sorting sheet matches the supplied mobile reference. */
@media (max-width: 720px) {
  .sort-sheet {
    top: calc(68px + var(--stock-breadcrumb-space, 0px) + 76px) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 24px 24px calc(18px + env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    border-radius: 28px 28px 0 0 !important;
    background: #fff !important;
    color: #171719 !important;
    box-shadow: 0 -12px 36px rgba(23,23,25,.16) !important;
    animation: sort-sheet-enter-mobile .28s cubic-bezier(.22,.8,.26,1) both !important;
  }
  .sort-sheet__close {
    display: grid !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 0 30px !important;
    padding: 0 !important;
    place-items: center;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f1f1ef !important;
    color: #171719 !important;
  }
  .sort-sheet__close svg { width: 18px !important; height: 18px !important; stroke-width: 2; }
  .sort-sheet .sort-sheet__head {
    display: block !important;
    padding: 0 0 18px !important;
    color: #171719 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: -.02em !important;
    line-height: 1.15 !important;
    text-transform: none !important;
  }
  .sort-sheet .sort-options { display: grid; gap: 10px; }
  .sort-sheet .sort-option {
    display: grid !important;
    grid-template-columns: 32px 1fr !important;
    align-items: center;
    gap: 16px !important;
    min-height: 44px !important;
    padding: 0 18px !important;
    border: 2px solid #e7e7e7 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #707070 !important;
    text-align: left;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.2;
  }
  .sort-sheet .sort-option.is-active {
    border-color: #f6dce2 !important;
    background: #fff0f3 !important;
    color: #171719 !important;
  }
  .sort-sheet .sort-option:hover,
  .sort-sheet .sort-option:focus-visible { background: #fff !important; outline: 0; }
  .sort-sheet .sort-option.is-active:hover,
  .sort-sheet .sort-option.is-active:focus-visible { background: #fff0f3 !important; }
  .sort-sheet .sort-radio {
    width: 24px !important;
    height: 24px !important;
    border: 2px solid #9da0a4 !important;
    border-radius: 50% !important;
    background: transparent !important;
  }
  .sort-sheet .sort-option.is-active .sort-radio {
    display: grid;
    place-items: center;
    border-color: #ed1235 !important;
    background: #ed1235 !important;
  }
.sort-sheet .sort-option.is-active .sort-radio::after {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    content: '';
  }
}

/* Keep the always-on opportunity rows neutral, regardless of later theme rules. */
@media (max-width: 720px) {
  .filter-sheet .filter-choice--toggle.is-active,
  .filter-sheet .filter-choice--toggle.is-active:hover,
  .filter-sheet .filter-choice--toggle.is-active:focus-visible {
    background: #fff !important;
    border-color: #deddd8 !important;
    color: #171719 !important;
  }

  .filter-sheet .filter-choice--toggle.is-active > span:first-child {
    color: #171719 !important;
  }

  .filter-sheet .filter-choice--toggle.is-active .filter-choice__meta {
    color: #77736d !important;
  }

  .site-header .brand img {
    width: 108px !important;
  }

  .menu-drawer__brand img {
    width: 108px !important;
  }

  .header-actions .icon-button.is-saved .count-badge {
    font-weight: 400 !important;
  }

  .toast-region {
    right: 10px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    max-width: min(250px, calc(100% - 20px));
  }

  .toast {
    gap: 6px;
    padding: 7px 9px;
    border-radius: 4px;
    font-size: 10px;
  }

  .toast svg {
    width: 14px;
    height: 14px;
  }

  .whatsapp-float {
    width: 46px !important;
    height: 46px !important;
  }

  .whatsapp-float .whatsapp-logo {
    width: 22px !important;
    height: 22px !important;
  }

  .search-panel {
    grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr) !important;
  }

  .search-panel > label {
    grid-column: 1 / -1;
  }

  .search-panel .home-filter-trigger,
  .search-panel > .button {
    min-width: 0;
    min-height: 44px;
    white-space: nowrap;
  }

  .search-panel {
    bottom: calc(72px + env(safe-area-inset-bottom) + 16px) !important;
    gap: 10px !important;
    padding: 12px !important;
  }

  .search-panel .field-wrap input {
    font-weight: 400 !important;
    font-size: 11px !important;
  }

  .search-panel .home-filter-trigger {
    gap: 8px;
    padding-inline: 12px;
    font-size: 12px !important;
  }

  .search-panel .field-wrap > svg:first-child {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px;
    margin-left: 12px !important;
  }

  .search-panel .home-filter-trigger > svg:first-child { margin-left: 0 !important; }

  .search-panel .home-filter-trigger > svg:first-child {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
  }

  .search-panel > .button {
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 700;
    font-size: 10px !important;
    min-height: 38px !important;
    background: #171719 !important;
    color: #fff !important;
    box-shadow: 0 7px 16px rgba(23,23,25,.16) !important;
  }

  .search-panel .field-wrap,
  .search-panel .home-filter-trigger,
  .search-panel > .button {
    min-height: 38px !important;
  }

  .search-panel .field-wrap input,
  .search-panel .field-wrap select {
    height: 36px !important;
  }

  .search-panel > .button svg {
    display: block !important;
    width: 17px !important;
    height: 17px !important;
    flex: 0 0 17px !important;
    color: currentColor !important;
    stroke: currentColor !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .hero .search-panel.is-stuck {
    position: fixed !important;
    z-index: 140;
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    transform: none !important;
    padding: 8px !important;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 28px rgba(23,23,25,.16);
  }
}
