.site-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  font-family: "Raleway";
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 100;
}
.popup {
  box-sizing: border-box;
  position: relative;
  z-index: 99999;
  max-width: 648px;
  width: 100%;
  margin: 75px auto;
  padding: 40px 111px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.popup * {
  box-sizing: border-box;
}
@media (max-width: 650px) {
  .popup {
    padding: 40px;
  }
}
.popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  cursor: pointer;
}
.popup__close:before, .popup__close:after {
  content: "";
  position: absolute;
  left: calc(50% - 9px);
  top: calc(50% - 1px);
  width: 18px;
  height: 2px;
  background-color: rgb(0, 0, 0);
}
.popup__close:after {
  transform: rotate(45deg);
}
.popup__close:before {
  transform: rotate(-45deg);
}
.popup__logo {
  width: 144px;
  height: 36px;
  margin-bottom: 24px;
}
.popup__title {
  color: #000;
  font-size: 96px;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}
.popup__title_sucess{
  color: #000;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  text-align: center;
    margin-top: 10px;
}
.popup__span {
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
  text-align: center;
  margin-bottom: 24px;
  text-align: center;
}
.popup__span_sucess { 
color: rgba(0, 0, 0, 0.60);
font-family: Raleway;
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: 22px;
    text-align: center;
    margin-bottom: 20px;
}
#popupemail{
    font-weight: 800;
}
.popup__row {
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
}
@media (max-width: 520px) {
  .popup__row {
    flex-wrap: wrap;
  }
}
.popup__input {
  padding: 14px 16px;
  border: 1px solid #D1D1D1;
  background: #FFF;
  height: 44px;
  font-weight: 500;
  font-size: 14px;
  color: #000;
  width: 100%;
  font-family: inherit;
  outline: none;
}
.popup__input::-moz-placeholder {
  color: #ACACAC;
}
.popup__input::placeholder {
  color: #ACACAC;
}
.popup__input.large {
  width: calc(50% - 8px);
}
@media (max-width: 520px) {
  .popup__input.large {
    width: 100%;
  }
}
.popup__age {
  flex-wrap: wrap;
  gap: 16px 20px;
}
.popup__age label {
  width: calc(30% - 10px);
  min-width: 120px;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.popup__age label input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  position: relative;
  margin-right: 10px; 
}
.popup__age label input::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 1px solid #000;
  border-radius: 50%;
  background-color: transparent;
}
.popup__age label input:checked:before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  background-color: #000;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.popup__agree {
  color: #333;
  font-size: 13px;
  align-self: flex-start;
}
.popup__agree label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  cursor: pointer;
}
.popup__agree label input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  position: relative;
}
.popup__agree label input::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 1px solid #000;
  background-color: transparent;
}
.popup__agree label input:checked:after {
  background-color: #000;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDEzIDEwIj48cGF0aCBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiBkPSJNMTEuNjY3IDEgNC4zMzMgOC4zMzMgMSA1Ii8+PC9zdmc+");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.popup__btn {
  background: rgb(0, 0, 0);
  padding: 14px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  color: #FFF;
  font-size: 16px;
  font-weight: 500;
  border: none;
  outline: none;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  transition: 0.5s;
  font-family: inherit;
}
.popup__btn:hover {
  opacity: 0.8;
}
.popup__cancel {
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  color: #000;
}
.error-msg{
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: red;
    margin-bottom: 15px;
}

.text-center {
  text-align: center;
}

#salesuccess{
    padding-left: 25px;
    padding-right: 25px;
}

#salesuccess svg{
    margin-top: 20px;
}
.open-popup{
    position: fixed;
    z-index: 50;
    left: 0px;
    bottom: 0px;
    cursor: pointer;
}