.category-filter-panel {
    max-width: 1600px;
    margin: 0 auto;
    padding: 12px 20px;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.category-filter-header {
    font-size: 13px;
    font-weight: 600;
    color: #999;
    margin-bottom: 8px;
}
.category-filter-l1-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
}
.category-filter-l1-row::-webkit-scrollbar {
    height: 0;
}
.category-filter-tab {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: #f5f7fa;
    color: #555;
    border-radius: 18px;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
    border: 1px solid #e8ecf0;
    transition: all 0.2s ease;
}
.category-filter-tab:hover {
    background: #eef3ff;
    color: #0066FF;
    border-color: #c5d8ff;
}
.category-filter-tab.active {
    background: #0066FF;
    color: #fff;
    border-color: #0066FF;
    font-weight: 500;
}
.category-filter-count {
    font-size: 11px;
    margin-left: 3px;
    opacity: 0.7;
}
.category-filter-l2-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 8px;
    margin-top: 8px;
    border-top: 1px dashed #eee;
}
.category-filter-l2-tab {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #fafbfc;
    color: #666;
    border-radius: 14px;
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
    border: 1px solid #eef0f3;
    transition: all 0.2s ease;
}
.category-filter-l2-tab:hover {
    background: #eef3ff;
    color: #0066FF;
    border-color: #c5d8ff;
}
.category-filter-l2-tab.active {
    background: #0066FF;
    color: #fff;
    border-color: #0066FF;
    font-weight: 500;
}

@media (max-width: 768px) {
    .category-filter-panel {
        padding: 10px 15px;
    }
    .category-filter-header {
        font-size: 12px;
        margin-bottom: 6px;
    }
    .category-filter-l1-row {
        gap: 6px;
    }
    .category-filter-tab {
        padding: 5px 12px;
        font-size: 12px;
    }
    .category-filter-l2-row {
        gap: 5px;
        padding-top: 6px;
        margin-top: 6px;
    }
    .category-filter-l2-tab {
        padding: 4px 9px;
        font-size: 11px;
    }
}
