/* Europacoche Motors 0.7.6.2: surgical desktop/mobile detail layout. */
.ecm-has-vehicle-detail .ecm-inventory-summary{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:0!important;margin:20px 0 12px!important;padding:0!important}
.ecm-has-vehicle-detail .ecm-inventory-copy{min-width:0;flex:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px}
.ecm-has-vehicle-detail .ecm-published-count{margin:0!important}
.ecm-has-vehicle-detail .ecm-inventory-copy .ecm-breadcrumbs{display:block;margin:0!important;max-width:100%;line-height:1.4}
.ecm-has-vehicle-detail .ecm-detail-brand-mark{align-self:center;flex:0 0 auto;width:108px;max-width:22%;height:auto;margin:0!important;object-fit:contain}
/* Align related-vehicle panel horizontally with the WooCommerce product recommendations. */
.ecm-has-vehicle-detail .ecm-public-block:has(> .ecm-related-showcase){padding-left:24px!important;padding-right:24px!important}
.ecm-has-vehicle-detail .ecm-related-showcase{width:100%;margin:0}
.ecm-has-vehicle-detail .ecm-related{padding:0 0 5px!important}
.ecm-has-vehicle-detail .ecm-related-product-card{height:100%;min-width:0}
.ecm-has-vehicle-detail .ecm-related-product-photo{aspect-ratio:1.52/1!important;display:block;width:100%;min-height:0;overflow:hidden}
.ecm-has-vehicle-detail .ecm-related-product-photo img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
/* Full-width primary vehicle presentation on handheld screens only. */
@media(max-width:700px){
 .ecm-has-vehicle-detail .ecm-type-nav{display:none!important}
 .ecm-has-vehicle-detail .ecm-page-container{width:calc(100% - 20px);max-width:100%}
 .ecm-has-vehicle-detail .ecm-inventory-summary{margin:12px 0 8px!important;gap:8px!important;align-items:center!important}
 .ecm-has-vehicle-detail .ecm-inventory-copy{gap:5px!important}
 .ecm-has-vehicle-detail .ecm-published-count{font-size:10px!important;line-height:1.35!important}
 .ecm-has-vehicle-detail .ecm-inventory-copy .ecm-breadcrumbs{font-size:10px!important;line-height:1.4!important;max-width:100%}
 .ecm-has-vehicle-detail .ecm-detail-brand-mark{width:78px!important;max-width:25%!important;flex-shrink:0;margin:0!important}
 .ecm-has-vehicle-detail .ecm-detail.ecm-detail-experience{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;gap:0!important;width:calc(100% + 20px)!important;max-width:none!important;margin:0 -10px!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important;overflow:hidden}
 .ecm-has-vehicle-detail .ecm-detail-experience .ecm-vehicle-gallery{width:100%!important;margin:0!important;padding:0!important}
 .ecm-has-vehicle-detail .ecm-detail-experience .ecm-gallery-main{width:100%!important;aspect-ratio:1.4/1!important;border:0!important;border-radius:0!important;margin:0!important}
 .ecm-has-vehicle-detail .ecm-detail-experience .ecm-gallery-thumbnails{width:100%!important;margin:0!important;padding:0!important;gap:2px!important}
 .ecm-has-vehicle-detail .ecm-detail-experience .ecm-gallery-thumb{flex:0 0 calc((100% - 6px)/4)!important;min-width:0!important;width:calc((100% - 6px)/4)!important;margin:0!important;border:0!important}
 .ecm-has-vehicle-detail .ecm-detail-experience .ecm-hero-specs{box-sizing:border-box!important;width:100%!important;padding:10px 10px 0!important;margin:0!important;background:#fff!important}
 .ecm-has-vehicle-detail .ecm-hero-actions{display:grid!important;visibility:visible!important;grid-template-columns:repeat(auto-fit,minmax(110px,1fr))!important;width:100%!important;margin:10px 0 0!important;gap:5px!important;padding:5px!important;background:#ffc000!important}
 .ecm-has-vehicle-detail .ecm-hero-actions .ecm-hero-action{display:flex!important;visibility:visible!important;min-height:42px!important;align-items:center!important;justify-content:center!important}
 .ecm-has-vehicle-detail .ecm-public-block:has(> .ecm-related-showcase){padding-left:14px!important;padding-right:14px!important}
 .ecm-has-vehicle-detail .ecm-related{grid-auto-columns:minmax(205px,80%)!important}
}
