.vehicle-gallery-frame{position:relative;aspect-ratio:4/3;background:#e7ebef;overflow:hidden;touch-action:pan-y}
.vehicle-gallery-frame img{width:100%;height:100%;object-fit:contain}
.vehicle-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.65);border-radius:50%;background:rgba(12,17,24,.8);color:#fff;font:32px/1 Arial,sans-serif;cursor:pointer;box-shadow:0 3px 12px #0003}
.vehicle-gallery-arrow.previous{left:12px}.vehicle-gallery-arrow.next{right:12px}
.vehicle-gallery-arrow:hover{background:#d52b1e}
.vehicle-gallery-counter{position:absolute;bottom:12px;right:12px;border-radius:999px;background:rgba(12,17,24,.85);color:#fff;padding:7px 11px;font:700 13px/1.2 'Barlow',sans-serif}
.vehicle-gallery-dots{display:flex;flex-wrap:wrap;justify-content:center;gap:0;padding:3px 10px;background:#fff;border-bottom:1px solid var(--line)}
.vehicle-gallery-dot{display:grid;place-items:center;width:30px;min-height:36px;padding:0;border:0;background:transparent;cursor:pointer}
.vehicle-gallery-dot::before{content:'';width:8px;height:8px;border-radius:50%;background:#9ca6b1;transition:background .15s,transform .15s}
.vehicle-gallery-dot[aria-current=true]::before{background:#d52b1e;transform:scale(1.35)}
.vehicle-gallery button:focus-visible{outline:3px solid #d52b1e;outline-offset:3px}
.inventory-copy .inventory-price{position:static;display:inline-block;margin:0 0 18px;box-shadow:none;font-size:24px}
@media(min-width:1101px){.inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:640px) and (max-width:1100px){.inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.vehicle-gallery-expand{position:absolute;inset:0;display:block;width:100%;height:100%;border:0;padding:0;background:transparent;cursor:zoom-in;color:#fff}
.vehicle-gallery-enlarge-hint{position:absolute;left:12px;top:12px;display:flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:rgba(12,17,24,.85);color:#fff;font:700 12px/1.2 'Barlow',sans-serif;box-shadow:0 2px 8px #0002;pointer-events:none}
.vehicle-gallery-enlarge-hint svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.vehicle-gallery-expand:hover .vehicle-gallery-enlarge-hint{background:#b92218}
.vehicle-gallery-expand:focus-visible{outline:3px solid #d52b1e;outline-offset:-4px}
.vehicle-photo-viewer{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:20px;border:0;background:transparent;color:#fff;overflow:auto}
.vehicle-photo-viewer::backdrop{background:rgba(5,8,13,.94)}
.vehicle-photo-viewer[open]{display:grid;place-items:center}
.vehicle-photo-panel{width:min(100%,1400px);min-width:0}
.vehicle-photo-header,.vehicle-photo-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0}
.vehicle-photo-header h2{font:700 clamp(18px,3vw,26px)/1.25 'Barlow',sans-serif;margin:0;color:#fff}
.vehicle-photo-close{flex-shrink:0;min-height:44px;padding:10px 16px;border:1px solid #ffffff66;border-radius:999px;background:#ffffff14;color:#fff;cursor:pointer;font:700 15px/1.2 'Barlow',sans-serif}
.vehicle-photo-close:hover{background:#b92218}
.vehicle-photo-stage{position:relative;touch-action:pan-y pinch-zoom;background:#0005;border-radius:12px;overflow:hidden}
.vehicle-photo-stage img{display:block;width:100%;height:calc(100vh - 200px);height:calc(100dvh - 200px);min-height:160px;max-height:1100px;object-fit:contain}
.vehicle-photo-footer{font:600 14px/1.4 'Barlow',sans-serif;color:#e5e7eb;flex-wrap:wrap}
.vehicle-photo-footer a{color:#fff;text-underline-offset:4px;min-height:36px;display:inline-flex;align-items:center}
.vehicle-photo-help{font:400 13px/1.5 'Barlow',sans-serif;color:#c0c8d3;text-align:center;margin:0}
.vehicle-photo-viewer button:focus-visible,.vehicle-photo-viewer a:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:600px){.vehicle-photo-viewer{padding:12px}.vehicle-photo-header{align-items:flex-start}.vehicle-photo-stage img{height:calc(100vh - 230px);height:calc(100dvh - 230px)}.vehicle-photo-stage .previous{left:6px}.vehicle-photo-stage .next{right:6px}.vehicle-photo-footer{gap:4px 12px}.vehicle-photo-help{font-size:12px}}
