.consent-banner {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 70;
  width: min(23rem, calc(100% - 2rem));
  background: #fff;
  color: #000;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.92rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-top: 6px solid #e25536;
}

/* Leave room for the fixed back-to-top control on narrow screens. */
@media (max-width: 420px) {
  .consent-banner {
    width: min(23rem, calc(100% - 6rem));
  }
}

.consent-banner__inner {
  padding: 1rem 1.1rem 1.15rem;
}

.consent-banner__title {
  margin: 0 0 0.45rem;
  color: inherit;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.consent-banner p {
  margin: 0 0 0.7rem;
}

.consent-banner__intro p:last-child {
  margin-bottom: 0.9rem;
}

.consent-banner__more {
  margin: 0 0 0.5rem;
}

.consent-banner__more .consent-btn {
  width: 100%;
}

.consent-banner__choices,
.consent-settings__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.consent-banner__choices .consent-btn,
.consent-settings__actions .consent-btn {
  width: 100%;
}

.consent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e25536;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: center;
  box-sizing: border-box;
}

.consent-btn--ghost {
  background: transparent;
  color: #e25536;
  box-shadow: inset 0 0 0 1px #e25536;
}

.consent-settings {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid #d5dee4;
}

.consent-settings[hidden] {
  display: none;
}

.consent-settings__title {
  margin: 0 0 0.2rem;
}

.consent-settings label {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.consent-settings__actions {
  margin-top: 0.35rem;
}

.consent-banner.is-settings .consent-banner__intro,
.consent-banner.is-settings .consent-banner__choices,
.consent-banner.is-settings .consent-banner__more {
  display: none;
}
