/* Small phone/tablet fixes, layered after the existing showroom and offer styles. */
@media(max-width:850px){
 .showroom .filters :is(input,select){font-size:16px}
}
/* Match the single-column offer breakpoint without changing the portrait-phone gallery. */
@media(min-width:541px) and (max-width:850px){
 .showroom.offer-page .gallery-wrap{width:100%;min-width:0}
 .showroom.offer-page .gallery{display:flex!important;flex-wrap:nowrap;gap:10px;width:100%;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-left:0;scrollbar-width:thin;padding-bottom:8px}
 .showroom.offer-page .gallery>a,
 .showroom.offer-page .gallery>a:first-child{flex:0 0 94%;width:94%;min-width:0;grid-column:auto;scroll-snap-align:start}
 .showroom.offer-page .gallery>.vehicle-frame{height:clamp(220px,55vh,300px);max-height:300px;aspect-ratio:auto}
 .showroom.offer-page .gallery>.vehicle-frame img{width:100%;height:100%;aspect-ratio:auto;object-fit:contain;object-position:center}
 .showroom.offer-page .gallery:after{content:none}
}
@media print{
 .showroom.offer-page .gallery{display:grid!important;overflow:visible}
 .showroom.offer-page .gallery>a{width:auto;flex:none}
 .showroom.offer-page .gallery>.vehicle-frame{height:auto;max-height:none;aspect-ratio:16/10}
}
