/* Shared pre-payment help link; no chat widget, tracking or form submission. */
.floating-whatsapp {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 75;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  box-sizing: border-box;
  padding: 11px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font: 700 14px/1.3 "Inter Variable", Inter, system-ui, sans-serif;
  text-decoration: none;
  box-shadow: 0 6px 24px #128c7e40;
  touch-action: manipulation;
  transition: background-color 150ms ease;
}
.floating-whatsapp img { display: block; width: 28px; height: 28px; flex: none; }
.floating-whatsapp span { display: none; }
.floating-whatsapp:hover { background: #1ebe5d; color: #fff; }
.floating-whatsapp:focus-visible { outline: 3px solid #2855f5; outline-offset: 4px; }
body:has(dialog[open]) .floating-whatsapp { visibility: hidden; }
/* Keep policy links clear without making the floating button disappear. */
body:has(.floating-whatsapp) :is(.wh-footer-bottom,.footer-bottom) { padding-right: 88px; }
@media (max-width: 767px) {
  .floating-whatsapp {
    right: calc(16px + env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 52px;
    min-width: 52px;
    min-height: 52px;
    padding: 11px;
  }
  .floating-whatsapp span { display: none; }
  /* Keep clear of the reseller page's bottom navigation and raised centre CTA. */
  .rdl .floating-whatsapp { bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
  body:has(input:focus, select:focus, textarea:focus) .floating-whatsapp { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp { transition: none; }
}
