.products-list{
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    font-family: 'Montserrat';
}
.products-list article{
    width: calc( 25% - 17px );
}
.products-list a{
    display: flex;
    flex-direction: column;
}
.products-list img{
    border-radius: 8px;
    width: 100%;
    object-fit: cover;
    max-height: 360px;
    height: 100%;
    object-position: 50% 0%;
}
.products-list .pro_category{
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #F28C28;
}
.products-list h4{
    color: #1F2937;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
}
.products-list p{
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #4B5563;
}
.top-filter{
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    justify-content: space-between;
    font-family: 'Montserrat';
}
.top-filter .left-filter{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.top-filter .left-filter a{
    color:#FFFFFF;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    padding: 8px 10px;
    background-color: #9E8A78;
    border-radius: 50px;
}
.right-filter button,
#product-filters-modal button{
    background-color: #F28C28;
    border-radius: 99px;
    padding: 8px 10px;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    display: flex;
    gap: 10px;
    border: 0;
    color: #fff;
}
#product-filters-modal{
    display: none;
    position: fixed;
    right: 20px;
    top: 20px;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(204, 204, 204);
    padding: 0 40px 20px;
    z-index: 99;
    max-width: 350px;
    width: 100%;
    height: calc( 100vh - 40px );
    overflow: scroll;
}
#product-filters-modal form{
    display: flex;
    flex-direction: column;
}
#product-filters-modal form .top{
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 0;
    background-color: #fff;
    padding: 40px 0 30px;
}
#product-filters-modal h2{
    font-size: 20px;
    line-height: 30px;
    font-weight: 900;
}
#product-filters-modal .proFilter{
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}
#product-filters-modal .buttons{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
#product-filters-modal .buttons a{
    color: #F28C28;
}
@media screen and ( max-width: 1024px ) {
    .products-list .pro_category,
    .products-list p,
    .top-filter .left-filter a,
    .right-filter button,
    #product-filters-modal button{
        font-size: 14px;
        line-height: 22px;
    }
    .products-list h4 {
        font-size: 16px;
        line-height: 22px;
    }
    #product-filters-modal{
        padding: 0 20px 0;
        max-width: 300px;
    }
    #product-filters-modal form .top{
        padding: 20px 0 20px;
    }
}
@media screen and ( max-width: 991px ){
    .products-list .pro_category, .products-list p, .top-filter .left-filter a, .right-filter button, #product-filters-modal button {
        font-size: 12px;
        line-height: 20px;
    }
     .products-list article {
        width: calc(33.33% - 15px);
    }
}
@media screen and ( max-width: 767px ){
    .top-filter{
        flex-direction: column-reverse;
    }
    .products-list article {
        width: calc(50% - 11px);
    }
    .top-filter .left-filter{
        gap: 10px;
    }
    #product-filters-modal{
        top: 5px;
        right: 5px;
        height: calc(100vh - 10px);
        max-width: 275px;
    }
    .products-list h4 {
        font-size: 14px;
        line-height: 20px;
    }
    .products-list .pro_category, .products-list p, .top-filter .left-filter a, .right-filter button, #product-filters-modal button {
        font-size: 10px;
        line-height: 18px;
    }
}