
.ct-mobile-header{display:none}
@media (max-width:767px){
  .container.main{
    width:100%;
    max-width:100%;
    padding-top:0!important;
  }

  header.row{
    display:none!important;
  }

  .ct-mobile-header{
    display:block;
    margin:0 -15px 12px;
    padding:10px 12px 12px;
    background:#fff;
    border-bottom:1px solid rgba(171,25,23,.14);
    box-shadow:0 8px 22px rgba(0,0,0,.06);
  }

  .ct-mobile-header__top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
  }

  .ct-mobile-header__logo img{
    display:block;
    max-width:150px;
    height:auto;
  }

  .ct-mobile-header__phone{
    white-space:nowrap;
    background:#ab1917;
    color:#fff!important;
    text-decoration:none!important;
    border-radius:999px;
    padding:8px 10px;
    font-size:13px;
    font-weight:700;
    line-height:1;
  }

  .ct-mobile-header__rate{
    margin-top:8px;
    padding:7px 8px;
    background:#fafafa;
    border:1px solid #eee;
    border-radius:10px;
    font-size:12px;
    line-height:1.35;
    color:#555;
    text-align:center;
  }

  .ct-mobile-header__rate b{
    color:#222;
  }

  .ct-mobile-header__rate a{
    color:#ab1917;
    text-decoration:underline;
    text-underline-offset:2px;
    font-weight:700;
    margin-left:5px;
  }

  .ct-mobile-header__actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:8px;
  }

  .ct-mobile-header__actions a{
    display:block;
    text-align:center;
    border-radius:10px;
    padding:9px 8px;
    font-size:13px;
    font-weight:700;
    text-decoration:none!important;
  }

  .ct-mobile-header__question{
    background:#ab1917;
    color:#fff!important;
  }

  .ct-mobile-header__callback{
    background:#f7eeee;
    color:#ab1917!important;
    border:1px solid rgba(171,25,23,.18);
  }


  .ct-mobile-header__messengers{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:8px;
  }

  .ct-mobile-header__messengers a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:36px;
    border-radius:10px;
    color:#fff!important;
    text-decoration:none!important;
    font-size:13px;
    font-weight:700;
    line-height:1;
  }

  .ct-mobile-header__tg{
    background:#0088cc;
  }

  .ct-mobile-header__max{
    background:linear-gradient(135deg,#4F67FF 0%,#9B4DCA 100%);
  }




  /* Финальная мобильная сетка и шапка */
  @media (max-width:767px){
    html,
    body{
      width:100%!important;
      max-width:100%!important;
      margin:0!important;
      padding:0!important;
      overflow-x:hidden!important;
      background:#ffffff!important;
    }

    body .container.main{
      width:100%!important;
      max-width:100%!important;
      margin-left:0!important;
      margin-right:0!important;
      padding:0 12px!important;
      box-sizing:border-box!important;
      background:#ffffff!important;
    }

    body .container.main > .row{
      width:100%!important;
      max-width:100%!important;
      margin-left:0!important;
      margin-right:0!important;
      box-sizing:border-box!important;
    }

    body .container.main > .row > [class*="col-"]{
      width:100%!important;
      max-width:100%!important;
      flex:0 0 100%!important;
      padding-left:0!important;
      padding-right:0!important;
      box-sizing:border-box!important;
    }

    body header.row,
    body #navbarFixed,
    body #countries-collapse,
    body .mainNavbar,
    body nav.navbar.bg-faded.hidden-sm-down,
    body .multilevelpushmenu_wrapper{
      display:none!important;
      width:0!important;
      height:0!important;
      min-height:0!important;
      margin:0!important;
      padding:0!important;
      overflow:hidden!important;
      visibility:hidden!important;
    }

    body .ct-mobile-header{
      display:block!important;
      width:100%!important;
      max-width:100%!important;
      margin:10px 0 14px!important;
      padding:12px!important;
      border-radius:16px!important;
      box-sizing:border-box!important;
      background:#ffffff!important;
    }

    body .ct-mobile-sections-btn{
      display:block!important;
      width:100%!important;
      margin:10px 0 0!important;
      padding:11px 14px!important;
      box-sizing:border-box!important;
      text-align:left!important;
    }

    body .ct-mobile-sections{
      width:100%!important;
      max-width:100%!important;
      margin:8px 0 0!important;
      padding:10px!important;
      box-sizing:border-box!important;
    }

    body .ct-mobile-sections__nav,
    body .ct-mobile-sections__nav ul,
    body .ct-mobile-sections__nav li{
      width:100%!important;
      max-width:100%!important;
      margin-left:0!important;
      margin-right:0!important;
      padding-left:0!important;
      padding-right:0!important;
      box-sizing:border-box!important;
      float:none!important;
    }

    body .ct-mobile-sections__nav a,
    body .ct-mobile-sections__nav .dropdown-item{
      width:100%!important;
      max-width:100%!important;
      box-sizing:border-box!important;
      white-space:normal!important;
    }
  }


  /* Убираем верхний пробел над мобильной шапкой */
  @media (max-width:767px){
    body .container.main{
      padding-top:0!important;
    }

    body .ct-mobile-header{
      margin-top:0!important;
    }

    body .container.main > .row:first-child,
    body .container.main > .row:first-child > .col-md-12,
    body .container.main > .row:first-child .hidden-md-up{
      margin-top:0!important;
      padding-top:0!important;
    }
  }


  /* Логотип в мобильной шапке +15% */
  @media (max-width:767px){
    body .ct-mobile-header__logo img{
      width:172px!important;
      max-width:100%!important;
      height:auto!important;
    }
  }


  /* Логотип в мобильной шапке крупнее */
  @media (max-width:767px){
    body .ct-mobile-header__logo img{
      width:195px!important;
      max-width:100%!important;
      height:auto!important;
    }
  }


  /* Мобильное меню строго по navbar/submenu */
  @media (max-width:767px){
    body .ct-mobile-sections-btn{
      display:flex!important;
      align-items:center!important;
      justify-content:space-between!important;
      width:100%!important;
      margin:10px 0 0!important;
      padding:12px 14px!important;
      background:#ab1917!important;
      color:#ffffff!important;
      border:0!important;
      border-radius:14px!important;
      box-shadow:0 8px 18px rgba(171,25,23,.22)!important;
      text-decoration:none!important;
      font-size:15px!important;
      font-weight:700!important;
      line-height:1.2!important;
      box-sizing:border-box!important;
    }

    body .ct-mobile-sections-btn:after{
      content:"▼";
      display:block;
      font-size:11px;
      opacity:.9;
    }

    body .ct-mobile-sections{
      width:100%!important;
      margin:8px 0 0!important;
      padding:10px!important;
      background:#ffffff!important;
      border:1px solid rgba(171,25,23,.14)!important;
      border-radius:16px!important;
      box-shadow:0 10px 24px rgba(0,0,0,.08)!important;
      box-sizing:border-box!important;
    }

    body .ctm-menu{
      display:block!important;
      width:100%!important;
      box-sizing:border-box!important;
    }

    body .ctm-group{
      margin:0 0 8px!important;
      padding:0!important;
      border:1px solid #eeeeee!important;
      border-radius:12px!important;
      background:#fafafa!important;
      overflow:hidden!important;
      box-sizing:border-box!important;
    }

    body .ctm-group summary{
      display:flex!important;
      align-items:center!important;
      justify-content:space-between!important;
      padding:12px 12px!important;
      color:#222!important;
      font-size:14px!important;
      font-weight:700!important;
      line-height:1.25!important;
      cursor:pointer!important;
      list-style:none!important;
      box-sizing:border-box!important;
    }

    body .ctm-group summary::-webkit-details-marker{
      display:none!important;
    }

    body .ctm-group summary:after{
      content:"＋";
      color:#ab1917!important;
      font-size:16px!important;
      font-weight:700!important;
    }

    body .ctm-group[open] summary{
      background:#fff3f3!important;
      color:#ab1917!important;
    }

    body .ctm-group[open] summary:after{
      content:"−";
    }

    body .ctm-links{
      display:grid!important;
      grid-template-columns:1fr 1fr!important;
      gap:7px!important;
      padding:0 10px 10px!important;
      box-sizing:border-box!important;
    }

    body .ctm-links a,
    body .ctm-direct-link{
      display:block!important;
      width:100%!important;
      padding:9px 9px!important;
      background:#ffffff!important;
      border:1px solid #eeeeee!important;
      border-radius:10px!important;
      color:#333333!important;
      text-decoration:none!important;
      font-size:12px!important;
      font-weight:600!important;
      line-height:1.25!important;
      text-align:left!important;
      white-space:normal!important;
      box-sizing:border-box!important;
    }

    body .ctm-direct-link{
      margin-top:8px!important;
      background:#fff3f3!important;
      border-color:rgba(171,25,23,.22)!important;
      color:#ab1917!important;
      font-size:14px!important;
      font-weight:700!important;
    }
  }

  .ct-mobile-header__contacts{
    margin-top:7px;
    font-size:12px;
    line-height:1.35;
    color:#555;
    text-align:center;
  }

  .ct-mobile-header__contacts a{
    color:#ab1917;
    text-decoration:none;
  }
}


