/* Verified integrations: Joinchat 5.2.3 and Header Footer Elementor scroll-top.
 * Keep enquiry channels intact; these rules only govern the mobile launcher area.
 * Tawk selectors were verified by the parent in the live page DOM. */
@media (max-width: 700px) {
  /* Decorative Tawk invitation only; retain #min-widget and its chat access. */
  body.mdp-premium #chat-bubble {
    display: none !important;
  }
  body.mdp-premium .joinchat {
    --s: 44px;
    --sep: 4px;
    --bottom: calc(4px + env(safe-area-inset-bottom, 0px));
  }

  body.mdp-premium .joinchat:not(.joinchat--chatbox) .joinchat__button {
    border-radius: 7px;
    box-shadow: inset 0 1px 0 #ffffff40, 0 2px 4px #00000020, 0 5px 14px #00000014;
  }

  /* Move the non-contact shortcut off the middle of the content. The original
   * plugin controls whether it is visible; its existing click handler remains. */
  body.mdp-premium .hfe-scroll-to-top-wrap {
    left: auto !important;
    right: 12px !important;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
    transform: none !important;
    z-index: 8990;
  }

  body.mdp-premium .hfe-scroll-to-top-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 7px;
    background: var(--mdp-card, #fff);
    color: var(--mdp-ink, #171717);
    box-shadow: 0 2px 4px #00000020, 0 5px 14px #00000014;
  }

  /* Comparison is a separate task. It must never cover contact launchers. */
  body.mdp-premium .mdp-comparison-bar {
    bottom: calc(152px + env(safe-area-inset-bottom, 0px));
  }

  body.mdp-premium .mdp-footer {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}
