/* ==========================================================================
   broker.css — каталог организаций и карточка бренда (5 подстраниц)
   ========================================================================== */

/* --- Каталог --- */
.blist__head { padding: 18px 0 12px; }
.blist__head h1 { margin-bottom: 10px; font-size: clamp(23px, 5.4vw, 40px); }
/* На телефоне лид не должен съедать первый экран: три строки вместо шести. */
.blist__head .section__lead { font-size: 15px; }
@media (min-width: 760px) { .blist__head .section__lead { font-size: 16.5px; } }
.blist__tools { margin: 18px 0 14px; }
.blist__search { display: flex; gap: 10px; flex: 1 1 420px; min-width: 0; }
.blist__searchInput {
  flex: 1; min-height: 48px; padding: 12px 16px; border-radius: 12px;
  background: #fff; border: 1px solid var(--border-2); outline: none;
}
.blist__searchInput:focus { border-color: var(--accent); box-shadow: var(--ring); }
.blist__searchInput::placeholder { color: #98a0ac; }

/* ⛔ Фильтр категорий — не «пилюли». Горизонтальная лента вкладок с
   подчёркиванием активной: на телефоне листается пальцем и занимает одну
   строку вместо четырёх, на десктопе читается как навигация, а не как
   набор кнопок, спорящих с действием в карточке. */
.chips {
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--border);
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  /* ⛔ Без scroll-snap: он «приклеивал» первую вкладку к краю экрана и съедал
     отступ слева, из-за чего лента выглядела обрезанной уже в начале. */
}
.chips::-webkit-scrollbar { display: none; }

/* ⛔ На десктопе лента НЕ листается: мышью горизонтальный скролл без полосы
   недоступен, а последний чип обрезается на середине слова. Поэтому с 900px
   вкладки переносятся на вторую строку — прокручивать нечего.
   На телефоне остаётся лента: 15 категорий в перенос заняли бы пол-экрана,
   а пальцем она листается нормально. */
@media (min-width: 900px) {
  .chips {
    flex-wrap: wrap; overflow: visible;
    margin: 0; padding: 0; row-gap: 0;
  }
  /* Чуть плотнее, чтобы 14 категорий укладывались в две строки, а не в три:
     три строки вкладок над каталогом съедают пол-экрана до первой карточки. */
  .chips .chip { padding: 10px 10px 11px; font-size: 14px; }
  .chips .chip__cnt { font-size: 11.5px; margin-left: 4px; }
}

/* На телефоне — запас справа, чтобы последний чип не упирался в край,
   и подсказка-градиент, что ленту можно листать. */
@media (max-width: 899px) {
  .chips { padding-right: calc(var(--gutter) + 18px); }
  .blist__tools { position: relative; }
  .blist__tools::after {
    content: ''; position: absolute; top: 0; right: calc(var(--gutter) * -1);
    width: 34px; height: 46px; pointer-events: none;
    background: linear-gradient(90deg, rgba(245,246,248,0), var(--bg, #f5f6f8));
  }
}
.chip {
  position: relative; flex: 0 0 auto;
  padding: 12px 12px 13px; font-size: 14.5px; color: var(--text-2); white-space: nowrap;
  border-bottom: 2px solid transparent; transition: color .16s ease, border-color .16s ease;
}
.chip:hover { color: var(--text); }
.chip.is-active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 650; }
.chip__cnt { color: var(--muted); font-size: 12.5px; margin-left: 5px; font-weight: 400; }
.chip.is-active .chip__cnt { color: var(--accent); opacity: .75; }

.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }

/* ⭐ Логотипы. Сайт светлый именно ради этого: логотипы сервисов нарисованы
   под белый фон, отдельная белая подложка им больше не нужна.
   Аватарки Telegram (/img/logo/tg/) обрезаются в круг. */
.bcard__logo,
.bhero__logo,
.rcard__logo {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; overflow: hidden; background: #fff;
}
/* Слот логотипа — как и был: высота 46, ширина до 150, contain.
   ⛔ Белая подложка убрана: на светлой карточке она больше не нужна,
   а именно она давала «рябь» на тёмной теме. */
.bcard__logo { height: 46px; max-width: 150px; margin-bottom: 2px; justify-content: flex-start; }
.bcard__logo img { max-height: 46px; max-width: 150px; width: auto; height: auto; object-fit: contain; }
.bcard__logo:has(img[src*="/logo/tg/"]),
.bhero__logo:has(img[src*="/logo/tg/"]),
.rcard__logo:has(img[src*="/logo/tg/"]) { border-radius: 50%; padding: 0; border-color: transparent; }
.bcard__logo:has(img[src*="/logo/tg/"]) { width: 46px; }
.bcard__logo img[src*="/logo/tg/"],
.bhero__logo img[src*="/logo/tg/"],
.rcard__logo img[src*="/logo/tg/"] { width: 100%; height: 100%; max-width: none; max-height: none; border-radius: 50%; }

/* Логотип идёт ПОД заголовком: над ним он налезал на бейдж категории и
   спорил с H1 за первое место. Под заголовком место свободно и логотип
   читается как подпись к названию. */
.bhero__logo {
  height: 46px; max-width: 210px; margin: 0 0 18px; justify-content: flex-start;
}
.bhero__logo img { max-height: 46px; max-width: 210px; width: auto; object-fit: contain; }


/* --- Шапка карточки бренда --- */
.bhero { padding: 22px 0 0; }
.bhero__grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 36px; align-items: start; }
/* ⛔ Метки — не «пилюли». Текст с точкой: раздел и модель оплаты это факты
   о сервисе, а не кнопки; форма кнопки им лжёт. */
.bhero__cat {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.bhero__cat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bhero__tags { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
.bhero__tags .bhero__cat { margin-bottom: 0; }
.bhero__cat--paid { color: var(--accent); }
.bhero__cat--free { color: var(--ok); }
.bhero__h1 { margin-bottom: 16px; }
.bhero__intro { font-size: 17px; color: var(--text-2); }
.bhero__intro p:last-child { margin-bottom: 0; }

/* Панель реквизитов — светлая карточка: на тёмной подложке её текст
   становился нечитаемым после перехода на светлую тему. */
.bfacts { padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.bfacts__title { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 14px; }
.bfacts__list { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bfacts__row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; font-size: 14.5px; }
.bfacts__row dt { color: var(--muted); font-size: 13px; }
.bfacts__row dd { margin: 0; color: var(--text); word-break: break-word; }
.bfacts__row dd a { color: var(--accent); }
/* «Не тот сервис?» под фактами (28.09.2026) */
/* Три строки на всю ширину карточки: заголовок · пояснение · кнопка (Александр, 28.09.2026) */
.bfacts__wrong { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.bfacts__wrongTitle { font-size: 14.5px; color: var(--text); }
.bfacts__wrongText { margin: 0 0 6px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.bfacts__wrongBtn { display: block; width: 100%; text-align: center; padding: 11px 14px; border-radius: 10px; background: var(--red); color: #fff !important; font-weight: 600; font-size: 14px; }
.bfacts__wrongBtn:hover { background: var(--red-hover); }
.bfacts__row code { padding: 2px 7px; border-radius: 6px; background: var(--surface-2); font-family: var(--mono); font-size: 13px; }
.bfacts__muted { display: block; color: var(--muted); font-size: 13px; }

/* --- Навигация по подстраницам --- */
/* Навигация по пяти подстраницам бренда — такая же лента вкладок, как
   фильтр каталога: один приём на весь сайт, а не два разных. */
.toc {
  display: flex; gap: 4px; margin: 26px 0 30px; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--border);
}
.toc::-webkit-scrollbar { display: none; }
.toc__item {
  flex: 0 0 auto; padding: 12px 12px 13px; font-size: 14.5px; color: var(--text-2);
  border-bottom: 2px solid transparent; white-space: nowrap;
  transition: color .16s ease, border-color .16s ease;
}
.toc__item:hover { color: var(--text); }
.toc__item.is-active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 650; }

@media (max-width: 960px) {
  .bhero__grid { grid-template-columns: 1fr; gap: 24px; }
  .toc { overflow-x: auto; flex-wrap: nowrap; }
}

/* --- Тело карточки --- */
.bbody { display: grid; grid-template-columns: 1fr; gap: 0; }

/* Быстрый ответ вверху страницы «как отписаться» */
.quick {
  padding: 24px; border-radius: var(--radius); margin-bottom: 34px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.quick__title { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); margin-bottom: 10px; }
.quick__text { font-size: 16.5px; color: var(--text); margin: 0; }
.quick__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Контакты */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 24px 0 0; }
.contact {
  padding: 18px 20px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
}
.contact__label { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 6px; }
.contact__value { font-size: 16px; font-weight: 600; word-break: break-word; }
.contact__value a { color: var(--accent); }

/* Другие сервисы того же владельца (по ИНН/ОГРН) */
.related {
  margin-top: 44px; padding: 26px;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--border);
}
.related__title { font-size: 22px; margin-bottom: 8px; }
.related__lead { color: var(--muted); font-size: 15px; margin: 0 0 20px; max-width: 760px; }
.related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.rcard {
  display: flex; flex-direction: column; gap: 8px; padding: 16px;
  border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--border);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.rcard:hover { border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.rcard__logo { height: 32px; max-width: 130px; justify-content: flex-start; }
.rcard__logo img { max-height: 28px; max-width: 112px; width: auto; object-fit: contain; }
.rcard__name { font-weight: 650; font-size: 16px; }
.rcard__charge { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   Отзывы и оценки (переделано 21.09.2026).

   Что изменилось и почему:
   • оценка разложена по площадкам — одна цифра без источника выглядит как
     наша выдумка, а карточка с названием площадки и ссылкой проверяема;
   • на странице шесть отзывов, дальше «Показать ещё» — у ИВИ их 60, и
     лента на весь экран хоронит инструкцию, за которой человек пришёл;
   • у каждого отзыва две даты: на площадке и у нас. Подменять одну другой
     нечестно, первая про сервис, вторая про нашу работу.
   ========================================================================== */

/* ---- карточки оценок ---------------------------------------------------- */
.rcards {
  display: grid; gap: 12px; margin-top: 22px;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
}
.rcard {
  padding: 16px 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
}
/* Средняя выделена тёплой заливкой: это итог, остальные — слагаемые. */
.rcard--total { background: #fffaf0; border-color: #f2e2bd; }
.rcard__head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.rcard__dot {
  width: 24px; height: 24px; flex: 0 0 24px; border-radius: 7px;
  display: grid; place-items: center;
  background: #eef0f4; color: #5b6472; font-size: 12px; font-weight: 700;
}
.rcard--total .rcard__dot { background: #f7e7c2; color: #a9781a; font-size: 13px; }
.rcard__label {
  font-size: 14px; font-weight: 600; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rcard__row { display: flex; align-items: center; gap: 12px; }
.rcard__num { font-size: 32px; font-weight: 800; line-height: 1; color: var(--ink); }
.rcard__meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rcard__count { font-size: 12.5px; color: var(--muted); }
.rcard__link { color: var(--muted-2); text-decoration: none; margin-left: 4px; }
.rcard__link:hover { color: var(--red); }

/* Звёзды одни на весь сайт: серый контур, золотая заливка у набранных. */
.rcard__stars, .review__stars { letter-spacing: 1px; font-size: 13px; line-height: 1; }
.rstar { color: #d7dae0; }
.rstar.is-on { color: #f5a623; }

/* ---- карточка отзыва ---------------------------------------------------- */
.reviews { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.review {
  padding: 18px 20px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
}
.review__top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.review__author { font-weight: 650; color: var(--ink); }
.review__stars { margin-left: auto; }

/* Значок проверки: кнопка, а не картинка, — по нажатию показывает, что
   именно мы проверили. Молчаливая галочка ничего не доказывает. */
.review__ok {
  width: 20px; height: 20px; flex: 0 0 20px; padding: 0; border: 0; cursor: pointer;
  border-radius: 50%; display: grid; place-items: center;
  background: #e8f6ed; color: #1f8a4c;
}
.review__ok:hover { background: #d8f0e2; }
.review__body { color: var(--text-2, #3c434e); font-size: 15.5px; margin: 0; line-height: 1.55; }
.review__sum { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

.review__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  margin-top: 12px; padding-top: 11px; border-top: 1px solid #f0f1f4;
  font-size: 12.5px; color: var(--muted);
}
.review__srcWrap { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.review__lbl { color: var(--muted-2); }
.review__src { color: #5b6472; text-decoration: none; border-bottom: 1px solid #dfe2e8; }
a.review__src:hover { color: var(--red); border-bottom-color: currentColor; }
.review__dot { color: var(--muted-2); }
.review__pub { margin-left: auto; white-space: nowrap; }

.reviews-more { display: flex; justify-content: center; margin-top: 16px; }
.reviews-more .btn { min-width: 240px; }

/* Всплывающая подсказка у значка проверки. */
.tip-bubble {
  position: absolute; z-index: 70; max-width: 320px;
  padding: 10px 12px; border-radius: 10px;
  background: var(--ink); color: #fff; font-size: 12.5px; line-height: 1.45;
  box-shadow: 0 10px 26px rgba(20, 23, 28, .22);
}

@media (max-width: 560px) {
  .rcards { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
  .rcard__num { font-size: 27px; }
  .review__pub { margin-left: 0; width: 100%; }
}

/* ==========================================================================
   Ряд «поиск + пагинатор» и низ листинга (12.09.2026).
   Верх: поиск слева (короткий, не на всю ширину), пагинатор справа; ряд стоит
   между чипами категорий и карточками.
   Низ: одна строка — «Показать ещё» по центру, пагинатор справа.
   На мобильных: «Показать ещё» слева, пагинатор справа, тоже одной строкой.
   Вид самого пагинатора (◀ [N] ▶ из M) взят с everfin и не меняется без
   решения Александра → jarvis-project/standards/pagination-listings.md §1.
   ========================================================================== */
.blist__bar {
  display: flex; align-items: center; gap: 16px;
  margin: 0 0 22px;
}
.blist__bar .sp-pagerRow--top { margin-left: auto; flex: 0 0 auto; }

.sp-pagerRow { display: flex; align-items: center; }
.sp-pager { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.sp-pager__arrow {
  width: 42px; height: 42px; flex: 0 0 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-2); border-radius: 10px;
  background: #fff; color: var(--text);
  text-decoration: none; transition: border-color .15s, color .15s;
}
.sp-pager__arrow:hover { border-color: var(--accent); color: var(--accent); }
.sp-pager__arrow.is-disabled { opacity: .35; pointer-events: none; }
.sp-pager__input {
  width: 52px; height: 42px; flex: 0 0 52px; padding: 0; text-align: center;
  border: 1px solid var(--border-2); border-radius: 10px;
  background: #fff; color: var(--text);
  font: inherit; font-size: 15px; font-weight: 700; outline: none;
  -moz-appearance: textfield;
}
.sp-pager__input:focus { border-color: var(--accent); box-shadow: var(--ring); }
.sp-pager__total { white-space: nowrap; color: var(--text-2); }

/* Низ: три колонки — кнопка ровно по центру листинга, пагинатор по правому краю.
   Пустая первая колонка нужна именно для того, чтобы центр был центром страницы,
   а не серединой остатка после пагинатора. */
.sp-foot {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 16px; margin-top: 30px;
}
.sp-foot .sp-more { grid-column: 2; justify-self: center; }
.sp-foot .sp-pagerRow--bottom { grid-column: 3; justify-self: end; }

.sp-more {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 48px; padding: 12px 26px; border: 1px solid var(--border-2); border-radius: 12px;
  background: #fff; color: var(--text);
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background .18s, border-color .18s, transform .18s;
}
.sp-more:hover { background: var(--surface-2); border-color: var(--border-2); color: var(--text); }
.sp-more.is-hidden { display: none; }
.sp-more.is-loading { opacity: .6; cursor: default; }
.sp-more__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px;
  background: var(--surface-3); color: var(--text-2); font-size: 13px; font-weight: 700;
}
/* Кнопки нет (последняя страница) — пагинатор остаётся у правого края. */
.sp-foot .sp-more.is-hidden + .sp-pagerRow--bottom { grid-column: 3; }

@media (max-width: 760px) {
  .blist__bar { flex-wrap: wrap; }
  .blist__search { flex: 1 1 100%; }
  .blist__bar .sp-pagerRow--top { margin-left: auto; }
  /* «Показать ещё» слева, пагинатор справа — в одну строку */
  .sp-foot { grid-template-columns: auto auto; justify-content: space-between; }
  .sp-foot .sp-more { grid-column: 1; justify-self: start; }
  .sp-foot .sp-pagerRow--bottom { grid-column: 2; justify-self: end; }
  .sp-more { padding: 11px 18px; }
}
@media (max-width: 420px) {
  .sp-pager__arrow { width: 38px; height: 38px; flex: 0 0 38px; }
  .sp-pager__input { width: 46px; height: 38px; flex: 0 0 46px; }
  .sp-pager__total { display: none; }   /* «из 39» уводим, чтобы строка не ломалась */
  /* Верхний пагинатор на телефоне убираем: он дублирует нижний и отодвигает
     первую карточку на пол-экрана вниз. */
  .blist__bar .sp-pagerRow--top { display: none; }
}

/* ==========================================================================
   КАРТОЧКА КАТАЛОГА — структура согласована 12.09.2026, не меняется.
   Сверху вниз: [чип категории | платный/бесплатный] → логотип → название →
   ОГРН/ИНН → строки «поле — значение» (первый платёж, списание, сайт,
   в выписке) → отзывы → две кнопки.
   ⛔ 20.09.2026 правились ТОЛЬКО цвета — переход на светлую тему.
   ⛔ Сама карточка НЕ ссылка: кликабельны только чип, отзывы и кнопки.
   ========================================================================== */
.bcard {
  display: flex; flex-direction: column; gap: 12px; padding: 18px;
  border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.bcard:hover { border-color: var(--border-2); box-shadow: var(--shadow-sm); }

/* Верхняя строка: категория слева (ссылка на фильтр), модель оплаты справа */
.bcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bcard__chip {
  padding: 4px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 68%;
}
.bcard__chip:hover { color: var(--accent); border-color: var(--accent-line); }
.bcard__pay { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.bcard__pay--paid { color: var(--accent); }
.bcard__pay--free { color: var(--ok); }

/* ⛔ 20px и на телефоне, и на десктопе. Было 19/24: на широком экране имя
   спорило по весу с суммой списания, ради которой карточку и открывают. */
.bcard__name { font-size: 20px; font-weight: 700; margin: 0; line-height: 1.25; }
/* Второе написание имени — строкой ниже и тише: оно нужно для узнавания
   («а, это тот самый ENOTO из выписки»), но не спорит с основным именем. */
.bcard__alt { display: block; font-size: 13px; font-weight: 500; color: var(--muted); line-height: 1.3; margin-top: 2px; }
@media (min-width: 900px) { .bcard__alt { font-size: 14px; } }

/* Реквизиты: слово-ключ бледнее и мельче самого номера — номер человек
   сверяет с выпиской, слово он и так знает. */
.bcard__legal { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 10px; color: var(--text); }
.bcard__legal span { display: inline-flex; align-items: baseline; gap: 5px; }
/* Слово-ключ — светло-серое и служебное, номер — тёмный: сверяют номер,
   слово «ОГРН» человек и так знает. Размер у них одинаковый, 10px:
   реквизиты нужны для проверки, а не для чтения. */
.bcard__legal i { font-style: normal; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2, #9aa1ac); font-weight: 500; }

/* Строки «поле — значение». Тянутся по ширине, значение у правого края. */
.bcard__rows { display: flex; flex-direction: column; gap: 7px; margin: 2px 0 0; flex: 1; }
.bcard__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-bottom: 7px; border-bottom: 1px dashed var(--border);
}
.bcard__row:last-child { border-bottom: 0; padding-bottom: 0; }
.bcard__row dt { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.bcard__row dd { margin: 0; text-align: right; }
/* Первый платёж — приманка подписки, показываем спокойным цветом.
   Основное списание — то, из-за чего человек и пришёл: крупно и красным. */
.bcard__sum--first { font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.bcard__sum--main { font-size: 19px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.bcard__sum--free { font-size: 14px; font-weight: 600; color: var(--ok); }
.bcard__val { font-size: 13.5px; color: var(--text-2); word-break: break-word; }
.bcard__val--descr { font-family: var(--mono); font-size: 12.5px; color: var(--warn); }

/* Отзывы: слева оценка + звёзды + число (ссылка на страницу отзывов),
   справа «Оставить отзыв». Строка есть всегда, даже когда оценок нет, —
   карточки не должны отличаться по составу блоков. */
.bcard__reviews {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 10px; border-top: 1px solid var(--border);
}
.bcard__rating { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-2); }
.bcard__rating:hover .bcard__ratingVal { color: var(--accent); }
.bcard__rating--none { pointer-events: none; }
.bcard__stars { letter-spacing: 1.5px; color: #cdd2da; font-size: 14px; white-space: nowrap; }
.bcard__stars .is-on { color: #f5a623; }
.bcard__ratingVal { font-size: 15px; font-weight: 800; color: var(--text); }
.bcard__ratingCnt { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.bcard__leave { font-size: 12.5px; color: var(--muted); text-decoration: underline dotted; white-space: nowrap; }
.bcard__leave:hover { color: var(--accent); }

/* Две кнопки: «Отписаться» — главное действие, «Подробнее» — на хаб */
.bcard__acts { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }
.bcard__btn {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 1 1 0; min-width: 0; min-height: 44px; padding: 11px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 600; text-align: center; white-space: nowrap;
  transition: background .16s, border-color .16s, color .16s;
}
.bcard__btn--main { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.bcard__btn--main:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
.bcard__btn--ghost { background: #fff; color: var(--text-2); border: 1px solid var(--border-2); }
.bcard__btn--ghost:hover { color: var(--text); background: var(--surface-2); }

@media (max-width: 420px) {
  .bcard { padding: 16px; }
  /* Кнопки остаются в одну строку и на телефоне: при ширине 358px каждая
     получает ~158px, «Отписаться» укладывается. Колонкой они съедали
     лишние 55px высоты на каждой карточке. */
  .bcard__btn { padding: 11px 8px; font-size: 13.5px; }
}

/* ==========================================================================
   Блок «Что почитать по теме» — перелинковка карточки со статьями.
   Список, а не карточки: это продолжение чтения, а не витрина. Карточная
   сетка здесь конкурировала бы по весу с блоком «Другие сервисы».
   ========================================================================== */
.bartic__list { display: grid; gap: 10px; }
.bartic__item {
  display: block; padding: 14px 16px; border: 1px solid var(--line, #e6e8ed);
  border-radius: 12px; background: #fff; text-decoration: none; color: inherit;
  transition: border-color .16s, box-shadow .16s;
}
.bartic__item:hover { border-color: var(--border-2, #d3d7de); box-shadow: var(--shadow-sm, 0 2px 8px rgba(20,23,28,.06)); }
.bartic__name { display: block; font-weight: 650; font-size: 16px; line-height: 1.3; }
.bartic__lead { display: block; margin-top: 5px; font-size: 14px; color: var(--muted); line-height: 1.45; }
@media (min-width: 700px) { .bartic__list { grid-template-columns: 1fr 1fr; } }

/* Заглушка в слоте логотипа: буква имени в круге. Нужна, чтобы карточки без
   логотипа не были на 60px короче соседних — на телефоне это заметно. */
/* ==========================================================================
   ВКРАПЛЕНИЕ ОФФЕРОВ В ЛИСТИНГ: шесть карточек — три предложения.
   ⛔ Блок занимает всю ширину сетки и выглядит иначе, чем карточка
   организации: серый фон, метка «Реклама», три узкие строки вместо плитки.
   Реклама не должна притворяться справочником.
   ========================================================================== */
.oinline {
  grid-column: 1 / -1; margin: 6px 0; padding: 14px 16px 16px;
  border-radius: 14px; background: var(--bg-2, #f6f7f9); border: 1px solid var(--line);
}
.oinline__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.oinline__title { font-size: 14px; font-weight: 650; color: var(--text-2); }
.oinline__label {
  margin-left: auto; font-size: 10px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted-2);
}
.oinline__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.oinline__item {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  padding: 11px 13px; border-radius: 11px; background: #fff;
  border: 1px solid var(--border-2); text-decoration: none; color: inherit;
  transition: border-color .16s ease;
}
.oinline__item:hover { border-color: var(--accent); }
.oinline__name { font-weight: 640; font-size: 14.5px; white-space: nowrap; }
.oinline__note {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 12.5px; color: var(--muted);
}
.oinline__cta { margin-left: auto; font-size: 12.5px; color: var(--accent); white-space: nowrap; }
@media (max-width: 760px) {
  .oinline__list { grid-template-columns: 1fr; }
  .oinline__note { flex: 1; }
}

/* ==========================================================================
   ШАГ «ОТДЕЛЬНАЯ КАРТА» в инструкции по отказу.
   Оформлен как продолжение списка шагов, а не как рекламная плашка: тот же
   левый маркер, тот же отступ. Блок с оффером внутри — единственное цветное
   пятно, и только оно помечено «Реклама».
   ========================================================================== */
.cardstep { display: flex; gap: 16px; margin: 34px 0 0; }
.cardstep__num {
  flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 20px;
}
.cardstep__body { min-width: 0; flex: 1; }
.cardstep__title { font-size: 20px; margin: 3px 0 10px; }
.cardstep__text { margin: 0 0 12px; color: var(--text-2); }
.cardstep__list { margin: 0 0 16px; padding-left: 18px; color: var(--text-2); }
.cardstep__list li { margin-bottom: 5px; }
.cardstep__offer {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; position: relative;
  padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--border-2);
}
.cardstep__logo { max-height: 32px; width: auto; object-fit: contain; }
.cardstep__offerText { min-width: 0; flex: 1; }
.cardstep__offerName { font-weight: 650; }
.cardstep__offerNote { font-size: 13.5px; color: var(--muted); }
.cardstep__btn { white-space: nowrap; }
.cardstep__ad {
  position: absolute; top: 6px; right: 10px;
  font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2);
}
@media (max-width: 640px) {
  .cardstep { gap: 12px; }
  .cardstep__num { flex-basis: 28px; height: 28px; font-size: 17px; }
  .cardstep__title { font-size: 18px; }
  .cardstep__offer { padding: 13px; }
  .cardstep__btn { width: 100%; text-align: center; }
}

.bcard__logoStub {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--surface-2, #f5f6f8); border: 1px solid var(--line, #e6e8ed);
  font-size: 19px; font-weight: 700; color: var(--muted); line-height: 1;
}

/* ==========================================================================
   28.09.2026 — «Осторожно: продавец не раскрыт» (brokers.seller_hidden)
   Цвет — предупреждающий (--warn), а не красный акцент: красный на сайте
   занят суммой списания и главной кнопкой, плашка не должна с ними спорить.
   ========================================================================== */
.swarn {
  margin: 18px 0 4px; padding: 14px 16px 12px; border-radius: var(--radius-sm);
  background: var(--warn-soft); border: 1px solid #f0d3a3; border-left: 4px solid var(--warn);
  color: var(--text-2); font-size: 14.5px; line-height: 1.55;
}
.swarn__title { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15.5px; color: #7a4504; margin-bottom: 6px; }
.swarn__ico {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--warn); color: #fff; font-size: 14px; font-weight: 800; line-height: 1;
}
.swarn p { margin: 0 0 6px; }
.swarn p:last-child { margin-bottom: 0; }

/* «до» перед суммой списания — мельче и тише самой суммы */
.bcard__upto { font-size: 13px; font-weight: 600; color: var(--accent); margin-right: 1px; }
.bcard__sum--muted { font-size: 13px; font-weight: 500; color: var(--muted); }
/* «ОБЕЗЛИЧЕНО» вместо ИНН — тем же кеглем, что реквизиты, но красным */
.bcard__anon {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--red); font-weight: 800; letter-spacing: .06em; font-size: 10px;
}
/* ⛔ размер задаём явно: глобальное правило для svg растягивало значок до 22px */
.bcard__anon svg { flex: 0 0 auto; width: 11px; height: 10px; stroke: none; }
.bcard__anon--lg { font-size: 13px; }
.bcard__anon--lg svg { width: 14px; height: 12px; }
.bcard__warn {
  display: flex; align-items: center; gap: 7px; margin-top: -4px;
  font-size: 12.5px; font-weight: 700; color: #7a4504;
}
.bcard__warn span {
  flex: 0 0 17px; width: 17px; height: 17px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--warn); color: #fff; font-size: 11px; font-weight: 800; line-height: 1;
}
/* Сумма не одна — формулировка вместо прочерка, не длиннее двух строк */
.bcard__val--note {
  font-size: 12.5px; color: var(--muted); max-width: 62%;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
