.vehicle-detail-page { background: #fff; }
.vd-main { padding-top: 140px; padding-bottom: 70px; }
.vd-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--gray); margin-bottom: 34px; }
.vd-breadcrumb a { text-decoration: none; }
.vd-heading { margin-bottom: 34px; }
.vd-eyebrow { color: var(--purple); font-size: 13px; line-height: 1.5; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 14px; }
.vehicle-detail-page .vd-heading h1 { font-size: clamp(32px,3.5vw,48px); line-height: 1.08; letter-spacing: -.04em; margin: 0; }
.vd-heading h1::after,.vd-description h2::after { content: ''; display: block; width: 70px; height: 3px; background: var(--purple); margin-top: 18px; }
.vd-heading h1 span { color: var(--purple); }
.vd-heading > p:last-child { color: var(--gray); font-size: 16px; line-height: 1.6; }
.vd-overview { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 44px; align-items: start; }
.vd-gallery { min-width: 0; }
.vd-vehicle-info { min-width: 0; }
.vd-main-photo { position: relative; display: block; border-radius: 8px; overflow: hidden; background: #f3f1f6; }
.vd-main-photo > img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: contain; }
.vd-main-photo > span { position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 24px; background: #fff; color: var(--ink); font-size: 14px; box-shadow: 0 4px 20px #17141c12; }
.vd-main-photo svg { width: 18px; height: 18px; }
.vd-gallery-caption { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 14px 0; color: var(--gray); font-size: 14px; min-height: 66px; }
.vd-gallery-controls { display: flex; gap: 8px; flex-shrink: 0; }
.vd-gallery-controls[hidden] { display: none; }
.vd-gallery-controls button,.vd-lightbox-controls button { height: 42px; width: 42px; background: #fff; color: var(--purple); border: 1px solid #e6dcf7; border-radius: 50%; font: 28px/1 Arial,sans-serif; cursor: pointer; }
.vd-thumbnails { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: #bfa1ef #f3f1f6; }
.vd-thumbnails a { position: relative; flex: 0 0 calc((100% - 30px)/4); scroll-snap-align: start; background: #f3f1f6; display: block; border: 2px solid transparent; border-radius: 8px; overflow: hidden; }
.vd-thumbnails a[aria-current="true"] { border-color: var(--purple); }
.vd-thumbnails img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; }
.vd-thumbnails span { position: absolute; bottom: 4px; left: 4px; background: #ffffffeb; color: #312740; font-size: 12px; padding: 2px 5px; border-radius: 4px; }
.vd-quick-data { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 28px; margin: 0 0 34px; }
.vd-quick-data dt,.vd-specs dt { font-size: 14px; color: var(--gray); margin-bottom: 6px; }
.vd-quick-data dd,.vd-specs dd { font-size: 16px; margin: 0; overflow-wrap: anywhere; }
.vd-quick-data dd { line-height: 1.5; }
.vd-overview-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.vd-small { font-size: 14px; line-height: 1.65; color: var(--gray); font-weight: 400; }
.vd-text-link { display: inline-block; font-size: 14px; color: var(--purple); text-underline-offset: 5px; }
.vd-section-nav { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 44px 0 8px; padding: 20px 0; border-bottom: 1px solid #eae4f2; }
.vd-section-nav a { padding: 8px 0; font-size: 16px; text-decoration: none; color: var(--purple); }
.vd-section { padding: 54px 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); gap: 50px; scroll-margin-top: 110px; }
.vehicle-detail-page .vd-section h2,.vehicle-detail-page .vd-contact h2 { font-size: clamp(28px,3vw,40px); line-height: 1.16; letter-spacing: -.035em; margin-bottom: 22px; }
.vd-section h2 em { font-style: normal; color: var(--purple); }
.vd-description p { font-size: 16px; line-height: 1.8; color: var(--gray); margin: 0 0 20px; font-weight: 400; }
.vd-description { scroll-margin-top: 110px; }
.vehicle-detail-page .vd-description h2 { font-size: clamp(28px,3vw,36px); margin: 0 0 24px; line-height: 1.15; letter-spacing: -.035em; }
.vd-description p.vd-small { font-size: 14px; }
.vd-specs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 26px; margin: 0; }
.vd-specs > div { padding: 16px 0; border-bottom: 1px solid #eae4f2; }
.vd-equipment-section { grid-template-columns: minmax(0,1fr); gap: 28px; }
.vd-equipment-section > div:first-child { max-width: 700px; }
.vd-equipment { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 44px 54px; align-items: start; }
.vd-equipment h3 { font-size: 20px; margin: 0 0 16px; }
.vd-equipment ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.vd-equipment li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--gray); font-weight: 400; }
.vd-equipment li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--purple); margin-top: 2px; }
.vd-contact { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 50px; align-items: center; padding: 42px; background: var(--purple-mist); border: 1px solid #e6dcf7; border-radius: 24px; margin: 24px 0; scroll-margin-top: 110px; }
.vd-contact p:not(.vd-eyebrow) { color: var(--gray); line-height: 1.7; font-size: 16px; font-weight: 400; }
.vd-contact-actions { display: grid; gap: 12px; }
.vd-contact-actions .vd-text-link { text-align: center; padding: 10px; }
.vd-person { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.vd-person img { width: 54px; height: 66px; object-fit: cover; border-radius: 10px; }
.vd-person strong { display: block; font-size: 16px; }
.vd-person span { display: block; margin-top: 6px; font-size: 14px; color: var(--gray); }
.vd-back { display: inline-block; padding: 18px 0; font-size: 16px; color: var(--purple); text-underline-offset: 5px; }
.vd-lightbox { padding: 20px; width: min(1200px,96vw); max-width: 96vw; max-height: 96dvh; margin: auto; border: 0; border-radius: 18px; background: #17141c; color: #fff; }
.vd-lightbox::backdrop { background: #0a0713e6; }
.vd-lightbox-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 16px; }
.vd-lightbox-head p { margin: 0; font-size: 14px; }
.vd-lightbox-head button { font: inherit; font-size: 14px; border: 1px solid #ffffff66; color: #fff; background: transparent; border-radius: 8px; padding: 12px; cursor: pointer; }
.vd-lightbox > img { display: block; width: 100%; height: min(70dvh,800px); object-fit: contain; }
.vd-lightbox-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 16px; font-size: 14px; }
.vd-main :is(a,button):focus-visible,.vd-lightbox button:focus-visible { outline: 3px solid #9a69ff; outline-offset: 4px; }
@media(max-width:950px) { .vd-overview { gap: 28px; } .vd-quick-data { gap: 22px 18px; } .vd-section { gap: 30px; } .vd-contact { gap: 30px; padding: 30px; } }
@media(max-width:760px) { .vd-overview { grid-template-columns: minmax(0,1fr); } .vd-equipment { grid-template-columns: minmax(0,1fr); gap: 30px; } }
@media(max-width:640px) {
 .vehicle-detail-page .section-shell { width: calc(100% - 32px); }
 .vd-main { padding-top: 108px; padding-bottom: 40px; }
 .vd-breadcrumb { margin-bottom: 26px; gap: 8px; }
 .vd-heading { margin-bottom: 24px; }
 .vehicle-detail-page .vd-heading h1 { font-size: clamp(31px,9vw,43px); }
 .vd-heading h1 span { display: block; margin-top: 4px; }
 .vd-heading > p:last-child { font-size: 14px; }
 .vd-overview { gap: 24px; }
 .vd-main-photo { border-radius: 8px; }
 .vd-main-photo > span { padding: 8px 10px; bottom: 10px; right: 10px; font-size: 12px; }
 .vd-thumbnails { gap: 7px; }
 .vd-quick-data { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
 .vd-section-nav { gap: 6px 20px; margin-top: 28px; padding: 14px 0; }
 .vd-section-nav a { font-size: 14px; }
 .vd-section { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 34px 0; scroll-margin-top: 90px; }
 .vehicle-detail-page .vd-section h2 { margin-bottom: 12px; }
 .vd-specs { gap: 0 18px; }
 .vd-contact { grid-template-columns: minmax(0,1fr); padding: 26px 20px; border-radius: 18px; gap: 24px; scroll-margin-top: 90px; }
 .vd-contact .sales-button { min-height: 48px; padding: 12px; font-size: 15px; }
 .vd-lightbox { padding: 14px; }
 .vd-lightbox > img { height: 65dvh; }
 .vd-lightbox-head { gap: 10px; }
 .vd-lightbox-head button { flex-shrink: 0; }
}
