.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  width: min(720px, calc(100vw - 28px));
  padding: 16px 18px;
  color: var(--text, #f3f0e6);
  background: rgba(13, 17, 24, 0.94);
  border: 1px solid rgba(235, 194, 54, 0.24);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted, #c5c0b1);
}

.cookie-banner__text strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  color: var(--text, #f3f0e6);
}

.cookie-banner__text a {
  color: var(--brand, #efc53a);
  text-decoration: none;
}

.cookie-banner__text a:hover {
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cookie-banner__button {
  min-width: 118px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #171207;
  background: linear-gradient(135deg, var(--brand, #efc53a), var(--accent, #f3d65e));
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(239, 197, 58, 0.22);
}

.cookie-banner__button:hover {
  transform: translateY(-1px);
}

.cookie-banner__button--secondary {
  color: var(--text, #f3f0e6);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

body[data-theme="classic-light"] .cookie-banner {
  color: #18212f;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(38, 59, 92, 0.14);
  box-shadow: 0 18px 55px rgba(31, 60, 111, 0.14);
}

body[data-theme="classic-light"] .cookie-banner__button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand, #2f5fb8), var(--accent, #3b6fd1));
  box-shadow: 0 12px 28px rgba(47, 95, 184, 0.2);
}

body[data-theme="classic-light"] .cookie-banner__button--secondary {
  color: #18212f;
  background: rgba(24, 33, 47, 0.04);
  border-color: rgba(38, 59, 92, 0.14);
  box-shadow: none;
}

@media (max-width: 640px) {
  .cookie-banner {
    grid-template-columns: 1fr;
    bottom: 12px;
    padding: 15px;
  }

  .cookie-banner__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .cookie-banner__button {
    width: 100%;
  }
}
