.onff-legal-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  align-items: center;
}

.onff-legal-nav__button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
}

.onff-newsletter__legal {
  margin-top: 1rem;
  color: var(--text-color-secondary, #5d6472);
  line-height: 1.6;
}

.onff-newsletter__legal a {
  text-decoration: underline;
}

.onff-consent__banner[hidden],
.onff-consent__modal[hidden] {
  display: none !important;
}

.onff-consent__banner {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 1100;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1rem 1.125rem;
  border: 1px solid rgba(24, 28, 38, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(20, 29, 46, 0.16);
}

.onff-consent__copy {
  max-width: 44rem;
}

.onff-consent__copy strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.onff-consent__copy p,
.onff-consent__note,
.onff-consent__option p {
  margin: 0;
  color: var(--text-color-secondary, #5d6472);
  line-height: 1.55;
}

.onff-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: flex-end;
}

.onff-consent__button {
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(24, 28, 38, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #1d2533;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.onff-consent__button--primary {
  border-color: transparent;
  background: var(--ghost-accent-color, #ff1a75);
  color: #ffffff;
}

.onff-consent__button--link {
  text-decoration: underline;
}

.onff-consent__modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.onff-consent__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 28, 0.52);
}

.onff-consent__panel {
  position: relative;
  z-index: 1;
  width: min(42rem, calc(100vw - 2rem));
  margin: 8vh auto 0;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(20, 29, 46, 0.24);
}

.onff-consent__panel-header {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.onff-consent__panel-header h2 {
  margin: 0 0 0.35rem;
}

.onff-consent__icon-button {
  border: 0;
  background: transparent;
  color: #1d2533;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  padding: 0;
}

.onff-consent__option {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(24, 28, 38, 0.08);
}

.onff-consent__toggle {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 600;
  white-space: nowrap;
}

.onff-consent__toggle input {
  width: 1rem;
  height: 1rem;
}

.onff-consent__actions--panel {
  margin-top: 1.25rem;
  justify-content: flex-start;
}

body.onff-consent-modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .onff-consent__banner {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    flex-direction: column;
    align-items: stretch;
  }

  .onff-consent__actions,
  .onff-consent__actions--panel {
    flex-direction: column;
  }

  .onff-consent__button {
    width: 100%;
  }

  .onff-consent__option {
    flex-direction: column;
    align-items: flex-start;
  }

  .onff-consent__toggle {
    white-space: normal;
  }
}
