/* .mobile-nav-button {display: none;} */

/* Header fijado con GSAP (sin sticky CSS) */
header.wp-block-template-part {
  height: 95px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background-color: #FFF;
}

header.wp-block-template-part .wp-block-group {
  height: 100%;
}

header.wp-block-template-part .wp-block-group-row {
  gap:25px;
}


/* PLUGIN MEGA MENU */
.gw-mm-item .gw-mm-item__toggle {
  color:var(--celeste);
}

.wp-block-group-nav .gw-mm-item__dropdown {
  box-shadow: none;
}



@media (min-width:768px) {
  .wp-block-group-nav .gw-mm-item__dropdown {
    padding: 45px 20px 100px 20px;
  }
}


.wp-block-group-nav a {
  text-decoration: none !important;
}

.wp-block-group-nav h6.wp-block-heading {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 400;
  color: var(--celeste);
  margin-bottom: 5px;
  font-family: 'SpartanMB', sans-serif;

}

.wp-block-group-nav .wp-block-list {
  list-style: none;
  padding-left:0;
  margin-top: 0;
}

.wp-block-group-nav .wp-block-list li {
  font-size: 16px;
  color:var(--azul);
  font-weight: 400;
  font-family: 'SpartanMB', sans-serif;
  margin-top:0;
  line-height: 26px;
}


.mega-menu-column-contacto {
  display: flex;
  align-items: flex-end;
}



header .wp-block-navigation {
  gap:20px;
}

/* header.wp-block-template-part span, */
header.wp-block-template-part p,
header.wp-block-template-part a,
header.wp-block-template-part li {
  color:#FFF;
  font-family: 'SpartanMB', sans-serif;
  font-size: 16px;
  letter-spacing: 0.025em;
  color:var(--azul);
  font-weight: 400;
}

/* Evita que el padding global empuje el header si existe */
.wp-site-blocks { --wp--style--root--padding-top: 0; }

header.wp-block-template-part .wp-block-navigation__container > li a:hover {
  text-decoration: none !important;
}

/* Make anchors stable for transforms and own the bottom border */
header.wp-block-template-part .wp-block-navigation__container > li > a {
  display: inline-block;
  will-change: transform, border-color;
  border-bottom: 1px solid rgba(255,255,255,0);
  text-decoration: none;
}


/* Elementos extra del menu: Location, phone, lang */
.wp-block-columns-header-location {
  flex-basis: 216px;
  width: 216px;
  gap:0;
}
@media  (min-width:768px) AND (max-width:1224px) {
  header .wp-block-columns-header-location {
    display: none;
  }
}

@media  (min-width:768px) AND (max-width:990px) {
  header .wp-para-header-phone {
    display: none;
  }
}


@media (max-width:767px) {

  .wp-site-blocks {
 max-width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* opcional, si hay elementos internos que sobresalen */
}
  .wp-para-header-lang,
  .wp-para-header-phone,
  header .wp-block-columns-header-location {
    display: none;
  }

  header.wp-block-template-part p,
  header.wp-block-template-part a,
  header.wp-block-template-part li {
    font-size: 17px;
  }

  .gw-mm.is-mobile.is-opened .gw-mm__content-wrapper {
    padding-bottom: 25px;
  }
}

.wp-block-columns-header-location > .wp-block-column:first-child {
  width: 29px;
  flex-basis: 29px;
}

.wp-block-columns-header-location > .wp-block-column:last-child {
  width: calc(100% - 29px);
  flex-basis: calc(100% - 29px);
}

.wp-para-header-phone,
.wp-para-header-phone a {
  flex-basis: 124px;
  width: 124px;
}

header .wp-para-header-phone,
header .wp-para-header-phone a {
  text-align: center;
}

.wp-para-header-lang {
  flex-basis: 80;
  width: 80;
  padding-bottom: 17px;
}

header .wp-block-columns-header-location,
header .wp-block-columns-header-location a,
header .wp-block-columns-header-location p,
header .wp-para-header-phone,
header .wp-para-header-phone a,
.wp-para-header-lang,
.wp-para-header-lang a,
.wp-para-header-lang p {
  font-size: 13px !important;
  line-height: 17px !important;
  text-decoration: none;
  color:var(--celeste); 
  letter-spacing: 0.025em;
}

@media (max-width:767px) {

  /* Nav container */
  .gw-mm__content-wrapper {
    padding-top: 30px;
  }

  /* Limpieza general del botón */
  .gw-mm__toggle {
    all: unset; /* resetea todos los estilos heredados */
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Mantener visible solo el ícono */
  .gw-mm__toggle .dashicons {
    font-size: 24px; /* ajustá el tamaño que quieras */
    line-height: 1;
  }

  .gw-mm__toggle.is-opened .dashicons-menu:before {
    content: "\f335"; /* código del icono X (dashicons-dismiss) */
  }


  /* Ocultar el texto "Menu" */
  .gw-mm__toggle {
    font-size: 0; /* oculta cualquier texto */
  }

  .gw-mm__toggle .dashicons {
    font-size: 24px; /* reestablece tamaño solo para el icono */
  }

  header.wp-block-template-part > .wp-block-group-row {
    align-items: center;
    padding-top: 0 !important;
  }



  /* REVISAR DE ACA PARA ABAJO */
  header.wp-block-template-part ul.wp-block-navigation__container {
    flex-direction: column !important;
    width: 100%;
    justify-content: flex-start;
    gap:55px;
  }

  header.wp-block-template-part .wp-block-group-nav nav.wp-block-navigation{
    margin-top:30px;
    width: calc(100% - 86px);
  }

  header.wp-block-template-part .wp-block-navigation__container > li {
    width: 100%;
  }

  header.wp-block-template-part .wp-block-navigation__container > li a {
    margin:auto;
  }

  header.wp-block-template-part span {
    font-size: 20px;
  }


}
