/* Menu principal : dropdowns / mégamenus ouverts au clic (classe .cglfr-open posée par js/dropdown-click.js)
   au lieu du survol (Salient : li:hover / li.sfHover). Desktop uniquement, le menu mobile n'est pas concerné. */
@media (min-width: 1000px) {
  /* Fermé : on annule l'ouverture au survol de Salient */
  #header-outer #top nav > ul > li.menu-item-has-children:not(.cglfr-open) > .sub-menu,
  #header-outer #top nav > ul > li.nectar-megamenu-menu-item:not(.cglfr-open) > .nectar-global-section-megamenu,
  #header-outer #top nav > ul > li.nectar-megamenu-menu-item:not(.cglfr-open) > .nectar-global-section-megamenu > .inner {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  #header-outer #top nav > ul > li.nectar-megamenu-menu-item:not(.cglfr-open) > .nectar-global-section-megamenu * {
    pointer-events: none !important;
  }

  /* Ouvert au clic */
  #header-outer #top nav > ul > li.cglfr-open > .sub-menu,
  #header-outer #top nav > ul > li.cglfr-open > .nectar-global-section-megamenu,
  #header-outer #top nav > ul > li.cglfr-open > .nectar-global-section-megamenu > .inner {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  #header-outer #top nav > ul > li.cglfr-open > .nectar-global-section-megamenu * {
    pointer-events: all;
  }
  #header-outer #top nav > ul > li.nectar-megamenu-menu-item > a {
    cursor: pointer;
  }
}
