/* Главный контейнер окна */
.cookie-notification-modal {
    max-width: 440px;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 99999;
    padding: 20px 30px;
    background-color: #ffffff;
    box-shadow: 0 10px 20px 0 rgba(0,0,0,0.1);
  }

  /* Контейнер внутренностей */
  .cookie-agree {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
  }

  /* Текст уведомления */
  .cookie-agree__text {
    font-weight: 300;
    line-height: 150%;
    text-align: center;
    margin-bottom: 20px;
  }

  /* Иконка вопроса (Тултип) - ОБЪЕДИНЕНО И ИСПРАВЛЕНО */
  .cookie-agree__question.tooltip {
    cursor: pointer;
    position: static;
    display: inline;
    opacity: 1;
    text-align: center;
  }

  .cookie-agree__question svg {
    display: inline-block;
    width: 16px !important;
    height: 16px !important;
    fill: #b4b4b4;
  }
  .cookie-agree__question.tooltip svg {
    display: inline;
    fill: #b4b4b4;
  }


  @media (max-width: 992px) {
    .cookie-agree__question.tooltip {
      display: none;
    }
  }

  .cookie-agree__question.tooltip .tooltip-content {
    display: none;
    position: absolute;
    background: #ffffff;
    color: #0c0d0e;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 9999;

}
.tooltip-content--cookie {
    left: 440px;
    top: 30%;
    bottom: auto;
    width: calc(100vw - 468px);
    min-height: auto;
    height: auto;
    font-size: 15px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
}
.tooltip-content--cookie p {
    margin: 0 !important;
    padding: 0 !important;
}
/* 2. Состояние НАВЕДЕНИЯ (:hover): показываем тултип */
.cookie-agree__question.tooltip:hover .tooltip-content {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

  /* Блок с кнопками */
  .cookie-agree__buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  /* Общие стили для кнопок */
  .cookie-agree__button {
    font-weight: 300;
    font-family: inherit;
    width: 100%;
    max-width: 20rem;
    min-height: auto;
    font-size: 1em;
    border: none !important;
    box-shadow: none !important;
    color: #fcfcfc;
    padding: 8px 15px;
    cursor: pointer;
    text-align: center;
  }

  .cookie-agree__button:not(:last-child) {
    margin-bottom: 10px;
  }

  /* Кнопка "Согласиться" */
  .button.button-agree {
    background: #03814D !important;
  }

  .button.button-agree:hover {
    background: #CEA45F !important;
  }

  .button.button-refuse {
    background: #017243;
  }

  .button.button-refuse:hover {
    background: #CEA45F !important;
  }

  a.cookie-agree__button__more {
    font-size: 16px;
    line-height: 22px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    color: #484848 !important;
    margin-top: 5px;
  }

  a.cookie-agree__button__more:hover {
    color: #CEA45F !important;
  }

  .cookie-agree__text a {
    color: #484848 !important;
  }

  .cookie-modal__close {
    background-color: transparent;
    border: none;
    position: absolute;
    top: 8px;
    right: 8px;
    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;
    -webkit-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    cursor: pointer;
    z-index: 5;
    width: 1.25rem;
    height: 1.25rem;
  }

  .cookie-modal__close:hover,
  .cookie-modal__close:focus {
    opacity: 0.7;
  }

  .cookie-modal__close::before,
  .cookie-modal__close::after {
    position: absolute;
    content: "";
    width: 1rem;
    height: 0.0625rem;
    background: #b4b4b4;
    border-radius: 3.125rem;
    display: block;
    transition: .3s;
  }

  .cookie-modal__close::before {
    transform: rotate(-45deg);
  }

  .cookie-modal__close::after {
    transform: rotate(45deg);
  }
