

/* Start:/local/templates/b2bportal_default/assets/css/catalog2026.css?179336894610717*/
/* ============================================================
   Страницы каталога 2026 (макет 2026-10-28_catalog-pages_handoff_v01): бренды, бренд, категории,
   категория. Значения — из прототипа (слой, подогнанный под Metronic) и visual-guide; всё под .vx-cat,
   остальной сайт не задевается. Показываются только тем, кому vxCat2026Enabled().
   ============================================================ */
.vx-cat { color: #3D3D3D; }
.vx-cat [hidden] { display: none !important; }
.vx-cat .dot { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; display: inline-block; }
.vx-cat .hl { background: #FFE7A6; border-radius: 2px; }

/* --- карточка (одна на страницу) --- */
.vx-cat .card { background: #FFFFFF; border: 0; border-radius: 4px; box-shadow: 0 0 13px 0 rgba(82, 63, 105, .05); }
/* на десктопе шапка карточки — одной строкой: сжимается только мета (многоточием), поиск — от 160 до 340 px */
.vx-cat .card__head { display: flex; align-items: center; flex-wrap: nowrap; gap: 10px; min-height: 60px; padding: 12px 25px; border-bottom: 1px solid #EBEDF2; box-sizing: border-box; }
.vx-cat .card__head > * { flex-shrink: 0; }
.vx-cat .card__title { margin: 0; font-size: 15.6px; line-height: 19px; font-weight: 500; color: #48465B; white-space: nowrap; }
.vx-cat .card__head > .card__title { flex-shrink: 1; min-width: 0; white-space: normal; } /* заголовок блока из админки бывает длинным: в две строки */
.vx-cat .card__n { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 3.25px; background: #F0F3FF; color: #646C9A; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
/* мета сжимается с многоточием раньше, чем «Фильтры» и сортировка уйдут на вторую строку */
.vx-cat .card__head > .card__meta { flex: 0 1 auto; min-width: 60px; overflow: hidden; font-size: 13px; color: #959CB6; white-space: nowrap; text-overflow: ellipsis; }
.vx-cat .card__body { padding: 20px 25px 25px; }

/* --- поиск --- */
/* поиск: база 200 px, растёт до 340 — перенос строки flex считает по базе, и сортировка остаётся в строке
   и в шапке с логотипом бренда */
.vx-cat .bsearch { position: relative; display: block; flex: 1 1 160px; max-width: 340px; margin: 0 0 0 auto; }
.vx-cat .card__head > .bsearch { flex-shrink: 1; min-width: 160px; }
.vx-cat .bsearch input { width: 100%; height: 38px; box-sizing: border-box; border: 0; border-bottom: 1px solid #E2E5EC; border-radius: 20px; background: #F2F3F8; padding: 0 20px 0 40px; font: inherit; font-size: 13px; color: #3D3D3D; outline: none; -webkit-appearance: none; }
.vx-cat .bsearch input:focus { background: #FFFFFF; box-shadow: 0 0 0 1px rgba(82, 63, 105, .1); }
.vx-cat .bsearch input::placeholder { color: #807DA1; }
.vx-cat .bsearch input::-webkit-search-cancel-button { cursor: pointer; }
.vx-cat .bsearch .tb-search__ic { position: absolute; left: 15px; top: 11px; color: #807DA1; pointer-events: none; }

/* --- «таблетки»-фильтры --- */
.vx-cat .btool { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 25px 0; }
.vx-cat .bdirs { display: flex; flex-wrap: wrap; gap: 6px; }
.vx-cat .bdirs button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid #E2E5EC; border-radius: 15px; background: #FFFFFF; font: inherit; font-size: 12.5px; color: #3D3D3D; cursor: pointer; white-space: nowrap; }
.vx-cat .bdirs button:hover { border-color: #C9CEDB; }
.vx-cat .bdirs button b { font-weight: 400; color: #646C9A; }
.vx-cat .bdirs button.on { background: #3D3D3D; border-color: #3D3D3D; color: #FFFFFF; }
.vx-cat .bdirs button.on b { color: rgba(255, 255, 255, .75); }
.vx-cat .bdirs button:focus-visible, .vx-cat .letters button:focus-visible { outline: 2px solid #3D3D3D; outline-offset: 2px; }

/* --- сортировка: кнопка-«таблетка» + своё меню --- */
.vx-cat .bsort { position: relative; }
.vx-cat .bsort__btn { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px 0 11px; border: 1px solid #E2E5EC; border-radius: 15px; background: #FFFFFF; font: inherit; font-size: 12.5px; color: #3D3D3D; cursor: pointer; white-space: nowrap; transition: border-color .15s, box-shadow .15s; }
.vx-cat .bsort__btn:hover { border-color: #C9CEDB; }
.vx-cat .bsort.open .bsort__btn, .vx-cat .bsort__btn:focus-visible { border-color: #3D3D3D; box-shadow: 0 0 0 3px rgba(61, 61, 61, .08); outline: none; }
.vx-cat .bsort__btn .ic, .vx-cat .bsort__chev { display: flex; color: #646C9A; }
.vx-cat .bsort__pre { color: #646C9A; }
.vx-cat .bsort__lbl { font-weight: 500; }
.vx-cat .bsort__chev { transition: transform .15s; }
.vx-cat .bsort.open .bsort__chev { transform: rotate(180deg); }
.vx-cat .bsort__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 100%; width: max-content; margin: 0; padding: 6px; list-style: none; background: #FFFFFF; border-radius: 8px; box-shadow: 0 10px 30px rgba(82, 63, 105, .18), 0 0 0 1px rgba(82, 63, 105, .06); animation: vxCatIn .14s ease-out; }
@keyframes vxCatIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.vx-cat .bsort__menu li { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 8px; border-radius: 6px; font-size: 13px; color: #3D3D3D; cursor: pointer; outline: none; white-space: nowrap; }
.vx-cat .bsort__menu li:hover, .vx-cat .bsort__menu li:focus { background: #F2F3F8; }
.vx-cat .bsort__menu li .ck { width: 16px; display: flex; justify-content: center; color: #ED1C24; visibility: hidden; }
.vx-cat .bsort__menu li[aria-selected="true"] { font-weight: 500; }
.vx-cat .bsort__menu li[aria-selected="true"] .ck { visibility: visible; }

/* --- алфавит --- */
.vx-cat .letters { display: flex; flex-wrap: wrap; gap: 4px; padding: 16px 25px 0; }
.vx-cat .letters button { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 6px; border: 0; border-radius: 3.25px; background: none; font: inherit; font-size: 13px; font-weight: 500; line-height: 16px; color: #646C9A; cursor: pointer; }
.vx-cat .letters button:hover { background: #F7F8FA; color: #3D3D3D; }
.vx-cat .letters button.on { background: #3D3D3D; color: #FFFFFF; }
.vx-cat .letters button[disabled] { opacity: .35; cursor: default; background: none; color: #C8CDDC; }

/* --- плитки брендов --- */
.vx-cat .bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.vx-cat .bt { display: flex; flex-direction: column; min-width: 0; border: 1px solid #EBEDF2; border-radius: 4px; background: #FFFFFF; color: #3D3D3D; text-decoration: none; outline: none; }
.vx-cat .bt:hover { border-color: #E2E5EC; box-shadow: 0 0 13px 0 rgba(82, 63, 105, .1); color: #3D3D3D; text-decoration: none; }
.vx-cat .bt:focus-visible { border-color: #3D3D3D; }
.vx-cat .bt__logo { position: relative; display: grid; place-items: center; height: 96px; padding: 0 14px; border-bottom: 1px solid #EBEDF2; border-radius: 4px 4px 0 0; background: #FFFFFF; }
.vx-cat .bt__logo .logo-img { display: block; max-height: 52px; max-width: 72%; width: auto; height: auto; object-fit: contain; }
.vx-cat .bt__wm { font-size: 15px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #3D3D3D; text-align: center; line-height: 1.15; text-wrap: balance; }
.vx-cat .bt:hover .bt__wm { color: #ED1C24; }
.vx-cat .bt__body { display: flex; flex-direction: column; flex: 1 1 auto; gap: 6px; min-width: 0; padding: 12px 14px 14px; }
.vx-cat .bt__title { font-size: 14px; font-weight: 500; line-height: 18px; color: #3D3D3D; }
.vx-cat .bt__n { font-size: 12px; color: #646C9A; font-variant-numeric: tabular-nums; }
.vx-cat .bt__n b { font-weight: 500; color: #3D3D3D; }
.vx-cat .bt__bar { display: flex; gap: 2px; height: 4px; margin-top: 2px; border-radius: 2px; overflow: hidden; background: #F2F3F8; }
.vx-cat .bt__bar i { display: block; min-width: 4px; }
.vx-cat .bt__dirs { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.vx-cat .bt__dir { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: #646C9A; white-space: nowrap; }
.vx-cat .bt__dir b { font-weight: 500; color: #3D3D3D; }
.vx-cat .bt__top { display: flex; flex-direction: column; gap: 2px; margin-top: 2px; padding-top: 6px; border-top: 1px solid #EBEDF2; }
.vx-cat .bt__tc { display: flex; flex-direction: column; gap: 2px; font-size: 12px; line-height: 17px; color: #3D3D3D; }
.vx-cat .bt__row { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.vx-cat .bt__row .nm { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vx-cat .bt__row b { flex-shrink: 0; font-weight: 400; color: #646C9A; font-variant-numeric: tabular-nums; }
.vx-cat .bt__hit { padding: 3px 6px; border-radius: 3px; background: #FFF6E5; font-size: 12px; color: #7A5200; }
.vx-cat .bt__more { margin-top: auto; padding-top: 4px; font-size: 12px; font-weight: 500; color: #ED1C24; }
.vx-cat .bt:hover .bt__more { text-decoration: underline; }
.vx-cat .bempty { margin: 24px 0; text-align: center; font-size: 13px; color: #646C9A; }

/* --- адаптив (spec_common §7) --- */
@media (max-width: 860px) {
  .vx-cat .card__head { flex-wrap: wrap; padding: 12px 16px; }
  .vx-cat .card__head > .card__meta { white-space: normal; }
  .vx-cat .bsearch { order: 5; flex: 1 1 100%; max-width: none; margin-left: 0; }
  .vx-cat .bsort { order: 6; }
  .vx-cat .btool, .vx-cat .letters { padding-left: 16px; padding-right: 16px; }
  .vx-cat .card__body { padding: 16px; }
}
@media (max-width: 560px) {
  .vx-cat .bdirs, .vx-cat .letters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .vx-cat .bdirs::-webkit-scrollbar, .vx-cat .letters::-webkit-scrollbar { display: none; }
  .vx-cat .bdirs button, .vx-cat .letters button { flex-shrink: 0; }
  .vx-cat .bdirs button { height: 44px; padding: 0 14px; border-radius: 22px; }
  .vx-cat .letters button { min-width: 44px; height: 44px; }
  .vx-cat .bgrid { grid-template-columns: minmax(0, 1fr); }
}

/* End */
/* /local/templates/b2bportal_default/assets/css/catalog2026.css?179336894610717 */
