/* =========================================================
   PAYLANCE — Бизнесы (каталог v2)
   Белый фон, чёрные акценты, фиолетовый только на главных кнопках.
   ========================================================= */
.b2 {
  --b2-ink: #111111;
  --b2-text: #15181d;
  --b2-muted: #6b7280;
  --b2-soft: #9ca3af;
  --b2-line: #ebebea;
  --b2-bg: #ffffff;
  --b2-hero: #f3f3f1;
  --b2-fill: #f2f2f4;
  --b2-violet: #5b45d6;
  --b2-violet-d: #4a36c0;
  --b2-green: #2f7a4a;
  --b2-amber: #b8852e;
  background: var(--b2-bg);
  color: var(--b2-text);
}
.b2 .num, .b2-card__price, .b2-card__metrics b { font-variant-numeric: tabular-nums; }

/* ---------- HERO ---------- */
.b2-hero {
  position: relative;
  z-index: 5;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--b2-hero);
  padding: 72px 16px 96px;
  box-sizing: border-box;
}
.b2-hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; opacity: 0; transition: opacity 1.2s ease;
}
.b2-hero__canvas.is-ready { opacity: 1; }
.b2-hero__glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(34% 48% at 50% 48%, rgba(243,243,241,.92) 0%, rgba(243,243,241,.6) 45%, rgba(243,243,241,0) 100%);
}
.b2-hero__fade {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 260px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 45%, rgba(255,255,255,.9) 75%, #ffffff 100%);
}
.b2-hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 780px;
  display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
}
.b2-hero__pill {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 10px;
  border-radius: 980px; background: #fff; border: 1px solid #e5e5ea;
  font-size: 13px; font-weight: 600; color: var(--b2-text);
}
.b2-hero__pill i { width: 8px; height: 8px; border-radius: 50%; background: #4a7b5c; box-shadow: 0 0 0 4px rgba(74,123,92,.18); }
.b2-hero__title {
  margin: 0; font-size: clamp(40px, 6vw, 68px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; color: var(--b2-ink);
}
.b2-hero__sub { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 500; color: #4b5563; }

/* поиск */
.b2-search {
  position: relative; width: 100%; margin-top: 18px; height: 72px; box-sizing: border-box;
  display: flex; align-items: center; gap: 10px; padding: 0 10px;
  background: #fff; border: 1px solid #ecebf5; border-radius: 980px;
  box-shadow: 0 24px 54px -26px rgba(17,17,17,.35), 0 2px 6px rgba(17,17,17,.04);
  text-align: left;
}
.b2-search__ind {
  position: relative; flex-shrink: 0; height: 54px; display: flex; align-items: center;
  border-radius: 980px; background: var(--b2-fill);
}
.b2-search__ind i { position: absolute; left: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--b2-ink); pointer-events: none; }
.b2-search__ind select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; height: 54px;
  padding: 0 36px 0 34px; font: inherit; font-size: 15px; font-weight: 700; color: var(--b2-ink); cursor: pointer; border-radius: 980px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.b2-search__icon { flex-shrink: 0; margin-left: 6px; color: var(--b2-soft); }
.b2-search input {
  flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 17px; font-weight: 500; color: var(--b2-text);
}
.b2-search input::placeholder { color: var(--b2-muted); }
.b2-search input:focus, .b2-search input:focus-visible { outline: none; box-shadow: none; }
.b2-search:focus-within { border-color: #d6d2f3; box-shadow: 0 24px 54px -26px rgba(17,17,17,.35), 0 0 0 4px rgba(91,69,214,.12); }
.b2-search__go {
  flex-shrink: 0; height: 54px; padding: 0 30px; border: 0; border-radius: 980px;
  background: var(--b2-violet); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(91,69,214,.55); transition: background .15s, transform .2s;
}
.b2-search__go:hover { background: var(--b2-violet-d); transform: scale(1.03); }

/* подсказки */
.b2-suggest {
  position: absolute; z-index: 30; left: 0; right: 0; top: 80px;
  display: flex; flex-direction: column; gap: 2px; padding: 10px;
  background: #fff; border: 1px solid var(--b2-line); border-radius: 22px;
  box-shadow: 0 30px 70px -30px rgba(17,17,17,.4);
  max-height: min(70vh, 520px); overflow: auto;
}
.b2-suggest[hidden] { display: none; }
.b2-suggest__label { padding: 8px 12px 4px; font-size: 12px; font-weight: 600; color: var(--b2-soft); }
.b2-suggest__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 10px 8px; }
.b2-schip {
  height: 34px; padding: 0 12px; border: 1px solid var(--b2-line); border-radius: 980px; background: #fff;
  font: inherit; font-size: 13.5px; font-weight: 600; color: var(--b2-text); cursor: pointer;
}
.b2-schip em { font-style: normal; color: var(--b2-soft); }
.b2-schip:hover { border-color: var(--b2-ink); }
.b2-srow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: inherit; text-decoration: none; }
.b2-srow:hover, .b2-srow.is-active { background: #f5f5f4; }
.b2-srow__img { width: 48px; height: 48px; flex-shrink: 0; border-radius: 10px; background: #e7e7e4 center/cover no-repeat; }
.b2-srow__t, .b2-srow__p { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.b2-srow__t { flex: 1 1 auto; }
.b2-srow__t b, .b2-srow__p b { font-size: 14.5px; font-weight: 600; color: var(--b2-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-srow__t em, .b2-srow__p em { font-style: normal; font-size: 12.5px; color: var(--b2-muted); }
.b2-srow__p { align-items: flex-end; flex-shrink: 0; }
.b2-srow__p em { color: var(--b2-green); }
.b2-suggest__none { padding: 14px 12px; font-size: 14px; color: var(--b2-muted); }
.b2-suggest__all {
  margin-top: 4px; height: 46px; padding: 0 14px; border: 0; border-radius: 14px; background: #f5f5f4;
  display: flex; align-items: center; justify-content: space-between; font: inherit; font-size: 14px; font-weight: 600; color: var(--b2-ink); cursor: pointer;
}
.b2-suggest__all span { display: flex; align-items: center; gap: 6px; }
.b2-suggest__all svg { width: 14px; height: 14px; }
.b2-suggest__all:hover { background: #ececea; }

.b2-quick { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--b2-muted); }
.b2-quick button {
  height: 30px; padding: 0 12px; border: 1px solid #e5e5ea; border-radius: 980px; background: rgba(255,255,255,.85);
  font: inherit; font-size: 13px; font-weight: 600; color: var(--b2-text); cursor: pointer;
}
.b2-quick button:hover { border-color: var(--b2-ink); }

/* ---------- КАТАЛОГ ---------- */
.b2-wrap { width: 100%; max-width: 1320px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.b2-sell.b2-wrap { width: calc(100% - 48px); padding: 32px; }
.b2-main {
  display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 24px; align-items: start;
  padding-top: 24px; padding-bottom: 64px;
}
.b2-filters-toggle { display: none; }
.b2-filters {
  position: sticky; top: 84px; background: #fff; border: 1px solid var(--b2-line); border-radius: 20px; overflow: hidden;
}
.b2-filters__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--b2-line); font-size: 16px; font-weight: 700; }
.b2-filters__head b, .b2-filters-toggle b {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; box-sizing: border-box;
  border-radius: 980px; background: var(--b2-ink); color: #fff; font-size: 11px; font-weight: 800;
}
.b2-filters__head b[hidden], .b2-filters-toggle b[hidden] { display: none; }
.b2-filters__head button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--b2-text); cursor: pointer; }
.b2-fgroup { padding: 16px 20px; border-bottom: 1px solid var(--b2-line); }
.b2-fgroup__title { margin-bottom: 10px; font-size: 13px; font-weight: 700; color: var(--b2-ink); }
.b2-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.b2-chip {
  height: 32px; padding: 0 12px; border: 1px solid #e5e5ea; border-radius: 980px; background: #fff;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--b2-text); cursor: pointer; white-space: nowrap;
}
.b2-chip:hover { border-color: #c9c9ce; }
.b2-chip.is-on { background: var(--b2-ink); border-color: var(--b2-ink); color: #fff; }
.b2-checks { display: flex; flex-direction: column; gap: 2px; }
.b2-check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; font-weight: 600; cursor: pointer; }
.b2-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--b2-ink); cursor: pointer; }
.b2-check i { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.b2-check span { flex: 1 1 auto; }
.b2-check em { font-style: normal; min-width: 22px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 6px; background: #f5f5f7; font-size: 11.5px; font-weight: 700; color: var(--b2-muted); display: grid; place-items: center; }
/* отрасли деревом + поиск по отраслям */
.b2-indsearch { position: relative; display: block; margin-bottom: 8px; }
.b2-indsearch svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--b2-muted); pointer-events: none; }
.b2-indsearch input { width: 100%; box-sizing: border-box; height: 38px; padding: 0 12px 0 33px; border: 1px solid var(--b2-line); border-radius: 10px; background: #fff; font: inherit; font-size: 13.5px; color: var(--b2-text); -webkit-appearance: none; appearance: none; }
.b2-indsearch input:focus, .b2-range input:focus { outline: none; border-color: var(--b2-ink); }
.b2-tree { display: flex; flex-direction: column; }
.b2-tree__row { display: flex; align-items: center; gap: 4px; }
.b2-tree__row .b2-check { flex: 1 1 auto; min-width: 0; }
.b2-tree__tog { width: 28px; height: 28px; flex-shrink: 0; border: 0; border-radius: 8px; background: transparent; color: var(--b2-muted); display: grid; place-items: center; cursor: pointer; }
.b2-tree__tog:hover { background: #f5f5f7; color: var(--b2-ink); }
.b2-tree__tog svg { width: 14px; height: 14px; transition: transform .15s; }
.b2-tree__grp.is-open .b2-tree__tog svg { transform: rotate(180deg); }
.b2-tree__sp { width: 28px; flex-shrink: 0; }
.b2-tree__subs { display: none; margin: 0 0 4px 8px; padding-left: 19px; border-left: 1px solid var(--b2-line); }
.b2-tree__grp.is-open .b2-tree__subs { display: block; }
.b2-check--sub { padding: 5px 32px 5px 0; font-size: 13.5px; font-weight: 500; }
.b2-check--sub input { width: 16px; height: 16px; }
.b2-check.is-empty span, .b2-check.is-empty em { opacity: .45; }
.b2-tree__none { padding: 6px 0; font-size: 13px; line-height: 1.45; color: var(--b2-muted); }
.b2-range { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.b2-range input { flex: 1 1 0; min-width: 0; height: 36px; box-sizing: border-box; padding: 0 10px; border: 1px solid var(--b2-line); border-radius: 10px; background: #fff; font: inherit; font-size: 13.5px; color: var(--b2-text); }
.b2-range span { color: var(--b2-soft); }
.b2-switch + .b2-switch { border-top: 1px solid var(--b2-line); }
/* актуальность */
.b2-new { height: 24px; padding: 0 8px; border-radius: 980px; background: #e8f3ec; color: var(--b2-green); font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; }
.b2-card__fresh { margin-left: auto; padding-left: 10px; flex-shrink: 0; font-size: 12.5px; font-weight: 500; color: var(--b2-soft); white-space: nowrap; }
.b2-card__fresh.is-stale { color: #b45309; }
@media (min-width: 961px) {
  .b2-filters { max-height: calc(100vh - 100px); overflow-y: auto; overscroll-behavior: contain; }
}
.b2-switch { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; font-size: 14px; font-weight: 700; cursor: pointer; position: relative; }
.b2-switch input { position: absolute; opacity: 0; pointer-events: none; }
.b2-switch i { width: 40px; height: 24px; border-radius: 980px; background: #d2d2d7; position: relative; transition: background .15s; flex-shrink: 0; }
.b2-switch i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s; }
.b2-switch input:checked + i { background: var(--b2-green); }
.b2-switch input:checked + i::after { transform: translateX(16px); }
.b2-switch input:focus-visible + i { outline: 2px solid var(--b2-violet); outline-offset: 2px; }
.b2-filters__apply { display: none; }

.b2-results { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.b2-results__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.b2-results__head h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--b2-ink); }
.b2-results__head span { font-size: 14px; color: var(--b2-muted); }
.b2-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.b2-tabs { display: flex; gap: 4px; padding: 4px; background: #f5f5f7; border-radius: 980px; }
.b2-tabs button { height: 36px; padding: 0 16px; border: 0; border-radius: 980px; background: transparent; font: inherit; font-size: 14px; font-weight: 700; color: var(--b2-text); cursor: pointer; }
.b2-tabs button span { opacity: .6; }
.b2-tabs button[aria-selected="true"] { background: var(--b2-ink); color: #fff; }
.b2-active { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 auto; }
.b2-achip { height: 36px; padding: 0 10px 0 14px; border: 1px solid #d2d2d7; border-radius: 980px; background: #fff; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 700; color: var(--b2-text); cursor: pointer; }
.b2-achip svg { width: 12px; height: 12px; color: var(--b2-muted); }
.b2-achip:hover { border-color: var(--b2-ink); }
.b2-sort { position: relative; display: flex; align-items: center; margin-left: auto; }
.b2-sort svg { position: absolute; left: 14px; pointer-events: none; }
.b2-sort select {
  appearance: none; -webkit-appearance: none; height: 44px; padding: 0 16px 0 36px; border: 1px solid #e5e5ea; border-radius: 980px; background: #fff;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--b2-text); cursor: pointer;
}

/* ---------- КАРТОЧКА-СТРОКА ---------- */
.b2-list { display: flex; flex-direction: column; gap: 14px; }
.b2-card {
  display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr) 208px; gap: 24px;
  padding: 16px; background: #fff; border: 1px solid #e6e6e3; border-radius: 18px;
  transition: border-color .2s, box-shadow .3s;
  animation: b2rise .6s cubic-bezier(.2,.7,.2,1) both;
}
.b2-card:hover { border-color: #d6d6d2; box-shadow: 0 16px 40px -26px rgba(17,17,17,.3); }
@keyframes b2rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .b2-card { animation: none; } .b2-hero__canvas { transition: none; } }

.b2-card__media { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.b2-card__photo { position: relative; display: block; aspect-ratio: 360 / 236; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #e9e8e5, #d9d8d4); }
.b2-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.b2-card:hover .b2-card__photo img { transform: scale(1.03); }
.b2-card__nophoto { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: rgba(17,17,17,.35); font-size: 12px; font-weight: 600; }
.b2-card__nophoto svg { width: 28px; height: 28px; }
.b2-card__video { position: absolute; left: 10px; top: 10px; height: 28px; padding: 0 10px 0 6px; border-radius: 980px; background: rgba(17,17,17,.72); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.b2-card__video i { width: 18px; height: 18px; border-radius: 50%; background: #fff; color: #111; font-size: 8px; font-style: normal; display: grid; place-items: center; }
.b2-card__count { position: absolute; right: 10px; bottom: 10px; height: 26px; padding: 0 9px; border-radius: 980px; background: rgba(17,17,17,.6); color: #fff; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.b2-card__count svg { width: 12px; height: 12px; }
.b2-card__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.b2-card__thumbs a { position: relative; height: 72px; border-radius: 10px; background: #e7e7e4 center/cover no-repeat; overflow: hidden; }
.b2-card__thumbs span { position: absolute; inset: 0; background: rgba(17,17,17,.45); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }

.b2-card__info { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding-top: 2px; }
.b2-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.b2-tag { height: 24px; padding: 0 9px; border-radius: 980px; background: #f5f5f4; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.b2-tag i { width: 7px; height: 7px; border-radius: 50%; }
.b2-top { height: 24px; padding: 0 8px; border-radius: 980px; background: var(--b2-ink); color: #fff; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; }
.b2-muted { font-size: 12.5px; color: var(--b2-soft); }
.b2-card__title { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; color: var(--b2-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b2-card__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.b2-card__price { font-size: 26px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: var(--b2-ink); }
.b2-card__loc { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: #4b5563; min-width: 0; }
.b2-card__loc svg { width: 13px; height: 13px; flex-shrink: 0; }
.b2-card__loc span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-card__desc { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--b2-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b2-card__metrics { margin-top: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #efefec; border-radius: 12px; background: #fafaf9; }
.b2-card__metrics span { padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.b2-card__metrics span + span { border-left: 1px solid #efefec; }
.b2-card__metrics em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--b2-muted); white-space: nowrap; }
.b2-card__metrics b { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-card__metrics b.is-green { color: var(--b2-green); }

.b2-card__side { display: flex; flex-direction: column; gap: 10px; padding-top: 2px; }
.b2-card__seller { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.b2-card__seller > span { display: flex; flex-direction: column; gap: 6px; }
.b2-card__seller b { font-size: 14px; font-weight: 600; color: var(--b2-ink); }
.b2-badge { width: max-content; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.b2-badge svg { width: 11px; height: 11px; }
.b2-badge.is-ok { background: rgba(47,122,74,.09); color: var(--b2-green); }
.b2-badge.is-wait { background: rgba(184,133,46,.1); color: #8a6420; }
.b2-badge.is-wait i { width: 6px; height: 6px; border-radius: 50%; background: var(--b2-amber); }
.b2-fav { width: 36px; height: 36px; margin: -4px -4px 0 0; border: 0; border-radius: 10px; background: transparent; display: grid; place-items: center; cursor: pointer; }
.b2-fav svg { width: 21px; height: 21px; fill: none; stroke: var(--b2-ink); transition: transform .2s; }
.b2-fav:hover svg { transform: scale(1.1); }
.b2-fav.is-on svg { fill: #d9557a; stroke: #d9557a; }
.b2-btn { height: 44px; border-radius: 12px; background: var(--b2-fill); color: var(--b2-text); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; transition: background .15s; }
.b2-btn:hover { background: #e8e8eb; color: var(--b2-text); }
.b2-btn svg { width: 14px; height: 14px; }
.b2-btn--main { margin-top: 6px; background: var(--b2-violet); color: #fff; }
.b2-btn--main:hover { background: var(--b2-violet-d); color: #fff; }
.b2-cmp { margin-top: auto; border: 0; background: none; padding: 4px 0; display: flex; align-items: center; gap: 8px; font: inherit; font-size: 13px; font-weight: 600; color: #4b5563; cursor: pointer; }
.b2-cmp i { width: 20px; height: 20px; box-sizing: border-box; border-radius: 6px; border: 1.5px solid #d2d2d7; background: #fff; display: grid; place-items: center; color: transparent; }
.b2-cmp i svg { width: 12px; height: 12px; }
.b2-cmp.is-on i { background: var(--b2-ink); border-color: var(--b2-ink); color: #fff; }

.b2-empty { padding: 56px 24px; border: 1px solid var(--b2-line); border-radius: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.b2-empty[hidden] { display: none; }
.b2-empty b { font-size: 18px; font-weight: 700; }
.b2-empty span { max-width: 420px; font-size: 14px; line-height: 1.5; color: var(--b2-muted); }
.b2-empty button { margin-top: 4px; height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--b2-fill); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }

/* ---------- СРАВНЕНИЕ ---------- */
.b2-compare { padding-bottom: 48px; }
.b2-compare[hidden] { display: none; }
.b2-compare__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.b2-compare__head h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.b2-compare__head button { border: 0; background: var(--b2-fill); height: 36px; padding: 0 14px; border-radius: 980px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.b2-compare__table { border: 1px solid var(--b2-line); border-radius: 18px; overflow-x: auto; background: #fff; }
.b2-ct__row { display: grid; min-width: 560px; border-bottom: 1px solid #f0f0ee; }
.b2-ct__row:last-child { border-bottom: 0; }
.b2-ct__row > span { padding: 14px 16px; font-size: 14px; }
.b2-ct__row > span:first-child { color: var(--b2-muted); font-weight: 600; }
.b2-ct__row--head { background: #fafaf9; }
.b2-ct__row--head > span { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; font-weight: 700; }
.b2-ct__row--head a { color: var(--b2-ink); text-decoration: none; }
.b2-ct__row--head button { border: 0; background: none; font-size: 18px; line-height: 1; color: var(--b2-soft); cursor: pointer; }
.b2-ct__row .is-best { color: var(--b2-green); font-weight: 700; }
.b2-cmpbar {
  position: fixed; left: 50%; bottom: 20px; z-index: 950; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; width: min(520px, calc(100vw - 32px)); box-sizing: border-box;
  padding: 10px 10px 10px 20px; border-radius: 18px; background: var(--b2-ink); color: #fff; font-size: 14px;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.45);
}
.b2-cmpbar[hidden] { display: none; }
.b2-cmpbar span { flex: 1 1 auto; }
.b2-cmpbar__go { height: 40px; padding: 0 18px; border-radius: 12px; background: #fff; color: var(--b2-ink); font-weight: 700; display: flex; align-items: center; text-decoration: none; }
.b2-cmpbar__go.is-off { opacity: .45; pointer-events: none; }

/* ---------- ПРОДАВЦАМ ---------- */
.b2-sell { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 64px; padding: 32px; border: 1px solid var(--b2-line); border-radius: 22px; background: #fafaf9; }
.b2-sell h2 { margin: 0 0 6px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.b2-sell p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--b2-muted); max-width: 560px; }
.b2-sell__btn { flex-shrink: 0; height: 48px; padding: 0 22px; border-radius: 12px; background: var(--b2-ink); color: #fff; font-weight: 700; display: flex; align-items: center; text-decoration: none; }
.b2-sell__btn:hover { color: #fff; background: #2b2b2b; }
.b2-has-cmpbar .b2-sell { margin-bottom: 110px; }

.b2 :focus-visible { outline: 2px solid var(--b2-violet); outline-offset: 2px; }

/* ---------- АДАПТИВ ---------- */
@media (max-width: 1180px) {
  .b2-card { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
  .b2-card__side { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr 1fr auto; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid #f0f0ee; }
  .b2-card__seller { flex-direction: row-reverse; justify-content: flex-end; align-items: center; }
  .b2-card__seller > span { flex-direction: row; align-items: center; }
  .b2-btn--main { margin-top: 0; }
  .b2-cmp { margin-top: 0; }
}
@media (max-width: 960px) {
  .b2-main { grid-template-columns: minmax(0, 1fr); }
  .b2-filters-toggle {
    display: inline-flex; align-items: center; gap: 8px; width: max-content; height: 44px; padding: 0 16px;
    border: 1px solid #e5e5ea; border-radius: 980px; background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: var(--b2-text); cursor: pointer;
  }
  .b2-filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 1000; max-height: 86vh; overflow: auto; border-radius: 22px 22px 0 0; transform: translateY(105%); transition: transform .3s cubic-bezier(.2,.7,.2,1); box-shadow: 0 -20px 60px -20px rgba(0,0,0,.35); }
  .b2-filters.is-open { transform: none; }
  .b2-filters__apply { display: block; position: sticky; bottom: 0; width: calc(100% - 40px); margin: 12px 20px 20px; height: 50px; border: 0; border-radius: 14px; background: var(--b2-ink); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
  .b2-lock { overflow: hidden; }
}
@media (max-width: 720px) {
  .b2-wrap { padding-left: 16px; padding-right: 16px; }
  .b2-sell.b2-wrap { width: calc(100% - 32px); }
  .b2-results__head h2 { font-size: 21px; }
  .b2-hero { min-height: 520px; padding: 48px 16px 80px; }
  .b2-hero__sub { font-size: 16px; }
  .b2-search { height: auto; flex-wrap: wrap; padding: 8px; border-radius: 24px; gap: 8px; }
  .b2-search__ind { order: 3; flex: 1 1 auto; }
  .b2-search__ind select { width: 100%; }
  .b2-search__icon { margin-left: 8px; }
  .b2-search input { flex: 1 1 calc(100% - 44px); height: 48px; font-size: 16px; }
  .b2-search__go { order: 4; flex: 1 1 auto; height: 50px; }
  .b2-suggest { top: calc(100% + 8px); }
  .b2-quick > span { width: 100%; }
  .b2-card { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 12px; }
  .b2-card__thumbs { display: none; }
  .b2-card__side { grid-template-columns: 1fr 1fr; }
  .b2-card__seller, .b2-cmp { grid-column: 1 / -1; }
  .b2-card__seller { flex-direction: row; justify-content: space-between; }
  .b2-sort { margin-left: 0; }
  .b2-sell { flex-direction: column; align-items: flex-start; padding: 24px; }
}
