.page-container {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.upsell-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  padding: 3.5rem 2.5rem 6.25rem;
  width: 100%;
}

@media (min-width: 640px) {
  .upsell-section {
    background: url("../../../assets/main/img/backgrounds/two-step-page-bg.webp")
      no-repeat center center;
    background-size: cover;
    padding-inline: 0;
  }
}

.upsell-content {
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  text-align: center;
  padding-inline: 20px;
}

.upsell-content h2 {
  font-weight: bold;
  font-size: 1.5rem;
  max-width: 954px;
  color: white;
  padding-top: 3rem;
  padding-bottom: 4rem;
  line-height: 1.05;
}

@media (min-width: 475px) {
  .upsell-content h2 {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .upsell-content h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .upsell-content h2 {
    font-size: 3rem;
  }
}

.text-yellow {
  color: var(--yellow);
}

.no-thanks {
  color: var(--text);
  font-size: 1.25rem;
  max-width: 602px;
  padding-top: 3rem;
  text-align: center;
  padding-inline: 20px;
}

@media (max-width: 765px) {
  .no-thanks {
    font-size: 1rem;
  }
}

.header-bg {
  position: absolute;
  inset: 0;
  max-width: 1920px;
  width: 100%;
  height: 100%;
  max-height: 500px;
  background: url("../../../assets/main/img/backgrounds/two-step-header-bg.webp")
    no-repeat center center;
  background-size: cover;
  display: none;
}

@media (min-width: 768px) {
  .header-bg {
    display: block;
  }
}

.header-bg-mobile {
  position: absolute;
  inset: 0;
  height: 350px;
  background: url("../../../assets/main/img/backgrounds/two-step-header-bg-mobile.webp")
    no-repeat center center;
  background-size: cover;
  display: block;
}

@media (min-width: 768px) {
  .header-bg-mobile {
    display: none;
  }
}

.upsell-paragraph {
  max-width: 922px;
  font-weight: 500;
  font-size: 1.5rem;
  padding-inline: 0;
  color: var(--dark);
  margin-top: 25%;
  text-align: left;
}

@media (max-width: 768px) {
  .upsell-paragraph {
    max-width: 100%;
    font-size: 1rem;
    padding-inline: 16px;
    margin-top: 20%;
  }
}

.discount {
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
  padding-bottom: 96px;
}

.discount-header {
  position: relative;
  width: 100%;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
}

@media (min-width: 640px) {
  .discount-header {
    padding-inline: 0;
  }
}

.discount-header h3 {
  font-weight: bold;
  color: white;
  font-size: 24px;
  text-align: center;
}

@media (min-width: 640px) {
  .discount-header h3 {
    font-size: 30px;
  }
}

@media (min-width: 1024px) {
  .discount-header h3 {
    font-size: 48px;
  }
}

.discount-header div {
  background-color: var(--primary);
  transform: rotate(45deg);
  width: 40px;
  height: 40px;
  border-radius: 6px;
  position: absolute;
  bottom: -16px;
}

.stock-counter-container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-inline: 20px;
}

.stock-counter {
  display: flex;
  align-items: center;
  margin: 0 5px;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 355px;
  height: 59px;
  border-radius: 83px;
  background-color: white;
  border: 1px solid #d3d3d3;
}

@media (min-width: 768px) {
  .stock-counter {
    max-width: 407px;
  }
}

.stock-counter.isAtHero {
  background-color: #fcfcfc;
}

.stock-counter-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(24, 195, 30, 0.2);
}

.stock-counter-circle div {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-light);
}

.stock-counter-text {
  font-weight: bold;
  font-size: 1rem;
  color: black;
}

@media (min-width: 768px) {
  .stock-counter-text {
    font-size: 1.5rem;
  }
}

.stock-counter-text span {
  color: var(--primary-light);
}

.upsell-faq {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  background: var(--custom-green-gradient);
}

.upsell-faq.pink-theme {
  background: var(--custom-pink-gradient);
}

.upsell-faq h2 {
  font-weight: bold;
  font-size: 2rem;
  text-align: center;
  color: white;
}

@media (min-width: 768px) {
  .upsell-faq h2 {
    font-size: 2.25rem;
  }
}

.references {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  gap: 24px;
}

@media (min-width: 768px) {
  .references {
    padding-inline: 40px;
  }
}

.references h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
}

@media (min-width: 640px) {
  .references h2 {
    font-size: 2.5rem;
  }
}

.references-list {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

@media (min-width: 768px) {
  .references-list {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    max-width: 1281px;
  }
}

.references-left,
.references-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.references-left span,
.references-right span {
  color: var(--dark);
  display: block;
  font-weight: 500;
  font-size: 14px;
}
