/* ── Cookie consent banner ──────────────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #0e1f3d; /* --navy */
  color: #faf6ee; /* --cream */
  padding: 16px 24px;
  box-shadow: 0 -4px 24px rgba(14, 31, 61, 0.25);
}

#cookie-banner[hidden] {
  display: none;
}

.cookie-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(250, 246, 238, 0.8);
  min-width: 200px;
}

.cookie-text a {
  color: #4fb3b8;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 18px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.cookie-btn--primary {
  background: #ff5a2c; /* --ember */
  color: white;
  border-color: #ff5a2c;
}

.cookie-btn--primary:hover {
  background: #e8451a;
  border-color: #e8451a;
}

.cookie-btn--ghost {
  background: transparent;
  color: rgba(250, 246, 238, 0.8);
  border-color: rgba(250, 246, 238, 0.3);
}

.cookie-btn--ghost:hover {
  border-color: rgba(250, 246, 238, 0.7);
  color: #faf6ee;
}

@media (max-width: 480px) {
  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}
