/* =====================================================================
   DonateTeam — FONTS-OVERRIDE.CSS (точечный)
   Подключать ПОСЛЕ всех остальных CSS.
   Меняем только семейства/вес шрифтов.
   ===================================================================== */

/* 0) Токены шрифтов (подстраховка) */
:root{
  /* Основной текст = IBM Plex Sans, Заголовки/навигация/цены = Jura */
  --font-body:    "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  --font-heading: "Jura", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;

  --font-accent:  var(--font-body) !important;
  --font-ui:      var(--font-body) !important;
  --font-display: var(--font-heading) !important;
}

/* 1) Заголовки и «титульные» элементы — всегда Jura Bold */
:where(h1, h2, h3, .page-title, .desc-title, .faq-title, .footer-title){
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
}

/* 2) ПОДВАЛ: обычный текст/ссылки — IBM; заголовки — Jura */
.site-footer :where(p, li, a, small, span, .link){
  font-family: var(--font-body) !important;
}
.site-footer :where(h1, h2, h3, .footer-title){
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
}

/* 3) НАВИГАЦИЯ В ИГРЕ */
/* 3.1 Крошки слева — Jura Bold 700 (включая активный пункт и разделители) */
.nav-crumbs,
.nav-crumbs * ,
.navigation-link,
.navigation-current,
.navigation-sep{
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
}

/* 3.2 Переключатель режима справа — Jura Bold 700 */
#nav-mode-switch,
#nav-mode-switch *,
.mode-switch,
.mode-switch *,
.mode-btn,
.mode-btn *,
.mode-chip,
.mode-chip *{
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
}

/* 4) ЦЕНЫ */
/* 4.1 Цена в карточке товара — Jura Bold 700 (табличные цифры) */
#products .price,
#products .price-chip,
#products .item-price,
#products .price-row .price,
.product-card .price,
.product-card .price *,
.product-card .price-chip{
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* 4.2 Суммы/числа в корзине — Jura Bold 700 */
#cart-total,
#cart-total *,
.cart-total,
.cart-total *,
.cyber-total,
.cyber-total *,
.cart .num,
.cart .num *,
.cart-item__price,
.cart-item__price .num{
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* 5) КОРЗИНА */
/* 5.1 Заголовок «Корзина» — Jura 700 (если вдруг не h3) */
.cart-title-text{
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
}
/* 5.2 «0 товаров / N товаров» — ТЕПЕРЬ Jura Bold 700 (по твоему последнему скрину) */
.cart-count{
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
}

/* 6) Кнопка «Назад на главную» на инфостраницах — Jura Bold */
.back-wrap, .back-wrap a{
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
}

/* 7) Ссылки по умолчанию наследуют окружение */
a, .link{ font-family: inherit !important; }

/* 8) Текст в inline-SVG (если <text>) — IBM (как базовый UI) */
svg text{ font-family: var(--font-body) !important; }

/* 9) Формы/кнопки — наследуют окружение */
:where(button, input, select, textarea){ font: inherit !important; }
