
/*Sección Header Empieza*/

.header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    padding:.2rem .5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(5px);
    box-shadow: inset 0 8px 12px rgba(255, 255, 255, 0.3),
                inset 0 -8px 12px rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid #fff;
    filter: drop-shadow(0 5px 18px rgba(0,0,0, .5));
}
.header .logo{
    margin-right: auto;
    color: var(--softBg);
    font-size: clamp(.9rem, 3vw, 2.5rem);
    display: flex;
    align-items: center;
    font-weight: 100;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
}

.header .fa-cart-shopping{
    color:#fff;
    height:2.5rem;
    width: 2.5rem;
    border-radius: 550%;
    font-size: 1.3rem;
    margin-right: 1rem;
    background: rgba(255, 255, 255, 0.226);
    display: flex;
    align-items: center;
    justify-content: center;
}
.header .fa-cart-shopping:hover{
    filter: drop-shadow(0 0 9px rgb(255, 255, 255));
}

.header .logo:hover{
    color: var(--accent);
    
}

.header .logo img{
    width:2.5rem;
}

.header .navbar{
    display: flex;
    align-items: center;
    justify-content:center;
    margin-right: 2rem;
    background: rgba(255, 255, 255, 0.326);
    border-radius: 2rem;
    backdrop-filter: blur(2px);
    box-shadow: inset 0 2px 7px rgba(255, 255, 255, 0.3),
                inset 0 3px 7px rgba(255,255,255, .3);
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    overflow: hidden;
    width: max-content;
}
.header .navbar a{
    font-size: clamp(.9rem, 2vw, 1rem);
    color: #eeee;
    height: 100%;
    padding: .5rem;
}
.header .navbar a:hover{
    color: #fff;
    background: rgba(0,0,0, .4);
}

.header .navbar .miniMenu{
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    margin-bottom: 2.5rem;
}


.header .navbar .miniMenu .closeBar-mobile{
    padding: .3rem 2rem;
    background: #444;
    font-size:clamp(1.2rem, 2vw, 1.5rem);
    color:#fff;
    border-radius: 3rem;
    cursor: pointer;
    width: max-content;
}
.header .navbar .miniMenu .closeBar-mobile:hover{
    background: #666;
}

.header .block-menu-rrss{
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .block-menu-rrss .btnInsta{
    font-size: clamp(1.5rem, 2vw, 2rem) !important;
    color: #ddd;
    margin-right: 1rem;
}
.header .block-menu-rrss .btnInsta:hover{
    color: #fff;
}

.header .block-menu-rrss .fa-bars{
    font-size:clamp(1.7rem, 2vw, 1.5rem) !important;
    color: var(--white);
    display: none;
    cursor: pointer;
}


.header .showSearch{
    font-size: clamp(.8rem, 2vw, 1rem);
    color: #ddd;
    cursor: pointer;
    margin-right: 1rem;
    background:#1437d3;
    border-radius: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    overflow: hidden;
    padding: 0 .5rem 0 0;
    border: 1px solid #040e66;
    
}
.header .showSearch:hover{
    background: #0b33e7;
    color: #fff;
}
.header .showSearch:hover i{
    background: #0e258f;
}

.header .showSearch i{
    color: #00ccff;
    font-size: clamp(.9rem, 2vw, 1rem);
    background: #0f268d;
    padding:.3rem .5rem;
}

.fa-xmark{
    font-size: clamp(1rem, 2vw, 1.7rem);
}
/*Sección Header Termina*/


/*Sección buscador Empieza*/
.buscador{
    position: fixed;
    top:-100%;
    visibility: hidden;
    pointer-events: none;
    left: 0;
    right: 0;
    z-index: 990;
    background:rgba(0, 0, 0, .7);
    backdrop-filter: blur(7px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding:.5rem 1rem;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid #999;
    gap: .5rem;
}

.buscador input{
    width: 100%;
    padding: .5rem 1rem;
    color: #fff;
    border: 1px solid #999;
    border-radius: 7rem;
    position: relative;
    font-size: clamp(.8rem, 2vw, 1rem);
    background: rgba(0, 0, 0, .5);
}

.buscador input:focus{
    border: 1px solid #fff;
}

.buscador input::placeholder{
    font-size: clamp(.8rem, 2vw, 1rem);
    font-weight: 400;
    color: #aaaaaa;
    letter-spacing: .5px;
}



.buscador .fa-magnifying-glass{
    right: 2rem;
    font-size:clamp(1.2rem, 2vw, 1.5rem);
    padding: .6rem;
    color: #ccc;
}
.buscador .closeSearch{
    margin-left: auto;
    cursor: pointer;
    font-size: clamp(.8rem, 2vw, 1rem);
}

.buscador .clearAll{
    cursor: pointer;
    color: #fff;
    font-size: clamp(.9rem, 2vw, 1rem);
    border:1px solid #888;
    padding: .3rem 1rem; 
    border-radius: 3rem;
    background: rgba(0, 0, 0, .3);
}
.buscador .clearAll:hover{
    background: #000;
}

.buscador.active{
    top: 3.4rem;
    visibility: visible;
    pointer-events: all;
}

/*Sección buscador Termina*/






@media(max-width:1200px){
 .header .navbar{
     position: absolute;
     top: 100%;
     border-radius: 0 0 .5rem .5rem;
     background: #000;
     flex-direction: column;
     align-items: unset;
     justify-content: unset;
     padding: 1rem;
     left: 100%;
     width: 100%;
     box-shadow: unset;
     min-height: 100svh;
     height: 100%;
     pointer-events: none;
     visibility: hidden;
    }
    
    
    .header .navbar.active{
        visibility: visible;
        pointer-events: all;
        left: 0;
    }
    .header .navbar a{
        height: unset;
        background: #333;
        color: #aaa;
    }
    .header .navbar a:hover{
        background: #444;
    }


    .header .navbar a:first-child{
        border-radius: .5rem .5rem 0 0;
    }
    .header .navbar a:nth-child(4){
        border-radius: 0 0 .5rem .5rem;
    }
    

    .header .navbar .miniMenu{
        display: flex;
        width: 100%;
    }
    
    

    .header .block-menu-rrss #menuBar{
        font-size: 2.5rem;
        display: block;
    }
}


@media(max-width:480px){


    .header .navbar .miniMenu .closeBar-mobile{
        width:100%;
        text-align: center;
    }

}