.header {
    background-color: #3737376e;
    display: flex;
    width: 90vw;
    height: 68px;
    justify-self: center;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 0 0px 20px 20px;
    margin-left: 0;
    overflow: hidden;
        backdrop-filter: blur(2px);
}
.header{
    position: fixed;
    top: 0px;
    z-index: 200;
    overflow: hidden;
    margin: 0 auto !important;
}

.nav{
    display: flex;
}
/* botones del header*/
.headerButtons {
    border-radius: 10px;
    height: 34px;
    padding: 0 20px;
    font-weight: 700;
    background: #555555;
    border: none;
    color: #fff;
    margin: 0 0%;
    transition: all ease .5s;
}

.headerButtons:hover{
    padding: 10px 30px;
    background-color: #D32F2F;
}
.headerButtons.active {
  padding: 10px 30px;
  background-color: #D32F2F;
}

.headerButtonsContainer:hover{
    
    position: relative;
    top: 20px;
    margin-top: -20px;
    border-bottom: 2px solid #D32F2F;
}
.headerButtonsContainer.active{
    position: relative;
    top: 20px;
    margin-top: -20px;
    border-bottom: 2px solid #D32F2F;
}
/* ////////////////////  header derecho /////////////// */
    /*carrito del header*/
    .btnHeaderCart .imgCart {
    width: 25px;
    vertical-align: text-top;
    }
    .btnHeaderCart {
    height: 3rem;
    width: 3rem;
    padding: 0px 10px !important;
    vertical-align: top;
    }
    /* boton de redes sociales */
    .btnHeaderSocial{
    width: 25px;
    vertical-align: text-top;
    }
    .imgSocial{
    width: 40px !important;
    transition: all ease .5s
    }
    .imgSocial:hover{
    width: 55px !important
    }
    .btnHeaderSocial {
    background: transparent !important;
    position: relative;
    top: -11px;
    left: -5px;
    }
    .redes {
    text-align-last: center;
    color: #fff;
    }

    .btnHeaderSocial {
    background: transparent !important;
    position: relative;
    top: 3px;
    left: 0;
}
.headerDerecho {
    display: flex;
    align-items: flex-end;
    flex-wrap: nowrap;
    gap: 38px;
    align-content: center;
    justify-content: center;
    top: 8px;
    left: -1vw;
    position: relative;
}
.imgSocial {
    width: 47px !important;
    transition: all ease .5s;
}

  .header p {
    color: #fff;
    font-size: 12px;
    width: 141px;
    position: absolute;
    right: 2.3%;
    text-align: center;
    top: -5%;
}


/* logo */
.header img {
    width: 280px;
}

.imgSocial {
    width: 2.1rem !important;
    transition: all ease .5s;
}
.btnHeaderCart {
    height: 2.1rem;
    width: 3rem;
    padding: 0px 10px !important;
    vertical-align: top;
}
nav.nav {
    align-self: baseline;
    padding-top: 1%;
}

a.btnHeaderSocialRef {
    position: relative;
    top: 4px;
}
.redes{
    text-align-last: center;
    color: #fff;
    display: flex;
    gap: 49px;
}
img.btnHeaderSocialImg {
    width: 2.1rem;
}
img.btnHeaderSocialImg{
    width: 2.1rem;
    transition: all ease .5s;
}
.imgSocialHeader:hover{
    width: 43px !important;
}


nav.nav {
    align-self: baseline;
    padding-top: 19px;
}
.imgSocialIgFooter {
    position: relative;
    top: -3px !important;
}
.info-cuotas p {
  margin: 0 0 0.4em 0; /* margen abajo para separar */
  display: block; /* forzar que cada párrafo sea bloque y esté en línea nueva */
}


/* Estilos menú hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 300;
}

.hamburger span {
  display: block;
  height: 4px;
  background: #fff;
  border-radius: 4px;
  transition: 0.4s;
}

/* animación a X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* menú oculto por defecto */
.menu {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 65%;
    justify-content: space-between;
}

/* versión mobile */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    background: #333;
    width: 100%;
    padding: 20px 0;
    gap: 20px;
    text-align: center;
    z-index: 250;
  }

  .menu.show {
    display: flex;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
    margin-right: 15px;
  }

  .header img {
    width: 180px;
  }

  /* que las redes también bajen ordenadas */
  .redes {
    justify-content: center;
    gap: 25px;
  }

  .header {
        background-color: #373737;
        display: flex
;
        width: 80vw;
        height: 68px;
        justify-self: center;
        justify-content: space-between;
        align-items: center;
        padding: 15px 30px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        border-radius: 0 0px 20px 20px;
        overflow: visible;
        margin: 0px auto;
    }
.desliza-text {
    font-size: 11px;
    margin-bottom: 0px;
    position: relative;
    top: -50px;
    animation: blink 1.5s infinite;
    letter-spacing: 1px;
}
.flecha {
    font-size: 40px;
    animation: bounce 1.5s infinite;
    color: #00eaff;
    display: inline-block;
    position: relative;
    top: -62px;
}

}


@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100px;
        left: 0;
        background: #333;
        width: 100%;
        padding: 20px 0;
        gap: 20px;
        text-align: center;
        z-index: 250;
    }
    nav.nav {
    display: contents;
}
img.btnHeaderSocialImg.imgSocialHeader {
    width: 33px;
}
.headerDerecho {
    display: grid
;
    justify-items: center;
}
    .header p {
        color: #fff;
        font-size: 10px;
        width: 141px;
        position: absolute;
        right: 32.3%;
        text-align: center;
        top: 73%;
    }
  }

  @media (max-width: 768px) {
    .headerDerecho {
        display: grid
;
        justify-items: center;
        left: 1px;
    }
}

@media (max-width: 768px) {
    .header p {
        color: #fff;
        font-size: 10px;
        width: 141px;
        position: absolute;
        right: 30.3%;
        text-align: center;
        top: 73%;
    }
}

/* Botón cuando no hay sesión */
.btnPerfilVerde {
  background-color: #0057a8; /* verde destacable */
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  transition: 0.3s;
}

.btnPerfilVerde:hover {
  background-color: #006ace; /* verde más oscuro */
}

/* Botón cuando sí hay sesión */
.btnPerfilAzul {
  background-color: #007bff; /* azul llamativo */
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  transition: 0.3s;
}

.btnPerfilAzul:hover {
  background-color: #0056b3; /* azul más oscuro */
}
