#cookie-banner {
  position: sticky;
  bottom: 0;
  z-index: 12;
  flex: none;
  max-height: 55vh;
  max-height: 55dvh;
  overflow: auto;
  border-top: 3px solid #ff6c30;
  background: #fffaf3;
  color: #181715;
}
#cookie-banner[hidden], [data-cookie-settings][hidden] { display: none; }
.cookie-inner {
  width: min(1184px, calc(100% - 2.3rem));
  margin: 0 auto;
  padding: .95rem 0 max(.95rem, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.cookie-copy h2 { margin: 0 0 .2rem; font-family: inherit; font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
.cookie-copy p { margin: 0; max-width: 63ch; font-size: .95rem; line-height: 1.4; }
.cookie-copy a { color: #8c3510; text-decoration: underline; white-space: nowrap; }
.cookie-controls { display: grid; gap: .35rem; justify-items: start; flex-shrink: 0; }
.cookie-controls label { display: flex; align-items: center; min-height: 32px; gap: .55rem; font-size: .97rem; line-height: 1.35; cursor: pointer; }
.cookie-controls input { margin: 0; width: 1.12rem; height: 1.12rem; flex: none; accent-color: #181715; }
.cookie-controls button { min-height: 44px; padding: .5rem 1rem; border: 1px solid #181715; border-radius: 2px; background: #181715; color: #fffaf3; font: inherit; font-weight: 600; cursor: pointer; }
.cookie-controls button:hover { background: #37332f; }
#cookie-banner :focus-visible { outline: 2px solid #a53d0f; outline-offset: 2px; }
[data-cookie-settings] { appearance: none; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: start; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.footer [data-cookie-settings]:hover { color: #ffab83; }
@media (max-width: 700px) {
  .cookie-inner { flex-direction: column; align-items: stretch; gap: .4rem; }
  .cookie-controls { display: flex; align-items: center; justify-content: space-between; gap: .3rem 1rem; flex-wrap: wrap; }
}
@media print { #cookie-banner, [data-cookie-settings] { display: none; } }
