/* Menú principal estilo Athens (Rey) — copia.coltendencia.com */

/* Oculta la navegación del tema (sus categorías ya se muestran en esta barra) */
@media (min-width:1025px){
  .ath-theme .col-full-nav{ display:none !important; }
}

.ath-nav{
  position:relative;
  z-index:900;
  background:#151515;
  color:#fff;
  font-family:"Barlow","Helvetica Neue",Helvetica,Arial,sans-serif;
  border-top:1px solid rgba(255,255,255,.08);
}
.ath-nav__inner{
  max-width:1440px;
  margin:0 auto;
  padding:0 clamp(16px,3.4vw,48px);
  height:52px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.ath-nav__list{
  display:flex;
  align-items:center;
  gap:clamp(18px,2.4vw,38px);
  margin:0; padding:0; list-style:none;
}
.ath-nav__item{ margin:0; }
.ath-nav__sep{
  color:rgba(255,255,255,.28);
  font-size:14px;
  line-height:1;
  user-select:none;
}
.ath-nav__link{
  position:relative;
  display:inline-block;
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  padding:6px 0;
  opacity:.9;
  transition:opacity .3s ease;
}
.ath-nav__link::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:100%; height:1px; background:#fff;
  transform:scaleX(0); transform-origin:right center;
  transition:transform .4s cubic-bezier(.19,1,.22,1);
}
.ath-nav__item.is-open .ath-nav__link,
.ath-nav__link:hover{ opacity:1; }
.ath-nav__item.is-open .ath-nav__link::after,
.ath-nav__link:hover::after{ transform:scaleX(1); transform-origin:left center; }

/* CTA derecha */
.ath-nav__cta{
  flex:0 0 auto;
  display:inline-block;
  padding:9px 18px;
  border:1px solid rgba(255,255,255,.85);
  color:#fff;
  text-decoration:none;
  font-size:11px;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  transition:background .3s ease, color .3s ease;
}
.ath-nav__cta:hover{ background:#fff; color:#151515; }

/* ---------- panel de subcategorías ---------- */
.ath-nav__panel{
  position:absolute;
  left:0; right:0; top:100%;
  background:#fff;
  color:#151515;
  border-top:1px solid rgba(0,0,0,.06);
  box-shadow:0 18px 30px rgba(0,0,0,.08);
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition:opacity .35s cubic-bezier(.19,1,.22,1), transform .35s cubic-bezier(.19,1,.22,1), visibility 0s linear .35s;
}
.ath-nav.is-open .ath-nav__panel{
  opacity:1; visibility:visible; transform:translateY(0);
  transition:opacity .35s cubic-bezier(.19,1,.22,1), transform .35s cubic-bezier(.19,1,.22,1), visibility 0s;
}
.ath-nav__panelInner{
  max-width:1440px;
  margin:0 auto;
  padding:34px clamp(16px,3.4vw,48px) 40px;
}
.ath-nav__pane{ display:none; }
.ath-nav__pane.is-active{ display:block; }

.ath-nav__groups{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:28px 40px;
}
.ath-nav__groupTitle{
  display:inline-block;
  margin-bottom:10px;
  color:#151515;
  text-decoration:none;
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.ath-nav__groupTitle:hover{ text-decoration:underline; }
.ath-nav__group ul{ margin:0; padding:0; list-style:none; }
.ath-nav__group li{ margin:0 0 6px; }
.ath-nav__group li a{
  color:#6b6f74;
  text-decoration:none;
  font-size:14px;
  font-weight:400;
  transition:color .25s ease;
}
.ath-nav__group li a:hover{ color:#151515; }

.ath-nav__allLink{
  display:inline-block;
  color:#151515;
  font-size:12px;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  text-decoration:none;
  border-bottom:1px solid #151515;
  padding-bottom:4px;
}

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .ath-nav{ display:none; }
}

/* Barra en blanco, categorías en negro (y panel de subcategorías también blanco) */
.ath-nav{
  background:#fff !important;
  color:#151515 !important;
  border-top:1px solid rgba(0,0,0,.08);
  border-bottom:1px solid rgba(0,0,0,.08);
}
.ath-nav__link{ color:#151515 !important; opacity:1; }
.ath-nav__link::after{ background:#151515 !important; }
.ath-nav__sep{ color:rgba(0,0,0,.25) !important; }
.ath-nav__cta{ color:#151515 !important; border-color:#151515 !important; }
.ath-nav__cta:hover{ background:#151515 !important; color:#fff !important; }
.ath-nav__panel{ background:#fff !important; }
.ath-nav__panelInner{ background:#fff !important; }

.ath-nav{ top:var(--ath-header-h, 74px) !important; }

/* ---------- Menú móvil: líneas y texto en blanco, sin caja blanca ---------- */
@media (max-width:1024px){
  .ath-theme .site-header .menu-toggle,
  .ath-theme .site-header .menu-toggle:hover,
  .ath-theme .site-header .menu-toggle:focus{
    background:transparent !important;
    background-color:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    padding:8px 6px !important;
    border-radius:0 !important;
  }
  .ath-theme .site-header .menu-toggle .bar{
    background-color:#fff !important;
  }
  .ath-theme .site-header .menu-toggle .bar-text{
    color:#fff !important;
  }
  .ath-theme .site-header .menu-toggle:hover .bar-text{
    color:#fff !important;
  }
}

/* Móvil: separación icono/texto y el panel arranca debajo del header */
@media (max-width:1024px){
  .ath-theme .site-header .menu-toggle .bar-text{
    left:36px !important;
    margin-left:0 !important;
  }
  .ath-theme .site-header .menu-toggle .bar-text{
    padding-left:4px;
  }
  .ath-theme .col-full-nav,
  .ath-theme .site-header .col-full-nav{
    top:var(--ath-header-h, 96px) !important;
    height:calc(100vh - var(--ath-header-h, 96px)) !important;
    padding-top:14px !important;
    padding-bottom:30px !important;
    overflow-y:auto !important;
  }
}

/* Móvil: el fondo detrás del menú desplegado también en negro */
@media (max-width:1024px){
  body.mobile-toggled .mobile-overlay,
  body.mobile-toggled .menu-overlay{
    background:#151515 !important;
    opacity:.92 !important;
  }
}

