.zcwPopup-bg {
  display: none;
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  z-index: 99991 !important;
  width: 100% !important;
  height: 100% !important;
  background: url(../images/underlay.png) repeat 0 0 !important;
  cursor: pointer !important;
  -webkit-filter: blur(1.4px);
  -moz-filter: blur(1.4px);
  -ms-filter: blur(1.4px);
  filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='blur'><feGaussianBlur stdDeviation='2'/></filter></svg>#blur");
  filter: blur(2px);
  filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2);
}

.z-m-w__terms.danger div, .z-m-w__terms.danger span {
  color: #fff;
}

.z-m-w__terms.danger {
  background-color: red;
}

.zcwPopup {
  display: none;
  text-align: center;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 99992;
  width: 70%;
  max-width: 800px;
  margin: 0;
  height: auto !important;
  padding: 42px 104px;
  border-radius: 28px;
  -webkit-box-shadow: 0 0 12px #cecece !important;
  -moz-box-shadow: 0 0 12px #cecece !important;
  -ms-box-shadow: 0 0 12px #cecece !important;
  box-shadow: 0 0 12px #cecece !important;
  font-family: 'ProximaNova-Light', sans-serif !important;
  font-size: 21px !important;
  background-color: white;
  -webkit-box-sizing: content-box !important;
  -moz-box-sizing: content-box !important;
  box-sizing: content-box !important;
  opacity: 1;
  color: black;
}

.zcwPopup-title,
.zcwPopup-description,
.zcwPopup-content {
  color: black;
}

.zcwPopup-title {
  color: var(--color-title);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 5px;
  width: 90%;
  margin-left: auto;
  text-align: left;
}

.zcwPopup-description {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-text);
  background-color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 15px;
  width: 90%;
  margin-left: auto;
  text-align: left;
}

#zcwPopup-raty {
  padding-left: 10px;
}

#zcwPopup-raty img {
  display: inline !important;
}

.zcwPopup-close {
  position: absolute;
  top: -64px;
  right: -94px;
  cursor: pointer;
  width: 64px;
  height: 64px;
  background-image: url(../images/close.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 19px;
  border-radius: 50%;
  border: 1px solid #E7E7EA;
  background-color: rgba(255, 255, 255, 0.80);
  box-shadow: 0px 8px 48px 0px rgba(21, 33, 81, 0.08);
  backdrop-filter: blur(10px);
}

@media screen and (max-width: 1281px) {
  .pop-up__close svg {
    width: 15px;
  }

  .zcwPopup-close {
    width: 44px;
    height: 44px;
    right: -52px;
    top: -44px;
    background-size: 15px;
  }
}

@media screen and (max-width: 768px) {
  .zcwPopup-close {
    width: 34px;
    height: 34px;
    right: -34px;
    top: -34px;
  }
}

.zcwPopup-content {
  font-size: 14px;
}

.zcwPopup-countdown {
  font-weight: bold;
  display: none;
}

.zcwPopup .link {
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  color: var(--color-primary-dark);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: underline;
}

.zcwPopup .powered_by {
  margin-top: 7px;
  font-size: 12px;
  color: #777777 !important;
}

.zcwPopup .powered_by a {
  font-weight: bold !important;
  color: #777777 !important;
  text-decoration: underline !important;
}

.zcwPopup button,
.zcwPopup input,
.zcwPopup select,
.zcwPopup textarea {
  margin: 0;
  display: flex;
}

@supports (-webkit-overflow-scrolling: touch) {
  .zcwPopup input {
    font-size: 16px;
  }
}

.zcwPopup button {
  margin-top: 5px;
}

.zcwPopup input.zcwInputError,
.zcwPopup select.zcwInputError,
.zcwPopup textarea.zcwInputError {
  border: 1px solid red;
}

.z-circle-message-button {
  display: flex;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99990;
}

.z-message-opened {
  display: flex;
}

#zcwMiniButton {
  display: flex;
  height: auto;
  cursor: pointer;
  opacity: 1;
  font-size: 12px;
  line-height: 1.2;
  padding: 16px 12px;
  color: var(--color-primary) !important;
  border-radius: 10px;
  background: var(--color-light-primary);


  align-items: center;
  font-size: 14px;
  font-weight: 600;
  padding: 20px 32px;
  min-height: auto;
  color: #fff !important;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  background-size: 400%;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

#zcwMiniButton:before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: scaleY(0);
  transform-origin: 0 100%;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: #fff;
  transition: all 0.5s;
}

#zcwMiniButton #zcwMiniButtonMain {
  -moz-border-radius: 50% !important;
  -webkit-border-radius: 50% !important;
  border-radius: 50% !important;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  background-color: rgb(46, 119, 179);
  width: 70px;
  height: 70px;
  box-shadow: 0 0 8px 6px rgba(0, 0, 0, 1), 0 0 12px 10px rgba(0, 0, 0, 0), 0 0 0 0 rgba(0, 0, 0, 1);
}

#zcwMiniButton #zcwMiniButtonMain:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url(../images/mini.png);
  background-repeat: no-repeat;
  background-position: center center;
}

#zcwMiniButton:hover::before {
  transform: scaleY(1);
}

.z-c-m__button {
  display: none;
}

.z-c-m__phone {
  display: flex;
  margin-right: 15px;
  position: relative;
}

#zcwMiniButton:hover path {
  fill: var(--color-primary);
}

.z-c-m__text {
  position: relative;
  width: 170px;
}

#zcwMiniButton:hover .z-c-m__text {
  color: var(--color-primary);
}

.z-m-w__term-content {
  display: none;
  height: 200px;
  overflow: auto;
}

.z-m-w__term-content--active {
  display: flex;
}

.z-m-w__img {
  position: absolute;
  top: 42px;
  left: 104px;
  display: flex;
  width: 7%;
  aspect-ratio: 1 / 1;
  height: auto;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
}

.z-m-w__img img {
  object-fit: contain;
  width: 100%;
}

.zcwPopup-form form {
  position: relative;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0;
}

.zcwPopup-form form * {
  display: none;
}

.zcwPopup-form form:before {
  content: '';
  background-image: url("../images/phone.svg");
  background-repeat: no-repeat;
  background-size: 24px;
  display: flex;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 18px;
  left: 15px;
}

.zcwPopup-form input {
  width: 100%;
  height: 44px;
  background-color: #fff;
  color: var(--color-title);
  border-radius: 8px;
  border: 1px solid var(--color-text);
  padding: 10px 16px 10px 48px;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.zcwPopup-form input[name="n"] {
  display: flex;
  width: 100%;
}

.zcwPopup-form select {
  display: flex;
  width: calc(33.3% - 10px);
  height: 44px;
  background-color: #fff;
  color: var(--color-title);
  border-radius: 8px;
  border: 1px solid var(--color-text);
  padding: 10px 16px 10px 16px;
  outline: none;
}

.zcwPopup-form select option {
  display: flex;
}

.zcwPopup-form button {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 100%;
  height: 57px;
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  padding: 20px 32px;
  min-height: 57px;
  color: #fff;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  background-size: 400%;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.zcwPopup-form button::before {
  content: "";
  background: #fff;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: scaleY(0);
  transform-origin: 0 100%;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  transition: all 0.5s;
}

.z-m-w__terms {
  width: 100%;
  display: flex;
  font-size: 14px;
  line-height: 1.5;
}

.zcwPopup-form .z-m-w__terms {
  display: flex;
  align-items: center;
}

.zcwPopup-form .z-m-w__terms * {
  display: flex;
}

.zcwPopup-form input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 2px;
  background: transparent;
  border: 2px solid var(--color-text);
  cursor: pointer;
  transition: all 0.3s;
}

.zcwPopup-form input[type="checkbox"]:checked {
  background-color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.z-m-w__link {
  margin-left: 5px;
  text-decoration: underline;
  color: var(--color-primary);
  cursor: pointer;
}

.z-m-w__label {
  margin-right: 5px;
}

#zcwPopup-error + span {
  display: none;
  color: red;
  font-size: 14px;
}

[data-text-key="agreement_content"] {
  font-size: 14px;
}

.z-c-m__close {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 30px;
  height: 30px;
  background-image: url(../images/close.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
  border-radius: 50%;
  border: 1px solid #E7E7EA;
  background-color: rgba(255, 255, 255, 0.80);
  box-shadow: 0px 8px 48px 0px rgba(21, 33, 81, 0.08);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

@media (max-width: 991px) {
  .zcwPopup {
    padding: 20px;
  }

  .z-m-w__img {
    top: 20px;
    left: 20px;
  }

  .zcwPopup-title {
    font-size: 20px;
  }

  .zcwPopup-description {
    font-size: 12px;
  }

  .zcwPopup-form input[name="n"] {
    font-size: 12px;
  }

  .zcwPopup-form select {
    font-size: 12px;
  }
}
