/* Comercial Lopez - ajustes sobre la plantilla eflux */

.header .logo img,
.footer .footer-logo img {
    max-height: 48px;
}

/* menu principal centrado (sin categorias ni carrito) */
.header-bottom .menu {
    padding-left: 0;
}
@media only screen and (min-width: 1200px) {
    .header-bottom .menu li a {
        padding: 22px 25px;
    }
    .header-bottom .menu li:first-child a {
        padding-left: 25px;
    }
}
.header-bottom .menu li.active > a,
.mobile-menu .menu li.active > a {
    color: #59b828;
}

/* catalogo: tarjeta sin carrito */
.product-item .product-content .consult-btn {
    font-size: 13px;
    font-weight: 500;
    color: #59b828;
    border: 1px solid #59b828;
    border-radius: 3px;
    padding: 5px 12px;
    transition: all 0.3s ease;
}
.product-item .product-content .consult-btn:hover {
    background-color: #59b828;
    color: #fff;
}

/* pie de pagina: solo redes sociales */
.footer-social {
    padding: 35px 0;
    border-top: 1px solid #e5e5e5;
}
.footer-social .social-media-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-social .social-media-list li a {
    display: block;
    margin: 0 6px;
}

/* menu movil desplegable */
.mobile-header .mobile-menu .menu {
    padding: 10px 0 0;
    margin: 0;
}
.mobile-header .mobile-menu .menu li a {
    padding: 12px 5px;
}

/* cabecera fija al desplazar (logo, menu y telefono en una sola fila) */
.header {
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
}
.header .fixed-totop {
    position: static;
    animation: none;
}
.header-bottom {
    padding: 0 30px;
}
.header .mobile-header.fixed-totop {
    padding: 0;
}

/* popup de detalle de producto (por encima de la cabecera fija) */
.product-details-popup.open-side {
    z-index: 1000;
}
.product-item .product-thumb .open-product,
.product-item .product-title.open-product {
    cursor: pointer;
}
.product-item .product-thumb img {
    aspect-ratio: 270 / 230;
    object-fit: contain;
}
.product-details-popup .product-slick img {
    width: 100%;
    height: 340px;
    object-fit: contain;
}
@media only screen and (max-width: 575px) {
    .product-details-popup .product-slick img {
        height: 220px;
    }
}
@media only screen and (max-width: 991px) {
    .product-details-popup .product-zoom-info-container {
        max-height: 90vh;
        overflow-y: auto;
    }
    .product-details-popup .product-zoom-info-container .closed-modal {
        position: sticky;
        top: 10px;
        margin: 10px 10px -40px auto;
    }
    /* la plantilla oculta la info en movil; en el catalogo se muestra */
    .product-details-popup .product-details-content {
        display: block;
        padding: 0 20px 30px;
    }
    .product-details-popup .product-zoom-area {
        border-right: none;
    }
}

/* WhatsApp en la cabecera */
.header .site-whatsapp a i {
    color: #25d366;
    font-size: 20px;
    vertical-align: middle;
    margin-right: 4px;
}
.header .site-whatsapp a:hover {
    color: #25d366;
}
.mobile-header .mobile-whatsapp {
    color: #25d366;
    font-size: 26px;
    line-height: 1;
    margin-right: 15px;
}
.product-zoom-area .slider-nav .slick-list {
    padding-bottom: 2px;
}
