.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: .5rem;
    background: #fff;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    box-shadow: 0 5px 8px transparent;
    z-index: 100;
}

.header.active{
    border-bottom: 1px solid #ddd;
    box-shadow: 0 5px 8px rgba(0,0,0, .080);
}   

/*Logo Empieza*/
.header .logo{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .2rem .5rem;
    border-radius: .5rem;
    border-top: 1px solid #ddd;
    box-shadow: 0 3px 8px rgba(0,0,0, .180);
    gap: .5rem;
    margin-right: auto;
    border-bottom: 2px solid #fff;
    background: #f9f9f9;
}
.header .logo img{
    height: clamp(1.7rem, 3vw, 2rem);
}
.header .logo h1{
    font-size: clamp(.8rem, 2vw, 1.5rem);
    color: var(--suncolor);
    font-family: var(--textLogo);
    font-weight: 900;
}
/*Logo Termina*/


/*Navbar Empieza*/
.header .navbar{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    border-radius: .3rem;
}
.header .navbar .btnsNav{
    padding: .3rem;
    border-radius: .3rem;
    font-size: 1rem;
    color: #888;
    font-weight: 600;
    background: #fff;
    border: 1px solid #eee;
}
.header .navbar .btnsNav:hover{
    color: #000;
}
.header .navbar .cascadaProductos{
    width: 13rem;
}
.header .navbar .cascadaIdioma{
    width: 6rem;
}
.header .navbar .cascadaProductos,
.header .navbar .cascadaIdioma{
    position: relative;
    background: #fff;
    display: flex;
    justify-content: end;
}

.header .navbar .cascadaProductos a,
.header .navbar .cascadaIdioma a{
    color: #666;
    font-size: 1rem;
    width: 100%;
}

.header .navbar .cascadaProductos a:hover,
.header .navbar .cascadaIdioma a:hover{
    color: #000;
}
.header .navbar .cascadaProductos .cascada001,
.header .navbar .cascadaIdioma .cascada002{
    display: none;
    flex-direction: column;
    row-gap: .2rem;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    padding: .3rem;
    box-shadow: 0 3px 8px rgba(0,0,0, .080);
    border-radius:.5rem;
}

.header .navbar .cascadaProductos:hover .cascada001{
    display: flex;
}

#linkPro,
#linkIdi{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}
#linkPro i,
#linkIdi i{
    margin-left: auto;
} 

.header .navbar .cascadaProductos:hover i,
    .header .navbar .cascadaIdioma:hover i{
    rotate: 90deg;
}



.header .navbar .cascadaIdioma:hover .cascada002{
    display: flex;
}

/*Navbar Termina*/

/*Queries Empieza*/



/*Botón Navbar Empieza*/
.header .btnNavbar{
    cursor: pointer;
    font-size: clamp(2rem, 2vw, 2.5rem);
    color:var(--suncolor);
    display: none;
}
/*Botón Navbar Termina*/

@media(max-width:1200px){
    .header .navbar{
        display: none;
    }
    .header .btnNavbar{
        display: block;
    }

    .header{
        border-bottom: 1px solid #ddd;
    }
}
/*Queries Termina*/




/*Aside Bar Empieza*/


/*Overlay */
.navOverlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 999;
}
.navOverlay.open{
  opacity: 1;
  pointer-events: auto;
}

/* Aside Nav Empieza */
.asideNav{
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: 22rem;                 
  max-width: 88vw;
  background: #fff;
  box-shadow: -10px 0 25px rgba(0,0,0,.12);
  transform: translateX(110%);
  transition: transform .22s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.asideNav.open{
  transform: translateX(0);
}
@media (max-width: 500px){
  .asideNav{
    width: 100vw;
    max-width: 100vw;
  }
}

.asideHead{
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem;
  border-bottom: 1px solid #eee;
  flex: 0 0 auto;
}

.asideBrand{
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 900;
  color: #111;
  margin-right: auto;
}
.asideBrand img{ height: 1.8rem; }

.asideClose{
  cursor: pointer;
  border: 1px solid #eee;
  background: #fff;
  border-radius: .5rem;
  padding: .45rem .6rem;
  color: #666;
}
.asideClose:hover{ 
    color:#000; 
}

.asideMenu{
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: .8rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;

  overscroll-behavior: contain;
}

.asideLink{
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .7rem;
  border: 1px solid #eee;
  border-radius: .6rem;
  text-decoration: none;
  color: #666;
  font-weight: 600;
  background: #fff;
}
.asideLink:hover{ 
    color:#000; 
}

.asideDetails{
  border: 1px solid #eee;
  border-radius: .6rem;
  background: #fff;
  overflow: hidden;
}

.asideSummary{
  list-style: none;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .7rem;
  cursor: pointer;
  color: #666;
  font-weight: 600;
}
.asideSummary::-webkit-details-marker{
     display:none;
}
.asideSummary:hover{ 
    color:#000; 
}

.asideSummary i{
  margin-left: auto;
  transition: transform .18s ease;
  color: #888;
}

.asideCurrentLang{
  margin-left: auto;
  color: #888;
  font-weight: 600;
  font-size: .95rem;
}

.asideDetails[open] .asideSummary i{
  transform: rotate(90deg);
}

.asideSub{
  border-top: 1px solid #f2f2f2;
  display: flex;
  flex-direction: column;
}

/* Subitems */
.asideSubLink,
.asideSubBtn{
  padding: .55rem .7rem;
  border: 0;
  background: transparent;
  text-align: left;
  color: #666;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.asideSubLink:hover,
.asideSubBtn:hover{ color:#000; }

.asideSubLink + .asideSubLink,
.asideSubBtn + .asideSubBtn{
  border-top: 1px solid #f2f2f2;
}
@media (min-width: 1201px){
  .navOverlay{ display: none; }
  .asideNav{ display: none; }
}

/*Aside Bar Termina*/