/* Mobile Menu Styles */

/* Оверлей */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000B2;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Контейнер меню */
.mobile-menu-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background-color: #FFFFFF;
    padding: 95px 20px 45px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active .mobile-menu-container {
    transform: translateX(0);
}

/* Кнопка закрытия */
.mobile-menu-close {
    position: absolute;
    top: 27px;
    right: 90px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Логотип */
.mobile-menu-logo {
    margin-bottom: 40px;
}

.mobile-logo-img {
    width: 269px;
    height: auto;
}

/* Навигация */
.mobile-menu-nav {
    margin-bottom: 40px;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-item {
    margin-bottom: 20px;
}

.mobile-menu-item:last-child {
    margin-bottom: 0;
}

/* Каталог объектов (с подменю) */
.mobile-menu-item.has-submenu {
    margin-bottom: 34px;
}

.mobile-menu-link {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    text-decoration: none;
    color: #353331;
    font-family: "Commissioner", sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -4%;
    transition: opacity 0.3s ease;
}

.mobile-menu-link:hover {
    opacity: 0.7;
}

/* Каталог объектов (с подменю) */
.mobile-menu-item.has-submenu .mobile-menu-link {
    font-weight: 600;
    font-style: SemiBold;
}

.mobile-menu-arrow {
    width: 10px;
    height: auto;
    margin-left: 5px;
}

/* Контакты */
.mobile-menu-contacts {
    margin-bottom: 27px;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-family: "Commissioner", sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -4%;
    color: #353331;
}

.mobile-contact-item:last-child {
    margin-bottom: 0;
}

.mobile-contact-item img {
    width: 11.25px;
    height: auto;
}

/* Ссылки контактов */
.mobile-contact-link {
    color: #353331;
    text-decoration: none;
    font-family: "Commissioner", sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -4%;
    transition: opacity 0.3s ease;
}

.mobile-contact-link:hover {
    opacity: 0.7;
}

.mobile-contact-link:visited {
    color: #353331;
}

.mobile-contact-link:active {
    color: #353331;
}

/* Кнопка "Стать партнёром" */
.mobile-menu-actions {
    margin-bottom: auto;
    padding-top: 0;
}

.mobile-btn-partner {
    display: inline-block;
    padding: 10px 20px;
    background-color: #353331;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-family: "Commissioner", sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -4%;
    transition: opacity 0.3s ease;
}

.mobile-btn-partner:hover {
    opacity: 0.8;
}

/* Нижняя секция */
.mobile-menu-bottom {
    margin-top: 40px;
}

/* Кнопка "Заказать звонок" */
.mobile-btn-callback {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 4px 4px 4px 16px;
    background-color: #353331;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-family: "Commissioner", sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -4%;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}

.mobile-btn-callback:hover {
    opacity: 0.8;
}

.mobile-btn-callback-icon {
    width: 34px;
    height: 34px;
    background-color: #FFFFFF;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-btn-callback-icon img {
    width: 10px;
    height: 10px;
}

/* Переключатель языка */
.mobile-lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: "Commissioner", sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -4%;
}

.mobile-lang-switcher a {
    color: #353331;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.mobile-lang-switcher a:hover {
    opacity: 0.7;
}

.mobile-lang-switcher a.active {
    font-weight: 600;
}

.mobile-lang-switcher span {
    color: #353331;
}

/* Блокировка скролла */
body.menu-open {
    overflow: hidden;
}

/* Планшеты (50% ширины экрана) */
@media (max-width: 991px) {
    .mobile-menu-container {
        width: 50%;
        padding: 95px 20px 45px;
    }
    
    .mobile-menu-close {
        top: 27px;
        right: 90px;
    }
}

/* Мобильные устройства */
@media (max-width: 575px) {
    .mobile-menu-container {
        width: 310px;
        padding: 45px 20px 20px;
    }
    
    .mobile-logo-img {
        width: 193px;
    }
    
    .mobile-menu-close {
        top: 14px;
        right: 44px;
        width: 36px;
        height: 36px;
    }
    
    .mobile-menu-close-icon {
        width: 36px;
        height: 36px;
    }
    
    /* Предотвращаем изменение цвета ссылок на мобильных устройствах */
    .mobile-contact-link {
        -webkit-text-fill-color: #353331;
        -webkit-tap-highlight-color: transparent;
    }
    
    .mobile-contact-link:visited,
    .mobile-contact-link:active,
    .mobile-contact-link:hover {
        color: #353331 !important;
        -webkit-text-fill-color: #353331 !important;
    }
}

/* Очень маленькие экраны */
@media (max-width: 360px) {
    .mobile-menu-container {
        width: 100%;
        padding: 45px 20px 20px;
    }
} 