.cookie-preferences-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  column-gap: 20px;
}

.cookie-preferences-trigger {
  min-height: 44px;
  padding: 0;
  border: 0;
  color: var(--accent);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.cookie-preferences {
  position: fixed;
  z-index: 20;
  inset-inline: 0;
  inset-block-end: 0;
  max-block-size: min(70dvh, 440px);
  overflow: auto;
  padding: 14px 0 max(14px, env(safe-area-inset-bottom));
  border-top: 3px solid var(--accent);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 -8px 32px rgb(20 43 59 / 12%);
}

.cookie-preferences-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.cookie-preferences h2 {
  margin-bottom: 4px;
  font-size: 1.3rem;
}

.cookie-preferences p {
  font-size: 1rem;
  line-height: 1.45;
}

.cookie-preferences-actions {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-preferences-actions .button {
  min-height: 44px;
  padding: 8px 15px;
  justify-content: center;
  font-size: 1rem;
}

@media (max-width: 720px) {
  .cookie-preferences-inner { align-items: flex-start; flex-direction: column; }
  .cookie-preferences-links { justify-content: flex-start; }
}
