/* Shared support link: deliberately below navigation and native modal dialogs. */
body .whatsapp-link {
  --whatsapp-clearance: 0px;
  position: fixed;
  z-index: 15;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--whatsapp-clearance));
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #128c4b;
  color: #fff;
  box-shadow: 0 4px 16px #0003;
  text-decoration: none;
}
body .whatsapp-link svg { width: 28px; height: 28px; }
body .whatsapp-link:hover { background: #096b38; color: #fff; }
body .whatsapp-link:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px var(--surface);
}
/* Keep the final footer controls reachable even at the bottom of the document. */
body .site-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
/* No-JavaScript fallback; JS measures the actual bar and homepage controls. */
body:has(.compare-bar:not([hidden])) .whatsapp-link { --whatsapp-clearance: 104px; }
@media print { body .whatsapp-link { display: none; } }
