.cookie-banner, .cookie-dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 38px #1d214235;
}
.cookie-banner {
  position: fixed;
  z-index: 30;
  inset-inline: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  max-width: 62rem;
  margin-inline: auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
}
.cookie-banner h2, .cookie-dialog h2 { margin: 0; font-size: 1.25rem; }
.cookie-banner p, .cookie-dialog p { margin: .35rem 0 0; color: var(--muted); }
.cookie-banner a { text-decoration: underline; text-underline-offset: .18em; }
.cookie-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.cookie-banner .cookie-actions { flex-shrink: 0; }
.cookie-choice {
  min-height: 44px;
  padding: .45rem .8rem;
  border: 1px solid var(--brand-indigo);
  border-radius: 6px;
  background: var(--brand-indigo);
  color: white;
  font-size: .9rem;
  font-weight: 700;
}
.cookie-choice:hover { background: var(--brand-dark); }
.cookie-settings {
  min-height: 44px;
  padding: 0 .25rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
  font-size: .9rem;
}
.cookie-dialog {
  width: min(34rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: clamp(1rem, 3vw, 1.5rem);
  overflow: auto;
}
.cookie-dialog::backdrop { background: #17173599; }
.cookie-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .15rem 1rem;
  padding-block: .65rem;
  border-bottom: 1px solid var(--line);
}
.cookie-option span { grid-column: 1; color: var(--muted); font-size: .9rem; }
.cookie-option input { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 1.25rem; height: 1.25rem; accent-color: var(--brand-indigo); }
.cookie-dialog .cookie-actions { margin-top: 1rem; }
.cookie-placeholder { padding: .75rem 1rem; color: var(--muted); background: var(--brand-light); border-radius: 8px; }
.cookie-placeholder p { margin: 0; }
.contact-map .cookie-placeholder { margin: 0 1rem 1rem; }
@media (max-width: 850px) {
  .cookie-banner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 420px) {
  .cookie-banner { padding-inline: .9rem; }
}
