.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 1000;
  width: min(1120px, calc(100% - 36px));
  padding: 22px 24px;
  border: 1px solid rgba(9, 47, 58, .14);
  border-radius: 18px;
  color: #17343d;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 22px 70px rgba(6, 31, 39, .24);
  opacity: 0;
  transform: translate(-50%, 18px);
  transition: opacity .22s ease, transform .22s ease;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cookie-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.cookie-banner__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.cookie-banner__details {
  display: inline-block;
  margin-top: 6px;
  color: #0c7f80;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cookie-banner__inline-link {
  color: #0c7f80;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cookie-banner__button {
  min-width: 132px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #061f27;
  background: #f3b453;
  box-shadow: 0 12px 28px rgba(243, 180, 83, .28);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.cookie-banner__button:hover {
  background: #ffd98e;
  box-shadow: 0 14px 32px rgba(243, 180, 83, .34);
  transform: translateY(-1px);
}

.cookie-banner__button:focus-visible,
.cookie-banner a:focus-visible {
  outline: 3px solid #f3b453;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .cookie-banner {
    bottom: 76px;
    width: calc(100% - 24px);
    padding: 18px;
    border-radius: 16px;
  }

  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .cookie-banner__text {
    font-size: 13px;
    line-height: 1.5;
  }

  .cookie-banner__button {
    width: 100%;
  }
}

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