/* ============================================
   CATEGORY NAVIGATION STYLES
   Add this at the END of your style.css file
   ============================================ */

.category-nav {
    background: white;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.category-list {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.category-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #f3f4f6;
    border-radius: 2rem;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-item i {
    font-size: 0.875rem;
}

.category-item:hover {
    background: var(--primary-color, #2563eb);
    color: white;
    transform: translateY(-2px);
}

.category-item.active {
    background: var(--primary-color, #2563eb);
    color: white;
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.category-item.all-category {
    background: #1f2937;
    color: white;
}

.category-item.all-category:hover {
    background: #374151;
}

/* Mobile Responsive for Categories */
@media (max-width: 768px) {
    .category-nav {
        margin: 0 -1rem 1rem -1rem;
        border-radius: 0;
        padding: 0.75rem 1rem;
    }
    
    .category-item {
        padding: 0.5rem 1rem;
        font-size: 0.813rem;
    }
}