.inventory-notice{padding:20px 24px;margin:0 0 28px;background:var(--wash);border-left:3px solid var(--red);font-size:14px;line-height:1.7;color:var(--ink)}
.inventory-notice button{margin-left:12px;text-decoration:underline;font-weight:700}
.card-media img,.detail-photo>img{object-fit:contain}
.card-media>a:hover img{transform:none}
.card-title-row{flex-wrap:wrap}.card-price{white-space:normal}.card-specs{font-size:13px}
.m-vehicle-photo{aspect-ratio:4/3}.m-vehicle-photo img{height:100%;object-fit:contain}
.detail-photo{aspect-ratio:4/3}
.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:18px}
.gallery-controls button{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:3px;background:#fff}
.gallery-controls svg{width:18px;height:18px}.gallery-back{transform:rotate(180deg)}
.gallery-controls button:disabled,.photo-dialog button:disabled{opacity:.35;cursor:default}
.gallery-controls span{font-size:14px;font-variant-numeric:tabular-nums}
.gallery-thumbs{display:flex;gap:10px;overflow-x:auto;padding:12px 3px 8px;scroll-snap-type:x proximity}
.gallery-thumb{padding:3px;border:2px solid transparent;background:var(--wash);flex:0 0 86px;scroll-snap-align:start;border-radius:3px}
.gallery-thumb[aria-pressed=true]{border-color:var(--red)}
.gallery-thumb img{display:block;width:100%;height:60px;object-fit:contain}
.gallery-thumb:focus-visible,.gallery-controls button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.vehicle-information{padding:10px 0 65px;display:grid;gap:38px}
.vehicle-information h2{font-size:30px;margin-bottom:22px;letter-spacing:-.04em}
.vehicle-description p{white-space:pre-line;max-width:900px;font-size:16px;line-height:1.8;overflow-wrap:anywhere}
.vehicle-facts dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 32px}
.vehicle-facts dl>div{padding:15px 0;border-top:1px solid var(--line)}
.vehicle-facts dt{color:var(--muted);font-size:13px;line-height:1.6}.vehicle-facts dd{margin:5px 0 0;font-size:16px;font-weight:600;overflow-wrap:anywhere}
.equipment-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.equipment-groups h3{font-size:20px;margin-bottom:14px}.equipment-groups ul{padding-left:20px;line-height:1.9;font-size:15px}
.vehicle-data-note{font-size:14px;line-height:1.7;max-width:720px}
.archive-price-label{font-size:13px;margin-top:25px}.archive-price-label+.detail-price{margin-top:8px}
.photo-dialog{width:min(95vw,1200px);padding:46px 0 54px;background:#171b19;overflow:hidden}
.photo-dialog>img{display:block;width:100%;height:min(70vh,800px);max-height:none;object-fit:contain;border-radius:0}
.photo-prev,.photo-next{position:absolute;top:50%;transform:translateY(-50%);background:#fff;color:var(--ink);font-size:30px;min-width:44px;min-height:44px}.photo-prev{left:12px}.photo-next{right:12px}
.photo-counter{position:absolute;left:0;right:0;bottom:14px;text-align:center;color:#fff;font-size:14px}
@media(max-width:800px){.gallery-thumb{flex-basis:calc((100% - 30px)/4)}.gallery-thumb img{height:auto;aspect-ratio:4/3}.vehicle-facts dl{grid-template-columns:repeat(2,minmax(0,1fr))}.vehicle-information{padding-bottom:45px}.vehicle-information h2{font-size:27px}.photo-caption{font-size:12px;line-height:1.5}}
@media(max-width:420px){.vehicle-facts dl{grid-template-columns:1fr 1fr;gap:0 18px}.equipment-groups{grid-template-columns:1fr}.vehicle-facts dd{font-size:14px}.inventory-notice{padding:17px;font-size:14px}.card-price{font-size:21px}}

.sold-badge{position:absolute;left:0;right:0;bottom:0;z-index:1;display:block;padding:9px 16px;background:var(--red);color:#fff;font-size:14px;line-height:1.4;font-weight:800;letter-spacing:.14em;text-align:center;pointer-events:none}
.detail-photo-wrap{position:relative}
