#popup-dec {
  --popup-width: 704px;
  --popup-height: 498px;
  --close-x: 32px;
  --close-y: 34px;
  --text-dist: 38px;
  --submit-width: 206px;
  --submit-height: 40px;
  --submit-radius: 20px;
  --submit-fontsize: 1.125em;
  --submit-dist: 6.5px;
  --thanks-button-dist: 35px;
  --blue: #2a3b74;
}

#popup-dec .popup-content {
  width: 600px;
  height: 600px;
  padding: 0;
  background-image: url(../images/hero/popup-back.jpg);
  background-image: -webkit-image-set(url("../images/hero/popup-back.webp") 1x,
      url("../images/hero/popup-back@2x.webp") 2x);
}

#popup-dec picture {
  display: contents;
}

#popup-dec .popup-close {
  width: auto;
  height: auto;
  top: 0;
  right: 0;
  padding: 17px;
}

#popup-dec .popup-close .close {
  opacity: 1;
}

#popup-dec form {
  margin-top: 28px;
  width: 571px;
}

#popup-dec .button {
  width: 136px;
  height: 45px;
  color: black;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  line-height: normal;
  text-transform: uppercase;
  border-radius: 54px;
  background: white;
  margin-top: 10px;
  padding: 0;
}

@supports (text-box: trim-both cap alphabetic) {
  #popup-dec .promoLead {
    display: block;
    align-content: center;
    text-box: trim-both cap alphabetic;
  }

  #popup-dec .btn-shop span {
    text-box: trim-both cap alphabetic;
  }
}

#popup-dec .popup-thanks .button {
  margin-top: 20px;
  width: 235px;
}

#popup-dec .form-text {
  color: #FFF;
  text-align: center;
  filter: drop-shadow(1.571px 2.095px 0 #990100);
  -webkit-text-stroke-width: 3.57px;
  -webkit-text-stroke-color: #990100;
  font-size: 43.287px;
  font-style: normal;
  font-weight: 900;
  line-height: 48.714px;
  margin-bottom: 0;
  paint-order: stroke fill;
}

#popup-dec .thanks-top {
  color: #FFF;
  text-align: center;
  filter: drop-shadow(2.539px 3.385px 0 #990100);
  -webkit-text-stroke-width: 4.54px;
  -webkit-text-stroke-color: #990100;
  font-size: 69.939px;
  font-style: normal;
  font-weight: 900;
  line-height: 78.708px;
  margin-bottom: 18px;
  paint-order: stroke fill;
}

#popup-dec .thanks-mid {
  color: #FFF;
  text-align: center;
  font-size: 25px;
  font-style: normal;
  font-weight: 500;
  line-height: 117%;
  margin-bottom: 9px;
}

#popup-dec .form-action {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 567px) {
  #popup-dec {
    container-type: inline-size;
    --popup-width: 100%;
    --popup-height: 100%;
    --close-x: 4cqw;
    --close-y: 5cqw;
    --text-dist: 5.25cqw;
    --submit-width: 37.5cqw;
    --submit-height: 8.25cqw;
    --submit-radius: 4.25cqw;
    --submit-fontsize: 0.8125em;
    --submit-dist: 2.5cqw;
    --thanks-button-dist: 6cqw;
  }

  #popup-dec .popup-close {
    padding: 4.25cqw;
  }

  #popup-dec .popup-close .close {
    width: 9cqw;
    height: auto;
  }

  #popup-dec .popup-content {
    width: 100%;
    height: 100%;
    background-image: url(../images/hero/popup-back-m.jpg);
    background-image: -webkit-image-set(url("../images/hero/popup-back-m.webp") 1x,
        url("../images/hero/popup-back-m@2x.webp") 2x);
  }

  #popup-dec .form-text {
    filter: drop-shadow(0.39275cqw 0.52375cqw 0 #990100);
    -webkit-text-stroke-width: 0.8925cqw;
    font-size: 8.8225cqw;
    line-height: 12.1785cqw;
  }

  #popup-dec form {
    margin-top: 5cqw;
    width: 89%;
  }

  #popup-dec .button {
    width: 34cqw;
    height: 11.25cqw;
    font-size: 5cqw;
    border-radius: 13.5cqw;
    margin-top: 2.5cqw;
  }

  #popup-dec .thanks-top {
    filter: drop-shadow(0.4965cqw 0.662cqw 0 #990100);
    -webkit-text-stroke-width: 0.9975cqw;
    font-size: 13.675cqw;
    line-height: 15.39cqw;
    margin-bottom: 5.5cqw;
  }

  #popup-dec .thanks-mid {
    font-size: 5cqw;
    font-weight: 600;
    margin-bottom: 2.5cqw;
  }

  #popup-dec .thanks-img {
    width: 93cqw;
    height: auto;
  }

  #popup-dec .popup-thanks .button {
    margin-top: 5cqw;
    width: 58.75cqw;
  }
}