.vehicle-gallery{background:#f1f5f9;overflow:hidden;border-radius:24px}.vehicle-gallery--compact{border-radius:0}.vehicle-gallery__stage{position:relative;aspect-ratio:4/3;touch-action:pan-y}.vehicle-gallery__stage>img{width:100%;height:100%;object-fit:contain}.vehicle-gallery button{cursor:pointer}.vehicle-gallery button:focus-visible,.vehicle-gallery a:focus-visible{outline:3px solid #f97316;outline-offset:-3px}.vehicle-gallery__open{display:none;position:absolute;right:12px;bottom:12px;border:0;border-radius:30px;background:#0f172a;color:#fff;font-weight:700;padding:10px 16px;font-size:13px}.vehicle-gallery--ready .vehicle-gallery__open{display:block}.vehicle-gallery__prev,.vehicle-gallery__next{position:absolute;top:42%;border:0;border-radius:50%;width:38px;height:38px;background:#fff;color:#0f172a;box-shadow:0 2px 12px #0002;font-size:28px}.vehicle-gallery__prev{left:10px}.vehicle-gallery__next{right:10px}.vehicle-gallery__caption{padding:10px 16px;font-size:13px;color:#475569;background:#f8fafc;margin:0}.vehicle-gallery__thumbs{display:flex;gap:8px;overflow-x:auto;padding:12px}.vehicle-gallery__thumbs button{flex:0 0 104px;padding:3px;border:2px solid transparent;border-radius:12px;background:#fff;color:#475569;overflow:hidden;text-align:left}.vehicle-gallery__thumbs button[aria-pressed=true]{border-color:#c2410c;color:#9a3412}.vehicle-gallery__thumbs img{width:96px;height:64px;object-fit:cover;border-radius:8px}.vehicle-gallery__thumbs span{display:block;font-size:11px;padding:4px;white-space:normal}.vehicle-gallery--compact .vehicle-gallery__thumbs{display:none}.vehicle-gallery__fallback{display:block;padding:12px 16px;color:#9a3412;font-size:13px;font-weight:700}.vehicle-gallery--ready .vehicle-gallery__fallback{display:none}.vehicle-photo-dialog{padding:0;border:1px solid #334155;border-radius:20px;width:min(1100px,96vw);max-width:96vw;max-height:94dvh;overflow:auto;background:#020617;color:#fff}.vehicle-photo-dialog::backdrop{background:#020617ed}.vehicle-photo-dialog__bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px}.vehicle-photo-dialog__bar strong{font-size:16px}.vehicle-photo-dialog__bar button{border:1px solid #64748b;border-radius:30px;padding:8px 16px;background:#fff;color:#020617;white-space:nowrap}.vehicle-photo-dialog__stage{display:flex;align-items:center;justify-content:space-between;gap:8px;touch-action:pan-y}.vehicle-photo-dialog__stage img{min-width:0;width:calc(100% - 100px);height:65dvh;object-fit:contain}.vehicle-photo-dialog__stage button{background:#fff;color:#020617;font-size:30px;border:0;border-radius:50%;width:40px;min-width:40px;height:40px;margin:4px}.vehicle-photo-dialog__hint{padding:12px 16px;color:#94a3b8;font-size:12px}.vehicle-photo-dialog [hidden]{display:none}.vehicle-photo-editor{border:1px solid #e2e8f0;border-radius:16px;padding:20px;margin:16px 0}.vehicle-photo-editor img{max-height:150px;max-width:100%;object-fit:contain;margin-bottom:12px}.vehicle-photo-editor label{display:block;font-size:14px;font-weight:600;margin:12px 0 6px}.vehicle-photo-editor .errorlist{color:#b91c1c}.vehicle-photo-editor input:not([type=checkbox]),.vehicle-photo-editor select{max-width:100%}@media(max-width:600px){.vehicle-photo-dialog__bar strong{font-size:13px}.vehicle-photo-dialog__stage img{height:50dvh}.vehicle-photo-dialog__bar{padding:12px}.vehicle-photo-dialog__stage{gap:0}}
