:root {
  --cookie-ink: #3f3022;
  --cookie-ink-2: #6b5241;
  --cookie-bg: #fbf6f1;
  --cookie-card: #ffffff;
  --cookie-accent: #8b6a52;
  --cookie-accent-2: #b89578;
  --cookie-radius: 18px;
  --cookie-shadow-lg: 0 10px 22px rgba(0, 0, 0, 0.08);
}

#cookieBanner.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9998;
  background: var(--cookie-card);
  border-radius: var(--cookie-radius);
  padding: 24px;
  width: calc(100% - 48px);
  max-width: 420px;
  box-shadow: var(--cookie-shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#cookieBanner.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-header h3 {
  margin: 0;
  font-family: "The Seasons", "Playfair Display", serif;
  font-weight: 600;
  color: var(--cookie-ink);
  font-size: 22px;
}

.cookie-close-btn {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--cookie-ink-2);
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}

.cookie-close-btn:hover {
  color: var(--cookie-ink);
}

.cookie-text {
  margin: 0;
  font-size: 14px;
  color: var(--cookie-ink-2);
  line-height: 1.5;
  font-family: "Inter", sans-serif;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.cookie-actions button {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--cookie-accent);
  color: var(--cookie-accent);
}

.btn-outline:hover {
  background: var(--cookie-bg);
}

.btn-primary {
  background: var(--cookie-accent);
  border: 1px solid var(--cookie-accent);
  color: white;
}

.btn-primary:hover {
  background: var(--cookie-accent-2);
  border-color: var(--cookie-accent-2);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

@media (max-width: 640px) {
  #cookieBanner.cookie-banner {
    bottom: 16px;
    left: 16px;
    width: calc(100% - 32px);
    max-width: none;
    padding: 20px;
  }

  .cookie-actions {
    flex-direction: column;
  }
}
