.cookie-consent[hidden],
[data-coxo-leadhit-newsletter][hidden],
[data-cookie-newsletter-fallback][hidden] {
  display: none;
}

.cookie-consent {
  position: fixed;
  inset-inline: 16px;
  bottom: max(86px, env(safe-area-inset-bottom));
  z-index: 1100;
  box-sizing: border-box;
  max-width: 800px;
  margin-inline: auto;
  padding: 20px 46px 20px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  border: 1px solid #d3e1ed;
  border-radius: 16px;
  background: #fff;
  color: #202832;
  box-shadow: 0 8px 32px rgb(27 59 91 / 18%);
}

.cookie-consent__text {
  flex: 1 1 330px;
}

.cookie-consent h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.cookie-consent p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.cookie-consent a {
  color: #005b9d;
  text-decoration: underline;
}

.cookie-consent [data-cookie-error] {
  margin-top: 8px;
  color: #ab231d;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-consent button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #0067ad;
  border-radius: 8px;
  background: #fff;
  color: #005b9d;
  font: inherit;
  cursor: pointer;
}

.cookie-consent [data-cookie-decision="accept"] {
  background: #0067ad;
  color: #fff;
}

.cookie-consent :focus-visible {
  outline: 2px solid #005b9d;
  outline-offset: 3px;
}

.cookie-consent .cookie-consent__close {
  position: absolute;
  inset: 8px 8px auto auto;
  width: 40px;
  padding: 0;
  border: 0;
  color: #202832;
  font-size: 24px;
}

@media (width >= 768px) {
  .cookie-consent { bottom: 24px; }
}
