@media (max-width: 980px) {
  /*
   * The consent plugin's TOP banner was behind Divi's fixed mobile header.
   * Use a bottom sheet while VISIBLE only; do not override the plugin's
   * hidden class, consent choices, timing or dialog behavior.
   */
  #moove_gdpr_cookie_info_bar.gdpr_infobar_postion_top:not(.moove-gdpr-info-bar-hidden) {
    position: fixed !important;
    top: auto !important;
    bottom: max(10px, env(safe-area-inset-bottom, 0px)) !important;
    left: max(12px, env(safe-area-inset-left, 0px)) !important;
    right: max(12px, env(safe-area-inset-right, 0px)) !important;
    width: auto !important;
    max-width: none !important;
    max-height: min(65vh, 480px) !important;
    max-height: min(65dvh, 480px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #dce5df !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 32px #17351f30;
    z-index: 2147483000 !important;
  }
  #moove_gdpr_cookie_info_bar.gdpr_infobar_postion_top:not(.moove-gdpr-info-bar-hidden) .moove-gdpr-info-bar-container {
    padding: 16px !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  #moove_gdpr_cookie_info_bar.gdpr_infobar_postion_top:not(.moove-gdpr-info-bar-hidden) .moove-gdpr-info-bar-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px;
    width: 100% !important;
    min-width: 0 !important;
  }
  #moove_gdpr_cookie_info_bar.gdpr_infobar_postion_top:not(.moove-gdpr-info-bar-hidden) .moove-gdpr-cookie-notice {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-wrap: anywhere;
  }
  #moove_gdpr_cookie_info_bar.gdpr_infobar_postion_top:not(.moove-gdpr-info-bar-hidden) .moove-gdpr-cookie-notice :is(p,a,button) {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  #moove_gdpr_cookie_info_bar.gdpr_infobar_postion_top:not(.moove-gdpr-info-bar-hidden) .moove-gdpr-button-holder {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    position: static !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  #moove_gdpr_cookie_info_bar.gdpr_infobar_postion_top:not(.moove-gdpr-info-bar-hidden) .moove-gdpr-button-holder :is(button,a.mgbutton) {
    min-height: 44px;
    min-width: 44px;
    margin: 0 !important;
    max-width: 100%;
  }
  /* The plugin temporarily hides background elements while its settings
     dialog is open. Keep this high-layer banner out of that dialog too. */
  body.moove_gdpr_overflow #moove_gdpr_cookie_info_bar,
  #moove_gdpr_cookie_info_bar.gdpr_lightbox-hidden {
    visibility: hidden !important;
    pointer-events: none !important;
  }
  /* Suppress only the passive 'offline' teaser. The chat launcher and opened
     chat remain available; no Zoho account/settings or cookies are altered. */
  #zs-fl-tip { display: none !important; }
  body:has(#et_mobile_nav_menu .mobile_nav.opened) .trp-floating-switcher {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}
