.cookie-notice {
  position: fixed;
  z-index: 1500;
  right: 1rem;
  bottom: 1rem;
  width: min(430px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: 1.1rem;
  visibility: hidden;
  opacity: 0;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: .75rem;
  box-shadow: 0 1.25rem 3rem rgb(0 0 0 / 28%);
  transform: translateY(1rem);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.cookie-notice.is-visible {
  visibility: visible;
  opacity: 1;
  transform: none;
}

@media (max-width: 700px) {
  .cookie-notice {
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
    width: auto;
    text-align: center;
  }

  .cookie-notice__actions {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-notice {
    transition: none;
  }
}
