/* Мобильный хедер */
.mobile-header {
    display: none;
    padding: 15px 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@media (max-width: 991px) {
    .mobile-header {
        display: block;
    }

    .menu-sd {
        display: none !important;
    }
}

/* Кнопка бургер меню */
.open-menu {
    background: none;
    border: none;
    position: relative;
    cursor: pointer;
}

.open-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background: #333;
    margin: 6px 0;
    transition: 0.3s;
    transform-origin: center;
}

.open-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.open-menu.active span:nth-child(2) {
    opacity: 0;
}

.open-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Боковое меню */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: white;
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-logo {
    max-height: 40px;
}

.close-menu {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #333;
}

.mobile-menu-content {
    padding: 20px;
}

/* Пункты меню */
.mobile-menu-item {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.mobile-menu-item:hover {
    color: #FF6B00;
}

/* Выпадающий каталог */
.mobile-catalog-dropdown {
    position: relative;
}

.catalog-toggle {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

.catalog-arrow {
    transition: transform 0.3s ease;
}

.catalog-toggle.active .catalog-arrow {
    transform: rotate(90deg);
}

.mobile-catalog-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-catalog-submenu.active {
    max-height: 500px;
}

.mobile-submenu-item {
    display: block;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid #f8f8f8;
    transition: all 0.3s ease;
}

.mobile-submenu-item:hover {
    color: #FF6B00;
    background: #fff8f0;
}

/* Контакты */
.mobile-contacts {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.mobile-contact-item:last-child {
    margin-bottom: 0;
}

.mobile-contact-item img {
    width: 20px;
    height: 20px;
}

.mobile-phone,
.mobile-email {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.mobile-address,
.mobile-schedule {
    color: #666;
    font-size: 14px;
}

/* Кнопка заказа */
.mobile-order-btn {
    display: block;
    padding: 15px;
    background: #FF6B00;
    color: white !important;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.mobile-order-btn:hover {
    background: #E55D00;
}