.popup1 {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
  background: rgba(20, 22, 24, 0.8);
  z-index: 999;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  display: none;
}

.popup1.cookies {
  height: 100%;
  z-index: 9999999999;
  opacity: 1;
}

.cookies .cookies__wrapper {
  background: #fff;
  padding: 48px;
  max-height: 760px;
  max-width: 736px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.cookies-list__item_text-wrapper {
  max-width: 520px;
}

.cookies__title {
  color: #777;
  text-align: center;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 54px;
  letter-spacing: 0.72px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.cookies-list__item {
  display: flex;
  gap: 44px;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #BEC7CE;
}

.cookies-list__item_title {
  color: #777;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 90%; /* 18px */
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cookies-list__item_text {
  color: #777;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 19.2px */
  letter-spacing: -0.48px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 14px;
}

.switch input {display:none;}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 0;
  bottom: -4px;
  box-shadow: 0px 4px 12px 0px rgba(58, 75, 136, 0.18);
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .switch-slider {
  background-color: #FFF0C4;
}

input:disabled + .switch-slider {
  background-color: #FFF0C4;
  opacity: 0.5;
}

input:focus + .switch-slider {
  box-shadow: 0 0 1px #FFF0C4;
}

input:checked + .switch-slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.switch-slider.round {
  border-radius: 34px;
}

.switch-slider.round:before {
  border-radius: 50%;
}

.cookies .confirm-btn__block {
  justify-content: center;
  margin-top: 48px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cookies .confirm-btn__block .btn--transparent {
  height: 47px;
}

.cookies .confirm-btn__block .confirm-btn {
  width: 189px;
  padding: 12px 0;
  color: #FFF;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.cookies .confirm-cookie {
  max-width: 560px;
  text-align: center;
  margin: 0 auto;
  margin-top: 36px;
}

.cookie-check {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 50%;
  bottom: 2rem;
  z-index: 999;
  padding: 30px;
  transition: .3s;
  transform: translate(-50%,0);
  gap: 0 48px;
  opacity: 1;
  visibility: visible;
  width: calc(100% - 20px);
  max-width: 1300px;
  color: #101010;
  background: #FFF0C4;
  border-radius: 14px;
}

.cookie-link {
  color: inherit;
  text-decoration-line: underline;
}

.cookie-check .btn {
  width: 200px;
}

.im-container-wrapper {
  display: flex;
  align-items: center;
}

.cookie-check__text {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
  letter-spacing: -0.48px;
  flex-basis: 44%;
}

.cookie-check__text a {
  color: inherit;
  text-decoration-line: underline;
}

.cookie-check .confirm-btn {
  padding: 0 32px;
}

.cookie-check__buttons {
  display: flex;
  gap: 1.2rem;
  margin-left: auto;
}

.cookie-check__buttons .button {
  font-size: 18px;
  font-weight: 500;
  padding: 17px 2.4rem;
  color: #fff;
  transition: .3s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cookie-check__buttons .confirm-btn {
  width: 200px;
}

.cookie-check__buttons .confirm-btn.confirm-btn-cookie {
  background: #00ADBB;
  box-shadow: 0px 12px 20px 0px rgba(42, 146, 230, 0.25);
}

.cookie-check__buttons .confirm-btn.decline-btn-cookie {
  background: #2A92E6 !important;
  box-shadow: 0px 12px 20px 0px rgba(0, 173, 187, 0.25) !important;
}

.cookie-check__buttons .button.is-setings {
  background: none;
  border-color: transparent;
  color: #101010;
  max-width: 100%;
}

@media(max-width: 1260px) {
  .im-container-wrapper {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
  }

  .cookie-check__text {
    flex-basis: 100%;
    text-align: center;
  }

  .cookie-check__buttons {
    margin-left: initial;
  }
}

@media screen and (max-width: 780px) {
  .cookie-check {
    bottom: 8rem;
    flex-direction: column;
    gap: 1rem 0;
    text-align: center;
  }

  .cookie-check__buttons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .im-container {
    width: 100%;
    margin-right: 17px;
  }

  .cookie-check__text a {
    display: block;
  }
}

@media screen and (max-width: 500px) {
  .cookie-check__buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
  .cookie-check__buttons .button.is-setings {
    max-width: 217px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
  }

  .popup1.cookies .btn,
  .cookie-check .btn {
    width: 220px !important;
    height: 40px;
    padding: 0 !important;
  }

  .cookies .confirm-btn__block .btn--transparent {
    height: 40px;
  }
}

@media (max-height: 1480px) {
  .cookies .cookies__wrapper {
    max-height: 97%;
  }
}

@media (max-width: 769px) {
  .cookies .cookies__wrapper {
    padding: 15px;
    max-width: 90%;
  }

  .cookies__title {
    font-size: 27px;
    line-height: 37px;
  }

  .cookies-list__item_text-wrapper {
    max-width: 215px;
  }

  .is-setings {
    width: 100%;

    .decline-btn-cookie {
      height: 43px;
    }
  }

}

._orientationRight__t_pik.wrap__lNRsh {
  z-index: 99;
}

@media(max-width: 600px) {
  .cookies .confirm-btn__block .btn {
    width: initial !important;
  }
}

.main {
  overflow-x: hidden;
}


.modal__agree input[type="checkbox"] {
    width: 24px;
    height: 24px;
    z-index: 9999999;
    cursor: pointer;
}
