/* FSPV Commerce legacy category flyout - scoped, tenant-neutral.
   Only the old vertical cascading menu; does not affect mega models or mobile. */
@media (min-width:901px) {
  .csh-nav .csh-category-panel.csh-flyout-menu.is-open[data-fspv-menu-model="legacy"] {
    left:var(--fspv-legacy-trigger-left,0px)!important;
    right:auto!important;
    width:340px!important;
    max-width:calc(100vw - 24px)!important;
    overflow:visible!important;
  }
  .csh-nav .csh-category-panel[data-fspv-menu-model="legacy"] .csh-flyout-wrap,
  .csh-nav .csh-category-panel[data-fspv-menu-model="legacy"] .csh-flyout-level-0 {
    position:relative!important;
    left:0!important;
    top:0!important;
    width:100%!important;
    overflow:visible!important;
  }
  .csh-nav .csh-category-panel[data-fspv-menu-model="legacy"] .csh-flyout-item {
    position:relative!important;
  }
  .csh-nav .csh-category-panel[data-fspv-menu-model="legacy"] .csh-flyout-item>.csh-flyout-level {
    position:absolute!important;
    left:100%!important;
    right:auto!important;
    top:-1px!important;
    width:340px!important;
    max-width:min(340px,calc(100vw - 24px))!important;
    min-height:0!important;
    display:none!important;
    background:#fff!important;
    overflow:visible!important;
  }
  .csh-nav .csh-category-panel[data-fspv-menu-model="legacy"] .csh-flyout-item:hover>.csh-flyout-level,
  .csh-nav .csh-category-panel[data-fspv-menu-model="legacy"] .csh-flyout-item:focus-within>.csh-flyout-level {
    display:block!important;
  }
  .csh-nav .csh-category-panel[data-fspv-menu-model="legacy"] .csh-flyout-item[data-fspv-submenu-side="left"]>.csh-flyout-level {
    left:auto!important;
    right:100%!important;
  }
  .csh-nav .csh-category-panel[data-fspv-menu-model="legacy"] .csh-flyout-item>a {
    min-width:0!important;
  }
  .csh-nav .csh-category-panel[data-fspv-menu-model="legacy"] .csh-flyout-item>a span {
    min-width:0!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
  }
  .csh-nav .csh-category-panel[data-fspv-menu-model="legacy"] .csh-flyout-item>a em {
    flex:none!important;
  }
}
