/* Промо-попап персональной скидки */

.popup-wrapper {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.popup-wrapper.popup-wrapper--open {
  opacity: 1;
  pointer-events: auto;
  display: flex !important;
}

.popup-wrapper[hidden] {
  display: none !important;
}

.popup-wrapper--promo .popup {
  width: 100%;
  max-width: 480px;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  background: none;
}

.promo-form {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  border-radius: 20px;
  background: linear-gradient(135deg, #534afd 1.1%, #01e7cb 100%);
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);
  padding: 30px 45px;
}

.promo-form__icon {
  display: block;
  max-width: 180px;
  height: auto;
  margin-bottom: 30px;
}

.promo-form__title {
  font-size: 30px;
  line-height: 38px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #fff;
}

.promo-form__text {
  font-size: 22px;
  line-height: 28px;
  margin-bottom: 30px;
  color: #fff;
  letter-spacing: -0.3px;
}

.promo-form__price {
  display: flex;
  align-items: center;
  column-gap: 8px;
  margin-bottom: 15px;
}

.promo-form__price-new {
  font-size: 40px;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.5px;
}

.promo-form__price-old {
  position: relative;
  font-size: 18px;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.5px;
}

.promo-form__price-old::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
  transform: rotate(-12deg);
}

.promo-form__price-old:empty {
  display: none;
}

.promo-form__actions {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding-bottom: 34px;
  border-radius: 25px;
}

.promo-form__button {
  position: relative;
  width: 100%;
  display: inline-block;
  padding: 10px 30px;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #000;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid #fff;
  border-radius: 25px;
  background-color: #fff;
  transition: 0.25s;
  z-index: 2;
}

.promo-form__button:hover {
  color: #fff;
  background-color: #fb0853;
  border-color: #fb0853;
}

.promotion__order-btn-discount {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6c672;
  column-gap: 8px;
  color: #000;
  font-size: 14px;
  line-height: 1.36;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  min-height: 64px;
  padding: 37px 20px 6px;
  border-radius: 0 0 25px 25px;
  box-sizing: border-box;
}

.promotion__order-btn-discount-meta {
  width: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  white-space: nowrap;
}

.promotion__order-btn-discount-clock {
  display: block;
  width: 17px;
  height: 16px;
  margin-top: -2px;
}

@media (max-width: 576px) {
  .promo-form {
    padding: 30px 20px;
  }

  .promo-form__icon {
    margin-bottom: 20px;
  }

  .promo-form__title {
    font-size: 24px;
    line-height: 32px;
  }

  .promo-form__text {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 20px;
  }
}
