/* Cookie consent banner — 152-ФЗ совместимый */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  padding: var(--s-4) var(--s-6);
  display: none;
  animation: cc-slide-up var(--t-normal) var(--e-out);
}
#cookie-consent.cc-visible { display: block; }
#cookie-consent .cc-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
}
#cookie-consent .cc-text {
  flex: 1;
  min-width: 280px;
  font-size: var(--fs-sm);
  color: var(--c-text);
  line-height: var(--lh-normal);
}
#cookie-consent .cc-text a {
  color: var(--c-primary-text);
  text-decoration: underline;
}
#cookie-consent .cc-btn {
  white-space: nowrap;
}
@keyframes cc-slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@media (max-width: 640px) {
  #cookie-consent {
    padding: var(--s-3) var(--s-4);
    bottom: calc(env(safe-area-inset-bottom, 0) + 64px); /* выше mobile-nav */
  }
  #cookie-consent .cc-inner { flex-direction: column; align-items: stretch; }
  #cookie-consent .cc-btn { width: 100%; }
}

/* Block C fix: банер не блокирует FAB снизу — pointer-events только на content box */
#cookie-consent {
  pointer-events: none;
}
#cookie-consent .cc-inner,
#cookie-consent .cc-btn,
#cookie-consent .cc-text,
#cookie-consent a {
  pointer-events: auto;
}
/* Когда баннер виден — поднимаем FAB чтобы не сливался визуально */
