.popup {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  overflow-x: hidden;
  transition: all 0.8s;
  z-index: 333;
}

.popup.open {
  opacity: 1;
  visibility: visible;
}

.popup.open .popup__content {
  opacity: 1;
  transform: translate(0px, 0);
}

.popup__body {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
}

.popup__content {
  background-color: #fff;
  color: #000;
  max-width: 750px;
  width: 100%;
  position: relative;
  transition: all 0.8s;
  opacity: 0;
  transform: translate(0px, -100%);
}

.popup__close {
  position: absolute;
  top: 15px;
  right: 15px;
  text-decoration: none;
  width: 20px;
  height: 20px;
}
.popup__close::before, .popup__close::after {
  content: '';
  width: 22px;
  height: 2px;
  background-color: #464646;
  position: absolute;
  left: -1px;
  top: 9px;
  transform: rotate(45deg);
  transition: all 0.3s;
}
.popup__close::after {
  transform: rotate(-45deg);
}
.popup__close:hover::before, .popup__close:hover::after {
  background-color: #999;
}

.popup__title {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 10px;
  color: #0F3F94;
}

body.lock {
  overflow: hidden;
}


.offer-popup-content {}
.popup__img-col {
  width: 50%;
}
.offer-popup {
  height: 100%;
  position: relative;
  overflow: hidden;
}
.offer-popup img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.popup__form-col {
  width: 50%;
  padding: 40px 30px;
}
.popup__text {
  color: #404040;
  font-size: 14px;
  margin-bottom: 15px;
}
.popup__form input:not(input[type="submit"]) {
  border: none;
  border-bottom: 1px solid #BDBDBD;
  font-size: 14px;
  padding: 7px 0;
}
.popup__form .ks-form__inpup {
  margin-bottom: 20px;
}
.ks-form__pupup-btn {
  padding-top: 25px;
  margin-bottom: 20px;
}
.ks-form__pupup-btn input[type="submit"] {
  width: auto;
}

@media (max-width: 600px) {
  .popup__img-col {
    display: none;
  }
  .popup__form-col {
    width: 100%;
  }
  .popup__title {
    font-size: 24px;
  }
  .ks-form__pupup-btn {
    padding-top: 5px;
  }
}
@media (max-width: 380px) {
  .ks-form__pupup-btn input[type="submit"] {
    width: 100%;
  }
}


/*Video popup*/

.video-popup {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s;
  z-index: 333;
  overflow: hidden;
}
.video-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

.video-popup.open {
  opacity: 1;
  visibility: visible;
}

.video-popup.open .video-popup__content {
  opacity: 1;
  transform: translate(0px, 0);
}

.video-popup__body {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
}
.video-popup__content {
  background-color: #fff;
  color: #000;
  max-width: 750px;
  width: 100%;
  position: relative;
  transition: all 0.8s;
  opacity: 0;
  transform: translate(0px, -100%);
  z-index: 10;
}

.video-popup__video {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding-bottom: 56.25%;
}

.video-popup__video iframe, .video-popup__video video {
  width: 100%!important;
  height: 100%!important;
  position: absolute;
  top: 0;
  left: 0;
}
#about-video .popup__close {
  right: -40px;
  top: -40px;
}
#about-video .popup__close::before, #about-video .popup__close::after {
  background-color: #fff;
}
@media (max-width: 991px) {
  #about-video .popup__close {
    right: 0px;
  }
}



.ks-cookies {
  display: none;
  position: fixed;
  bottom: 0px;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 999;
}
.ks-cookies__container {
  align-items: center;
}
.ks-cookies__text {
  color: #000;
  font-size: 20px;
  padding-right: 80px;
  line-height: 1.3;
  padding-top: 3px;
  padding-bottom: 3px;
}
.ks-cookies .ks-cookies-btn {
  min-width: 175px;
}
.ks-cookies__btn-wrap {
  display: flex;
}
@media (min-width: 991px) {
  .ks-cookies-btn {
    font-size: 24px;
  }
}

.ks-cookies-btn--otkaz {
  background-color: #fff;
  color: #B1B1B1;
}
.ks-cookies-btn--otkaz:hover {
  background-color: #ccc;
  color: #000;
}

@media (max-width: 1440px) {
  .ks-cookies {
    padding: 20px 0;
  }
  .ks-cookies__text {
    font-size: 18px;
  }
}
@media (max-width: 991px) {
  .ks-cookies__container {
    flex-direction: column;
    align-items: flex-start;
  }
  .ks-cookies__text {
    margin-bottom: 20px;
    padding: 0;
  }
  .ks-cookies-btn--otkaz {
    margin-left: 20px;
  }
}
@media (max-width: 400px) {
  .ks-cookies-btn--otkaz {
    margin-left: 0px;
    margin-top: 20px;
  }
  .ks-cookies__btn-wrap {
    flex-direction: column;
  }
}

.order-product-popup {
  padding: 60px 30px;
  max-width: 440px;
}
.ks-form__btn {
  margin-bottom: 15px;
}
.ks-form__btn .solid-btn {
  padding: 15px 30px;
}

.popup-product-title {
  font-size: 22px;
  margin-bottom: 20px;
  line-height: 1.2;
}