/* Consent banner: light, brand navy/red, non-modal. On mobile it sits ABOVE the sticky WhatsApp/call bar. */
.sts-consent[hidden] {
  display: none;
}
.sts-consent {
  position: fixed;
  z-index: 9995; /* above .sts-bar (9990) because it is placed above it, never over its buttons */
  left: 0.5rem;
  right: 0.5rem;
  bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 0.5rem 0.75rem;
  max-width: 30rem;
  padding: 0.5rem 0.625rem;
  background: #fff;
  color: var(--sts-text, #374151);
  border: 1px solid var(--sts-line, #d9e0ee);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 27, 61, 0.18);
  font-family: var(--sts-font-body, system-ui, sans-serif);
  font-size: 0.8125rem;
  line-height: 1.3;
}
.sts-consent__text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}
.sts-consent__text a {
  color: var(--sts-navy, #203a80);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.sts-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.375rem;
}
.sts-consent__btn {
  min-height: 44px;
  min-width: 4.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 2px solid var(--sts-navy, #203a80);
  font: 600 0.875rem/1.1 var(--sts-font-body, system-ui, sans-serif);
  cursor: pointer;
}
.sts-consent__btn--accept {
  background: var(--sts-navy, #203a80);
  color: #fff;
}
.sts-consent__btn--reject {
  background: #fff;
  color: var(--sts-navy, #203a80);
}
.sts-consent__btn:hover {
  filter: brightness(0.94);
}
.sts-consent__btn:focus-visible,
.sts-consent__text a:focus-visible {
  outline: 3px solid var(--sts-navy, #203a80);
  outline-offset: 3px;
}
@media (max-width: 767px) {
  .sts-consent {
    max-width: none;
  }
  /* Keep clear of the sticky action bar (its height variable is defined in core.css). */
  body.sts-has-bar .sts-consent {
    bottom: calc(var(--sts-bar-h, 4.25rem) + 0.5rem + env(safe-area-inset-bottom, 0px));
    transition: bottom 0.2s ease;
  }
  /* While a hero CTA is on screen the sticky bar is hidden (bar.js): dock the banner to the very
     bottom as a 52px strip so it never covers the hero CTA above it. */
  body.sts-has-bar:has(.sts-bar.is-hidden) .sts-consent {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.25rem 0.625rem calc(0.25rem + env(safe-area-inset-bottom, 0px));
    border-width: 1px 0 0;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 16px rgba(15, 27, 61, 0.14);
  }
}
@media (min-width: 768px) {
  .sts-consent {
    right: auto;
    left: 1rem;
    bottom: 1rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
  }
}
