/* SNKRSTOWN — каталог (макет 1:1). Сетка страницы: сверху шапка раздела, слева (от 1024 px) колонка фильтров. */

.cat { max-width: 1920px; margin: 0 auto; padding: 24px var(--pad) 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "res" "seo"; column-gap: clamp(24px, 3vw, 48px); align-items: start; }
.cat__box { display: contents; }
.cat__top { grid-area: top; min-width: 0; }
.cat__res { grid-area: res; min-width: 0; padding-top: 28px; }
.cat__box.is-loading > * { opacity: .5; transition: opacity .2s; pointer-events: none; }
@media (min-width: 1024px) {
	.cat { grid-template-columns: 272px minmax(0, 1fr); grid-template-areas: "top top" "side res" "seo seo"; }
}

.cat__h1 { margin: 20px 0 24px; }
.cat__subs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)) 20px; padding: 0 var(--pad); }
.cat__subs::-webkit-scrollbar { display: none; }
.cat__subs .tag { border-color: var(--line); }
.cat__subs .tag.is-on { border-color: #000; }

/* панель */
.cat__bar { position: relative; z-index: 5; background: #fff; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid #000; border-bottom: 1px solid #e5e5e5; }
.cat__fbtn { height: 36px; padding: 0 14px; border: 1px solid #000; background: #000; color: #fff; font: 500 11px/1 var(--m); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.cat__fbtn span { min-width: 18px; height: 18px; background: #fff; color: #000; font: 600 10px/18px var(--m); text-align: center; }
@media (min-width: 1024px) { .cat__fbtn { display: none; } }
.cat__cnt { font: 400 11px/1 var(--m); letter-spacing: .1em; text-transform: uppercase; color: var(--t2); white-space: nowrap; }
.cat__view { display: none; align-items: center; gap: 4px; margin-left: 8px; padding-left: 16px; border-left: 1px solid var(--line); }
@media (min-width: 768px) { .cat__view { display: flex; } }
.cat__view > span { font: 400 11px/1 var(--m); letter-spacing: .14em; color: var(--t4); margin-right: 8px; }
.cat__vb { height: 36px; padding: 0 6px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; gap: 2px; transition: opacity .25s; }
.cat__vb:hover { opacity: .6; }
.cat__vb i { height: 16px; border: 1px solid #bbb; background: transparent; }
.cat__vb.is-on { box-shadow: inset 0 -1.5px 0 #000; }
.cat__vb.is-on i { border-color: #000; background: #000; }
.cat__sort { margin-left: auto; position: relative; display: inline-flex; align-items: center; border-bottom: 1px solid #000; }
.cat__sort select { height: 36px; border: 0; background: transparent; padding: 0 26px 0 0; font: 500 11px/1 var(--m) !important; letter-spacing: .12em; text-transform: uppercase; color: #000; cursor: pointer; outline: none; max-width: 60vw; }
.cat__sort .ico { position: absolute; right: 4px; pointer-events: none; }

/* выбранные фильтры */
.cat__chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px 0 0; }
.achip { white-space: nowrap; flex: none; height: 32px; padding: 0 6px 0 12px; border: 1px solid #000; background: #000; color: #fff; font: 500 11px/1 var(--m); letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; transition: background .25s; }
.achip:hover { color: #fff; background: #333; }
.achip > span { color: #888; }
.achip .ico { width: 18px; padding: 3px; }
.achip-reset { white-space: nowrap; height: 32px; padding: 0 8px; display: inline-flex; align-items: center; font: 500 11px/1 var(--m); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* сетка: 2 / 3 / 4 по умолчанию, вид выбирает JS (--cols) */
.cat__grid { --cols: 2; }
@media (min-width: 768px) { .cat__grid { --cols: 3; } }
@media (min-width: 1200px) { .cat__grid { --cols: 4; } }

/* колонка фильтров (≥1024) и правая шторка (<1024) */
.cat__side { grid-area: side; }
@media (min-width: 1024px) {
	.cat__side.drw { position: sticky; top: 110px; bottom: auto; z-index: 1; width: auto; transform: none; visibility: visible; border: 0; background: transparent; transition: none; max-height: calc(100vh - 130px); padding-top: 28px; }
	.cat__side .drw__h, .cat__side .flt__f { display: none; }
	.cat__side .flt__b { padding: 0; overflow: auto; scrollbar-width: thin; }
}
.flt { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.flt.is-busy .flt__b { opacity: .7; }
.flt__b { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 20px 24px; display: flex; flex-direction: column; gap: 24px; }
.flt__q { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border: 1px solid #000; flex: none; }
.flt__q input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 14px; height: 100%; }
.flt__g { display: flex; flex-direction: column; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.flt__k { display: flex; justify-content: space-between; align-items: baseline; font: 500 11px/1 var(--m); letter-spacing: .14em; text-transform: uppercase; }
.flt__kn { font-weight: 400; color: var(--t4); letter-spacing: 0; }
.flt__sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.flt__size { height: 44px; border: 1px solid var(--line); background: #fff; color: #000; display: grid; place-items: center; font: 500 13px/1 var(--m); transition: border-color .2s; white-space: nowrap; }
.flt__size:hover { border-color: #000; color: #000; }
.flt__size.is-on { background: #000; color: #fff; border-color: #000; }
.flt__list { display: flex; flex-direction: column; }
.flt__row, .flt__radio { display: flex; align-items: center; gap: 12px; height: 40px; font-size: 15px; color: #000; }
.flt__row:hover, .flt__radio:hover { color: #000; }
.flt__box { flex: none; width: 16px; height: 16px; border: 1px solid #000; display: grid; place-items: center; color: transparent; font-size: 11px; }
.flt__row.is-on .flt__box { background: #000; color: #fff; }
.flt__dot { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1px solid #000; display: grid; place-items: center; }
.flt__dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: transparent; }
.flt__radio.is-on .flt__dot::after { background: #000; }
.flt__sale { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 40px; font-size: 15px; color: #000; flex: none; }
.flt__sale:hover { color: #000; }
.flt__sw { position: relative; width: 34px; height: 20px; border-radius: 10px; background: var(--line2); transition: background .25s; }
.flt__sw span { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .25s; }
.flt__sale.is-on .flt__sw { background: #000; }
.flt__sale.is-on .flt__sw span { left: 16px; }

/* страницы */
.pager { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.pager__info { font: 400 13px var(--m); letter-spacing: .02em; color: var(--t2); }
.pager__bar { width: min(320px, 100%); height: 2px; background: #efefef; overflow: hidden; }
.pager__bar i { display: block; height: 100%; background: #000; transition: width .4s; }
.pager__more { height: 52px; padding: 0 40px; border: 1px solid #000; display: inline-flex; align-items: center; font: 500 12px/1 var(--m); letter-spacing: .12em; text-transform: uppercase; transition: background .35s, color .35s; }
.pager__more:hover { background: #000; color: #fff; }
.pager__nums { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; }
.pager__arr { width: 40px; height: 40px; display: grid; place-items: center; }
.pager__arr.is-off { opacity: .3; pointer-events: none; }
.pager__n { min-width: 40px; height: 40px; padding: 0 8px; border: 1px solid var(--line); display: grid; place-items: center; font: 500 13px var(--m); transition: background .25s, color .25s; }
.pager__n:hover { border-color: #000; color: #000; }
.pager__n.is-on { background: #000; color: #fff; border-color: #000; cursor: default; }
.pager__gap { min-width: 24px; text-align: center; color: var(--t4); }

/* пусто */
.cat__empty { display: flex; flex-direction: column; gap: 20px; padding: clamp(32px, 4vw, 64px) 0; border-bottom: 1px solid var(--line); }
.cat__empty-t { margin: 0; font-size: clamp(24px, 2.2vw, 36px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.cat__empty-b { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.cat__order { padding-bottom: 3px; border-bottom: 1px solid var(--field); white-space: nowrap; font: 500 11px/1 var(--m); letter-spacing: .14em; text-transform: uppercase; color: var(--t2); }
.cat__pop { margin: clamp(32px, 4vw, 56px) 0 16px; font-size: clamp(20px, 1.6vw, 24px); font-weight: 700; letter-spacing: -.02em; }

/* о разделе */
.cseo { grid-area: seo; display: grid; grid-template-columns: 1fr; gap: clamp(20px, 4vw, 64px); margin-top: clamp(56px, 6vw, 96px); padding-top: clamp(20px, 2vw, 28px); border-top: 1px solid #e2e2e2; }
@media (min-width: 1024px) { .cseo { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.cseo__h { margin: 0; font: 400 11px/1.5 var(--m); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cseo__r { display: flex; flex-direction: column; gap: 16px; min-width: 0; max-width: 880px; }
.cseo__lead, .cseo__lead p { margin: 0; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.65; letter-spacing: -.005em; text-wrap: pretty; }
.cseo__lead a { color: #000; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--field); text-underline-offset: 4px; transition: text-decoration-color .3s; }
.cseo__lead a:hover { text-decoration-color: #000; }
.cseo__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.cseo__more > div { overflow: hidden; min-height: 0; }
.cseo.is-open .cseo__more { grid-template-rows: 1fr; }
.cseo__rest { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.cseo__rest p, .cseo__rest li { margin: 0; font-size: 14px; line-height: 1.75; color: var(--t2); text-wrap: pretty; }
.cseo__rest h2, .cseo__rest h3 { margin: 8px 0 0; font-size: 15px; font-weight: 600; }
.cseo__btn { align-self: flex-start; border: 0; background: transparent; padding: 0; cursor: pointer; font: 400 11px/1 var(--m); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.cseo__btn:hover { color: #000; }
