@media (max-width:768px){
    html,
    body {
        width:100%;
        max-width:100%;
        overflow-x:hidden;
    }

    .custom-header,
    .main-header {
        display:none !important;
    }

    .mobile-header {
        display:block !important;
        width:100%;
        max-width:100%;
        overflow: hidden;
        background:#000;
        padding:12px 15px;
        position: relative;
        z-index: 100;
    }

    .mobile-header-top {
        display:flex;
        align-items:center;
        justify-content:space-between;
    }

    .mobile-burger {
        width:25px;
        height:25px;
        background:none;
        border:none;
        padding:0;
        display:flex;
        flex-direction:column;
        justify-content:center;
        gap:4px;
        cursor: pointer;
    }

    .mobile-burger span {
        display:block;
        width:18px;
        height:2px;
        background:white;
    }

    .mobile-logo {

    }

    .mobile-logo img {
        width: 300px;
        height:auto;
    }

    .mobile-header-top a img {
        width:22px;
        height:22px;
    }

    /* нижняя панель */

    .mobile-header-bottom {
        margin-top:15px;
        display:flex;
        align-items:center;
        justify-content:center;
        gap:12px;
    }

    .mobile-catalog {
        height:36px;
        width:auto;
        padding:0 25px;
        background:#ffc107;
        border-radius:20px;
        color:#000;
        display:flex;
        justify-content:center;
        align-items:center;
        gap:7px;
        text-decoration:none;
        font-size:14px;
        border:none;
        cursor:pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-catalog .burger-lines {
        display: inline-block;
        width: 14px;
        height: 2px;
        background: currentColor;
        position: relative;
        vertical-align: middle;
    }

    .mobile-catalog .burger-lines::before,
    .mobile-catalog .burger-lines::after {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background: currentColor;
        transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
    }

    .mobile-catalog .burger-lines::before {
        top: -4px;
    }

    .mobile-catalog .burger-lines::after {
        bottom: -4px;
    }

    .mobile-catalog.active .burger-lines {
        background: transparent;
    }

    .mobile-catalog.active .burger-lines::before {
        top: 0;
        transform: rotate(45deg);
    }

    .mobile-catalog.active .burger-lines::after {
        bottom: 0;
        transform: rotate(-45deg);
    }

    .mobile-icon-btn {
        width:40px;
        height:40px;
        display:flex;
        align-items:center;
        justify-content:center;
    }

    .mobile-icon-btn img {
        width:40px;
        height:40px;
        object-fit:contain;
    }

    .container {
        max-width:100% !important;
        padding-left:15px;
        padding-right:15px;
    }

    .logo-icon-img {
        width:120px !important;
    }

    /* ============================================
       МОБИЛЬНЫЙ КАТАЛОГ
       ============================================ */

    .catalog-dropdown {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 600px;
        max-height: 100vh;
        background: #1a1a1a;
        overflow-y: auto;
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-100%);
        transition: all 0.3s ease;
        padding-top: 60px;
    }

    .catalog-dropdown.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .catalog-dropdown-container {
        position: relative;
        max-width: 100%;
        padding: 15px 15px 30px;
        margin: 0;
    }

    .catalog-two-columns {
        display: flex;
        flex-direction: column;
        min-height: auto;
        gap: 10px;
    }

    .catalog-sidebar {
        width: 100%;
        padding: 0;
        background: transparent;
    }

    .catalog-nav-list {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .catalog-nav-item {
        flex: 0 0 auto;
        margin: 0;
    }

    .catalog-nav-item a {
        display: block;
        font-size: 12px;
        padding: 6px 14px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.06);
        color: #ffffff;
        text-decoration: none;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .catalog-nav-item a:hover {
        background: #dc3545;
        color: #ffffff;
        padding-left: 14px;
    }

    .catalog-nav-item.active a {
        background: #dc3545;
        color: #ffffff;
        font-weight: 500;
    }

    .catalog-nav-divider {
        display: none;
    }

    .catalog-content {
        width: 100%;
        padding: 10px 0 0;
        background: transparent;
        border-radius: 0;
    }

    .catalog-content-inner {
        width: 100%;
    }

    .catalog-subgrid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .catalog-subcolumn h4 {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 8px;
        padding-bottom: 5px;
        border-bottom: 2px solid #f0b90b;
        color: #ffffff;
    }

    .catalog-subcolumn ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .catalog-subcolumn ul li {
        margin-bottom: 5px;
    }

    .catalog-subcolumn ul li a {
        font-size: 11px;
        color: #aaaaaa;
        text-decoration: none;
        transition: color 0.2s ease;
        display: block;
        padding: 2px 0;
    }

    .catalog-subcolumn ul li a:hover {
        color: #dc3545;
        padding-left: 3px;
    }

    .catalog-close-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 10000;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .catalog-close-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg);
    }

    .catalog-close-btn svg {
        width: 20px;
        height: 20px;
        display: block;
    }

    .catalog-close-btn svg path {
        stroke: #ffffff;
        transition: stroke 0.3s ease;
    }

    .catalog-close-btn:hover svg path {
        stroke: #dc3545;
    }

     /* ===== МОБИЛЬНОЕ ВЫЕЗЖАЮЩЕЕ МЕНЮ ===== */
     
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 99999;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-panel {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #1a1a1a;
        z-index: 100000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding: 20px;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }

    .mobile-menu-panel.open {
        transform: translateX(0);
    }

    /* Шапка меню */

    .mobile-menu-overlay {
        display: block;
    }

    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 20px;
        border-bottom: 1px solid #333;
    }

    .mobile-menu-close {
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-menu-close svg {
        width: 18px;
        height: 18px;
    }

    .mobile-menu-close svg path {
        stroke: #ffffff;
    }

    .mobile-menu-logo img {
        width: 80px;
        height: auto;
    }

    /* Навигация */
    .mobile-menu-nav {
        flex: 1;
        padding: 20px 0;
    }

    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu-list li {
        margin-bottom: 5px;
    }

    .mobile-menu-list li a {
        display: block;
        padding: 12px 16px;
        color: #ffffff;
        text-decoration: none;
        font-size: 15px;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .mobile-menu-list li a:hover {
        background: rgba(255, 255, 255, 0.06);
        color: #ffc107;
    }

    /* Контакты внизу */
    .mobile-menu-contacts {
        padding-top: 20px;
        border-top: 1px solid #333;
    }

    .mobile-menu-phone {
        font-size: 16px;
        font-weight: 500;
        color: #ffffff;
        margin-bottom: 4px;
    }

    .mobile-menu-hours {
        font-size: 12px;
        color: #888;
    }

    /* Блокировка скролла НЕ УБИРАТЬ!!!  */
    body.menu-open {
        overflow: hidden;
    }

    .promo-block {
        min-height: 130px;
    }

    .promo-content {
        margin: 20px auto;
    }

    .promo-title {
        width: 200px;
    }

    .promo-title-text {
        width: 400px;
        font-size: 16px;
    }

    .facts-block-image {
        display: none;
    }

    .facts-title {
        width: 100%;
        text-align: center;
    }

    .facts-list {
        padding: 0 40px;
    }
}