/* Inter: свои файлы, без внешних запросов. Кириллица и латиница (из 8-образцы.html). */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/assets/fonts/inter-cyr.woff2") format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/assets/fonts/inter-lat.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* 1. Наши токены: копия лендинг/assets/tokens.css без изменений. */
:root {
  --ink: #16251c;
  --ink-2: #314138;
  --forest: #173c2a;
  --forest-2: #24563c;
  --leaf: #4f8d58;
  --lime: #dceb6a;
  --lime-soft: #edf4b8;
  --ivory: #f6f1e7;
  --ivory-2: #fbf8f1;
  --sand: #e7ddc7;
  --sand-2: #d8c9aa;
  --orange: #e9a24f;
  --sky: #dce8e7;
  --white: #fff;
  --danger: #a23e2b;
  --success: #236f48;
  --line: rgba(22, 37, 28, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 10px 30px rgba(23, 60, 42, 0.08);
  --shadow-md: 0 24px 70px rgba(23, 60, 42, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 44px;
  --container: 1240px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. Agriva UZEX: три цвета биржи с uzex.uz заменяют наши цветовые токены.
   Шрифт, сетка, скругления, тени, размеры - наши. */
:root {
  --uzex-blue: #023f87;
  --uzex-green: #008346;
  --uzex-ink: #131927;

  --forest: var(--uzex-blue);
  --forest-2: var(--uzex-blue);
  --leaf: var(--uzex-green);
  --success: var(--uzex-green);
  --lime: var(--uzex-green);
  --lime-soft: color-mix(in srgb, var(--uzex-green) 10%, var(--white));
  --ink: var(--uzex-ink);
  --ink-2: color-mix(in srgb, var(--uzex-ink) 72%, var(--white));
  --line: rgba(19, 25, 39, 0.14);
}

/* Роли на странице, как в home-v9.css сайта. */
:root {
  --gutter: clamp(16px, 4vw, 40px);
  --sec-y: clamp(56px, 7vw, 96px);
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: var(--white);
  --soft-bg: var(--ivory-2);
  --muted: color-mix(in srgb, var(--ink) 72%, transparent);
  --hair: color-mix(in srgb, var(--ink) 11%, transparent);
  --accent: var(--uzex-green);
  --accent-2: color-mix(in srgb, var(--uzex-green) 82%, var(--uzex-ink));
  --blue-tint: color-mix(in srgb, var(--uzex-blue) 7%, var(--white));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; }
a { color: inherit; }

.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--forest-2);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; flex: 0 0 28px; height: 2px; background: var(--uzex-green); }

h1, h2 { color: var(--ink); font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(44px, 6vw, 76px); letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.03em; line-height: 1.1; }
h3 { font-size: 19px; font-weight: 750; letter-spacing: -.012em; line-height: 1.3; }
.lead { max-width: 680px; margin-top: 16px; color: var(--muted); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; text-wrap: pretty; }

.sec { padding-block: var(--sec-y); }
.sec--soft { background: var(--soft-bg); }
.sec__head { margin-bottom: 36px; }

/* ───────── Кнопки (наша форма, цвета биржи) ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-2); }
.btn--soft { background: var(--ivory); color: var(--uzex-blue); }
.btn--soft:hover { background: var(--sand); }
.btn--lg { min-height: 62px; padding: 18px 34px; font-size: 18px; border-radius: 16px; }
.btn--sm { min-height: 42px; padding: 10px 18px; border-radius: 12px; font-size: 15px; }
.btn--block { width: 100%; }
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--uzex-blue);
  font-size: 16px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}
.link svg { width: 18px; height: 18px; }

/* ───────── 1. Шапка ───────── */
.hdr { background: var(--white); border-bottom: 1px solid var(--hair); }
.hdr__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brands { display: flex; align-items: center; gap: 22px; }
.brands__agriva { height: 42px; width: auto; }
.brands__uzex { height: 42px; width: auto; }
.brands__sep { width: 1px; height: 36px; background: var(--line); }
.hdr__lang { color: var(--muted); font-size: 15px; font-weight: 650; }
.strip { background: var(--uzex-blue); }
.strip .wrap { display: flex; gap: 32px; min-height: 48px; align-items: center; }
.strip a { color: var(--white); font-size: 15px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.strip a[aria-current] { box-shadow: inset 0 -2px 0 var(--white); padding-block: 13px; }

.hero { padding-block: clamp(48px, 6vw, 88px) clamp(56px, 7vw, 96px); }
.hero h1 { max-width: 14ch; }
.hero .lead { margin-top: 18px; font-size: clamp(19px, 1.7vw, 23px); color: var(--ink-2); }
.hero__cta { margin-top: 36px; }

.st { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 750; letter-spacing: .02em; line-height: 1.3; }
.st--uzex { background: var(--blue-tint); color: var(--uzex-blue); }
.st--der { background: var(--lime-soft); color: var(--uzex-ink); }
.st--ours { background: var(--ivory); color: var(--ink-2); }
/* ───────── 4. Карточки объявлений ───────── */
.ads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ad { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); overflow: hidden; }
.ad__photo { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; margin: 10px 10px 0; border-radius: var(--radius-sm); color: color-mix(in srgb, var(--ink) 38%, transparent); }
.ad__photo svg { width: 44px; height: 44px; }
.ad__photo span { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--white) 86%, transparent); color: var(--muted); font-size: 12px; font-weight: 650; }
.ad__photo--1 { background: var(--sand); }
.ad__photo--2 { background: var(--ivory); }
.ad__photo--3 { background: var(--sky); }
.ad__photo--4 { background: var(--lime-soft); }
.ad__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 14px 16px 16px; }
.ad__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ad__title { font-size: 17px; font-weight: 650; line-height: 1.3; }
.ad__fav { flex: 0 0 auto; width: 22px; height: 22px; color: color-mix(in srgb, var(--ink) 55%, transparent); }
.ad__price { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.ad__price small { margin-left: 4px; color: var(--muted); font-size: 15px; font-weight: 650; letter-spacing: 0; }
.ad__range { padding: 10px 12px; border-radius: var(--radius-sm); background: var(--blue-tint); }
.ad__range-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 650; line-height: 1.3; }
.ad__range b { display: block; margin-top: 4px; color: var(--uzex-blue); font-size: 16px; font-weight: 750; font-variant-numeric: tabular-nums; }
.sample { padding: 2px 8px; border: 1px dashed color-mix(in srgb, var(--uzex-blue) 45%, transparent); border-radius: 999px; color: var(--uzex-blue); font-size: 11px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.ad__seller { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15px; font-weight: 650; }
.ok { display: inline-flex; align-items: center; gap: 5px; color: var(--uzex-green); font-size: 14px; font-weight: 750; }
.ok svg { width: 16px; height: 16px; }
.ad__city { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.ad__city svg { width: 15px; height: 15px; flex: 0 0 auto; }
.ad__cta { margin-top: auto; padding-top: 4px; }
.src { margin-top: 24px; max-width: 900px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.src a { color: var(--uzex-blue); font-weight: 650; }

/* ───────── 5. Характеристики (тёмный раздел: синий биржи) ───────── */
.dark { padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius-lg); background: var(--forest); color: var(--white); }
.dark .eyebrow { color: color-mix(in srgb, var(--white) 86%, transparent); }
.dark .eyebrow::before { background: var(--white); }
.kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 8px; border-radius: var(--radius-md); overflow: hidden; background: var(--line-light); border: 1px solid var(--line-light); }
.kpi__c { padding: 26px 22px 28px; background: var(--forest); }
.kpi__c strong { display: block; font-size: clamp(22px, 1.8vw, 27px); font-weight: 750; letter-spacing: -.025em; line-height: 1.1; -webkit-hyphens: manual; hyphens: manual; }
.kpi__c span { display: block; margin-top: 10px; color: color-mix(in srgb, var(--white) 82%, transparent); font-size: 16px; line-height: 1.4; }

/* ───────── Подвал ───────── */
.ftr { padding-block: 36px; background: var(--uzex-ink); color: var(--white); }
.ftr .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.ftr strong { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.ftr span { color: color-mix(in srgb, var(--white) 72%, transparent); font-size: 15px; }

/* ───────── Ширины ───────── */
@media (max-width: 1100px) {
  .ads { grid-template-columns: repeat(2, 1fr); }
  .kpi { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
}
@media (max-width: 560px) {
  .hdr__row { min-height: 68px; }
  .brands { gap: 14px; }
  .brands__agriva { height: 32px; }
  .brands__uzex { height: 30px; }
  .brands__sep { height: 28px; }
  .hdr__lang { display: none; }
  .strip .wrap { gap: 22px; min-height: 44px; }
  .strip a { font-size: 14px; }
  .strip a[aria-current] { padding-block: 12px; }
  .btn--lg { width: 100%; }
  .ads { gap: 10px; }
  .ad { border-radius: 16px; }
  .ad__photo { margin: 6px 6px 0; border-radius: 10px; }
  .ad__photo svg { width: 34px; height: 34px; }
  .ad__body { gap: 8px; padding: 10px 10px 12px; }
  .ad__title { font-size: 15px; }
  .ad__fav { width: 18px; height: 18px; }
  .ad__price { font-size: 19px; }
  .ad__price small { display: block; margin: 2px 0 0; font-size: 13px; }
  .ad__range { padding: 8px; }
  .ad__range-h { font-size: 12px; }
  .ad__range b { font-size: 13px; letter-spacing: -.01em; white-space: nowrap; }
  .ad__seller { font-size: 14px; }
  .ok { font-size: 13px; }
  .ad__city { font-size: 13px; }
  .ad .btn--sm { min-height: 40px; padding: 8px 10px; font-size: 14px; }
  .kpi { grid-template-columns: 1fr; }
  .kpi__c { padding: 22px 20px; }
}

/* ═════════ Страницы Agriva UZEX (сборка 12.11.2026). Цвета только из токенов выше. ═════════ */

/* Флаги показа (config.js) */
.no-uzex-brand [data-brand="uzex"], .no-fin [data-flag="fin"], .no-reach [data-flag="reach"], .no-birzha [data-flag="birzha"] { display: none !important; }
html:not(.no-reach) [data-flag-off="reach"], html:not(.no-birzha) [data-flag-off="birzha"] { display: none !important; }
.nw { white-space: nowrap; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { overflow-x: hidden; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
.muted { color: var(--muted); }

/* Шапка: логотипы ссылкой, полоса с прокруткой вбок на телефоне */
.brands { text-decoration: none; }
.strip .wrap { overflow-x: auto; scrollbar-width: none; }
.strip .wrap::-webkit-scrollbar { display: none; }
.strip__post { margin-left: auto; }

/* Первый экран главной */
.hero--home { padding-bottom: 32px; }
.hero--fin h1 { font-size: clamp(34px, 9.4vw, 76px); max-width: none; }
.hero__grid { display: grid; grid-template-columns: 1fr; align-items: center; gap: 40px; }
@media (min-width: 1101px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 56px; }
}

/* Первый экран для поставщика: пункты и кабинет (слова Виктора 12.11) */
.hero--home { padding-block: clamp(32px, 4vw, 56px) 32px; }
.hero--home .eyebrow { margin-bottom: 14px; }
.hero--home h1 { max-width: 12ch; }
.hero__pts { display: grid; gap: 10px; margin-top: 22px; }
.hero__pts li { display: flex; align-items: center; gap: 10px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 650; }
.hero__pts svg { flex: 0 0 auto; width: 24px; height: 24px; color: var(--uzex-green); }
.hero--home .lead { margin-top: 18px; }
.hero--home .hero__cta { margin-top: 28px; }
.cab { display: grid; gap: 14px; width: 100%; max-width: 500px; justify-self: end; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-md); }
.cab__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding-bottom: 12px; border-bottom: 1px solid var(--hair); }
.cab__top b { font-size: 17px; }
.cab__who { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; font-weight: 650; }
.cab__new { display: grid; gap: 8px; padding: 14px; border-radius: var(--radius-sm); background: var(--lime-soft); }
.cab__badge { display: flex; align-items: center; gap: 8px; color: var(--uzex-green); font-size: 13px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.cab__req { font-size: 16px; font-weight: 650; line-height: 1.4; }
.cab__btn { justify-self: start; background: var(--white); cursor: default; }
.cab__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.cab__ad { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.cab__ad img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.cab__ad div { display: grid; gap: 2px; min-width: 0; }
.cab__ad b { font-size: 16px; }
.cab__ad span { font-size: 14px; font-weight: 650; }
.cab__ad small { color: var(--uzex-blue); font-size: 12px; line-height: 1.35; }
.s5-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--uzex-green); }

/* Фото продуктов */
.ad__photo { overflow: hidden; }
.ad__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gal { overflow: hidden; }
.gal__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chat__head img { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.ads--list .ad__photo img, .ads--mlist .ad__photo img { border-radius: inherit; }

/* Характеристики: 6 клеток, 3 × 2 */
.kpis { padding-bottom: var(--sec-y); }
.kpi--6 { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.kpi__c strong span, .kpi__c span span { display: inline; margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
a.kpi__c { display: block; color: var(--white); text-decoration: none; }
a.kpi__c:hover { background: color-mix(in srgb, var(--forest) 88%, var(--white)); }
.kpi__arrow { display: inline-block; margin-top: 8px; font-size: 20px; font-weight: 750; }
.no-fin .kpi--6 > :nth-child(5) { grid-column: span 2; }
.dark__src { margin-top: 18px; color: color-mix(in srgb, var(--white) 72%, transparent); font-size: 14px; line-height: 1.5; }
.dark__src a { color: var(--white); }

/* Карточка: новые поля */
.ad__title a { color: inherit; text-decoration: none; }
.ad__title a:hover { text-decoration: underline; }
.ad__photo { text-decoration: none; }
.ad__vat { margin-top: -6px; color: var(--muted); font-size: 13px; }
.ad__lot { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.ad__bar { position: relative; height: 4px; margin-top: 8px; border-radius: 4px; background: color-mix(in srgb, var(--uzex-blue) 25%, transparent); }
.ad__bar i { position: absolute; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--uzex-green); }
.ad__fresh { color: var(--muted); font-size: 13px; }
.ad__meta { display: flex; flex-direction: column; gap: 6px; }
.ad__fin { align-self: flex-start; }
.ad__flag { align-self: flex-start; margin: -2px 0 2px; }

/* Лента списком (телефон и переключатель «Список») */
.ads--list { grid-template-columns: 1fr !important; }
.ads--list .ad { display: grid; grid-template-columns: 104px 1fr; column-gap: 12px; row-gap: 5px; padding: 10px; align-content: start; }
.ads--list .ad__body { display: contents; }
.ads--list .ad__photo { grid-column: 1; grid-row: 1 / span 5; width: 104px; height: 104px; aspect-ratio: auto; margin: 0; align-self: start; }
.ads--list .ad__photo svg { width: 30px; height: 30px; }
.ads--list .ad__top, .ads--list .ad__price, .ads--list .ad__vat, .ads--list .ad__lot, .ads--list .ad__range { grid-column: 2; margin: 0; }
.ads--list .ad__meta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; }
.ads--list .ad__fresh, .ads--list .ad__cta { grid-column: 1 / -1; }
.ads--list .ad__vat, .ads--list .ad__fresh { display: none; }
.ads--list .ad__price small { display: inline; margin-left: 4px; font-size: 13px; }
.ads--list .ad__price .ad__vat-in { display: inline; }
.ads--list .ad__range { padding: 7px 9px; }
.ads--list .ad__range-h { display: block; font-size: 11.5px; }
.ads--list .ad__range-h .sample { display: inline-block; margin-left: 4px; padding: 0 6px; font-size: 10px; line-height: 1.5; }
.ads--list .ad__range b { white-space: nowrap; }
.ads--list .ad__range-h { font-size: 11.5px; gap: 4px; }
.ads--list .ad__range b { margin-top: 2px; font-size: 14px; }
.ads--list .ad__bar { margin-top: 6px; }
.ads--list .ad__meta { font-size: 13px; gap: 2px 12px; }
.ads--list .ad__meta .ad__seller, .ads--list .ad__meta .ad__city, .ads--list .ad__meta .ok { font-size: 13px; }
.ads--list .ad__meta .ad__fin { padding: 3px 9px; }
.ad__vat-in { display: none; margin-left: 6px; color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: 0; }
.ads--list .ad__flag { grid-column: 1 / -1; }

/* Мягкая плашка и текст источника */
.tint { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--blue-tint); color: var(--uzex-blue); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.center .btn-row { justify-content: center; }
.note { margin-top: 18px; color: var(--muted); font-size: 15px; }

/* Б6 главной: текст и карточка */
.split { display: grid; grid-template-columns: minmax(0, 600px) 340px; justify-content: start; gap: 64px; align-items: start; }
.split .lead + .lead { margin-top: 10px; }
.split__more { margin-top: 26px; }

/* Вопросы */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-size: 18px; font-weight: 750; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 10px; width: 10px; height: 10px; border-right: 2px solid var(--uzex-blue); border-bottom: 2px solid var(--uzex-blue); transform: rotate(45deg); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 22px 22px; color: var(--ink-2); }

/* Подвал */
.ftr .wrap { display: block; }
.ftr p { margin-top: 6px; color: color-mix(in srgb, var(--white) 72%, transparent); font-size: 15px; line-height: 1.5; }
.ftr p:first-of-type { margin-top: 10px; }
.ftr a { color: var(--white); }

/* Всплывающая заметка «образец» */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 14px; background: var(--uzex-ink); color: var(--white); font-size: 15px; font-weight: 650; box-shadow: var(--shadow-md); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Поля форм */
.fld { display: grid; gap: 8px; }
.fld > label, .fld__l { font-size: 15px; font-weight: 750; }
.inp { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--sand-2); border-radius: 12px; background: var(--white); font: inherit; font-size: 16px; color: var(--ink); }
.inp:focus { outline: 2px solid var(--uzex-blue); outline-offset: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 14px; font-weight: 650; cursor: pointer; }
.chip[aria-pressed="true"], .chip.is-on { border-color: var(--uzex-blue); background: var(--blue-tint); color: var(--uzex-blue); }
.chk { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.chk input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--uzex-green); }
.small { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ───────── Доска ───────── */
.sbar { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--hair); }
.sbar__row { display: flex; align-items: center; gap: 10px; padding-block: 12px; }
.sbar__q { position: relative; flex: 1; }
.sbar__q .inp { padding-right: 44px; }
.sbar__mic { position: absolute; right: 8px; top: 50%; display: none; width: 32px; height: 32px; margin-top: -16px; border: 0; border-radius: 8px; background: transparent; color: var(--uzex-blue); cursor: pointer; }
.sbar__mic svg { width: 20px; height: 20px; margin: auto; }
.sbar__region { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 12px; border: 0; background: transparent; color: var(--uzex-blue); font-size: 15px; font-weight: 750; white-space: nowrap; cursor: pointer; }
.sbar__filters { display: none; }
.sbar__more { display: contents; }
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow-sm); }
.sugg__h { padding: 6px 10px; color: var(--muted); font-size: 13px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.sugg button { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 10px; border: 0; border-radius: 10px; background: transparent; font-size: 16px; text-align: left; cursor: pointer; }
.sugg button:hover, .sugg button:focus { background: var(--ivory-2); }
.sugg button span { color: var(--muted); font-size: 14px; }

.rubs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; padding-block: 20px 8px; }
.rub { position: relative; display: block; min-height: 96px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ivory-2); font-size: 16px; font-weight: 750; text-align: left; cursor: pointer; overflow: hidden; }
.rub[aria-pressed="true"] { border-color: var(--uzex-blue); box-shadow: inset 0 0 0 1px var(--uzex-blue); }
.rub i { position: absolute; right: -10px; bottom: -10px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sand); color: color-mix(in srgb, var(--ink) 55%, transparent); }
.rub i svg { width: 26px; height: 26px; margin: -6px 0 0 -6px; }

.prod { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 16px; }
.prod h2 { font-size: clamp(24px, 2.4vw, 32px); color: var(--uzex-ink); }
.prod__r { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; font-size: 16px; font-weight: 650; }
.prod__src { margin-top: 4px; color: var(--muted); font-size: 13px; }

.board { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; padding-block: 24px 56px; }
.flt { display: grid; gap: 22px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.flt__head { display: none; }
.flt__g { display: grid; gap: 10px; }
.flt__g > b { font-size: 15px; }
.flt__two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.flt__need { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.flt__need .inp { width: 96px; min-height: 42px; }
.flt__regions { display: grid; gap: 6px; max-height: 196px; overflow: auto; padding-right: 4px; }
.flt__foot { display: grid; gap: 10px; }
.flt__show { padding-inline: 12px; white-space: nowrap; }
.flt__foot .link { justify-self: start; font-size: 15px; }

.feedbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.feedbar h2 { font-size: clamp(22px, 2vw, 28px); }
.feedbar__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 15px; }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--ivory); }
.seg button { padding: 7px 12px; border: 0; border-radius: 9px; background: transparent; font-size: 14px; font-weight: 650; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--uzex-blue); box-shadow: 0 1px 3px rgba(19, 25, 39, .12); }
.sel { min-height: 40px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font: inherit; font-size: 15px; color: var(--ink); }
.how { position: relative; }
.how__pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: 320px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow-sm); font-size: 15px; }
.how__pop ol { margin: 0 0 10px; padding-left: 20px; }
.feed { grid-template-columns: repeat(3, 1fr); }
.empty { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius-md); text-align: center; }
.empty .btn { margin-top: 14px; }

/* ───────── Страница объявления ───────── */
.crumbs { padding-top: 20px; color: var(--muted); font-size: 14px; }
.crumbs a { color: var(--uzex-blue); text-decoration: none; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; padding-block: 16px 48px; }
.item__main, .item__side { display: grid; gap: 22px; min-width: 0; }
.item__side { position: sticky; top: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.gal { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius-md); background: var(--sand); color: color-mix(in srgb, var(--ink) 38%, transparent); }
.gal svg { width: 64px; height: 64px; }
.gal__n { position: absolute; right: 14px; bottom: 14px; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--white) 86%, transparent); color: var(--ink-2); font-size: 13px; font-weight: 650; }
.gal__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; }
.gal__nav--l { left: 14px; } .gal__nav--r { right: 14px; }
.item__title { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.item__title h1 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.025em; line-height: 1.15; }
.item__title svg { flex: 0 0 auto; width: 28px; height: 28px; margin-top: 4px; color: color-mix(in srgb, var(--ink) 55%, transparent); }
.price-big { font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price-big small { margin-left: 6px; color: var(--muted); font-size: 17px; font-weight: 650; letter-spacing: 0; }
.price-sub { margin-top: 6px; color: var(--muted); font-size: 14px; }
.blk h2 { margin-bottom: 12px; font-size: 22px; letter-spacing: -.015em; }
.dl { display: grid; gap: 8px; }
.dl div { display: grid; grid-template-columns: 200px 1fr; gap: 12px; font-size: 16px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; }
.steps-ol { display: grid; gap: 8px; margin: 0; padding-left: 22px; }
.deal-more summary { margin-top: 12px; color: var(--uzex-blue); font-weight: 750; cursor: pointer; }
.deal-more ol { margin-top: 12px; }
.deal-more .fin-note { margin: 6px 0 0; color: var(--uzex-blue); font-size: 15px; }
.seller { display: grid; gap: 4px; }
.seller b { font-size: 17px; }
.seller button { justify-self: start; padding: 0; border: 0; background: none; cursor: pointer; }
.seller__tip { padding: 10px 12px; border-radius: 10px; background: var(--lime-soft); font-size: 14px; }
.qchips .chip { font-size: 13px; min-height: 34px; padding: 6px 12px; }
.complain { color: var(--muted); font-size: 14px; }
.callnote { margin-top: 6px; color: var(--muted); font-size: 13px; text-align: center; }
.mbar { display: none; }
.ads--other { grid-template-columns: repeat(auto-fill, minmax(260px, 320px)); }

/* Чат */
.chat { position: fixed; inset: 0 0 0 auto; z-index: 80; display: flex; flex-direction: column; width: 420px; max-width: 100%; background: var(--white); box-shadow: none; visibility: hidden; transform: translateX(105%); transition: transform .3s var(--ease), visibility 0s linear .3s; }
.chat.is-open { visibility: visible; box-shadow: var(--shadow-md); transform: none; transition: transform .3s var(--ease); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--hair); }
.chat__head i { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 10px; background: var(--sand); }
.chat__head div { flex: 1; min-width: 0; font-size: 14px; line-height: 1.35; }
.chat__head b { display: block; font-size: 16px; }
.chat__x { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--ivory); cursor: pointer; font-size: 20px; }
.chat__body { flex: 1; overflow: auto; padding: 14px 16px; display: grid; gap: 14px; align-content: start; }
.chat__steps { display: flex; flex-wrap: wrap; gap: 4px 6px; color: var(--muted); font-size: 12px; font-weight: 650; }
.chat__steps span { padding: 3px 8px; border-radius: 999px; background: var(--ivory); }
.deal { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--ivory-2); }
.deal h3 { font-size: 16px; }
.deal__ai { margin: 4px 0 10px; color: var(--muted); font-size: 13px; }
.deal dl div { grid-template-columns: 140px 1fr; font-size: 14px; }
.deal__ok { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.deal__not { margin-top: 8px; color: var(--muted); font-size: 12px; }
.chat__foot { display: grid; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--hair); }
.chat__send { display: flex; gap: 8px; }
.chat__send .inp { flex: 1; }
.chat__cond { display: none; }

/* ───────── Запрос и ответы ───────── */
.form { display: grid; gap: 26px; max-width: 760px; padding-block: 8px 56px; }
.rows { display: grid; gap: 8px; }
.row3 { display: grid; grid-template-columns: 1fr 120px 90px; gap: 8px; }
.form details summary { color: var(--uzex-blue); font-weight: 750; cursor: pointer; }
.form details .fld { margin-top: 14px; }
.form__cta p { margin-top: 10px; }
.banner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.offers { display: grid; gap: 28px; padding-block: 8px 56px; }
.ofb { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); overflow: hidden; }
.ofb__h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 16px 18px; background: var(--ivory-2); }
.ofb__h h2 { font-size: 20px; }
.ofb__h span { color: var(--uzex-blue); font-size: 15px; font-weight: 650; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { padding: 10px 14px; color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.tbl td { padding: 12px 14px; border-top: 1px solid var(--hair); font-variant-numeric: tabular-nums; }

/* ───────── Финансирование ───────── */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.card h3 { margin-bottom: 10px; }
.card p + p { margin-top: 8px; }
.nsteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: n; }
.nsteps li { position: relative; padding-top: 58px; counter-increment: n; }
.nsteps li::before { content: counter(n); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--uzex-green); color: var(--white); font-weight: 800; }

/* ───────── Ширины ───────── */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; }
  .cab { justify-self: start; }
  .kpi--6 { grid-template-columns: repeat(2, 1fr); }
  .feed { grid-template-columns: repeat(2, 1fr); }
  .board { grid-template-columns: 260px 1fr; }
  .item { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
  .rubs { grid-template-columns: repeat(3, 1fr); }
  .nsteps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {

  .ads--mlist { grid-template-columns: 1fr !important; }
  .ads--mlist .ad { display: grid; grid-template-columns: 104px 1fr; column-gap: 12px; row-gap: 5px; padding: 10px; align-content: start; }
  .ads--mlist .ad__body { display: contents; }
  .ads--mlist .ad__photo { grid-column: 1; grid-row: 1 / span 5; width: 104px; height: 104px; aspect-ratio: auto; margin: 0; align-self: start; }
  .ads--mlist .ad__photo svg { width: 30px; height: 30px; }
  .ads--mlist .ad__top, .ads--mlist .ad__price, .ads--mlist .ad__vat, .ads--mlist .ad__lot, .ads--mlist .ad__range { grid-column: 2; margin: 0; }
  .ads--mlist .ad__meta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; }
  .ads--mlist .ad__fresh, .ads--mlist .ad__cta { grid-column: 1 / -1; }
  .ads--mlist .ad__vat, .ads--mlist .ad__fresh { display: none; }
  .ads--mlist .ad__price small { display: inline; margin-left: 4px; font-size: 13px; }
  .ads--mlist .ad__price .ad__vat-in { display: inline; }
  .ads--mlist .ad__range { padding: 7px 9px; }
.ads--mlist .ad__range-h { display: block; font-size: 11.5px; }
.ads--mlist .ad__range-h .sample { display: inline-block; margin-left: 4px; padding: 0 6px; font-size: 10px; line-height: 1.5; }
.ads--mlist .ad__range b { white-space: nowrap; }
  .ads--mlist .ad__range-h { font-size: 11.5px; gap: 4px; }
  .ads--mlist .ad__range b { margin-top: 2px; font-size: 14px; }
  .ads--mlist .ad__bar { margin-top: 6px; }
  .ads--mlist .ad__meta { font-size: 13px; gap: 2px 12px; }
  .ads--mlist .ad__meta .ad__seller, .ads--mlist .ad__meta .ad__city, .ads--mlist .ad__meta .ok { font-size: 13px; }
  .ads--mlist .ad__meta .ad__fin { padding: 3px 9px; }
  .ad__vat-in { display: none; margin-left: 6px; color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: 0; }
  .ads--mlist .ad__flag { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .cards3 { grid-template-columns: 1fr; }
  .nsteps { grid-template-columns: 1fr; gap: 0; }
  .nsteps li { padding: 0 0 26px 60px; min-height: 42px; }
  .nsteps li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 4px; width: 2px; background: var(--line); }
  .board { grid-template-columns: 1fr; padding-top: 12px; }
  .sbar__filters { display: inline-flex; }
  .sbar__mic { display: grid; }
  .flt { position: fixed; inset: 0; z-index: 85; overflow: auto; align-content: start; border-radius: 0; border: 0; }
  .flt:not(.is-open) { display: none; }
  .flt__head { display: flex; align-items: center; justify-content: space-between; font-size: 20px; font-weight: 800; }
  .item { grid-template-columns: 1fr; gap: 20px; }
  .item__main, .item__side { display: contents; }
  .item__side > * , .item__main > * { min-width: 0; }
  .o1 { order: 1; } .o2 { order: 2; } .o3 { order: 3; } .o4 { order: 4; } .o5 { order: 5; } .o6 { order: 6; } .o7 { order: 7; } .o8 { order: 8; } .o9 { order: 9; } .o10 { order: 10; } .o11 { order: 11; } .o12 { order: 12; } .o13 { order: 13; } .o14 { order: 14; } .o15 { order: 15; } .o16 { order: 16; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: block; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--hair); }
  body.has-mbar { padding-bottom: 76px; }
  .dl div { grid-template-columns: 140px 1fr; font-size: 15px; }
  .chat { width: 100%; }
  .chat__cond { display: inline-flex; }
  .chat:not(.show-deal) .deal { display: none; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { padding: 12px 16px; border-top: 1px solid var(--hair); }
  .tbl td { padding: 2px 0; border: 0; }
  .tbl td[data-l]::before { content: attr(data-l) ": "; color: var(--muted); }
  .tbl td.tbl__btn { margin-top: 8px; }
  .form__cta { position: sticky; bottom: 0; padding: 12px 0; background: var(--white); }
}
@media (max-width: 560px) {
  .hero--home h1 { font-size: 40px; }
  .cab { padding: 14px; border-radius: var(--radius-md); }
  .cab__ad { grid-template-columns: 52px 1fr; }
  .cab__ad img { width: 52px; height: 52px; }
  .cab__ad .st { grid-column: 2; justify-self: start; }
  .hero--home .lead { font-size: 19px; }
  .kpi--6 { grid-template-columns: 1fr; }
  .no-fin .kpi--6 > :nth-child(5) { grid-column: auto; }
  .ad__range b { white-space: normal; }
  .ad__price { font-size: 17px; white-space: nowrap; }
  .ad__price small { display: inline; margin-left: 3px; font-size: 12px; }
  .ads--list .ad__price { font-size: 19px; }
  .kpi__c strong { font-size: 22px; }
  .kpi__c span { font-size: 16px; }
  .rubs { gap: 8px; }
  .rub { min-height: 78px; padding: 10px; font-size: 14px; }
  .rub i { width: 50px; height: 50px; }
  .rub i svg { width: 20px; height: 20px; }
  .sbar__row { flex-wrap: wrap; gap: 8px; padding-block: 10px; }
  .sbar__rubs { display: none; }
  .sbar__q { flex: 1 1 0; }
  .sbar__more { display: flex; flex: 1 1 100%; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .sbar__more .btn--sm { min-height: 38px; padding: 8px 12px; font-size: 14px; }
  .sbar__region { min-height: 38px; padding: 8px 6px 8px 0; font-size: 14px; }
  .sbar__more > * { flex: 0 0 auto; }
  .btn-row .btn { width: 100%; }
  .ftr p { font-size: 15px; }
  .row3 { grid-template-columns: 1fr 90px 70px; }
  .feedbar__tools .seg { display: none; }
  .how__pop { right: auto; left: 0; width: min(320px, calc(100vw - 32px)); }
  .dl div { grid-template-columns: 1fr; gap: 0; }
}
