       
/* Reset para el menú */
.main-header * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Superior */
.header-top {
    background: #001E49;
    padding: 10px 0;
    font-family: Arial, sans-serif;
}

.header-top-container {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 15px;
    align-items: center;
}

.header-top-item {
    color: white;
    font-size: 12px;
    text-align: center;
    padding: 5px;
}

.header-logo img {
    max-height: 40px;
    width: auto;
}

/* Header Principal con Menú */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    top: 0;
    z-index: 1000;
    font-family: Arial, sans-serif;
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    background-color: #BB0000;
}

/* Logo en el menú principal (oculto en desktop) */
.main-header .logo {
    display: none;
}

/* Desktop Navigation */
.desktop-nav {
    display: block;
}

.desktop-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
     transition: transform 0.6s ease;
}

.desktop-menu li {
    position: relative;
}

.desktop-menu > li > a {
    text-decoration: none;
    color: #ffffffff;
    font-weight: 700;
    padding: 10px 0;
    transition: color 0.3s ease;
    display: block;
    font-size: 16px;
}

.desktop-menu a:hover {
    color: #ffffffff;
    transform: scale(1.1);
}

/* Dropdown Desktop */
.desktop-menu ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #001E49 ;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    border-radius: 1px;
}

.desktop-menu ul.sub-menu ul.sub-menu {
    top: 0;
    left: 100%;
}

.desktop-menu li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 999;
}

.desktop-menu ul.sub-menu li {
    width: 100%;
}

.desktop-menu ul.sub-menu a {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
    color: #f8f9fa;
    text-decoration: none;
}

.desktop-menu ul.sub-menu a:hover {
    background: #f8f9fa;
    background-color: #BB0000 ;
    transform: scale(1);
}

/* Indicador de dropdown */
.desktop-menu .menu-item-has-children > a::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
    justify-content: space-between;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Navigation */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
}

.mobile-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.mobile-close-btn span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #333;
}

.mobile-close-btn span:first-child {
    transform: rotate(45deg);
}

.mobile-close-btn span:last-child {
    transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 20px;
}

.mobile-menu li {
    border-bottom: 1px solid #eee;
    position: relative;
}

.mobile-menu li:last-child {
    border-bottom: none;
}

.mobile-menu a {
    display: block;
    padding: 15px 0;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    width: calc(100% - 50px);
}

/* Dropdown Toggle Mobile */
.dropdown-toggle {
    position: absolute;
    right: 0;
    top: 10px;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #eee;
}

.dropdown-arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.dropdown-toggle.active .dropdown-arrow {
    transform: rotate(-135deg);
}

/* Sub-menús móviles */
.mobile-menu .sub-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 15px;
    background: #f8f9fa;
}

.mobile-menu .sub-menu.active {
    display: block;
}

.mobile-menu .sub-menu li {
    border-bottom: 1px solid #e9ecef;
}

.mobile-menu .sub-menu a {
    padding: 12px 0;
    color: #666;
    font-size: 14px;
}

.mobile-menu .sub-menu .sub-menu {
    background: #f1f3f4;
}

/* Header Mobile */
.mobile-header-top {
    display: none;
    background: #001E49;
    padding: 10px 15px;
}

.mobile-header-top-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 15px;
    align-items: center;
    max-width: 950px;
    margin: 0 auto;
}

.mobile-logo img {
    max-height: 35px;
    width: auto;
}

.mobile-search, .mobile-cart {
    color: white;
    font-size: 12px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .mobile-header-top {
        display: block;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav-overlay {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .main-header .logo {
        display: none;
    }
    
    .main-header .logo img {
        max-height: 130px;
    }
    /*************ajustes movil************ */
    .header-background-blue{
    display: none;
}
}

@media (max-width: 480px) {
    .header-top-container {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .mobile-header-top-container {
        grid-template-columns: auto 1fr auto;
        gap: 10px;
    }
}


/*************header blue****************/

.header-background-blue{
    background-color: #001E49 !important;
    color: white;
    padding: 0px 0;
}

.container-header-blue{
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items:center;
}
.whatsapp-head{
    max-width: 50px;
}
.whatsapp-head img{
    border-radius: 50%;
}
.envio-head{
    max-width: 150px;
}
.dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp {
    padding: 0;
    margin:10px
}

.icono-cuenta{
    flex-direction: column;
    display: flex;
    align-items: center;
}


/* ========== CARRITO ========== */
/******************************************
 * CARRITO - ESTILOS CORREGIDOS
 ******************************************/

/* Contenedor del carrito */
.carrito-head {
    position: relative !important;
    margin-left: 10px !important;
}

/* Solo el botón/icono del carrito (NO el lightbox) */
.carrito-head .cart-trigger {
    color: #ffffff !important;
    font-size: 20px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.1) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.carrito-head .cart-trigger:hover {
    background: #BB0000 !important;
    color: #ffffff !important;
    transform: scale(1.1) !important;
}

/* Contador del carrito - específico para el trigger */
.carrito-head .cart-trigger .cart-count {
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    background: #BB0000 !important;
    color: white !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    border: 2px solid #001E49 !important;
}

/* Ocultar contador cuando está vacío */
.carrito-head .cart-trigger .cart-count:empty {
    display: none !important;
}
/* ========== MI CUENTA ========== */
.account-head {
    margin-left: 10px !important;
}

.icono-cuenta {
    color: #ffffff !important;
    text-align: center !important;
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,0.1) !important;
    transition: all 0.3s ease !important;
    min-width: 60px !important;
}

.icono-cuenta:hover {
    background: #BB0000 !important;     /* Fondo hover cuenta */
    transform: translateY(-2px) !important;
}

.icono-cuenta i {
    font-size: 18px !important;         /* Tamaño icono usuario */
    margin-bottom: 4px !important;
    color: #ffffff !important;
}

.icono-cuenta span {
    font-size: 11px !important;         /* Tamaño texto "Mi Cuenta" */
    font-weight: 600 !important;
    color: #ffffff !important;
    line-height: 1 !important;
}



/* ELIMINAR ESPACIO BLANCO HEADER-CONTENIDO */
main { margin: 0 !important; padding: 0 !important; min-height: 0; background-color: #fff; }
body, html { margin: 0; padding: 0; }
.main-header { margin-bottom: 0 !important; }
.header-container { margin-bottom: 0 !important; }

/* Reset para builders de página */
.elementor-section:first-of-type, 
.elementor-top-section, 
.site-main, 
.content-area { 
    margin-top: 0 !important; 
    padding-top: 0 !important; 
}


/******************************************
 * LIGHTBOX DEL CARRITO - VERSIÓN CORREGIDA
 ******************************************/

/* Contador del carrito */
.cart-count {
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    background: #BB0000 !important;
    color: white !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    border: 2px solid #001E49 !important;
}

/* Ocultar contador cuando está vacío */
.cart-count:empty {
    display: none !important;
}

/* Lightbox del carrito */
.cart-lightbox {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.7) !important;
    z-index: 9999 !important;
}

.cart-lightbox.active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.cart-lightbox-content {
    background: white !important;
    width: 90% !important;
    max-width: 500px !important;
    max-height: 80vh !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}

/* Header del lightbox */
.cart-lightbox-header {
    background: #001E49 !important;
    color: white !important;
    padding: 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.cart-lightbox-header h3 {
    margin: 0 !important;
    font-size: 18px !important;
    color: white !important;
}

.close-lightbox {
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 24px !important;
    cursor: pointer !important;
    padding: 0 !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Body del lightbox */
.cart-lightbox-body {
    padding: 20px !important;
    max-height: 300px !important;
    overflow-y: auto !important;
}

/* Loading */
.cart-loading {
    text-align: center !important;
    padding: 40px 20px !important;
    color: #666 !important;
}

.cart-loading i {
    font-size: 24px !important;
    margin-bottom: 10px !important;
}

/* Items del carrito */
.cart-items {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.cart-item {
    display: flex !important;
    align-items: center !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid #eee !important;
}

.cart-item:last-child {
    border-bottom: none !important;
}

.cart-item-image {
    width: 60px !important;
    height: 60px !important;
    margin-right: 15px !important;
}

.cart-item-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
}

.cart-item-details {
    flex: 1 !important;
}

.cart-item-name {
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 5px !important;
    font-size: 14px !important;
}

.cart-item-price {
    color: #001E49 !important;
    font-weight: bold !important;
    font-size: 14px !important;
}

.cart-item-quantity {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 5px !important;
}

.quantity-input {
    width: 50px !important;
    text-align: center !important;
    padding: 5px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
}

.remove-item {
    background: #dc2626 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 5px 10px !important;
    cursor: pointer !important;
    font-size: 12px !important;
}

.remove-item:hover {
    background: #b91c1c !important;
}

/* Carrito vacío */
.cart-empty {
    text-align: center !important;
    padding: 40px 20px !important;
    color: #666 !important;
}

.cart-empty i {
    font-size: 48px !important;
    color: #ddd !important;
    margin-bottom: 15px !important;
}

/* Footer del lightbox */
.cart-lightbox-footer {
    padding: 20px !important;
    background: #f8f9fa !important;
    border-top: 1px solid #eee !important;
}

.cart-totals {
    text-align: center !important;
    margin-bottom: 15px !important;
    font-size: 18px !important;
    color: #001E49 !important;
}

.view-cart-btn, .checkout-btn {
    display: block !important;
    width: 100% !important;
    padding: 12px !important;
    text-align: center !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    transition: all 0.3s ease !important;
}

.view-cart-btn {
    background: #001E49 !important;
    color: white !important;
    border: 2px solid #001E49 !important;
}

.view-cart-btn:hover {
    background: #002b66 !important;
}

.checkout-btn {
    background: #BB0000 !important;
    color: white !important;
    border: 2px solid #BB0000 !important;
}

.checkout-btn:hover {
    background: #a00000 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-lightbox-content {
        width: 95% !important;
        margin: 20px !important;
    }
    
    .cart-lightbox-body {
        max-height: 250px !important;
    }
    .header-container{
        background-color: #001E49;
    }
    /************header mobile****************/
    .logo-head-mobile{
    display: block !important;
}
}
.logo-head-mobile{
    display: none;
}

/******************************************
 * LAYOUT MOBILE OPTIMIZADO
 ******************************************/

/* Contenedor principal del header */
.header-container {
    position: relative;
}

.container-header-red {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ========== ELEMENTOS DESKTOP ========== */
.desktop-nav {
    display: block;
}

.logo {
    display: block;
}

.mobile-header-content {
    display: none;
}

/* ========== ELEMENTOS MOBILE ========== */
@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }
    
    .logo {
        display: none !important;
    }
    
    .mobile-header-content {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 0 15px !important;
        gap: 15px !important;
    }
    
    /* Logo Mobile */
    .logo-head-mobile {
        flex-shrink: 0;
    }
    
    .logo-head-mobile img {
        width: 100px !important;
        height:100px !important;
        object-fit: contain;
    }
    
    /* Buscador Mobile - Solo icono */
    .buscador-container-mobile {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }
    
    .search-toggle-mobile {
        background: none;
        border: none;
        color: white;
        font-size: 18px;
        padding: 8px;
        cursor: pointer;
        border-radius: 50%;
        transition: all 0.3s ease;
    }
    
    .search-toggle-mobile:hover {
        background: rgba(255,255,255,0.1);
    }
    
    .search-box-mobile {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        z-index: 1000;
    }
    
    .search-box-mobile.active {
        display: block !important;
    }
    
   /* Carrito Mobile */
.carrito-head-mobile {
    flex-shrink: 0;
}

.carrito-head-mobile .cart-trigger,
.carrito-head-mobile .cart-direct-link {
    color: white;
    font-size: 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.carrito-head-mobile .cart-trigger:hover,
.carrito-head-mobile .cart-direct-link:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.carrito-head-mobile .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #BB0000;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid #001E49;
}

/* Ocultar lightbox en móvil */
@media (max-width: 768px) {
    .cart-lightbox {
        display: none !important;
    }
    
    /* Asegurar que el carrito sea clickeable en móvil */
    .carrito-head-mobile a {
        cursor: pointer;
    }
}
    
    /* Botón Hamburguesa */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        width: 30px;
        height: 30px;
        justify-content: space-between;
        flex-shrink: 0;
    }
    
    .mobile-menu-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background: white;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    .main-header{
            padding: 40px 0 !important;
            background-color: #001E49;
    }
}

/* ========== VERSIÓN MÓVIL MÁS PEQUEÑA ========== */
@media (max-width: 480px) {
    .mobile-header-content {
        gap: 35px !important;
        padding: 0 10px !important;
    }
    
    .logo-head-mobile img {
        width: 35px !important;
        height: 35px !important;
    }
    
    .carrito-head-mobile .cart-trigger,
    .search-toggle-mobile {
        width: 35px !important;
        height: 35px !important;
        font-size: 16px !important;
    }
    
    .mobile-menu-toggle {
        width: 25px !important;
        height: 25px !important;
    }
}





/* Reset del main y contenido */
main, 
body, 
html {
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
}

/* Reset del header */
.main-header,
.header-background-blue,
.header-container {
    margin: 0 !important;
   /* padding: 0 !important;*/
    position: relative !important; 
}




/*********************************************************************/

       .footer-kaluzi{
            background: #000;
        }
        /* Footer fijo para móvil */
        .mobile-footer-fixed {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: #001E49;
            z-index: 1000;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        }
        
        .mobile-footer-icons {
            display: flex;
            justify-content: space-around;
            align-items: center;
            padding: 8px 5px;
            height: 60px;
        }
        
        .mobile-footer-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: #fff;
            font-size: 11px;
            flex: 1;
        }
        
        .mobile-footer-item i {
            font-size: 18px;
            margin-bottom: 4px;
        }
        
        .mobile-footer-item span {
            font-size: 10px;
            text-align: center;
        }
        
        .info-toggle {
            cursor: pointer;
        }
        
        /* Menú desplegable +Info */
        .mobile-info-menu {
            display: none;
            position: absolute;
            bottom: 100%;
            left: 0;
            width: 100%;
            background: #001E49;
            padding: 15px;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
            max-height: 300px;
            overflow-y: auto;
        }
        
        .mobile-info-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
        }
        
        .mobile-info-content a {
            color: #fff;
            text-decoration: none;
            padding: 8px 0;
            text-align: center;
            font-size: 14px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        
        .mobile-info-content a:last-child {
            border-bottom: none;
        }
        
        .mobile-info-menu.active {
            display: block;
        }
        
        /* Responsive para móvil */
        @media (max-width: 768px) {
            .mobile-footer-fixed {
                display: block;
            }
            
            /* Añadir padding al footer principal para que no quede tapado por el footer fijo */
            .footer-kaluzi {
                padding-bottom: 80px;
            }
            
            .payment-section {
                padding: 15px 5px;
                display:none;
            }
            
            .payment-section h3 {
                font-size: 16px;
                margin-bottom: 10px;
            }
            
            .security-section {
                flex-direction: column;
                gap: 8px;
                font-size: 12px;
                text-align: center;
            }
            
            .security-section span:last-child {
                max-width: 90%;
                margin: 0 auto;
            }
            
            .footer-columns {
                grid-template-columns: 1fr;
                gap: 15px;
                padding: 15px 5px;
                display:none !important;
            }
            .footer-kaluzi{
                background: #ffffffff;
            }
            
            .column-logo {
                order: -1;
            }
            
            .column-logo img {
                width: 150px;
                height: 150px;
            }
            
            .column-links {
                text-align: center;
            }
            
            .column-links ul {
                text-align: center;
            }
            
            .column-links li a {
                padding: 8px 0;
                font-size: 14px;
            }
            
            .copyright {
                padding: 15px 5px;
                margin-top: 15px;
            }
            
            .copyright p {
                font-size: 12px;
            }
            .icon-img{
                max-width: 26px;
                margin-top: -6px;
            }
        }
        
        /* Responsive para tablets */
        @media (max-width: 1024px) and (min-width: 769px) {
            .footer-columns {
                grid-template-columns: 1fr 1fr;
                gap: 15px;
                display:none;
            }
            
            .column-logo {
                grid-column: 1 / -1;
                order: -1;
            }
            
            .mobile-footer-fixed {
                display: none;
            }
        }
        
        /* Desktop - ocultar footer móvil */
        @media (min-width: 769px) {
            .mobile-footer-fixed {
                display: none;
            }
        }