.menu-button {
    display: none;
    position: relative;
    width: 30px;
    height: 22px;
    cursor: pointer;
    margin-left: 20px;
    background: transparent;
    border: none;
}

@media (max-width: 760px) {
    .menu-button {
        display: block;
    }

    .check-button {
        display: inline-flex !important;
        height: 3.5rem !important;
        padding: 0 1.5rem !important;
    }
    
    .check-button span {
        font-size: clamp(0.9rem, 3vw, 1.4rem) !important;
        white-space: nowrap;
    }
}

@media (max-width: 450px) {
    .check-button {
        padding: 0 1rem !important;
    }
}

/* Классический бургер */
.menu-button span,
.menu-button::before,
.menu-button::after {
    position: absolute;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-button span {
    top: 50%;
    transform: translateY(-50%);
}

.menu-button::before {
    content: '';
    top: 0;
}

.menu-button::after {
    content: '';
    bottom: 0;
}

.menu-button-active span {
    opacity: 0;
}

.menu-button-active::before {
    transform: rotate(45deg);
    top: 9px;
}

.menu-button-active::after {
    transform: rotate(-45deg);
    bottom: 10px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding-top: 60px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9;
}

.mobile-menu-open {
    transform: translateX(0);
}

/* Кнопка закрытия в мобильном меню */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 2;
}

.mobile-menu-close::before,
.mobile-menu-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
}

.mobile-menu-close::before {
    transform: rotate(45deg);
}

.mobile-menu-close::after {
    transform: rotate(-45deg);
} 