body[data-photo-format="vertical"] .vehicle-photo{aspect-ratio:3/4!important}body.vehicle-page[data-photo-format="vertical"] .gallery-main{aspect-ratio:auto!important;background:transparent!important;height:auto!important}body.vehicle-page[data-photo-format="vertical"] .gallery-main img{height:auto!important;max-height:75vh!important;width:100%!important;object-fit:contain!important;background:transparent!important}body.vehicle-page[data-photo-format="vertical"] .gallery{display:block!important}body.vehicle-page[data-photo-format="vertical"] .gallery-thumbs{flex-direction:row!important;justify-content:flex-start!important;gap:6px!important;height:auto!important;overflow-x:auto!important;padding:8px!important}body.vehicle-page[data-photo-format="vertical"] .gallery-thumbs button{flex:0 0 60px!important;height:80px!important;aspect-ratio:3/4!important}.gallery-open{display:block;position:relative;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.gallery-open-label{position:absolute;bottom:12px;right:12px;padding:7px 10px;border-radius:5px;background:#0009;color:white;font-size:12px}.photo-viewer{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#101010;color:white;overflow:hidden}.photo-viewer::backdrop{background:#000e}.photo-viewer-stage{position:absolute;inset:60px 55px 45px;overflow:auto;display:flex;align-items:center;justify-content:center}.photo-viewer img{max-width:100%;max-height:100%;object-fit:contain;cursor:zoom-in}.photo-viewer.zoomed img{max-width:none;max-height:none;flex-shrink:0;cursor:zoom-out}.photo-viewer.zoomed .photo-viewer-stage{display:block}.photo-viewer button{position:absolute;background:#ffffff26;border:1px solid #ffffff55;color:white;border-radius:8px;padding:10px;cursor:pointer;min-width:44px;min-height:44px}.photo-viewer-close{right:12px;top:10px}.photo-viewer-zoom{left:12px;top:10px}.photo-viewer-prev{left:6px;top:50%}.photo-viewer-next{right:6px;top:50%}.photo-viewer-count{position:absolute;bottom:12px;left:0;right:0;text-align:center}.photo-viewer[open]~*{pointer-events:none}@media(min-width:1000px){body.vehicle-page[data-photo-format="vertical"] .detail-layout{grid-template-columns:minmax(0,1fr) minmax(360px,1fr)!important}body.vehicle-page[data-photo-format="vertical"] .gallery-main{max-width:480px;margin:auto}}
body.photo-viewer-open{overflow:hidden}

body.vehicle-page[data-photo-format="vertical"] .gallery-main{width:fit-content!important;max-width:100%!important;margin-inline:auto!important}body.vehicle-page[data-photo-format="vertical"] .gallery-main img{width:auto!important;max-width:100%!important;height:auto!important}body.vehicle-page[data-photo-format="vertical"] .gallery-open{height:auto}body.vehicle-page[data-photo-format="vertical"] .gallery-thumbs button{min-height:80px!important}

/* No celular, mostrar a foto inteira na largura disponível, em ambos os formatos. */
@media(max-width:680px){body.vehicle-page[data-photo-format] .gallery{display:block!important;background:transparent!important}body.vehicle-page[data-photo-format] .gallery-main{width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;background:transparent!important;border:0!important}body.vehicle-page[data-photo-format] .gallery-open{width:100%!important;height:auto!important}body.vehicle-page[data-photo-format] .gallery-main img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;background:transparent!important}.photo-viewer-stage{inset:60px 0 45px}.photo-viewer-prev,.photo-viewer-next{z-index:1}}

/* Preços e ações ficam na base dos cards, independentemente do título. */
body .vehicle-grid,body .similar-grid{align-items:stretch}body .vehicle-card{display:flex;flex-direction:column;min-width:0}body .vehicle-card .vehicle-photo{flex-shrink:0}body .vehicle-card .vehicle-body{display:flex;flex-direction:column;flex:1;min-width:0}body .vehicle-card .vehicle-price{margin-top:auto!important;padding-top:9px}body .vehicle-card .vehicle-actions{flex-shrink:0}

body .vehicle-card{border-radius:12px!important;position:relative}body .vehicle-photo{border-radius:12px 12px 0 0!important}body .gallery-main{position:relative;border-radius:12px!important}.vehicle-specs>span{display:inline-flex;align-items:center;gap:5px}.vehicle-specs svg{width:14px;height:14px;flex-shrink:0}.favorite-toggle{position:absolute;right:10px;top:10px;z-index:2;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;border-radius:0;background:transparent;color:var(--accent);cursor:pointer}.favorite-toggle svg{width:28px;height:28px;stroke:currentColor;stroke-width:2;fill:rgba(0,0,0,.45);filter:drop-shadow(0 1px 2px rgba(0,0,0,.5));transition:transform .15s,fill .15s}.favorite-toggle[aria-pressed="true"]{color:var(--accent)}.favorite-toggle[aria-pressed="true"] svg{fill:currentColor}.favorites-menu{display:inline-flex;align-items:center;gap:6px}.favorites-menu svg{width:18px;height:18px}.favorites-panel{position:fixed;inset:0 0 0 auto;margin:0;width:min(480px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;border:0;padding:0;background:white;color:#172033}.favorites-panel::backdrop{background:#0009}.favorites-panel>header{display:flex;align-items:center;gap:12px;padding:18px;background:#f1f5f9;position:sticky;top:0;z-index:1}.favorites-panel h2{margin:0 auto 0 0;font-size:21px}.favorites-panel button{cursor:pointer;border:0;background:transparent;padding:8px}.favorites-panel [data-favorites-clear]{color:#e11d48}.favorite-entry{display:grid;grid-template-columns:95px 1fr 35px;gap:12px;padding:18px;border-bottom:1px solid #e2e8f0;align-items:center}.favorite-entry img{width:95px;height:85px;object-fit:cover;border-radius:8px}.favorite-entry a{color:inherit;text-decoration:none}.favorite-entry strong,.favorite-entry small{display:block;margin-bottom:6px}.favorite-entry small{color:#64748b}.favorite-entry .saved-price{color:var(--accent);font-weight:800}.favorites-note,.favorites-empty{padding:20px;color:#64748b;font-size:13px}body.favorites-open{overflow:hidden}

.favorite-toggle:hover svg{transform:scale(1.1)}.favorite-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}@media(prefers-reduced-motion:reduce){.favorite-toggle svg{transition:none}}

.card-photo-progress{display:none}@media(max-width:680px){[data-card-carousel]{touch-action:pan-y pinch-zoom}[data-card-carousel] .card-photo-progress{display:block;position:absolute;right:9px;bottom:9px;padding:4px 8px;border-radius:5px;background:#0f172ac7;color:#fff;font-size:11px;font-weight:700;pointer-events:none}[data-card-carousel] img{user-select:none;-webkit-user-drag:none}}

.stock-detailed-filters{display:contents}.mobile-search-row{position:relative}.mobile-search-action{display:none}.search-field .mobile-search-row>.desktop-search-icon{position:absolute;left:11px;bottom:11px}@media(max-width:680px){body .filters{display:grid!important;grid-template-columns:minmax(0,1fr)!important}body .filters .search-field{grid-column:1/-1!important}body .mobile-search-row{display:grid;grid-template-columns:minmax(0,1fr) 41px 41px;gap:8px}body .search-field .mobile-search-row>input{padding-left:10px!important;min-width:0}body .search-field .mobile-search-row>.desktop-search-icon{display:none}body .mobile-search-action{display:flex;align-items:center;justify-content:center;height:41px;padding:0;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--brand);cursor:pointer}body .search-field .mobile-search-action svg{position:static;width:19px;height:19px;color:inherit}body .mobile-search-action[aria-expanded="true"]{background:var(--brand);color:#fff}body .stock-detailed-filters{display:none!important}body .filters.details-open .stock-detailed-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;grid-column:1/-1}body .stock-detailed-filters .clear-filter{width:100%}}

/* Computador: miniaturas em coluna à esquerda, nos dois formatos. */
@media(min-width:1000px){body.vehicle-page[data-photo-format] .gallery.has-thumbs{display:grid!important;grid-template-columns:78px minmax(0,1fr)!important;gap:12px!important}body.vehicle-page[data-photo-format] .gallery-thumbs{flex-direction:column!important;justify-content:flex-start!important;gap:8px!important;overflow-x:hidden!important;overflow-y:auto!important;min-height:0!important}body.vehicle-page[data-photo-format] .gallery-thumbs button{width:100%!important;flex:0 0 48px!important;height:48px!important;min-height:48px!important;aspect-ratio:auto!important}}

/* Define explicitamente as colunas e remove o posicionamento legado absoluto. */
@media(min-width:1000px){body.vehicle-page[data-photo-format] .gallery.has-thumbs{padding-left:0!important;position:relative!important;align-items:start!important}body.vehicle-page[data-photo-format] .gallery.has-thumbs .gallery-main{grid-column:2;grid-row:1;width:100%!important;min-width:0!important;margin:0 auto!important}body.vehicle-page[data-photo-format] .gallery.has-thumbs .gallery-thumbs{position:static!important;inset:auto!important;grid-column:1;grid-row:1;width:78px!important;height:100%!important;box-sizing:border-box!important;align-self:stretch!important}body.vehicle-page[data-photo-format="vertical"] .gallery-main{width:100%!important;aspect-ratio:3/4!important;max-width:480px!important}body.vehicle-page[data-photo-format="vertical"] .gallery-main .gallery-open{height:100%!important;width:100%!important}body.vehicle-page[data-photo-format="vertical"] .gallery-main img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important}body.vehicle-page #acoes-veiculo{height:auto!important;overflow:visible!important}}

body.vehicle-page .feature-item svg{color:var(--accent)!important}

/* Textos e contatos do rodapé seguem a Cor de destaque da loja. */
body .about-band,body .about-band h2,body .about-band p,body .about-band .contact-list div,body .about-band .contact-list a,body .about-band .contact-list svg,body .store-footer,body .store-footer a,body .store-footer span,body .store-footer .footer-brand{color:var(--accent)!important}
