.ls-consent[hidden] {
  display: none !important;
}

.ls-consent {
  position: fixed;
  z-index: 10000;
  inset: auto 20px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  max-width: 1120px;
  margin-inline: auto;
  padding: 22px 24px;
  border: 1px solid #d6dbe5;
  border-radius: 12px;
  background: #fff;
  color: #0b1220;
  box-shadow: 0 12px 36px rgba(11, 18, 32, 0.2);
}

.ls-consent__title {
  margin: 0;
  color: #001a72;
  font: 700 1.2rem/1.3 Nexa, system-ui, sans-serif;
}

.ls-consent__description {
  max-width: 70ch;
  margin: 7px 0 10px;
  color: #344054;
  font: 400 0.96rem/1.55 Nexa, system-ui, sans-serif;
}

.ls-consent__policies {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ls-consent__policies a,
.lsf__cookie-preferences {
  color: #001a72;
  font: 700 0.9rem/1.4 Nexa, system-ui, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ls-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.ls-consent__button {
  min-height: 46px;
  padding: 10px 16px;
  border: 2px solid #001a72;
  border-radius: 8px;
  font: 700 0.94rem/1.2 Nexa, system-ui, sans-serif;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.ls-consent__button--secondary {
  background: #fff;
  color: #001a72;
}

.ls-consent__button--primary {
  background: #001a72;
  color: #fff;
}

.ls-consent__button--secondary:hover {
  background: #eef2fb;
}

.ls-consent__button--primary:hover {
  background: #0b2d86;
}

.ls-consent__button:focus-visible,
.ls-consent__policies a:focus-visible,
.lsf__cookie-preferences:focus-visible {
  outline: 3px solid #a45e00;
  outline-offset: 3px;
}

.lsf__cookie-preferences {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 760px) {
  .ls-consent {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    inset: auto 12px 12px;
    padding: 18px;
  }

  .ls-consent__actions {
    justify-content: stretch;
  }

  .ls-consent__button {
    flex: 1 1 150px;
  }
}

@media (max-width: 420px) {
  .ls-consent {
    inset: auto 8px 8px;
    gap: 12px;
    padding: 16px;
  }

  .ls-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .ls-consent__button {
    min-width: 0;
    padding-inline: 8px;
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ls-consent__button {
    transition: none;
  }
}