/* Crazywheelz branding and scoped homepage corrections. */
.impl_navbar .cwz-logo, .impl_res_logo .cwz-logo {
    display:block; width:210px; max-width:100%; height:70px; object-fit:contain;
}
.impl_navbar > a:has(.cwz-logo) {flex:0 0 auto; max-width:220px;}
.impl_footer_logo .cwz-logo {
    display:block; width:230px; max-width:100%; height:auto; background:#fff;
    padding:8px 12px; border-radius:10px;
}
.cwz-location-note {
    display:flex; align-items:flex-start; gap:8px; margin:0 0 20px; padding:12px 16px;
    color:#355779; background:#f0f6ff; border:1px solid #dce9fa;
    border-radius:10px; font-size:14px; line-height:1.6; overflow-wrap:anywhere;
}
.ev-home .home-search {margin-top:0; padding-top:28px; padding-bottom:28px;}
.ev-home .home-search .dealer-search-box {
    display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
    align-items:end; gap:24px; width:100%; margin:0;
}
.ev-home .home-search .dealer-search-field, .ev-home .home-search .dealer-search-button-wrap {min-width:0; width:100%;}
.ev-home .home-search .dealer-search-control {width:100%; min-width:0; min-height:44px;}
.ev-home .home-search .home-location-control {display:flex; align-items:center; gap:8px; text-align:left;}
.ev-home .home-search [data-location-label] {min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;}
.ev-home .home-search .dealer-search-btn {width:100%; min-height:44px;}
.ev-home .vehicle-type-tabs-wrapper {max-width:100%; min-width:0; overflow-x:auto;}
.ev-home .vehicle-type-tabs {flex-wrap:nowrap; width:max-content; max-width:none;}
.ev-home .brand-section-header {gap:12px; flex-wrap:wrap;}
.ev-home .home-deals-layout > * {min-width:0;}
@media (min-width:992px) {
    .ev-home .cwz-banners-only {align-items:start;}
    .ev-home .cwz-banners-only .sponsored-side-banner,
    .ev-home .cwz-banners-only .sponsored-center-content {height:260px; min-height:0;}
    .ev-home .cwz-banners-only .home-ad-slider,
    .ev-home .cwz-banners-only .swiper-wrapper,
    .ev-home .cwz-banners-only .swiper-slide,
    .ev-home .cwz-banners-only .home-ad,
    .ev-home .cwz-banners-only .home-ad-image-link,
    .ev-home .cwz-banners-only picture {height:100%; min-height:0; max-height:260px;}
    .ev-home .cwz-banners-only .home-ad img {width:100%; height:100%; object-fit:cover;}
}
@media (max-width:991px) {
    .ev-home .home-search .dealer-search-box {grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px;}
    .impl_navbar .cwz-logo {width:176px; height:58px;}
}
@media (max-width:575px) {
    .ev-home .home-search .dealer-search-box {grid-template-columns:minmax(0,1fr); gap:14px; padding:20px 16px;}
    .impl_navbar .cwz-logo {width:150px; height:50px;}
    .cwz-location-note {font-size:13px; padding:10px 12px;}
}
