
.top-banner {
    background-color: var(--color3);
    color: white;
    text-align: center;
    padding: 10px 0;
    font-family: "Lato", sans-serif;
    font-weight: 400;
}
.top-banner p{
    font-size: 0.9em;
    margin: 0px !important;
    color: white;
}
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background-color: white;
}
.container-header{
    width: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    height: 60px;
}
nav ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
nav ul li {
    margin-right: 20px;
}
nav ul li a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    font-size: 0.9em;
}
nav ul li a:hover{
    color: var(--primario);
}
.search-bar {
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 20px;
    padding: 10px 25px;
}
.search-bar input {
    border: none;
    background-color: transparent;
    margin-left: 10px;
    outline: none;
    font-size: 1em;
}
.user-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secundario);
    border-radius: 5px;
    height: 35px;
    width: 35px;
}
.user-cart a{
    display: flex;
    justify-content: center;
    align-items: center;
}
.user-icon, .cart-icon {
    /* margin-left: 20px; */
    font-size: 20px;
    color: white;
    display: block;
}
.cart-icon {
    position: relative;
}
.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--primario);
    color: white;
    border-radius: 50%;
    font-size: 0.7em;
    width: 20px;
    height: 20px;
    display: none;
    justify-content: center;
}

.iconmenu{
    display: none;
    color: var(--secundario);
    font-size: 1.2em;
}


/******************/
/*NAVBAR CELULARES*/
.menu-window {
    position: fixed;
    top: -500px;
    right: 0;
    padding: 15px 0;
    width: 100%;
    text-align: center;
    /*hei10pxght: 200px;
    */background-color: var(--secundario);
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transition: top 0.3s ease-in-out;
    z-index: 999999;
    -webkit-transition: top 0.3s ease-in-out;
    -moz-transition: top 0.3s ease-in-out;
    -ms-transition: top 0.3s ease-in-out;
    -o-transition: top 0.3s ease-in-out;
}
.menu-window .closeMenu{
    color: white;
    font-size: 1.4em;
}
  
  .menu-window li a{
    color:#fff;
    font-size: 1.1em;
    font-weight: 400;
  }
  
  .menu-window li{
    padding: 10px 0;
  }
  .menu-window li:last-child{
    border-bottom: none;
  }
  .menu-window li img{
    width: 20px;
  }
  .menu-window .li_idioma{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:3px;
  }


  /* Contenedor de sugerencias */
  .search-bar{
    position: relative;
  }
.search-bar .container-suggestions {
	max-height: 280px;
	opacity: 1;
	/* pointer-events: none; */
	padding: 0;
	/* overflow-y: auto; */
    overflow: hidden;
    background-color: #d5d5d5e0;
    position: absolute;
    top:40px;
    z-index: 1;
    width: 90%;
    border-radius: 2px;
    left: 13px;
    /* left: 10px;
    
    bottom: -1px; */
}

.search-bar .active .container-suggestions {
	opacity: 1;
	pointer-events: auto;
	padding: 5px 8px;
}

.search-bar .active .container-suggestions li {
	display: block;
    font-size: 0.8em;
}

.search-bar .container-suggestions li {
	list-style: none;
	width: 100%;
	padding: 4px 12px;
	border-radius: 5px;
	/* display: none; */
}

.search-bar .container-suggestions li span{
    font-size: 0.9em;
    color:gray;
}

.search-bar .container-suggestions li:hover{
    background-color: var(--primario);
    color:white;
} 



/* Estilos para el dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content a:hover {
    background-color: #f1f1f1;
}

  
/* Media Queries para dispositivos móviles */
@media only screen and (max-width: 768px) {
    
    .iconmenu{
        display: block;
    }
    .container-header nav{
        display: none;
    }

    .container-header{
        width: 80%;
    }

  }
  
  @media (max-width: 550px) {
  
    .container-header{
        width: 100%;
        height: auto;
        flex-direction: column;
        gap:10px;
    }
    .logo img {
        height: 60px;
    }

    .container-header .user-cart{
        position: absolute;
        right: 45px;
        top:55px;
    }
    .container-header .iconmenu{
        position: absolute;
        right: 20px;
        top:60px;
    }
    .header{
        width: 100%;
        gap:2px;
    }

    .search-bar {
        display: flex;
        align-items: center;
        background-color: #f0f0f0;
        border-radius: 20px;
        padding: 10px 25px;
        width: 90%;
    }
    .search-bar input{
        font-size: 0.9em;
        width: 100%;
    }
    
  
  }