.consent-preferences {
  display: block;
  max-width: 100%;
  min-height: 44px;
  padding: 6px 0;
  margin-top: 4px;
  color: inherit;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: 0;
  cursor: pointer;
}

.consent-preferences:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

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

.consent-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 9999;
  display: grid;
  width: min(920px, calc(100% - 36px));
  padding: 22px;
  margin-inline: auto;
  color: #092f41;
  background: rgba(246, 251, 252, 0.91);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  box-shadow:
    0 28px 70px rgba(3, 44, 64, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  gap: 20px;
}

.consent-banner__label {
  margin: 0 0 5px;
  color: #117fa4;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.consent-banner h2 {
  margin: 0 0 7px;
  color: #073e57;
  font-family: "Satoshi", sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.consent-banner p:not(.consent-banner__label) {
  margin: 0;
  color: rgba(9, 47, 65, 0.72);
  font-family: "Satoshi", sans-serif;
  font-size: 0.82rem;
  line-height: 1.55;
}

.consent-banner a {
  color: #075e54;
  font-weight: 800;
  text-underline-offset: 3px;
}

.consent-banner__actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.consent-banner button {
  min-height: 44px;
  padding: 10px 17px;
  color: #073e57;
  font-family: "Satoshi", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(7, 62, 87, 0.14);
  border-radius: 999px;
  cursor: pointer;
}

.consent-banner button[data-consent-accept] {
  color: #fff;
  background: #0b7167;
  border-color: #0b7167;
}

.consent-banner button:hover,
.consent-banner button:focus-visible {
  box-shadow: 0 8px 20px rgba(7, 62, 87, 0.15);
  transform: translateY(-1px);
}

@media (min-width: 760px) {
  .consent-banner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (max-width: 759px) {
  .consent-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    padding: 14px;
    overflow-y: auto;
    border-radius: 8px;
    gap: 12px;
  }

  .consent-banner__label {
    display: none;
  }

  .consent-banner h2 {
    font-family: "Satoshi", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
  }

  .consent-banner p:not(.consent-banner__label) {
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .consent-banner button {
    padding-inline: 10px;
    line-height: 1.3;
    letter-spacing: 0;
  }

  .consent-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner button {
    transition: none;
  }
}
