.vehicle-marketplace,
.vehicle-detail-page {
  --vehicle-ink: #172622;
  --vehicle-muted: #5e6e69;
  --vehicle-line: #d8e1dc;
  --vehicle-canvas: #f4f7f4;
  --vehicle-surface: #ffffff;
  --vehicle-green: #126b53;
  --vehicle-green-dark: #0a4939;
  --vehicle-gold: #c7831f;
  --vehicle-warm: #bd5031;
  background: var(--vehicle-canvas);
  color: var(--vehicle-ink);
}

.vehicle-hero {
  isolation: isolate;
  min-height: 390px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #182b25;
}

.vehicle-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 32, 25, 0.63);
}

.vehicle-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.vehicle-hero-copy {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0;
  color: #ffffff;
}

.vehicle-kicker,
.vehicle-marketplace .eyebrow,
.vehicle-detail-page .eyebrow {
  margin: 0;
  color: var(--vehicle-green);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.vehicle-kicker {
  color: #e8bd73;
}

.vehicle-hero-copy h1 {
  max-width: 620px;
  margin: 10px 0 14px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.vehicle-hero-copy > p:last-of-type {
  max-width: 580px;
  margin: 0;
  color: #edf3ee;
  font-size: 1.05rem;
  line-height: 1.65;
}

.vehicle-hero-action,
.vehicle-apply-button,
.vehicle-test-drive-button,
.vehicle-reserve-button,
.vehicle-dialog-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--vehicle-gold);
  border-radius: 6px;
  background: var(--vehicle-gold);
  color: #1a261f;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.vehicle-hero-action {
  margin-top: 26px;
  padding: 0 18px;
}

.vehicle-hero-action:hover,
.vehicle-apply-button:hover,
.vehicle-test-drive-button:hover,
.vehicle-reserve-button:hover,
.vehicle-dialog-primary:hover {
  border-color: #e3a33d;
  background: #e3a33d;
  color: #122119;
  transform: translateY(-1px);
}

.vehicle-service-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: min(1280px, calc(100% - 48px));
  margin: 26px auto 0;
  border: 1px solid var(--vehicle-line);
  background: var(--vehicle-line);
  gap: 1px;
}

.vehicle-service-nav a {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 8px;
  background: var(--vehicle-surface);
  color: var(--vehicle-muted);
  font-size: 0.81rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.vehicle-service-nav a:hover {
  background: #eef6f1;
  color: var(--vehicle-green-dark);
}

.vehicle-service-nav .material-symbols-outlined {
  color: var(--vehicle-green);
  font-size: 1.5rem;
}

.vehicle-results-shell {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 30px;
  width: min(1280px, calc(100% - 48px));
  margin: 42px auto 58px;
}

.vehicle-filter-panel {
  align-self: start;
  position: sticky;
  top: 18px;
  border: 1px solid var(--vehicle-line);
  border-top: 4px solid var(--vehicle-green);
  border-radius: 6px;
  background: var(--vehicle-surface);
  padding: 19px;
}

.vehicle-filter-heading,
.vehicle-results-heading,
.vehicle-proof-heading,
.vehicle-card-heading,
.vehicle-card-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.vehicle-filter-heading h2,
.vehicle-results-heading h2,
.vehicle-trust-strip h2,
.vehicle-proof-heading h2,
.vehicle-emi-card h2,
.vehicle-support-card h2,
.vehicle-detail-features h2 {
  margin: 4px 0 0;
  color: var(--vehicle-ink);
  font-size: 1.36rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.vehicle-reset-button {
  min-height: 32px;
  border: 0;
  background: transparent;
  color: var(--vehicle-green);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.vehicle-filter-panel form {
  display: grid;
  gap: 15px;
  margin-top: 20px;
}

.vehicle-filter-panel label,
.vehicle-filter-panel legend {
  display: grid;
  gap: 6px;
  color: var(--vehicle-ink);
  font-size: 0.81rem;
  font-weight: 750;
}

.vehicle-filter-panel select,
.vehicle-filter-panel input,
.vehicle-emi-card input,
.vehicle-emi-card select,
.vehicle-dialog-body input,
.vehicle-dialog-body textarea {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid var(--vehicle-line);
  border-radius: 5px;
  background: #ffffff;
  color: var(--vehicle-ink);
  font: inherit;
  font-size: 0.88rem;
  padding: 8px 10px;
}

.vehicle-filter-panel input:focus,
.vehicle-filter-panel select:focus,
.vehicle-emi-card input:focus,
.vehicle-emi-card select:focus,
.vehicle-dialog-body input:focus,
.vehicle-dialog-body textarea:focus {
  outline: 2px solid rgba(18, 107, 83, 0.28);
  outline-offset: 1px;
  border-color: var(--vehicle-green);
}

.vehicle-price-filter,
.vehicle-year-filter,
.vehicle-feature-filter {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.vehicle-price-filter > div,
.vehicle-year-filter > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.vehicle-price-filter label,
.vehicle-year-filter label {
  font-size: 0.72rem;
}

.vehicle-feature-filter > div {
  display: grid;
  gap: 8px;
  max-height: 160px;
  overflow-y: auto;
  padding-right: 4px;
}

.vehicle-feature-filter label {
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: var(--vehicle-muted);
  font-size: 0.77rem;
  font-weight: 650;
}

.vehicle-feature-filter input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--vehicle-green);
  padding: 0;
}

.vehicle-filter-placeholder {
  margin: 0;
  color: var(--vehicle-muted);
  font-size: 0.78rem;
}

.vehicle-apply-button {
  width: 100%;
  cursor: pointer;
  font: inherit;
}

.vehicle-results-content {
  min-width: 0;
}

.vehicle-results-heading {
  align-items: end;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--vehicle-line);
}

.vehicle-results-heading > label {
  display: grid;
  min-width: 182px;
  gap: 5px;
  color: var(--vehicle-muted);
  font-size: 0.75rem;
  font-weight: 750;
}

.vehicle-results-heading select {
  min-height: 40px;
  border: 1px solid var(--vehicle-line);
  border-radius: 5px;
  background: #ffffff;
  color: var(--vehicle-ink);
  font: inherit;
  padding: 7px 9px;
}

.vehicle-search-status,
.vehicle-results-count {
  min-height: 1.2em;
  margin: 12px 0 0;
  color: var(--vehicle-muted);
  font-size: 0.86rem;
}

.vehicle-results-count {
  margin-top: 5px;
  color: var(--vehicle-green-dark);
  font-weight: 750;
}

.vehicle-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.vehicle-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--vehicle-line);
  border-radius: 6px;
  background: var(--vehicle-surface);
}

.vehicle-card-image-link {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8eeeb;
}

.vehicle-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.vehicle-card:hover .vehicle-card-image {
  transform: scale(1.025);
}

.vehicle-card-condition,
.vehicle-card-ev,
.vehicle-detail-condition,
.vehicle-detail-electric {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.vehicle-card-condition,
.vehicle-card-ev {
  position: absolute;
  top: 10px;
  padding: 5px 7px;
}

.vehicle-card-condition {
  left: 10px;
  background: #fff7e8;
  color: #80510d;
}

.vehicle-card-ev {
  right: 10px;
  background: #e6f5ed;
  color: #0c694d;
}

.vehicle-card-ev .material-symbols-outlined {
  font-size: 0.9rem;
}

.vehicle-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 15px;
}

.vehicle-card-heading p {
  margin: 0 0 4px;
  color: var(--vehicle-muted);
  font-size: 0.75rem;
}

.vehicle-card-heading h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.vehicle-card-heading h3 a {
  color: var(--vehicle-ink);
  text-decoration: none;
}

.vehicle-card-heading h3 a:hover {
  color: var(--vehicle-green);
}

.vehicle-card-score {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  color: var(--vehicle-green-dark);
  font-size: 0.68rem;
  font-weight: 800;
  text-align: right;
}

.vehicle-card-score .material-symbols-outlined {
  font-size: 0.9rem;
}

.vehicle-card-specs,
.vehicle-detail-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px 6px;
  margin: 0;
  padding: 11px 0;
  border-top: 1px solid var(--vehicle-line);
  border-bottom: 1px solid var(--vehicle-line);
}

.vehicle-card-specs div,
.vehicle-detail-specs div {
  min-width: 0;
}

.vehicle-card-specs dt,
.vehicle-detail-specs dt {
  color: var(--vehicle-muted);
  font-size: 0.65rem;
  font-weight: 700;
}

.vehicle-card-specs dd,
.vehicle-detail-specs dd {
  overflow: hidden;
  margin: 3px 0 0;
  color: var(--vehicle-ink);
  font-size: 0.76rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vehicle-card-tags {
  display: flex;
  min-height: 24px;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vehicle-card-tags li {
  border: 1px solid #dfe9e3;
  border-radius: 4px;
  background: #f2f8f4;
  color: var(--vehicle-green-dark);
  font-size: 0.68rem;
  line-height: 1.2;
  padding: 4px 6px;
}

.vehicle-card-footer {
  margin-top: auto;
  align-items: end;
}

.vehicle-card-footer > div {
  display: grid;
  gap: 3px;
}

.vehicle-card-footer strong {
  color: var(--vehicle-ink);
  font-size: 1.1rem;
  line-height: 1;
}

.vehicle-card-footer > div span {
  color: var(--vehicle-muted);
  font-size: 0.68rem;
}

.vehicle-card-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--vehicle-green);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.vehicle-card-action .material-symbols-outlined {
  font-size: 1rem;
}

.vehicle-empty-state,
.vehicle-detail-error {
  grid-column: 1 / -1;
  display: grid;
  justify-items: start;
  gap: 8px;
  border: 1px solid var(--vehicle-line);
  border-radius: 6px;
  background: #ffffff;
  padding: 28px;
}

.vehicle-empty-state > .material-symbols-outlined,
.vehicle-detail-error > .material-symbols-outlined {
  color: var(--vehicle-gold);
  font-size: 2rem;
}

.vehicle-empty-state h3,
.vehicle-empty-state p,
.vehicle-detail-error h1,
.vehicle-detail-error p {
  margin: 0;
}

.vehicle-empty-state p,
.vehicle-detail-error p {
  color: var(--vehicle-muted);
}

.vehicle-detail-error {
  width: min(720px, calc(100% - 48px));
  margin: 48px auto;
}

.vehicle-detail-error a {
  color: var(--vehicle-green);
  font-weight: 800;
}

.vehicle-trust-strip {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 56px;
  border-top: 1px solid var(--vehicle-line);
}

.vehicle-trust-strip > div:first-child {
  max-width: 530px;
}

.vehicle-trust-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.vehicle-trust-items article {
  border-left: 3px solid var(--vehicle-green);
  padding-left: 13px;
}

.vehicle-trust-items .material-symbols-outlined {
  color: var(--vehicle-gold);
  font-size: 1.55rem;
}

.vehicle-trust-items h3 {
  margin: 9px 0 5px;
  font-size: 0.98rem;
}

.vehicle-trust-items p {
  margin: 0;
  color: var(--vehicle-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.vehicle-detail-page {
  min-height: 74vh;
  padding: 1px 0 60px;
}

.vehicle-detail-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.vehicle-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  margin: 24px 0 18px;
  color: var(--vehicle-muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.vehicle-breadcrumbs a {
  color: var(--vehicle-green);
  font-weight: 800;
  text-decoration: none;
}

.vehicle-breadcrumbs .material-symbols-outlined {
  font-size: 1rem;
}

.vehicle-detail-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 38px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--vehicle-line);
}

.vehicle-detail-gallery {
  min-width: 0;
}

.vehicle-detail-primary-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--vehicle-line);
  border-radius: 6px;
  background: #e8eeeb;
}

.vehicle-detail-primary-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-thumbnail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.vehicle-thumbnail {
  width: 76px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 5px;
  background: #e9efeb;
  padding: 0;
  cursor: pointer;
}

.vehicle-thumbnail.active {
  border-color: var(--vehicle-green);
}

.vehicle-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-detail-summary {
  min-width: 0;
}

.vehicle-detail-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.vehicle-detail-condition,
.vehicle-detail-electric {
  padding: 5px 7px;
}

.vehicle-detail-condition {
  background: #fff4df;
  color: #83520b;
}

.vehicle-detail-electric {
  background: #e8f5ee;
  color: var(--vehicle-green-dark);
}

.vehicle-detail-electric .material-symbols-outlined {
  font-size: 0.9rem;
}

.vehicle-detail-summary h1 {
  margin: 10px 0 8px;
  color: var(--vehicle-ink);
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.vehicle-detail-location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: var(--vehicle-muted);
  font-size: 0.9rem;
}

.vehicle-detail-location .material-symbols-outlined {
  color: var(--vehicle-warm);
  font-size: 1rem;
}

.vehicle-detail-price {
  display: grid;
  gap: 5px;
  margin: 25px 0 20px;
}

.vehicle-detail-price strong {
  color: var(--vehicle-ink);
  font-size: 2rem;
  line-height: 1;
}

.vehicle-detail-price span {
  color: var(--vehicle-muted);
  font-size: 0.76rem;
}

.vehicle-detail-specs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 15px 0;
}

.vehicle-detail-specs dt {
  font-size: 0.72rem;
}

.vehicle-detail-specs dd {
  font-size: 0.86rem;
}

.vehicle-ev-data {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.vehicle-ev-data span {
  border-left: 2px solid var(--vehicle-green);
  color: var(--vehicle-muted);
  font-size: 0.76rem;
  padding-left: 8px;
}

.vehicle-ev-data strong {
  color: var(--vehicle-green-dark);
}

.vehicle-detail-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.vehicle-test-drive-button,
.vehicle-reserve-button {
  width: 100%;
  min-height: 48px;
  cursor: pointer;
  font: inherit;
}

.vehicle-test-drive-button {
  border-color: var(--vehicle-green);
  background: var(--vehicle-green);
  color: #ffffff;
}

.vehicle-test-drive-button:hover {
  border-color: var(--vehicle-green-dark);
  background: var(--vehicle-green-dark);
  color: #ffffff;
}

.vehicle-reserve-button {
  border-color: var(--vehicle-gold);
  background: #ffffff;
  color: #80520f;
}

.vehicle-reserve-button:hover {
  background: #fff8eb;
  color: #73470a;
}

.vehicle-reserved-notice {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  border: 1px solid #ecd9ad;
  border-radius: 5px;
  background: #fff8e9;
  color: #704c13;
  font-size: 0.84rem;
  font-weight: 750;
  padding: 12px;
}

.vehicle-detail-status {
  min-height: 1.2em;
  margin: 10px 0 0;
  color: var(--vehicle-green-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.vehicle-partner-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--vehicle-muted);
  font-size: 0.8rem;
}

.vehicle-partner-line > .material-symbols-outlined {
  color: var(--vehicle-green);
}

.vehicle-partner-line strong {
  color: var(--vehicle-ink);
}

.vehicle-partner-line em {
  color: var(--vehicle-green-dark);
  font-style: normal;
  font-weight: 800;
}

.vehicle-proof-section {
  padding: 43px 0;
  border-bottom: 1px solid var(--vehicle-line);
}

.vehicle-proof-heading {
  align-items: end;
  margin-bottom: 20px;
}

.vehicle-proof-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 5px;
}

.vehicle-proof-tabs button {
  min-height: 34px;
  border: 1px solid var(--vehicle-line);
  border-radius: 5px;
  background: #ffffff;
  color: var(--vehicle-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.77rem;
  font-weight: 800;
  padding: 5px 9px;
}

.vehicle-proof-tabs button:hover,
.vehicle-proof-tabs button.active {
  border-color: var(--vehicle-green);
  background: var(--vehicle-green);
  color: #ffffff;
}

.vehicle-proof-content {
  min-height: 216px;
  border: 1px solid var(--vehicle-line);
  border-radius: 6px;
  background: #ffffff;
}

.vehicle-proof-photos,
.vehicle-proof-360 {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  min-height: 216px;
}

.vehicle-proof-photos img,
.vehicle-proof-360 img {
  width: 100%;
  height: 100%;
  min-height: 216px;
  object-fit: cover;
}

.vehicle-proof-photos > div,
.vehicle-proof-360 > div,
.vehicle-proof-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 9px;
  padding: 25px;
}

.vehicle-proof-photos h3,
.vehicle-proof-360 h3,
.vehicle-proof-copy h3 {
  margin: 0;
  color: var(--vehicle-ink);
  font-size: 1.22rem;
}

.vehicle-proof-photos p,
.vehicle-proof-360 p,
.vehicle-proof-copy > p:last-of-type {
  margin: 0;
  color: var(--vehicle-muted);
  font-size: 0.89rem;
  line-height: 1.6;
}

.vehicle-proof-photos span {
  color: var(--vehicle-green-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.vehicle-proof-360 > div > .material-symbols-outlined {
  color: var(--vehicle-gold);
  font-size: 2rem;
}

.vehicle-proof-score {
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 3px solid var(--vehicle-green);
  padding-left: 10px;
}

.vehicle-proof-score strong {
  color: var(--vehicle-green-dark);
  font-size: 1.75rem;
}

.vehicle-proof-score span {
  color: var(--vehicle-muted);
  font-size: 0.76rem;
}

.vehicle-proof-copy ul,
.vehicle-document-list ul,
.vehicle-detail-features ul {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.vehicle-proof-copy li,
.vehicle-document-list li,
.vehicle-detail-features li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--vehicle-muted);
  font-size: 0.82rem;
}

.vehicle-proof-copy li .material-symbols-outlined,
.vehicle-document-list li .material-symbols-outlined,
.vehicle-detail-features li .material-symbols-outlined {
  color: var(--vehicle-green);
  font-size: 1rem;
}

.vehicle-proof-document {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dceae1;
  border-radius: 5px;
  background: #f1f8f3;
  color: var(--vehicle-green-dark);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 9px 11px;
}

.vehicle-detail-support-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 43px 0;
  border-bottom: 1px solid var(--vehicle-line);
}

.vehicle-emi-card,
.vehicle-support-card {
  display: grid;
  align-content: start;
  gap: 13px;
  min-width: 0;
  border: 1px solid var(--vehicle-line);
  border-radius: 6px;
  background: #ffffff;
  padding: 20px;
}

.vehicle-emi-card {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vehicle-emi-card > div:first-child,
.vehicle-emi-result {
  grid-column: 1 / -1;
}

.vehicle-emi-card label,
.vehicle-dialog-body label {
  display: grid;
  gap: 6px;
  color: var(--vehicle-muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.vehicle-emi-result {
  display: grid;
  gap: 5px;
  border-top: 1px solid var(--vehicle-line);
  margin-top: 2px;
  padding-top: 14px;
}

.vehicle-emi-result span,
.vehicle-emi-result small {
  color: var(--vehicle-muted);
  font-size: 0.76rem;
}

.vehicle-emi-result strong {
  color: var(--vehicle-green-dark);
  font-size: 1.55rem;
}

.vehicle-support-card > .material-symbols-outlined {
  color: var(--vehicle-gold);
  font-size: 1.8rem;
}

.vehicle-support-card h2 {
  font-size: 1.1rem;
}

.vehicle-support-card p:last-child {
  margin: 0;
  color: var(--vehicle-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.vehicle-detail-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  padding-top: 43px;
}

.vehicle-detail-features > div {
  min-width: 0;
}

.vehicle-detail-features h2 {
  margin-bottom: 16px;
}

.vehicle-test-drive-dialog {
  width: min(520px, calc(100% - 28px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  border: 1px solid var(--vehicle-line);
  border-radius: 7px;
  color: var(--vehicle-ink);
  padding: 0;
}

.vehicle-test-drive-dialog::backdrop {
  background: rgba(18, 32, 27, 0.52);
}

.vehicle-dialog-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--vehicle-line);
  padding: 20px;
}

.vehicle-dialog-header h2 {
  margin: 4px 0 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.vehicle-dialog-header button {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--vehicle-ink);
  cursor: pointer;
}

.vehicle-dialog-header button:hover {
  background: #edf3ef;
}

.vehicle-dialog-body {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.vehicle-dialog-body > p {
  margin: 0;
  color: var(--vehicle-muted);
  line-height: 1.55;
}

.vehicle-dialog-primary {
  width: 100%;
  cursor: pointer;
  font: inherit;
}

.vehicle-dialog-status {
  min-height: 1.2em;
  margin: 0;
  color: var(--vehicle-green-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.vehicle-dialog-success {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.vehicle-dialog-success .material-symbols-outlined {
  color: var(--vehicle-green);
  font-size: 2rem;
}

.vehicle-dialog-success h3,
.vehicle-dialog-success p {
  margin: 0;
}

.vehicle-dialog-success p {
  color: var(--vehicle-muted);
  line-height: 1.55;
}

@media (max-width: 1120px) {
  .vehicle-service-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .vehicle-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vehicle-trust-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vehicle-detail-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vehicle-emi-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 880px) {
  .vehicle-results-shell {
    grid-template-columns: 1fr;
  }

  .vehicle-filter-panel {
    position: static;
  }

  .vehicle-filter-panel form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vehicle-filter-heading,
  .vehicle-price-filter,
  .vehicle-year-filter,
  .vehicle-feature-filter,
  .vehicle-apply-button {
    grid-column: 1 / -1;
  }

  .vehicle-detail-overview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .vehicle-hero {
    min-height: 360px;
  }

  .vehicle-hero-copy,
  .vehicle-service-nav,
  .vehicle-results-shell,
  .vehicle-trust-strip,
  .vehicle-detail-shell {
    width: min(100% - 28px, 1280px);
  }

  .vehicle-hero-copy {
    padding: 42px 0;
  }

  .vehicle-hero-copy h1 {
    font-size: 2.15rem;
  }

  .vehicle-service-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 15px;
  }

  .vehicle-service-nav a {
    min-height: 82px;
    font-size: 0.7rem;
  }

  .vehicle-results-shell {
    gap: 20px;
    margin-top: 27px;
  }

  .vehicle-filter-panel {
    padding: 15px;
  }

  .vehicle-filter-panel form {
    grid-template-columns: 1fr;
  }

  .vehicle-filter-heading,
  .vehicle-price-filter,
  .vehicle-year-filter,
  .vehicle-feature-filter,
  .vehicle-apply-button {
    grid-column: auto;
  }

  .vehicle-results-heading,
  .vehicle-proof-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .vehicle-results-heading > label {
    min-width: 0;
  }

  .vehicle-results-grid,
  .vehicle-trust-items,
  .vehicle-detail-support-grid,
  .vehicle-detail-features {
    grid-template-columns: 1fr;
  }

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

  .vehicle-detail-overview {
    gap: 24px;
    padding-bottom: 28px;
  }

  .vehicle-detail-summary h1 {
    font-size: 2rem;
  }

  .vehicle-detail-price strong {
    font-size: 1.7rem;
  }

  .vehicle-detail-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vehicle-detail-actions {
    grid-template-columns: 1fr;
  }

  .vehicle-proof-tabs {
    justify-content: start;
  }

  .vehicle-proof-photos,
  .vehicle-proof-360 {
    grid-template-columns: 1fr;
  }

  .vehicle-proof-photos img,
  .vehicle-proof-360 img {
    min-height: 174px;
    max-height: 230px;
  }

  .vehicle-proof-photos > div,
  .vehicle-proof-360 > div,
  .vehicle-proof-copy {
    padding: 18px;
  }

  .vehicle-emi-card {
    grid-template-columns: 1fr;
  }

  .vehicle-trust-strip {
    padding: 30px 0 42px;
  }
}
