.cookie-panel[hidden],
.cookie-panel [hidden],
.cookie-map-placeholder[hidden] { display: none; }

.footer-privacy {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
}

.footer-privacy a,
.footer-privacy button {
  color: #e2e8f0;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.footer-privacy button {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.cookie-panel {
  position: fixed;
  z-index: 10000;
  inset-inline-start: max(1rem, env(safe-area-inset-left));
  inset-block-end: max(1rem, env(safe-area-inset-bottom));
  width: min(35rem, calc(100% - 2rem));
  max-height: 70dvh;
  overflow: auto;
  padding: clamp(1rem, 3vw, 1.4rem);
  border: 1px solid #cbd5e1;
  border-radius: .85rem;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 12px 36px #0f172a33;
}

.cookie-panel h2 { font-size: 1.2rem; margin-bottom: .35rem; }
.cookie-panel p { margin-bottom: .85rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.cookie-action {
  min-height: 44px;
  padding: .4rem .75rem;
  border: 1px solid #1d4ed8;
  border-radius: .45rem;
  background: #eff6ff;
  color: #1e3a8a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.cookie-action:hover { background: #dbeafe; }
.cookie-action:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.cookie-options { margin-top: .8rem; }
.cookie-options label { display: block; margin-bottom: .65rem; }
.cookie-map-placeholder { padding: 1.5rem; }
.cookie-map-placeholder a { display: inline-block; margin: .6rem .8rem .25rem 0; }
.policy-content { max-width: 52rem; margin-inline: auto; }
.policy-content h1 { margin-bottom: 1rem; }
.policy-content h2 { font-size: 1.35rem; margin: 1.5rem 0 .45rem; }
.policy-content p + p { margin-top: .8rem; }
.policy-content .cookie-action { margin-top: 1rem; }
.policy-content a,
.cookie-panel a,
.cookie-map-placeholder a,
.application-privacy a { color: #1d4ed8; text-decoration: underline; }
.application-privacy { font-size: .9rem; margin-bottom: .85rem; }
