/* Hianma commercial mobile header — login/menu touch accessibility fix only.
   Loaded after the other commercial layers so competing header rules cannot
   place an invisible surface above the primary header controls. */

@media (max-width: 760px) {
  body .hm-marketing .hm-header {
    isolation: isolate;
  }

  body .hm-marketing .hm-header-actions {
    position: relative !important;
    z-index: 70 !important;
    pointer-events: auto !important;
  }

  body .hm-marketing .hm-language {
    position: relative !important;
    z-index: 1 !important;
  }

  body .hm-marketing .hm-login {
    position: relative !important;
    z-index: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(37, 99, 235, .12);
    cursor: pointer !important;
  }

  body .hm-marketing .hm-menu {
    position: relative !important;
    z-index: 3 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }

  body .hm-marketing .hm-menu svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    max-width: none !important;
    max-height: none !important;
    flex: 0 0 20px !important;
    stroke: currentColor !important;
  }

  /* A closed drawer must never intercept taps on the sticky header. */
  body .hm-marketing .hm-nav:not(.is-open) {
    pointer-events: none !important;
  }

  body .hm-marketing .hm-nav.is-open {
    pointer-events: auto !important;
  }
}
