/* Top Bar estilo Athens (Rey) — copia.coltendencia.com */

/* Oculta la barra promocional anterior (la reemplaza esta) */
.ath-promobar{ display:none !important; }

.ath-topbar{
  background:#ECF2F5;
  color:#151515;
  font-family:"Barlow", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size:11px;
  letter-spacing:.06em;
  height:38px;
  display:flex;
  align-items:center;
  border-bottom:1px solid rgba(21,21,21,.06);
}
.ath-topbar__inner{
  width:100%;
  max-width:1440px;
  margin:0 auto;
  padding:0 clamp(16px,3vw,48px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

/* --- texto rotativo (izquierda) --- */
.ath-topbar__scroller{
  position:relative;
  flex:1 1 auto;
  height:38px;
  overflow:hidden;
}
.ath-topbar__msg{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  white-space:nowrap;
  opacity:0;
  transform:translateY(110%) skewY(3deg);
  transition:opacity .5s cubic-bezier(.19,1,.22,1), transform .6s cubic-bezier(.19,1,.22,1);
}
.ath-topbar__msg.is-active{
  opacity:1;
  transform:translateY(0) skewY(0);
}
.ath-topbar__msg.is-out{
  opacity:0;
  transform:translateY(-110%) skewY(-3deg);
}

/* --- menú fino (derecha) --- */
.ath-topbar__nav ul{
  display:flex;
  align-items:center;
  gap:clamp(14px,2vw,30px);
  margin:0;
  padding:0;
  list-style:none;
}
.ath-topbar__nav li{ margin:0; }
.ath-topbar__nav a{
  position:relative;
  display:inline-block;
  color:#151515;
  text-decoration:none;
  font-weight:500;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  padding:4px 0;
  opacity:.85;
  transition:opacity .3s ease;
}
.ath-topbar__nav a::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:100%; height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:right center;
  transition:transform .4s cubic-bezier(.19,1,.22,1);
}
.ath-topbar__nav a:hover{ opacity:1; }
.ath-topbar__nav a:hover::after{
  transform:scaleX(1);
  transform-origin:left center;
}

/* En el demo esta barra se oculta en tablet y móvil */
@media (max-width:1024px){
  .ath-topbar{ display:none; }
}
