/* t137: фильтр каталога по макету Никиты (карточка 187px, Montserrat). */
html[data-device=desktop] body .g-cat.layout-desktop-only{grid-template-columns:187px minmax(0,1fr)!important;column-gap:16px!important}
html body .n-flt{--nf-tx:#2c3242;--nf-mut:#a0a8b5;--nf-box:#f4f6fa;--nf-line:#edf0f4;--nf-card:#fff;
  box-sizing:border-box;width:187px!important;min-width:0;padding:16px 0 8px!important;border-radius:16px!important;background:var(--nf-card)!important;
  font-family:Montserrat,Arial,sans-serif;align-self:start;height:auto!important}
html[data-theme=dark] body .n-flt{--nf-tx:#f4f7fb;--nf-mut:#8f9cb0;--nf-box:#262e3b;--nf-line:#2a3241;--nf-card:#1e242f}
html body .n-flt *{box-sizing:border-box}
html body .n-flt-h{display:flex;align-items:center;gap:10px;height:24px;margin:0 16px 12px;padding:0}
html body .n-flt-h img{width:24px;height:24px;flex:none}
html body .n-flt-h span{font:700 18px/22px Montserrat,Arial,sans-serif;letter-spacing:-.5px;color:var(--nf-tx)}
html body .n-fg{margin:0;padding:0 16px 6px;border-bottom:1px solid var(--nf-line)}
html body .n-fh{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:32px;margin:0;padding:0;border:0;background:none;cursor:pointer;text-align:left;
  font:600 14px/18px Montserrat,Arial,sans-serif;letter-spacing:-.2px;color:var(--nf-tx)}
html body .n-fh .n-fc{width:16px;height:16px;flex:none;color:var(--nf-mut);transition:transform .2s}
html body .n-fg.is-closed .n-fc{transform:rotate(180deg)}
html body .n-fg.is-closed .n-fb{display:none}
html body .n-fb{padding:3px 0 0}
html body .n-ck{position:relative;display:flex;align-items:center;gap:8px;min-height:26px;margin:0;padding:0;cursor:pointer;
  font:500 12px/16px Montserrat,Arial,sans-serif;color:var(--nf-mut);user-select:none}
html body .n-ck input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
html body .n-ck i{flex:none;display:grid;place-items:center;width:18px;height:18px;border-radius:5px;background:var(--nf-box);transition:background .15s}
html body .n-ck i::after{content:"";width:9px;height:5px;margin-top:-2px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg);opacity:0}
html body .n-ck input:checked+i{background:#6cbb3c}
html body .n-ck input:checked+i::after{opacity:1}
html body .n-ck input:focus-visible+i{outline:2px solid #268bf3;outline-offset:1px}
html body .n-ck input:checked~span{color:var(--nf-tx)}
html body .n-ck:hover span{color:var(--nf-tx)}
html body .n-ck span{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .n-ck em{flex:none;font:500 11px/14px Montserrat,Arial,sans-serif;font-style:normal;color:var(--nf-mut);opacity:.8}
html body .n-ck.is-empty{opacity:.45}
/* цена */
html body .n-fg-pr .n-fb{padding-top:6px;padding-bottom:6px}
html body .n-pr{display:flex;align-items:center;gap:8px;height:40px;margin:0 0 8px;padding:0 12px;border-radius:10px;background:var(--nf-box);cursor:text}
html body .n-pr span{font:600 12px/16px Montserrat,Arial,sans-serif;color:var(--nf-mut)}
html body .n-pr input{flex:1 1 auto;min-width:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;background:transparent;font:700 16px/20px Montserrat,Arial,sans-serif;color:var(--nf-tx)}
html body .n-pr em{font:600 14px/16px Montserrat,Arial,sans-serif;font-style:normal;color:var(--nf-mut)}
html body .n-flt .n-rng{position:relative;height:16px;margin:8px 0 2px}
html body .n-flt .n-rng::before{content:"";position:absolute;left:0;right:0;top:5px;height:5px;border-radius:3px;background:var(--nf-box)!important}
html body .n-flt .n-rng>b{top:5px!important;height:5px!important;border-radius:3px!important;background:#268bf3!important}
html body .n-flt .n-rng>input[type=range]::-webkit-slider-runnable-track{height:5px}
html body .n-flt .n-rng>input[type=range]::-webkit-slider-thumb{width:12px;height:12px;margin-top:-4px;border:0!important;background:#fff;box-shadow:0 1px 4px rgba(32,40,56,.28)!important}
html body .n-flt .n-rng>input[type=range]::-moz-range-thumb{width:12px;height:12px;border:0;background:#fff;box-shadow:0 1px 4px rgba(32,40,56,.28)}
html body .n-rl{display:flex;justify-content:space-between;font:500 11px/14px Montserrat,Arial,sans-serif;color:var(--nf-mut)}
/* кнопки */
html body .n-fa{padding:16px 16px 10px;border-bottom:1px solid var(--nf-line)}
html body .n-fa:last-child{border-bottom:0}
html body .n-fa .g-btn{display:flex!important;align-items:center;justify-content:center;width:100%!important;margin:0!important;border:0;cursor:pointer}
html body .n-fa .g-btn.blue{height:48px!important;border-radius:12px!important;background:#268bf3!important;color:#fff!important;font:700 14px/18px Montserrat,Arial,sans-serif!important}
html body .n-fa .g-btn.soft{height:36px!important;margin-top:6px!important;background:none!important;color:var(--nf-mut)!important;font:600 14px/18px Montserrat,Arial,sans-serif!important;box-shadow:none!important}
html body .n-fa .g-btn.soft:hover{color:var(--nf-tx)!important}
/* свернутые группы внизу */
html body .n-fg-c{padding-bottom:0}
html body .n-fg-c .n-fh{height:36px;font-weight:700}
html body .n-fg-c:not(.is-closed){padding-bottom:6px}
html body .n-fg-c:last-child{border-bottom:0}
html body .n-fh{letter-spacing:-.5px}
/* t232: пункты фильтра видны как у PlayPapa, даже если в тестовой базе 0 товаров */
html body .n-fh{font-size:13px;line-height:16px;letter-spacing:-.3px}
html body .n-fg-c .n-fh{font-size:13px}

/* t253: пустой блок на всю ширину колонки, как чипы и сортировка */
html[data-device=desktop] body [data-catalog-grid]:has(> .catalog-runtime-empty){grid-template-columns:minmax(0,1fr);width:100%}
html[data-device=desktop] body .catalog-runtime-empty{width:100%;box-sizing:border-box}

/* t255: заголовок пустого состояния не жирный, как обычный текст 600 */
html body .catalog-runtime-empty strong{font-weight:600}
