/* Баннер согласия на cookie. Цвета и шрифт — из style.css:
   фон подвала #0c2733, акцент #A2722F (hover #C2842E), Manrope, кнопки с радиусом 16px.
   z-index ниже .modal (115): окно входа/регистрации открывается поверх баннера. */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  padding: 0 16px 16px;
  font-family: "Manrope", sans-serif;
  pointer-events: none;
}
.cookie-consent[hidden] {
  display: none;
}
.cookie-consent__inner {
  pointer-events: auto;
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 32px;
  background: #0c2733;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}
.cookie-consent__text {
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}
.cookie-consent__title {
  font-family: "SangBleu Sunrise", sans-serif;
  font-size: 20px;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 8px;
}
.cookie-consent__text p {
  margin: 0 0 6px;
}
.cookie-consent__text p:last-child {
  margin-bottom: 0;
}
.cookie-consent__text b {
  font-weight: 600;
  color: #fff;
}
.cookie-consent__text a {
  color: #EBDBC2;
  text-decoration: underline;
}
.cookie-consent__text a:hover {
  color: #fff;
}
.cookie-consent__buttons {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-consent__btn {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 16px;
  border: 1px solid #A2722F;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.cookie-consent__btn--accept {
  background: #A2722F;
  color: #fff;
}
.cookie-consent__btn--necessary {
  background: transparent;
  color: #fff;
}
.cookie-consent__btn:focus-visible {
  outline: 2px solid #EBDBC2;
  outline-offset: 2px;
}
@media (hover: hover) {
  .cookie-consent__btn--accept:hover {
    background: #C2842E;
    border-color: #C2842E;
  }
  .cookie-consent__btn--necessary:hover {
    background: rgba(162, 114, 47, 0.25);
  }
}
@media (max-width: 1024px) {
  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 24px;
  }
  .cookie-consent__buttons {
    flex: 0 0 auto;
    flex-direction: row;
  }
}
@media (max-width: 767px) {
  .cookie-consent {
    padding: 0 8px 8px;
  }
  .cookie-consent__inner {
    padding: 16px;
    gap: 12px;
  }
  .cookie-consent__text {
    font-size: 13px;
    max-height: 45vh;
    overflow-y: auto;
  }
  .cookie-consent__title {
    font-size: 17px;
  }
  .cookie-consent__buttons {
    flex-direction: column;
    gap: 8px;
  }
  .cookie-consent__btn {
    min-height: 44px;
    font-size: 15px;
  }
}
