/* Mobile Menu Styles - Unified for all pages */

/* Мобильное меню - скрыто по умолчанию на десктопе */
@media (max-width: 1024px) {
    /* Скрываем desktop навигацию на мобилке */
    .header__bottom {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #000;
        z-index: 10000;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    /* Показываем меню когда оно открыто */
    .header__bottom .header-nav.open {
        left: 0;
    }
    
    .header__bottom.open,
    .header-nav.open {
        left: 0;
    }
    
    /* Стили для открытого меню */
    .header__bottom .header-nav {
        display: flex;
        flex-direction: column;
        padding: 80px 30px 30px;
        height: 100%;
    }
    
    .header__bottom .flexible {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }
    
    .header__bottom .nav {
        flex-direction: column;
        border: none;
        gap: 0;
    }
    
    .header__bottom .nav.bordered {
        border: none;
    }
    
    .header__bottom .nav li {
        margin: 0;
        width: 100%;
    }
    
    .header__bottom .nav .link {
        display: block;
        width: 100%;
        min-width: auto;
        text-align: left;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 16px 0;
        font-size: 18px;
        font-weight: 300;
        transition: all 0.3s ease;
    }
    
    .header__bottom .nav .link:hover {
        background: rgba(255, 255, 255, 0.05);
        padding-left: 10px;
        color: #007acc;
    }
    
    /* Стили для wishlist и cart в мобильном меню */
    .header__bottom .btn-wishlist {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(255, 102, 153, 0.2);
    }
    
    .header__bottom .btn-wishlist:hover {
        background: rgba(255, 102, 153, 0.1);
        color: #ff6699;
    }
    
    .header__bottom .btn-wishlist span.yellow {
        order: -1;
        color: #ff6699;
    }
    
    .header__bottom .btn-cart {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(102, 179, 255, 0.2);
    }
    
    .header__bottom .btn-cart:hover {
        background: rgba(102, 179, 255, 0.1);
        color: #66b3ff;
    }
    
    .header__bottom .btn-cart span {
        order: -1;
        color: #ebeb47 !important;
        font-weight: 700 !important;
        text-shadow: 0 0 25px rgba(235, 235, 71, 1), 0 0 10px rgba(235, 235, 71, 0.8) !important;
        filter: brightness(1.3) !important;
    }
    
    /* Кнопка закрытия меню */
    .header__bottom .header-nav::before {
        content: '×';
        position: absolute;
        top: 30px;
        right: 30px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 40px;
        color: rgba(255, 255, 255, 0.7);
        cursor: pointer;
        border-radius: 50%;
        transition: all 0.3s ease;
        z-index: 10001;
    }
    
    .header__bottom .header-nav::before:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }
    
    /* Блокировка прокрутки body когда меню открыто */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    /* Анимация кнопки меню */
    .btn-menu {
        transition: all 0.3s ease;
    }
    
    .btn-menu .icon-bar {
        transition: all 0.3s ease;
    }
    
    .btn-menu.active .icon-bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .btn-menu.active .icon-bar:nth-child(2) {
        opacity: 0;
    }
    
    .btn-menu.active .icon-bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .btn-menu.active {
        background: #000;
        border-color: #ebeb47;
    }
    
    .btn-menu.active .icon-bar {
        background: #ebeb47;
    }
}

/* Desktop версия - меню всегда видимо */
@media (min-width: 1025px) {
    .header__bottom {
        position: relative;
        left: 0;
        height: auto;
    }
    
    .header__bottom .header-nav {
        display: block;
    }
}


