/**
 * Dealer homepage (storefront) — ABC MOTORS mockup standard.
 * No left color stripe. Uses hub skin tokens (--brand / --brand-deep).
 * Reset below matches web3 region.css so this sheet renders the same
 * without loading the regional hub stylesheet.
 */

:root {
  --ink: #0b1220;
  --ink-soft: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-2: #f5f7fb;
  --brand: #1d4ed8;
  --brand-deep: #1e3a8a;
  --brand-soft: #eff6ff;
  --brand-glow: rgba(29, 78, 216, 0.22);
  --font: Inter, "Segoe UI", sans-serif;
  --font-display: Inter, "Segoe UI", sans-serif;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.ds-body {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  color: #0b1220;
  background: #fff;
  --blue: #1769aa;
  --navy: #0b1f33;
  --ink: #101828;
  --muted: #667085;
}

.ds-shell {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

.ds-hub-chip {
  position: fixed;
  z-index: 60;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e8f0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.ds-hub-chip:hover {
  color: var(--brand, #1d4ed8);
}

.ds-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  color: #fff;
}

.ds-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding-top: 0.35rem;
}

.ds-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: inherit;
  flex-shrink: 0;
}

.ds-logo__mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.95rem;
}

.ds-logo--foot {
  color: #fff;
  margin-bottom: 0.55rem;
}

.ds-logo--foot .ds-logo__mark {
  background: var(--brand, #1d4ed8);
}

.ds-nav {
  display: flex;
  gap: 0.15rem;
  margin-inline: auto;
  font-weight: 600;
  font-size: 0.92rem;
}

.ds-nav a {
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
}

.ds-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.ds-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.ds-phone {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.9rem;
}

.ds-lang {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ds-lang__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.ds-lang__select {
  appearance: none;
  margin: 0;
  max-width: 9.5rem;
  padding: 0.4rem 1.7rem 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='white' d='M1 1.2 6 6.2 11 1.2'/%3E%3C/svg%3E")
    right 0.6rem center / 10px 6px no-repeat;
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.ds-lang__select option {
  color: #0b1220;
}

/* Vehicle detail: no dark hero — solid light header so text stays readable */
.ds-body--vehicle .ds-header {
  position: sticky;
  top: 0;
  color: #0b1220;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line, #e2e8f0);
  backdrop-filter: blur(10px);
}

.ds-body--vehicle .ds-header__inner {
  justify-content: space-between;
}

.ds-body--vehicle .ds-logo__mark {
  background: var(--brand-soft, #eff6ff);
  color: var(--brand-deep, #1e3a8a);
}

/* Detail page: drop section nav — avoids white-on-white + overflow on narrow */
.ds-body--vehicle .ds-nav {
  display: none;
}

.ds-body--vehicle .ds-phone {
  color: #334155;
}

.ds-body--vehicle .ds-lang__select {
  border-color: #cbd5e1;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23475567' d='M1 1.2 6 6.2 11 1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 10px 6px;
  color: #0b1220;
  -webkit-text-fill-color: #0b1220;
}

.ds-body--vehicle .ds-header .ds-btn--primary {
  background: var(--brand, #1d4ed8);
  color: #fff;
}

@media (max-width: 720px) {
  .ds-body--vehicle .ds-header__inner {
    gap: 0.5rem;
  }

  .ds-body--vehicle .ds-phone {
    display: none;
  }

  .ds-body--vehicle .ds-lang__select {
    max-width: 7.75rem;
    min-width: 6.25rem;
    font-size: 0.8rem;
    color: #0b1220;
    -webkit-text-fill-color: #0b1220;
  }

  .ds-body--vehicle .ds-header .ds-btn--primary {
    padding-inline: 0.85rem;
    font-size: 0.85rem;
  }
}

.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid transparent;
}

.ds-btn--primary {
  background: var(--brand, #1d4ed8);
  color: #fff;
}

.ds-btn--primary:hover {
  filter: brightness(1.06);
}

.ds-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.ds-btn--dark {
  background: #0b1220;
  color: #fff;
}

.ds-btn--outline {
  background: #fff;
  border-color: #cbd5e1;
  color: #0b1220;
}

.ds-btn--round {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 999px;
}

/* Hero: left copy · right = real showroom with white floor for white-bg cars */
/* Full-bleed empty showroom photo under the entire hero */
.ds-hero {
  position: relative;
  min-height: clamp(560px, 86vh, 760px);
  color: #fff;
  overflow: hidden;
  background: #0b1220;
}

.ds-hero--showroom {
  display: grid;
  align-items: stretch;
  /* Extra bottom air so the dealer card can overlap the hall floor cleanly */
  padding: 5.5rem 0 4.5rem;
}

.ds-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  /* never filter the hall photo — first showroom quality depends on a clean plate */
  filter: none;
  /* no scale() — even 1.02 softens a full-bleed plate on retina */
}

.ds-hero__bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  /* crisp decode of 2560×1440 plate */
  image-rendering: auto;
  -webkit-user-drag: none;
  user-select: none;
}

/* Soft left readability veil — keep bottom floor bright so screen-blend car melts in */
.ds-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      100deg,
      rgba(6, 10, 18, 0.78) 0%,
      rgba(6, 10, 18, 0.5) 26%,
      rgba(6, 10, 18, 0.16) 48%,
      transparent 70%
    ),
    linear-gradient(180deg, rgba(6, 10, 18, 0.32) 0%, transparent 34%, transparent 62%, rgba(255, 255, 255, 0.18) 82%, rgba(255, 255, 255, 0.42) 100%);
}

/* Hall wall plaque — one plane for logo+name; pose from styles.*.board */
.ds-lobby-board {
  display: none;
}

.ds-hero--has-board .ds-lobby-board {
  display: flex;
  position: absolute;
  /* Behind cars (cars z=3) — sits on wall plane */
  z-index: 2;
  pointer-events: none;
  /* Modern glass board 定稿 fallback；真源 styles.modern.board（locked） */
  top: 32%;
  left: 59.5%;
  width: 12%;
  height: 15%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6%;
  padding: 0.35rem 0.3rem;
  box-sizing: border-box;
  text-align: center;
  /* left nearer, right farther */
  transform: perspective(1000px) rotateY(14deg) rotateX(3deg) skewY(-1.2deg);
  transform-origin: left center;
  mix-blend-mode: multiply;
  opacity: 0.9;
}

.ds-hero--has-board .ds-lobby-board__logo {
  max-width: 48%;
  max-height: 40%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: contrast(0.94) blur(0.25px);
  transform: none;
}

.ds-hero--has-board .ds-lobby-board__mark {
  width: clamp(2.2rem, 3.2vw, 3.2rem);
  height: clamp(2.2rem, 3.2vw, 3.2rem);
  border-radius: 0.35rem;
  display: grid;
  place-items: center;
  font-size: clamp(1.05rem, 1.55vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
  background: linear-gradient(155deg, #1e3a8a 0%, #1e293b 78%);
  filter: contrast(0.94) blur(0.25px);
  box-shadow: none;
  transform: none;
}

.ds-hero--has-board .ds-lobby-board__name {
  margin: 0;
  max-width: 100%;
  font-size: clamp(0.72rem, 1.1vw, 1.05rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: #26292e;
  text-shadow: 0 0 1px rgba(38, 41, 46, 0.22);
  word-break: break-word;
}

.ds-hero--has-board .ds-lobby-board__meta {
  margin: 0;
  font-size: clamp(0.42rem, 0.52vw, 0.55rem);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4a4f55;
}

@media (max-width: 1100px) {
  .ds-hero--has-board .ds-lobby-board {
    display: none;
  }
}

/* Dark halls: less white floor wash, still no photo filters */
.ds-hero--floor-dark .ds-hero__veil {
  background:
    linear-gradient(
      100deg,
      rgba(6, 10, 18, 0.72) 0%,
      rgba(6, 10, 18, 0.42) 30%,
      rgba(6, 10, 18, 0.12) 55%,
      transparent 75%
    ),
    linear-gradient(180deg, rgba(6, 10, 18, 0.28) 0%, transparent 40%, rgba(6, 10, 18, 0.2) 100%);
}

/* Preview switchers — style × tone × car */
/* Debug chips: top-right so they don't cover tires / dual occlusion */
.ds-showroom-switchers {
  position: absolute;
  z-index: 5;
  top: 4.75rem;
  right: max(1rem, calc((100% - 1180px) / 2 + 1rem));
  bottom: auto;
  display: grid;
  gap: 0.35rem;
  justify-items: end;
  max-width: min(100% - 2rem, 560px);
  pointer-events: none;
}

.ds-showroom-switchers .ds-showroom-switch {
  pointer-events: auto;
}

.ds-showroom-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 0.4rem 0.5rem;
  border-radius: 999px;
  background: rgba(8, 12, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.ds-showroom-switch__label {
  margin-inline-end: 0.15rem;
  padding-inline: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.ds-showroom-switch__chip {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  border: 1px solid transparent;
}

.ds-showroom-switch__chip:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.ds-showroom-switch__chip.is-active {
  color: #0b1220;
  background: #fff;
  border-color: #fff;
}

.ds-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.28fr);
  gap: 1.25rem 1.75rem;
  align-items: end;
  min-height: clamp(440px, 68vh, 620px);
}

.ds-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  padding: 1rem 0 2rem;
  max-width: 34rem;
}

/* Defaults — each .ds-hero-car sets its own --ds-car-* inline from config */
.ds-hero {
  --ds-car-w: 600px;
  --ds-car-x: 0px;
  --ds-car-y: 0px;
  --ds-car-scale: 1;
}

/* 1–2 cars in the right column; each slot has its own fit vars */
.ds-hero-cars {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  align-self: end;
  justify-self: stretch;
  width: 100%;
  min-height: 0;
  pointer-events: none;
}

.ds-hero-cars--align-center {
  justify-content: center;
}

.ds-hero-cars--align-end {
  justify-content: flex-end;
}

/* Dual: restore tuned same-cell stack (shared floor anchor) */
.ds-hero-cars--n2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(260px, 1fr);
  align-items: end;
  justify-items: end;
  gap: 0;
  min-height: clamp(280px, 46vh, 440px);
}

.ds-hero-cars--n2.ds-hero-cars--align-center {
  justify-items: center;
}

.ds-hero-cars--n2 .ds-hero-car {
  grid-area: 1 / 1;
  justify-self: inherit;
}

/* Remote black-studio car — size/pos from own --ds-car-* */
.ds-hero-car {
  position: relative;
  z-index: 3;
  display: block;
  flex: 0 0 auto;
  width: min(100%, var(--ds-car-w));
  text-decoration: none;
  color: #0f172a;
  padding: 0;
  /* room for absolute price tag above roof — bottom margin 0 keeps dual floors aligned */
  margin-top: 3.25rem;
  margin-bottom: 0;
  pointer-events: auto;
  cursor: pointer;
  /* scale from tires so front/back size doesn't lift wheels off the floor */
  transform-origin: center bottom;
  /* never animate opacity — isolates mix-blend and shows black plate */
  transform: translate(var(--ds-car-x), calc(var(--ds-car-y) + 16px)) scale(var(--ds-car-scale));
  animation: ds-hero-car-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

.ds-hero-car--secondary {
  animation-delay: 0.2s;
}

/* z-index only from layer — slot primary/secondary must not override */
.ds-hero-car--layer-back {
  z-index: 2;
}

.ds-hero-car--layer-front {
  z-index: 4;
}

.ds-hero-car--no-tag .ds-hero-car__tag {
  display: none;
}

@keyframes ds-hero-car-in {
  to {
    transform: translate(var(--ds-car-x), var(--ds-car-y)) scale(var(--ds-car-scale));
  }
}

.ds-hero-car__shadow {
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  width: 68%;
  height: 1.15rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.34), transparent 72%);
  filter: blur(5px);
  z-index: 1;
  pointer-events: none;
}

.ds-hero-car__img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: var(--ds-car-w);
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  mix-blend-mode: screen;
  filter: contrast(1.06) saturate(1.05);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ds-hero-car:hover .ds-hero-car__img {
  transform: translateY(-8px) scale(1.02);
}

/* Dual: nudge cutouts a bit larger; keep slot fit / tag / floor as-is */
.ds-hero-cars--n2 .ds-hero-car__img {
  transform: scale(1.1);
  transform-origin: center bottom;
}

.ds-hero-cars--n2 .ds-hero-car:hover .ds-hero-car__img {
  transform: translateY(-8px) scale(1.12);
}

.ds-hero-car__tag {
  position: absolute;
  left: 50%;
  /* Sit above the cutout (was under tires). */
  top: auto;
  bottom: calc(100% + 0.55rem);
  transform: translateX(-50%);
  z-index: 5;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  max-width: min(100%, 18rem);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  text-align: center;
  backdrop-filter: blur(8px);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

/* Caret pointing down at the car cutout */
.ds-hero-car__tag::before,
.ds-hero-car__tag::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  pointer-events: none;
}

.ds-hero-car__tag::before {
  margin-top: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(15, 23, 42, 0.1);
}

.ds-hero-car__tag::after {
  margin-top: -1px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid rgba(255, 255, 255, 0.96);
}

.ds-hero-car:hover .ds-hero-car__tag,
.ds-hero-car:focus-visible .ds-hero-car__tag {
  border-color: rgba(29, 78, 216, 0.35);
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.18);
  transform: translateX(-50%) translateY(-2px);
}

.ds-hero-car:hover .ds-hero-car__tag::before,
.ds-hero-car:focus-visible .ds-hero-car__tag::before {
  border-top-color: rgba(29, 78, 216, 0.35);
}

.ds-hero-car__tag strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ds-hero-car__tag em {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 800;
  color: #1d4ed8;
}

/* Legacy multi-bay stage (kept if re-enabled) */
.ds-floor-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.2rem;
  align-items: end;
  min-height: clamp(260px, 46vh, 400px);
  padding: 0 0.25rem 0.2rem;
  isolation: isolate;
}

.ds-floor-car {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: end;
  text-decoration: none;
  color: #0f172a;
  min-height: 100%;
  padding: 0 0.1rem;
  opacity: 0;
  transform: translateY(18px);
  animation: ds-floor-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0s);
}

.ds-floor-car--2 { z-index: 2; }
.ds-floor-car--1,
.ds-floor-car--3 { z-index: 1; }

@keyframes ds-floor-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ds-floor-car__shadow {
  position: absolute;
  left: 50%;
  bottom: 2.85rem;
  width: 72%;
  height: 1rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.32), transparent 72%);
  filter: blur(4px);
  z-index: 1;
  pointer-events: none;
}

.ds-floor-car__img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 340px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  /* Pure white studio pixels dissolve into the showroom; car body stays */
  mix-blend-mode: multiply;
  filter: contrast(1.04) saturate(1.05) drop-shadow(0 16px 24px rgba(15, 23, 42, 0.28));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.ds-floor-car:hover .ds-floor-car__img {
  transform: translateY(-6px) scale(1.03);
  filter: contrast(1.05) saturate(1.06) drop-shadow(0 22px 30px rgba(15, 23, 42, 0.32));
}

.ds-floor-car__tag {
  position: relative;
  z-index: 3;
  margin-top: 0.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  max-width: 100%;
  text-align: center;
  backdrop-filter: blur(8px);
}

.ds-floor-car__tag strong {
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 14ch;
}

.ds-floor-car__tag em {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 800;
  color: #1d4ed8;
}

.ds-pager-dot {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 800;
  font-size: 0.86rem;
}

.ds-pager-dot:hover {
  color: #fff;
}

.ds-pager-sep {
  opacity: 0.45;
}

.ds-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.ds-hero h1 {
  margin: 0 0 0.75rem;
  max-width: 14ch;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.ds-hero h1 em {
  font-style: normal;
  color: #93c5fd;
}

.ds-hero__lead {
  margin: 0 0 1.35rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.ds-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.ds-play {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  font-weight: 700;
}

.ds-play__icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.ds-hero__pager {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.ds-pager-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

/* Dealer identity card — sits under hero, lifts into the hall floor */
.ds-dealer-card {
  position: relative;
  z-index: 6;
  margin-top: -2.75rem;
  margin-bottom: 0;
  /* Overlap stays clear so the hall photo shows; the rest matches .ds-brands. */
  background: linear-gradient(to bottom, transparent 2.75rem, #f7f8fb 2.75rem);
}

.ds-dealer-card__panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(210px, 250px);
  gap: 0.85rem 1.75rem;
  align-items: center;
  padding: 1.15rem 1.4rem;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.12),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
}

.ds-dealer-card__identity {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  min-width: 0;
}

.ds-dealer-card__mark {
  flex: 0 0 auto;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display, Inter, system-ui, sans-serif);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: #fff;
  background: linear-gradient(145deg, #3b82f6, #1e3a8a);
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.28);
}

.ds-dealer-card__who {
  min-width: 0;
}

.ds-dealer-card__name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}

.ds-dealer-card__name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b1220;
  line-height: 1.2;
}

.ds-dealer-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.ds-dealer-card__badge.is-ok {
  background: #ecfdf5;
  color: #047857;
}

.ds-dealer-card__badge.is-muted {
  background: #f1f5f9;
  color: #64748b;
}

.ds-dealer-card__focus {
  margin: 0.35rem 0 0;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 650;
}

.ds-dealer-card__place {
  margin: 0.3rem 0 0;
  color: #64748b;
  font-size: 0.84rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.4rem;
  line-height: 1.4;
}

.ds-dealer-card__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  min-width: 0;
}

.ds-dealer-card__stats li {
  display: grid;
  gap: 0.12rem;
  justify-items: center;
  text-align: center;
  min-width: 4.4rem;
  padding: 0.15rem 0.85rem;
  background: transparent;
  border: 0;
  border-inline-end: 1px solid #e6ebf2;
}

.ds-dealer-card__stats li:last-child {
  border-inline-end: 0;
  padding-inline-end: 0.2rem;
}

.ds-dealer-card__stats strong {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0b1220;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.ds-dealer-card__stats span {
  font-size: 0.72rem;
  font-weight: 650;
  color: #64748b;
  white-space: nowrap;
}

.ds-dealer-card__aside {
  display: grid;
  gap: 0.7rem;
  justify-items: stretch;
  min-width: 0;
}

.ds-dealer-card__hours {
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
  text-align: end;
  line-height: 1.35;
}

.ds-dealer-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.ds-dealer-card__actions .ds-btn {
  width: 100%;
  justify-content: center;
  min-height: 2.55rem;
  font-size: 0.88rem;
}

/* Reference strip — AutoMax-style 4-column bar under identity card */
.ds-dealer-strip {
  /* Held back until the strip is ready to show again. */
  display: none;
  margin-top: 0.85rem;
  grid-template-columns: minmax(220px, 1.4fr) minmax(150px, 0.85fr) minmax(170px, 0.95fr) auto;
  align-items: center;
  gap: 0;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e8edf3;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.ds-dealer-strip__brand,
.ds-dealer-strip__cell,
.ds-dealer-strip__follow-wrap {
  min-width: 0;
  padding: 0.35rem 1.1rem;
}

.ds-dealer-strip__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-left: 0.25rem;
}

.ds-dealer-strip__cell,
.ds-dealer-strip__follow-wrap {
  border-inline-start: 1px solid #e8edf3;
}

.ds-dealer-strip__follow-wrap {
  display: flex;
  justify-content: center;
  padding-right: 0.35rem;
}

.ds-dealer-strip__logo {
  flex: 0 0 auto;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  background: linear-gradient(145deg, #2563eb, #1e3a8a);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
}

.ds-dealer-strip__name {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0b1220;
  letter-spacing: -0.02em;
}

.ds-dealer-strip__check {
  color: #2563eb;
  display: inline-flex;
  line-height: 0;
}

.ds-dealer-strip__tagline {
  margin: 0.2rem 0 0;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.35;
}

.ds-dealer-strip__rating {
  margin: 0.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.4rem;
  font-size: 0.86rem;
  color: #334155;
}

.ds-dealer-strip__stars {
  color: #f59e0b;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
}

.ds-dealer-strip__rating strong {
  font-weight: 800;
  color: #0b1220;
}

.ds-dealer-strip__rating span:last-child {
  color: #64748b;
}

.ds-dealer-strip__line {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #2563eb;
  font-size: 0.95rem;
}

.ds-dealer-strip__line strong,
.ds-dealer-strip__line a {
  color: #0b1220;
  font-weight: 750;
  text-decoration: none;
}

.ds-dealer-strip__line a:hover {
  color: #2563eb;
}

.ds-dealer-strip__sub {
  margin: 0.4rem 0 0 1.55rem;
  color: #64748b;
  font-size: 0.84rem;
}

.ds-dealer-strip__wa {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.5rem 0 0 1.55rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
}

.ds-dealer-strip__wa:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.ds-dealer-strip__follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.7rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid #2563eb;
  color: #1d4ed8;
  font-weight: 750;
  font-size: 0.92rem;
  text-decoration: none;
  background: #fff;
  white-space: nowrap;
}

.ds-dealer-strip__follow:hover {
  background: #eff6ff;
}

/* Brands — logo rail + card grid */
.ds-brands {
  background: #f7f8fb;
  border-bottom: 1px solid #eef2f7;
  padding: 0 0 2.6rem;
}

.ds-brand-rail {
  /* Same brands as the card grid below — hide until the rail is a distinct module. */
  display: none;
  background: #fff;
  border-bottom: 1px solid #eef2f7;
  padding: 1.15rem 0 1.05rem;
  margin-bottom: 1.75rem;
}

.ds-brand-rail__eyebrow {
  margin: 0 0 0.85rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
}

.ds-brand-rail__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.ds-brand-rail__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  text-decoration: none;
  color: #334155;
  border-inline-end: 1px solid #e2e8f0;
  transition: color 0.15s ease;
}

.ds-brand-rail__item:hover {
  color: #1d4ed8;
}

.ds-brand-rail__item:last-of-type {
  border-inline-end: 1px solid #e2e8f0;
}

.ds-brand-rail__mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0b1220;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.ds-brand-rail__mark img,
.ds-brand-card__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  background: #fff;
}

.ds-brand-rail__mark[data-brand='bmw'] {
  background: #0066b1;
  border-color: #0066b1;
  color: #fff;
}

.ds-brand-rail__mark[data-brand='toyota'] {
  background: #eb0a1e;
  border-color: #eb0a1e;
  color: #fff;
}

.ds-brand-rail__mark[data-brand='hyundai'] {
  background: #002c5f;
  border-color: #002c5f;
  color: #fff;
}

.ds-brand-rail__word {
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ds-brand-rail__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-inline-start: 0.35rem;
  padding: 0.55rem 0.35rem 0.55rem 1.15rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
  text-decoration: none;
  white-space: nowrap;
}

.ds-brand-rail__more:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ds-brands__body {
  padding-top: 2rem;
}

.ds-brands__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}

.ds-brands__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b1220;
}

.ds-brands__lead {
  margin: 0.35rem 0 0;
  color: #64748b;
  font-size: 0.92rem;
  max-width: 42ch;
}

.ds-brands__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  color: var(--brand, #1d4ed8);
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.ds-brands__more:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ds-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.ds-brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  padding: 1.15rem 0.75rem 0.95rem;
  border-radius: 16px;
  border: 1px solid #e8edf3;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.ds-brand-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.12);
}

.ds-brand-card__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
}

.ds-brand-card__mark {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-weight: 800;
  font-size: 1.25rem;
  color: #1e3a8a;
  background: #fff;
  border: 1px solid #e8edf3;
}

.ds-brand-card__who {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.ds-brand-card__name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b1220;
}

.ds-brand-card__origin {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.ds-brand-card__stock {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.72rem;
  font-weight: 750;
  white-space: nowrap;
}

.ds-brand-card__models {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.4;
}

.ds-brand-card__models span {
  display: block;
  margin-bottom: 0.15rem;
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ds-brand-card__blurb {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ds-brand-card__go {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.1rem;
  color: #1d4ed8;
  font-size: 0.86rem;
  font-weight: 750;
}

.ds-brand-card:hover .ds-brand-card__go {
  gap: 0.5rem;
}

/* Inventory */
.ds-section {
  padding: 3.25rem 0;
}

.ds-inventory {
  background: #f7f8fb;
}

.ds-inventory__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.6fr);
  gap: 1.5rem;
  align-items: start;
}

.ds-inventory__intro h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ds-inventory__intro p {
  margin: 0 0 1.1rem;
  color: #64748b;
  max-width: 28ch;
}

.ds-find {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.85rem 1rem;
  margin-top: 1.25rem;
  padding: 1.2rem 1.25rem 1.15rem;
  background: var(--brand-soft);
  border: 1px solid var(--brand);
  border-radius: 14px;
  box-shadow: 0 8px 22px var(--brand-glow);
}

.ds-find__copy {
  flex: 1 1 220px;
  min-width: 0;
}

.ds-find__copy h2 {
  margin: 0 0 0.3rem;
  font-size: 1.28rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ds-find__copy p,
.ds-find__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.ds-find__note {
  flex: 1 1 100%;
}

.ds-find__note[data-kind="ok"] { color: #027a48; }
.ds-find__note[data-kind="err"] { color: #b42318; }

.ds-find__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.ds-find .csPicker {
  flex: 1 1 320px;
  min-width: 220px;
}

.ds-find .csPicker-trigger,
.ds-find__model select {
  height: 42px;
}

.ds-find__model select {
  width: min(100%, 220px);
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.ds-find__model select:disabled {
  background: var(--surface-2);
  color: var(--muted);
}

.ds-find__cond {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.ds-find__cond label {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 0.9rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.ds-find__cond input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.ds-find__cond label:has(input:checked) {
  background: var(--brand);
  color: var(--surface);
}

.ds-find .ds-btn {
  height: 42px;
  padding-inline: 1.15rem;
  background: var(--brand);
  border-color: var(--brand);
  color: var(--surface);
}

.ds-find .ds-btn:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

.ds-car-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.ds-car {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.ds-car__media {
  position: relative;
  aspect-ratio: 16 / 11;
  background: #e8eef5 center / cover no-repeat;
  overflow: hidden;
}

.ds-car__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ds-car__fav {
  position: absolute;
  top: 0.65rem;
  inset-inline-end: 0.65rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #64748b;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.ds-car__body {
  padding: 0.85rem 0.9rem 1rem;
  display: grid;
  gap: 0.35rem;
  flex: 1;
}

.ds-car__body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.ds-car__specs {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 600;
}

.ds-car__price {
  margin: 0.15rem 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0b1220;
}

.ds-car__price-local {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--muted);
}

.ds-car__price-local[hidden] {
  display: none;
}

.ds-car__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.ds-car__loc {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 600;
}

.ds-car__go {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #0b1220;
  color: #fff;
  display: grid;
  place-items: center;
}

/* Services */
.ds-services {
  position: relative;
  color: #fff;
  overflow: hidden;
}

.ds-services__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 14, 28, 0.82) 0%, rgba(8, 14, 28, 0.55) 55%, rgba(8, 14, 28, 0.4) 100%),
    url("/assets/img/ds-service.jpg") center / cover no-repeat;
}

.ds-services__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 1.5rem;
  align-items: center;
  padding: 3.5rem 0;
}

.ds-services__copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.15;
}

.ds-services__copy p {
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 34ch;
}

.ds-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.ds-service-card {
  padding: 1.1rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.ds-service-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 0.55rem;
}

.ds-service-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
}

.ds-service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

/* About */
.ds-about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e8edf3;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.ds-about__media {
  position: relative;
  min-height: 360px;
  background: var(--surface-2);
}

.ds-about__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ds-about__mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 4rem;
  font-weight: 800;
  color: var(--brand);
}

.ds-about__copy {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ds-about__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand);
}

.ds-about__copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
}

.ds-about__copy > p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.ds-about__brand {
  color: var(--brand);
  font-weight: 800;
}

.ds-about__facts {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.ds-about__facts li {
  display: grid;
  gap: 0.15rem;
}

.ds-about__facts span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.ds-about__facts strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
}

/* CTA band */
.ds-cta {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.ds-cta__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 28, 0.55), rgba(8, 14, 28, 0.78)),
    url("/assets/img/ds-hero.jpg") center 60% / cover no-repeat;
}

.ds-cta__inner {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ds-cta__inner h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
}

.ds-cta__inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.ds-cta__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Footer */
.ds-footer {
  background: #0b1220;
  color: #cbd5e1;
  padding: 2.5rem 0 1.25rem;
}

.ds-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ds-footer__copy {
  margin: 0;
  font-size: 0.88rem;
  color: #94a3b8;
  max-width: 28ch;
}

.ds-footer__col {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.ds-footer__col strong {
  color: #fff;
  margin-bottom: 0.25rem;
}

.ds-footer__col a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.ds-footer__col a:hover {
  color: #fff;
}

.ds-footer__extra {
  display: grid;
  gap: 0.25rem;
  font-size: 0.88rem;
  color: #94a3b8;
}

.ds-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  font-size: 0.84rem;
  color: #64748b;
}

.ds-footer__bottom a {
  color: #94a3b8;
}

@media (max-width: 1100px) {
  .ds-dealer-card__panel {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ds-dealer-card__hours {
    text-align: start;
  }

  .ds-dealer-card__stats {
    justify-content: flex-start;
  }

  .ds-brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ds-dealer-strip {
    grid-template-columns: 1fr 1fr;
  }

  .ds-dealer-strip__brand {
    grid-column: 1 / -1;
    border-bottom: 1px solid #e8edf3;
    padding-bottom: 0.85rem;
    margin-bottom: 0.35rem;
  }

  .ds-dealer-strip__cell,
  .ds-dealer-strip__follow-wrap {
    border-inline-start: 0;
    padding-left: 0.25rem;
  }

  .ds-dealer-strip__follow-wrap {
    justify-content: flex-start;
  }
}

@media (max-width: 960px) {
  .ds-nav {
    display: none;
  }

  .ds-dealer-card {
    margin-top: -1.75rem;
    background: linear-gradient(to bottom, transparent 1.75rem, #f7f8fb 1.75rem);
  }

  .ds-dealer-card__stats li {
    min-width: 3.6rem;
    padding-inline: 0.65rem;
  }

  .ds-dealer-strip {
    grid-template-columns: 1fr;
  }

  .ds-dealer-strip__brand {
    margin-bottom: 0;
  }

  .ds-dealer-strip__cell {
    border-top: 1px solid #eef2f7;
    padding-top: 0.75rem;
  }

  .ds-dealer-strip__follow-wrap {
    border-top: 1px solid #eef2f7;
    padding-top: 0.75rem;
  }

  .ds-dealer-strip__follow {
    width: 100%;
  }

  .ds-brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ds-brand-rail__item {
    border-inline-end: 0;
    padding: 0.4rem 0.7rem;
  }

  .ds-brand-rail__more {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 0.5rem 0.15rem;
    margin: 0;
    border-top: 1px solid #eef2f7;
  }

  .ds-inventory__grid,
  .ds-services__inner,
  .ds-about__grid,
  .ds-car-grid,
  .ds-service-grid,
  .ds-footer__grid {
    grid-template-columns: 1fr;
  }

  .ds-about__media {
    min-height: 220px;
  }

  .ds-hero__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ds-hero-car {
    min-height: 220px;
  }

  .ds-hero-car__img {
    width: min(100%, 480px);
  }

  .ds-showroom-switchers {
    top: 3.75rem;
    right: 0.75rem;
    left: auto;
    bottom: auto;
    max-width: min(100% - 1.5rem, 420px);
    justify-items: end;
  }

  .ds-showroom-switch {
    justify-content: flex-end;
    border-radius: 14px;
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .ds-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ds-brand-card__mark {
    width: 3.6rem;
    height: 3.6rem;
  }
}

.ds-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.ds-sheet[hidden] {
  display: none;
}

.ds-sheet__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.46);
  cursor: pointer;
}

.ds-sheet__panel {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  background: #f7f8fb;
  animation: ds-sheet-in 0.22s ease;
}

@keyframes ds-sheet-in {
  from {
    transform: translateY(24px);
  }
  to {
    transform: translateY(0);
  }
}

.ds-sheet ::selection {
  background: #dbe7ff;
  color: #0b1220;
}

.ds-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.35rem 0.85rem;
}

.ds-sheet__head h2 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ds-sheet__x {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.ds-sheet__x:hover {
  color: #0b1220;
}

.ds-sheet__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0 1.35rem 0.95rem;
}

.ds-sheet__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-width: 0;
}

.ds-sheet__seg {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.18rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.ds-sheet__chip {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0b1220;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}

.ds-sheet__chip:hover {
  border-color: #cbd5e1;
}

.ds-sheet__seg .ds-sheet__chip {
  border-color: transparent;
  background: transparent;
}

.ds-sheet__chip.is-on,
.ds-sheet__seg .ds-sheet__chip.is-on {
  background: var(--brand, #1d4ed8);
  border-color: var(--brand, #1d4ed8);
  color: #fff;
}

.ds-sheet__list {
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
  align-content: start;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: max-content;
  align-items: start;
  gap: 14px;
  padding: 0.15rem 1.35rem 1.15rem;
  scrollbar-width: thin;
  scrollbar-color: #c5ced9 transparent;
}

.ds-sheet__list.is-loading {
  opacity: 0.55;
}

.ds-sheet__empty {
  grid-column: 1 / -1;
  margin: 2rem 0;
  text-align: center;
  color: #3d4a5c;
  font-weight: 650;
}

.ds-sheet__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 0.85rem 1.35rem calc(0.9rem + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #e8edf3;
}

.ds-sheet__find {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.ds-sheet__find p {
  margin: 0;
  color: #1e293b;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
}

.ds-sheet__find .ds-btn {
  flex: 0 0 auto;
  padding: 0.55rem 1rem;
}

.ds-sheet__pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.ds-sheet__arrow {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0b1220;
  cursor: pointer;
}

.ds-sheet__arrow:hover:not(:disabled) {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.ds-sheet__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.ds-sheet__chip:focus-visible,
.ds-sheet__arrow:focus-visible,
.ds-sheet__x:focus-visible,
.ds-sheet__find .ds-btn:focus-visible {
  outline: 2px solid var(--brand, #1d4ed8);
  outline-offset: 2px;
}

@media (max-width: 960px) {
  .ds-sheet__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ds-sheet__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .ds-sheet__find {
    justify-content: space-between;
  }

  .ds-sheet__pager {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .ds-sheet__list {
    grid-template-columns: 1fr;
  }
}

/* Same vehicle card as the rest of the site (mpCard-v2). Scoped to the sheet. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.ds-sheet {
  --blue: #243f55;
  --blue-2: #1c3346;
  --blue-rgb: 36, 63, 85;
  --navy: #0b1f33;
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --white: #fff;
  --radius: 12px;
  --radius-sm: 4px;
  --price-size: 20px;
  --price-weight: 500;
  --font: Manrope, Inter, "Segoe UI", sans-serif;
}

.ds-sheet .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  color: var(--ink);
  text-decoration: none;
}

.ds-sheet .btn.primary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  border-radius: 4px;
  font-weight: 550;
}

.ds-sheet .btn.primary:hover {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.ds-sheet .btn.sm {
  padding: 7px 12px;
  font-size: 12px;
}

.ds-sheet .mpCard {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: visible;
  display: block;
  height: auto;
  font-family: var(--font);
  color: var(--ink);
  box-shadow: none;
}

.ds-sheet .mpCard:hover {
  border-color: color-mix(in srgb, var(--blue) 42%, var(--line));
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.14);
}

.ds-sheet .mpCard:hover .mpCard-media img {
  transform: scale(1.04);
}

.ds-sheet .mpCard-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #eef0f2;
  overflow: hidden;
  border-radius: 11px 11px 0 0;
}

.ds-sheet .mpCard-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease;
}

.ds-sheet .mpCard-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(16, 24, 40, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}

.ds-sheet .mpCard-badge.green { background: rgba(18, 183, 106, 0.32); }
.ds-sheet .mpCard-badge.local { background: rgba(247, 144, 9, 0.34); }
.ds-sheet .mpCard-badge.blue,
.ds-sheet .mpCard-badge.gray { left: auto; right: 10px; }
.ds-sheet .mpCard-badge.blue { background: rgba(var(--blue-rgb), 0.32); }
.ds-sheet .mpCard-badge.gray { background: rgba(102, 112, 133, 0.32); }

.ds-sheet .mpCard-body {
  padding: 12px 14px 14px;
  display: block;
}

.ds-sheet .mpCard-body > * + * {
  margin-top: 6px;
}

.ds-sheet .mpCard-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.2px;
  color: var(--ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.35em * 2);
}

.ds-sheet .mpCard-title a {
  color: inherit;
  text-decoration: none;
}

.ds-sheet .mpCard-title a:hover { color: var(--blue); }

.ds-sheet .mpCard-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  min-height: 26px;
}

.ds-sheet .mpCard-spec,
.ds-sheet .mpCard-fuel {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
  background: #f2f4f7;
  color: #475467;
  border: 1px solid transparent;
}

.ds-sheet .mpCard-spec--hot {
  background: color-mix(in srgb, #f79009 16%, #fff);
  color: #b54708;
  border-color: color-mix(in srgb, #f79009 32%, transparent);
}

.ds-sheet .mpCard-spec--new {
  background: color-mix(in srgb, var(--blue) 12%, #fff);
  color: var(--blue);
  border-color: color-mix(in srgb, var(--blue) 28%, transparent);
}

.ds-sheet .mpCard-fuel--petrol,
.ds-sheet .mpCard-fuel--gas {
  background: color-mix(in srgb, #f79009 14%, #fff);
  color: #b54708;
  border-color: color-mix(in srgb, #f79009 30%, transparent);
}

.ds-sheet .mpCard-fuel--ev {
  background: color-mix(in srgb, #12b76a 14%, #fff);
  color: #027a48;
  border-color: color-mix(in srgb, #12b76a 32%, transparent);
}

.ds-sheet .mpCard-fuel--hybrid,
.ds-sheet .mpCard-fuel--phev {
  background: color-mix(in srgb, #0ba5ec 12%, #fff);
  color: #026aa2;
  border-color: color-mix(in srgb, #0ba5ec 28%, transparent);
}

.ds-sheet .mpCard-fuelIcon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.ds-sheet .mpCard-priceBlock {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 2px 0 0;
}

.ds-sheet .mpCard-priceMain {
  font-size: var(--price-size);
  font-weight: var(--price-weight);
  color: var(--ink);
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.ds-sheet .mpCard-priceSub,
.ds-sheet .mpCard-ship {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  min-height: 1.35em;
}

.ds-sheet .mpCard-priceSub { color: var(--muted); font-weight: 600; }
.ds-sheet .mpCard-ship {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.ds-sheet .mpCard-dealer {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px 8px;
  font-size: 12px;
  line-height: 1.4;
  color: #475467;
  min-height: 1.4em;
}

.ds-sheet .mpCard-dealerName {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-weight: 650;
}

.ds-sheet .mpCard-dealerLink {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.ds-sheet .mpCard-verified {
  flex: 0 0 auto;
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}

.ds-sheet .mpCard-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.ds-sheet .mpCard-actions .btn { flex: 1; }

.ds-sheet .mpCard-fav {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  padding: 0;
  flex-shrink: 0;
}

.ds-sheet .mpCard-fav svg { width: 16px; height: 16px; }

.ds-sheet .mpCard-fav:hover {
  color: var(--blue);
  border-color: color-mix(in srgb, var(--blue) 28%, var(--line));
  background: color-mix(in srgb, var(--blue) 8%, white);
}

.ds-sheet .mpCard-fav.is-on {
  color: #e11d48;
  border-color: #fda4af;
  background: #fff1f2;
}

.ds-sheet .mpCard-fav.is-on svg {
  fill: currentColor;
  stroke: none;
}

.ds-auth[hidden] {
  display: none;
}

.ds-auth {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.ds-auth__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.48);
  cursor: pointer;
}

.ds-auth__panel {
  position: relative;
  width: min(26rem, 100%);
  background: #fff;
  color: #0f172a;
  border-radius: 16px;
  padding: 1.35rem 1.35rem 1.25rem;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}

.ds-auth__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.ds-auth__title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.ds-auth__lead {
  margin: 0.4rem 0 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.45;
}

.ds-auth__x {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.ds-auth__form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.05rem;
}

.ds-auth__field {
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: #334155;
}

.ds-auth__field input {
  width: 100%;
  min-height: 2.65rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-weight: 500;
}

.ds-auth__code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: end;
}

.ds-auth__send {
  min-height: 2.65rem;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #d7dee8;
  background: #fff;
  color: #1d4ed8;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.ds-auth__send:disabled {
  color: #94a3b8;
  cursor: default;
}

.ds-auth__status {
  min-height: 1.2em;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #b91c1c;
}

.ds-auth__status.is-ok {
  color: #047857;
}

.ds-auth__submit {
  width: 100%;
}

.ds-auth__or {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.95rem 0 0.7rem;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 650;
}

.ds-auth__or::before,
.ds-auth__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.ds-auth__google {
  display: flex;
  justify-content: center;
  min-height: 40px;
}

/* Brand → series cascade picker */
.csPicker { position: relative; width: 100%; min-width: 0; z-index: 2; }
.csPicker-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.csPicker--brandOnly .csPicker-bar,
.csPicker--stack .csPicker-bar { grid-template-columns: 1fr; }
.csPicker--stack .csPicker-bar { gap: 8px; }
.csPicker-trigger {
  height: 40px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  cursor: pointer;
  color: #667085;
  text-align: left;
  font: inherit;
  line-height: 1.2;
}
.csPicker-trigger:hover { border-color: var(--muted); }
.csPicker-trigger.is-open,
.csPicker-trigger:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
  color: var(--ink);
  outline: none;
}
.csPicker-trigger.has-value { color: var(--ink); }
.csPicker-trigger:disabled {
  opacity: .55;
  cursor: not-allowed;
  background: var(--surface-2);
}
.csPicker-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: 13px;
}
.csPicker-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--muted);
  flex-shrink: 0;
  transition: transform .15s ease;
}
.csPicker-trigger.is-open .csPicker-caret { transform: rotate(180deg); }

.csPicker-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(16, 24, 40, .28);
}
.csPicker-backdrop[hidden] { display: none !important; }

html.csPicker-lock,
body.csPicker-lock {
  /* legacy no-op: brand/series picker no longer freezes page scroll */
}
body.csPicker-lock {
  /* kept empty so stale class from old cached JS cannot freeze layout */
}

.csPicker-panel {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(16, 24, 40, .18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1200;
}
.csPicker-panel[hidden] { display: none !important; }

.csPicker-head {
  flex: 0 0 auto;
  background: #fff;
  border-bottom: 1px solid #eef2f6;
  padding: 10px 12px 8px;
}
.csPicker-headRow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.csPicker-all,
.csPicker-allSeries {
  border: 0;
  background: none;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
}
.csPicker-all.is-active { text-decoration: underline; }
.csPicker-allSeries {
  margin-left: auto;
  margin-right: 4px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}
.csPicker-close {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: #f2f4f7;
  color: #667085;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.csPicker-close:hover { background: #e4e7ec; color: var(--ink); }

/* A–Z always 26 slots, one row on desktop */
.csPicker-letters {
  display: grid;
  grid-template-columns: repeat(26, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  background: #eef2f6;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  padding: 3px 4px;
}
.csPicker-letter {
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  font-size: 11px;
  height: 28px;
  padding: 0;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
}
.csPicker-letter:hover:not(:disabled) {
  background: #fff;
  color: var(--navy);
}
.csPicker-letter.is-active {
  background: var(--blue);
  color: #fff;
}
.csPicker-letter.is-empty,
.csPicker-letter:disabled {
  color: #c5cdd6;
  cursor: default;
  font-weight: 600;
}

.csPicker-shell {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  overflow: hidden;
  background: #fff;
}
.csPicker-body {
  flex: 1 1 auto;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  padding: 8px 12px 14px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.csPicker-popular {
  flex: 0 0 148px;
  width: 148px;
  border-left: 1px solid #eef2f6;
  background: #fafbfc;
  padding: 10px 10px 14px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.csPicker-popular[hidden] { display: none !important; }
.csPicker-popularTitle {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
}
.csPicker-popularItem {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  padding: 6px 8px;
  margin: 0;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  color: #344054;
}
.csPicker-popularItem:hover {
  background: #fff;
  color: var(--blue);
}
.csPicker-popularItem.is-active {
  background: #fff;
  color: var(--blue);
  font-weight: 800;
  box-shadow: 0 0 0 1px #d0e4f4;
}
.csPicker-section { margin-bottom: 10px; }
.csPicker-sectionTitle {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #667085;
  padding: 8px 2px 6px;
  background: #fff;
}
.csPicker-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.csPicker-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 6px 8px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  color: var(--ink, #101828);
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.csPicker-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
  box-sizing: border-box;
}
.csPicker-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.csPicker-brand span {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.25;
}
.csPicker-brand-name {
  font-weight: 700;
  color: inherit;
}
.csPicker-brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: #667085;
}
.csPicker-brand:hover {
  background: #f8fbfe;
  border-color: #b9d4ea;
  color: var(--ink, #101828);
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.06);
}
.csPicker-brand.is-active {
  background: #f8fbfe;
  border-color: var(--blue);
  color: var(--blue);
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--blue);
}

.csPicker-groups {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 4px 10px 12px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.csPicker-group {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 16px;
  padding: 12px 4px;
  border-bottom: 1px solid #eef2f6;
  align-items: start;
}
.csPicker-group:last-child { border-bottom: 0; }
.csPicker-groupLabel {
  font-weight: 700;
  color: var(--ink);
  font-size: 13px;
  padding-top: 4px;
}
.csPicker-series {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px 8px;
}
.csPicker-seriesBtn {
  border: 0;
  background: none;
  text-align: left;
  padding: 5px 6px;
  cursor: pointer;
  color: #344054;
  font: inherit;
  font-size: 13px;
  border-radius: 4px;
}
.csPicker-seriesBtn:hover { color: var(--brand); background: var(--brand-soft); }
.csPicker-seriesBtn.is-active { color: var(--brand); font-weight: 700; }
.csPicker-empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 1100px) {
  .csPicker-letters { grid-template-columns: repeat(13, minmax(0, 1fr)); }
  .csPicker-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .csPicker-series { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .csPicker-letters { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .csPicker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .csPicker-group { grid-template-columns: 1fr; gap: 6px; }
  .csPicker-series { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .csPicker-popular { display: none; }
}

/* —— Storefront vehicle detail = web3 VDP (retailer-adapted) —— */
.ds-body--vehicle {
  --header-h: 72px;
  background: #f7f8fb;
}

.vdp-page {
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

.vdp-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.vdp-crumbs a {
  color: var(--brand);
  font-weight: 600;
}

.vdp {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.7fr);
  gap: 1.75rem;
  /* stretch so rail sticky has a tall grid area to travel in */
  align-items: stretch;
}

.vdp-identity {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.vdp-identity__title {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.5vw, 2.05rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #0f172a;
}

.vdp-identity__meta {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
}

.vdp-share {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.vdp-gallery__stage {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
}

.vdp-gallery__stage img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.vdp-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.vdp-gallery__nav--prev { left: 0.85rem; }
.vdp-gallery__nav--next { right: 0.85rem; }

.vdp-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.vdp-gallery__thumb {
  position: relative;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #e2e8f0;
}

.vdp-gallery__thumb.is-active {
  border-color: #2563eb;
}

.vdp-gallery__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.vdp-gallery__more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-weight: 750;
  font-size: 0.95rem;
}

.vdp-specs {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0.85rem 0.5rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}

.vdp-specs li {
  display: grid;
  grid-template-rows: 24px 1.15em 1.25em;
  justify-items: center;
  align-items: center;
  text-align: center;
  row-gap: 0.28rem;
  min-width: 0;
  padding: 0.35rem 0.4rem;
}

.vdp-specs__ico,
.vdp-swatches {
  width: 100%;
  height: 24px;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.vdp-specs__label {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.vdp-specs strong {
  font-size: 0.9rem;
  font-weight: 750;
  color: #0f172a;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.vdp-swatches {
  gap: 0.35rem;
}

.vdp-swatch {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 999px;
  border: 1px solid #94a3b8;
  background: var(--swatch, #64748b);
  flex: 0 0 auto;
}

.vdp-tabs {
  margin-top: 1.35rem;
  background: transparent;
}

.vdp-tabs__nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.15rem;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #e2e8f0;
  background: transparent;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.vdp-tabs__nav button {
  appearance: none;
  position: relative;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: 0.9rem 1rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.vdp-tabs__nav button::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: -1px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: transparent;
  transition: background 0.15s ease;
}

.vdp-tabs__nav button:hover {
  color: #0f172a;
}

.vdp-tabs__nav button:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
  border-radius: 6px;
}

.vdp-tabs__nav button.is-active {
  color: var(--brand, #1d4ed8);
  font-weight: 700;
}

.vdp-tabs__nav button.is-active::after {
  background: var(--brand, #1d4ed8);
}

.vdp-tabs__panel {
  padding: 1.35rem 0.15rem 0.35rem;
  animation: vdp-tab-in 0.18s ease;
}

@keyframes vdp-tab-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.vdp-section-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #0f172a;
}

.vdp-copy {
  margin: 0;
  color: #475569;
  line-height: 1.65;
  font-size: 0.95rem;
  max-width: 62ch;
}

.vdp-copy + .btn,
.vdp-copy + .vdp-btn,
.vdp-tabs__panel > .btn {
  margin-top: 1rem;
}

.vdp-feature-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.25rem;
}

.vdp-feature-grid li {
  position: relative;
  padding: 0.55rem 0.7rem 0.55rem 1.55rem;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.4;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 8px;
}

.vdp-feature-grid li::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 50%;
  width: 0.4rem;
  height: 0.4rem;
  margin-top: -0.2rem;
  border-radius: 999px;
  background: var(--brand, #1d4ed8);
}

.vdp-spec-table {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.85rem;
}

.vdp-spec-table div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.vdp-spec-table dt {
  margin: 0;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
}

.vdp-spec-table dd {
  margin: 0;
  font-weight: 700;
  color: #0f172a;
  text-align: right;
}

.vdp-kbb__figure {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.vdp-rail {
  position: sticky;
  top: calc(var(--header-h) + 0.75rem);
  align-self: start;
  width: 100%;
  z-index: 5;
}

.vdp-rail__card {
  padding: 1.25rem 1.2rem 1.3rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.vdp-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.7rem;
}

.vdp-price__amount {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1;
}

.vdp-price__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 750;
}

.vdp-price__details {
  display: inline-block;
  margin-top: 0.45rem;
  color: #2563eb;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vdp-pay {
  margin-top: 0.95rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.vdp-pay__label {
  display: block;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.vdp-pay__amt {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.vdp-pay__amt span {
  font-size: 0.85rem;
  font-weight: 650;
  color: #64748b;
}

.vdp-fav {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  display: grid;
  place-items: center;
  color: #334155;
  background: #fff;
  font-size: 1.05rem;
  text-decoration: none;
}

.vdp-cta {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.vdp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.85rem;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  font-weight: 750;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.vdp-btn__ico {
  flex: 0 0 auto;
}

.vdp-btn--primary {
  background: var(--brand, #1d4ed8);
  border-color: var(--brand, #1d4ed8);
  color: #fff;
  box-shadow: 0 8px 18px var(--brand-glow, rgba(29, 78, 216, 0.28));
}

.vdp-btn--primary:hover { filter: brightness(1.05); color: #fff; }

.vdp-btn--accent {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.25);
}

.vdp-btn--accent:hover { filter: brightness(1.05); color: #fff; }

.vdp-btn--outline {
  background: #fff;
  border-color: var(--brand, #1d4ed8);
  color: var(--brand-deep, #1e3a8a);
}

.vdp-btn--outline:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

.vdp-carfax {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.vdp-carfax--inline {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.vdp-carfax__brand {
  margin: 0 0 0.55rem;
  font-weight: 800;
  font-size: 0.92rem;
  color: #0f172a;
}

.vdp-carfax__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.vdp-carfax__list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: #334155;
}

.vdp-carfax__list li span {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.vdp-carfax__list li.is-ok span {
  background: #dcfce7;
  color: #15803d;
}

.vdp-carfax__list li.is-miss span {
  background: #fee2e2;
  color: #b91c1c;
}

.vdp-carfax__link {
  display: inline-block;
  margin-top: 0.65rem;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.88rem;
}

.vdp-contactbar {
  margin-top: 1.5rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.vdp-contactbar__item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  min-width: 0;
}

.vdp-contactbar__ico {
  flex: 0 0 auto;
  color: #2563eb;
  margin-top: 0.1rem;
}

.vdp-contactbar__item strong {
  display: block;
  font-size: 0.92rem;
  color: #0f172a;
}

.vdp-contactbar__item strong a {
  color: #0f172a;
}

.vdp-contactbar__item p {
  margin: 0.2rem 0 0;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.4;
}

.vdp-below {
  margin-top: 2rem;
}

.vdp-below__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.85rem;
}
.help-block ul {
  margin: 0.55rem 0 0;
  padding-inline-start: 1.1rem;
  color: var(--ink-soft);
}

@media (max-width: 1100px) {
  .vdp-contactbar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .vdp {
    grid-template-columns: 1fr;
  }

  .vdp-rail {
    position: static;
  }

  .vdp-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 640px) {
  .vdp-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vdp-gallery__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vdp-feature-grid,
  .vdp-spec-table,
  .vdp-contactbar {
    grid-template-columns: 1fr;
  }
}

.ds-body--vehicle .vdp-page {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

.ds-body--vehicle .vdp-rail {
  top: calc(var(--header-h) + 0.75rem);
}

.ds-body--vehicle .vdp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ds-body--vehicle .vdp-related-card {
  display: grid;
  gap: 0.55rem;
  padding: 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.ds-body--vehicle .vdp-related-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  background: #f1f5f9;
}

.ds-body--vehicle .vdp-related-card strong {
  font-size: 0.92rem;
  line-height: 1.3;
}

.ds-body--vehicle .vdp-related-card__meta {
  margin: 0;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}

.ds-body--vehicle .vdp-related-card span {
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 700;
}

@media (max-width: 960px) {
  .ds-body--vehicle .vdp-related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .ds-body--vehicle .vdp-related-grid {
    grid-template-columns: 1fr;
  }
}

.ds-body--vehicle .vdp-spec-cat + .vdp-spec-cat {
  margin-top: 1.15rem;
}
.ds-body--vehicle .vdp-spec-cat__title {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  font-weight: 750;
  color: #0f172a;
}

/* —— RTL (arab / ar) —— */
html[dir='rtl'] .ds-body,
.ds-body.is-rtl {
  direction: rtl;
}

html[dir='rtl'] .ds-hero__copy,
.ds-body.is-rtl .ds-hero__copy {
  text-align: right;
}

html[dir='rtl'] .ds-hero-cars--align-end,
.ds-body.is-rtl .ds-hero-cars--align-end {
  justify-content: flex-start;
  justify-items: start;
}

html[dir='rtl'] .ds-about__grid,
.ds-body.is-rtl .ds-about__grid {
  direction: rtl;
}

html[dir='rtl'] .ds-header__inner,
.ds-body.is-rtl .ds-header__inner {
  direction: rtl;
}
