/* ============================================================
   99-chat-widget — the LeadConnector chat bubble (bottom right,
   every page) and the back-to-top button (also bottom right) would
   overlap, so back-to-top sits just above the bubble once the
   widget is on the page. On phones the bubble is lifted above the
   Call | Book bar by js/sections/99-chat-widget.js.
   ============================================================ */
body:has(chat-widget) .back-to-top {
  bottom: 96px;
  right: 26px;
}
@media (max-width: 820px) {
  body:has(chat-widget) .back-to-top {
    bottom: calc(56px + env(safe-area-inset-bottom) + 14px + 70px);
    right: 28px;
  }
}
