.promo-banner {
  width: 100%;
  /* margin-left: 10px; */
  margin-top: 8px;
  margin-bottom: 8px;
}

.promo-banner__content {
  flex: 1 1 auto;
  min-width: 0;
}

/* Gold bar */
.promo-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  background: linear-gradient(90deg, #c0a470 0%, #efd4a3 50.96%, #c0a470 100%);
  border-radius: 5px;
  box-sizing: border-box;
  padding: 0 8px;
}

/* Center clickable content */
.promo-banner__content {
  flex: 1;
  height: 40px;
  border-radius: 5px;
  border: none;
  background: transparent;
  cursor: pointer;
  /* padding: 0 8px; */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 420px;
}

/* Arrows inside the gold bar */
.promo-banner__arrow {
  border: none;
  background: transparent;
  cursor: pointer;
  width: 32px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #000;
}

.promo-banner__arrow--prev {
  margin-right: 4px;
}

.promo-banner__arrow--next {
  margin-left: 4px;
}

/* Focus states */
.promo-banner__content:focus-visible,
.promo-banner__arrow:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* Text animation */
#promoBannerText {
  display: inline-block;
  /* needed so transform works cleanly */
}

@keyframes promoSlideInNext {
  from {
    transform: translateX(40px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes promoSlideInPrev {
  from {
    transform: translateX(-40px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.promo-text-slide-in-next {
  animation: promoSlideInNext 0.3s ease-out;
}

.promo-text-slide-in-prev {
  animation: promoSlideInPrev 0.3s ease-out;
}

@media (max-width: 480px) {
  .promo-banner__inner {
    height: 48px;
  }

  .promo-banner__content {
    height: 36px;
    font-size: 12px;
  }
}
