.cookie-banner[hidden] { display: none; }
.cookie-banner {
  position: fixed;
  z-index: 1000;
  inset: auto 20px 20px;
  max-width: 1180px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 60px rgba(8, 45, 89, .25);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}
.cookie-copy { flex: 1; }
.cookie-copy h2 { margin: 0 0 8px; font-size: 21px; line-height: 1.3; }
.cookie-copy p { margin: 0 0 6px; font-size: 14px; line-height: 1.6; }
.cookie-copy p:last-child { margin: 0; }
.cookie-actions { display: flex; flex-direction: column; gap: 10px; }
.cookie-actions button {
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.cookie-actions button:hover { background: var(--blue); }
.cookie-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.cookie-actions button:focus-visible, .cookie-settings:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
@media (max-width: 700px) {
  .cookie-banner { inset: auto 12px 12px; padding: 20px; gap: 18px; flex-direction: column; align-items: stretch; }
  .cookie-actions { flex-direction: row; }
  .cookie-actions button { flex: 1; }
}
@media (max-width: 380px) { .cookie-actions { flex-direction: column; } }
