/* ============================================================
   alterfilters — Layout guard for opt-in left-column listings
   ============================================================
   Brand (manufacturer) listings are mapped to layout-left-column in the child
   theme.yml so the alterfilters facet sidebar can render inside #left-column.
   When a brand is OUT of our e-liquide scope the provider does not run and the
   sidebar is absent — but other displayLeftColumn modules (ps_categorytree) still
   fill the column, which would leave a narrowed product grid + an irrelevant
   category tree where the page used to be full width. This guard restores the
   full-width listing on those out-of-scope brand pages.

   In-scope pages (sidebar present) are untouched here: their layout is owned by
   filter-bar-desktop.css (#left-column:has(.alterfilters-sidebar)). This file is
   registered on EVERY manufacturer page (in + out of scope) because the sidebar
   CSS only loads in scope. :has() is already a baseline dependency of the desktop
   sidebar CSS, so support is consistent. */

@media (min-width: 992px) {
  body#manufacturer #left-column:not(:has(.alterfilters-sidebar)) {
    display: none;
  }
  body#manufacturer #left-column:not(:has(.alterfilters-sidebar)) ~ #content-wrapper {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}
