/* Fix 1: Ocultar barra superior (banner siempre, nav solo en desktop) */
.header-banner {
    display: none !important;
}
@media (min-width: 768px) {
    #header .header-nav {
        display: none !important;
    }
}

/* Fix 2: Logo */
#header #_desktop_logo {
    max-width: 100px;
    flex-shrink: 0;
}
#header #_desktop_logo img,
#header #_desktop_logo h1 img,
#header .logo img {
    max-height: 80px;
    width: auto;
}

/* Fix 3: Header-top */
#header .header-top {
    padding: 22px 0;
}
#header .header-top > .container > .row:first-of-type {
    display: flex;
    align-items: center;
}
#header .header-top-right {
    display: flex;
    align-items: center;
}

/* Fix 4: Footer logo */
.footer_bottom-left .logo img,
#footer .logo img,
footer .logo img {
    max-height: 50px;
    width: auto;
}

/* Fix 5: Footer fixes */
.footer-container .links { border-right: none !important; }
.footer-container .col-lg-5 { border-left: 1px solid #212121; }
.footer-container #_desktop_myaccount_infos { margin-left: 0; }
.footer-container #_desktop_myaccount_infos .myaccount-title a span { display: inline; }
.footer-container #_desktop_myaccount_infos .myaccount-title a { color: var(--heading-color); font-size: 24px; line-height: 1em; font-weight: 600; text-transform: uppercase; }
.footer-container #_desktop_myaccount_infos .myaccount-title { margin-bottom: 30px; }
.footer-container #_desktop_myaccount_infos .myaccount-title a i { display: none; }
.footer-container #_desktop_myaccount_infos .account-list { position: static; opacity: 1; visibility: visible; background: none; border: none; padding: 0; min-width: auto; }
.footer-container #_desktop_myaccount_infos .account-list a { display: inline-block; font-size: 14px; font-weight: 400; line-height: 40px; color: #666; font-family: var(--font-family-2); }
.footer-container #_desktop_myaccount_infos .account-list a:hover { color: var(--heading-color); }

/* Fix 6: Login/user text white */
#header .user-info a,
#header .user-info span,
#_desktop_user_info a,
#_desktop_user_info span {
    color: #fff !important;
}


/* === HOME FEATURES === */
.home-features {
    padding: 40px 0;
    margin: 30px auto;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.home-features .section__header {
    text-align: center;
    margin-bottom: 25px;
}
.home-features .feature-item {
    text-align: center;
    padding: 20px 10px;
}
.home-features .feature-item i {
    font-size: 40px;
    color: #333;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f5f5f5;
}
.home-features .feature-item h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.home-features .feature-item p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* === HOME BRANDS/EQUIPOS === */
.home-brands {
    padding: 30px 0 50px;
    margin: 20px auto;
}
.home-brands .section__header {
    text-align: center;
    margin-bottom: 25px;
}
.home-brands .brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.home-brands .brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 10px;
    transition: all .2s;
    text-decoration: none;
    height: 90px;
}
.home-brands .brand-item img {
    height: 55px;
    width: 55px;
    object-fit: contain;
}
.home-brands .brand-item:hover {
    border-color: #333;
    background: #f8f8f8;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
    /* Header-nav: fondo blanco */
    #header .header-nav {
        background: #fff;
        padding: 10px 15px;
    }
    #header .header-nav #menu-icon i {
        color: #333;
        font-size: 28px;
    }
    #header .header-nav .user-info a,
    #header .header-nav .user-info i,
    #header .header-nav .blockcart i,
    #header .header-nav .cart-products-count {
        color: #333 !important;
    }

    /* Logo mobile */
    #header .header-nav #_mobile_logo img,
    #header .header-nav .top-logo img {
        max-height: 45px !important;
        width: auto !important;
        filter: none !important;
    }

    /* Header-top: compacto en mobile */
    #header .header-top {
        padding: 5px 0;
    }

    /* Slider mobile */
    #carousel .carousel-inner,
    #carousel .carousel-item {
        height: 60vh !important;
        max-height: 60vh !important;
    }
}
