/* Mobile Menu Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #07080C, #281E3D);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    transform: translateX(-100%);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.mobile-menu-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
}

/* Header Section */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #29242A;
    margin-bottom: 30px;
    flex-shrink: 0;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*.mobile-menu-close:hover {*/
/*    background-color: rgba(255, 255, 255, 0.1);*/
/*}*/

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

.mobile-menu-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-language-selector,
.mobile-cart,
.mobile-user {
    display: flex;
    align-items: center;
}

.mobile-signin-btn {
    background: rgba(87, 133, 131, 0.2);
    border: 1px solid #29242A;
    color: #9c9c9c;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mobile-signin-btn:hover {
    background: #578583;
    color: white;
}

/* Menu Body */
.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
}

.mobile-menu-title {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

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

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

.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
    min-height: 56px;
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.mobile-menu-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.mobile-menu-link:hover .mobile-menu-arrow {
    transform: translateX(4px);
}

/* Toggle Button Styles */
.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 16px;
    height: 16px;
}

.mobile-menu-toggle img {
    width: 16px;
    height: 16px;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.mobile-menu-toggle .hamburger-icon {
    opacity: 1;
}

.mobile-menu-toggle .close-icon {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-icon {
    opacity: 0;
}

.mobile-menu-toggle.active .close-icon {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .mobile-menu-content {
        padding: 16px;
    }
    
    .mobile-menu-header {
        padding-bottom: 16px;
        margin-bottom: 24px;
    }
    
    .mobile-menu-title {
        font-size: 20px;
        margin-bottom: 24px;
    }
    
    .mobile-menu-link {
        padding: 12px 16px;
        font-size: 14px;
        min-height: 32px;
    }
    
    .mobile-menu-actions {
        gap: 12px;
    }
    
    .mobile-menu-logo img {
        height: 28px;
    }
}

/* Animation for menu items */
.mobile-menu-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-item {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-overlay.active .mobile-menu-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-menu-item:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-menu-item:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-menu-item:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-overlay.active .mobile-menu-item:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu-overlay.active .mobile-menu-item:nth-child(6) { transition-delay: 0.35s; }

/*!* Touch-friendly improvements *!*/
/*@media (hover: none) and (pointer: coarse) {*/
/*    .mobile-menu-link {*/
/*        min-height: 60px;*/
/*        padding: 18px 20px;*/
/*    }*/
/*    */
/*    .mobile-menu-toggle {*/
/*        min-width: 44px;*/
/*        min-height: 44px;*/
/*    }*/
/*    */
/*    .mobile-menu-close {*/
/*        min-width: 44px;*/
/*        min-height: 44px;*/
/*    }*/
/*}*/

/* Ensure menu is hidden on desktop */
@media (min-width: 1024px) {
    .mobile-menu-overlay {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
} 