﻿.filter-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.filter-box {
    padding: 10px 18px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .filter-box:hover {
        background: #f2cf87;
        color: #fff;
        border-color: #af8643;
    }

    .filter-box.active {
        background: linear-gradient(to right, #af8643, #f2cf87);
        border: none;
        color: #fff;
        box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    }

.materials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.filter-pill {
    border-radius: 50px;
    padding: 6px 15px;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

    .filter-pill:hover {
        background: #f2cf87;
        color: #fff;
        border-color: #af8643;
    }

    .filter-pill.active {
        background: linear-gradient(to right, #af8643, #f2cf87);
        border: none;
        color: #fff;
        box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    }
