.cookie-consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 27, 47, .58);
}
.cookie-consent-overlay.is-open { display: flex; }
.cookie-consent-dialog {
  width: min(100%, 720px);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: 30px;
  border-radius: 14px 42px 14px 42px;
  background: #fff;
  color: #213944;
  box-shadow: 0 24px 70px rgba(0, 27, 47, .28);
  font-family: "Nunito Sans", sans-serif;
}
.cookie-consent-kicker {
  margin: 0 0 8px;
  color: #004b2f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
}
.cookie-consent-dialog h2 {
  margin: 0 0 14px;
  color: #002b4f;
  font: 700 clamp(27px, 5vw, 36px)/1.2 Lora, serif;
}
.cookie-consent-dialog p { margin: 0 0 17px; line-height: 1.58; }
.cookie-consent-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0;
}
.cookie-consent-type {
  padding: 17px;
  border: 1px solid #dce4df;
  border-radius: 12px;
  background: #f7f5ef;
}
.cookie-consent-type strong {
  display: block;
  margin-bottom: 5px;
  color: #004b2f;
}
.cookie-consent-type span { display: block; font-size: 14px; line-height: 1.45; }
.cookie-consent-note { font-size: 14px; }
.cookie-consent-note a { color: #004b2f; font-weight: 800; }
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.cookie-consent-button {
  min-height: 48px;
  padding: 11px 18px;
  border: 2px solid #002b4f;
  border-radius: 10px;
  background: #002b4f;
  color: #fff;
  cursor: pointer;
  font: 800 15px/1.2 "Nunito Sans", sans-serif;
}
.cookie-consent-button:hover,
.cookie-consent-button:focus-visible { filter: brightness(1.14); }
.cookie-consent-button.secondary { background: #fff; color: #002b4f; }
.cookie-consent-status {
  margin-top: 18px !important;
  color: #004b2f;
  font-size: 14px;
  font-weight: 700;
}
.cookie-settings-link { cursor: pointer; }
@media (max-width: 600px) {
  .cookie-consent-overlay { padding: 12px; }
  .cookie-consent-dialog { padding: 24px 20px; border-radius: 12px 30px 12px 30px; }
  .cookie-consent-types { grid-template-columns: 1fr; }
  .cookie-consent-actions { flex-direction: column; }
  .cookie-consent-button { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .cookie-consent-overlay.is-open .cookie-consent-dialog {
    animation: cookie-dialog-in .22s ease-out both;
  }
  @keyframes cookie-dialog-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
