.cookie-banner[hidden], .cookie-settings[hidden] { display: none; }
.cookie-banner {
  position: fixed;
  z-index: 1000;
  bottom: 16px;
  left: 16px;
  right: 16px;
  width: min(680px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid #e4dece;
  border-radius: 20px;
  background: #fffdf8;
  color: #131416;
  box-shadow: 0 8px 40px #0003;
  font-size: 14px;
  line-height: 1.6;
}
.cookie-banner h2 { margin: 0 0 8px; font-size: 22px; }
.cookie-banner p { margin: 0 0 18px; }
.cookie-banner a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; }
.cookie-actions button {
  flex: 1;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #c99100;
  border-radius: 12px;
  background: #f4bb0a;
  color: #131416;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.cookie-settings {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.cookie-banner :focus-visible, .cookie-settings:focus-visible {
  outline: 3px solid #131416;
  outline-offset: 3px;
}
.consent-footer { padding-top: 16px; padding-bottom: 24px; }
@media (max-width: 560px) {
  .cookie-banner { padding: 18px; font-size: 13px; }
  .footer-bottom > div { flex-wrap: wrap; }
}

@media (max-width: 760px) {
  .cookie-banner {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 100px - env(safe-area-inset-bottom, 0px));
  }
}
