/* Stable iPhone/Safari mobile navigation for the static Elementor export. */
@media (max-width: 767px) {
  .elementor-location-header {
    position: relative;
    z-index: 100000;
  }

  .elementor-95 .elementor-element.elementor-element-8e7a99d {
    position: fixed !important;
    top: max(14px, env(safe-area-inset-top)) !important;
    right: max(2px, env(safe-area-inset-right)) !important;
    left: auto !important;
    width: 48px !important;
    max-width: 48px !important;
    z-index: 100002 !important;
  }

  .elementor-95 .elementor-element.elementor-element-8e7a99d .elementor-menu-toggle {
    display: flex !important;
    width: 48px;
    height: 48px;
    padding: 9px;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .elementor-95 .elementor-element.elementor-element-8e7a99d .elementor-nav-menu--dropdown {
    position: fixed !important;
    top: calc(max(14px, env(safe-area-inset-top)) + 56px) !important;
    right: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    max-height: calc(100vh - 70px - env(safe-area-inset-top)) !important;
    max-height: calc(100dvh - 70px - env(safe-area-inset-top)) !important;
    margin: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    z-index: 100001 !important;
  }

  .elementor-95 .elementor-element.elementor-element-8e7a99d .elementor-nav-menu--dropdown.xs-menu-open {
    display: block !important;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
  }

  .elementor-95 .elementor-element.elementor-element-8e7a99d .elementor-nav-menu--dropdown a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 13px 20px !important;
  }

  /* A popup close button must always remain the topmost mobile control. */
  body.xtreme-any-popup-open .elementor-element-8e7a99d,
  body.dialog-prevent-scroll .elementor-element-8e7a99d,
  body.xtreme-popup-fallback-active .elementor-element-8e7a99d {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
