.gallery{position:relative;gap:0}.gallery>a{flex:0 0 100%;min-width:0}.vehicle-gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0}.vehicle-gallery-controls button,.vehicle-gallery-close{border:1px solid #cad8d0;border-radius:9px;background:#153d33;color:#fff;padding:10px 12px;min-height:44px;font:inherit;cursor:pointer}.vehicle-gallery-controls button:disabled{opacity:.45;cursor:default}.vehicle-gallery-controls span{text-align:center;font-size:14px}.vehicle-gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:5px 3px 12px;position:relative}.vehicle-gallery-thumbs button{flex:0 0 76px;padding:3px;border:2px solid transparent;background:#edf1ed;border-radius:8px;cursor:pointer}.vehicle-gallery-thumbs button[aria-pressed=true]{border-color:#153d33}.vehicle-gallery-thumbs img{display:block;width:66px;height:52px;object-fit:cover;border-radius:4px}.vehicle-gallery-dialog{width:96vw;max-width:1400px;max-height:96dvh;padding:12px;border:0;border-radius:12px;background:#10231d;color:white}.vehicle-gallery-dialog::backdrop{background:rgba(0,0,0,.88)}.vehicle-gallery-dialog[open]{display:flex;flex-direction:column;align-items:stretch}.vehicle-gallery-dialog>img{display:block;width:100%;height:calc(90dvh - 140px);min-height:100px;object-fit:contain;touch-action:pan-y pinch-zoom}.vehicle-gallery-close{align-self:flex-end}.vehicle-gallery-open{overflow:hidden}@media(max-width:420px){.vehicle-gallery-controls button{padding:8px;font-size:14px}.vehicle-gallery-dialog{padding:8px}.vehicle-gallery-controls{gap:4px}}
