#MainContent:has(#gf-products) .template-search__search,
#MainContent:has(#gf-products) .template-search__header > p[role="status"],
#MainContent:has(#gf-products) facet-filters-form:not(:has(#gf-tree, #gf-grid)),
#MainContent:has(#gf-products) #main-search-filters:not(:has(#gf-tree, #gf-grid)),
#MainContent:has(#gf-products) #main-collection-filters:not(:has(#gf-tree, #gf-grid)) {
  display: none !important;
}
