/* Europacoche Motors 0.7.6.1: original premium detail shell and aligned carousels. */
.ecm-public-body.ecm-has-vehicle-detail{--ecm-public-max-width:1120px}
.ecm-has-vehicle-detail .ecm-page-container{box-sizing:border-box;width:calc(100% - 32px);max-width:1120px}
.ecm-has-vehicle-detail .ecm-type-nav,.ecm-has-vehicle-detail .ecm-search{box-sizing:border-box;width:100%;max-width:100%;margin-left:0;margin-right:0}
.ecm-has-vehicle-detail .ecm-inventory-summary{margin-top:18px;min-height:75px;align-items:center}
.ecm-has-vehicle-detail .ecm-detail-brand-mark{margin-top:12px;margin-bottom:8px;width:108px;max-width:20%}
.ecm-has-vehicle-detail .ecm-detail.ecm-detail-experience{display:grid!important;grid-template-columns:minmax(0,1.56fr) minmax(0,.84fr)!important;gap:14px!important;box-sizing:border-box;width:100%;margin:0!important;padding:10px!important;background:#fff!important;border:1px solid #eee!important;border-radius:3px!important;box-shadow:none!important}
.ecm-has-vehicle-detail .ecm-detail-experience .ecm-gallery-main{aspect-ratio:1.54/1!important;background:#f5f5f5!important}
.ecm-has-vehicle-detail .ecm-detail-experience .ecm-gallery-main>img{object-fit:cover!important;background:#f5f5f5!important}
.ecm-has-vehicle-detail .ecm-detail-experience .ecm-gallery-thumb img{object-fit:cover!important}
.ecm-has-vehicle-detail .ecm-hero-specs{padding:5px 4px 0 0!important}
.ecm-has-vehicle-detail .ecm-dealer-contact{margin-top:22px;background:#fff}
.ecm-has-vehicle-detail .ecm-dealer-form[hidden]{display:none!important}
.ecm-has-vehicle-detail .ecm-dealer-form input:not([type=checkbox]),.ecm-has-vehicle-detail .ecm-dealer-form textarea{box-sizing:border-box;width:100%;max-width:100%}
/* Same inside padding as the lower WooCommerce recommendations panel. */
.ecm-has-vehicle-detail .ecm-related-showcase{box-sizing:border-box;width:100%}
.ecm-has-vehicle-detail .ecm-related{box-sizing:border-box;grid-auto-columns:calc((100% - 42px)/4);gap:14px!important;padding:0 0 6px!important}
.ecm-has-vehicle-detail .ecm-related-product-photo{position:relative;display:block;flex:0 0 auto;width:100%;height:auto;aspect-ratio:1.5/1;background:#f2f2f2;overflow:hidden}
.ecm-has-vehicle-detail .ecm-related-product-photo img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center!important;background:#f2f2f2}
.ecm-has-vehicle-detail .ecm-related-product-card{height:100%}
@media(max-width:1024px) and (min-width:701px){.ecm-has-vehicle-detail .ecm-detail.ecm-detail-experience{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important}.ecm-has-vehicle-detail .ecm-related{grid-auto-columns:calc((100% - 28px)/3)}}
@media(max-width:700px){.ecm-has-vehicle-detail .ecm-page-container{width:calc(100% - 20px)}.ecm-has-vehicle-detail .ecm-type-nav{display:flex!important}.ecm-has-vehicle-detail .ecm-inventory-summary{min-height:65px;margin-top:10px}.ecm-has-vehicle-detail .ecm-detail-brand-mark{margin-top:10px;margin-bottom:5px}.ecm-has-vehicle-detail .ecm-detail.ecm-detail-experience{display:flex!important;flex-direction:column;gap:10px!important;margin:0!important;width:100%;padding:7px!important;border:1px solid #eee!important;background:#fff!important}.ecm-has-vehicle-detail .ecm-detail-experience .ecm-gallery-main{aspect-ratio:1.45/1!important}.ecm-has-vehicle-detail .ecm-detail-experience .ecm-hero-specs{padding:8px 5px 5px!important}.ecm-has-vehicle-detail .ecm-related{grid-auto-columns:minmax(220px,80%);gap:10px!important}}
