.cookie-banner {
  position: fixed;
  z-index: 9999;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-banner[hidden] { display: none; }

.cookie-banner__content {
  width: min(720px, 100%);
  padding: 24px;
  color: #173b3a;
  background: #fff;
  border: 1px solid #c8dddd;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(14, 59, 58, .24);
  pointer-events: auto;
}

.cookie-banner h2 { margin: 0 0 8px; color: #267e7c; font-size: 1.4rem; }
.cookie-banner p { margin: 0 0 10px; line-height: 1.5; }
.cookie-banner a, .cookie-settings-link { color: #267e7c; text-decoration: underline; }
.cookie-settings-link { padding: 0; font: inherit; cursor: pointer; background: none; border: 0; }
.cookie-preferences { margin: 16px 0; padding: 12px; background: #f2f8f8; border-radius: 8px; }
.cookie-option { display: block; margin: 8px 0; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cookie-button { padding: 10px 15px; border-radius: 7px; font: inherit; font-weight: 700; cursor: pointer; }
.cookie-button--primary { color: #fff; background: #267e7c; border: 1px solid #267e7c; }
.cookie-button--secondary { color: #173b3a; background: #fff; border: 1px solid #6c9492; }
.cookie-button:hover, .cookie-button:focus-visible { outline: 3px solid #8fd5d1; outline-offset: 2px; }

@media (max-width: 520px) {
  .cookie-banner { right: 8px; bottom: 8px; left: 8px; }
  .cookie-banner__content { padding: 18px; }
  .cookie-banner__actions .cookie-button { width: 100%; }
}
