/* Компактный cookie-бар: только Принять / Отклонить */
.ks-cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 100000;
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(28, 28, 30, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f5f5f7;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  font-size: 13px;
  line-height: 1.35;
  animation: ks-cookie-in 0.3s ease;
}
@keyframes ks-cookie-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.ks-cookie-banner[hidden] {
  display: none !important;
}
.ks-cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  flex-wrap: wrap;
}
.ks-cookie-banner__text {
  flex: 1 1 280px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}
.ks-cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ks-cookie-banner__actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  margin-left: auto;
}
.ks-cookie-banner__btn {
  appearance: none;
  cursor: pointer;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 10px 16px;
  min-width: 100px;
  transition: opacity 0.15s ease, background 0.15s ease;
}
.ks-cookie-banner__btn:hover {
  opacity: 0.92;
}
.ks-cookie-banner__btn--accept {
  border: none;
  background: #e23737;
  color: #fff;
}
.ks-cookie-banner__btn--reject {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
}
.ks-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.4;
  color: #333;
}
.ks-consent input {
  margin-top: 3px;
  flex-shrink: 0;
}
.ks-consent a {
  color: #e23737;
}
.ks-legal-place-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: #777;
}
.footer-block__policy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-block__policy-group-title {
  margin: 10px 0 4px;
  font-weight: 600;
  font-size: 13px;
  color: #888;
}
.footer-block__requisites {
  margin-top: 12px;
  font-size: 12px;
  color: #888;
  line-height: 1.4;
  max-width: 420px;
}
body.dark-theme .ks-consent {
  color: #ddd;
}
@media (max-width: 640px) {
  .ks-cookie-banner {
    left: 8px;
    right: 8px;
    bottom: 72px; /* выше FAB/чат */
    padding: 10px 12px;
  }
  .ks-cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .ks-cookie-banner__text {
    flex: 0 0 auto;
  }
  .ks-cookie-banner__actions {
    margin-left: 0;
    width: 100%;
  }
  .ks-cookie-banner__btn {
    flex: 1;
  }
}
