/* Vitrine ampla: fotos preenchendo toda a área, sem margens internas. */
.catalog{max-width:1840px;padding-left:3%;padding-right:3%}
#grid>.card{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
#grid .image-button,#grid .card-body{min-width:0}
#grid .carousel-viewport{min-height:520px}
#grid .photo-zoom>img{object-fit:cover;object-position:center;padding:0;background:#ffffff}
#grid .photo-zoom:hover>img{transform:none}
@media(max-width:900px){
 #grid>.card{grid-template-columns:minmax(0,1fr)}
 #grid .carousel-viewport{min-height:0;aspect-ratio:4/3;flex:none}
 #grid .photo-stage{min-height:0}
 #grid .card-body{border-left:0}
 #grid .photo-zoom>img{padding:0}
}
@media(max-width:540px){
 .catalog{padding-left:12px;padding-right:12px}
 #grid .carousel-viewport{aspect-ratio:1/1}
 #grid .specs{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Proporção estável: o enquadramento do editor corresponde à vitrine. */
#grid .carousel-viewport{flex:none;min-height:0;aspect-ratio:1/1}
#grid .photo-stage{flex:none;min-height:0}
#grid .image-button{align-self:start;background:transparent}
.framing-editor{border:1px solid #ddd;padding:20px;border-radius:16px;background:#f5f6f3}.framing-editor canvas{display:block;width:min(100%,420px);height:auto;aspect-ratio:1;margin:20px auto;border:2px solid #333;background:#eee}.frame-controls{display:grid;grid-template-columns:1fr 1fr;gap:16px}.framing-editor p{line-height:1.6;font-size:14px}.frame-controls input[type=range]{padding:0}.frame-controls input[type=color]{height:44px}

/* No computador, o conteúdo define a altura do cartão. */
@media(min-width:901px){
 #grid .image-button{align-self:stretch;min-height:0;position:relative}
 #grid .photo-stage{position:absolute;inset:0;min-height:0;display:flex;flex-direction:column}
 #grid .carousel-viewport{flex:1 1 0;aspect-ratio:auto;min-height:0}
 #grid .card-body{padding-bottom:28px}
}

/* Leitura mais confortável nas informações dos modelos. */
#grid .model-heading h3{font-size:34px}
#grid .model-purpose,#grid .card-summary{font-size:15px;line-height:1.7}
#grid .specs span{font-size:12px}
#grid .specs strong{font-size:15px;line-height:1.5;overflow-wrap:anywhere}
#grid .feature-tags span{font-size:13px}
#grid .exposed-payments .plan{font-size:15px}
#grid .card-actions .button{font-size:14px}
@media(max-width:540px){#grid .model-heading h3{font-size:30px}}

/* Continua o fundo original das fotos sem recortar o veículo. */
#grid .photo-zoom>img[src*="model-photo-20261107-"],
#grid .photo-zoom>img[data-src*="model-photo-20261107-"]{background:#f9c623}

#grid .photo-zoom>img[src*="model-photo-20261116-forza-"],#grid .photo-zoom>img[data-src*="model-photo-20261116-forza-"]{background:#f9c623}

#grid .photo-zoom>img[src*="model-photo-20261116-r8s-"],#grid .photo-zoom>img[data-src*="model-photo-20261116-r8s-"]{background:#f9c623}
