/* MikroBayi V18.7.2 visual + interaction stabilization — 2026-09-22 */
/* Floating actions must remain above normal content, but below menus/modals. */
.mb-whatsapp-support,.mb-floating-chat,#wp{z-index:1040!important}

/* Bootstrap modal layering and body-lock safety after restoring the original JS/CSS cascade. */
.modal{z-index:1060!important}
.modal-backdrop{z-index:1050!important}
.modal-dialog{pointer-events:auto}
body.modal-open{overflow:hidden}

/* Defensive media sizing: prevents legacy global image rules from creating oversized artwork. */
img{max-width:100%;height:auto}

/* Keep icon-font elements on their own icon fonts instead of emoji/system fallback. */
.fa,.fas,.far,.fab,.ti,[class^="ti-"],[class*=" ti-"]{font-style:normal}

/* Narrow-screen floating controls: no H1/CTA/menu collision. */
@media(max-width:480px){
  body.mb-modern{padding-bottom:86px!important}
  .mb-whatsapp-support{
    right:12px!important;
    bottom:88px!important;
  }
  .mb-back-to-top,.back-to-top{
    right:14px!important;
    bottom:18px!important;
  }
  /* When the mobile navigation panel is open, keep floating actions out of its CTA area. */
  body:has(.navbar-collapse.show) .mb-whatsapp-support,
  body:has(.navbar-collapse.show) .mb-back-to-top,
  body:has(.navbar-collapse.show) .back-to-top{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}

/* Remove the legacy duplicate scroll-to-top control; mb-back-to-top is the single modern control. */
.mb-modern .scroll-top-to{display:none!important}
