@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    box-shadow: 0 0px 0px 0 rgba(0,0,0,0), 0 0px 0px 0px rgba(0,0,0,0), 0 1px 5px 0 rgba(0,0,0,0.8);
}

*{
    box-sizing: border-box;
}

a:-webkit-any-link {
    color: none;
    cursor: pointer;
    text-decoration: none;
}

body {
    margin: 0px;
    background-color: #fff;
}

h3 {
    display: block;
    font-size: 1.17em;
    margin-block-start: 0px;
    margin-block-end: 0px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

h4 {
    display: block;
    margin-block-start: 0px;
    margin-block-end: 0px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

p {
    display: block;
    margin-block-start: 0px;
    margin-block-end: 0px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.Header-Contenedor-AnchoTotal {
    width: 100%;
    background-color: #e5c50e;
}

.contenidoHeader {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 1px;
    max-width: 100%;
    margin: auto;
}

.logoHeader {
    padding: 10px;
}

.imagenLogoHeader {
    height: 60px;
}

.barraNavegacion {
    display: none;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-bottom: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.barraNavegacion li {
    position: relative; /* Necesario para el menú desplegable */
}

ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 0px;
    margin-block-end: 0px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0px;
    unicode-bidi: isolate;
}

/* Estilo del dropdown */
.ContenidoDesplegable {
    display: none; /* Oculta el menú desplegable por defecto */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #e5c50e;
    width: 140px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1;
    padding-top: 5px;
}

/* Estilo de los elementos dentro del dropdown */
.PrimerElemento {
    padding: 8px 8px;
    display: block;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: lighter;
    color: #363636;
    border-top: 2px solid #363636;
}

.ContenidoDesplegable li a {
    padding: 8px 8px;
    display: block;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: lighter;
    color: #363636;
}

.ContenidoDesplegable:hover {
    display: block;
    opacity: 1;
}

/* Mostrar el dropdown al mantener el cursor */
.ContenedorProductosDesplegables:hover .ContenidoDesplegable {
    display: block;
}

/* Estilos adicionales (opcional) */
.ContenidoDesplegable li a:hover {
    background-color: #f0f0f0;
    color: #e5c50e;
}

.logoCarrito {
    color: #363636;
    font-size: 20px;
}

.enlaceNavBar {
    font-family: 'Roboto' , sans-serif;
    font-size: 14px;
    padding: 8px;
    font-weight: lighter;
    color: #363636;
    text-align: center;
}

.burgerMenu {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 20px;
}

.logoBurger {
    color: #363636;
    font-size: 25px;
}

.enlaceBusqueda {
    display: none;
}

.containerUsuario {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*padding-right: 15px;*/
}

.containerIconoUsuario {
    border: 1px solid #363636;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    margin-right: 5px;
}

.logoUsuario {
    font-size: 14px;
    color: #363636;
}

.textoUsuario {
    display: none;
    font-family: 'Roboto' , sans-serif;
    font-size: 12px;
    font-weight: normal;
    color: #363636;
}

.enlaceCarritoComprasNav {
    display: none;
    position: relative;
}

.enlaceCarritoCompras {
    position: relative;
    padding-left: 20px;
}

.CirculoCarrito-Header {
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    position: absolute;
    z-index: 2;
    top: -11px;
    left: 35px;
    -webkit-border-radius: 10em;
    border-radius: 10em;
    padding: 1px 7px;
    background-color: #fe1212;
    font-size: 11px;
    color: #fff;
}

.CirculoCarritoNav-Header {
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    position: absolute;
    z-index: 2;
    top: -11px;
    left: 16px;
    -webkit-border-radius: 10em;
    border-radius: 10em;
    padding: 1px 7px;
    background-color: #fe1212;
    font-size: 11px;
    color: #fff;
}

@media (min-width: 460px) {

    .enlaceCarritoCompras {
        padding-left: 30px;
    }
    
    .burgerMenu {
        padding-right: 30px;
    }

    .CirculoCarrito-Header {
        left: 45px;
    }
}


@media (min-width: 768px) {

    .contenidoHeader {
        height: 80px;
    }

    .logoBusqueda {
        color: #363636;
        font-size: 20px;
    }

    .enlaceBusqueda {
        display: block;
    }

    .containerUsuario {
        display: flex;
        padding-right: 15px;
    }

    .textoUsuario {
        display: block;
    }

    .contenidoHeader {
        max-width: 720px;
        justify-content: center;
        margin: auto;
    }

    .burgerMenu {
        display: none;
        width: auto;
    }

    .logoHeader {
        display: flex;
        justify-content: flex-start;
        margin-top: 0px;
    }

    .barraNavegacion {
        display: flex;
        justify-content: flex-end;
        width: auto;
        padding-bottom: 0px;
        opacity: 1;
        transition: none;
    }

    .enlaceNavBar {
        padding: 5px;
    }

    .enlaceBusqueda {
        padding: 10px;
    }
    
    .enlaceCarritoCompras {
        display: none;
    }

    .enlaceCarritoComprasNav {
        display: block;
        padding: 10px;
    }

    .enlaceBusqueda {
        display: block;
    }


    .enlaceNavBar {
        display: block;
        font-family: 'Roboto' , sans-serif;
        font-size: 14px;
        font-weight: lighter;
        color: #363636;
    }

    .containerUsuario {
        flex-direction: row;
    }

    .CirculoCarrito-Header {
        display: none;
    }

    .CirculoCarritoNav-Header {
        top: -2px;
        left: 26px;
    }
    
    .ContenidoDesplegable {
        width: 160px;
        padding-top: 15px;
    }

}

@media (min-width: 992px) {
    .enlaceNavBar {
        padding: 10px;
        font-size: 14px;
    }

    .contenidoHeader {
        max-width: 960px;
    }

    .textoUsuario {
        font-size: 14px;
    }

    .CirculoCarrito-Header {
        top: 0px;
    }

    .ContenidoDesplegable {
        padding-top: 10px;
    }

}

@media (min-width: 1200px) {
    
    .contenidoHeader {
        max-width: 1140px;
    }

    .CirculoCarrito-Header {
        left: 28px;
    }
}