/* ===========================
   HEADER ELECTRONICA FC
=========================== */

.header{

    position:fixed;
    top:0;
    left:0;

    width:100%;

    z-index:1000;

    background:rgba(7,17,31,.93);

    backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.08);

}


/*=========================================
=         CONTENEDOR HEADER
=========================================*/

.header-container{

    width:100%;

    max-width:1400px;

    height:85px;

    margin:0 auto;

    padding:0 40px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}


/*=========================================
=               LOGO
=========================================*/

.logo{

    flex:0 0 auto;

}

.logo img{

    height:55px;

    width:auto;

    max-width:220px;

    display:block;

}


/*=========================================
=               MENÚ
=========================================*/

.menu{

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:30px;

    margin:0 40px;

}

.menu a{

    color:#fff;

    text-decoration:none;

    font-size:16px;

    font-weight:600;

    white-space:nowrap;

    transition:.3s;

}

.menu a:hover{

    color:#29a8ff;

}


/*=========================================
=          HEADER ACTIONS
=========================================*/

.header-actions{

    display:flex;

    align-items:center;

    gap:18px;

}


/*=========================================
=              CARRITO
=========================================*/

.cart-btn{

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:12px 18px;

    border-radius:12px;

    background:rgba(255,255,255,.08);

    color:#fff;

    text-decoration:none;

    transition:.3s;

}

.cart-btn:hover{

    background:#008cff;

    color:#fff;

    transform:translateY(-3px);

}

.cart-btn i{

    font-size:20px;

}

.cart-text{

    font-size:15px;

    font-weight:600;

    white-space:nowrap;

}

.cart-count{

    position:absolute;

    top:-8px;

    right:-8px;

    width:22px;

    height:22px;

    border-radius:50%;

    background:#ff3b30;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:11px;

    font-weight:700;

    border:2px solid #07111f;

}


/*=========================================
=            BOTÓN COTIZAR
=========================================*/

.header-btn{

    background:#008cff;

    color:#fff;

    padding:14px 30px;

    border-radius:12px;

    text-decoration:none;

    font-weight:700;

    white-space:nowrap;

    transition:.3s;

}

.header-btn:hover{

    background:#0069d9;

    transform:translateY(-3px);

}


/*=========================================
=         BOTÓN MENÚ MÓVIL
=========================================*/

.menu-toggle{

    display:none;

    width:48px;

    height:48px;

    border:none;

    border-radius:12px;

    background:#008cff;

    color:#fff;

    cursor:pointer;

    font-size:22px;

    align-items:center;

    justify-content:center;

    transition:.3s;

}

.menu-toggle:hover{

    background:#006fdc;

}


/*=========================================
=     ESPACIO PARA HEADER FIJO
=========================================*/

body{

    padding-top:85px;

}

/*=========================================
=           MENÚ MÓVIL
=========================================*/

.mobile-menu{

    position:fixed;

    top:85px;

    left:-320px;

    width:300px;

    height:calc(100vh - 85px);

    background:#07111f;

    display:flex;

    flex-direction:column;

    padding:30px 25px;

    gap:18px;

    transition:left .45s ease;

    z-index:9999;

    box-shadow:15px 0 40px rgba(0,0,0,.35);

}

.mobile-menu.active{

    left:0;

}

.mobile-menu a{

    color:#fff;

    text-decoration:none;

    font-size:18px;

    font-weight:600;

    padding:16px 0;

    border-bottom:1px solid rgba(255,255,255,.08);

    transition:.3s;

}

.mobile-menu a:hover{

    color:#29a8ff;

}


/*=========================================
=              RESPONSIVE
=========================================*/

@media(max-width:900px){

    .menu{

        display:none;

    }

    .menu-toggle{

        display:flex;

    }

    .mobile-menu{

        display:flex;

    }

    .header-container{

        padding:0 20px;

    }

    .cart-text{

        display:none;

    }

    .cart-btn{

        width:48px;

        height:48px;

        padding:0;

    }

    .cart-btn i{

        font-size:22px;

    }

}


/*=========================================
=         CELULARES
=========================================*/

@media(max-width:768px){

    .header{

        background:rgba(7,17,31,.95);

    }

    .header-container{

        height:72px;

        padding:0 15px;

    }

    body{

        padding-top:72px;

    }

    .logo img{

        height:48px;

    }

    .header-btn{

        padding:12px 18px;

        font-size:15px;

    }

    .mobile-menu{

        top:72px;

        left:-320px;

        width:300px;

        height:calc(100vh - 72px);

    }

}


/*=========================================
=       CELULARES PEQUEÑOS
=========================================*/

@media(max-width:480px){

    .header-container{

        padding:0 12px;

    }

    .logo img{

        height:42px;

    }

    .menu-toggle{

        width:44px;

        height:44px;

        font-size:20px;

    }

    .cart-btn{

        width:44px;

        height:44px;

    }

    .cart-btn i{

        font-size:20px;

    }

    .header-btn{

        display:none;

    }

    .mobile-menu{

        width:280px;

    }

}