The theme has the ability to activate Search by product category for the main search, however, there is a problem:
- this leads to the display of categories without products in the search ;
- this leads to the display of categories in the search where all products in the visibility settings have specified: Hidden or Shop only.
This is not correct behavior. Add a setting so that such product categories are not displayed in the search, or don't display such categories in the search by default in the theme.