/* Category browsing uses the existing faceted-search DOM and native product list. */
body#category #js-product-list-header h1 { margin:0 0 8px; color:#111; font-size:clamp(27px,2.5vw,34px); font-weight:700; letter-spacing:-.035em; }
body#category #js-product-list-header { margin-bottom:22px !important; }
body#category .sb-catalog-toolbar { gap:16px 20px; padding:22px; border-color:#dedede; border-radius:5px; box-shadow:none; }
body#category .sb-filter-intro h2 { font-size:20px; }
body#category .sb-filter-basics { gap:8px; padding-top:18px; }
body#category .sb-facet-trigger, body#category .sb-derived-trigger { min-height:46px; height:auto; border-color:#d4d4d4; border-radius:3px; font-size:13px; font-weight:600; }
body#category .sb-filter-discovery { grid-template-columns:minmax(0,1fr) minmax(0,1fr); padding-top:20px; gap:24px; }
body#category .sb-series { min-height:0; }
body#category .sb-filter-detail-groups { align-content:start; gap:15px 10px; }
body#category .sb-filter-group h3 { margin-bottom:6px; color:#555; font-size:12px; font-weight:600; }
body#category .sb-series h2 { font-size:15px; }
body#category .sb-series-search .sb-facet-search { min-height:44px; }
body#category .sb-series .sb-option-label.sb-series-pill, body#category .sb-series-pill { min-height:40px; border-radius:4px; }
body#category .sb-series .sb-series-pill.is-active, body#category .sb-series-pill:has(input:checked), body#category .sb-series-all[aria-pressed="true"] { border-color:#111; background:#f0f0f0; }
body#category #js-product-list > p:first-child { margin:4px 0 16px; color:#555; }
body#category #js-product-list .product-miniature:hover { border-color:#888 !important; }
.sb-catalog-mobile-toggle { display:none; }
@media(max-width:991.98px) {
 body#category #js-product-list-header { margin-bottom:16px !important; }
 body#category .sb-catalog-toolbar { gap:12px; padding:16px; }
 body#category .sb-filter-intro h2 { font-size:17px; }
 body#category .sb-filter-basics { gap:8px; padding-top:12px; }
 body#category .sb-facet-trigger, body#category .sb-derived-trigger { min-height:46px; }
 body#category .sb-catalog-mobile-toggle { grid-column:1 / -1; grid-row:3; display:flex; align-items:center; justify-content:space-between; min-height:46px; width:100%; padding:10px 12px; border:1px solid #111; border-radius:3px; background:#111; color:#fff; font:inherit; font-weight:700; text-align:left; }
 body#category .sb-catalog-mobile-toggle::after { content:"+"; font-size:21px; line-height:1; }
 body#category .sb-catalog-mobile-toggle[aria-expanded="true"]::after { content:"−"; }
 body#category .sb-catalog-mobile-toggle:focus-visible { outline:2px solid #111; outline-offset:3px; }
 body#category .sb-filter-discovery { grid-row:4; grid-template-columns:minmax(0,1fr); padding-top:14px; gap:16px; }
 body#category .sb-filter-discovery.is-mobile-collapsed { display:none; }
 body#category .sb-filter-detail-groups { padding-top:14px; }
 body#category .sb-series { min-height:0; }
}
body#category .sb-mobile-length { display:none; }
@media(max-width:991.98px) {
 body#category .sb-mobile-length { display:block; margin:0; padding:0 0 14px; border:0; border-bottom:1px solid #e5e5e5; border-radius:0; box-shadow:none; }
 body#category .sb-mobile-length .sb-length-title { min-height:0; margin:0 0 8px; padding:0; background:transparent; color:#111; font-size:15px; }
 body#category .sb-mobile-length .sb-length-title::before { display:none; }
 body#category .sb-mobile-length ul { display:flex; flex-wrap:wrap; gap:6px; }
 body#category .sb-mobile-length li + li { margin:0; }
 body#category .sb-mobile-length a { display:inline-flex; min-height:40px; margin:0 0 6px; padding:8px 10px; border:1px solid #d5d5d5; font-size:12px; }
 body#category .sb-mobile-length a::before { display:none; }
 body#category .sb-mobile-length a.is-current { border-color:#111; color:#fff !important; background:#111; }
}


/* Compact category discovery; mobile retains its existing single expansion control. */
@media (min-width: 992px) {
  #search_filters .sb-filter-discovery { display:flex!important; flex-direction:column!important; gap:12px!important; padding-top:14px!important; }
  #search_filters .sb-series { width:100%!important; padding:0!important; margin:0!important; }
  #search_filters .sb-series-header { display:flex!important; align-items:center!important; justify-content:space-between!important; gap:20px!important; }
  #search_filters .sb-series-choices { margin-top:8px!important; }
  #search_filters .sb-series-options { display:flex!important; flex-wrap:wrap!important; gap:6px!important; }
  #search_filters .sb-filter-more { width:100%; border-top:1px solid #dedbd8; margin-top:2px; }
  #search_filters .sb-filter-more summary { list-style:none; cursor:pointer; display:flex; align-items:center; gap:12px; min-height:42px; color:#161616; font-weight:700; font-size:13px; }
  #search_filters .sb-filter-more summary::-webkit-details-marker { display:none; }
  #search_filters .sb-filter-more summary span { font-weight:400; color:#666; }
  #search_filters .sb-filter-more summary::after { content:'+'; margin-left:auto; font-size:20px; font-weight:400; }
  #search_filters .sb-filter-more[open] summary::after { content:'−'; }
  #search_filters .sb-filter-more .sb-filter-detail-groups { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding:8px 0 16px; }
}
@media (max-width: 991.98px) { #search_filters .sb-filter-more > summary { display:none; } }
