.cookie-banner,
.cookie-panel {
  background: var(--green);
  color: var(--chalk);
  border: 2px solid var(--yellow);
  border-radius: 20px;
  box-shadow: var(--shadow);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  padding: clamp(1rem, 3vw, 1.75rem);
}
.cookie-banner {
  position: fixed;
  z-index: 200;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(528px, calc(100% - 2rem));
  font-size: .875rem;
  line-height: 1.45;
  padding: 1rem;
  border-radius: 16px;
  max-height: calc(100dvh - 2rem);
  overflow: auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 .75rem; }
.cookie-banner .cookie-actions { flex-wrap: nowrap; gap: .5rem; }
.cookie-banner .cookie-actions button { flex: 1 1 0; min-width: 0; min-height: 44px; padding: .5rem .375rem; font-size: .75rem; border-radius: 9px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cookie-actions button,
.cookie-close {
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--yellow);
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  min-height: 48px;
  padding: .75rem 1rem;
}
.cookie-actions button { flex: 1 1 150px; }
.cookie-actions button:hover,
.cookie-close:hover { background: var(--yellow-2); }
.cookie-banner button:focus-visible,
.cookie-panel button:focus-visible,
.cookie-panel input:focus-visible,
.cookie-settings:focus-visible { outline: 3px solid var(--chalk); outline-offset: 4px; box-shadow: 0 0 0 6px var(--ink); }
.cookie-panel {
  width: min(660px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
}
.cookie-panel::backdrop { background: rgba(7, 52, 35, .65); }
.cookie-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.cookie-panel h2 { font-family: "Arial Black", Arial, sans-serif; font-size: clamp(1.25rem, 4vw, 1.6rem); margin: 0; }
.cookie-close { flex: 0 0 48px; padding: .25rem; font-size: 1.75rem; }
.cookie-category { padding: 1.25rem 0; border-bottom: 1px solid rgba(248,244,223,.35); }
.cookie-category h3 { margin: 0; font-size: 1.1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.cookie-category h3 span { color: var(--yellow); font-size: .9rem; }
.cookie-category p { margin: .65rem 0 0; }
.cookie-detail { font-size: .9rem; }
.cookie-marketing { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; cursor: pointer; }
.cookie-marketing input { width: 28px; height: 28px; accent-color: var(--yellow); cursor: pointer; margin: 0; }
.cookie-settings { text-decoration: underline; text-underline-offset: .2em; display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 480px) {
  .cookie-banner { bottom: .5rem; width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); }
  .cookie-actions { gap: .5rem; }
  .cookie-actions button { flex-basis: 100%; }
}

@media (max-width: 360px) {
  .cookie-banner { padding: .75rem; }
  .cookie-banner .cookie-actions { flex-wrap: wrap; }
  .cookie-banner .cookie-actions button { flex-basis: calc(50% - .5rem); }
}
