/* Catalog — light theme (white) */
:root {
  --cat-bg: #ffffff;
  --cat-surface: #f5f5f5;
  --cat-text: #1a1a1a;
  --cat-muted: #757575;
  --cat-border: #e8e8e8;
  --cat-radius: 12px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.catalog-page {
  background: var(--cat-bg);
  color: var(--cat-text);
  min-height: 100vh;
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.catalog-page .site-header {
  background: #ffffff;
  border-bottom: none;
  box-shadow: none;
}

.catalog-page .nav-main {
  background: #ebebeb;
  border: 1px solid #e0e0e0;
}

.catalog-page .nav-main a {
  color: #1a1a1a;
}

.catalog-page .nav-main a:hover {
  color: #000000;
}

.catalog-page .nav-main a.active {
  background: #1a1a1a;
  color: #ffffff;
}

.catalog-page .btn-search {
  background: #e8e8e8;
  color: #000000;
}

.catalog-page .btn-search:hover {
  background: #dedede;
}

.catalog-page .btn-pill--dark {
  background: #1a1a1a;
  color: #ffffff;
}

.catalog-page .btn-pill--dark:hover {
  background: #333333;
}

.catalog-page .menu-toggle span {
  background: #1a1a1a;
}

.catalog-page .mobile-nav {
  background: #ffffff;
  border-color: var(--cat-border);
}

.catalog-page .mobile-nav a {
  color: #444444;
  border-color: #f0f0f0;
}

/* Purchase progress bar */
.purchase-bar {
  background: var(--cat-surface);
  border-bottom: 1px solid var(--cat-border);
  padding: 0.75rem 1rem;
  overflow-x: auto;
}

.purchase-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: min-content;
  font-size: 0.75rem;
}

.purchase-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  color: var(--cat-muted);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
}

.purchase-step strong {
  color: var(--cat-text);
  font-weight: 600;
}

.purchase-step.is-active {
  background: #ebebeb;
  color: var(--cat-text);
}

.purchase-bar .sep {
  color: #c4c4c4;
  flex-shrink: 0;
}

/* Catalog layout */
.catalog-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .catalog-shell {
    grid-template-columns: 260px 1fr;
    align-items: start;
  }

  /* Filtres fixes au scroll (sous le header sticky) */
  .filters {
    position: sticky;
    top: 5.75rem;
    align-self: start;
    z-index: 40;
    max-height: calc(100vh - 6.5rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Sidebar filters */
.filters {
  background: #ffffff;
  border: 1px solid var(--cat-border);
  border-radius: var(--cat-radius);
  padding: 1.25rem;
}

.filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.filters-header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #000000;
  font-family: var(--font-sans);
}

/* Mobile / tablette : bouton pour déplier les filtres (masqué sur desktop) */
.filters-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.85rem;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cat-text);
  background: #f5f5f5;
  border: 1px solid var(--cat-border);
  border-radius: var(--cat-radius);
  cursor: pointer;
  text-align: start;
}

.filters-mobile-toggle:hover {
  background: #eeeeee;
}

.filters-mobile-toggle__label {
  flex: 1;
  min-width: 0;
}

.filters-mobile-toggle__chev {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  margin-inline-start: 0.65rem;
  opacity: 0.65;
}

.filters.filters--open .filters-mobile-toggle__chev {
  transform: rotate(225deg);
}

.clear-filters {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cat-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.clear-filters:hover {
  color: var(--cat-text);
}

.filter-block {
  border-top: 1px solid var(--cat-border);
  padding-top: 1rem;
  margin-top: 1rem;
}

.filter-block:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.filter-block summary {
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cat-text);
}

.filter-block summary::-webkit-details-marker {
  display: none;
}

.filter-options {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-options label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #555555;
  cursor: pointer;
}

.filter-options input[type="checkbox"] {
  accent-color: #1a1a1a;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.category-list label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: #555555;
  cursor: pointer;
  border-radius: 6px;
}

.category-list label:hover {
  color: var(--cat-text);
}

.category-list input:checked + span {
  color: var(--cat-text);
  font-weight: 500;
}

/* Main catalog */
.catalog-main {
  min-width: 0;
}

.catalog-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.catalog-title-row h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: #000000;
  font-family: var(--font-sans);
}

.count-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: #1a1a1a;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--cat-muted);
}

.sort-wrap select {
  background: #ffffff;
  border: 1px solid var(--cat-border);
  color: var(--cat-text);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.catalog-load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1rem 0;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.25rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  background: #1a1a1a;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-load-more:hover {
  background: #333333;
}

.btn-load-more:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 3px;
}

.catalog-load-more-status {
  margin: 0;
  font-size: 0.875rem;
  color: var(--cat-muted);
}

.catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  margin: 0;
  font-size: 1rem;
  color: var(--cat-muted);
}

.vehicle-card {
  position: relative;
  display: block;
  border: 1px solid var(--cat-border);
  border-radius: var(--cat-radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  min-height: 260px;
  background: #1a1a1a;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.vehicle-card:hover {
  border-color: #d0d0d0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.vehicle-card-img {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.vehicle-card-img > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ancre le sujet vers le bas (typique photo auto) et limite les recadrages bizarres */
  object-position: center bottom;
}

.vehicle-card-img--3008 > img {
  object-position: center 140%;
}

/* Tiguan : photo trop « haute » dans le cadre — ancre plus bas (comme 3008, un peu moins fort) */
.vehicle-card-img--tiguan > img {
  object-position: center 10%;
}

.vehicle-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.12) 38%,
    rgba(0, 0, 0, 0.25) 55%,
    rgba(0, 0, 0, 0.88) 100%
  );
}

.vehicle-card-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 1rem 1rem 0.5rem;
}

.vehicle-card-header h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  font-family: var(--font-sans);
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: #f0f0f0;
  color: #666666;
}

.vehicle-card .tag {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tag--accent {
  background: #1a1a1a;
  color: #ffffff;
}

.vehicle-card .tag--accent {
  background: #ffffff;
  color: #1a1a1a;
}

.vehicle-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 1rem;
  margin-top: 0;
}

.price-block {
  margin-bottom: 0.5rem;
}

.price-from {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}

.vehicle-card .price-from {
  color: #ffffff;
}

.price-main {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cat-text);
}

.vehicle-card .price-main {
  color: #ffffff;
}

.price-main small {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cat-muted);
  margin-left: 0.25rem;
}

.vehicle-card .price-main small {
  color: rgba(255, 255, 255, 0.72);
}

.meta-row {
  font-size: 0.8rem;
  color: var(--cat-muted);
  margin-bottom: 0.75rem;
}

.vehicle-card .meta-row {
  color: rgba(255, 255, 255, 0.88);
}

.specs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--cat-muted);
}

.vehicle-card .specs-row {
  color: rgba(255, 255, 255, 0.82);
}

.spec-pill {
  background: #f0f0f0;
  color: #333333;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.vehicle-card .spec-pill {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.engine-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.45rem;
}

.spec-pill--engine {
  flex: 0 1 auto;
  max-width: 100%;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
}

.vehicle-card .spec-pill--engine {
  margin-top: 0;
}

.catalog-page .site-footer {
  background: #fafafa;
  border-color: var(--cat-border);
}

.catalog-page .footer-col h4 {
  color: #000000;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.catalog-page .footer-brand p,
.catalog-page .footer-col a,
.catalog-page .footer-col address {
  color: #666666;
}

.catalog-page .sub-footer {
  border-color: var(--cat-border);
  color: #999999;
}

.catalog-page .sub-footer-links a {
  color: #999999;
}

.catalog-page .sub-footer-credit a {
  color: inherit;
}

/* ========== Responsive (catalog) ========== */

@media (max-width: 959px) {
  .catalog-shell {
    padding: 1rem 0.75rem 3rem;
    gap: 1.25rem;
  }

  .filters {
    padding: 1rem;
  }

  .filters-mobile-toggle {
    display: flex;
  }

  .filters-panel {
    display: none;
  }

  .filters.filters--open .filters-panel {
    display: block;
    margin-top: 0.75rem;
  }

  .purchase-bar {
    padding: 0.65rem 0.75rem;
  }

  .purchase-bar-inner {
    font-size: 0.6875rem;
    gap: 0.35rem;
  }

  .purchase-step {
    padding: 0.3rem 0.5rem;
  }
}

@media (max-width: 600px) {
  .catalog-title-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .catalog-title-row h1 {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }

  .sort-wrap {
    justify-content: space-between;
    width: 100%;
  }

  .sort-wrap select {
    flex: 1;
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 479px) {
  .vehicle-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .vehicle-card {
    min-height: 240px;
  }

  .vehicle-card-header h3 {
    font-size: 0.9375rem;
  }

  .vehicle-card-body {
    padding: 0.85rem 0.75rem;
  }

  .engine-pills {
    gap: 0.35rem;
  }

  .spec-pill--engine {
    font-size: 0.65rem;
    padding: 0.3rem 0.5rem;
  }

  .catalog-load-more-wrap {
    padding: 1.5rem 0.5rem 0;
  }

  .btn-load-more {
    width: 100%;
    max-width: 20rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 380px) {
  .count-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
  }

  .filters-header h2 {
    font-size: 0.9375rem;
  }
}

@media (min-width: 960px) and (max-width: 1100px) {
  .catalog-shell {
    grid-template-columns: 230px 1fr;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* Renault Clio 5 — carte cliquable */
.vehicle-card--clio {
  cursor: pointer;
}

.vehicle-card--clio:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 3px;
}

/* Modal fiche véhicule (Clio) */
.vehicle-modal {
  padding: 0;
  border: none;
  border-radius: 10px;
  max-width: min(100vw - 2rem, 980px);
  width: 100%;
  background: #ffffff;
  color: var(--cat-text);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  position: relative;
}

.vehicle-modal::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.vehicle-modal__close {
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 0.75rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: var(--cat-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}

.vehicle-modal__close:hover {
  background: rgba(0, 0, 0, 0.12);
}

.vehicle-modal__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: 0;
  align-items: stretch;
  min-height: min(72vh, 560px);
}

.vehicle-modal__media {
  background: #1a1a1a;
  min-height: 200px;
}

.vehicle-modal__media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.vehicle-modal__content {
  padding: 1.75rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow-y: auto;
  max-height: min(88vh, 640px);
}

.vehicle-modal__head {
  margin: 0;
  padding: 0;
  padding-inline-end: 2.5rem;
}

.vehicle-modal__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.6vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #0a0a0a;
  font-family: var(--font-sans);
  line-height: 1.2;
}

.vehicle-modal__subtitle {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b6b6b;
  line-height: 1.4;
}

.vehicle-modal__price-block {
  margin: 0;
  padding: 1rem 1.1rem;
  background: #f7f7f7;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}

.vehicle-modal__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.vehicle-modal__price-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666666;
}

.vehicle-modal__price-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  font-variant-numeric: tabular-nums;
}

.vehicle-modal__price-note {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #777777;
}

.vehicle-modal__section {
  margin: 0;
}

.vehicle-modal__section-title {
  margin: 0 0 0.6rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888888;
  font-family: var(--font-sans);
}

.vehicle-modal__specs {
  margin: 0;
  padding: 0;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.vehicle-modal__spec-row {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #efefef;
}

.vehicle-modal__spec-row--last {
  border-bottom: none;
}

.vehicle-modal__spec-row dt {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #888888;
  line-height: 1.35;
}

.vehicle-modal__spec-row dd {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.45;
  text-align: end;
}

html[dir="rtl"] .vehicle-modal__spec-row dd {
  text-align: start;
}

.vehicle-modal__lead {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #4a4a4a;
}

.vehicle-modal__actions {
  margin-top: auto;
  padding-top: 0.25rem;
}

.vehicle-modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: #1a1a1a;
  border-radius: 4px;
  text-decoration: none;
  font-family: var(--font-sans);
  transition: background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.vehicle-modal__cta:hover {
  background: #000000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Tablette + mobile : plein écran, image au-dessus, texte scrollable */
@media (max-width: 959px) {
  .vehicle-modal {
    max-width: 100%;
    width: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: none;
  }

  .vehicle-modal__inner {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .vehicle-modal__media {
    flex-shrink: 0;
    max-height: min(42vh, 320px);
  }

  .vehicle-modal__media img {
    max-height: min(42vh, 320px);
    min-height: 160px;
    width: 100%;
    object-fit: cover;
  }

  .vehicle-modal__content {
    padding: 1.15rem 1rem 1.25rem;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    max-height: none;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .vehicle-modal__head {
    padding-inline-end: 2.75rem;
  }

  .vehicle-modal__close {
    top: calc(0.5rem + env(safe-area-inset-top, 0px));
    inset-inline-end: auto;
    width: 2.75rem;
    height: 2.75rem;
  }

  html[dir="ltr"] .vehicle-modal__close {
    right: calc(0.5rem + env(safe-area-inset-right, 0px));
    left: auto;
  }

  html[dir="rtl"] .vehicle-modal__close {
    left: calc(0.5rem + env(safe-area-inset-left, 0px));
    right: auto;
  }

  .vehicle-modal__title {
    font-size: clamp(1.15rem, 4.2vw, 1.45rem);
  }

  .vehicle-modal__price-value {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
  }

  .vehicle-modal__spec-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding: 0.7rem 0.65rem;
  }

  .vehicle-modal__spec-row dd {
    text-align: start;
  }

  html[dir="rtl"] .vehicle-modal__spec-row dd {
    text-align: start;
  }

  .vehicle-modal__cta {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1rem;
    box-sizing: border-box;
  }
}

@media (max-width: 479px) {
  .vehicle-modal__media {
    max-height: 38vh;
  }

  .vehicle-modal__media img {
    max-height: 38vh;
    min-height: 140px;
  }

  .vehicle-modal__content {
    padding: 1rem 0.85rem 1.15rem;
    padding-bottom: max(1.15rem, env(safe-area-inset-bottom, 0px));
    gap: 1rem;
  }

  .vehicle-modal__lead {
    font-size: 0.8125rem;
    line-height: 1.6;
  }
}
