#cookie-consent-banner[hidden] { display: none; }
#cookie-consent-banner {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 24px; background: rgba(28,58,46,.52);
}
body.cookie-consent-open { overflow: hidden; }
.cookie-consent-card {
  width: min(100%, 680px); max-height: calc(100vh - 48px); overflow-y: auto;
  padding: 32px; background: var(--bg-cream, #F2EDE6);
  border-top: 4px solid var(--green-btn, #48866C);
  color: var(--text, #1C1C1A); box-shadow: 0 18px 60px rgba(0,0,0,.24);
}
.cookie-consent-kicker {
  margin-bottom: 10px; color: var(--green-btn, #48866C); font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
}
.cookie-consent-title {
  margin-bottom: 12px; font-family: var(--font-serif, Georgia, serif);
  font-size: clamp(28px, 4vw, 38px); font-weight: 100; line-height: 1.1;
}
.cookie-consent-copy { color: var(--text-mid, #3D3830); font-size: 14px; line-height: 1.65; }
.cookie-consent-copy a { color: var(--green-btn, #48866C); }
.cookie-consent-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px;
}
.cookie-consent-btn,
.cookie-consent-settings-trigger,
.cookie-consent-save {
  min-height: 48px; padding: 12px 16px; border: 1px solid var(--green-btn, #48866C);
  font-family: var(--font-sans, system-ui, sans-serif); font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s;
}
.cookie-consent-btn { background: var(--green-btn, #48866C); color: #fff; }
.cookie-consent-btn:hover { background: var(--green, #2D7A4F); border-color: var(--green, #2D7A4F); }
.cookie-consent-btn--reject { background: transparent; color: var(--green-btn, #48866C); }
.cookie-consent-btn--reject:hover,
.cookie-consent-settings-trigger:hover { background: rgba(72,134,108,.1); }
.cookie-consent-settings-trigger {
  width: 100%; margin-top: 10px; background: transparent; color: var(--green-btn, #48866C);
}
.cookie-consent-settings[hidden] { display: none; }
.cookie-consent-settings { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(61,56,48,.18); }
.cookie-consent-settings-title { margin-bottom: 12px; font-family: var(--font-sans, system-ui, sans-serif); font-size: 13px; font-weight: 600; }
.cookie-consent-category {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 14px 0; border-bottom: 1px solid rgba(61,56,48,.12);
}
.cookie-consent-category:last-of-type { border-bottom: 0; }
.cookie-consent-category-copy { color: var(--text-mid, #3D3830); font-size: 13px; line-height: 1.5; }
.cookie-consent-category-copy strong { display: block; margin-bottom: 3px; color: var(--text, #1C1C1A); font-weight: 600; }
.cookie-consent-category input { width: 20px; height: 20px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--green-btn, #48866C); }
.cookie-consent-required { color: var(--text-light, #6B6355); font-size: 12px; line-height: 1.5; }
.cookie-consent-settings-actions { display: flex; justify-content: flex-end; margin-top: 18px; }
.cookie-consent-save { background: var(--green-btn, #48866C); color: #fff; }
.cookie-consent-save:hover { background: var(--green, #2D7A4F); border-color: var(--green, #2D7A4F); }

@media (max-width: 520px) {
  #cookie-consent-banner { padding: 12px; }
  .cookie-consent-card { padding: 24px 20px; max-height: calc(100vh - 24px); }
  .cookie-consent-actions { gap: 8px; }
  .cookie-consent-btn,
  .cookie-consent-settings-trigger,
  .cookie-consent-save { padding-inline: 10px; font-size: 10px; }
}
