/* ===== 筛选区域 ===== */
.filter-section {
    background: #fff;
    border-radius: 14px;
    padding: 1.2rem 1.5rem;
    border: 2px solid #000;
    position: relative;
    overflow: hidden;
}

.filter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #000;
}

.filter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.filter-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: #000;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: transparent;
    padding: 0.5rem;
    border-radius: 12px;
    border: 2px solid #000;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    background: transparent;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover {
    background: transparent;
    color: #000;
    border-color: #000;
    transform: none;
}

.filter-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: none;
}

.filter-btn.active::after {
    display: none;
}

@media (max-width: 1199px) {
  
    .filter-buttons {
        justify-content: center;
    }
}



@media (max-width: 480px) {
    .filter-section {
        padding: 1rem 1.5rem;
    }
    
    .filter-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .filter-buttons {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .filter-buttons::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        flex-shrink: 0;
    }
}
