.cookie-banner {
  position: fixed;
  z-index: 30;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 26px;
  align-items: center;
  max-width: 960px;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  margin-inline: auto;
  padding: 20px 24px;
  border: 1px solid #dbe4e9;
  border-radius: 20px;
  background: #fff;
  color: #153246;
  box-shadow: 0 8px 36px rgb(21 50 70 / 22%);
}
.cookie-banner[hidden],
.cookie-map-placeholder[hidden] { display: none; }
.cookie-banner h2 {
  margin: 0 0 4px;
  font: 700 23px/1.2 Georgia, serif;
}
.cookie-banner p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.45;
}
.cookie-banner a,
.cookie-footer-button {
  text-decoration: underline;
  text-underline-offset: .18em;
}
.cookie-banner a { font-size: 13px; }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cookie-button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #153246;
  border-radius: 999px;
  background: #fff;
  color: #153246;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}
.cookie-button:hover { background: #f8e8ee; }
.cookie-footer-button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}
.cookie-banner :focus-visible,
.cookie-footer-button:focus-visible,
.cookie-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.cookie-map { display: grid; }
.cookie-map-placeholder {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  min-height: 220px;
  padding: 28px;
  border: 1px solid #e9d9e1;
  border-radius: 24px;
  background: #fbf5f7;
  color: #153246;
  text-align: center;
}
.cookie-map-placeholder p { margin: 0; }
@media (max-width: 720px) {
  .cookie-banner {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }
  .cookie-actions > button { flex: 1 1 auto; }
}
