/* Nerjavey.ru — permanent filters for category pages, no overlay */
body[data-page="category"] .categoryShop{
  display:grid;grid-template-columns:minmax(235px,268px) minmax(0,1fr);
  align-items:start;gap:20px;margin:24px 0 0;
}
body[data-page="category"] .categoryFilters{
  position:sticky;top:168px;min-width:0;max-height:calc(100vh - 186px);
  overflow-y:auto;overscroll-behavior:contain;
  border:1px solid #d7e4eb;background:#f8fbfc;border-radius:17px;
  padding:20px 17px;box-shadow:0 8px 20px rgba(18,43,58,.04);
  scrollbar-width:thin;scrollbar-color:#bfced6 transparent;
}
.categoryFiltersHeading{border-bottom:1px solid #dfe9ee;padding:0 0 14px;margin:0 0 16px}
.categoryFiltersHeading h2{font-size:18px;line-height:1.25;color:#19394c;margin:0 0 5px}
.categoryFiltersHeading span,.categoryResultsHeader span{font-size:12px;color:#78909c;line-height:1.4}
.categoryFilters .catFilterField{margin:0 0 14px;min-width:0}
.categoryFilters .catFilterField label,.catFilterGroup legend{display:block;font-size:12px;color:#294b60;font-weight:800;margin-bottom:7px}
.categoryFilters input:not([type="checkbox"]),.categoryFilters select{
  display:block;min-width:0;width:100%;max-width:100%;min-height:39px;
  border:1px solid #d4e2e9;border-radius:10px;background:#fff;color:#1b3648;
  padding:9px 10px;font:inherit;font-size:13px;outline-offset:2px;
}
.categoryFilters input:focus-visible,.categoryFilters select:focus-visible{outline:2px solid #3882a3;border-color:#3882a3}
.categoryFilters .catFilterGroup{padding:0;border:0;min-width:0;margin:0 0 15px}
.categoryFilters .catFilterGroup legend{margin-bottom:7px}
.categoryFilters .catFilterRange{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.categoryFilters .catFilterRange label{display:block;min-width:0;color:#657f8d;font-size:11px}
.categoryFilters .catFilterRange input{margin-top:3px;appearance:textfield}
.categoryFilters .catFilterOnly{font-size:13px;color:#325163;margin:15px 0}
.categoryFilters .catFilterOnly label{display:flex;align-items:center;gap:9px;cursor:pointer}
.categoryFilters .catFilterReset{width:100%;padding:11px 13px;border:1px solid #d0dfe6;border-radius:10px;color:#274f66;background:#fff;font-weight:800;font-size:13px;cursor:pointer}
.categoryFilters .catFilterReset:hover{background:#edf4f7}
body[data-page="category"] .categoryResults{min-width:0}
.categoryResultsHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 15px;margin-bottom:15px;background:#fff;border:1px solid #e0e9ee;border-radius:12px}
.categoryResultsHeader strong{color:#213f51;font-size:14px}
body[data-page="category"] .categoryResults .seoCategoryGrid{
  margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
}
body[data-page="category"] .categoryResults .seoCategoryGrid .productCard[hidden]{display:none!important}
body[data-page="category"] .categoryResults .seoCategoryGrid .productCard{min-width:0}
.categoryNoResults{border:1px dashed #c4d8e2;border-radius:13px;background:#f8fbfc;padding:24px;text-align:center;color:#506d80;margin-bottom:16px}
.categoryNoResults[hidden]{display:none!important}
body[data-page="category"] .categoryResults .categoryPagination{margin:23px 0 15px}
body[data-page="category"] .categoryResults .categoryPagination[hidden]{display:none!important}
body[data-page="category"] .categorySeoText{margin-top:27px}
@media(min-width:1500px){body[data-page="category"] .categoryResults .seoCategoryGrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:970px){body[data-page="category"] .categoryShop{grid-template-columns:minmax(205px,238px) minmax(0,1fr);gap:15px}}
@media(max-width:740px){
 body[data-page="category"] .categoryShop{grid-template-columns:1fr;gap:14px;margin-top:16px}
 body[data-page="category"] .categoryFilters{position:static;top:auto;max-height:none;overflow:visible;padding:18px 15px}
 body[data-page="category"] .categoryFilters .catFilterGroup{margin-bottom:11px}
 body[data-page="category"] .categoryResults .seoCategoryGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .categoryResultsHeader{padding:10px 12px}
}
@media(max-width:410px){body[data-page="category"] .categoryResults .seoCategoryGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}

/* Narrow screens: accessible filter disclosure, initially closed; desktop filters stay visible. */
.catMobileFilterToggle{display:none}
@media(max-width:740px){
 body[data-page="category"] .catMobileFilterToggle{
  display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;
  border:1px solid #d5e5ed;border-radius:13px;background:#fff;color:#193b50;
  padding:15px 16px;text-align:left;font:inherit;font-size:14px;font-weight:800;
  cursor:pointer;box-shadow:0 6px 20px rgba(20,56,78,.055);
 }
 .catMobileFilterToggleTitle,.catMobileFilterToggleInfo{display:inline-flex;gap:9px;align-items:center}
 .catMobileFilterToggleTitle svg{flex:none;color:#2a6c8d}
 .catMobileFilterToggleInfo{flex:none}
 #catMobileFilterCount:not(:empty){display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#1e647f;color:#fff;font-size:11px}
 .catMobileFilterChevron{transition:transform .2s ease;color:#456e81}
 .catMobileFilterToggle[aria-expanded="true"] .catMobileFilterChevron{transform:rotate(180deg)}
 .catMobileFilterToggle:focus-visible{outline:3px solid #72adc7;outline-offset:2px}
 body[data-page="category"] .categoryFilters.is-mobile-collapsed{display:none!important}
 body[data-page="category"] .categoryFilters{margin-top:-3px;border-radius:0 0 14px 14px;box-shadow:none}
 body[data-page="category"] .categoryShop{gap:12px}
}
@media(prefers-reduced-motion:reduce){.catMobileFilterChevron{transition:none}}
