/**
 * @file
 * Mobile menu accordion override — forces accordion behavior by overriding
 * any cached drill-in CSS rules with !important.
 *
 * Remove this file once browser cache is confirmed cleared.
 */

@media (max-width: 860px) {
  /* Force non-open nav items to stay visible (overrides cached display:none) */
  .site-header.has-mega-open .nav__item--has-menu:not(.is-open) {
    display: flex !important;
  }

  /* Force CTA to stay visible */
  .site-header.has-mega-open .header__cta {
    display: flex !important;
  }

  /* Force panel to stay scrollable (overrides cached fixed height) */
  .site-header.has-mega-open .site-header__right.is-open {
    height: auto !important;
    max-height: calc(100dvh - 100px) !important;
    overflow-y: auto !important;
  }

  /* Force megamenu to render inline (overrides cached flex: 1 1 auto) */
  .site-header.has-mega-open .megamenu.is-open {
    flex: none !important;
    min-height: auto !important;
    overflow-y: visible !important;
    overscroll-behavior: auto !important;
  }
}
