    
    /* Mobile Category Styles */
.mobile-category-toggle {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.mobile-category-list {
    background: #f8f9fa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-category-list.expanded {
    max-height: 400px;
    overflow-y: auto;
}

.mobile-category-item {
    border-bottom: 1px solid #e9ecef;
}

.mobile-category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-category-link:hover,
.mobile-category-link.active {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.mobile-category-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.subcategory-arrow,
.grandchild-arrow {
    transition: transform 0.3s ease;
}

.mobile-subcategory-list {
    max-height: 0;
    overflow: hidden;
    background: #f1f3f5;
    transition: max-height 0.3s ease;
}

.mobile-subcategory-list.expanded {
    max-height: 300px;
}

.mobile-subcategory-item {
    border-top: 1px solid #dee2e6;
}

.mobile-subcategory-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 10px 40px;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-subcategory-link:hover {
    color: var(--primary-color);
    padding-left: 45px;
}

.mobile-grandchild-list {
    max-height: 0;
    overflow: hidden;
    background: #e9ecef;
    transition: max-height 0.3s ease;
}

.mobile-grandchild-list.expanded {
    max-height: 200px;
}

.mobile-grandchild-item {
    border-top: 1px solid #ced4da;
}

.mobile-grandchild-link {
    display: flex;
    align-items: center;
    padding: 8px 20px 8px 60px;
    color: #868e96;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-grandchild-link:hover {
    color: var(--primary-color);
    padding-left: 65px;
}

.no-categories-mobile,
.no-subcategories,
.no-grandchildren {
    padding: 15px 20px;
    color: #6c757d;
    font-style: italic;
    text-align: center;
}

/* Scrollbar styling for mobile categories */
.mobile-category-list::-webkit-scrollbar,
.mobile-subcategory-list::-webkit-scrollbar,
.mobile-grandchild-list::-webkit-scrollbar {
    width: 4px;
}

.mobile-category-list::-webkit-scrollbar-track,
.mobile-subcategory-list::-webkit-scrollbar-track,
.mobile-grandchild-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.mobile-category-list::-webkit-scrollbar-thumb,
.mobile-subcategory-list::-webkit-scrollbar-thumb,
.mobile-grandchild-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

/* Responsive adjustments for mega menu */
@media (max-width: 992px) {
    .mega-menu-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mega-menu {
        display: none;
    }
    
    .nav-item-dropdown .dropdown-toggle {
        display: none;
    }
    
    .mobile-categories-dropdown {
        display: block;
    }
}
    /* Mobile Logo Styles */
        .logo-container {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .logo-container.mobile-view .logo-text {
            display: flex !important;
            flex-direction: column;
        }
        
        .logo-image {
            width: 45px;
            height: 45px;
            object-fit: contain;
        }
        
        .logo-text {
            display: flex;
            flex-direction: column;
        }
        
        .logo-main {
            font-size: 1.2rem;
            font-weight: 700;
            color: #2c3e50;
            line-height: 1.2;
        }
        
        .logo-tagline {
            font-size: 0.75rem;
            color: #7f8c8d;
            line-height: 1.2;
        }
        
        /* Mobile menu logo */
        .mobile-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 15px;
        }
        
        .mobile-logo-img {
            width: 40px;
            height: 40px;
            object-fit: contain;
        }
        
        .mobile-logo-text {
            display: flex;
            flex-direction: column;
        }
        
        .mobile-logo-main {
            font-size: 1.1rem;
            font-weight: 700;
            color: #2c3e50;
        }
        
        .mobile-logo-tagline {
            font-size: 0.7rem;
            color: #7f8c8d;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .logo-container {
                gap: 8px;
                min-width: auto;
                flex: 0 0 auto;
            }
            
            .logo-image {
                width: 40px;
                height: 40px;
            }
            
            .logo-main {
                font-size: 1rem;
            }
            
            .logo-tagline {
                font-size: 0.65rem;
            }
            
            .main-header {
                padding: 10px 15px;
            }
        }
        
        @media (max-width: 480px) {
            .logo-container {
                gap: 6px;
            }
            
            .logo-image {
                width: 35px;
                height: 35px;
            }
            
            .logo-main {
                font-size: 0.9rem;
            }
            
            .logo-tagline {
                font-size: 0.6rem;
            }
        }
        
        /* Header scroll animation */
        .header-hidden {
            transform: translateY(-100%);
            transition: transform 0.3s ease;
        }
        
        .nav-hidden {
            transform: translateY(-100%);
            opacity: 0;
            transition: all 0.3s ease;
        }
        
        /* Notification styles */
        .custom-notification {
            position: fixed;
            top: 20px;
            right: 20px;
            background: #2ecc71;
            color: white;
            padding: 12px 20px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 9999;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            animation: slideInRight 0.3s ease;
            max-width: 350px;
        }
        
        .custom-notification.error {
            background: #e74c3c;
        }
        
        .custom-notification .notification-close {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            padding: 0;
            margin-left: 10px;
            opacity: 0.8;
            transition: opacity 0.2s;
        }
        
        .custom-notification .notification-close:hover {
            opacity: 1;
        }
        
        @keyframes slideInRight {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }
        
        /* Search clear button */
        .search-clear {
            background: none;
            border: none;
            color: #7f8c8d;
            cursor: pointer;
            padding: 0 10px;
            font-size: 14px;
        }
        
        .search-clear:hover {
            color: #e74c3c;
        }