/* Cookie consent — bottom sheet, equal-prominence actions, no CLS */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1800;
  max-height: 40vh;
  overflow: auto;
  background: var(--sage-50, #f2f5ee);
  color: var(--ink, #1f2a1c);
  box-shadow: 0 -8px 32px rgba(31, 42, 28, 0.18);
  border-top: 1px solid rgba(31, 42, 28, 0.12);
  padding: 16px clamp(16px, 4vw, 28px) calc(16px + env(safe-area-inset-bottom, 0px));
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.cookie-banner__copy h2 {
  font-family: var(--ff-display, Georgia, serif);
  font-size: clamp(20px, 2.4vw, 28px);
  margin: 0 0 6px;
  font-weight: 500;
}
.cookie-banner__copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft, #3c4836);
  max-width: 70ch;
}
.cookie-banner__copy a { color: var(--brand, #8b4513); font-weight: 700; }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.cookie-banner__actions .btn-ar {
  flex: 1 1 140px;
  min-height: 48px;
  justify-content: center;
}
.cookie-banner__settings {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(31, 42, 28, 0.1);
}
.cookie-banner__settings[hidden] { display: none !important; }
.cookie-banner__toggle {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  margin: 0 0 12px;
}
.cookie-banner__toggle input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand, #8b4513);
}
@media (max-width: 560px) {
  .cookie-banner { max-height: 40vh; }
  .cookie-banner__actions .btn-ar { flex: 1 1 100%; }
}
