.cookie-banner {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1100px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  margin-inline: auto;
  padding: 28px;
  border: 1px solid #d9c9cc;
  border-top: 4px solid #b95968;
  border-radius: 12px;
  background: #fff;
  color: #363f40;
  box-shadow: 0 8px 40px #1f2f3130;
  font-size: 17px;
  line-height: 1.6;
}

.cookie-banner[hidden] { display: none; }
.cookie-banner__content { flex: 1; min-width: 0; }
.cookie-banner h2 { margin: 0 0 10px; font-size: 24px; color: #1f2f31; }
.cookie-banner p { margin: 0 0 12px; }
.cookie-banner .cookie-banner__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }
.cookie-banner a { color: #873e4b; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__links a { display: inline-flex; align-items: center; min-height: 44px; }

.cookie-banner__confirm {
  flex-shrink: 0;
  min-height: 48px;
  padding: 12px 28px;
  border: 2px solid #873e4b;
  border-radius: 6px;
  background: #873e4b;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.cookie-banner__confirm:hover { background: #6d303c; border-color: #6d303c; }
.cookie-notice-link {
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: #873e4b;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-banner :focus-visible,
.cookie-notice-link:focus-visible { outline: 3px solid #1f2f31; outline-offset: 4px; }

@media (max-width: 600px) {
  .cookie-banner { inset: auto 12px 12px; padding: 20px; gap: 16px; flex-direction: column; align-items: stretch; }
  .cookie-banner h2 { font-size: 21px; }
}

@media print {
  .cookie-banner, .cookie-notice-link { display: none !important; }
}
