/* Category: hide Porto Filtri toggle + 6 products/row on ≥15" (~1366px) */

/* Porto sidebar filter button (sliders icon + Filtri) — never show */
.porto-product-filters-toggle,
a.porto-product-filters-toggle,
.sidebar-toggle.porto-product-filters-toggle,
.catalog-category-view .porto-product-filters-toggle,
.catalogsearch-result-index .porto-product-filters-toggle,
.page-products .porto-product-filters-toggle,
.toolbar .porto-product-filters-toggle,
.page-main .porto-product-filters-toggle {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* 15" and larger: 6 product cards per row (category + search + home featured) */
@media (min-width: 1366px) {
  body.catalog-category-view .column.main .products.wrapper.grid.products-grid > .product-items,
  body.catalog-category-view .column.main .products.wrapper.grid.columns4.products-grid > .product-items,
  body.catalog-category-view .column.main .products.wrapper.grid.columns5.products-grid > .product-items,
  body.catalogsearch-result-index .column.main .products.wrapper.grid.products-grid > .product-items,
  body.cms-index-index .gzs-featured .products.wrapper.grid.products-grid > .product-items,
  body.cms-index-index .gzs-featured .products.product-items.widget-product-grid,
  body .column.main .products.wrapper.grid.products-grid > ol.product-items,
  body .column.main .products.wrapper.grid.products-grid > ul.product-items {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 14px !important;
    flex-wrap: unset !important;
  }

  body.catalog-category-view .column.main .products-grid .product-item,
  body.catalog-category-view .column.main .products.wrapper.grid .product-item,
  body.catalogsearch-result-index .column.main .products-grid .product-item,
  body .column.main .products.wrapper.grid.products-grid > .product-items > .product-item {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
}
