/* ==========================================================================
   Блок: Cookie-баннер (.b-cookie-banner)
   Плавающая плашка снизу. Появление/скрытие — классы .is-visible/.is-hiding
   (управляет assets/js/remote.js).
   ========================================================================== */

.b-cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1150;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 560px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 16px 44px rgba(59, 52, 55, 0.16);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.b-cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.b-cookie-banner.is-hiding {
  opacity: 0;
  transform: translateY(10px);
}

.b-cookie-banner__text {
  font-size: 13.5px;
  line-height: 1.55;
  color: #5C5450;
}

.b-cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .b-cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 18px;
  }

  .b-cookie-banner__actions {
    justify-content: flex-end;
  }

  /* Пока баннер виден, поднимаем плавающую кнопку бота выше плашки */
  body.has-cookie-banner .b-neuro-bot {
    bottom: 176px;
  }
}
