.cookie-banner {
  position: fixed;
  z-index: 1000000000;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px 20px;
  background: #444;
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(100%);
  transition: transform .5s ease, opacity .5s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner.is-hiding {
  pointer-events: none;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 1170px;
  max-width: 100%;
  margin: 0 auto;
}

.cookie-banner__text {
  flex: 1;
  margin: 0;
}

.cookie-banner__link {
  color: inherit !important;
  font-weight: 700;
  text-decoration: underline !important;
}

.cookie-banner__button {
  flex: 0 0 auto;
  padding: 15px 32px 13px;
  border: 0;
  border-radius: 999px;
  background: #ccc;
  color: #111;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-banner__button:hover,
.cookie-banner__button:focus-visible {
  background: #eee;
}

@media (max-width: 767.98px) {
  .cookie-banner__inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

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