/**
 * Mobile Menu Panel - EXACT CART PANEL COPY
 * Same structure, design, and typography as cart panel
 * Only difference: triggered by burger icon, shows primary menu
 */

/* Mobile Menu Panel Overlay - EXACT CART PANEL COPY */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* Mobile Menu Panel - Slides from LEFT */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -400px;
    width: 400px;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    left: 0;
}

/* Mobile Menu Panel Header - EXACT CART PANEL COPY */
.mobile-menu-header {
    padding: 25px 20px 20px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
}

.mobile-menu-title {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    margin: 0;
    letter-spacing: 2px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #000000;
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    font-weight: 300;
}

.mobile-menu-close:hover {
    color: #666;
}

/* Mobile Menu Panel Content - EXACT CART PANEL COPY */
.mobile-menu-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* Primary Menu Items - EXACT CART PANEL STYLING */
.primary-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu-list li {
    border-bottom: 1px solid #e5e5e5;
    margin: 0;
}

.primary-menu-list li:last-child {
    border-bottom: none;
}

.primary-menu-list a {
    display: block;
    padding: 20px 0;
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

.primary-menu-list a:hover {
    color: #666;
}

/* Mobile Menu Panel Footer - EXACT CART PANEL COPY */
.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid #e5e5e5;
    background-color: #ffffff;
}

/* Mobile Responsive - Slides from LEFT */
@media (max-width: 991px) {
    .mobile-menu {
        width: 100%;
        left: -100%;
    }
}

@media (max-width: 767px) {
    .mobile-menu-header {
        padding: 20px 15px 15px;
    }
    
    .mobile-menu-content {
        padding: 15px;
    }
    
    .primary-menu-list a {
        padding: 18px 0;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        width: 100vw;
    }
}

/* Scrollbar styling - EXACT CART PANEL COPY */
.mobile-menu-content::-webkit-scrollbar {
    width: 6px;
}

.mobile-menu-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.mobile-menu-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.mobile-menu-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}
