﻿/* ===== FILE: xr_new/assets/css/app.css ===== */
:root {
  --xr-bg: #f5f7fb;
  --xr-surface: #ffffff;
  --xr-surface-2: #f3f6ff;
  --xr-card: #ffffff;
  --xr-white: #ffffff;
  --xr-text: #1b1f2a;
  --xr-text-dark: #17191d;
  --xr-muted: #5e677a;
  --xr-line: rgba(30, 41, 59, 0.12);
  --xr-line-dark: rgba(23, 25, 29, 0.1);
  --xr-accent: #1877f2;
  --xr-accent-dark: #0b5fcb;
  --xr-accent-soft: rgba(24, 119, 242, 0.12);
  --xr-accent-line: rgba(24, 119, 242, 0.35);
  --xr-accent-line-strong: rgba(24, 119, 242, 0.5);
  --xr-accent-surface: #f3f8ff;
  --xr-brand-blue: #4b5cff;
  --xr-brand-violet: #7a5fe6;
  --xr-brand-pink: #d76ad9;
  --xr-brand-soft: #8ca8ff;
  --xr-brand-text: #10214d;
  --xr-brand-panel: #273b78;
  --xr-brand-panel-top: #24376c;
  --xr-brand-panel-bottom: #1d2a57;
  --xr-panel-grad: linear-gradient(180deg, var(--xr-brand-panel-top) 0%, var(--xr-brand-panel-bottom) 100%);
  --xr-brand-deep-top: #23386f;
  --xr-brand-deep-mid: #314d8f;
  --xr-brand-deep-bottom: #5c5eb1;
  --xr-brand-deep-glow: rgba(216, 106, 217, 0.14);
  --xr-brand-surface-grad:
    radial-gradient(circle at top right, var(--xr-brand-deep-glow) 0%, rgba(216, 106, 217, 0) 34%),
    linear-gradient(135deg, var(--xr-brand-deep-top) 0%, var(--xr-brand-deep-mid) 52%, var(--xr-brand-deep-bottom) 100%);
  --xr-skeleton-base: #eef2fb;
  --xr-skeleton-mid: #e7ebff;
  --xr-skeleton-accent: #e9e3ff;
  --xr-skeleton-soft: rgba(75, 92, 255, 0.05);
  --xr-radius: 22px;
  --xr-radius-sm: 16px;
  --xr-shell: 1200px;
  --xr-shadow: 0 20px 48px rgba(44, 61, 102, 0.16);
  --xr-header-grad: linear-gradient(90deg, var(--xr-brand-blue) 0%, var(--xr-brand-violet) 45%, var(--xr-brand-pink) 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--xr-bg);
  color: var(--xr-text);
  font: 16px/1.5 Arial, Helvetica, sans-serif;
}

body.xr-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.xr-page > main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}


/* ===== FILE: xr_new/assets/css/components.css ===== */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.36s ease, background-color 0.36s ease, border-color 0.36s ease, color 0.36s ease, box-shadow 0.36s ease;
}

.btn-primary {
  background: linear-gradient(90deg, var(--xr-brand-blue) 0%, var(--xr-brand-violet) 100%);
  border-color: rgba(75, 92, 255, 0.42);
  color: var(--xr-white);
}

.btn-primary:hover {
  background: linear-gradient(90deg, #5b6bff 0%, #d56ae8 100%);
  transform: translateY(-1px);
  border-color: rgba(91, 107, 255, 0.5);
  color: var(--xr-white);
}

.btn-secondary {
  background: var(--xr-white);
  border-color: var(--xr-accent-line);
  color: var(--xr-accent);
}

.btn-secondary:hover {
  border-color: var(--xr-accent-line-strong);
  background: var(--xr-accent-surface);
  transform: translateY(-1px);
}

.xr-button,
.xr-button--primary,
.xr-button--secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.36s ease, background-color 0.36s ease, border-color 0.36s ease, color 0.36s ease, box-shadow 0.36s ease;
}

.xr-button--primary {
  background: linear-gradient(90deg, var(--xr-brand-blue) 0%, var(--xr-brand-violet) 100%);
  border-color: rgba(75, 92, 255, 0.42);
  color: var(--xr-white);
}

.xr-button--primary:hover {
  background: linear-gradient(90deg, #5b6bff 0%, #d56ae8 100%);
  border-color: rgba(91, 107, 255, 0.5);
  color: var(--xr-white);
  transform: translateY(-1px);
}

.xr-button--secondary {
  background: var(--xr-white);
  border-color: var(--xr-accent-line);
  color: var(--xr-accent);
}

.xr-button--secondary:hover {
  border-color: var(--xr-accent-line-strong);
  background: var(--xr-accent-surface);
  transform: translateY(-1px);
}

.field-control,
.filters-panel input[type="text"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(30, 41, 59, 0.14);
  border-radius: 14px;
  padding: 0 16px;
  background: var(--xr-white);
  color: var(--xr-text);
}

.field-control::placeholder,
.filters-panel input[type="text"]::placeholder {
  color: rgba(30, 41, 59, 0.42);
}

header {
  background: var(--xr-header-grad);
  position: relative;
  z-index: 40;
}

.navbar {
  font-size: 1.25em;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: transparent;
  min-height: 64px;
  padding: 0 1em 0 150px;
  flex-wrap: nowrap;
  position: relative;
  overflow: visible;
  max-width: 1440px;
  margin: 0 auto;
}

.navbar a {
  text-decoration: none;
  color: inherit;
}

.navbar a:hover {
  text-decoration: none;
}

.header-brand {
  flex: 0 0 auto;
  order: 1;
}

.logo-container {
  position: absolute;
  top: 70%;
  left: 1em;
  width: 80px;
  height: 80px;
  transform: translateY(-50%);
  border-radius: 50%;
  overflow: hidden;
  background: var(--xr-white);
  z-index: 1000;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar .nav-phone,
.navbar .nav-phone:link,
.navbar .nav-phone:visited {
  order: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--xr-white);
  color: var(--xr-accent) !important;
  border: 1px solid var(--xr-accent);
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transform: translateY(2px);
  transition: background-color 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.navbar .nav-phone i {
  color: inherit;
}

.nav-controls {
  order: 4;
  display: flex;
  align-items: center;
  gap: 0.8em;
}

.nav-phone__text {
  white-space: nowrap;
}

.nav-links {
  order: 2;
  flex: 1 1 auto;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.35em;
  align-items: center;
  padding-left: 1.5em;
  padding-right: 1.5em;
  margin: 0;
  min-width: 0;
  transform: translateY(13px);
}

.nav-links li {
  display: inline;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  color: var(--xr-white);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  min-height: 40px;
  font-size: 1.18rem;
  line-height: 1.1;
  transform: translateY(2px);
}

.nav-links a:hover {
  color: #e7f3ff;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
}

.hamburger span {
  display: block;
  height: 4px;
  background-color: var(--xr-white);
  border-radius: 2px;
  transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.footer {
  margin-top: auto;
  background: linear-gradient(90deg, #4b5cff 0%, #7a5fe6 45%, #d76ad9 100%);
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  flex-wrap: wrap;
}

.footer-col {
  flex: 0 0 auto;
  max-width: none;
  text-align: left;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-col ul li {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.footer-col ul li i {
  margin: 0;
  min-width: 16px;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.95);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 800;
}

.footer-col a:hover,
.footer-bottom a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  text-align: center;
  padding: 10px 10px 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.1);
}

.footer-bottom a {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 750;
}

@media (max-width: 1180px) {
  .nav-links {
    gap: 1em;
    padding-left: 1.15em;
    padding-right: 1em;
  }
}

@media (max-width: 980px) {
  .nav-links {
    gap: 0.85em;
    padding-left: 0.9em;
    padding-right: 0.75em;
  }
}

@media (max-width: 790px) {
  .navbar {
    justify-content: center;
    flex-wrap: nowrap;
    min-height: 72px;
    padding: 0 0.9rem 0 5.2em;
    gap: 0.75rem;
    position: relative;
    overflow: visible;
  }

  .logo-container {
    position: absolute;
    left: 0.7em;
    top: 70%;
    width: 3.5em;
    height: 3.5em;
    transform: translateY(-50%);
    border-radius: 50%;
  }

  .navbar .nav-phone,
  .navbar .nav-phone:link,
  .navbar .nav-phone:visited {
    font-size: 1.08rem;
    padding: 8px 12px;
  }

  .nav-controls {
    margin-left: auto;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 50;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 24px 16px 28px;
    margin: 0;
    background: linear-gradient(90deg, #4b5cff 0%, #7a5fe6 45%, #d76ad9 100%);
    transform: none;
  }

  .nav-links li {
    display: block;
  }

  .nav-links a {
    min-height: auto;
    font-size: 1.5rem;
    transform: none;
  }

  .nav-links.active {
    display: flex;
  }

  .footer-container {
    justify-content: center;
  }

  .footer-col ul {
    justify-content: center;
  }

  .footer-bottom br {
    display: none;
  }

  .footer-bottom p + p {
    margin-top: 8px;
  }
}


/* ===== FILE: xr_new/assets/css/pages/home.css ===== */
body.xr-page--home {
  background: #ffffff;
  color: #111827;
}

header {
  background: linear-gradient(90deg, #4b5cff 0%, #7a5fe6 45%, #d76ad9 100%);
  position: relative;
  z-index: 40;
}

.navbar {
  font-size: 1.25em;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: transparent;
  min-height: 64px;
  padding: 0 1em 0 150px;
  flex-wrap: nowrap;
  position: relative;
  overflow: visible;
  max-width: 1440px;
  margin: 0 auto;
}

.navbar a {
  text-decoration: none;
  color: inherit;
}

.navbar a:hover {
  text-decoration: none;
}

.header-brand {
  flex: 0 0 auto;
  order: 1;
}

.logo-container {
  position: absolute;
  top: 70%;
  left: 1em;
  width: 80px;
  height: 80px;
  transform: translateY(-50%);
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  z-index: 1000;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar .nav-phone,
.navbar .nav-phone:link,
.navbar .nav-phone:visited {
  order: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 6px;
  background: #fff;
  color: #1877f2 !important;
  border: 1px solid #1877f2;
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transform: translateY(2px);
  transition: box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.navbar .nav-phone i {
  color: inherit;
}

.nav-controls {
  order: 4;
  display: flex;
  align-items: center;
  gap: 0.8em;
}

.nav-phone__text {
  white-space: nowrap;
}

.nav-links {
  order: 2;
  flex: 1 1 auto;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.35em;
  align-items: center;
  padding-left: 1.5em;
  padding-right: 1.5em;
  padding-top: 0;
  margin-top: 0;
  min-width: 0;
  transform: translateY(13px);
}

.nav-links li {
  display: inline;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  color: white;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  min-height: 40px;
  font-size: 1.18rem;
  line-height: 1.1;
  transform: translateY(2px);
}

.nav-links a:hover {
  color: #e7f3ff;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
}

.hamburger span {
  display: block;
  height: 4px;
  background-color: white;
  border-radius: 2px;
  transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1180px) {
  .nav-links {
    gap: 1em;
    padding-left: 1.15em;
    padding-right: 1em;
  }
}

@media (max-width: 980px) {
  .nav-links {
    gap: 0.85em;
    padding-left: 0.9em;
    padding-right: 0.75em;
  }
}



.car-section {
  padding: 10px 12px 18px;
  background-image:
    linear-gradient(rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0.82)),
    url("../img/hero-image.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-container {
  position: relative;
  text-align: center;
  color: white;
  max-width: 1140px;
  padding: 44px 28px 40px;
  margin: 0 auto 0;
  overflow: visible;
}

.car-section + .value-props-section {
  margin-top: 30px;
}

.hero-container::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.1));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 36px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  text-align: left;
}

.hero-left {
  max-width: 560px;
  padding: 12px 0;
}

.hero-right {
  display: flex;
  justify-content: flex-end;
}

.hero-heading,
.hero-subheading {
  position: relative;
  z-index: 1;
}

.hero-heading {
  max-width: 10ch;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  font-weight: bold;
  line-height: 1.02;
  margin-bottom: 0.55em;
  text-wrap: balance;
}

.hero-subheading {
  max-width: 34rem;
}

.hero-points {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.hero-points li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  font-size: 1.08rem;
  line-height: 1.4;
}

.hero-points li::before {
  content: "\2713";
  display: inline-block;
  width: 18px;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

#car-search-form {
  width: min(100%, 440px);
  display: grid;
  gap: 14px;
  padding: 14px 14px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(30, 36, 51, 0.94), rgba(23, 28, 40, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  backdrop-filter: blur(6px);
  position: relative;
  overflow: visible;
}

.search-type-group,
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field {
  min-width: 0;
}

.custom-dropdown {
  position: relative;
}

.custom-dropdown.is-locked .custom-dropdown-select {
  background: #eef2f7;
  color: #6b7280;
  cursor: not-allowed;
}

.custom-dropdown.is-locked .custom-dropdown-select::after {
  border-right-color: rgba(107, 114, 128, 0.5);
  border-bottom-color: rgba(107, 114, 128, 0.5);
}

.custom-dropdown-select {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: #fff;
  color: #111827;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
  font-size: 0.98rem;
  position: relative;
}

.custom-dropdown-select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-right: 2px solid rgba(17, 24, 39, 0.62);
  border-bottom: 2px solid rgba(17, 24, 39, 0.62);
  transform: translateY(-58%) rotate(45deg);
}

.custom-dropdown-select .label-text {
  display: block;
  max-width: calc(100% - 28px);
  line-height: 1.3;
}

.custom-dropdown-input {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  margin: 0;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 12px;
  outline: none;
  background: #f8fbff;
  color: #111827;
  font: inherit;
  font-weight: 700;
}

.custom-dropdown-input::placeholder {
  color: #6b7280;
}

.custom-dropdown-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  display: none;
  height: 360px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(24, 30, 44, 0.98);
  box-shadow: none;
}

.custom-dropdown.open .custom-dropdown-options {
  display: block;
}

.custom-dropdown-search {
  position: relative;
  z-index: 2;
  padding-bottom: 10px;
  background: transparent;
  width: 100%;
}

.custom-dropdown-list {
  height: calc(100% - 110px);
  overflow-y: auto;
  padding: 2px 0 12px;
  border-radius: 12px;
  background: #fff;
}

.custom-dropdown-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin: 0;
  border-radius: 10px;
  color: #111827;
}

.custom-dropdown-options label:hover {
  background: #f3f7ff;
}

.custom-dropdown-options input {
  width: 16px;
  height: 16px;
}

.custom-dropdown-search .custom-dropdown-input {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box;
  border-color: rgba(96, 165, 250, 0.85);
  background: #ffffff;
}

.dropdown-empty {
  padding: 10px;
  color: #6b7280;
  font-size: 13px;
}

.no-results {
  padding: 10px;
  color: #6b7280;
  font-size: 13px;
}

.custom-dropdown-actions {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(24, 30, 44, 0.98);
}

.custom-dropdown-save,
.custom-dropdown-clear {
  min-height: 44px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}

.custom-dropdown-save {
  border: 1px solid rgba(96, 165, 250, 0.4);
  background: #dfe9ff;
  color: #111827;
}

.custom-dropdown-clear {
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #ffffff;
  color: #111827;
}

.custom-dropdown-options mark {
  background: rgba(37, 99, 235, 0.14);
  color: inherit;
  padding: 0;
}

.search-condition-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.filter-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.94);
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  font-size: 0.98rem;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  text-transform: uppercase;
}

.filter-pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.filter-pill span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-pill span::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 1rem;
  line-height: 1;
}

.filter-pill:has(input:checked) span::before {
  content: "\2713";
  color: #ffffff;
}

.filter-pill:has(input:checked) {
  background: rgba(37, 99, 235, 0.28);
  border-color: rgba(96, 165, 250, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.search-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 2px;
  align-items: stretch;
}

.btn-primary {
  min-height: 50px;
  padding-inline: 26px;
  border-radius: 14px;
  font-size: 1rem;
  box-shadow: none;
  text-transform: uppercase;
}

.search-actions .btn-primary {
  width: 100%;
  justify-content: center;
}

.search-actions .btn-primary:hover {
  box-shadow: none;
}

.field-control {
  min-height: 50px;
  background: #fff;
  width: 100%;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: #111827;
  font-weight: 700;
  font-size: 0.98rem;
}

.field--select {
  position: relative;
}

.field--select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(17, 24, 39, 0.62);
  border-bottom: 2px solid rgba(17, 24, 39, 0.62);
  transform: translateY(-58%) rotate(45deg);
  pointer-events: none;
}

select.field-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  background-image: none;
}

.purchase-steps-card {
  max-width: 1000px;
  margin: 24px auto 22px;
  padding: 0 12px;
}

.purchase-steps-inner {
  width: 100%;
  background: #f5f9ff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px;
  padding: 16px 14px 14px;
}

.purchase-steps-title {
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 14px;
}

.purchase-steps-list {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  justify-items: stretch;
}

.purchase-step {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  padding: 14px 14px;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.06);
}

.purchase-step-num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #0b74ff;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(11, 116, 255, 0.18);
}

.purchase-step-text {
  flex: 1;
  min-width: 0;
}

.purchase-step-text strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 3px;
  line-height: 1.2;
}

.purchase-step-text span {
  display: block;
  font-size: 12.8px;
  color: #6b7280;
  line-height: 1.35;
}

.purchase-steps-footnote {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  text-align: center;
  font-size: 12.5px;
  color: #6b7280;
}

.purchase-steps-actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.contact-card {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 12px 26px;
  background: #ffffff;
}

.contact-card-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #111827;
}

.contact-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  color: #111827;
}

.contact-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
  max-width: 760px;
}

.contact-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer {
  margin-top: 0;
  background: linear-gradient(90deg, #4b5cff 0%, #7a5fe6 45%, #d76ad9 100%);
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  flex-wrap: wrap;
}

.footer-col {
  flex: 0 0 auto;
  max-width: none;
  text-align: left;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-col ul li {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.footer-col ul li i {
  margin: 0;
  min-width: 16px;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.95);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 800;
}

.footer-col a:hover,
.footer-bottom a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  text-align: center;
  padding: 10px 10px 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.1);
}

.footer-bottom a {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 750;
}

@media (max-width: 790px) {
  .navbar {
    justify-content: center;
    flex-wrap: nowrap;
    min-height: 72px;
    padding: 0 0.9rem 0 5.2em;
    gap: 0.75rem;
    position: relative;
    overflow: visible;
  }

  .logo-container {
    position: absolute;
    left: 0.7em;
    top: 70%;
    width: 3.5em;
    height: 3.5em;
    transform: translateY(-50%);
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    z-index: 1000;
  }

  .logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .nav-controls {
    margin-left: 0;
    position: absolute;
    right: 0.6em;
    top: 50%;
    transform: translateY(-50%);
  }

  .navbar .nav-phone,
  .navbar .nav-phone:link,
  .navbar .nav-phone:visited {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    order: 2;
    min-height: 40px;
    padding: 0 12px;
    font-size: 1rem;
    line-height: 1;
    margin: 0;
  }

  .hamburger {
    display: flex;
    width: 34px;
    height: 26px;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0;
    padding: 1.35rem 1rem 1.45rem;
    background: linear-gradient(90deg, #4b5cff 0%, #7a5fe6 45%, #d76ad9 100%);
    box-shadow: 0 18px 34px rgba(39, 46, 110, 0.28);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    z-index: 950;
  }

  .nav-links li {
    display: block;
    width: 100%;
    padding: 0.2rem 0;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.8rem 0.4rem;
    text-align: center;
    font-size: 1.18rem;
    line-height: 1.2;
  }

  .nav-links.active {
    display: flex;
  }
}

@media (max-width: 700px) {
  .hero-container {
    padding: 26px 16px 22px;
    margin-bottom: 0;
  }

  .car-section + .value-props-section {
    margin-top: 24px;
  }

  .car-section {
    padding-bottom: 14px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-right {
    justify-content: center;
  }

  .hero-left {
    padding: 6px 2px 0;
  }

  .hero-heading {
    margin-bottom: 0.5em;
  }

  .hero-subheading {
    margin-inline: auto;
  }

  .hero-points {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    justify-items: start;
  }

  .hero-points li {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    font-size: 1rem;
    text-align: left;
  }

  #car-search-form {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .search-type-group,
  .two-col,
  .search-condition-group {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  #car-search-form {
    gap: 12px;
    padding: 12px 12px 14px;
  }

  .custom-dropdown-select,
  .field-control,
  .filter-pill {
    min-height: 48px;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 0.94rem;
  }

  .filter-pill {
    font-size: 0.95rem;
  }
}

@media (max-width: 560px) {
  .logo-container {
    left: 0.7em;
    top: 70%;
    width: 3.35em;
    height: 3.35em;
    border-radius: 50%;
    transform: translateY(-50%);
  }

  .hero-heading {
    max-width: none;
    font-size: 2.15rem;
  }

  .hero-subheading p {
    font-size: 1rem;
  }
}

@media (max-width: 739px) {
  .purchase-steps-card .purchase-steps-inner .purchase-steps-list {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .purchase-steps-card .purchase-steps-inner .purchase-steps-list .purchase-step {
    width: 100% !important;
  }
}

@media (min-width: 740px) {
  .purchase-steps-card .purchase-steps-inner .purchase-steps-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 14px !important;
  }
}

@media (max-width: 520px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-col {
    width: 100%;
    text-align: center;
  }

  .footer-col ul {
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
  }
}

.home-section {
  padding: 38px 12px 42px;
}

.section-shell {
  max-width: 1000px;
  margin: 0 auto;
}

.section-copy--center {
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-title {
  margin: 0;
  color: #111827;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.section-lead {
  max-width: 720px;
  margin: 12px auto 0;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.6;
}

.value-props-section {
  background: #ffffff;
  padding: 0 12px;
  padding-top: 30px;
}

.value-props-section .section-lead {
  max-width: 980px;
}

.process-section {
  background: #ffffff;
  padding: 0 12px;
}

.process-section .section-eyebrow {
  color: #d4defe;
}

.process-section .section-title {
  color: #ffffff;
}

.process-section .section-lead {
  color: rgba(255, 255, 255, 0.84);
}

.trust-section {
  background: #ffffff;
  padding: 0 12px;
}

.car-section + .home-section,
.home-section + .home-section,
.home-section + .contact-card {
  margin-top: 30px;
}

.value-props-section > .section-shell,
.trust-section > .section-shell:first-child {
  padding: 30px 26px;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: none;
}

.process-section > .section-shell {
  padding: 30px 26px;
  border-radius: 26px;
  background: var(--xr-brand-surface-grad);
  border: 1px solid rgba(114, 136, 228, 0.18);
  box-shadow: none;
}

.value-props-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-card .value-prop-head {
  min-height: 42px;
}

.process-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.value-prop-card,
.trust-card {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: none;
}

.process-section .value-prop-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 255, 0.98) 100%);
  border-color: rgba(163, 186, 255, 0.12);
  box-shadow: none;
}

.value-prop-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.value-prop-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.value-prop-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--xr-accent);
  font-weight: 800;
  font-size: 0.9rem;
  flex: 0 0 42px;
}

.value-prop-card h3 {
  min-height: 42px;
  margin: 0;
  display: flex;
  align-items: center;
}

.value-prop-card h3,
.trust-card h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 1.1rem;
}

.value-prop-card .mini-list {
  margin-top: 0;
}

.value-prop-card p,
.trust-card li {
  margin: 0;
  color: #4b5563;
  line-height: 1.6;
}

.value-props-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.mini-list,
.trust-card ul {
  margin: 0;
  padding-left: 18px;
}

.mini-list li,
.trust-card li {
  color: #4b5563;
}

.mini-list li + li,
.trust-card li + li {
  margin-top: 8px;
}

.purchase-steps-card {
  margin-top: 22px;
}

.trust-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.trust-copy .section-lead {
  margin-left: 0;
}

.trust-grid {
  display: grid;
  gap: 16px;
}

.trust-proof-shell {
  margin-top: 24px;
  padding: 30px 26px;
  border-radius: 26px;
  background: var(--xr-brand-surface-grad);
  border: 1px solid rgba(114, 136, 228, 0.18);
  box-shadow: none;
}

.value-proof-shell {
  margin-top: 18px;
}

.value-proof-note {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--xr-brand-surface-grad);
  border: 1px solid rgba(114, 136, 228, 0.18);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  box-shadow: none;
}

.value-proof-note strong {
  color: #ffffff;
}

.value-proof-actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.trust-proof-copy {
  margin-bottom: 18px;
}

.trust-proof-shell .section-eyebrow {
  color: #c9dcff;
}

.trust-proof-shell .section-title {
  color: #ffffff;
}

.trust-proof-shell .section-lead {
  color: rgba(255, 255, 255, 0.82);
}

.trust-proof-title {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
}

.trust-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.proof-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  padding: 0;
  box-shadow: none;
  overflow: hidden;
}

.proof-card__media {
  aspect-ratio: 16 / 10;
  background: #e5e7eb;
  overflow: hidden;
}

.proof-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-card__meta,
.proof-card h4,
.proof-card p {
  margin-left: 20px;
  margin-right: 20px;
}

.proof-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 12px;
}

.proof-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--xr-accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.proof-year {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 700;
}

.proof-card h4 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 1.08rem;
  line-height: 1.25;
}

.proof-card p {
  margin: 0;
  margin-bottom: 18px;
  color: #4b5563;
  line-height: 1.6;
}

.trust-proof-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.proof-link {
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: var(--xr-accent);
  background: var(--xr-white);
  font-weight: 800;
  text-decoration: none;
  box-shadow: none;
}

.proof-link:hover {
  background: #f2f7ff;
  border-color: #ffffff;
}

.section-learn-more {
  min-height: 46px;
  padding: 0 18px;
}

.contact-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
}

.contact-card .btn-primary {
  min-height: 48px;
  border-radius: 14px;
  box-shadow: none;
}

.contact-card .btn-secondary {
  min-height: 48px;
  border-radius: 14px;
  background: #fff;
}

.contact-card .btn-secondary,
.contact-card .btn-primary {
  padding-inline: 20px;
}

.value-check-page {
  background: #f6f8fc;
}

.value-check-main {
  padding: 0 12px 40px;
}

.value-check-main > section + section {
  margin-top: 30px;
}

.value-check-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  min-height: 360px;
  background:
    linear-gradient(90deg, rgba(8, 12, 22, 0.42) 0%, rgba(12, 18, 32, 0.14) 34%, rgba(10, 15, 27, 0.14) 66%, rgba(6, 10, 18, 0.44) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(10, 10, 10, 0.12)),
    url("../img/value-check-hero-v1.png") center center/cover no-repeat;
  border: 0;
  margin-left: -12px;
  margin-right: -12px;
}

.value-check-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(15, 23, 42, 0.1) 100%);
  pointer-events: none;
}

.value-check-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 360px;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 24px 28px;
}

.value-check-hero__content {
  width: min(100%, 720px);
  text-align: center;
  color: #ffffff;
}

.value-check-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.value-check-hero__title {
  margin: 18px auto 0;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1;
  max-width: none;
  white-space: nowrap;
}

.value-check-hero__lead {
  margin: 18px auto 0;
  max-width: 44rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.value-check-hero__chips {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.value-check-hero__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(14, 22, 40, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.value-check-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.value-check-button--primary {
  background: #2f7cf6;
  color: #ffffff;
}

.value-check-button--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.value-check-section {
  padding: 30px 26px;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1px solid rgba(17, 24, 39, 0.08);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.value-check-section .section-lead {
  max-width: 900px;
}

.value-check-section--dark {
  background: var(--xr-brand-surface-grad);
  border-color: rgba(114, 136, 228, 0.18);
}

.value-check-section--dark .section-eyebrow,
.value-check-section--dark .section-title {
  color: #ffffff;
}

.value-check-section--dark .section-lead,
.value-check-section--dark .value-check-callout,
.value-check-section--dark .value-check-callout p,
.value-check-section--dark .value-check-callout strong {
  color: rgba(255, 255, 255, 0.9);
}

.value-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.value-check-grid--thirds {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-check-card {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  padding: 22px 20px;
}

.value-check-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.value-check-card__badge {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
}

.value-check-card__badge--plus {
  background: linear-gradient(135deg, #2f7cf6 0%, #4d93ff 100%);
}

.value-check-card__badge--minus {
  background: linear-gradient(135deg, #8b93a7 0%, #a6adbd 100%);
}

.value-check-section--dark .value-check-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 255, 0.98) 100%);
  border-color: rgba(163, 186, 255, 0.12);
}

.value-check-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f0f4ff 0%, #e1e8ff 100%);
  color: #2f68f6;
  font-size: 1.05rem;
}

.value-check-card h3 {
  margin: 0;
  color: var(--xr-brand-navy);
  font-size: 1.45rem;
}

.value-check-card p {
  margin: 12px 0 0;
  color: #4b5563;
  line-height: 1.65;
}

.value-check-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.value-check-checklist__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  padding: 18px 18px;
}

.value-check-checklist__item strong {
  display: block;
  color: var(--xr-brand-navy);
  margin-bottom: 4px;
}

.value-check-checklist__item span {
  color: #4b5563;
  line-height: 1.58;
}

.value-check-checklist__badge {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f0f4ff 0%, #e1e8ff 100%);
  color: #2f68f6;
  font-weight: 800;
}

.value-check-checklist__badge--check {
  border-radius: 999px;
  background: linear-gradient(180deg, #ecf8ef 0%, #ddf2e2 100%);
  color: #2f8f57;
  border: 1px solid rgba(47, 143, 87, 0.14);
}

.value-check-callout {
  margin-top: 18px;
  border-radius: 18px;
  padding: 18px 18px;
  background: linear-gradient(135deg, rgba(34, 51, 110, 0.96) 0%, rgba(76, 95, 180, 0.94) 100%);
  color: #ffffff;
}

.value-check-callout strong {
  color: #ffffff;
}

.value-check-callout p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.92);
}

.value-check-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.value-check-faq {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.value-check-faq__item {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  overflow: hidden;
}

.value-check-section--dark .value-check-faq__item {
  border-color: rgba(163, 186, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 255, 0.98) 100%);
}

.value-check-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 64px 18px 20px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
  color: var(--xr-brand-navy);
  position: relative;
}

.value-check-faq__item summary::-webkit-details-marker {
  display: none;
}

.value-check-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 124, 246, 0.1);
  color: #2f7cf6;
  font-size: 1rem;
  font-weight: 900;
}

.value-check-faq__item[open] summary::after {
  content: "-";
}

.value-check-faq__item p {
  margin: 0;
  padding: 0 20px 18px;
  color: #4b5563;
  line-height: 1.7;
}

.value-check-step {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 255, 0.98) 100%);
  border: 1px solid rgba(163, 186, 255, 0.12);
  border-radius: 18px;
  padding: 22px 20px;
}

.value-check-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f0f4ff 0%, #e1e8ff 100%);
  color: #2f68f6;
  font-weight: 800;
}

.value-check-step h3 {
  margin: 14px 0 0;
  color: var(--xr-brand-navy);
  font-size: 1.2rem;
}

.value-check-step p {
  margin: 10px 0 0;
  color: #4b5563;
  line-height: 1.62;
}

.value-check-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.value-check-cta__panel {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  padding: 22px 20px;
}

.value-check-cta__panel ul {
  margin: 0;
  padding-left: 18px;
  color: #4b5563;
  line-height: 1.7;
}

.value-check-cta__actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
}

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

  .value-check-cta__actions .value-check-button {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .home-section {
    padding: 28px 12px 32px;
  }

  .value-props-section {
    padding: 0 12px;
    padding-top: 24px;
  }

  .process-section,
  .trust-section,
  .contact-card {
    padding: 0 12px 32px;
  }

  .car-section + .home-section,
  .home-section + .home-section,
  .home-section + .contact-card {
    margin-top: 24px;
  }

  .value-props-section > .section-shell,
  .trust-section > .section-shell:first-child {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .trust-proof-shell {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .contact-card-inner {
    padding: 0;
    border-radius: 0;
  }

  .contact-card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-card .btn-primary,
  .contact-card .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .footer-container {
    gap: 12px;
  }

  .footer-col ul {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
  }

  .footer-col ul li {
    justify-content: center;
    text-align: left;
  }

  .footer-bottom br {
    display: none;
  }

  .footer-bottom p + p {
    margin-top: 8px;
  }

  .value-props-grid,
  .trust-shell,
  .trust-proof-grid {
    grid-template-columns: 1fr;
  }

  .value-props-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .value-props-actions .btn-primary,
  .value-props-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .value-check-main {
    padding-top: 0;
    padding-bottom: 30px;
  }

  .value-check-main > section + section {
    margin-top: 24px;
  }

  .value-check-hero {
      min-height: 300px;
      border-radius: 0;
      background-position: 58% center;
    }

  .value-check-hero__inner {
      min-height: 300px;
      padding: 18px 18px;
    }

  .value-check-hero__title {
    font-size: clamp(1.8rem, 8.4vw, 2.6rem);
  }

  .value-check-hero__lead {
    font-size: 1rem;
  }

  .value-check-section {
    padding: 26px 18px;
    border-radius: 24px;
  }

  .value-check-card,
  .value-check-step,
  .value-check-checklist__item,
  .value-check-cta__panel {
    padding: 20px 18px;
  }

  .value-check-faq__item summary {
    padding: 16px 58px 16px 18px;
    font-size: 0.96rem;
  }

  .value-check-grid,
  .value-check-checklist,
  .value-check-steps,
  .value-check-cta,
  .value-check-grid--thirds {
    grid-template-columns: 1fr;
  }
}


/* ===== FILE: xr_new/assets/css/pages/results.css ===== */
.xr-page--results {
  background: var(--xr-bg);
}

.xr-results-page {
  padding-bottom: 48px;
}

.xr-results-hero {
  min-height: 90px;
  padding: 10px 12px 0;
  background:
    linear-gradient(180deg, rgba(18, 23, 39, 0.58), rgba(18, 23, 39, 0.64)),
    url("../img/hero-image.webp") center 34%/cover no-repeat;
}

.xr-results-hero__shell,
.xr-results-content__shell {
  max-width: 1200px;
  margin: 0 auto;
}

.xr-results-hero__shell {
  min-height: 72px;
  padding: 10px 0 12px;
  display: flex;
  align-items: flex-end;
}

.xr-results-head__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--xr-brand-soft);
}

.xr-results-hero__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.xr-results-hero__toolbar .xr-toolbar-pill:last-child {
  margin-left: auto;
}

.xr-results-content {
  padding: 30px 12px 0;
}

.xr-toolbar-pill {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--xr-accent-line);
  border-radius: 10px;
  background: var(--xr-white);
  color: var(--xr-accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.xr-toolbar-pill:hover {
  border-color: var(--xr-accent-line-strong);
  background: var(--xr-accent-surface);
  transform: translateY(-1px);
}

.xr-toolbar-pill--active {
  background: var(--xr-accent);
  color: var(--xr-white);
  border-color: var(--xr-accent);
}

.xr-toolbar-pill--active:hover {
  background: linear-gradient(90deg, var(--xr-accent) 0%, var(--xr-brand-blue) 100%);
  color: var(--xr-white);
  border-color: var(--xr-accent);
}

.xr-toolbar-pill--pressed {
  background: linear-gradient(90deg, var(--xr-accent) 0%, var(--xr-brand-blue) 100%);
  color: var(--xr-white);
  border-color: var(--xr-accent);
  box-shadow: inset 0 2px 8px rgba(10, 26, 74, 0.18);
  transform: translateY(1px);
}

.xr-toolbar-pill--pressed:hover {
  background: linear-gradient(90deg, var(--xr-accent) 0%, var(--xr-brand-blue) 100%);
  color: var(--xr-white);
  border-color: var(--xr-accent);
  transform: translateY(1px);
}

.xr-toolbar-pill--subtle-active {
  background: linear-gradient(180deg, #eef2ff 0%, #e3e9ff 100%);
  border-color: rgba(75, 92, 255, 0.28);
  color: var(--xr-brand-text);
  box-shadow: inset 0 1px 6px rgba(16, 33, 77, 0.08);
  transform: translateY(1px);
}

.xr-toolbar-pill--subtle-active:hover {
  background: linear-gradient(180deg, #eef2ff 0%, #e3e9ff 100%);
  border-color: rgba(75, 92, 255, 0.28);
  color: var(--xr-brand-text);
  transform: translateY(1px);
}

.xr-results-drawers {
  margin-bottom: 18px;
}

.xr-results-drawer {
  display: none;
  background: var(--xr-white);
  border: 1px solid rgba(16, 33, 77, 0.1);
  border-radius: 24px;
  padding: 22px;
}

.xr-results-drawer.is-open {
  display: block;
}

.xr-results-filter-form__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.xr-results-field {
  display: block;
}

.xr-results-field span,
.xr-results-toggle-set__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--xr-brand-text);
}

.xr-results-field select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(16, 33, 77, 0.14);
  border-radius: 14px;
  background: var(--xr-white);
}

.xr-results-field select[multiple] {
  min-height: 168px;
  padding: 12px 16px;
}

.xr-results-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.xr-results-dropdown .custom-dropdown-options {
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  height: 340px;
}

.xr-results-dropdown .custom-dropdown-list {
  height: calc(100% - 110px);
}

.xr-results-toggle-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 6px;
  margin-bottom: 10px;
}

.xr-results-toggle-set {
  min-width: 0;
}

.xr-results-toggle-set--state {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}

.xr-results-toggle-set .xr-results-toggle-pill + .xr-results-toggle-pill {
  margin-left: 8px;
}

.xr-results-toggle-set--state .xr-results-toggle-set__label {
  flex: 0 0 100%;
  margin-bottom: 0;
}

.xr-results-toggle-set--state .xr-results-toggle-pill + .xr-results-toggle-pill {
  margin-left: 0;
}

.xr-results-toggle-set--state .xr-results-toggle-pill {
  display: flex;
  width: auto;
  vertical-align: top;
}

.xr-results-toggle-pill {
  display: inline-block;
}

.xr-results-toggle-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.xr-results-toggle-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 138px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(16, 33, 77, 0.14);
  background: var(--xr-white);
  color: var(--xr-brand-text);
  font-size: 14px;
  font-weight: 800;
}

.xr-results-toggle-pill--check span {
  padding: 0;
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111827;
  font-size: 13px;
}

.xr-results-toggle-pill input:checked + span {
  background: var(--xr-brand-panel);
  border-color: var(--xr-brand-panel);
  color: var(--xr-white);
}

.xr-results-toggle-pill--check {
  display: inline-flex;
  align-items: stretch;
  box-sizing: border-box;
  height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(96, 165, 250, 0.55);
  border-radius: 10px;
  background: #ffffff;
  color: #111827;
}

.xr-results-toggle-pill--check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.xr-results-toggle-pill--check:hover {
  background: #f3f7ff;
}

.xr-results-toggle-pill--check input:checked + span {
  background: transparent;
  border-color: transparent;
  color: #111827;
}

.xr-results-toggle-pill--check span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.xr-results-toggle-pill--check span::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 3px;
  border: 2px solid #4b5cff;
  background: #ffffff;
  box-sizing: border-box;
}

.xr-results-toggle-pill--check input:checked + span::before {
  background-color: #4b5cff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px 12px;
}

.xr-results-filter-actions {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.xr-results-filter-actions .btn-primary,
.xr-results-filter-actions .btn-secondary {
  min-width: 172px;
}

.xr-results-sort-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.xr-sort-button {
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(16, 33, 77, 0.12);
  border-radius: 18px;
  background: var(--xr-white);
  color: var(--xr-brand-text);
  font-weight: 800;
}

.xr-sort-button span {
  margin-left: 8px;
}

.xr-sort-button.is-active {
  background: var(--xr-brand-panel);
  color: var(--xr-white);
  border-color: var(--xr-brand-panel);
}

.xr-results-active-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.xr-active-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(16, 33, 77, 0.12);
  border-radius: 14px;
  background: var(--xr-white);
  color: var(--xr-brand-text);
  font-weight: 700;
}

.xr-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.xr-result-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--xr-white);
  border: 2px solid rgba(75, 92, 255, 0.5);
  border-radius: 24px;
  overflow: hidden;
}

.xr-result-card__link {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
}

.xr-result-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #eaf0ff 0%, #d7dff3 100%);
  overflow: hidden;
}

.xr-result-card__media img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xr-result-card__badges {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.xr-result-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--xr-brand-blue);
  color: var(--xr-white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.xr-result-card__badge--light {
  background: rgba(255, 255, 255, 0.94);
  color: var(--xr-brand-text);
}

.xr-result-card__media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
}

.xr-result-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.xr-result-card h3 {
  margin: 0;
  line-height: 1.08;
  color: var(--xr-white);
  letter-spacing: -0.02em;
  font-weight: 800;
}

.xr-result-card__title {
  display: block;
  font-size: 19px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.xr-result-card__title--md {
  font-size: 21px;
}

.xr-result-card__title--sm {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.xr-result-card__title--xs {
  font-size: 16px;
  letter-spacing: -0.04em;
}

.xr-result-card__title-pill {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--xr-header-grad);
}

.xr-result-card__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.xr-result-card__fact {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f7f9ff;
  border: 1px solid rgba(16, 33, 77, 0.08);
}

.xr-result-card__fact strong,
.xr-result-card__fact span {
  display: block;
}

.xr-result-card__fact strong {
  margin-bottom: 4px;
  color: #5e677a;
  font-size: 13px;
}

.xr-result-card__fact span {
  color: var(--xr-brand-text);
  font-weight: 700;
}

.xr-result-card__meta-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfcff 0%, #f7f9ff 100%);
  border: 1px solid rgba(16, 33, 77, 0.08);
}

.xr-result-card__strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  padding: 0;
  border-bottom: none;
}

.xr-result-card__strip-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 20px;
  min-width: 0;
  color: #5e677a;
  font-size: var(--xr-result-strip-font-size, clamp(0.78rem, 1.35vw, 0.92rem));
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.xr-result-card__strip-item i {
  color: var(--xr-brand-blue);
  flex: 0 0 auto;
  font-size: var(--xr-result-strip-icon-size, 0.9rem);
}

.xr-result-card__strip-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: clip;
}

.xr-result-card__summary--inline {
  grid-template-columns: 1fr;
}

.xr-result-card__summary--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.xr-result-card__summary--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.xr-result-card__fact--inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 32px;
  white-space: nowrap;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: center;
}

.xr-result-card__fact--inline i {
  color: var(--xr-brand-blue);
  font-size: var(--xr-result-summary-icon-size, 0.84rem);
}

.xr-result-card__fact--inline strong {
  display: none;
}

.xr-result-card__fact--inline span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: var(--xr-result-summary-font-size, 0.8rem);
  font-weight: 600;
}

.xr-result-card__link:hover .xr-result-card__badge--light,
.xr-result-card__link:focus-visible .xr-result-card__badge--light {
  background: rgba(255, 255, 255, 0.98);
}

.xr-results-empty {
  grid-column: 1 / -1;
  background: var(--xr-white);
  border: 1px solid rgba(16, 33, 77, 0.1);
  border-radius: 24px;
  padding: 24px;
}

.xr-results-empty h3 {
  margin: 0 0 10px;
  color: var(--xr-brand-text);
}

.xr-results-empty p {
  margin: 0;
  color: var(--xr-muted);
}

.xr-results-loadmore {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  min-height: 8px;
}

.xr-results-loadmore--auto {
  min-height: 8px;
  margin-top: 8px;
}

.xr-results-loadmore__status {
  display: none;
}

.xr-results-loadmore.is-loading .xr-results-loadmore__status::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-right: 10px;
  border-radius: 50%;
  border: 2px solid rgba(75, 92, 255, 0.18);
  border-top-color: var(--xr-brand-blue);
  border-right-color: var(--xr-brand-violet);
  animation: xrSpin 0.9s linear infinite;
}

.xr-result-card--skeleton .xr-result-card__media,
.xr-result-card__line {
  background: linear-gradient(90deg, var(--xr-skeleton-base) 18%, var(--xr-skeleton-mid) 42%, var(--xr-skeleton-accent) 56%, var(--xr-skeleton-base) 78%);
  background-size: 200% 100%;
  animation: xrPulse 1.2s linear infinite;
}

.xr-result-card--skeleton {
  background: linear-gradient(180deg, var(--xr-white) 0%, rgba(243, 246, 255, 0.92) 100%);
}

.xr-result-card__line {
  height: 14px;
  border-radius: 999px;
}

.xr-result-card__line--title {
  height: 24px;
  width: 80%;
}

.xr-result-card__line--short {
  width: 52%;
}

@keyframes xrPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 1080px) {
  .xr-results-filter-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xr-results-sort-buttons,
  .xr-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .xr-results-hero {
    min-height: 70px;
    padding: 8px 12px 0;
  }

  .xr-results-hero__shell {
    min-height: 56px;
    padding-bottom: 10px;
  }

  .xr-results-content {
    padding-top: 24px;
  }

  .xr-results-hero__toolbar {
    flex-direction: row;
    width: 100%;
  }

  .xr-toolbar-pill {
    width: calc(50% - 6px);
    justify-content: center;
  }

  .xr-results-toggle-group,
  .xr-results-sort-buttons,
  .xr-results-grid,
  .xr-result-card__summary:not(.xr-result-card__summary--pair):not(.xr-result-card__summary--triple) {
    grid-template-columns: 1fr;
  }

  .xr-results-filter-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .xr-results-toggle-set .xr-results-toggle-pill + .xr-results-toggle-pill {
    margin-left: 0;
    margin-top: 8px;
  }

  .xr-results-toggle-set--state .xr-results-toggle-pill + .xr-results-toggle-pill {
    margin-top: 0 !important;
  }

  .xr-results-filter-actions {
    flex-direction: column;
  }

  .xr-result-card .xr-result-card__strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 1px 0 10px;
  }

  .xr-result-card .xr-result-card__strip-item {
    font-size: 0.72rem;
    gap: 5px;
  }

  .xr-result-card h3 {
    line-height: 1.08;
  }

  .xr-result-card__title {
    font-size: 18px;
  }

  .xr-result-card__title--md {
    font-size: 18px;
  }

  .xr-result-card__title--sm {
    font-size: 16px;
  }

  .xr-result-card__title--xs {
    font-size: 14px;
  }

  .xr-result-card__fact--inline {
    min-height: 30px;
    padding: 0;
  }

  .xr-result-card__fact--inline span {
    font-size: var(--xr-result-summary-font-size, 0.72rem);
  }

  .xr-result-card__summary--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .xr-result-card__summary--triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .xr-result-card__title-pill,
  .xr-result-card__meta-panel {
    padding-left: 12px;
    padding-right: 12px;
  }
}


/* ===== FILE: xr_new/assets/css/pages/vehicle.css ===== */
.xr-page--vehicle {
  background: var(--xr-bg);
}

.xr-vehicle-page {
  padding-bottom: 48px;
}

.xr-vehicle-stage {
  padding: 8px 12px 0;
  position: relative;
  background: var(--xr-bg);
}

.xr-vehicle-stage::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 90px;
  background:
    linear-gradient(180deg, rgba(18, 23, 39, 0.58), rgba(18, 23, 39, 0.64)),
    url("../img/hero-image.webp") center 34%/cover no-repeat;
  z-index: 0;
}

.xr-vehicle-stage__shell,
.xr-vehicle-support__shell {
  max-width: 1200px;
  margin: 0 auto;
}

.xr-vehicle-stage__shell {
  position: relative;
  padding: 0 0 36px;
  z-index: 1;
}

.xr-vehicle-stage__topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-direction: row-reverse;
  gap: 16px;
  min-height: 72px;
  padding-top: 0;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.xr-vehicle-stage__topbar > * {
  flex: 1 1 0;
}

.xr-vehicle-stage__back {
  gap: 10px;
  display: inline-flex;
  justify-content: flex-end !important;
  align-items: center;
  text-align: right;
  border-radius: 10px;
  padding: 0 14px;
  min-height: 38px;
  height: 38px;
  line-height: 38px;
  max-width: 120px;
  font-size: 13px;
  font-weight: 800;
}

.xr-vehicle-stage__ref {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(75, 92, 255, 0.28);
  background: linear-gradient(180deg, #fbfcff 0%, #f4f7ff 100%);
  color: var(--xr-brand-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  height: 38px;
  line-height: 38px;
  max-width: 280px;
}

.xr-vehicle-stage__ref-icon {
  color: var(--xr-brand-blue);
  transition: color 0.2s ease, transform 0.2s ease;
}

.xr-vehicle-stage__portal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(75, 92, 255, 0.28);
  background: linear-gradient(180deg, #fbfcff 0%, #f4f7ff 100%);
  color: var(--xr-brand-blue);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  flex: 0 0 38px;
  max-width: 38px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.xr-vehicle-stage__portal:hover {
  border-color: rgba(75, 92, 255, 0.48);
  background: linear-gradient(180deg, #f2f6ff 0%, #eef3ff 100%);
}

.xr-vehicle-stage__portal.is-loading,
.xr-vehicle-stage__portal.is-saved {
  pointer-events: none;
}

.xr-vehicle-stage__portal.is-loading {
  color: var(--xr-brand-text);
}

.xr-vehicle-stage__portal.is-saved {
  color: #2b8a3e;
  border-color: rgba(43, 138, 62, 0.35);
  background: linear-gradient(180deg, #f2fbf4 0%, #ebf8ee 100%);
}

.xr-vehicle-stage__portal.is-error {
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.28);
  background: linear-gradient(180deg, #fff5f4 0%, #fff0ef 100%);
}

.xr-vehicle-stage__portal-icon {
  font-size: 15px;
}

.xr-vehicle-stage__ref.is-copied {
  border-color: rgba(75, 92, 255, 0.5);
  background: linear-gradient(180deg, #f2f6ff 0%, #eef3ff 100%);
}

.xr-vehicle-stage__ref.is-copied .xr-vehicle-stage__ref-icon {
  color: #2b8a3e;
  transform: scale(1.08);
}

.xr-vehicle-agent-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.xr-vehicle-agent-bar__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(75, 92, 255, 0.28);
  border-radius: 12px;
  background: linear-gradient(180deg, #fbfcff 0%, #f4f7ff 100%);
  box-shadow: 0 10px 28px rgba(26, 38, 86, 0.08);
  white-space: nowrap;
}

.xr-vehicle-agent-bar__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--xr-brand-soft);
  flex: 0 0 auto;
}

.xr-vehicle-agent-bar__label i {
  color: var(--xr-brand-blue);
  font-size: 12px;
}

.xr-vehicle-agent-bar__value {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--xr-brand-text);
  text-align: right;
  flex: 1 1 auto;
}

.xr-vehicle-agent-bar__value.is-loading {
  color: var(--xr-brand-soft);
}

.xr-vehicle-agent-bar__spinner {
  color: var(--xr-brand-blue);
}

.xr-vehicle-stage__eyebrow,
.xr-vehicle-note__eyebrow,
.xr-vehicle-panel__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--xr-brand-soft);
}

.xr-vehicle-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.xr-vehicle-panel {
  background: var(--xr-white);
  border: 2px solid rgba(75, 92, 255, 0.5);
  border-radius: 16px;
  overflow: hidden;
}

.xr-vehicle-panel--media {
  position: relative;
  min-height: 320px;
  background: #f8faff;
}

.xr-vehicle-gallery {
  padding: 8px;
}

.xr-vehicle-gallery__main {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #f8faff;
  aspect-ratio: 4 / 3;
}

.xr-vehicle-gallery__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.xr-vehicle-gallery__image.is-active {
  opacity: 1;
}

.xr-vehicle-panel--media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xr-vehicle-gallery__zoom,
.xr-vehicle-gallery__nav,
.xr-lightbox__nav,
.xr-lightbox__close {
  border: 0;
  cursor: pointer;
}

.xr-vehicle-gallery__zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(18, 23, 39, 0.76);
  color: var(--xr-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.xr-vehicle-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 24px;
  height: 92px;
  margin-top: -46px;
  border-radius: 10px;
  background: rgba(75, 92, 255, 0.46);
  color: var(--xr-white);
  font-size: 30px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.xr-vehicle-gallery__nav--prev {
  left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.xr-vehicle-gallery__nav--next {
  right: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.xr-vehicle-gallery__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.xr-vehicle-gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.xr-vehicle-gallery__thumb {
  padding: 0;
  border: 1px solid rgba(75, 92, 255, 0.18);
  border-radius: 10px;
  overflow: hidden;
  background: #dfe8fb;
  cursor: pointer;
  flex: 0 0 74px;
  aspect-ratio: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.xr-vehicle-gallery__thumb.is-active {
  border-color: rgba(75, 92, 255, 0.5);
  box-shadow: 0 0 0 2px rgba(75, 92, 255, 0.12);
}

.xr-vehicle-gallery__thumb img {
  width: 74px;
  height: 74px;
  display: block;
  object-fit: cover;
  object-position: center center;
  background: #dfe8fb;
}

.xr-vehicle-gallery__thumb--loading {
  position: relative;
  border-color: rgba(75, 92, 255, 0.18);
  background: #dfe8fb;
  cursor: progress;
}

.xr-vehicle-gallery__thumb-spinner {
  width: 18px;
  height: 18px;
}

.xr-vehicle-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.xr-vehicle-gallery__dot {
  width: 12px;
  height: 8px;
  padding: 0;
  border: 2px solid rgba(16, 33, 77, 0.72);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.xr-vehicle-gallery__dot.is-active {
  width: 30px;
  border-color: var(--xr-brand-blue);
  background: var(--xr-brand-blue);
}

.xr-lightbox-open {
  overflow: hidden;
}

.xr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.xr-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.94);
}

.xr-lightbox__shell {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.xr-lightbox__stage {
  position: relative;
  width: 100vw;
  height: 100dvh;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.xr-lightbox__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center center;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
}

.xr-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 78px;
  margin-top: -39px;
  border-radius: 10px;
  background: rgba(75, 92, 255, 0.52);
  color: var(--xr-white);
  font-size: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.xr-lightbox__nav--prev {
  left: 16px;
}

.xr-lightbox__nav--next {
  right: 16px;
}

.xr-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(75, 92, 255, 0.86);
  color: var(--xr-white);
  font-size: 30px;
  line-height: 1;
}

.xr-vehicle-panel--details {
  padding: 24px;
}

.xr-vehicle-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.xr-vehicle-title-pill {
  margin: 12px 0 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--xr-header-grad);
}

.xr-vehicle-note__eyebrow--details {
  display: inline-block;
  margin-bottom: 4px;
}

.xr-vehicle-mileage-badge {
  flex-shrink: 0;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(75, 92, 255, 0.18);
  box-shadow: 0 8px 22px rgba(16, 33, 77, 0.06);
  font-size: 0.76rem;
  margin-top: -7px;
}

.xr-vehicle-panel--details h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.04;
  color: var(--xr-white);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.xr-vehicle-meta-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, #fbfcff 0%, #f7f9ff 100%);
  border: 1px solid rgba(16, 33, 77, 0.08);
  margin-bottom: 16px;
}

.xr-vehicle-explain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.xr-vehicle-explain-fact {
  padding: 14px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, #fbfcff 0%, #f7f9ff 100%);
  border: 1px solid rgba(16, 33, 77, 0.08);
}

.xr-vehicle-explain-fact__head {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.xr-vehicle-explain-fact__head i {
  color: var(--xr-brand-blue);
  font-size: 14px;
}

.xr-vehicle-explain-fact__head strong {
  color: var(--xr-brand-text);
  font-size: 14px;
  font-weight: 800;
}

.xr-vehicle-explain-fact__head span {
  color: var(--xr-brand-text);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.xr-vehicle-explain-fact p {
  margin: 0;
  color: #5e677a;
  font-size: 13px;
  line-height: 1.55;
}

.xr-vehicle-explain-fact__head--compact {
  grid-template-columns: 16px auto minmax(0, 1fr);
  margin-bottom: 6px;
}

.xr-vehicle-explain-fact__head--compact strong,
.xr-vehicle-explain-fact__head--compact span {
  font-size: 18px;
  line-height: 1.2;
}

.xr-vehicle-explain-fact__head--compact strong {
  font-weight: 700;
  color: #495267;
}

.xr-vehicle-explain-fact__head--compact span {
  font-weight: 700;
  text-align: left;
  color: var(--xr-brand-text);
}

.xr-vehicle-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.xr-vehicle-facts--highlights {
  margin-bottom: 14px;
  grid-template-columns: 1fr;
}

.xr-vehicle-facts--secondary {
  gap: 12px;
}

.xr-vehicle-details-toggle {
  margin-top: 2px;
  border: 1px solid rgba(16, 33, 77, 0.1);
  border-radius: 10px;
  background: #fbfcff;
  overflow: hidden;
}

.xr-vehicle-details-toggle summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xr-vehicle-details-toggle summary::-webkit-details-marker {
  display: none;
}

.xr-vehicle-details-toggle summary::after {
  content: "+";
  font-size: 18px;
  line-height: 1;
  color: var(--xr-brand-blue);
  margin-left: auto;
}

.xr-vehicle-details-toggle[open] summary::after {
  content: "−";
}

.xr-vehicle-details-toggle .xr-vehicle-facts--secondary {
  padding: 0 14px 14px;
}

.xr-vehicle-toggle-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0 14px 14px;
}

.xr-vehicle-toggle-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.xr-vehicle-toggle-summary__icon {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(75, 92, 255, 0.12);
  color: var(--xr-brand-blue);
}

.xr-vehicle-toggle-summary__icon.is-success {
  background: rgba(43, 138, 62, 0.12);
  color: #2b8a3e;
}

.xr-vehicle-toggle-summary__icon.is-warning {
  background: rgba(214, 140, 9, 0.12);
  color: #d68c09;
}

.xr-vehicle-toggle-summary__icon.is-danger {
  background: rgba(217, 45, 32, 0.12);
  color: #d92d20;
}

.xr-vehicle-toggle-summary__icon.is-muted {
  background: rgba(94, 103, 122, 0.12);
  color: #5e677a;
}

.xr-vehicle-toggle-summary__icon.is-no-key::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
  transform: rotate(-45deg);
  border-radius: 999px;
}

.xr-vehicle-toggle-fact {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(16, 33, 77, 0.08);
  background: #f7f9ff;
}

.xr-vehicle-toggle-fact__icon {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(75, 92, 255, 0.12);
  color: var(--xr-brand-blue);
}

.xr-vehicle-toggle-fact__body {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 36px;
}

.xr-vehicle-toggle-fact__body strong {
  margin-bottom: 0;
  font-size: 13px;
  color: #5e677a;
  white-space: nowrap;
  line-height: 1.2;
  flex: 0 0 auto;
}

.xr-vehicle-toggle-fact__body span {
  color: var(--xr-brand-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
  min-width: 0;
  margin-left: auto;
  flex: 0 1 auto;
}

.xr-vehicle-toggle-fact.is-success .xr-vehicle-toggle-fact__icon {
  background: rgba(43, 138, 62, 0.12);
  color: #2b8a3e;
}

.xr-vehicle-toggle-fact.is-warning .xr-vehicle-toggle-fact__icon {
  background: rgba(214, 140, 9, 0.12);
  color: #d68c09;
}

.xr-vehicle-toggle-fact.is-danger .xr-vehicle-toggle-fact__icon {
  background: rgba(217, 45, 32, 0.12);
  color: #d92d20;
}

.xr-vehicle-toggle-fact.is-muted .xr-vehicle-toggle-fact__icon {
  background: rgba(94, 103, 122, 0.12);
  color: #5e677a;
}

.xr-vehicle-toggle-fact.is-no-key .xr-vehicle-toggle-fact__icon::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
  transform: rotate(-45deg);
  border-radius: 999px;
}

.xr-platform-badge {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--xr-brand-blue);
  color: var(--xr-white);
  font-size: 12px;
  font-weight: 800;
}

.xr-vehicle-fact {
  padding: 14px;
  border-radius: 10px;
  background: #f7f9ff;
  border: 1px solid rgba(16, 33, 77, 0.08);
}

.xr-vehicle-fact strong,
.xr-vehicle-fact span {
  display: block;
}

.xr-vehicle-fact strong {
  margin-bottom: 6px;
  font-size: 13px;
  color: #5e677a;
}

.xr-vehicle-fact span {
  font-weight: 700;
  color: var(--xr-brand-text);
}

.xr-vehicle-fact--highlight {
  padding: 16px 18px;
  background: linear-gradient(180deg, #fbfcff 0%, #f3f7ff 100%);
  border-color: rgba(75, 92, 255, 0.2);
}

.xr-vehicle-fact--highlight strong {
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f79ff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.xr-vehicle-fact--highlight strong i {
  color: #4b5cff;
  font-size: 13px;
}

.xr-vehicle-fact--highlight span {
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
  color: var(--xr-brand-text);
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 2px;
  flex-wrap: wrap;
}

.xr-vehicle-fact--highlight span i {
  color: var(--xr-brand-text);
  font-size: 18px;
}

.xr-vehicle-fact--highlight small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #5e677a;
}

.xr-vehicle-media-empty,
.xr-vehicle-error {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 24px;
  color: #5e677a;
  text-align: center;
}

.xr-vehicle-support {
  padding: 30px 12px 0;
  overflow-x: hidden;
}

.xr-vehicle-support__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 24px;
  align-items: start;
  overflow-x: hidden;
}

.xr-vehicle-support__shell > * {
  min-width: 0;
}

.xr-vehicle-support__shell--single {
  grid-template-columns: 1fr;
  margin-top: 24px;
}

.xr-vehicle-note,
.xr-vehicle-lead .xr-lead-module,
.xr-vehicle-nextsteps {
  background: var(--xr-white);
  border: 1px solid rgba(16, 33, 77, 0.1);
  border-radius: 20px;
  padding: 24px;
}

.xr-vehicle-note h2,
.xr-vehicle-lead .xr-lead-module h3 {
  margin: 10px 0 10px;
  color: var(--xr-brand-text);
}

.xr-vehicle-lead .xr-lead-module--compact h3 {
  margin: 0 0 10px;
  text-align: left;
  font-size: 28px;
}

.xr-vehicle-lead .xr-lead-intro--compact {
  margin: 0 0 12px;
  color: #495267;
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}

.xr-vehicle-lead .xr-lead-pills--compact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.xr-vehicle-lead .xr-lead-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f5f7ff;
  border: 1px solid rgba(75, 92, 255, 0.14);
  color: var(--xr-brand-text);
  font-size: 13px;
  font-weight: 700;
}

.xr-vehicle-note p {
  margin: 0;
  color: #495267;
  line-height: 1.65;
}

.xr-vehicle-nextsteps--cta h2 {
  margin: 10px 0 10px;
  color: var(--xr-brand-text);
}

.xr-vehicle-nextsteps__intro {
  margin: 0;
  color: #495267;
  line-height: 1.65;
}

.xr-vehicle-nextsteps--cta .xr-vehicle-lead {
  margin-top: 18px;
}

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

.xr-vehicle-nextstep {
  min-width: 0;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(16, 33, 77, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.xr-vehicle-nextstep h2 {
  margin: 0 0 12px;
  color: var(--xr-brand-text);
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.xr-vehicle-nextstep p {
  margin: 0;
  color: #495267;
  line-height: 1.65;
  font-size: 16px;
}

.xr-vehicle-nextstep--guide {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.xr-vehicle-nextstep--contact {
  grid-column: 1 / -1;
  padding-top: 24px;
}

.xr-vehicle-nextstep--contact h2 {
  margin-bottom: 16px;
}

.xr-vehicle-note__inline-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  color: var(--xr-brand-blue);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

.xr-vehicle-note__inline-link::-webkit-details-marker,
.xr-vehicle-note__inline-link::marker {
  display: none;
}

.xr-vehicle-note__inline-link:hover {
  color: var(--xr-brand-panel);
}

.xr-vehicle-nextstep-toggle {
  margin-top: 2px;
}

.xr-vehicle-nextstep-toggle[open] .xr-vehicle-note__inline-link {
  color: var(--xr-brand-panel);
}

.xr-vehicle-nextstep-panel {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(16, 33, 77, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}

.xr-vehicle-nextstep-panel h3 {
  margin: 0 0 14px;
  color: var(--xr-brand-text);
  font-size: 18px;
  line-height: 1.2;
}

.xr-vehicle-nextstep-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.xr-vehicle-nextstep-mini-grid--process {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.xr-vehicle-nextstep-mini-card {
  min-width: 0;
  padding: 14px;
  border-radius: 14px;
  background: var(--xr-white);
  border: 1px solid rgba(16, 33, 77, 0.08);
}

.xr-vehicle-nextstep-mini-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--xr-brand-text);
  font-size: 15px;
  line-height: 1.35;
}

.xr-vehicle-nextstep-mini-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.xr-vehicle-nextstep-mini-card ul {
  margin: 0;
  padding-left: 18px;
  color: #495267;
}

.xr-vehicle-nextstep-mini-card li + li {
  margin-top: 8px;
}

.xr-lead-intents {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.xr-lead-intents__legend {
  margin-bottom: 10px;
  color: #5e677a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.xr-lead-intents__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.xr-lead-intent {
  position: relative;
  display: flex;
  min-height: 74px;
  cursor: pointer;
}

.xr-lead-intent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.xr-lead-intent span {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 74px;
  padding: 14px 16px 14px 48px;
  border: 1px solid rgba(16, 33, 77, 0.1);
  border-radius: 16px;
  background: #f8faff;
  color: var(--xr-brand-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.xr-lead-intent span::before,
.xr-lead-intent span::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.xr-lead-intent span::before {
  top: 50%;
  left: 16px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border: 2px solid rgba(75, 92, 255, 0.4);
  background: var(--xr-white);
}

.xr-lead-intent span::after {
  top: 50%;
  left: 22px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: transparent;
}

.xr-lead-intent:hover span {
  border-color: rgba(75, 92, 255, 0.26);
}

.xr-lead-intent input:checked + span {
  border-color: rgba(75, 92, 255, 0.42);
  background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
  box-shadow: inset 0 0 0 1px rgba(75, 92, 255, 0.12);
}

.xr-lead-intent input:checked + span::before {
  border-color: var(--xr-brand-blue);
}

.xr-lead-intent input:checked + span::after {
  background: var(--xr-brand-blue);
}

.xr-lead-intent input:focus-visible + span {
  outline: 2px solid rgba(75, 92, 255, 0.3);
  outline-offset: 2px;
}

.xr-vehicle-lead--embedded .xr-lead-module {
  padding: 0;
  border: 0;
  background: transparent;
}

.xr-vehicle-lead--embedded .xr-form-actions {
  margin-top: 14px;
}

.xr-vehicle-lead--embedded .xr-lead-form {
  display: grid;
  gap: 14px;
}

.xr-vehicle-lead--embedded .xr-form-grid--compact {
  gap: 14px;
}

.xr-vehicle-note__actions {
  margin-top: 14px;
}

.xr-vehicle-note__link {
  min-height: 42px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
}

.xr-vehicle-note__steps {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.xr-vehicle-note__step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(16, 33, 77, 0.08);
  border-radius: 10px;
  background: #f8faff;
}

.xr-vehicle-note__step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--xr-brand-blue);
  color: var(--xr-white);
  font-size: 13px;
}

.xr-vehicle-note__step span {
  color: #495267;
  font-size: 14px;
  line-height: 1.55;
}

.xr-vehicle-similar {
  background: var(--xr-white);
  border: 1px solid rgba(16, 33, 77, 0.1);
  border-radius: 16px;
  padding: 10px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.xr-vehicle-similar__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 12px 0 18px;
}

.xr-vehicle-similar h2 {
  margin: 12px 0 12px;
  color: var(--xr-brand-text);
}

.xr-vehicle-similar p {
  margin: 0;
  color: #495267;
  line-height: 1.7;
}

.xr-vehicle-similar__content {
  min-height: 120px;
  overflow-x: hidden;
}

.xr-vehicle-similar__carousel {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  padding: 0 8px;
}

.xr-vehicle-similar__track {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.xr-vehicle-similar__viewport {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding-bottom: 6px;
}

.xr-vehicle-similar__viewport::-webkit-scrollbar {
  display: none;
}

.xr-vehicle-similar__rail {
  display: flex;
  gap: 16px;
}

.xr-vehicle-similar__rail--loading {
  display: flex;
  gap: 16px;
  overflow: hidden;
}

.xr-vehicle-similar__item,
.xr-vehicle-similar__card-skeleton {
  flex: 0 0 clamp(260px, 29vw, 352px);
  min-width: 0;
  scroll-snap-align: start;
}

.xr-vehicle-similar__item .xr-result-card {
  min-width: 0;
  height: 100%;
}

.xr-vehicle-similar__item .xr-result-card__media {
  aspect-ratio: 16 / 9;
}

.xr-vehicle-similar__item .xr-result-card__body {
  gap: 8px;
  padding: 12px 12px 14px;
}

.xr-vehicle-similar__item .xr-result-card__title-pill {
  padding: 10px 12px;
}

.xr-vehicle-similar__item .xr-result-card__meta-panel {
  padding: 10px 12px;
}

.xr-vehicle-similar__item .xr-result-card__fact {
  padding: 10px 12px;
}

.xr-vehicle-similar__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 24px;
  height: 74px;
  margin-top: -37px;
  border: 1px solid rgba(75, 92, 255, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  color: var(--xr-brand-blue);
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.xr-vehicle-similar__nav--prev {
  left: 0;
}

.xr-vehicle-similar__nav--next {
  right: 0;
}

.xr-vehicle-similar__nav:hover:not(:disabled) {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #f7f9ff 0%, #edf2ff 100%);
}

.xr-vehicle-similar__nav:disabled {
  opacity: 0.38;
  cursor: default;
}

.xr-vehicle-similar__card-skeleton {
  min-height: 340px;
  border-radius: 24px;
  border: 1px solid rgba(75, 92, 255, 0.16);
  background: linear-gradient(180deg, var(--xr-skeleton-base) 18%, var(--xr-skeleton-mid) 42%, var(--xr-skeleton-accent) 56%, var(--xr-skeleton-base) 78%);
  background-size: 200% 100%;
  animation: xrVehiclePulse 1.2s linear infinite;
}

.xr-results-empty--vehicle {
  border-radius: 16px;
}

.xr-vehicle-lead .xr-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.xr-vehicle-lead .xr-form-grid--compact {
  gap: 0;
}

.xr-vehicle-lead [data-xr-phone-input-wrap].is-hidden,
.xr-vehicle-lead [data-xr-saved-phone-wrap].is-hidden {
  display: none;
}

.xr-lead-phone-saved {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
}

.xr-lead-phone-saved__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.xr-lead-phone-saved__edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(75, 92, 255, 0.2);
  border-radius: 10px;
  background: rgba(75, 92, 255, 0.06);
  color: var(--xr-brand-blue);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.xr-lead-phone-saved__edit:hover {
  background: rgba(75, 92, 255, 0.12);
  border-color: rgba(75, 92, 255, 0.3);
  transform: translateY(-1px);
}

.xr-lead-phone-saved__edit i {
  font-size: 15px;
}

.xr-vehicle-lead .xr-form-grid label,
.xr-vehicle-lead .xr-form-grid__full {
  display: block;
}

.xr-vehicle-lead .xr-form-grid span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--xr-brand-text);
}

.xr-vehicle-lead input,
.xr-vehicle-lead textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(16, 33, 77, 0.14);
  border-radius: 10px;
  background: var(--xr-white);
}

.xr-vehicle-lead textarea {
  min-height: 132px;
  padding: 14px 16px;
  resize: vertical;
}

.xr-vehicle-lead .xr-lead-module--compact input[type="tel"] {
  min-height: 54px;
  border-radius: 16px;
  font-size: 16px;
}

.xr-vehicle-lead .xr-form-actions {
  margin-top: 18px;
}

.xr-vehicle-lead .xr-lead-module--compact .xr-form-actions {
  margin-top: 14px;
}

.xr-vehicle-lead .xr-lead-module--compact .xr-button--primary {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: none;
}

.xr-vehicle-lead .xr-lead-module--compact .xr-button--primary.is-disabled,
.xr-vehicle-lead .xr-lead-module--compact .xr-button--primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  filter: saturate(0.7);
}

.xr-vehicle-lead .xr-lead-module--compact .xr-button--primary:hover {
  box-shadow: none;
}

.xr-vehicle-lead .xr-form-actions .xr-form-note {
  display: none;
}

.xr-vehicle-lead .xr-lead-module--compact .xr-form-note--compact {
  display: block;
  margin: 10px 0 0;
  color: #5e677a;
  font-size: 12.5px;
  line-height: 1.45;
  text-align: left;
}

.xr-vehicle-lead .xr-form-status {
  margin-top: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  align-self: center;
}

.xr-vehicle-lead .xr-form-status::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 14px;
}

.xr-vehicle-lead .xr-form-status.is-error,
.xr-vehicle-lead .xr-form-status.is-success,
.xr-vehicle-lead .xr-form-status.is-loading,
.xr-vehicle-lead .xr-form-status.is-info {
  display: inline-flex;
}

.xr-vehicle-lead .xr-form-status.is-error {
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
}

.xr-vehicle-lead .xr-form-status.is-error::before {
  content: "\f071";
}

.xr-vehicle-lead .xr-form-status.is-success {
  color: #027a48;
  background: #ecfdf3;
  border: 1px solid #abefc6;
}

.xr-vehicle-lead .xr-form-status.is-success::before {
  content: "\f058";
}

.xr-vehicle-lead .xr-form-status.is-loading {
  color: #495267;
  background: #f8faff;
  border: 1px solid rgba(75, 92, 255, 0.18);
}

.xr-vehicle-lead .xr-form-status.is-loading::before {
  content: "\f110";
  animation: xr-spin 0.9s linear infinite;
}

.xr-vehicle-lead .xr-form-status.is-info {
  color: #1d4ed8;
  background: #eef4ff;
  border: 1px solid rgba(47, 124, 246, 0.22);
}

.xr-vehicle-lead .xr-form-status.is-info::before {
  content: "\f05a";
}

.xr-consent {
  position: fixed;
  left: 50%;
  bottom: 16px;
  width: min(760px, calc(100vw - 32px));
  transform: translateX(-50%);
  z-index: 1200;
  display: grid;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(16, 33, 77, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 50px rgba(16, 33, 77, 0.16);
  backdrop-filter: blur(14px);
}

.xr-consent__copy {
  display: grid;
  gap: 6px;
}

.xr-consent__copy strong {
  color: var(--xr-brand-text);
  font-size: 15px;
}

.xr-consent__copy span {
  color: #5e677a;
  font-size: 14px;
  line-height: 1.55;
}

.xr-consent__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.xr-consent__actions .xr-button {
  width: 100%;
  min-height: 44px;
  padding-inline: 18px;
}

@media (max-width: 720px) {
  .xr-consent {
    left: 16px;
    right: 16px;
    width: auto;
    transform: none;
  }
}

.xr-consent__actions .xr-button--ghost {
  background: #ffffff;
  border-color: rgba(16, 33, 77, 0.08);
  color: #4e5668;
  font-weight: 700;
}

.xr-consent__actions .xr-button--ghost:hover {
  background: #f8faff;
  border-color: rgba(16, 33, 77, 0.12);
}

.xr-consent__details {
  display: grid;
  gap: 10px;
}

.xr-consent__details summary {
  cursor: pointer;
  color: var(--xr-brand-blue);
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.xr-consent__details summary::-webkit-details-marker {
  display: none;
}

.xr-consent__details-copy {
  display: grid;
  gap: 8px;
}

.xr-consent__details-copy p {
  margin: 0;
  color: #5e677a;
  font-size: 14px;
  line-height: 1.55;
}

@keyframes xr-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 721px) {
  .xr-vehicle-lead--embedded .xr-lead-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .xr-vehicle-lead--embedded .xr-lead-intents,
  .xr-vehicle-lead--embedded .xr-form-status {
    grid-column: 1 / -1;
  }

  .xr-vehicle-lead--embedded .xr-form-grid--compact {
    grid-column: 1;
  }

  .xr-vehicle-lead--embedded [data-xr-saved-phone-wrap] {
    grid-column: 1;
  }

  .xr-vehicle-lead--embedded .xr-form-actions {
    grid-column: 2;
    margin-top: 0;
    min-width: 280px;
    align-self: center;
  }

  .xr-vehicle-lead--embedded .xr-lead-module--compact .xr-button--primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding-left: 28px;
    padding-right: 28px;
    white-space: nowrap;
  }
}

.xr-vehicle-summary--loading .xr-vehicle-panel--media,
.xr-vehicle-line {
  background: linear-gradient(90deg, var(--xr-skeleton-base) 18%, var(--xr-skeleton-mid) 42%, var(--xr-skeleton-accent) 56%, var(--xr-skeleton-base) 78%);
  background-size: 200% 100%;
  animation: xrVehiclePulse 1.2s linear infinite;
}

.xr-vehicle-summary--loading .xr-vehicle-panel {
  background: linear-gradient(180deg, var(--xr-white) 0%, rgba(243, 246, 255, 0.92) 100%);
}

.xr-loading-spinner,
.xr-spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(75, 92, 255, 0.18);
  border-top-color: var(--xr-brand-blue);
  border-right-color: var(--xr-brand-violet);
  animation: xrSpin 0.9s linear infinite;
}

@keyframes xrSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.xr-vehicle-panel--facts {
  padding: 24px;
}

.xr-vehicle-line {
  height: 14px;
  border-radius: 999px;
}

.xr-vehicle-line--title {
  height: 28px;
  width: 78%;
  margin-bottom: 18px;
}

.xr-vehicle-line:not(.xr-vehicle-line--title) {
  margin-top: 12px;
}

@keyframes xrVehiclePulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 1080px) {
  .xr-vehicle-summary,
  .xr-vehicle-support__shell {
    grid-template-columns: 1fr;
  }

  .xr-vehicle-nextsteps__list,
  .xr-lead-intents__options,
  .xr-vehicle-nextstep-mini-grid,
  .xr-vehicle-nextstep-mini-grid--process {
    grid-template-columns: 1fr;
  }

  .xr-vehicle-fact--highlight span {
    font-size: 24px;
  }
}

@media (max-width: 720px) {
  .xr-vehicle-lead--embedded .xr-lead-form.is-phone-saved {
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
  }

  .xr-vehicle-lead--embedded .xr-lead-form.is-phone-saved .xr-form-grid--compact {
    grid-column: 1;
  }

  .xr-vehicle-lead--embedded .xr-lead-form.is-phone-saved .xr-lead-intents,
  .xr-vehicle-lead--embedded .xr-lead-form.is-phone-saved .xr-form-status {
    grid-column: 1 / -1;
  }

  .xr-vehicle-lead--embedded .xr-lead-form.is-phone-saved .xr-form-actions {
    grid-column: 2;
    margin-top: 0;
    min-width: 0;
    align-self: center;
  }

  .xr-vehicle-lead--embedded .xr-lead-form.is-phone-saved [data-xr-saved-phone-wrap] {
    justify-content: flex-start;
  }

  .xr-vehicle-lead--embedded .xr-lead-form.is-phone-editing {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .xr-vehicle-lead--embedded .xr-lead-form.is-phone-editing .xr-form-grid--compact,
  .xr-vehicle-lead--embedded .xr-lead-form.is-phone-editing .xr-form-actions,
  .xr-vehicle-lead--embedded .xr-lead-form.is-phone-editing .xr-form-status,
  .xr-vehicle-lead--embedded .xr-lead-form.is-phone-editing .xr-lead-intents {
    grid-column: 1 / -1;
  }

  .xr-vehicle-lead--embedded .xr-lead-form.is-phone-editing .xr-form-actions {
    margin-top: 0;
  }

  .xr-vehicle-stage {
    padding-top: 6px;
  }

  .xr-vehicle-stage::before {
    height: 70px;
  }

  .xr-vehicle-stage__shell {
    padding-bottom: 28px;
  }

  .xr-vehicle-stage__topbar {
    gap: 10px;
    min-height: 56px;
    padding-top: 0;
    margin-bottom: 16px;
  }

  .xr-vehicle-stage__topbar > * {
    max-width: none;
  }

  .xr-vehicle-stage__back,
  .xr-vehicle-stage__ref {
    min-width: 0;
  }

  .xr-vehicle-stage__portal {
    flex: 0 0 38px;
    max-width: 38px;
    min-width: 38px;
  }

  .xr-vehicle-agent-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .xr-vehicle-agent-bar__item {
    min-height: 42px;
    padding: 7px 8px;
  }

  .xr-vehicle-agent-bar__label {
    font-size: 9px;
    gap: 4px;
    letter-spacing: 0.02em;
  }

  .xr-vehicle-agent-bar__value {
    font-size: 12px;
  }

  .xr-vehicle-stage__back {
    justify-content: flex-start;
  }

  .xr-vehicle-panel--details h2 {
    font-size: 24px;
  }

  .xr-vehicle-section-head {
    align-items: flex-start;
    gap: 8px;
  }

  .xr-vehicle-mileage-badge {
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.72rem;
    margin-top: -6px;
  }

  .xr-vehicle-facts {
    grid-template-columns: 1fr;
  }

  .xr-vehicle-fact--highlight span {
    font-size: 22px;
  }

  .xr-vehicle-title-pill,
  .xr-vehicle-meta-panel {
    padding-left: 12px;
    padding-right: 12px;
  }

  .xr-vehicle-meta-panel {
    gap: 6px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .xr-vehicle-explain-fact__head {
    grid-template-columns: 14px minmax(0, 1fr);
  }

  .xr-vehicle-explain-fact__head span {
    grid-column: 1 / -1;
    text-align: left;
    padding-left: 22px;
  }

  .xr-vehicle-explain-fact__head--compact {
    grid-template-columns: 14px auto minmax(0, 1fr);
  }

  .xr-vehicle-explain-fact__head--compact span {
    grid-column: auto;
    padding-left: 0;
  }

  .xr-vehicle-explain-fact__head--compact strong,
  .xr-vehicle-explain-fact__head--compact span {
    font-size: 16px;
  }

  .xr-vehicle-similar__head {
    align-items: start;
    flex-direction: column;
  }

  .xr-vehicle-similar__carousel {
    padding: 0 6px;
  }

  .xr-lead-phone-saved {
    min-height: 32px;
  }

  .xr-lead-phone-saved__edit {
    width: 32px;
    height: 32px;
  }

  .xr-vehicle-similar__nav {
    width: 20px;
    height: 64px;
    margin-top: -32px;
    font-size: 24px;
  }

  .xr-vehicle-similar__nav--prev {
    left: 0;
  }

  .xr-vehicle-similar__nav--next {
    right: 0;
  }

  .xr-vehicle-similar__rail,
  .xr-vehicle-similar__rail--loading {
    gap: 12px;
  }

  .xr-vehicle-similar__item,
  .xr-vehicle-similar__card-skeleton {
    flex-basis: min(86vw, 320px);
  }

  .xr-vehicle-nextsteps {
    padding: 20px;
  }

  .xr-vehicle-nextsteps__list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .xr-vehicle-nextstep {
    padding: 18px;
  }

  .xr-vehicle-nextstep h2 {
    font-size: 24px;
    line-height: 1.14;
  }

  .xr-vehicle-nextstep p {
    font-size: 15px;
  }

  .xr-vehicle-note__inline-link {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .xr-vehicle-nextstep-panel {
    padding: 14px;
  }

  .xr-vehicle-nextstep-panel h3 {
    font-size: 16px;
  }

  .xr-vehicle-nextstep-mini-card {
    padding: 12px;
  }

  .xr-vehicle-nextstep-mini-card strong {
    font-size: 14px;
  }

  .xr-vehicle-nextstep-mini-card p,
  .xr-vehicle-nextstep-mini-card li {
    font-size: 13px;
  }

  .xr-lead-intents__legend {
    font-size: 11px;
  }

  .xr-lead-intents__options {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .xr-lead-intent {
    min-height: 64px;
  }

  .xr-lead-intent span {
    min-height: 64px;
    padding: 12px 14px 12px 44px;
    font-size: 14px;
  }

  .xr-vehicle-gallery {
    padding: 6px;
  }

  .xr-vehicle-gallery__nav {
    width: 22px;
    height: 82px;
    margin-top: -41px;
    font-size: 28px;
  }

  .xr-vehicle-gallery__thumb,
  .xr-vehicle-gallery__thumb img {
    width: 68px;
    height: 68px;
  }

  .xr-lightbox__nav {
    width: 24px;
    height: 82px;
    margin-top: -41px;
    font-size: 30px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .xr-vehicle-gallery__nav:hover,
  .xr-lightbox__nav:hover,
  .xr-lightbox__close:hover {
    background: rgba(75, 92, 255, 0.66);
    transform: scale(1.03);
  }

  .xr-vehicle-gallery__zoom:hover {
    background: rgba(18, 23, 39, 0.88);
    transform: scale(1.03);
  }
}

