dialog.vehicle-gallery{width:min(850px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:30px;overflow-y:auto;overscroll-behavior:contain}
.vehicle-gallery .gallery-eyebrow{margin:0 0 8px;font-size:10px;letter-spacing:1.7px;font-weight:600;color:#cacaca}.vehicle-gallery h2{padding-right:24px;margin-bottom:20px}
.gallery-stage{margin:0;border-radius:19px;overflow:hidden;background:#141312;border:1px solid rgba(255,255,255,0.3)}.gallery-stage .gallery-photo{display:block;width:100%;height:min(47vh,440px);object-fit:contain;border-radius:0;filter:brightness(1.035) contrast(1.035) saturate(1.07)}
.gallery img.interior{filter:brightness(1.15) contrast(1.025) saturate(.92)}
.gallery-stage figcaption{display:flex;justify-content:space-between;gap:12px;padding:12px 16px;background:#ffffff;color:#d6d6d6;font-size:12px}.gallery-count{font-variant-numeric:tabular-nums;color:#c8c8c8}
.gallery-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:14px}.gallery-thumbs button{padding:4px;border:2px solid transparent;border-radius:13px;background:rgba(9,9,8,0.565);min-width:0;transition:border-color .18s,background .18s}.gallery-thumbs button:hover{background:#090908}.gallery-thumbs button[aria-pressed=true]{border-color:#e0e0e0;background:#090908;box-shadow:0 3px 12px rgba(0,0,0,0.376)}.gallery-thumbs img{display:block;width:100%;height:64px;object-fit:contain;background:#141312;border-radius:7px;filter:brightness(1.035) contrast(1.035) saturate(1.07)}.gallery-thumbs span{display:block;margin:7px 0 3px;font-size:11px;color:#d5d5d5}.gallery-controls{display:flex;justify-content:space-between;margin-top:14px;gap:12px}.gallery-controls .pill{min-height:40px;padding:10px 18px;font-size:12px}.vehicle-gallery .gallery-description{font-size:14px;line-height:1.6;margin:20px 0 0;color:#d0d0d0}
@media(max-width:620px){dialog.vehicle-gallery{padding:27px 16px 20px;border-radius:24px}.vehicle-gallery h2{font-size:22px;margin-bottom:15px}.gallery-stage .gallery-photo{height:32vh;min-height:190px}.gallery-thumbs{gap:4px}.gallery-thumbs img{height:43px}.gallery-thumbs span{font-size:8px}.gallery-thumbs button{padding:2px;border-radius:9px}.gallery-stage figcaption{font-size:11px;padding:10px 12px}.vehicle-gallery .gallery-description{font-size:13px}}
@media(prefers-reduced-motion:reduce){.gallery-thumbs button{transition:none}}
