/*! byd-cms-pages — listings / vehicles / for-sale / vehicle-detail / technology
    page styles. Design tokens (--red, --line, --ink, etc.) come from the
    byd-design-system mu-plugin. */

/* ====================================================================
   TOP BAR (filters + sort + count)
==================================================================== */
.byd-lst-bar {
  background: #fff;
  border-bottom: 1px solid var(--line, #e8e8e8);
  padding: 16px 0;
  position: sticky;
  top: 69px;
  z-index: 40;
}
.byd-lst-bar-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.byd-lst-search {
  flex: 1;
  min-width: 240px;
}
.byd-lst-search input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line, #e8e8e8);
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  background: #fff;
}
.byd-lst-search input:focus {
  outline: none;
  border-color: var(--red, #e6002d);
  box-shadow: 0 0 0 2px rgba(230,0,45,0.1);
}
.byd-lst-sort {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-dim, #6b6b6b);
}
.byd-lst-sort-lbl {
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
}
.byd-lst-sort select {
  padding: 9px 12px;
  border: 1px solid var(--line, #e8e8e8);
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  background: #fff;
  cursor: pointer;
}
.byd-lst-count {
  font-size: 13px;
  color: var(--ink-dim, #6b6b6b);
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

/* ====================================================================
   CATALOG LAYOUT
==================================================================== */
.byd-lst-catalog {
  padding: 40px 0 80px;
}
.byd-lst-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
}
.byd-lst-sidebar {
  position: sticky;
  top: 150px;
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line, #e8e8e8);
  background: #fff;
  max-height: calc(100vh - 180px);
  overflow-y: auto;
}
.byd-lst-group {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line, #e8e8e8);
}
.byd-lst-group:last-of-type {
  border: none;
  margin: 0;
  padding: 0;
}
.byd-lst-group h5 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim, #6b6b6b);
  margin: 0 0 12px;
  font-weight: 700;
}
.byd-lst-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 5px 0;
  cursor: pointer;
}
.byd-lst-check input {
  accent-color: var(--red, #e6002d);
  margin-right: 8px;
}
.byd-lst-n {
  color: var(--ink-dim, #6b6b6b);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.byd-lst-slider-row input[type=range] {
  width: 100%;
  accent-color: var(--red, #e6002d);
  margin: 6px 0;
}
.byd-lst-slider-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink, #141414);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.byd-lst-swatch-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.byd-lst-swatch {
  position: relative;
  cursor: pointer;
  width: 26px;
  height: 26px;
}
.byd-lst-swatch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.byd-lst-swatch span {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
  transition: border-color 0.15s;
}
.byd-lst-swatch input:checked + span {
  border-color: var(--red, #e6002d);
}
.byd-lst-reset {
  display: block;
  margin-top: 20px;
  width: 100%;
  padding: 9px 0;
  background: transparent;
  border: 1px solid var(--line, #e8e8e8);
  color: var(--ink, #141414);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.byd-lst-reset:hover {
  border-color: var(--ink, #141414);
  background: #fafafa;
}

/* ====================================================================
   CARD GRID
==================================================================== */
.byd-lst-grid-wrap { min-width: 0; }
.byd-lst-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.byd-lst-empty {
  grid-column: 1 / -1;
  padding: 48px 24px;
  text-align: center;
  background: var(--bg-soft, #f5f5f5);
  color: var(--ink-dim, #6b6b6b);
  border: 1px solid var(--line, #e8e8e8);
}
.byd-lst-card {
  background: #fff;
  border: 1px solid var(--line, #e8e8e8);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.2s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.byd-lst-card.is-hidden {
  display: none;
}
.byd-lst-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink, #141414);
  box-shadow: 0 12px 32px -12px rgba(0,0,0,0.18);
}
.byd-lst-card-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f0f0 0%, #d8d8d8 100%);
}
.byd-lst-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.byd-lst-card:hover .byd-lst-card-photo img {
  transform: scale(1.03);
}
.byd-lst-card-ph {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, #e8e8e8 0 8px, #f0f0f0 8px 16px);
}
.byd-lst-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--black, #0a0a0a);
  color: #fff;
  border-radius: 3px;
}
.byd-lst-disc-badge {
  position: absolute;
  top: 12px;
  right: 46px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--red, #e6002d);
  color: #fff;
  border-radius: 3px;
}
.byd-lst-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  color: #666;
  transition: color 0.15s, transform 0.15s;
}
.byd-lst-fav.is-fav {
  color: var(--red, #e6002d);
  transform: scale(1.1);
}
.byd-lst-card-info {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.byd-lst-card-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.byd-lst-card-trim {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-dim, #6b6b6b);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.byd-lst-card-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line, #e8e8e8);
  border-bottom: 1px solid var(--line, #e8e8e8);
}
.byd-lst-card-specs span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim, #6b6b6b);
}
.byd-lst-card-specs span strong {
  font-size: 14px;
  color: var(--ink, #141414);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
}
.byd-lst-card-was {
  font-size: 12px;
  color: var(--ink-dim, #6b6b6b);
  margin-top: 8px;
}
.byd-lst-card-was .was {
  text-decoration: line-through;
  margin-right: 6px;
}
.byd-lst-card-finance {
  font-size: 12px;
  color: var(--ink-dim, #6b6b6b);
  margin-top: 4px;
}
.byd-lst-card-finance strong {
  color: var(--ink, #141414);
  font-weight: 700;
  font-size: 13px;
}
.byd-lst-card-finance span {
  display: block;
  font-size: 10px;
  margin-top: 2px;
  letter-spacing: 0.08em;
}
.byd-lst-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.byd-lst-card-actions .btn {
  padding: 8px 14px;
  font-size: 12px;
  flex: 1;
  justify-content: center;
  text-align: center;
}
.byd-lst-compare-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim, #6b6b6b);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.byd-lst-compare-toggle input {
  accent-color: var(--red, #e6002d);
  cursor: pointer;
}

/* ====================================================================
   PAGINATION (built but unused for 11-model v1)
==================================================================== */
.byd-lst-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.byd-lst-pg {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line, #e8e8e8);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
}
.byd-lst-pg:hover {
  border-color: var(--ink, #141414);
}
.byd-lst-pg.is-active {
  background: var(--black, #0a0a0a);
  color: #fff;
  border-color: var(--black, #0a0a0a);
}

/* ====================================================================
   COMPARE FLOATING BUTTON + MODAL
==================================================================== */
.byd-lst-compare-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  padding: 14px 22px;
  background: var(--red, #e6002d);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(230,0,45,0.5);
  z-index: 80;
  transition: background 0.15s, transform 0.15s;
}
.byd-lst-compare-float:hover {
  background: var(--red-dk, #b8001f);
  transform: translateY(-2px);
}
.byd-lst-compare-float[hidden] {
  display: none !important;
}
.byd-lst-compare-float span {
  display: inline-block;
  min-width: 20px;
  margin-left: 6px;
  padding: 2px 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  font-variant-numeric: tabular-nums;
}

.byd-lst-compare-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.byd-lst-compare-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.byd-lst-compare-back {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.byd-lst-compare-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 80%;
  max-width: 1100px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  outline: none;
}
.byd-lst-compare-modal[aria-hidden="false"] .byd-lst-compare-panel {
  transform: translateX(0);
}
.byd-lst-compare-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line, #e8e8e8);
}
.byd-lst-compare-header h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 2px 0 0;
}
.byd-lst-compare-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red, #e6002d);
  font-weight: 700;
}
.byd-lst-compare-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink, #141414);
  padding: 4px 10px;
}
.byd-lst-compare-body {
  flex: 1;
  overflow: auto;
  padding: 24px 28px 40px;
}
.byd-lst-compare-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--ink-dim, #6b6b6b);
}
.byd-lst-compare-cols {
  display: grid;
  grid-template-columns: 160px repeat(var(--cmp-cols, 3), minmax(0, 1fr));
  gap: 0;
  font-size: 13px;
}
.byd-lst-compare-cols > div {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line, #e8e8e8);
}
.byd-lst-compare-cols .lbl {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim, #6b6b6b);
  background: var(--bg-soft, #f5f5f5);
}
.byd-lst-compare-cols .cmp-head {
  padding: 16px 12px;
  background: #fff;
  border-bottom: 2px solid var(--ink, #141414);
}
.byd-lst-compare-cols .cmp-head img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 8px;
}
.byd-lst-compare-cols .cmp-head h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}
.byd-lst-compare-cols .cmp-head .cmp-sub {
  font-size: 11px;
  color: var(--ink-dim, #6b6b6b);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.byd-lst-compare-cols .cmp-head .cmp-cta {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--red, #e6002d);
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
}

/* ====================================================================
   COMPARE BOTTOM BAND
==================================================================== */
.byd-lst-compare-band {
  background: var(--red, #e6002d);
  color: #fff;
  padding: 56px 0;
}
.byd-lst-compare-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.byd-lst-compare-band h3 {
  font-size: 28px;
  font-weight: 800;
  margin: 4px 0 4px;
}
.byd-lst-compare-band p {
  max-width: 520px;
  opacity: 0.85;
  margin: 0;
}
.byd-lst-compare-band .btn-black {
  background: #0a0a0a;
  color: #fff;
}
.byd-lst-compare-band .btn-black:hover {
  background: #1a1a1a;
}

/* ====================================================================
   VEHICLE DETAIL
==================================================================== */
.byd-cms-vehicle-detail .vd-hero {
  background: #0a0a0a;
  color: #fff;
  border-bottom: 4px solid var(--red, #e6002d);
  padding: 32px 0 56px;
}
.byd-cms-vehicle-detail .vd-breadcrumb {
  font-size: 12px;
  color: #888;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.byd-cms-vehicle-detail .vd-breadcrumb a { color: #888; text-decoration: none; }
.byd-cms-vehicle-detail .vd-breadcrumb a:hover { color: #fff; }
.byd-cms-vehicle-detail .vd-breadcrumb .sep { margin: 0 8px; color: #444; }

.byd-cms-vehicle-detail .vd-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.byd-cms-vehicle-detail .vd-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red, #e6002d);
  text-transform: uppercase;
}
.byd-cms-vehicle-detail .vd-title {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 10px 0 6px;
}
.byd-cms-vehicle-detail .vd-trim {
  font-size: 16px;
  color: #aaa;
  margin-bottom: 28px;
}
.byd-cms-vehicle-detail .vd-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.byd-cms-vehicle-detail .vd-quick > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid #1a1a1a;
}
.byd-cms-vehicle-detail .vd-quick strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.byd-cms-vehicle-detail .vd-quick span {
  font-size: 10px;
  color: #888;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.byd-cms-vehicle-detail .vd-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.byd-cms-vehicle-detail .btn-red {
  background: var(--red, #e6002d);
  color: #fff;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
}
.byd-cms-vehicle-detail .btn-red:hover {
  background: var(--red-dk, #b8001f);
}
.byd-cms-vehicle-detail .btn-outline-light {
  background: transparent;
  color: #fff;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  text-decoration: none;
}
.byd-cms-vehicle-detail .btn-outline-light:hover {
  border-color: #fff;
}
.byd-cms-vehicle-detail .vd-hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #1a1a1a;
  border-radius: 4px;
  overflow: hidden;
}
.byd-cms-vehicle-detail .vd-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.byd-cms-vehicle-detail .vd-gallery {
  background: #f5f5f5;
  padding: 16px 0;
}
.byd-cms-vehicle-detail .vd-gallery-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.byd-cms-vehicle-detail .vd-gallery-thumb {
  flex: 0 0 auto;
  width: 180px;
  aspect-ratio: 4 / 3;
  border: 2px solid transparent;
  padding: 0;
  background: #1a1a1a;
  cursor: pointer;
  overflow: hidden;
}
.byd-cms-vehicle-detail .vd-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.byd-cms-vehicle-detail .vd-gallery-thumb.active {
  border-color: var(--red, #e6002d);
}

.byd-cms-vehicle-detail .vd-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.byd-cms-vehicle-detail .vd-spec-card {
  padding: 22px;
  border: 1px solid var(--line, #e8e8e8);
  background: #fff;
}
.byd-cms-vehicle-detail .vd-spec-card h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--ink-dim, #6b6b6b);
}
.byd-cms-vehicle-detail .vd-spec-card dl {
  margin: 0;
}
.byd-cms-vehicle-detail .vd-spec-card dl > div {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-top: 1px solid var(--line, #e8e8e8);
  font-size: 13px;
}
.byd-cms-vehicle-detail .vd-spec-card dl > div:first-child {
  border-top: none;
}
.byd-cms-vehicle-detail .vd-spec-card dt {
  color: var(--ink-dim, #6b6b6b);
  font-weight: 500;
}
.byd-cms-vehicle-detail .vd-spec-card dd {
  font-weight: 700;
  margin: 0;
  color: var(--ink, #141414);
}

.byd-cms-vehicle-detail .vd-finance-calc {
  max-width: 640px;
  padding: 28px;
  border: 1px solid var(--line, #e8e8e8);
  background: var(--bg-soft, #f5f5f5);
}
.byd-cms-vehicle-detail .vd-finance-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
}
.byd-cms-vehicle-detail .vd-finance-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink, #141414);
}
.byd-cms-vehicle-detail .vd-finance-row label span {
  float: right;
  color: var(--red, #e6002d);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.byd-cms-vehicle-detail .vd-finance-row input[type=range] {
  width: 100%;
  accent-color: var(--red, #e6002d);
}
.byd-cms-vehicle-detail .vd-finance-out {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 2px solid var(--ink, #141414);
}
.byd-cms-vehicle-detail .vd-finance-out > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.byd-cms-vehicle-detail .vd-finance-out strong {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.byd-cms-vehicle-detail .vd-finance-out span {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim, #6b6b6b);
}
.byd-cms-vehicle-detail .vd-finance-calc .btn {
  margin-top: 18px;
}

.byd-cms-vehicle-detail .vd-highlight-grid,
.byd-cms-for-sale .vd-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.byd-cms-for-sale .vd-highlight-grid {
  grid-template-columns: repeat(4, 1fr);
}
.byd-cms-vehicle-detail .vd-highlight-card,
.byd-cms-for-sale .vd-highlight-card {
  padding: 24px;
  background: var(--bg-soft, #f5f5f5);
  border-left: 3px solid var(--red, #e6002d);
}
.byd-cms-vehicle-detail .vd-highlight-card h4,
.byd-cms-for-sale .vd-highlight-card h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
}

.byd-cms-vehicle-detail .vd-programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.byd-cms-vehicle-detail .vd-program-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--line, #e8e8e8);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.2s;
}
.byd-cms-vehicle-detail .vd-program-card:hover {
  border-color: var(--ink, #141414);
  transform: translateY(-3px);
}
.byd-cms-vehicle-detail .vd-program-card h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 8px;
}
.byd-cms-vehicle-detail .vd-program-card p {
  font-size: 13px;
  color: var(--ink-dim, #6b6b6b);
  margin: 0;
  line-height: 1.5;
}

.byd-cms-vehicle-detail .vd-faq {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 20px;
  border-top: 1px solid var(--line, #e8e8e8);
}
.byd-cms-vehicle-detail .vd-faq-item {
  border-bottom: 1px solid var(--line, #e8e8e8);
}
.byd-cms-vehicle-detail .vd-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  font-size: 15px;
  position: relative;
  padding-right: 32px;
}
.byd-cms-vehicle-detail .vd-faq-item summary::-webkit-details-marker { display: none; }
.byd-cms-vehicle-detail .vd-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--red, #e6002d);
  transition: transform 0.2s;
}
.byd-cms-vehicle-detail .vd-faq-item[open] summary::after {
  content: '−';
}
.byd-cms-vehicle-detail .vd-faq-item p {
  padding: 0 0 18px;
  margin: 0;
  color: var(--ink-dim, #6b6b6b);
  line-height: 1.6;
  max-width: 700px;
}

.byd-cms-vehicle-detail .vd-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.byd-cms-vehicle-detail .vd-related-card {
  display: block;
  border: 1px solid var(--line, #e8e8e8);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.2s;
}
.byd-cms-vehicle-detail .vd-related-card:hover {
  border-color: var(--ink, #141414);
  transform: translateY(-3px);
}
.byd-cms-vehicle-detail .vd-related-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a1a1a;
}
.byd-cms-vehicle-detail .vd-related-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.byd-cms-vehicle-detail .vd-related-info {
  padding: 16px 20px;
}
.byd-cms-vehicle-detail .vd-related-name {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}
.byd-cms-vehicle-detail .vd-related-meta {
  font-size: 12px;
  color: var(--ink-dim, #6b6b6b);
}

.byd-cms-vehicle-detail .vd-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  background: #fff;
  border-top: 1px solid var(--line, #e8e8e8);
  box-shadow: 0 -8px 24px -8px rgba(0,0,0,0.15);
  padding: 14px 0;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.byd-cms-vehicle-detail .vd-sticky-cta.is-visible {
  transform: translateY(0);
}
.byd-cms-vehicle-detail .vd-sticky-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.byd-cms-vehicle-detail .vd-sticky-name {
  font-weight: 800;
  font-size: 15px;
}
.byd-cms-vehicle-detail .vd-sticky-name span {
  color: var(--ink-dim, #6b6b6b);
  font-weight: 600;
  font-size: 12px;
  margin-left: 8px;
}
.byd-cms-vehicle-detail .vd-sticky-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ====================================================================
   TECHNOLOGY PAGE
==================================================================== */
.byd-cms-technology .tech-hero {
  background: #0a0a0a;
  color: #fff;
  border-bottom: 4px solid var(--red, #e6002d);
  padding: 72px 0 60px;
}
.byd-cms-technology .tech-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.byd-cms-technology .tech-row p {
  font-size: 16px;
  color: var(--ink-dim, #6b6b6b);
  line-height: 1.7;
  margin-bottom: 14px;
}
.byd-cms-technology .tech-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.byd-cms-technology .tech-stat {
  padding: 28px 20px;
  background: var(--bg-soft, #f5f5f5);
  border-left: 3px solid var(--red, #e6002d);
}
.byd-cms-technology .tech-stat-k {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.byd-cms-technology .tech-stat-v {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim, #6b6b6b);
  margin-top: 6px;
}
.byd-cms-technology .tech-lead {
  font-size: 16px;
  max-width: 780px;
  color: var(--ink-dim, #6b6b6b);
  line-height: 1.7;
  margin: 16px 0 32px;
}
.byd-cms-technology .tech-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.byd-cms-technology .tech-pillar {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line, #e8e8e8);
  border-top: 3px solid var(--red, #e6002d);
}
.byd-cms-technology .tech-pillar h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
}
.byd-cms-technology .tech-pillar p {
  font-size: 13px;
  color: var(--ink-dim, #6b6b6b);
  line-height: 1.6;
  margin: 0;
}

/* ====================================================================
   RESPONSIVE
==================================================================== */
@media (max-width: 1100px) {
  .byd-lst-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .byd-cms-vehicle-detail .vd-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .byd-cms-technology .tech-pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .byd-cms-vehicle-detail .vd-programs-grid { grid-template-columns: repeat(2, 1fr); }
  .byd-cms-vehicle-detail .vd-related-grid { grid-template-columns: repeat(2, 1fr); }
  .byd-cms-vehicle-detail .vd-highlight-grid,
  .byd-cms-for-sale .vd-highlight-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .byd-lst-layout { grid-template-columns: 1fr; }
  .byd-lst-sidebar { position: static; max-height: none; }
  .byd-cms-vehicle-detail .vd-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .byd-cms-vehicle-detail .vd-quick { grid-template-columns: repeat(2, 1fr); }
  .byd-cms-technology .tech-row { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .byd-lst-grid { grid-template-columns: 1fr; }
  .byd-lst-compare-panel { width: 100%; }
  .byd-cms-vehicle-detail .vd-specs-grid,
  .byd-cms-vehicle-detail .vd-programs-grid,
  .byd-cms-vehicle-detail .vd-related-grid,
  .byd-cms-vehicle-detail .vd-highlight-grid,
  .byd-cms-for-sale .vd-highlight-grid,
  .byd-cms-technology .tech-pillar-grid { grid-template-columns: 1fr; }
  .byd-cms-vehicle-detail .vd-quick { grid-template-columns: 1fr 1fr; }
  .byd-lst-compare-float { right: 16px; bottom: 16px; padding: 12px 18px; font-size: 13px; }
}
