.vehicle-media{min-width:0}
.gallery-main{width:100%;padding:0;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#f6f8f5;color:var(--ink)}
.gallery-main img{width:100%;height:400px;object-fit:contain}
.gallery-main span{display:block;background:white;padding:.6rem;font-size:.875rem}
.gallery-count{margin:.7rem 0;font-size:.9rem;color:var(--muted)}
.gallery-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.5rem}
.gallery-thumb{padding:.2rem;border:2px solid var(--line);border-radius:4px;background:white}
.gallery-thumb[aria-pressed=true]{border-color:var(--green)}
.gallery-thumb img{width:100%;aspect-ratio:1;object-fit:contain}
.gallery-dialog{width:min(1100px,96vw);max-height:96dvh;border:0;border-radius:8px;padding:1rem;background:white;color:var(--ink)}
.gallery-dialog::backdrop{background:rgb(0 0 0 / .8)}
.gallery-dialog>img{width:100%;height:72dvh;object-fit:contain}
.gallery-close{display:block;margin-left:auto;background:white;border:1px solid var(--line);padding:.6rem 1rem;border-radius:4px}
.gallery-controls{display:flex;justify-content:space-between;align-items:center;gap:.5rem;margin-top:.8rem}
.gallery-controls button{padding:.7rem;background:var(--green);color:white;border:0;border-radius:4px}
.vehicle-videos{margin-top:2rem}
.vehicle-videos h2{font-size:1.6rem}.vehicle-video{margin:1.5rem 0}
.vehicle-video h3{font-size:1rem}.vehicle-video video{width:100%;max-height:420px;background:#10251b;display:block;margin-bottom:.7rem}
@media(max-width:700px){.gallery-main img{height:300px}.gallery-thumbs{grid-template-columns:repeat(4,minmax(0,1fr))}.gallery-dialog>img{height:65dvh}.gallery-controls{font-size:.875rem}}
