.cookie-preferences {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(199, 166, 97, 0.65);
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.cookie-preferences:hover {
  color: #fff;
}

.cookie-preferences:focus-visible,
.cookie-consent__button:focus-visible {
  outline: 3px solid #d8ac5b;
  outline-offset: 3px;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent {
  position: fixed;
  z-index: 1000;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: max(1rem, env(safe-area-inset-left));
  color: #fff;
  font-family: "Inter Tight", Inter, Arial, sans-serif;
}

.cookie-consent__inner {
  display: flex;
  width: min(100%, 70rem);
  align-items: center;
  gap: 1.25rem;
  margin-inline: auto;
  padding: 1rem 1.125rem;
  border: 1px solid rgba(199, 166, 97, 0.42);
  border-radius: 0.35rem;
  background: #071e2d;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.cookie-consent__text {
  flex: 1 1 auto;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.875rem;
  line-height: 1.5;
}

.cookie-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.625rem;
}

.cookie-consent__button {
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0.25rem;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.cookie-consent__button--accept {
  border-color: #25d366;
  background: #25d366;
  color: #06331a;
}

.cookie-consent__button:hover {
  border-color: #d8ac5b;
}

.cookie-consent__button--accept:hover {
  border-color: #1ebe5d;
  background: #1ebe5d;
}

@media (max-width: 39.99rem) {
  .cookie-consent__inner {
    display: block;
    padding: 1rem;
  }

  .cookie-consent__actions {
    margin-top: 0.875rem;
  }

  .cookie-consent__button {
    flex: 1 1 50%;
  }
}
