/* ONLINE PARK — каталог, категория, бренды, акции, комплекты, сравнение, избранное. */

/* ── Листинг ─────────────────────────────────────────────── */

.cat-promos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 24px 0 16px; }

.cat-promo {
    position: relative; display: block; height: 160px;
    border-radius: var(--r-8); overflow: hidden;
    background: var(--ink) linear-gradient(135deg, #2b2a4a 0%, #060606 100%); color: var(--white);
}

.cat-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-promo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 6, 6, 0) 25%, rgba(6, 6, 6, .8) 100%); }
.cat-promo-body { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.cat-promo-body b { font-size: 18px; font-weight: 500; line-height: 1.15; }
.cat-promo-body span:last-child { font-size: 14px; opacity: .85; }
.cat-promo-badge { background: var(--orange); color: var(--white); padding: 3px 6px; border-radius: var(--r-4); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.cat-promo:hover { color: var(--white); }

.cat-head { display: flex; align-items: baseline; gap: 24px; margin-bottom: 16px; }
.cat-head h1 { font-size: 36px; line-height: 1.2; }
.cat-count { font-size: 14px; }
.cat-subs { margin-bottom: 16px; }

/* Строка фильтров */
.cat-bar { margin-bottom: 16px; }
.cat-bar-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.cat-price {
    display: inline-flex; align-items: center; gap: 12px;
    height: 44px; padding: 0 16px;
    background: var(--white); border-radius: var(--r-8);
}

.cat-price > span { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.cat-price input { width: 92px; border: 0; background: 0; outline: 0; padding: 0; font-size: 12px; font-weight: 500; letter-spacing: .1em; }
.cat-price input::placeholder { font-weight: 400; opacity: .3; }
.cat-price input::-webkit-outer-spin-button, .cat-price input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cat-price input[type="number"] { -moz-appearance: textfield; }

.cat-btn {
    display: inline-flex; align-items: center; gap: 8px;
    height: 44px; padding: 0 16px;
    background: var(--white); border: 0; border-radius: var(--r-8);
    font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
}

.cat-btn:hover { background: var(--bg-grey); }
.cat-btn-all > .icon { width: 24px; height: 24px; }
.cat-btn[aria-expanded="true"] > .icon { transform: rotate(180deg); }
.cat-btn-all.is-open, .cat-btn-all.is-open:hover { background: var(--blue); color: var(--white); }
.cat-cnt-blue { color: var(--blue); }
.cat-btn-all.is-open .cat-cnt-blue { color: var(--white); }

.cat-drop { position: relative; }
.cat-drop-panel {
    display: none; position: absolute; left: 0; top: calc(100% + 8px); z-index: 20;
    width: 280px; max-height: 340px; overflow-y: auto;
    padding: 16px; background: var(--white); border-radius: var(--r-8);
    box-shadow: 0 12px 32px rgba(6, 6, 6, .12);
}

.cat-drop-panel.is-open { display: block; }
.cat-drop-panel .btn { margin-top: 12px; }

.cat-bar-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.cat-sort { position: relative; display: inline-flex; align-items: center; }
.cat-sort select {
    appearance: none; -webkit-appearance: none; width: 220px; height: 44px; padding: 0 40px 0 16px;
    background: var(--white); border: 0; border-radius: var(--r-8); cursor: pointer;
    font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
    text-overflow: ellipsis;
}
.cat-sort .icon { position: absolute; right: 10px; pointer-events: none; }

/* Переключатель вида: одна плашка из двух ячеек, как в макете */
.cat-views { display: flex; background: var(--white); border-radius: var(--r-8); overflow: hidden; }
.cat-view {
    width: 44px; height: 44px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: 0; border: 0; color: var(--ink); cursor: pointer; opacity: .3;
}
.cat-view + .cat-view { border-left: 1px solid var(--bg-grey); }
.cat-view:hover { opacity: .6; color: var(--ink); }
html:not([data-catview="list"]) .cat-view[data-view="grid"],
[data-catview="list"] .cat-view[data-view="list"] { opacity: 1; }

/* Пока новая выдача грузится, старая приглушена */
[data-cat-root] .cat-grid, [data-cat-root] .pager { transition: opacity .15s; }
[data-cat-root].is-loading .cat-grid, [data-cat-root].is-loading .pager { opacity: .45; pointer-events: none; }

/* Чекбокс фильтра */
.cat-check { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; font-size: 16px; line-height: 21px; }
.cat-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.cat-box {
    width: 20px; height: 20px; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--ink-10); border-radius: var(--r-4);
    background: var(--white); color: transparent;
}
.cat-check input:checked + .cat-box { color: var(--blue); }
.cat-check input:focus-visible + .cat-box { border-color: var(--blue); }
.cat-cnt { margin-left: auto; opacity: .3; font-size: 13px; }

/* Список товаров */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-grid > * { min-width: 0; }
[data-catview="list"] .cat-switch { grid-template-columns: repeat(2, 1fr); }

.cat-empty { background: var(--white); border-radius: var(--r-24); padding: 48px; text-align: center; }
.cat-empty-title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.cat-empty p { opacity: .5; margin-bottom: 20px; }

.cat-seo { margin-top: 56px; background: var(--bg-grey); border-radius: var(--r-8); padding: 24px; }
.cat-seo h2 { font-size: 24px; line-height: 1.3; margin-bottom: 8px; }
.cat-seo p { font-size: 14px; line-height: 17px; max-width: 1040px; }
.cat-seo p + p { margin-top: 10px; }

/* ── Выдвижная панель «Все фильтры» ──────────────────────── */

.filters-back { position: fixed; inset: 0; z-index: 60; background: rgba(6, 6, 6, .3); }

.filters {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 61;
    width: 320px; max-width: 92vw;
    background: var(--white); border-radius: 0 var(--r-16) var(--r-16) 0;
    display: flex; flex-direction: column;
}

.filters-form { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 16px 16px; }
.filters-head h2 { font-size: 24px; line-height: 1.2; }
.filters-x { width: 32px; height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: 0; border: 0; color: var(--red); }
.filters-body { flex: 1 0 0; min-height: 0; overflow-y: auto; padding: 0 16px 8px; }
.filters-price { display: flex; gap: 8px; margin-bottom: 16px; }
.filters-price .cat-price { flex: 1 0 0; min-width: 0; background: var(--bg); padding: 0 16px; }
.filters-price .cat-price input { width: 100%; min-width: 0; }

.filter-group { background: var(--bg); border-radius: var(--r-8); padding: 16px; margin-bottom: 8px; }
.filter-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
    padding: 0; background: 0; border: 0; text-align: left;
    font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-50);
}
.filter-head .icon { transition: transform .15s; color: var(--ink); }
.filter-group.is-open .filter-head .icon { transform: rotate(180deg); }
.filter-list { display: none; margin-top: 10px; }
.filter-group.is-open .filter-list { display: block; }
.filter-list[data-limited]:not(.is-all) .is-extra { display: none; }
.filter-more { background: 0; border: 0; padding: 4px 0 0; color: var(--ink-50); font-size: 16px; text-decoration: underline; }
.filter-more:hover { color: var(--blue); }

.filters-foot { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.filters-foot .btn { height: 44px; border-radius: var(--r-8); font-size: 16px; font-weight: 500; }
.filters-foot .btn-grey { background: var(--bg); color: var(--ink-50); }
.filters-foot .btn-grey:hover { background: var(--bg-grey); color: var(--ink); }

/* ── Категория-раздел ────────────────────────────────────── */

.sec-head-simple { margin-bottom: 24px; }
.sec-head-simple h1 { font-size: 36px; line-height: 1.2; }
.sec-head-simple .sec-sub { margin-top: 10px; }

/* ── Бренды ──────────────────────────────────────────────── */

.brands-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.brands-list > * { min-width: 0; }
.brand-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
    height: 120px; padding: 16px;
    background: var(--bg-grey); border-radius: var(--r-8);
    font-size: 18px; font-weight: 700; line-height: 1; text-align: center;
}
.brand-card:hover { background: #e3e3de; color: var(--ink); }
.brand-card img { max-width: 160px; max-height: 32px; object-fit: contain; }
.brand-card span { font-size: 16px; font-weight: 400; line-height: 21px; }

.brand-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.brand-top h1 { font-size: 36px; line-height: 1.2; }
.brand-top img { max-width: 280px; max-height: 43px; object-fit: contain; }
.brand-intro { font-size: 14px; line-height: 17px; max-width: 1180px; margin: 0 0 16px; }
.brand-goods { margin-top: 56px; }

/* ── Акции ───────────────────────────────────────────────── */

.promo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.promo-grid > * { min-width: 0; }

/* Карточка акции — картинка во всю плитку, подпись поверх затемнения снизу */
.promo-card {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end;
    height: 360px; border-radius: var(--r-8); overflow: hidden;
    background: var(--ink) linear-gradient(135deg, #2b2a4a 0%, #060606 100%); color: var(--white);
}
.promo-card:hover { color: var(--white); }
.promo-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(180deg, rgba(6, 6, 6, 0) 0%, var(--ink) 100%); }
.promo-badge { position: absolute; left: 16px; top: 16px; z-index: 1; background: var(--orange); color: var(--white); padding: 3px 6px; border-radius: var(--r-4); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.promo-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.promo-body b { font-size: 18px; font-weight: 500; line-height: 1; }
.promo-body span { font-size: 14px; line-height: 17px; }
.promo-body .promo-more { display: inline-flex; align-items: center; gap: 16px; margin-top: 16px; color: var(--orange); font-size: 12px; font-weight: 500; line-height: 16px; letter-spacing: .1em; text-transform: uppercase; }
.promo-more .icon { width: 16px; height: 16px; }
.promo-card.is-over > img, .promo-card.is-over::after, .promo-card.is-over .promo-body { opacity: .6; }
.promo-card.is-over { background: #8b8b93; }

.promo-terms { max-width: 1180px; margin-bottom: 16px; }
.promo-terms .pd-label { display: block; line-height: 17px; margin-bottom: 4px; }
.promo-terms p { font-size: 16px; line-height: 20px; margin: 0; }
.promo-desc { margin-top: 8px; font-size: 16px; line-height: 20px; }
.promo-desc p + p, .promo-desc ul, .promo-desc ol { margin-top: 8px; }
.promo-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; font-size: 14px; }
.promo-over { color: var(--red); font-weight: 600; }
.timer-light { gap: 0; background: rgba(248, 105, 42, .1); border-radius: var(--r-8); color: var(--orange); }
.timer-light > span { position: relative; height: 44px; align-items: center; gap: 6px; padding: 0 12px; background: transparent; color: var(--orange); font-size: 12px; }
.timer-light > span + span::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; border-left: 1px dashed var(--orange); }
.timer-light b { font-size: 20px; font-weight: 500; line-height: 1; color: var(--orange); }

/* ── Комплекты ───────────────────────────────────────────── */

.set-block { border-top: 1px solid var(--ink-10); padding-top: 24px; margin-top: 24px; }
.set-kicker { display: block; font-size: 16px; line-height: 20px; color: var(--orange); }
.set-title { font-size: 24px; font-weight: 600; line-height: 1.2; margin-top: 4px; }
.set-desc { font-size: 14px; line-height: 17px; margin-top: 4px; }
.set-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; margin: 24px 0; }
.set-head > form { justify-self: end; grid-column: 3; }
.set-price { display: flex; align-items: baseline; gap: 12px; }
.set-price b { font-size: 24px; font-weight: 600; line-height: 1.2; }
.set-price s { font-size: 18px; opacity: .5; }
.set-note { font-size: 16px; line-height: 20px; margin-top: 8px; }
.set-arrows { display: flex; gap: 16px; grid-column: 2; }
.set-arrows .rail-arrow { border: 0; }
.set-cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 56px; padding: 0 24px; background: var(--cyan); color: var(--ink); border: 0; border-radius: var(--r-8); font-size: 18px; font-weight: 500; white-space: nowrap; }
.set-cta:hover { background: #2ce89b; color: var(--ink); }
.set-cta:disabled { opacity: .5; cursor: default; }
/* Лента комплекта: четыре карточки в ряд, остальные листаются стрелками */
.set-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.set-rail::-webkit-scrollbar { display: none; }
.set-rail > * { min-width: 0; scroll-snap-align: start; }
.set-rail-all { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; }
/* В списке комплектов товар отдельно не покупается — карточка кончается ценой, как в макете */
.set-block .card-deliv, .set-block .card-actions { display: none; }

.chips-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.chips-tabs .chip { height: 36px; padding: 0 12px; border-radius: var(--r-12); font-size: 16px; font-weight: 400; }
.chips-tabs .chip-on, .chips-tabs .chip-on:hover { background: var(--ink); color: var(--white); }

.set-terms { margin: 0; }
.set-terms .pd-label { display: block; line-height: 17px; margin-bottom: 4px; }
.set-terms p { font-size: 16px; line-height: 20px; margin: 0; }
.cat-drop-link { display: block; padding: 8px 0; font-size: 14px; }

/* ── Сравнение ───────────────────────────────────────────── */

/* Колонки товаров у шапки, таблицы и низа совпадают: слева 278px под названия характеристик,
   дальше поровну (--n — число товаров), поля панели 32px */
.cmp { --lab: 278px; --pad: 32px; --col: 176px; }
.cmp-scroll { overflow-x: auto; }
.cmp-inner { min-width: calc(var(--lab) + 2 * var(--pad) + var(--n) * var(--col)); }
.cmp-top, .cmp-bottom { display: grid; grid-template-columns: var(--lab) minmax(0, 1fr); }
.cmp-side { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 0 16px 0 var(--pad); }
.cmp-side h1 { font-size: 36px; line-height: 1.2; }
.cmp-heads, .cmp-foots { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); padding: 0 var(--pad); background: var(--white); }
.cmp-heads { border-radius: var(--r-8) var(--r-8) 0 0; }
.cmp-foots { border-radius: 0 0 var(--r-8) var(--r-8); }
.cmp-head-cell { display: flex; flex-direction: column; gap: 12px; padding: 12px 16px 12px 0; min-width: 0; }
.cmp-pic { width: 216px; max-width: 100%; aspect-ratio: 216 / 165; display: flex; align-items: center; justify-content: center; border-radius: var(--r-8); overflow: hidden; }
.cmp-pic img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cmp-pic .noimg { width: 100%; height: 100%; background: var(--bg-grey); }
.cmp-title { font-size: 16px; line-height: 20px; max-width: 240px; }
.cmp-diff { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; cursor: pointer; font-size: 16px; line-height: 21px; font-weight: 500; }
.cmp-diff input { position: absolute; opacity: 0; width: 0; height: 0; }
.cmp-diff input:checked + .cat-box { color: var(--blue); }
.cmp-diff input:focus-visible + .cat-box { border-color: var(--blue); }

.cmp-body { display: flex; flex-direction: column; gap: 4px; padding: 16px calc(var(--pad) / 2); background: var(--white); border-radius: var(--r-8) 0 0 var(--r-8); }
.cmp-row { position: relative; display: grid; grid-template-columns: var(--lab) repeat(var(--n), minmax(0, 1fr)); padding: 5px calc(var(--pad) / 2); font-size: 16px; line-height: 20px; }
.cmp-row + .cmp-row::before { content: ''; position: absolute; left: 0; right: 0; top: -2.5px; height: 1px; background: var(--ink-10); }
.cmp-row > * { min-width: 0; padding-right: 16px; overflow-wrap: anywhere; }
.cmp-row.is-diff { background: var(--bg); }
.cmp-name { opacity: .6; }
.cmp-yes { color: var(--blue); }
.cmp-no { color: var(--red); }

.cmp-foot-cell { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px 16px 12px 0; max-width: 256px; min-width: 0; }
.cmp-foot-cell > form { width: 100%; text-align: center; }
.cmp-foot-cell .btn { width: 100%; height: 47px; gap: 8px; font-size: 16px; font-weight: 500; }
.cmp-link { background: 0; border: 0; padding: 0; font-size: 16px; line-height: 20px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cmp-link:hover { color: var(--blue); }
.cmp-clear { display: flex; align-items: flex-end; padding: 0 16px 12px var(--pad); }
.cmp.is-busy { opacity: .6; pointer-events: none; }

/* ── Избранное ───────────────────────────────────────────── */

.fav-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.fav-head h1 { font-size: 40px; }
.fav-head span { font-size: 32px; font-weight: 700; color: var(--blue); }
.fav-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.fav-btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; background: var(--white); border: 0; border-radius: var(--r-12); font-size: 14px; color: var(--ink); }
.fav-btn:hover { background: var(--bg-grey); }
.fav-list { display: flex; flex-direction: column; gap: 12px; }
.fav-row { display: grid; grid-template-columns: 24px 150px 1fr 220px; align-items: center; gap: 20px; background: var(--white); border-radius: var(--r-16); padding: 16px 20px; }
.fav-pic { position: relative; height: 120px; border-radius: var(--r-8); overflow: hidden; background: var(--bg); }
.fav-pic img { width: 100%; height: 100%; object-fit: contain; }
.fav-name { font-size: 16px; font-weight: 600; margin-bottom: 12px; display: block; }
.fav-price { text-align: right; }
.fav-price b { display: block; font-size: 22px; font-weight: 700; }
.fav-price s { font-size: 14px; opacity: .4; }

/* ── Адаптив ─────────────────────────────────────────────── */

@media (max-width: 1199px) {
    .cat-head h1, .brand-top h1, .cmp-side h1, .fav-head h1, .sec-head-simple h1 { font-size: 30px; }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .promo-grid, .brands-list { grid-template-columns: repeat(3, 1fr); }
    .set-rail { grid-auto-columns: calc((100% - 40px) / 3); }
    .set-rail-all { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
    .cat-promos { grid-template-columns: repeat(2, 1fr); }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .promo-grid, .brands-list { grid-template-columns: repeat(2, 1fr); }
    .set-rail { grid-auto-columns: calc((100% - 20px) / 2); }
    .set-rail-all { grid-template-columns: repeat(2, 1fr); }
    .set-head { grid-template-columns: 1fr auto; }
    .set-arrows { grid-column: 2; grid-row: 1; }
    .set-head > form { grid-column: 1 / -1; justify-self: start; }
    /* Сравнение: заголовок над таблицей, колонка названий уже, таблица листается вбок */
    .cmp { --lab: 124px; --pad: 12px; --col: 150px; }
    .cmp-top { display: block; }
    .cmp-side { position: sticky; left: 0; width: calc(100vw - 2 * var(--gutter)); max-width: 100%; padding: 0 0 16px; gap: 8px; }
    .cmp-heads { margin-left: var(--lab); }
    .cmp-row, .cmp-title, .cmp-link { font-size: 14px; line-height: 18px; }
    .cmp-foot-cell .btn { padding: 0 8px; font-size: 14px; }
    .cmp-clear { padding: 0 8px 12px 0; }
    .fav-row { grid-template-columns: 24px 110px 1fr; }
    .fav-price { grid-column: 2 / -1; text-align: left; }
}

@media (max-width: 767px) {
    /* Макет Catalog-360: баннеры акций и плитки подкатегорий листаются вбок */
    .cat-promos, .cat-subs {
        display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none;
        margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter);
    }
    .cat-promos::-webkit-scrollbar, .cat-subs::-webkit-scrollbar { display: none; }
    .cat-promos > .cat-promo { flex: 0 0 240px; height: 140px; }
    .cat-subs > .cat-tile { flex: 0 0 140px; height: 110px; }
    .cat-subs .cat-tile img { height: calc(100% - 44px); padding: 8px 8px 0; }
    .cat-subs .cat-body { left: 12px; right: 12px; bottom: 8px; }
    .cat-subs .cat-body b { font-size: 14px; line-height: 1.15; }
    .cat-subs .cat-body span { font-size: 11px; }
    .cat-head { flex-direction: column; align-items: flex-start; gap: 2px; }
    .cat-head h1 { font-size: 28px; }
    /* Строка фильтров: «Все фильтры», сортировка и вид — в один ряд, цена и бренд живут в панели */
    .cat-bar { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
    .cat-bar-form { gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter); }
    .cat-bar-form::-webkit-scrollbar { display: none; }
    .cat-bar-form > .cat-price, .cat-bar-form > .cat-drop { display: none; }
    .cat-btn-all, .cat-bar-right, .cat-sort, .cat-views { flex: none; white-space: nowrap; }
    .cat-bar-right { margin-left: 0; }
    .cat-sort select { width: 200px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
    [data-catview="list"] .cat-switch { grid-template-columns: 1fr; }
    .promo-grid { grid-template-columns: 1fr; }
    .brands-list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .brand-card { height: 100px; gap: 10px; }
    .brand-card img { max-width: 100%; max-height: 24px; }
    .brand-card span { font-size: 14px; }
    .brand-top img { max-width: 120px; max-height: 32px; }
    .brand-goods { margin-top: 32px; }
    .set-rail { grid-auto-columns: 240px; gap: 12px; }
    .set-rail-all { grid-template-columns: repeat(2, 1fr); }
    .set-cta { width: 100%; font-size: 16px; }
    .set-head > form { width: 100%; }
    .chips-tabs .chip { height: 32px; font-size: 14px; }
    .fav-row { grid-template-columns: 24px 1fr; align-items: start; }
    /* Без явной колонки блок с названием уезжал в 24-пиксельную колонку чекбокса и наезжал на цену */
    .fav-row > :not(.cat-check) { grid-column: 2; }
    .fav-row > .cat-check { grid-row: 1; }
    .fav-pic { height: 160px; }
    .cat-empty { padding: 32px 20px; }
}

/* Товар в избранном закончился или снят с продажи — строка приглушена, но остаётся в списке */
.fav-row.is-off .fav-pic img, .fav-row.is-off .fav-name { opacity: .5; }

/* Поиск в неверной раскладке: подсказка, по какому запросу показаны результаты */
.cat-corrected { margin: -8px 0 20px; font-size: 14px; opacity: .6; }
