/* Approved portrait covers: preserve every text line and image edge. */
.vehicle-card .vehicle-card-photo img[src*="/portada-"],
.gallery-stage img[src*="/portada-"]{width:100%;height:auto;min-height:0;aspect-ratio:4/5;object-fit:contain;object-position:center;filter:none;transform:none}
.vehicle-card:has(img[src*="/portada-"]):hover img[src*="/portada-"]{transform:none}
.vehicle-card-photo:has(img[src*="/portada-"])>.available-badge,
.vehicle-card-photo:has(img[src*="/portada-"])>.reserved-badge,
.vehicle-card-photo:has(img[src*="/portada-"])>.sold-badge,
.gallery-stage:has(img[src*="/portada-"])>.reserved-badge,
.gallery-stage:has(img[src*="/portada-"])>.sold-badge{display:none}
.gallery-thumbs img[src*="/portada-"]{object-fit:contain}

/* Preserve the full vehicle on photo-based cards, on desktop and mobile. */
.stock-grid .vehicle-card img{object-fit:contain}

/* Keep the offer and both prices in view inside the portrait photo frame. */
.vehicle-card .vehicle-card-photo img[src$="/portada-oferta-fin-de-ano-2026.webp"],
.gallery-stage img[src$="/portada-oferta-fin-de-ano-2026.webp"]{background:#ece0d0}
