/* Страница категории v2 (28.09.2026, по макету владельца): pages/catalog/category_two_v2.php + layouts/pages/category_help.php.
   Откат — $config['cat_v2'] в config/pdp.php. Цвета и скругления сайта: #b74923, 5px. */
.c2 {
    --c2-brand: #b74923;
    --c2-brand-d: #9a3c1c;
    --c2-soft: #fbefe9;
    --c2-soft-line: #f0d6ca;
    --c2-ink: #1c1a19;
    --c2-text: #3b3633;
    --c2-muted: #6b625d;
    --c2-line: #ebe5e1;
    --c2-ease: cubic-bezier(.2, .7, .3, 1);
    color: var(--c2-ink);
    padding: 14px 0 10px;
}
.c2 .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c2 [hidden] { display: none !important; }
.c2 > .wrapper { display: flex; flex-direction: column; gap: 14px; }

/* хлебные крошки */
.c2-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: #9a8f88; }
.c2-crumbs a { color: var(--c2-text); text-decoration: none; display: inline-flex; align-items: center; }
.c2-crumbs a:hover { color: var(--c2-brand); }
.c2-crumbs__cur { color: var(--c2-muted); }

/* заголовок */
.c2-head { display: flex; flex-direction: column; gap: 4px; }
.c2-h1 { margin: 0; font-size: 32px; line-height: 1.15; font-weight: 700; color: var(--c2-ink); text-wrap: balance; }
.c2-from { margin: 0; font-size: 15px; color: var(--c2-muted); }
.c2-from b { color: var(--c2-brand); font-weight: 700; font-variant-numeric: tabular-nums; }

/* категории — как на странице Reduceri */
.c2-cats { background: #fff; border-radius: 5px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.c2-cats__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.c2-cats__title { margin: 0; font-size: 18px; font-weight: 600; color: var(--c2-ink); }
.c2-cats__all, .c2-cats__sheet-head { display: none; }
.c2-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.c2-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; max-width: 100%; padding: 0 8px 0 8px; border: 1px solid var(--c2-line);
    border-radius: 5px; background: #fff; color: var(--c2-ink); font-size: 14px; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap;
    cursor: pointer; transition: border-color .15s var(--c2-ease), background-color .15s var(--c2-ease), color .15s var(--c2-ease); -webkit-tap-highlight-color: transparent; }
.c2-chip__ic { flex: none; width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: #f5f1ee; }
.c2-chip__ic--svg { display: grid; place-items: center; background: none; border-radius: 4px; color: var(--c2-brand); }
.c2-chip__l { overflow: hidden; text-overflow: ellipsis; }
.c2-chip__q { font-size: 11.5px; font-weight: 600; color: #8f3413; background: var(--c2-soft); border-radius: 4px; padding: 1px 6px; font-variant-numeric: tabular-nums; }
.c2-chip.is-active { background: var(--c2-brand); border-color: var(--c2-brand); color: #fff; }
.c2-chip.is-active .c2-chip__q { background: rgba(255, 255, 255, .22); color: #fff; }
.c2-chip.is-active .c2-chip__ic { box-shadow: 0 0 0 2px #fff; }
.c2-chip--more { border-style: dashed; border-color: var(--c2-brand); color: var(--c2-brand); font-weight: 600; padding: 0 12px; font-family: inherit; }
.c2-chip--more .c2-more__l, .c2-chip--more[aria-expanded="true"] .c2-more__t { display: none; }
.c2-chip--more[aria-expanded="true"] .c2-more__l { display: inline; }
.c2-chip--more[aria-expanded="true"] .c2-chev { transform: rotate(180deg); }
.c2-chips.is-collapsed .c2-chip.is-fold { display: none; }
.c2-chev { flex: none; transition: transform .2s var(--c2-ease); }
@media (hover: hover) {
    .c2-chip:not(.is-active):hover { border-color: var(--c2-brand); color: var(--c2-brand); }
}
.c2-chip:focus-visible, .c2-q:focus-visible, .c2 button:focus-visible, .c2 select:focus-visible, .c2-help a:focus-visible { outline: 2px solid var(--c2-brand); outline-offset: 2px; }

/* быстрые фильтры */
.c2-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.c2-quick__l { font-size: 13px; color: var(--c2-muted); margin-right: 2px; }
.c2-q { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 5px; border: 1px solid var(--c2-soft-line); background: var(--c2-soft);
    color: #8f3413; font-weight: 600; font-size: 14px; line-height: 1; font-family: inherit; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.c2-q.is-on { background: #fff; border-color: var(--c2-brand); color: var(--c2-brand); box-shadow: inset 0 0 0 1px var(--c2-brand); }
.c2-q.is-on::before { content: ""; width: 14px; height: 14px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8.5 3 3 7-7.5' stroke='black' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8.5 3 3 7-7.5' stroke='black' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
@media (hover: hover) { .c2-q:not(.is-on):hover { border-color: var(--c2-brand); } }

/* основная часть */
.c2-mbar, .c2-mbar-wrap { display: none; }
.c2-main { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; align-items: start; }
.c2-side { background: #fff; border-radius: 5px; padding: 6px 16px 12px; }
.c2-side__top, .c2-side__cta { display: none; }
.c2-fg { border-bottom: 1px solid #f0ebe7; }
.c2-fg:last-of-type { border-bottom: 0; }
.c2-fg__h { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; background: none; border: 0; cursor: pointer;
    font-weight: 700; font-size: 15px; line-height: 1.3; font-family: inherit; color: var(--c2-ink); text-align: left; }
.c2-fg__h .c2-chev { color: var(--c2-muted); }
.c2-fg.is-open > .c2-fg__h .c2-chev { transform: rotate(180deg); }
.c2-fg__b { display: none; flex-direction: column; gap: 2px; padding: 0 0 12px; }
.c2-fg.is-open > .c2-fg__b { display: flex; }
.c2-cb { display: flex; align-items: flex-start; gap: 9px; padding: 5px 0; margin: 0; font-size: 14px; line-height: 1.35; color: #2b2724; cursor: pointer; font-weight: 400; }
.c2-cb input { -webkit-appearance: none; appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border: 1.5px solid #bdb3ad; border-radius: 3px; background: #fff; cursor: pointer;
    transition: background-color .12s, border-color .12s; position: static; z-index: auto; opacity: 1; }
.c2-cb input:checked { background: var(--c2-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-6.5' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/13px no-repeat; border-color: var(--c2-brand); }
.c2-cb input:focus-visible { outline: 2px solid var(--c2-brand); outline-offset: 2px; }
.c2-cb__t { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.c2-cb em { font-style: normal; color: #8a817b; font-size: 12.5px; font-variant-numeric: tabular-nums; padding-top: 1px; }
@media (hover: hover) { .c2-cb:hover .c2-cb__t { color: var(--c2-brand); } .c2-cb:hover input:not(:checked) { border-color: var(--c2-brand); } }
.c2-fg:not(.show-all) .c2-extra { display: none; }
.c2-more-v { align-self: flex-start; background: none; border: 0; padding: 4px 0; color: var(--c2-brand); font-weight: 600; font-size: 13px; line-height: 1.3; font-family: inherit; cursor: pointer; }
.c2-price { display: flex; align-items: center; gap: 6px; }
.c2-price span { color: var(--c2-muted); }
.c2 .c2-price input { flex: 1; min-width: 0; width: 100%; height: 36px; border: 1px solid #d8cfc9; border-radius: 5px; padding: 0 8px; font-size: 14px; text-align: center;
    font-variant-numeric: tabular-nums; color: var(--c2-ink); background: #fff; -moz-appearance: textfield; margin: 0; }
.c2 .c2-price input::-webkit-outer-spin-button, .c2 .c2-price input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.c2 .c2-price input:focus { border-color: var(--c2-brand); outline: none; }
.c2 .c2-price input.filter__price-num-inp { max-width: none; margin: 0; }
.c2 .c2-range { position: relative; height: 22px; margin: 12px 8px 2px; }
.c2 .c2-range .filter__price-range, .c2 .c2-range .filter__price-track { width: 100%; left: 0; right: 0; }

/* строка над списком */
.c2-list { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.c2-bar { background: #fff; border-radius: 5px; padding: 8px 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 50px; }
.c2-bar__n { margin: 0; font-size: 14px; color: var(--c2-muted); white-space: nowrap; }
.c2-bar__n b { color: var(--c2-ink); font-variant-numeric: tabular-nums; }
.c2-active { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; min-width: 0; }
.c2-x { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px 0 10px; border-radius: 5px; background: #f5f1ee; border: 0; font-weight: 400; font-size: 13px; line-height: 1;
    font-family: inherit; color: #2b2724; cursor: pointer; max-width: 100%; }
.c2-x span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c2-x::after { content: "×"; color: #8a817b; font-size: 18px; line-height: 1; }
@media (hover: hover) { .c2-x:hover { background: var(--c2-soft); color: var(--c2-brand); } .c2-x:hover::after { color: var(--c2-brand); } }
.c2-clear { align-self: center; font-size: 13px; color: var(--c2-brand); font-weight: 600; text-decoration: none; padding: 0 4px; white-space: nowrap; }
.c2-bar__s { margin: 0 0 0 auto; display: inline-flex; align-items: center; gap: 6px; position: relative; font-size: 14px; color: var(--c2-muted); font-weight: 400; }
.c2-bar__s .c2-chev { position: absolute; right: 9px; pointer-events: none; color: var(--c2-ink); }
.c2 .c2-sort-sel { -webkit-appearance: none; appearance: none; height: 36px; padding: 0 32px 0 12px; border: 1px solid #d8cfc9; border-radius: 5px; background: #fff;
    font-weight: 600; font-size: 14px; line-height: 1; font-family: inherit; color: var(--c2-ink); cursor: pointer; }
.c2 .c2-sort-sel:hover { border-color: var(--c2-brand); }

/* сетка товаров */
.c2 .catalog_products { grid-column: auto; grid-row: auto; display: flex; flex-direction: column; gap: 12px; }
.c2 .page-cart { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.c2 .page-cart:empty { display: none; }
.c2 .page-cart > .card { width: auto; max-width: none; margin: 0; }

/* «Показать ещё» с прогрессом */
.c2 .button_load_products { background: #fff; border-radius: 5px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; }
.c2-prog { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.c2-prog__t { font-size: 13px; color: var(--c2-muted); font-variant-numeric: tabular-nums; }
.c2-prog__bar { width: 260px; max-width: 100%; height: 4px; background: #efe8e3; border-radius: 2px; overflow: hidden; }
.c2-prog__bar i { display: block; height: 100%; background: var(--c2-brand); border-radius: 2px; transition: width .4s var(--c2-ease); }
.c2 .page_load_info { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; min-width: 200px; padding: 0 22px; margin: 0; border: 1px solid var(--c2-brand);
    border-radius: 5px; background: #fff; color: var(--c2-brand); font-weight: 600; font-size: 14px; line-height: 1; font-family: inherit; text-transform: none; cursor: pointer; box-shadow: none; transition: background-color .15s, color .15s; }
.c2 .page_load_info .loader { display: none; }
.c2 .page_load_info.is-loading .loader { display: inline-block; width: 16px; height: 16px; margin: 0; }
@media (hover: hover) { .c2 .page_load_info:hover { background: var(--c2-brand); color: #fff; } }
.c2 .paginator:empty { display: none; }

/* пустой результат */
.c2-empty { background: #fff; border-radius: 5px; padding: 28px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.c2-empty svg { color: #d8cfc9; }
.c2-empty b { font-size: 17px; }
.c2-empty p { margin: 0; color: var(--c2-muted); font-size: 14px; }
.c2-empty__btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.c2-empty__btns a, .c2-empty__btns button { height: 40px; padding: 0 16px; border-radius: 5px; display: inline-flex; align-items: center; font-weight: 600; font-size: 14px; line-height: 1; font-family: inherit;
    text-decoration: none; cursor: pointer; border: 1px solid var(--c2-brand); }
.c2-empty__btns button { background: #fff; color: var(--c2-brand); }
.c2-empty__btns a { background: var(--c2-brand); color: #fff; }

/* низ: текст категории + вопросы | помощь */
.c2-bottom { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 18px; align-items: start; margin-top: 10px; }
.c2-bottom__main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.c2-bottom .cat-faq { margin: 0; }
.c2-bottom .cat-faq .wrapper { max-width: none; padding: 0; }
.c2-text { background: #fff; border-radius: 5px; padding: 20px 24px; }
.c2-text__t { margin: 0 0 8px; font-size: 20px; line-height: 1.25; font-weight: 700; }
.c2-text__b { font-size: 14.5px; line-height: 1.6; color: var(--c2-text); overflow-wrap: anywhere; }
.c2-text__b p { margin: 0 0 8px; }
.c2-text__b img { max-width: 100%; height: auto; }
.c2-text__b.is-clamped { max-height: 7.2em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.c2-text__more { margin-top: 6px; background: none; border: 0; padding: 4px 0; color: var(--c2-brand); font-weight: 600; font-size: 14px; line-height: 1.3; font-family: inherit; cursor: pointer; }
.c2-text__more[hidden] { display: none; }

/* помощь с выбором */
.c2-help { position: relative; overflow: hidden; border-radius: 5px; border: 1px solid var(--c2-soft-line); padding: 20px; display: flex; flex-direction: column; gap: 14px;
    background: linear-gradient(160deg, #fbefe9 0%, #fdf7f4 45%, #fff 100%); isolation: isolate; }
.c2-help__bg { position: absolute; right: -18px; top: -14px; width: 130px; height: 130px; color: var(--c2-brand); opacity: .07; transform: rotate(-12deg); z-index: -1; }
.c2-help__top { display: flex; align-items: center; gap: 12px; }
.c2-help__ava { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff;
    background: linear-gradient(145deg, #c9582f, var(--c2-brand) 60%, var(--c2-brand-d)); box-shadow: 0 6px 14px rgba(183, 73, 35, .28); }
.c2-help__ava::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(183, 73, 35, .35); animation: c2Pulse 2.6s var(--c2-ease) infinite; }
.c2-help__kicker { margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c2-brand); }
.c2-help__t { margin: 0; font-size: 19px; line-height: 1.25; font-weight: 700; color: var(--c2-ink); text-wrap: balance; }
.c2-help__lead { margin: 0; font-size: 14px; line-height: 1.5; color: var(--c2-muted); }
.c2-help__phone { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 5px; text-decoration: none; color: #fff;
    background: var(--c2-brand); box-shadow: 0 8px 18px -8px rgba(183, 73, 35, .7); transition: background-color .2s, transform .2s var(--c2-ease), box-shadow .2s; }
.c2-help__phone::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
    transform: skewX(-18deg); animation: c2Shine 5s ease-in-out 1.5s infinite; }
.c2-help__ring { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); animation: c2Ring 5s ease-in-out 1s infinite; }
.c2-help__num { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.c2-help__num small { font-size: 12px; opacity: .85; }
.c2-help__num b { font-size: 22px; font-weight: 800; letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.c2-help__go { margin-left: auto; flex: none; transition: transform .2s var(--c2-ease); }
.c2-help__phone:hover, .c2-help__phone:focus-visible { color: #fff; background: var(--c2-brand-d); }
@media (hover: hover) { .c2-help__phone:hover { transform: translateY(-1px); box-shadow: 0 12px 22px -10px rgba(183, 73, 35, .8); } .c2-help__phone:hover .c2-help__go { transform: translateX(3px); } }
.c2-help__ch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.c2-ch { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 8px; border-radius: 5px; background: #fff; border: 1px solid var(--c2-soft-line);
    color: #3b2a22; font-weight: 600; font-size: 13.5px; line-height: 1.2; font-family: inherit; text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .18s var(--c2-ease), box-shadow .18s, border-color .18s, color .18s; }
.c2-ch svg { flex: none; transition: transform .25s var(--c2-ease); }
@media (hover: hover) {
    .c2-ch:hover { transform: translateY(-2px); box-shadow: 0 8px 16px -8px rgba(28, 26, 25, .35); }
    .c2-ch:hover svg { transform: scale(1.12) rotate(-6deg); }
    .c2-ch--viber:hover { border-color: #7360f2; color: #5b48d8; }
    .c2-ch--tg:hover { border-color: #27a4e3; color: #1b86bd; }
    .c2-ch--chat:hover { border-color: var(--c2-brand); color: var(--c2-brand); }
}
.c2-help__perks { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px dashed var(--c2-soft-line); display: flex; flex-direction: column; gap: 8px; }
.c2-help__perks li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--c2-text); }
.c2-help__perks svg { flex: none; box-sizing: content-box; padding: 6px; border-radius: 50%; background: #fff; color: var(--c2-brand); box-shadow: 0 0 0 1px var(--c2-soft-line); }
.c2-help__recent { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--c2-soft-line); }
.c2-help__rt { margin: 0; font-size: 15px; font-weight: 700; }
.c2-help__rl { display: flex; gap: 8px; flex-wrap: wrap; }
.c2-help__r { width: 64px; height: 64px; border-radius: 5px; background: #fff; border: 1px solid #efe8e3; display: grid; place-items: center; overflow: hidden;
    transition: border-color .15s, transform .2s var(--c2-ease); }
.c2-help__r img { width: 100%; height: 100%; object-fit: contain; }
@media (hover: hover) { .c2-help__r:hover { border-color: var(--c2-brand); transform: translateY(-2px); } }
@keyframes c2Pulse { 0% { transform: scale(.92); opacity: .9; } 70% { transform: scale(1.18); opacity: 0; } 100% { opacity: 0; } }
@keyframes c2Ring { 0%, 86%, 100% { transform: rotate(0); } 88% { transform: rotate(-14deg); } 90% { transform: rotate(12deg); } 92% { transform: rotate(-10deg); } 94% { transform: rotate(8deg); } 96% { transform: rotate(-4deg); } }
@keyframes c2Shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* ноутбуки */
@media (max-width: 1100px) {
    .c2-main { grid-template-columns: 230px minmax(0, 1fr); gap: 14px; }
    .c2 .page-cart { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
    .c2-bottom { grid-template-columns: minmax(0, 1fr) minmax(290px, .9fr); }
}
@media (max-width: 900px) {
    .c2-bottom { grid-template-columns: minmax(0, 1fr); }
}

/* телефон и планшет: фильтр на весь экран, закреплённая панель */
@media (max-width: 850px) {
    .c2 { padding-top: 10px; }
    .c2 > .wrapper { gap: 12px; }
    .c2-h1 { font-size: 24px; }
    .c2-from { font-size: 14px; }
    .c2-main { display: block; }
    .c2-bar { display: none; }
    .c2-bar:has(.c2-x) { display: flex; padding: 8px 10px; min-height: 0; }
    .c2-bar:has(.c2-x) .c2-bar__n, .c2-bar:has(.c2-x) .c2-bar__s { display: none; }
    .c2-list { gap: 10px; }
    /* закрепление — assets/js/cat2.js (position: sticky не работает: у body overflow: hidden) */
    .c2-mbar-wrap { display: block; margin: 0 -15px; }
    .c2-mbar { display: flex; align-items: center; gap: 8px; padding: 8px 15px; background: #fff; box-shadow: 0 2px 8px rgba(28, 26, 25, .08); }
    .c2-mbar.is-fixed { position: fixed; left: 0; right: 0; top: var(--c2-top, 0px); z-index: 900; animation: c2BarIn .2s var(--c2-ease); }
    .c2-mbar__f { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 12px; border: 1px solid var(--c2-brand); border-radius: 5px;
        background: #fff; color: var(--c2-brand); font-weight: 600; font-size: 14px; line-height: 1; font-family: inherit; cursor: pointer; }
    .c2-nf { font-style: normal; background: var(--c2-brand); color: #fff; border-radius: 9px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; display: inline-grid; place-items: center; }
    .c2-mbar__s { flex: 1; min-width: 0; margin: 0; }
    .c2-mbar .c2-sort-sel { width: 100%; height: 38px; padding: 0 28px 0 10px; font-weight: 600; font-size: 14px; text-overflow: ellipsis;
        background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231c1a19' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 8px center/16px no-repeat; }
    .c2-mbar__n { font-size: 12.5px; color: #8a817b; white-space: nowrap; }
    .c2-mbar__n b { color: var(--c2-ink); }

    .c2-side { display: none; position: fixed; inset: 0; z-index: 100000; border-radius: 0; padding: 0; flex-direction: column; background: #fff; }
    body.c2-filter-open .c2-side { display: flex; animation: c2SheetIn .28s var(--c2-ease); }
    body.c2-filter-open, body.c2-cats-open { overflow: hidden; }
    body.c2-filter-open #mcChatWidget, body.c2-filter-open .phone_fix, body.c2-cats-open #mcChatWidget, body.c2-cats-open .phone_fix { display: none !important; }
    .c2-side__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 12px; border-bottom: 1px solid #eee; padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
    .c2-side__top b { font-size: 18px; }
    .c2-side__close { background: none; border: 0; color: var(--c2-brand); font-weight: 600; font-size: 15px; line-height: 1; font-family: inherit; padding: 6px 0; cursor: pointer; }
    .c2-side__in { flex: 1; overflow-y: auto; padding: 0 16px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
    .c2-side__cta { display: flex; gap: 10px; padding: 10px 16px; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #eee; }
    .c2-side__reset { display: inline-flex; align-items: center; height: 46px; padding: 0 16px; border: 1px solid #d8cfc9; border-radius: 5px; color: var(--c2-muted); text-decoration: none; font-weight: 600; }
    .c2-side__apply { flex: 1; height: 46px; border: 0; border-radius: 5px; background: var(--c2-brand); color: #fff; font-weight: 600; font-size: 15px; line-height: 1; font-family: inherit; cursor: pointer; }
    .c2-cb { padding: 8px 0; font-size: 15px; }
    .c2-cb input { width: 20px; height: 20px; }

    /* категории и быстрые фильтры — лентами */
    .c2-cats { padding: 10px 12px; margin: 0 -3px; }
    .c2-cats__title { font-size: 16px; }
    .c2-cats__all { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border: 1px solid var(--c2-line); border-radius: 5px; background: #fff;
        color: var(--c2-brand); font-weight: 600; font-size: 13px; line-height: 1; font-family: inherit; cursor: pointer; white-space: nowrap; }
    .c2-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px; scroll-padding: 12px; }
    .c2-chips::-webkit-scrollbar { display: none; }
    .c2-chips.is-collapsed .c2-chip.is-fold { display: inline-flex; }
    .c2-chip { min-height: 36px; font-size: 13px; }
    .c2-chip--more { display: none !important; }
    .c2-cats.is-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100001; margin: 0; max-height: 80vh; border-radius: 12px 12px 0 0; padding: 0 16px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; animation: c2SheetIn .28s var(--c2-ease); box-shadow: 0 -8px 30px rgba(0, 0, 0, .2); }
    .c2-cats.is-sheet .c2-cats__head { display: none; }
    .c2-cats.is-sheet .c2-cats__sheet-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: #fff; padding: 14px 0 10px; z-index: 1; }
    .c2-cats.is-sheet .c2-cats__sheet-head b { font-size: 18px; }
    .c2-cats__close { background: none; border: 0; color: var(--c2-brand); font-weight: 600; font-size: 15px; line-height: 1; font-family: inherit; cursor: pointer; }
    .c2-cats.is-sheet .c2-chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
    .c2-backdrop { position: fixed; inset: 0; z-index: 100000; background: rgba(28, 26, 25, .45); }
    .c2-quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -15px; padding: 0 15px; }
    .c2-quick::-webkit-scrollbar { display: none; }
    .c2-quick__l { display: none; }
    .c2-q { height: 34px; font-size: 13px; padding: 0 12px; }

    .c2-text { padding: 16px; }
    .c2-text__t { font-size: 18px; }
    .c2-help { padding: 16px; }
}
@media (max-width: 600px) {
    .c2 .page-cart { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .c2 .page_load_info { width: 100%; }
    .c2-help__ch { grid-template-columns: 1fr 1fr; }
    .c2-ch--chat { grid-column: 1 / -1; }
}
@keyframes c2BarIn { from { transform: translateY(-8px); opacity: .6; } to { transform: none; opacity: 1; } }
@keyframes c2SheetIn { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .c2 *, .c2 *::before, .c2 *::after { animation: none !important; transition: none !important; }
    body.c2-filter-open .c2-side, .c2-cats.is-sheet { animation: none; }
}
