/* ================================================
   КНОПКА ГАМБУРГЕР
   ================================================ */

.menu-toggle-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

.menu-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.hamburger-icon {
    width: 26px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Анимация при наведении */
.menu-toggle-btn:hover .hamburger-icon span:nth-child(1) {
    transform: translateY(-2px);
}

.menu-toggle-btn:hover .hamburger-icon span:nth-child(3) {
    transform: translateY(2px);
}

/* Анимация X при открытом меню */
.menu-toggle-btn.is-active .hamburger-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle-btn.is-active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle-btn.is-active .hamburger-icon span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Кнопка в header */
.header-menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (min-width: 992px) {
    .menu-toggle-btn {
        display: none; /* Скрыть на десктопе если есть обычное меню */
    }
}
