.vehicle-product-template { background: #fff; color: var(--ink); }
html:has(.vehicle-product-template) { scroll-padding-top: 8rem; }
.vehicle-product-template h1,
.vehicle-product-template h2,
.vehicle-product-template h3 { letter-spacing: -.025em; line-height: 1.13; text-transform: none; }
.vehicle-product-template p { line-height: 1.65; }
.vpt-kicker { margin: 0 0 .8rem; color: var(--red-dark); font-size: .86rem; font-weight: 900; letter-spacing: .075em; text-transform: uppercase; }
.vpt-hero { background: linear-gradient(135deg, #fff 0%, #f4f6f7 100%); }
.vpt-hero-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4.75rem); }
.vpt-hero h1 { margin: 0; font-size: clamp(2.75rem, 5.1vw, 5rem); overflow-wrap: anywhere; line-height: 1.18; }
.vpt-hero-price { display: grid; gap: .2rem; margin: 1.4rem 0 0; }
.vpt-hero-price span { color: #626970; font-size: .86rem; font-weight: 800; }
.vpt-hero-price strong { color: var(--red-dark); font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.25; }
.vpt-lead { max-width: 37rem; margin: 1rem 0 0; color: #434a50; font-size: 1.06rem; }
.vpt-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.vpt-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .75rem 1.15rem; border: 1px solid transparent; border-radius: 999px; font-size: .91rem; font-weight: 850; line-height: 1.3; text-align: center; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.vpt-button:hover { transform: translateY(-2px); }
.vpt-button:focus-visible, .vpt-sticky-nav a:focus-visible, .vpt-swatch:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.vpt-button-primary { background: var(--red); color: #fff; }
.vpt-button-primary:hover { background: var(--red-dark); }
.vpt-button-outline { border-color: #b9bec3; background: #fff; color: var(--ink); }
.vpt-button-outline:hover { border-color: var(--ink); }
.vpt-button-dark { background: var(--ink); color: #fff; }
.vpt-hero-visual { margin: 0; overflow: hidden; border: 1px solid #e2e5e8; border-radius: 24px; background: #fff; box-shadow: 0 20px 58px rgba(17, 19, 21, .09); }
.vpt-hero-image { width: 100%; max-height: 560px; aspect-ratio: 4 / 3; object-fit: contain; }
.vehicle-product-template[data-model="byd-sealion-5"] .vpt-hero-image { height: auto; max-height: none; aspect-ratio: 16 / 9; }
.vpt-hero-visual figcaption { padding: .4rem 1.1rem 1rem; color: #626970; font-size: .8rem; }
.vpt-quick-specs { border-block: 1px solid var(--line); background: #fff; }
.vpt-quick-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vpt-quick-grid article { min-width: 0; padding: 1.25rem 1rem; border-right: 1px solid var(--line); }
.vpt-quick-grid article:first-child { padding-left: 0; }
.vpt-quick-grid article:last-child { border-right: 0; }
.vpt-quick-grid span, .vpt-quick-grid small { display: block; color: #626970; font-size: .82rem; }
.vpt-quick-grid strong { display: block; margin: .2rem 0; font-size: clamp(1.15rem, 1.8vw, 1.7rem); line-height: 1.25; overflow-wrap: anywhere; }
.vpt-sticky-nav { position: sticky; z-index: 45; top: 74px; overflow-x: auto; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); scrollbar-width: none; }
.vpt-sticky-nav::-webkit-scrollbar { display: none; }
.vpt-sticky-nav .container { display: flex; width: min(1180px, calc(100% - 2.5rem)); min-width: max-content; }
.vpt-sticky-nav a { display: inline-flex; min-height: 50px; align-items: center; flex: none; padding: .75rem .85rem; color: #394047; font-size: .85rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.vpt-sticky-nav a:first-child { padding-left: 0; }
.vpt-sticky-nav a:hover { color: var(--red-dark); }
.vpt-section { padding-block: clamp(2.75rem, 5vw, 4.75rem); scroll-margin-top: 8rem; }
.vpt-section-soft { background: #f5f6f7; }
.vpt-reservation { border-top: 4px solid var(--red); background: #fafbfc; }
.vpt-reservation .vpt-section-heading { max-width: 54rem; }
.vpt-reservation-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.75rem 0; }
.vpt-reservation-facts > div { min-width: 0; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.vpt-reservation-facts dt { margin-bottom: .45rem; color: #5b6268; font-size: .9rem; }
.vpt-reservation-facts dd { margin: 0; font-weight: 750; line-height: 1.55; overflow-wrap: anywhere; }
.vpt-reservation-notes { max-width: 62rem; padding-left: 1rem; border-left: 3px solid var(--red); }
.vpt-reservation-source, .vpt-reservation-help { max-width: 66rem; color: #5b6268; font-size: .9rem; }
.vpt-reservation-source a { color: var(--red-dark); text-underline-offset: 3px; }
@media (max-width: 640px) { .vpt-reservation-facts { grid-template-columns: 1fr; } }
.vpt-section-heading { max-width: 45rem; margin-bottom: 1.35rem; }
.vpt-section-heading h2 { margin: 0; font-size: clamp(1.85rem, 2.6vw, 2.75rem); line-height: 1.2; }
.vpt-overview-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.vpt-overview-grid > div > p:not(.vpt-kicker) { max-width: 45rem; color: #434a50; }
.vpt-market-note { padding: 1rem 1.2rem; border-left: 3px solid var(--red); background: #f5f6f7; }
.vpt-price-panel { padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(17,19,21,.05); }
.vpt-price-panel h3 { margin: 0; color: var(--red-dark); font-size: 1.8rem; }
.vpt-price-panel > p:not(.vpt-kicker) { color: #596067; }
.vpt-price-panel h4 { margin: 1.5rem 0 .55rem; font-size: 1rem; }
.vpt-price-list, .vpt-offers { margin: 1rem 0; padding: 0; list-style: none; }
.vpt-price-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.vpt-price-list strong { text-align: right; }
.vpt-offers { display: grid; gap: .5rem; }
.vpt-offers li { position: relative; padding-left: 1.15rem; }
.vpt-offers li::before { position: absolute; left: 0; color: var(--red); content: '•'; }
.vpt-variant-grid, .vpt-feature-grid, .vpt-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.vpt-variant, .vpt-feature, .vpt-spec-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.vpt-variant { display: flex; flex-direction: column; padding: clamp(1.25rem, 2vw, 1.75rem); }
.vpt-variant-top { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.vpt-variant h3, .vpt-feature h3, .vpt-spec-card h3 { margin: 0; font-size: 1.35rem; }
.vpt-variant-top strong { color: var(--red-dark); text-align: right; }
.vpt-variant dl { margin: 1rem 0; }
.vpt-variant dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.vpt-variant dt { color: #626970; }
.vpt-variant dd { margin: 0; text-align: right; font-weight: 800; }
.vpt-variant ul { margin: 0 0 1.3rem; padding-left: 1.2rem; color: #434a50; }
.vpt-variant li + li { margin-top: .35rem; }
.vpt-variant .vpt-button { align-self: start; margin-top: auto; }
.vpt-color-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: 1rem; }
.vpt-color-stage, .vpt-color-controls { min-width: 0; border: 1px solid var(--line); border-radius: 18px; background: #f7f8f9; }
.vpt-color-stage { display: grid; min-height: 310px; place-items: center; overflow: hidden; }
.vpt-color-photo { width: 100%; }
.vpt-color-photo[hidden], .vpt-color-empty[hidden] { display: none; }
.vpt-color-image { width: 100%; max-height: 480px; object-fit: contain; }
.vpt-color-empty { max-width: 22rem; padding: 2rem; color: #596067; text-align: center; }
.vpt-color-controls { padding: clamp(1.25rem, 3vw, 2rem); background: #fff; }
.vpt-color-controls h3 { margin: 0 0 1.2rem; font-size: 1.65rem; }
.vpt-color-controls > p:last-child { color: #626970; font-size: .85rem; }
.vpt-swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.vpt-swatch { display: flex; min-height: 52px; align-items: center; gap: .7rem; padding: .55rem .8rem; border: 1px solid #cfd4d8; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 800; cursor: pointer; text-align: left; }
.vpt-swatch.is-active { border: 2px solid var(--ink); }
.vpt-swatch-dot { display: block; width: 22px; height: 22px; flex: none; border: 1px solid #929aa1; border-radius: 50%; }
.vpt-feature { display: grid; }
.vpt-feature figure { margin: 0; background: #f5f6f7; }
.vpt-feature-image { width: 100%; max-height: 340px; object-fit: contain; }
.vpt-feature figcaption { padding: .5rem 1rem; color: #626970; font-size: .8rem; }
.vpt-feature > div { padding: 1.35rem; }
.vpt-feature p { margin: .6rem 0 0; color: #4f565c; }
.vpt-spec-card { padding: 1.4rem; }
.vpt-spec-card h3 { margin-bottom: 1rem; }
.vpt-spec-card dl { margin: 0; }
.vpt-spec-card dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 1rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.vpt-spec-card dt { color: #596067; }
.vpt-spec-card dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.vpt-spec-card small { display: block; margin-top: .15rem; color: #626970; font-size: .76rem; font-weight: 600; }
.vpt-finance { background: #f1f3f4; }
.vpt-finance-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.vpt-finance h2 { margin: 0; font-size: clamp(1.85rem, 2.6vw, 2.75rem); line-height: 1.2; }
.vpt-finance-grid > div > p:not(.vpt-kicker) { color: #4f565c; }
.vpt-finance-disclaimer { padding: 1rem; border-left: 3px solid var(--red); background: #fff; }
.vpt-finance-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.vpt-finance-form label { display: grid; gap: .4rem; color: #333a40; font-size: .86rem; font-weight: 800; }
.vpt-finance-form select, .vpt-finance-form input:not([type=range]) { width: 100%; min-height: 48px; padding: .65rem .75rem; border: 1px solid #cbd1d5; border-radius: 10px; background: #fff; color: var(--ink); }
.vpt-finance-form input[type=range] { width: 100%; accent-color: var(--red); }
.vpt-finance-form output { color: var(--red-dark); }
.vpt-finance-results { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin-top: .5rem; }
.vpt-finance-results div { padding: .9rem; border-radius: 12px; background: #f5f6f7; }
.vpt-finance-results span { display: block; color: #596067; font-size: .78rem; }
.vpt-finance-results strong { display: block; margin-top: .3rem; font-size: clamp(1rem, 1.6vw, 1.3rem); overflow-wrap: anywhere; }
.vpt-finance-form > .vpt-button { grid-column: 1 / -1; justify-self: start; }
.vpt-faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(1.75rem, 4vw, 3.5rem); }
.vpt-faq-list details { border-bottom: 1px solid var(--line); }
.vpt-faq-list summary { padding: 1rem 0; font-weight: 850; cursor: pointer; }
.vpt-faq-list details p { margin: 0 0 1rem; color: #4f565c; }
.vpt-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.vpt-related-grid article { padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.vpt-related-grid h3 { margin: 0; font-size: 1.35rem; }
.vpt-related-grid h3 a { color: var(--ink); text-decoration: none; }
.vpt-related-grid h3 a:hover, .vpt-related-link:hover { color: var(--red-dark); }
.vpt-related-grid p { color: #4f565c; }
.vpt-related-link { color: var(--red-dark); font-weight: 850; text-underline-offset: 3px; }
.vpt-sources { padding-block: 2rem 3rem; border-top: 1px solid var(--line); }
.vpt-sources h2 { margin: 0; font-size: 1.05rem; }
.vpt-sources ul { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin: .7rem 0 0; padding: 0; list-style: none; }
.vpt-sources a { color: #4f565c; font-size: .88rem; }
.vpt-final-cta { padding-block: clamp(2.75rem, 5vw, 4.5rem); background: #101214; color: #fff; }
.vpt-final-cta .container { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.vpt-final-cta h2 { max-width: 38rem; margin: 0; font-size: clamp(1.85rem, 2.6vw, 2.75rem); line-height: 1.2; }
.vpt-final-cta p:not(.vpt-kicker) { max-width: 33rem; color: #d0d4d8; }
.vpt-final-cta .vpt-kicker { color: #fcb6bf; }
.vpt-final-cta .vpt-actions { justify-content: end; max-width: 31rem; }
.vpt-final-cta .vpt-button-outline { border-color: #697077; background: transparent; color: #fff; }

@media (max-width: 1024px) {
  .vpt-hero-grid, .vpt-overview-grid, .vpt-finance-grid, .vpt-faq-grid { grid-template-columns: 1fr; }
  .vpt-hero-visual { max-width: 760px; }
  .vpt-final-cta .container { align-items: start; flex-direction: column; }
  .vpt-final-cta .vpt-actions { justify-content: start; max-width: none; }
}
@media (max-width: 700px) {
  .vpt-hero-grid { gap: 1.5rem; padding-block: 2rem 2.5rem; }
  .vpt-hero-visual { order: -1; }
  .vpt-hero-image { max-height: 70vw; }
  .vpt-hero h1 { font-size: clamp(2.25rem, 9.7vw, 3.3rem); }
  .vpt-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vpt-quick-grid article { padding: .9rem; border-top: 1px solid var(--line); }
  .vpt-quick-grid article:first-child { padding-left: .9rem; }
  .vpt-sticky-nav .container { width: max-content; min-width: 100%; padding-inline: .7rem; }
  .vpt-sticky-nav a { min-height: 46px; padding-inline: .7rem; }
  .vpt-variant-grid, .vpt-feature-grid, .vpt-spec-grid, .vpt-color-layout, .vpt-related-grid { grid-template-columns: 1fr; }
  .vpt-color-stage { min-height: 220px; }
  .vpt-color-image { max-height: 74vw; }
  .vpt-final-cta { padding-bottom: 7rem; }
}
@media (max-width: 480px) {
  .vpt-actions .vpt-button { flex: 1 1 100%; }
  .vpt-swatches { grid-template-columns: 1fr; }
  .vpt-finance-form { grid-template-columns: 1fr; }
  .vpt-finance-results { grid-template-columns: 1fr; }
  .vpt-spec-card dl > div { gap: .6rem; }
  .vpt-price-list li { flex-direction: column; gap: .15rem; }
  .vpt-price-list strong { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .vpt-button { transition: none; } }

/* The official leaflet provides a palette instead of one vehicle photo per color. */
.vpt-color-empty.vpt-color-palette { max-width: 100%; width: 100%; padding: 1rem; }
.vpt-color-palette-image { display: block; width: 100%; height: auto; }

/* A single source fixes the framing for every rendered paint color. */
.vpt-paint-preview { display: block; width: 100%; height: auto; max-height: 480px; }
