.vehicle-page-main { min-height: 70vh; padding: 38px 0 105px; background: var(--canvas); }
.vehicle-detail-shell { display: grid; gap: 30px; }
.vehicle-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; font-weight: 700; }
.vehicle-breadcrumb a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.vehicle-breadcrumb span:last-child { color: var(--ink); }

.detail-loading { display: grid; grid-template-columns: 1.55fr .75fr; gap: 28px; }
.detail-loading > div { min-height: 620px; overflow: hidden; background: linear-gradient(90deg, #e4e6ec 25%, #f4f5f8 45%, #e4e6ec 65%); background-size: 300% 100%; border-radius: 18px; animation: shimmer 1.4s infinite; }
.detail-loading > div:last-child { min-height: 0; display: grid; align-content: start; gap: 16px; padding: 34px; background: var(--white); }
.detail-loading span { height: 34px; background: #e9eaf0; border-radius: 5px; }
.detail-loading span:nth-child(2) { width: 80%; height: 74px; }
.detail-loading span:nth-child(3) { width: 55%; height: 48px; }
.detail-loading span:nth-child(4) { height: 210px; }

.vehicle-detail-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, .72fr); align-items: start; gap: 28px; }
.detail-gallery { min-width: 0; }
.detail-main-image { position: relative; overflow: hidden; aspect-ratio: 1.5 / 1; background: var(--brand-deep); border-radius: 5px 5px 42px 5px; box-shadow: var(--shadow); }
.detail-main-image img { width: 100%; height: 100%; object-fit: contain; background: #0a0a23; }
.detail-image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255,255,255,.72); background: repeating-linear-gradient(135deg, #08064f, #08064f 22px, #0e0b67 22px, #0e0b67 44px); font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.detail-gallery-arrow { position: absolute; z-index: 2; top: 50%; width: 50px; height: 50px; display: grid; place-items: center; color: var(--white); background: rgba(4,4,63,.82); border: 1px solid rgba(255,255,255,.45); border-radius: 50%; cursor: pointer; font-size: 34px; line-height: 1; transform: translateY(-50%); transition: background .2s ease, transform .2s ease; }
.detail-gallery-arrow:hover { background: var(--brand); transform: translateY(-50%) scale(1.06); }
.detail-gallery-arrow.previous { left: 18px; }
.detail-gallery-arrow.next { right: 18px; }
.detail-gallery-counter { position: absolute; right: 20px; bottom: 18px; padding: 6px 11px; color: var(--white); background: rgba(4,4,63,.82); border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .06em; }
.detail-thumbnails { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 12px; }
.detail-thumbnail { position: relative; overflow: hidden; aspect-ratio: 1.45 / 1; padding: 0; background: #e7e9ef; border: 2px solid transparent; border-radius: 7px; cursor: pointer; }
.detail-thumbnail::after { content: ""; position: absolute; inset: 0; background: rgba(8,6,111,.2); opacity: 0; transition: opacity .2s ease; }
.detail-thumbnail:hover::after { opacity: 1; }
.detail-thumbnail[aria-current="true"] { border-color: var(--cyan-deep); box-shadow: 0 0 0 3px rgba(72,206,229,.24); }
.detail-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.detail-summary { position: sticky; top: 112px; padding: 34px; background: var(--white); border: 1px solid var(--line-light); border-radius: 5px 5px 30px 5px; box-shadow: 0 14px 40px rgba(20,23,50,.09); }
.detail-status { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.detail-status::before { content: ""; width: 9px; height: 9px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 0 4px rgba(72,206,229,.19); }
.detail-summary h1 { margin-top: 17px; color: var(--brand-deep); font-family: var(--display); font-size: clamp(48px, 4.6vw, 68px); font-weight: 900; letter-spacing: -.06em; line-height: .9; }
.detail-version { margin-top: 15px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.detail-price { margin-top: 28px; color: var(--brand); font-family: var(--display); font-size: clamp(36px, 3.4vw, 52px); font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.detail-specs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 27px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.detail-specs div { min-width: 0; padding: 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-specs dt { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.detail-specs dd { margin-top: 4px; overflow-wrap: anywhere; color: #303342; font-size: 14px; font-weight: 800; }
.detail-summary-actions { display: grid; gap: 10px; margin-top: 27px; }
.detail-summary-actions .button { width: 100%; }
.detail-summary-note { margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.45; text-align: center; }

.vehicle-description-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, .72fr); gap: 28px; margin-top: 28px; }
.vehicle-description, .vehicle-sale-notes { padding: 38px; background: var(--white); border: 1px solid var(--line-light); border-radius: 5px 26px 5px 5px; }
.vehicle-description .eyebrow, .vehicle-sale-notes .eyebrow { font-size: 10px; }
.vehicle-description h2, .vehicle-sale-notes h2 { margin-top: 14px; color: var(--brand-deep); font-family: var(--display); font-size: clamp(36px, 3.8vw, 52px); font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.vehicle-description-copy { margin-top: 24px; color: #4d5060; font-size: 17px; line-height: 1.75; white-space: pre-line; }
.vehicle-sale-notes ul { display: grid; gap: 15px; margin-top: 24px; }
.vehicle-sale-notes li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: #4d5060; font-size: 14px; }
.vehicle-sale-notes li::before { content: "✓"; width: 22px; height: 22px; display: grid; place-items: center; color: var(--brand); background: var(--cyan); border-radius: 50%; font-size: 11px; font-weight: 900; }
.detail-updated { margin-top: 22px; color: var(--muted); font-size: 11px; }

.detail-error { min-height: 470px; display: grid; place-content: center; justify-items: center; padding: 50px 24px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.detail-error span { width: 66px; height: 66px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 50%; font-family: var(--display); font-size: 22px; font-weight: 900; }
.detail-error h1 { max-width: 650px; margin-top: 22px; color: var(--brand-deep); font-family: var(--display); font-size: clamp(40px, 5vw, 62px); font-weight: 900; letter-spacing: -.05em; line-height: .95; }
.detail-error p { max-width: 560px; margin-top: 15px; color: var(--muted); }
.detail-error .button { margin-top: 24px; }

.detail-contact-band { padding: 45px 0; color: var(--white); background: var(--brand-deep); }
.detail-contact-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.detail-contact-band-inner > div:first-child { display: grid; gap: 4px; }
.detail-contact-band-inner span { color: var(--cyan); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.detail-contact-band-inner strong { font-size: 24px; }
.detail-contact-band-inner > div:last-child { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 980px) {
  .vehicle-detail-layout, .vehicle-description-grid, .detail-loading { grid-template-columns: 1fr; }
  .detail-summary { position: static; }
  .detail-loading > div { min-height: 500px; }
  .detail-contact-band-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .vehicle-page-main { padding: 25px 0 68px; }
  .vehicle-detail-shell { gap: 22px; }
  .vehicle-breadcrumb { font-size: 11px; }
  .detail-main-image { aspect-ratio: 1.25 / 1; border-radius: 4px 4px 28px 4px; }
  .detail-gallery-arrow { width: 43px; height: 43px; font-size: 29px; }
  .detail-gallery-arrow.previous { left: 10px; }
  .detail-gallery-arrow.next { right: 10px; }
  .detail-gallery-counter { right: 12px; bottom: 10px; }
  .detail-thumbnails { display: flex; overflow-x: auto; padding: 3px 3px 8px; scroll-snap-type: x proximity; }
  .detail-thumbnail { flex: 0 0 102px; scroll-snap-align: start; }
  .detail-summary { padding: 27px 23px; border-radius: 4px 4px 24px 4px; }
  .detail-summary h1 { font-size: clamp(43px, 13vw, 58px); }
  .detail-price { font-size: 40px; }
  .detail-specs div { padding: 13px 11px; }
  .vehicle-description, .vehicle-sale-notes { padding: 29px 23px; }
  .vehicle-description-copy { font-size: 16px; }
  .detail-contact-band { padding: 38px 0; }
  .detail-contact-band-inner > div:last-child, .detail-contact-band-inner .button { width: 100%; }
  .detail-loading > div { min-height: 320px; }
  .detail-loading > div:last-child { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .detail-gallery-arrow, .detail-thumbnail::after { transition: none; }
}
