/* ticker-banner.css */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

.ticker-banner {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 10px 0;
}

/* Layout */
.ticker-banner .tb-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Marquee */
.ticker-banner .tb-marquee {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
}

.ticker-banner .tb-marquee-track {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  animation: tb-marquee-ltr 12s linear infinite;
}

.ticker-banner .tb-marquee-text {
  font-family: 'Great Vibes', cursive;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0.8px;
  line-height: 1.1;
}

@keyframes tb-marquee-ltr {
  0%   { transform: translateX(110%); }    /* invierta si desea que el texto inicie desde la izquierda (-110) */
  100% { transform: translateX(-110%); }    /* invierta si desea que el texto finalice a la derecha (110) */
}

/* CTA */
.ticker-banner .tb-cta {
  flex: 0 0 auto;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: transform 160ms ease, background 160ms ease;
  white-space: nowrap;
  align-self: center;
}

.ticker-banner .tb-cta:hover {
  transform: translateY(-1px);
}

/* Canvas */
.ticker-banner .tb-fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.6;
}

/* ===== Tema Día de la Mujer ===== */

.theme-banner.womensday-season {
  background: #ffffff;
  border: 1px solid rgba(135,46,205,0.18);
  color: #872ECD;
}

.womensday-season .tb-marquee-text {
  color: #872ECD;
  text-shadow: 0 2px 8px rgba(135,46,205,0.15);
}

.womensday-season .tb-cta {
  border: 1px solid rgba(135,46,205,0.25);
  background: rgba(135,46,205,0.08);
    margin-right: 30px; /* ajusta el valor */

  color: #872ECD;
}

.womensday-season .tb-cta:hover {
  background: rgba(135,46,205,0.15);
}

/* Responsive */
@media (max-width: 1024px) {
  .ticker-banner .tb-marquee-text {
    font-size: 34px;
  }
}

@media (max-width: 680px) {
  .ticker-banner .tb-marquee-text {
    font-size: 26px;
  }

  .ticker-banner .tb-cta {
    padding: 9px 10px;
    font-size: 12.5px;
  }
}