/* Captured Neto category sidebar, search and sort toolbar; Django filters retained. */
.category-layout { display: grid; grid-template-columns: minmax(0, 23%) minmax(0, 1fr); gap: 2rem; padding-top: 1rem; padding-bottom: 2rem; }
.category-results { min-width: 0; }
.category-results h1 { font-size: 36px; font-weight: 400; margin: 1.5rem 0 1rem; }
.category-filter-panel { border: 1px solid #ddd; }
.category-filter-panel summary { padding: 1rem; color: #101f50; cursor: pointer; }
.category-filter-panel fieldset { padding: 0 1rem 1rem; margin: 0; border: 0; }
.category-filter-panel legend { float: none; width: calc(100% + 2rem); margin-left: -1rem; padding: .75rem 1rem; background: #f5f5f5; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; font-size: 16px; }
.category-filter-panel select { width: 100%; }
.category-filter-panel label { font-size: 14px; }
.category-filter-panel .btn { font-size: 12px; padding: .4rem; }
.category-search { display: flex; align-items: center; border-top: 1px solid #dce0e5; border-bottom: 1px solid #dce0e5; padding: .6rem 1.5rem; }
.category-search input { min-width: 0; width: 100%; border: 0; padding: .5rem 0; }
.category-search button { width: auto; border: 0; background: #fff; color: #101f50; font-size: 20px; }
.category-toolbar { display: flex; align-items: center; gap: 1rem; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; padding: 1rem 0; margin-bottom: 2rem; }
.category-view-controls { display: flex; }
.category-view-controls[hidden] { display: none; }
.category-view-controls button { width: 40px; height: 36px; border: 1px solid #ccc; background: #fff; color: #101f50; }
.category-view-controls button[aria-pressed="true"] { background: #eee; }
.category-count { margin: 0 auto; }
.category-toolbar select { width: 220px; }
.category-results .catalogue-grid-products { grid-template-columns: repeat(4,minmax(0,1fr)); }
.category-results .catalogue-grid-products.is-list-view { grid-template-columns: minmax(0,1fr); }
.is-list-view .store-product-card { display: grid; grid-template-columns: minmax(120px,25%) 1fr; }
@media (min-width: 768px) { .category-filter-panel summary { display: none; } }
@media (min-width: 768px) and (max-width: 991.98px) {
  .category-results .catalogue-grid-products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-count { display: none; }
  .category-toolbar select { width: 180px; }
}
@media (max-width: 767.98px) {
  .category-layout { display: flex; flex-direction: column; gap: .75rem; }
  .category-sidebar { order: 1; }
  .category-results { order: 0; }
  .category-results .catalogue-grid-products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-count { display: none; }
  .category-toolbar { gap: .75rem; }
  .category-toolbar label { margin-left: auto; }
  .category-toolbar select { width: auto; flex: 1; min-width: 0; max-width: 240px; }
  .category-results h1 { font-size: 34px; }
}
