/* === ZM33 m198: sticky Каталог — выпадающий список категорий по hover === */
/* dreamfix резал меню: overflow:hidden + max-height:4.6rem на .header__catalog--clone */
@media (min-width: 1200px) {
  .is-header-fixed .header-fixed {
    overflow: visible !important;
  }

  .is-header-fixed .header-fixed .header__catalog--clone {
    overflow: visible !important;
    max-height: none !important;
    max-width: none !important;
  }

  .is-header-fixed .header-fixed .header__catalog--clone > .header__catalog {
    position: relative !important;
    overflow: visible !important;
  }

  /* Тема вешает .is-open на mouseenter; :hover/:focus-within — запасной путь */
  .is-header-fixed .header-fixed .header__catalog--clone .header__catalog.is-open > .header__catalog-offcanvas,
  .is-header-fixed .header-fixed .header__catalog--clone .header__catalog:hover > .header__catalog-offcanvas,
  .is-header-fixed .header-fixed .header__catalog--clone .header__catalog:focus-within > .header__catalog-offcanvas {
    display: -ms-flexbox !important;
    display: flex !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 2000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    max-height: calc(100vh - 10rem);
    overflow-x: hidden;
    overflow-y: auto;
  }

  /* Закрытое меню по-прежнему не занимает место в ряду */
  .is-header-fixed .header-fixed .header__catalog--clone .header__catalog:not(.is-open):not(:hover):not(:focus-within) > .header__catalog-offcanvas {
    display: none !important;
  }
}
