/* v114 — mobile menu link navigation fix */
a, button, summary {
  touch-action: manipulation;
}

details.mobile-menu:not([open]) > .mobile-menu-panel {
  display:none !important;
  pointer-events:none !important;
}

details.mobile-menu[open] > .mobile-menu-panel {
  display:block !important;
  pointer-events:auto !important;
}

/* Make every menu link a full, reliable click target. */
.mobile-menu-panel a {
  display:block !important;
  position:relative !important;
  z-index:2 !important;
  pointer-events:auto !important;
  cursor:pointer !important;
}

/* Closed chat must not sit over the navigation. */
#sgtm-chat-panel:not(.open) {
  pointer-events:none !important;
}
#sgtm-chat-panel.open {
  pointer-events:auto !important;
}

/* Ensure floating controls stay below the open slide-out menu. */
details.mobile-menu[open] {
  position:relative;
  z-index:1000 !important;
}
details.mobile-menu[open] > .mobile-menu-panel {
  z-index:1001 !important;
}
.back-to-top,
#sgtm-chat-launcher,
#sgtm-chat-panel,
.ecu-upload-float {
  z-index:90;
}
