.cookie-consent[hidden] { display: none; }
.cookie-consent {
  position: fixed;
  z-index: 400;
  inset: auto 0 0;
  max-height: 80vh;
  max-height: 80dvh;
  overflow-y: auto;
  background: #fff;
  color: #080808;
  border-top: 1px solid #d5d5d5;
  box-shadow: 0 -4px 24px #00000014;
  padding: 24px 16px;
}
.cookie-consent__inner { max-width: 1200px; margin-inline: auto; }
.cookie-consent h2 { font-size: 1.25rem; line-height: 1.5; margin: 0 0 8px; }
.cookie-consent p { max-width: 75ch; font-size: 1rem; line-height: 1.5; margin: 0 0 8px; }
.cookie-consent a { color: inherit; text-decoration: underline; font-size: 1rem; }
.cookie-consent__options { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-block: 16px; }
.cookie-consent__options label { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 1rem; line-height: 1.5; cursor: pointer; }
.cookie-consent__options input { width: 24px; height: 24px; min-height: 24px; flex: 0 0 24px; accent-color: #080808; }
.cookie-consent__actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
.cookie-consent__actions button {
  min-height: 48px; padding: 12px 24px; border: 1px solid #080808; border-radius: 8px;
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.5;
  background: #fff; color: #080808; cursor: pointer;
}
.cookie-consent__actions button:hover { background: #f0f0f0; }
.cookie-preferences { background: transparent; color: inherit; border: 0; min-height: 44px; padding: 8px 0; font: inherit; font-size: 1rem; text-decoration: underline; cursor: pointer; }
.cookie-consent :focus-visible, .cookie-preferences:focus-visible { outline: 3px solid #0071c2; outline-offset: 4px; }
@media (min-width: 768px) {
  .cookie-consent { padding: 24px; }
  .cookie-consent__actions { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 800px; }
}
@media (min-width: 1024px) { .cookie-consent { padding-inline: 32px; } }
