/* Compact dealership cards; original photos stay fully visible. */
.inventory .stock-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch}
.inventory .truck-card{display:flex;flex-direction:column;min-width:0;border:1px solid #dedede;border-radius:9px;box-shadow:0 3px 12px #00000008;background:#fff;position:relative}
.inventory .truck-card[hidden]{display:none}
.inventory .card-title h3 a::after{content:"";position:absolute;inset:0;z-index:1;cursor:pointer;border-radius:9px}
.inventory .card-title h3 a:focus-visible{outline:none}
.inventory .card-title h3 a:focus-visible::after{outline:3px solid var(--red);outline-offset:-3px}
.inventory .card-photo{position:relative}
.inventory .card-photo .gallery-open{position:relative;z-index:2;cursor:pointer;text-decoration:none}
.inventory .card-photo .gallery-enlarge{z-index:3;pointer-events:auto;cursor:zoom-in;font-family:inherit}
.inventory .card-photo .card-photo-count{z-index:3}
.inventory .card-photo-nav{position:relative;z-index:2;pointer-events:none}
.inventory .card-photo-nav button{pointer-events:auto}
.inventory .card-button,.inventory .contact-links,.inventory .vehicle-card-actions{position:relative;z-index:2}
.inventory .vehicle-card-actions{pointer-events:none}
.inventory .vehicle-card-actions>.btn,.inventory .vehicle-card-actions>.share-panel{pointer-events:auto}
.inventory .card-gallery{position:relative;background:#f0f0f0;border-bottom:1px solid #eee}
.inventory .gallery-open{background:#f0f0f0}
.inventory .gallery-main{height:auto;aspect-ratio:3/2;background:#f0f0f0;object-fit:contain}
.inventory .gallery-enlarge{right:9px;bottom:9px;min-height:32px;padding:5px 9px;border-radius:5px;background:#171717de;font-size:12px}
.inventory .card-gallery .thumbs,.inventory .card-gallery .gallery-help{display:none}
.inventory .card-photo-count{position:absolute;left:10px;top:10px;z-index:1;display:inline-flex;align-items:center;min-height:28px;padding:4px 8px;border-radius:5px;background:#fffefa;color:#333;font-size:12px;font-weight:700;pointer-events:none}
.inventory .card-photo-nav{display:flex;justify-content:space-between;gap:10px;padding:5px 8px;background:white;border-top:1px solid #e9e9e9}
.inventory .card-photo-nav button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:7px 9px;border:0;border-radius:5px;background:white;color:#555;font:700 12px Arial,Helvetica,sans-serif;cursor:pointer}
.inventory .card-photo-nav button:hover{background:#f4f4f4;color:var(--red)}
.inventory .card-photo-nav button:focus-visible{outline:3px solid var(--red);outline-offset:-2px}
.inventory .card-body{display:flex;flex-direction:column;flex:1;padding:17px 16px 10px;min-width:0}
.inventory .card-title{display:block;margin-bottom:12px}
.inventory .card-title h3{font-size:19px;font-weight:800;line-height:1.25;margin:0 0 6px;text-transform:uppercase;overflow-wrap:anywhere}
.inventory .card-title h3 a{text-decoration:none}
.inventory .card-title h3 a:hover{text-decoration:underline;text-underline-offset:3px}
.inventory .card-title h3 a:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.inventory .card-subtitle{font-size:14px;line-height:1.35;margin:0;color:#666}
.inventory .tag{display:inline-block;margin-top:9px;padding:3px 7px;border-radius:4px;background:#f3f3f3;color:#555;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.35px}
.inventory .specs{gap:9px 10px;padding:12px 0;margin-bottom:14px}
.inventory .specs div{padding:0;font-size:13px;min-width:0}
.inventory .specs dt{font-size:11px;font-weight:400;color:#757575;line-height:1.3}
.inventory .specs dd{font-size:14px;font-weight:600;line-height:1.4;margin:3px 0 0;color:#333;overflow-wrap:anywhere}
.inventory .sale-condition{font-size:13px;font-weight:700;line-height:1.4;padding:8px 10px;margin-bottom:14px;border-left-width:3px;border-radius:4px}
.inventory .price-label{margin-top:auto;font-size:12px;color:#777}
.inventory .price{font-size:25px;line-height:1.2;letter-spacing:-.6px;color:#171717;margin:4px 0 16px;white-space:nowrap}
.inventory .card-button{min-height:48px;padding:11px 8px;border-radius:5px;font-size:14px;line-height:1.35}
.inventory .vehicle-card-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:3px 7px;margin-top:5px}
.inventory .vehicle-card-actions>.btn.secondary{flex:0 1 auto;width:auto;min-height:44px;padding:8px 0;border:0;border-radius:4px;background:transparent;color:#626262;font-size:12px;font-weight:600;line-height:1.35;text-decoration:underline;text-underline-offset:3px}
.inventory .vehicle-card-actions>.btn.secondary:hover{color:var(--red);background:transparent}
.inventory .vehicle-card-actions>.share-panel{flex-basis:100%;width:100%;margin-block:5px 8px;padding:12px}
.inventory .contact-links{padding:10px}
.inventory .contact-links .sales{grid-template-columns:1fr}
.inventory .sales-queue{font-size:14px;min-height:48px;padding:10px 8px;border-radius:5px}
.inventory .contact-links .sales-link{min-height:44px}
@media(max-width:1100px){.inventory .stock-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.inventory .stock-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:560px){.inventory .stock-grid{grid-template-columns:minmax(0,1fr);gap:22px}.inventory .card-body{padding:20px 20px 11px}.inventory .card-title h3{font-size:22px}.inventory .card-subtitle{font-size:15px}.inventory .tag{font-size:11px}.inventory .specs{gap:12px 16px}.inventory .specs dt{font-size:12px}.inventory .specs dd{font-size:16px}.inventory .price{font-size:29px}.inventory .card-button{font-size:16px;min-height:52px}.inventory .vehicle-card-actions>.btn.secondary{font-size:14px}.inventory .gallery-enlarge{min-height:34px;font-size:13px}.inventory .card-photo-count{font-size:13px}.inventory .card-photo-nav button{font-size:13px;min-height:44px}}
