/* =========================================================
   ТОК-МАРКЕТ — файл правок
   Подключается ПОСЛЕ tokmarket-final.css и только дополняет его.
   Сам tokmarket-final.css не редактируется.
   Дата: 04.09.2026
   ========================================================= */

/* ---------------------------------------------------------
   1. КРУПНЕЕ ШРИФТ
   Основной текст 14 -> 16 px. Рассчитано на аудиторию 40+,
   у которой снижается способность читать мелкий текст.
   --------------------------------------------------------- */

body {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.tm-home-final,
.tm-catalog-page {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* Список категорий слева */
.tm-category-item {
  font-size: 15px !important;
  line-height: 1.4 !important;
}
.tm-category-item em { font-size: 12px !important; }
.tm-category-panel__all { font-size: 14px !important; }

/* Пункты верхнего меню */
.tm-final-menu__items > li > a {
  font-size: 15px !important;
}

/* Контакты в верхней полосе */
.tm-final-top a { font-size: 15px !important; }

/* Формы: поля и подписи */
.form-control,
.form-group > label,
label.control-label {
  font-size: 16px !important;
}
.form-control { height: auto !important; min-height: 44px; padding: 10px 14px !important; }
textarea.form-control { min-height: 110px; }

/* ---------------------------------------------------------
   2. ПОЛОСА ПРЕИМУЩЕСТВ — УЖЕ И АККУРАТНЕЕ
   Высота уменьшена с 90 до 62 px.
   --------------------------------------------------------- */

.tm-final-benefits {
  margin: 0 0 10px !important;
  align-items: stretch !important;
}

.tm-benefit {
  min-height: 62px !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 14px !important;
}

.tm-benefit > i {
  flex: 0 0 26px !important;
  width: 26px !important;
  font-size: 23px !important;
  line-height: 1 !important;
}

.tm-benefit > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tm-benefit b {
  margin: 0 0 2px !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  white-space: nowrap;
}

.tm-benefit span {
  font-size: 12px !important;
  line-height: 1.32 !important;
}

/* "Бесплатная доставка через" — одной строкой, значки под ней */
.tm-benefit--delivery b { white-space: nowrap; }
.tm-marketplaces {
  margin-top: 5px !important;
  gap: 5px !important;
  flex-wrap: nowrap !important;
}
.tm-market {
  min-height: 22px !important;
  padding: 3px 8px !important;
  border-radius: 3px !important;
  font-size: 10px !important;
  letter-spacing: .2px;
  white-space: nowrap;
}

/* Длинные заголовки не должны рвать строку */
@media (min-width: 1400px) {
  .tm-final-benefits {
    grid-template-columns: 1.42fr 1.16fr .86fr 1.06fr 1.14fr !important;
  }
}

/* ---------------------------------------------------------
   3. ССЫЛКА ВКОНТАКТЕ В ВЕРХНЕЙ ПОЛОСЕ
   Оформлена так же, как Telegram и WhatsApp.
   --------------------------------------------------------- */

.tm-msg--vk .fa {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  color: #fff !important;
  background: #0077ff;
  font-size: 13px;
}

/* ---------------------------------------------------------
   4. ПОДВАЛ — ВЫРАВНИВАНИЕ, РЕКВИЗИТЫ, ПОДПИСЬ, СЧЁТЧИК
   --------------------------------------------------------- */

.tm-footer-grid {
  display: grid;
  grid-template-columns: 1.15fr .9fr 1.05fr 1.2fr .85fr;
  gap: 24px 30px;
  align-items: start;
}

.tm-footer-col { min-width: 0; }

.tm-final-footer h5 {
  margin: 0 0 14px !important;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  font-size: 14px !important;
  letter-spacing: .4px;
}

.tm-final-footer .tm-footer-col ul { margin: 0; }

.tm-final-footer .tm-footer-col li {
  margin-bottom: 7px;
  font-size: 14px !important;
  line-height: 1.5 !important;
}
.tm-final-footer .tm-footer-col li:last-child { margin-bottom: 0; }

.tm-final-footer .tm-footer-col a {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* Реквизиты юрлица */
.tm-final-footer__requisites {
  margin-top: 22px;
  padding: 14px 0;
  border-top: 1px solid rgba(0, 0, 0, .08);
}
.tm-final-footer__requisites p {
  margin: 0 0 4px;
  color: #5a5a5a;
  font-size: 12.5px !important;
  line-height: 1.5;
}
.tm-final-footer__requisites p:last-child { margin-bottom: 0; }

/* Нижняя строка: копирайт — разработчик — счётчик */
.tm-footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.tm-footer-copy { font-size: 12.5px; }
.tm-footer-dev {
  font-size: 12.5px;
  opacity: .85;
}
.tm-footer-dev a { text-decoration: none; }
.tm-footer-dev .fa { margin-right: 3px; }

/* Информер Метрики: приглушён, посетителю в глаза не бросается */
.tm-footer-counter {
  display: inline-flex;
  align-items: center;
  opacity: .35;
  transition: opacity .2s;
}
.tm-footer-counter:hover { opacity: 1; }
.tm-footer-counter img { display: block; }

/* ---------------------------------------------------------
   5. МОБИЛЬНАЯ ВЕРСИЯ
   --------------------------------------------------------- */

@media (max-width: 1199px) {
  .tm-footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 22px 26px;
  }
}

@media (max-width: 991px) {
  .tm-benefit { min-height: 58px !important; }
  .tm-benefit b { white-space: normal; }
  .tm-marketplaces { flex-wrap: wrap !important; }
  .tm-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  body { font-size: 15px !important; }
  .tm-home-final,
  .tm-catalog-page { font-size: 15px !important; }
  .tm-category-item { font-size: 14px !important; }
  .tm-final-menu__items > li > a { font-size: 14px !important; }

  .tm-benefit {
    min-height: auto !important;
    padding: 11px 14px !important;
  }
  .tm-benefit > i { flex: 0 0 24px !important; width: 24px !important; font-size: 21px !important; }

  .tm-footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .tm-final-footer h5 { margin-bottom: 10px !important; }
  .tm-footer-bottom__inner {
    justify-content: center;
    text-align: center;
    gap: 10px;
  }
  .tm-final-footer__requisites p { font-size: 12px !important; }
}
