/* ================================================================
   HEADER — MOBILE INLINE (Каталог + лого)
   Версия: 1.1 (увеличение)
   ================================================================ */

/* ── 1. ПЕРЕМЕННЫЕ ─────────────────────────────────────────────── */
:root{
  --h-accent: #0179B9;
  --h-text:   #1a1f26;
}

/* ================================================================
   2. MOBILE ≤ 767px
   ================================================================ */
@media (max-width: 767px){

  /* ── 2.0 ГАРАНТИЯ: убираем “синие кнопки” у каталога ───────── */
  .bottom-panel__mob .btnmobcat,
  .bottom-panel__mob a.btnmobcat{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /* ── 2.1 ЛОГО — СДЕЛАТЬ БОЛЬШЕ ─────────────────────────────── */
  .js__header .header__top-logo .logo-header img{
    height: 34px !important;          /* было 28 */
    width: auto !important;
    max-width: 170px !important;
    object-fit: contain !important;
  }

  /* ── 2.2 КНОПКА “КАТАЛОГ” — БОЛЬШЕ, ЧИТАБЕЛЬНЕЕ, С ОТСТУПОМ ── */
  .bottom-panel__mob a.btnmobcat,
  .bottom-panel__mob a.btnmobcat.btn-primary{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap: 10px !important;
    padding-left: 6px !important;     /* небольшой отступ, чтобы ровнее с бургером */
    margin: 0 !important;

    color: var(--h-text) !important;
    font-size: 16px !important;       /* читабельнее */
    font-weight: 600 !important;
    line-height: 1.1 !important;
    letter-spacing: .01em !important;

    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
  }

/* ── Контурная иконка каталога ───────────────── */
.bottom-panel__mob a.btnmobcat::before,
.bottom-panel__mob a.btnmobcat.btn-primary::before{
  content: "" !important;
  width: 30px !important;
  height: 30px !important;
  display: inline-block !important;
  flex: 0 0 auto !important;

  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 30px 30px !important;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230179B9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3C/svg%3E") !important;
}

  /* если вдруг внутри есть img — прячем */
  .bottom-panel__mob a.btnmobcat img{ display:none !important; }

}

@media (max-width: 767px){

  /* Верхние пункты меню (nav-link) */
  .header__menu .nav-item > .nav-link{
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 12px 0 !important;
    line-height: 1.2 !important;
  }

}

@media (max-width: 767px){

  .header__menu a,
  .catalog-trigger{
    font-size: 20px !important;
    font-weight: 600 !important;
  }

}
@media (max-width: 767px){

  /* Разделы (основные пункты каталога и меню) */
  .menu-wrapper > li > a,
  .nav-item > .nav-link,
  .menu-section-block.catalog-section-title > a{
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
  }

  /* Подразделы */
  .subsections-block li a{
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
  }

}