:root {
  --ink: #17212b;
  --muted: #5d6a73;
  --line: #d9e2e7;
  --paper: #f7f5ef;
  --white: #ffffff;
  --teal: #0b6b69;
  --teal-dark: #074d4c;
  --gold: #d9962f;
  --clay: #b95234;
  --steel: #263d4a;
  --shadow: 0 20px 60px rgba(23, 33, 43, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f3ee;
  line-height: 1.55;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(247, 245, 239, 0.78), rgba(247, 245, 239, 0.94) 56%, rgba(247, 245, 239, 0.98)),
    url("assets/company-hero-weiying.png") center / cover no-repeat;
}

.page-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(2px);
}

#codex-browser-sidebar-comments-root {
  pointer-events: none !important;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 2147483200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(247, 245, 239, 0.94);
  border-bottom: 1px solid rgba(23, 33, 43, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-mark {
  display: block;
  width: 110px;
  height: 42px;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--teal);
}

.language-control select {
  min-height: 36px;
  width: auto;
  padding: 7px 30px 7px 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  border: 1px solid rgba(23, 33, 43, 0.18);
  background: rgba(255, 255, 255, 0.62);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  align-items: end;
  min-height: calc(100vh - 76px);
  padding: clamp(70px, 10vw, 130px) clamp(18px, 4vw, 64px) clamp(26px, 5vw, 58px);
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(9, 26, 31, 0.77), rgba(9, 26, 31, 0.42) 55%, rgba(9, 26, 31, 0.14)),
    url("assets/company-hero-weiying.png") center / cover no-repeat;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 26, 31, 0.9), rgba(9, 26, 31, 0.58) 52%, rgba(9, 26, 31, 0.18)),
    linear-gradient(0deg, rgba(9, 26, 31, 0.6), rgba(9, 26, 31, 0.06) 46%);
  opacity: 0.82;
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 2;
}

.hero-content {
  z-index: 2147483100;
  max-width: 780px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 830px;
  margin-bottom: 22px;
  font-size: 82px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 50px;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-weight: 800;
}

.button-primary {
  color: var(--ink);
  background: var(--gold);
}

.button-secondary {
  position: relative;
  z-index: 2147483647;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-panel {
  display: grid;
  gap: 12px;
}

.hero-panel div {
  padding: 20px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.stat {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 26px;
  font-weight: 900;
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 64px);
}

.band {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
}

.section-heading {
  max-width: 720px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(24px, 6vw, 84px);
  align-items: start;
}

.intro-text {
  color: var(--muted);
  font-size: 18px;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.market-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.market-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.market-card div {
  padding: clamp(22px, 4vw, 36px);
}

.market-card p,
.product-card p,
.capability-copy p,
.timeline p,
.contact-copy p,
.site-footer p {
  color: var(--muted);
}

ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--steel);
  font-weight: 700;
}

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

.product-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f4fbfa);
}

.product-card span {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
}

.capability {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.capability-image img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.capability-copy {
  max-width: 640px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.check-list p {
  margin: 0;
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 800;
  background: var(--white);
  border-left: 4px solid var(--teal);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.timeline div {
  padding: 24px;
  border-top: 4px solid var(--gold);
  background: var(--paper);
}

.timeline strong {
  display: block;
  margin-bottom: 34px;
  color: var(--teal);
  font-size: 28px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 6vw, 80px);
  color: var(--white);
  background: rgba(7, 77, 76, 0.95);
  backdrop-filter: blur(8px);
}

.contact .eyebrow {
  color: #f0bb64;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-details p {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-details strong {
  display: inline-block;
  min-width: 110px;
  color: var(--white);
}

.inquiry-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  background: var(--white);
}

label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea,
button {
  width: 100%;
  font: inherit;
}

input,
select,
textarea {
  min-height: 46px;
  padding: 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fbfcfb;
}

textarea {
  resize: vertical;
}

button {
  min-height: 50px;
  margin-top: 6px;
  color: var(--white);
  font-weight: 900;
  border: 0;
  background: var(--clay);
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 64px);
  background: #11191f;
}

.site-footer p,
.site-footer a {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.site-footer a {
  font-weight: 800;
}

.vehicle-page main {
  background: #f4f6fb;
}

.search-filter {
  padding: 0;
  background: #ffffff;
  border-bottom: 1px solid #dfe4ec;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 62px;
  padding: 0 clamp(18px, 3vw, 32px);
  border-bottom: 1px solid #e6ebf2;
}

.filter-label {
  width: 50px;
  flex: 0 0 50px;
  color: #9aa3b0;
  font-weight: 800;
}

.filter-row button,
.letter-list button,
.brand-strip button {
  width: auto;
  min-height: 34px;
  margin: 0;
  padding: 5px 10px;
  color: #20242a;
  font-size: 16px;
  font-weight: 500;
  background: transparent;
  border: 0;
  white-space: nowrap;
}

.filter-row button.is-active,
.filter-row .filter-option.is-active {
  background: #ffd24c;
  border-radius: 3px;
}

.brand-filter-row {
  align-items: flex-start;
  flex-wrap: wrap;
  padding-top: 0;
  padding-bottom: 22px;
}

.brand-filter-row > .filter-option {
  order: 1;
  margin-top: 2px;
}

.brand-filter-row > .filter-label {
  order: 3;
  margin-top: 22px;
}

.letter-list {
  order: 2;
  display: flex;
  flex: 1 0 100%;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  overflow-x: auto;
}

.letter-list button {
  min-width: 28px;
  padding: 2px 4px;
  font-size: 15px;
}

.letter-list button.is-active {
  color: var(--ink);
  background: #ffd24c;
  border-radius: 3px;
}

.brand-strip {
  order: 4;
  display: flex;
  flex: 1 0 calc(100% - 80px);
  gap: 18px;
  align-items: center;
  margin-left: 0;
  padding: 24px 32px;
  overflow-x: auto;
  background: #f5f7fb;
}

.brand-strip button {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
  justify-content: flex-start;
  min-width: auto;
  max-width: none;
  padding: 6px 2px;
  overflow: visible;
  text-align: left;
  font-weight: 600;
}

.brand-strip .brand-logo {
  display: none;
}

.brand-strip button[hidden] {
  display: none;
}

.brand-logo {
  display: inline-grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 2px;
  background: #ffffff;
  border: 1px solid #cbd3df;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(18, 28, 45, 0.08);
}

.brand-logo svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #111820;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-logo text {
  fill: #111820;
  stroke: none;
  font-size: 16px;
  font-weight: 900;
  text-anchor: middle;
}

.logo-bmw path:nth-of-type(2),
.logo-byd svg,
.logo-tesla svg,
.logo-toyota svg,
.logo-honda svg {
  stroke: #b3262d;
}

.logo-bmw path:nth-of-type(2),
.logo-xiaomi rect {
  fill: rgba(24, 104, 177, 0.14);
}

.custom-price {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: 16px;
}

.custom-price input {
  width: 90px;
  min-height: 32px;
  text-align: center;
  border-color: #e3e7ef;
}

.custom-price span,
.custom-price button {
  min-height: 32px;
  padding: 5px 12px;
  color: #9aa3b0;
  background: #f7f8fb;
}

.custom-price button {
  background: #e8ebf3;
}


.selected-row {
  background: #ffffff;
}

.selected-row #activeCondition {
  border: 1px solid #cbd2dd;
  border-radius: 0;
}

.other-filter-row {
  overflow: visible;
}

.dropdown-filter {
  position: relative;
}

.dropdown-filter > button {
  font-weight: 800;
}

.dropdown-filter.is-selected > button {
  color: var(--teal);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  display: none;
  min-width: 160px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #d8dee8;
  box-shadow: 0 14px 32px rgba(23, 33, 43, 0.16);
}

.dropdown-filter:hover .dropdown-menu,
.dropdown-filter:focus-within .dropdown-menu {
  display: grid;
  gap: 4px;
}

.dropdown-menu button {
  width: 100%;
  min-height: 34px;
  padding: 7px 10px;
  text-align: left;
  border-radius: 0;
}

.dropdown-menu button:hover {
  color: var(--ink);
  background: #fff5d8;
}

.vehicle-catalog-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-top: clamp(42px, 6vw, 72px);
  padding-bottom: 28px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 26, 31, 0.92), rgba(9, 26, 31, 0.58)),
    url("assets/company-hero-weiying.png") center / cover no-repeat;
}

.catalog-title {
  max-width: 820px;
}

.catalog-title h1 {
  margin-bottom: 14px;
  font-size: clamp(38px, 6vw, 70px);
}

.catalog-title p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.vehicle-hero {
  display: grid;
  gap: 18px;
  padding-top: clamp(58px, 8vw, 96px);
  padding-bottom: clamp(34px, 5vw, 56px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 26, 31, 0.92), rgba(9, 26, 31, 0.66)),
    url("assets/company-hero-weiying.png") center / cover no-repeat;
}

.vehicle-hero h1 {
  max-width: 980px;
  margin-bottom: 0;
  font-size: clamp(42px, 7vw, 78px);
}

.vehicle-hero > p:not(.eyebrow) {
  max-width: 850px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.vehicle-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.vehicle-summary span {
  padding: 9px 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  background: var(--gold);
}

.vehicle-finder {
  display: grid;
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
  background: #f4f6fa;
}

.type-strip,
.finder-controls,
.quick-tabs,
.category-board {
  background: rgba(255, 255, 255, 0.94);
}

.type-strip {
  display: grid;
  grid-template-columns: repeat(9, minmax(86px, 1fr));
  gap: 10px;
  padding: 22px clamp(14px, 3vw, 32px);
  overflow-x: auto;
}

.type-item {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 86px;
  min-height: 80px;
  margin: 0;
  padding: 8px;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
}

.type-item strong {
  font-size: 17px;
  white-space: nowrap;
}

.type-item small {
  color: var(--muted);
  font-weight: 800;
}

.type-item.is-active {
  border-color: var(--gold);
  background: #fff8e8;
}

.type-item.is-empty {
  opacity: 0.54;
}

.car-glyph {
  position: relative;
  display: block;
  width: 58px;
  height: 28px;
  border: 3px solid #2f343a;
  border-top-left-radius: 24px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.car-glyph::before,
.car-glyph::after {
  position: absolute;
  bottom: -10px;
  width: 11px;
  height: 11px;
  content: "";
  background: #f4f6fa;
  border: 3px solid #2f343a;
  border-radius: 50%;
}

.car-glyph::before {
  left: 8px;
}

.car-glyph::after {
  right: 8px;
}

.car-glyph.ev {
  border-color: var(--teal);
}

.car-glyph.ev::before,
.car-glyph.ev::after {
  border-color: var(--teal);
}

.car-glyph.ev {
  box-shadow: inset 0 0 0 999px rgba(11, 107, 105, 0.06);
}

.car-glyph.suv,
.car-glyph.bus,
.car-glyph.van {
  height: 34px;
  border-top-left-radius: 12px;
}

.car-glyph.pickup,
.car-glyph.truck {
  width: 62px;
  border-top-right-radius: 4px;
}

.finder-controls {
  display: grid;
  grid-template-columns: auto minmax(190px, 1fr) minmax(170px, 1fr) 110px;
  gap: 12px;
  padding: 0 clamp(14px, 3vw, 32px) 18px;
}

.mode-tabs {
  display: inline-flex;
  min-height: 44px;
  border: 1px solid var(--line);
  background: #f3f5f8;
}

.mode-tabs button,
.clear-filters,
.quick-tabs button,
.category-board button {
  min-height: 0;
  margin: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.mode-tabs button {
  width: auto;
  padding: 8px 14px;
  font-weight: 900;
}

.mode-tabs button.is-active {
  color: var(--gold);
  background: var(--ink);
}

.finder-controls select {
  min-height: 44px;
  background: #f9fafc;
}

.clear-filters {
  min-height: 44px;
  color: var(--muted);
  font-weight: 900;
  background: #eef1f7;
}

.quick-tabs {
  display: flex;
  gap: clamp(14px, 3vw, 42px);
  padding: 16px clamp(14px, 3vw, 32px) 0;
  overflow-x: auto;
  border-top: 8px solid #f4f6fa;
}

.quick-tabs button {
  position: relative;
  width: auto;
  padding: 0 0 13px;
  font-size: 19px;
  font-weight: 800;
  white-space: nowrap;
}

.quick-tabs button.is-active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--gold);
}

.category-board {
  display: grid;
  gap: 0;
  padding: 18px clamp(14px, 3vw, 32px) 26px;
  border-top: 1px solid var(--line);
}

.board-row {
  display: grid;
  grid-template-columns: 100px repeat(7, minmax(110px, 1fr));
  gap: 12px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid #edf1f3;
}

.board-row strong {
  font-size: 18px;
}

.board-row button {
  width: auto;
  color: var(--ink);
  font-size: 15px;
  text-align: left;
}

.board-row button:hover {
  color: var(--teal);
}

.brand-row button {
  display: inline-grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.brand-row span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  font-weight: 900;
  background: var(--ink);
  border-radius: 50%;
}

.vehicle-list {
  display: grid;
  gap: 22px 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding-top: 0;
  background: #f4f6fb;
}

.source-toolbar,
.result-line {
  grid-column: 1 / -1;
}

.source-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-bottom: 1px solid #cfd6e2;
}

.source-tabs {
  display: flex;
  gap: 28px;
}

.source-tabs button,
.source-sort button {
  position: relative;
  width: auto;
  min-height: 42px;
  margin: 0;
  padding: 0;
  color: #20242a;
  font-size: 16px;
  font-weight: 800;
  background: transparent;
  border: 0;
}

.source-tabs button.is-active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  content: "";
  background: #f2d84b;
}

.source-sort {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #20242a;
}

.source-sort label {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}

.source-sort input {
  width: 16px;
  min-height: 16px;
}

.source-sort button {
  min-height: 42px;
  font-size: 14px;
  font-weight: 500;
}

.source-sort button.is-active {
  color: #e0662d;
  font-weight: 900;
}

.result-line {
  color: #20242a;
}

.result-line strong {
  color: #e3482f;
  font-size: 20px;
}

.result-line span {
  margin-left: 6px;
  color: #8b95a3;
}

.list-heading {
  display: none;
  grid-column: 1 / -1;
  align-items: end;
  gap: 16px;
  justify-content: space-between;
}

.list-heading h2 {
  margin: 0 auto 0 0;
  font-size: clamp(30px, 4vw, 46px);
}

.list-heading .eyebrow {
  margin: 0;
}

.list-heading span {
  color: var(--teal);
  font-weight: 900;
}

.vehicle-card[hidden] {
  display: none;
}

.selected-filter-bar {
  display: none;
  grid-column: 1 / -1;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.96);
}

.selected-filter-bar span {
  color: #8a93a3;
  font-weight: 800;
}

.selected-filter-bar button {
  width: auto;
  min-height: 34px;
  margin: 0;
  padding: 5px 10px;
  color: var(--ink);
  background: #fffaf0;
  border: 1px solid #f0ca72;
}

.selected-filter-bar .inline-reset {
  margin-left: auto;
  background: #ffffff;
  border-color: #c7ced8;
}

.result-toolbar {
  display: none;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
}

.result-toolbar p {
  margin: 0;
  color: var(--ink);
}

.result-toolbar strong {
  color: #e3482f;
  font-size: 21px;
}

.result-toolbar span {
  color: #9aa3b0;
}

.result-toolbar div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.result-toolbar label {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.result-toolbar input {
  width: 16px;
  min-height: 16px;
  padding: 0;
}

.vehicle-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(23, 33, 43, 0.06);
  box-shadow: none;
}

.vehicle-photo {
  min-height: 0;
  padding: 0;
  background: #ffffff;
}

.vehicle-photo img {
  width: 100%;
  height: 190px;
  min-height: 0;
  object-fit: contain;
  cursor: zoom-in;
}

.vehicle-compact-body {
  display: grid;
  gap: 7px;
  padding: 12px 12px 14px;
  text-align: left;
}

.vehicle-badge {
  position: absolute;
  top: 168px;
  left: 0;
  z-index: 1;
  max-width: 100%;
  padding: 3px 9px;
  color: #ffffff;
  font-size: 13px;
  background: rgba(40, 44, 48, 0.68);
  border-radius: 0;
}

.vehicle-compact-body h2 {
  min-height: 50px;
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
  overflow: hidden;
}

.vehicle-meta-line {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin: 0;
  color: #28303a;
  font-size: 13px;
}

.vehicle-meta-line strong {
  font-size: 14px;
}

.stars {
  color: #f4c44f;
  letter-spacing: 0;
}

.stars em {
  color: #d8dee7;
  font-style: normal;
}

.vehicle-price {
  margin: 0;
  color: #df382e;
  font-size: 20px;
  font-weight: 900;
}

.vehicle-match {
  margin: 0;
  color: #727b88;
  font-size: 13px;
}

.vehicle-actions-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  margin-top: 8px;
}

.vehicle-actions-row a,
.vehicle-actions-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 0;
  padding: 6px 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  background: #ffffff;
  border: 1px solid #cbd2dd;
}

.vehicle-actions-row a {
  background: #ffd451;
  border-color: #ffd451;
}

.vehicle-actions-row .consult-now {
  min-height: 38px;
  color: #111820;
}

.vehicle-param-panel {
  display: grid;
  gap: 0;
  margin-top: 6px;
  text-align: left;
  border-top: 1px solid var(--line);
}

.vehicle-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.vehicle-fields p {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  min-height: 48px;
  margin: 0;
  padding: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.vehicle-fields strong {
  color: var(--teal-dark);
  font-size: 13px;
}

.vehicle-fields span {
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.vehicle-param-panel p {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  padding: 7px 0;
  color: var(--muted);
  font-size: 12px;
  border-bottom: 1px solid #edf1f3;
}

.vehicle-param-panel strong {
  color: var(--ink);
}

.vehicle-original {
  border: 1px solid var(--line);
  background: #fbfcfb;
}

.vehicle-original summary {
  padding: 12px 14px;
  color: var(--steel);
  font-weight: 900;
  cursor: pointer;
}

.vehicle-original p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: 14px;
}

.vehicle-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-top: 8px;
}

.vehicle-thumb {
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
}

.vehicle-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(9, 26, 31, 0.86);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox button {
  position: fixed;
  width: 44px;
  min-height: 44px;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  border: 0;
  cursor: pointer;
}

.image-lightbox .lightbox-close {
  top: 18px;
  right: 18px;
  z-index: 2;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  border-radius: 50%;
}

.image-lightbox .lightbox-prev,
.image-lightbox .lightbox-next {
  top: 50%;
  z-index: 2;
  width: 58px;
  min-height: 86px;
  color: var(--white);
  font-size: 58px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  transform: translateY(-50%);
}

.image-lightbox .lightbox-prev {
  left: 24px;
}

.image-lightbox .lightbox-next {
  right: 24px;
}

.image-lightbox .lightbox-prev:hover,
.image-lightbox .lightbox-next:hover,
.image-lightbox .lightbox-close:hover {
  background: var(--gold);
}

.image-lightbox img {
  max-width: min(1180px, 94vw);
  max-height: 86vh;
  object-fit: contain;
}

.lightbox-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  padding: 8px 18px;
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  background: rgba(9, 26, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  transform: translateX(-50%);
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .market-grid,
  .capability,
  .timeline,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: center;
    min-height: auto;
  }

  .hero-panel {
    margin-top: 36px;
  }

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

  .vehicle-catalog-hero,
  .list-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .finder-controls {
    grid-template-columns: 1fr 1fr;
  }

  .board-row {
    grid-template-columns: 90px repeat(4, minmax(120px, 1fr));
    overflow-x: auto;
  }

  .capability-image img {
    min-height: 360px;
  }

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

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

  .result-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .vehicle-photo,
  .vehicle-photo img {
    min-height: 340px;
  }

  h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 40px;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 96px;
    height: 34px;
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .market-card img {
    height: 220px;
  }

  .finder-controls {
    grid-template-columns: 1fr;
  }

  .type-strip {
    grid-template-columns: repeat(9, minmax(92px, 1fr));
    padding-inline: 12px;
  }

  .quick-tabs {
    gap: 22px;
  }

  .board-row {
    grid-template-columns: 72px repeat(3, minmax(120px, 1fr));
  }

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

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

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

  .site-footer {
    flex-direction: column;
  }
}

/* Product listing page final overrides */
.vehicle-page .source-tabs button,
.vehicle-page .source-sort button,
.vehicle-page .filter-row button,
.vehicle-page .brand-strip button,
.vehicle-page .letter-list button {
  width: auto;
  margin: 0;
  color: #20242a;
  background: transparent;
  border: 0;
}

.vehicle-page .filter-row button.is-active,
.vehicle-page .filter-row .filter-option.is-active {
  background: #ffd24c;
}

.vehicle-page .source-toolbar {
  flex-direction: row;
}

.vehicle-page .source-tabs,
.vehicle-page .source-sort {
  flex-direction: row;
}

.vehicle-page .source-tabs button {
  min-height: 42px;
  padding: 0;
  font-weight: 900;
}

.vehicle-page .source-sort button {
  min-height: 42px;
  padding: 0;
}

.vehicle-page .vehicle-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.vehicle-page .vehicle-card {
  display: block;
}

.vehicle-page .vehicle-card[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .vehicle-page .vehicle-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .vehicle-page .source-toolbar,
  .vehicle-page .source-sort {
    align-items: flex-start;
    flex-direction: column;
  }

  .vehicle-page .vehicle-list {
    grid-template-columns: 1fr;
  }
}
