.swon-cookie[hidden], .swon-cookie [hidden], .swon-cookie-link[hidden] { display: none; }
.swon-cookie {
  position: fixed;
  z-index: 20;
  inset-inline: max(1rem, calc((100vw - 46rem) / 2));
  bottom: max(1rem, env(safe-area-inset-bottom));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  box-sizing: border-box;
  padding: clamp(1rem, 3vw, 1.4rem);
  border: 1px solid #accabd;
  border-radius: 1rem;
  background: #fff;
  color: #122d25;
  box-shadow: 0 .6rem 2.5rem #122d2530;
  font: 1rem/1.45 system-ui, sans-serif;
}
.swon-cookie h2 { margin: 0; font-size: 1.25rem; letter-spacing: normal; }
.swon-cookie p { margin: .5rem 0 0; }
.swon-cookie a { color: #12544a; }
.swon-cookie-details { margin-top: .85rem; padding: .75rem; border-radius: .65rem; background: #edf6ef; }
.swon-cookie-details p { margin-top: 0; }
.swon-cookie-details label { display: flex; align-items: center; gap: .45rem; margin-top: .5rem; }
.swon-cookie-details input { width: 1.2rem; height: 1.2rem; accent-color: #087474; }
.swon-cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.swon-cookie-actions button {
  min-height: 2.75rem;
  padding: .45rem .8rem;
  border: 1px solid #7ea597;
  border-radius: .65rem;
  background: #edf6ef;
  color: #122d25;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.swon-cookie-actions button:hover { background: #d9ede2; }
.swon-cookie-link {
  width: fit-content;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: .23em;
  cursor: pointer;
}
.swon-cookie :focus-visible, .swon-cookie-link:focus-visible { outline: 3px solid #087474; outline-offset: 3px; }
@media (max-width: 34rem) { .swon-cookie-actions button { flex: 1 1 auto; } }
