html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.promo-hero-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  width: 100%;
}

.promo-hero-carousel {
  width: 100%;
}

.promo-hero-tabs {
  display: flex;
  margin: 0 auto 8px;
  max-width: 760px;
  width: 100%;
  margin-top: 16px;
}

.promo-hero-tab {
  width: calc((100% - 48px) / 4);
  align-items: center;
  background: #f5f5f5;
  border: 1px solid #f5f5f5;
  cursor: pointer;
  display: flex;
  justify-content: center;
  padding: 8px;
  text-align: center;
  font-size: 12px;
  font: var(--font-11px-small-regular);
  flex-direction: column;
  flex: 1;
}

.promo-hero-tab:not(:first-child) {
  margin-left: 16px;
}

.promo-hero-tab.active {
  border-bottom: 2px solid #ee3780;
  font-weight: 600;
}

.promo-hero-carousel-container {
  position: relative;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  border-radius: 6px;
  padding: 0;
  max-width: 380px;
  margin: 0 auto;
  overflow: visible;
}

.promo-hero-carousel-wrapper {
  transition: min-height 0.3s ease;
}

.promo-hero-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  border-radius: inherit;
  margin: 0 auto;
  max-width: 760px;
  scroll-behavior: smooth;
  background: #ffffff;
  box-shadow: 0px 3px 6px #00000029;
}

.promo-hero-carousel::-webkit-scrollbar {
  display: none;
}

.promo-hero-card {
  flex: 0 0 calc(100%);
  margin-right: 16px;
  scroll-snap-align: start;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.promo-hero-card:last-child {
  margin-right: 0;
}

.promo-hero-link,
.promo-hero-carousel-wrapper .banner-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.promo-hero-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.promo-hero-text {
  flex-grow: 1;
  margin-bottom: 16px;
  overflow: auto;
}

.promo-hero-text h2 {
  margin: 16px 16px 0 16px;
  font: var(--font-18px-large-semi-bold);
  color: #222;
}

.promo-hero-text p {
  margin: 16px;
  font-weight: 400;
  font-size: 14px;
  color: #333;
}

.promo-hero-button {
  width: 100%;
  border-radius: 0 0 3px 3px;
}
@media (max-width: 450px) {
  .promo-hero-carousel {
    aspect-ratio: 470 / 560;
  }
  .promo-hero-tabs {
    aspect-ratio: 380 / 110;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .promo-hero-carousel {
    aspect-ratio: 470 / 334;
  }
  .promo-hero-tabs {
    aspect-ratio: 380 / 24;
  }
}
@media (min-width: 1200px) {
  .promo-hero-carousel {
    aspect-ratio: 1200 / 300;
    max-width: 1200px;
  }

  .promo-hero-tabs {
    margin-top: 32px;
    aspect-ratio: 380 / 26;
  }

  .promo-hero-tab {
    background: none;
    border: none;
    font: var(--font-14px-body-regular);
  }

  .promo-hero-tab.active {
    border-bottom: 2px solid #ee3780;
    font-weight: 600;
  }

  .promo-hero-card {
    margin: 0 auto;
    margin-right: 0;
    display: flex;
    flex-direction: row;
  }

  .promo-hero-link,
  .promo-hero-carousel-wrapper .banner-wrapper {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
  }

  .promo-hero-image {
    flex: 0 0 50%;
    max-height: none;
    padding: 0;
  }

  .promo-hero-image img {
    object-fit: contain;
  }

  .promo-hero-content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .promo-hero-text {
    margin-bottom: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .promo-hero-button {
    width: 253px;
    border-radius: 44px;
    margin-left: 16px;
  }
}

.promo-loaded,
.promo-hero-tabs {
  aspect-ratio: auto;
}
