.cookie {
  width: 100%;
  background: #fff;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1000;
  transition: 0.3s;
  box-shadow: 0px -8px 23px 0px rgba(34, 60, 80, 0.2);
}

.cookie._hidden {
  opacity: 0;
  visibility: hidden;
  backface-visibility: hidden;
}

.cookie .wrapp {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 25px;
}

.cookie-wrp {
  display: flex;
  padding: 10px 0;
  align-items: center;
}

.cookie-info {
  padding-right: 20px;
}

.cookie-zag {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}

.cookie-desc a {
  margin: 0 5px;
  transition: 0.3s;
  color: #000;
  font-weight: bold;
  transition: color time ease-in-out;
}

.cookie-desc a:hover {
  text-decoration: underline;
}

.cookie-desc a:hover {
  border-color: transparent;
}

.cookie-btns {
  display: flex;
  gap: 10px;
}

.cookie-btn__orange {
  border: 1px solid #818181;
  color: #fff;
  background-color: #818181;
  text-align: center;
  padding: 10px 15px;
  transition: 0.3s;
  cursor: pointer;
  margin-right: 10px;
  min-width: 200px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-btn__orange:hover {
  color: #000;
  background-color: #fff;
}

.cookie-btn__black {
  border: 1px solid #818181;
  text-align: center;
  padding: 10px 15px;
  transition: 0.3s;
  cursor: pointer;
  font-size: 14px;
  min-width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

.cookie-btn__black:hover {
  background-color: #818181;
  color: #fff;
}

@media screen and (max-width: 990px) {
  .cookie-btn__orange {
    padding: 10px;
  }
  .cookie-btn__black {
    padding: 10px;
  }
}

@media screen and (max-width: 800px) {
  .cookie-wrp {
    flex-wrap: wrap;
  }
  .cookie-info {
    width: 100%;
    padding-right: 0;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 600px) {
  .cookie-btns {
    flex-wrap: wrap;
  }
  .cookie-btn__orange {
    margin-bottom: 10px;
  }
}




#cookie-modal.popup {
    position: fixed;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    overflow: hidden;
	background: transparent;
}

#cookie-modal.popup._active {
    opacity: 1;
    pointer-events: all;
    display: flex;
}

#cookie-modal .popup-content {
    max-width: 800px;
    width: 100%;
    max-height: 100%;
    overflow: hidden auto;
    z-index: 1;
    margin: 0 auto;
}

#cookie-modal .popup-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.6);
}

#cookie-modal .popup-container {
    position: relative;
    width: 100%;
    background: #fff;
    margin: 0 auto;
    padding: 50px;
    z-index: 1;
    overflow: auto;
}

#cookie-modal .checkbox-with-text {
  display: -ms-grid;
  display: grid;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -ms-grid-columns: auto auto;
  grid-template-columns: auto auto;
  gap: 8px;
  cursor: pointer
}

#cookie-modal .checkbox-text {
  -webkit-transition: color .3s ease-in-out,opacity .3s ease-in-out;
  -o-transition: color .3s ease-in-out,opacity .3s ease-in-out;
  transition: color .3s ease-in-out,opacity .3s ease-in-out
}

#cookie-modal .checkbox [type=checkbox] {
  display: none
}

#cookie-modal .checkbox [type=checkbox]:checked~.checkbox-text {
  color: #000
}

#cookie-modal .checkbox [type=checkbox]:disabled~.checkbox-marker,
#cookie-modal .checkbox [type=checkbox]:disabled~.checkbox-text  {
  pointer-events: none;
  opacity: .5
}

#cookie-modal .checkbox-marker {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid #333333;
  -webkit-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  cursor: pointer;
  position: relative
}


#cookie-modal .checkbox-marker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -webkit-transition: opacity .3s ease-in-out;
  -o-transition: opacity .3s ease-in-out;
  transition: opacity .3s ease-in-out;
  z-index: 0;
}

#cookie-modal .checkbox-marker::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: inherit;
  -o-transition: inherit;
  transition: inherit;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  background-image: url(/bitrix/components/ml/cookies.info/templates/modal/img/done.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain
}

#cookie-modal .checkbox [type=checkbox]:checked~.checkbox-marker::before,
#cookie-modal .checkbox [type=radio]:checked~.checkbox-marker::before {
  opacity: 1
}

#cookie-modal .checkbox [type=checkbox]:checked~.checkbox-marker::after,
#cookie-modal .checkbox [type=radio]:checked~.checkbox-marker::after {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1)
}

#cookie-modal .popup-content {
  max-width: 800px;
}

#cookie-modal .popup-review__title h3 {
  margin-bottom: 15px;
}

#cookie-modal .popup-cookie__text {
  color: #333;
  font-size: .88rem;
}

#cookie-modal .popup-cookie__item-desc {
  color: #333;
  font-size: .75rem;
  font-weight: 300;
}

#cookie-modal .popup-cookie {
  display: -ms-grid;
  display: grid;
  gap: 15px;
}

#cookie-modal .popup-cookie__text {
  display: -ms-grid;
  display: grid;
  gap: 15px;
}

#cookie-modal .popup-cookie__form {
  display: -ms-grid;
  display: grid;
  gap: 20px;
}

#cookie-modal .popup-cookie__item-group {
  display: -ms-grid;
  display: grid;
  gap: 15px;
}

#cookie-modal .checkbox [type=checkbox]~.checkbox-text h6 {
  font-weight: 400;
    margin-bottom: 0;
}

#cookie-modal .popup-close {
  position: absolute;
  margin: 20px;
  right: 0;
  top: 0;
  padding: 11px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  -webkit-transition: stroke .3s ease-in-out,border-color .3s ease-in-out,background-color .3s ease-in-out;
  -o-transition: stroke .3s ease-in-out,border-color .3s ease-in-out,background-color .3s ease-in-out;
  transition: stroke .3s ease-in-out,border-color .3s ease-in-out,background-color .3s ease-in-out;
  stroke: #00aeae;
  opacity: .8;
  stroke-width: 1px;
  z-index: 2
}

#cookie-modal .popup-close .icon {
  display: block;
  width: 24px;
  height: 24px
}

#cookie-modal .popup-close:hover {
  opacity: 1;
}

#cookie-modal .popup-cookie__text .link-underline-cookie {
  text-decoration: underline;
  display: inline;
  color: var(--blue);
}

#cookie-modal .popup-cookie__text .link-underline-cookie:hover {
  text-decoration: none;
} 

.cookie .popup-text-info__btn {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    min-width: 275px;
    margin: 0;
}

.popup-text-info__btn .agree_button_cookie, 
.popup-text-info__btn .cancel_button_cookie {
    max-width: 130px;
}