.header{
    position: sticky;
    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: linear-gradient(135deg, #e53935ab, #1d608d94);
}
.headerButtons.active {
  padding: 10px 30px;
  background-color: #D32F2F;
}

.headerButtonsContainer:hover{
    
    position: relative;
    top: 0px !important;
    margin-top: 0px;
    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
    }
    
    .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: flex-end;
    top: 8px;
    position: relative;
}
.imgSocial {
    width: 47px !important;
    transition: all ease .5s;
}

  .header p {
    color: #fff;
    font-size: 12px;
    width: 141px;
    position: relative;
    right: 2.3%;
    text-align: center;
    margin: 0px;
    right: -0 !important;
    top: -0px !important;
}

/* logo */
.header img {
    width: 60%;
}

.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 {
  transition: transform 0.5s cubic-bezier(.34,1.56,.64,1), filter 0.4s ease;
}

.imgSocialHeader:hover {
  transform: scaleX(-1) scale(1.15);
}
.imgSocialHeaderWS:hover{filter:
    drop-shadow(0 0 10px #79ce6d)
    drop-shadow(0 0 20px #79ce6d)
    drop-shadow(0 0 40px #79ce6d);}
.imgSocialHeaderIG:hover{filter:
    drop-shadow(0 0 15px #cd3a9d)
    drop-shadow(0 0 30px #cd3a9d)
    drop-shadow(0 0 60px #cd3a9d);}


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;
    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: 60%;
}

  /* 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: 78%;
    }
}

/* Botón cuando no hay sesión */
.btnPerfilVerde {
  background-color: #28a745; /* verde destacable */
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  transition: 0.3s;
}

.btnPerfilVerde:hover {
  background-color: #218838; /* 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 */
}
.header{
    overflow: visible; /* ← en vez de hidden */
}
.headerButtonsContainer:hover{
    top: 0px !important;
    margin-top: 0px;
}
.headerButtonsContainer:not(.dropdown):hover{
    position: relative;
    top: 0px;
    margin-top: -0px;
    border-bottom: 2px solid #D32F2F;
}
/* ===== DROPDOWN TIENDA ===== */

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 55px; /* alineado visualmente con tu header */
    left: 0;
    background: #2e2e2e;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    display: none;
    flex-direction: column;
    min-width: 180px;
    padding: 6px 0;
    z-index: 9999;
}

.dropdown-menu a {
    padding: 12px 18px;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s, padding-left 0.3s;
}

.dropdown-menu a:hover {
    background: #D32F2F;
    border-radius: 10px;
    font-size: 0.8rem !important;
}


@media (max-width: 768px) {

  /* Dropdown siempre visible en mobile */
  .dropdown-menu {
    position: static;              /* deja de ser flotante */
    display: flex !important;      /* siempre visible */
    background: transparent;       /* se integra al menú */
    box-shadow: none;
    padding: 0;
    margin-top: 10px;
  }
button#btnTienda {
    display: none;
}
.dropdown-menu p {
    margin: 1rem;
    position: relative;
    text-align: center;
    align-self: anchor-center;
    font-size: 0.8rem;
    font-weight: 900;
    left: auto;
    right: auto;
    margin-top: -20px !important;
}
.dropdown {
    position: relative;
    max-width: 60%;
    height: max-content;
}
  
.HeaderLat{
  display: none;
}
}

@media (max-width: 1024px) {
  button#btnTienda, .headerButtons {
    font-size: 0.6rem;
    padding: 10px;
}
}
/* Combo próximamente */
.combo-proximo {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #444;
  margin: 6px auto;
  width: 80%;
  padding: 10px 0;
  border-radius: 8px;
  color: #aaa;
  cursor: not-allowed;
}

.combo-proximo .tachado {
  text-decoration: line-through;
  font-weight: 700;
  font-size: 14px;
}

.combo-proximo small {
  font-size: 11px;
  color: #ffb74d;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.headerButtons .arrow {
  margin-left: 5px;
  font-size: 0.7em;
}
.preview {
  display: none;
  font-size: 0.8em;
  color: #555;
}
.highlighted-combo:hover .preview {
  display: inline;
}
span.preview {
    font-size: 0.6rem;
     font-weight: bold;
  background: linear-gradient(135deg, #e53935, #1d608d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  background-size: 200% 200%;
  animation: gradientMove 3s ease infinite;
}
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


.dropdown-menu.showDropdown {
  display: flex;
}

.dropdown-menu a {
    padding: 12px 18px;
    color: #ebe5e5;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s, padding-left 0.3s;
    border: 1px solid #6f6f6f;
    border-radius: 6px;
    margin-bottom: 5px;
}

  .dropdown-menu a:hover {
    background: linear-gradient(135deg, #e53935ab, #1d608d94);
    border-radius: 10px;
    font-size: 0.9rem !important;
    color: #ffffff;
}
.dropdown-menu p {
    margin: 1rem;
    position: relative;
    text-align: center;
    align-self: anchor-center;
    font-size: 0.8rem;
    font-weight: 900;
    left: auto;
    right: auto !important;
}
/* Solo dentro del menú hamburguesa */
.headerRedesHamburger {
    margin-top: -10px;
    text-align: center;
}

.redesHamburger a {
  margin: 0 10px;
  display: inline-block;
}

.imgSocialHamburger {
  width: 30px;
  height: 30px;
  transition: transform 0.2s;
}

.imgSocialHamburger:hover {
  transform: scale(1.1);
}

img.imgSocialHamburger {
    width: 2rem;
}
.headerRedesHamburger {
  display: none;
}

.menu.show .headerRedesHamburger {
  display: block;
}

.no-hover:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
    background: inherit !important;
    font-size: inherit !important;
}
button:hover {
    cursor: pointer;
}