/* Spill — cookie consent banner */

.cc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9998;
  max-width: 580px;
  margin-left: auto;
  background: #19532b;
  color: #f3e8cc;
  padding: 20px 22px;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.55;
}

.cc-banner.cc-visible {
  transform: translateY(0);
  opacity: 1;
}

.cc-banner p {
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.cc-banner a {
  color: #ffca26;
  text-decoration: underline;
}

.cc-banner .cc-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cc-banner button {
  font: inherit;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  border: 0;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 0.2s, background 0.2s;
}

.cc-banner button:hover {
  transform: translateY(-1px);
}

.cc-banner .cc-accept {
  background: #ffca26;
  color: #19532b;
  font-weight: 600;
}

.cc-banner .cc-reject {
  background: transparent;
  color: #f3e8cc;
  border: 1px solid rgba(243, 232, 204, 0.4);
}

.cc-banner .cc-reject:hover {
  background: rgba(243, 232, 204, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .cc-banner { transition: none; }
}
