/* ===========================
   Wrapper
=========================== */

.wfp-wrapper{
    display:flex;
    gap:40px;
    align-items:flex-start;
    width:100%;
}

/* ===========================
   Sidebar
=========================== */

.wfp-sidebar{
    width:280px;
    min-width:280px;
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    padding:25px;
    box-sizing:border-box;
}

.wfp-sidebar h3{
    margin:0 0 20px;
    font-size:28px;
    font-weight:700;
    color:#222;
}

.wfp-search{
    width:100%;
    padding:12px 16px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:16px;
    margin-bottom:25px;
    box-sizing:border-box;
}

.wfp-search:focus{
    outline:none;
    border-color:#4F7C1C;
}

/* ===========================
   Categories
=========================== */

.wfp-categories{
    list-style:none;
    margin:0;
    padding:0;
}

.wfp-categories li{
    padding:14px 0;
    border-bottom:1px solid #eee;
    cursor:pointer;
    font-size:17px;
    transition:.3s;
}

.wfp-categories li:hover,
.wfp-categories li.active{
    color:#4F7C1C;
    font-weight:600;
}

/* ===========================
   Products Grid
=========================== */

.wfp-products{
    flex:1;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:30px;
}

/* ===========================
   Product Card
=========================== */

.wfp-product-card{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:15px;
    overflow:hidden;
    transition:.35s;
    box-shadow:0 2px 12px rgba(0,0,0,.05);
}

.wfp-product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 12px 30px rgba(0,0,0,.12);
}

/* ===========================
   Image
=========================== */

.wfp-image{
    display:block;
}

.wfp-image img{
    display:block;
    width:100%;
    height:280px;
    object-fit:cover;
}

/* ===========================
   Content
=========================== */

.wfp-title{
    margin:18px 18px 10px;
    font-size:22px;
    line-height:1.4;
}

.wfp-title a{
    color:#222;
    text-decoration:none;
}

.wfp-title a:hover{
    color:#4F7C1C;
}

.wfp-price{
    margin:0 18px 18px;
    color:#4F7C1C;
    font-size:22px;
    font-weight:700;
}

/* ===========================
   Button
=========================== */

.wfp-button{
    padding:0 18px 20px;
}

.wfp-button .button{
    width:100%;
    background:#4F7C1C;
    color:#fff;
    border:none;
    border-radius:8px;
    padding:14px;
    text-align:center;
    transition:.3s;
}

.wfp-button .button:hover{
    background:#3c6214;
    color:#fff;
}

/* ===========================
   Responsive
=========================== */

@media(max-width:1024px){

    .wfp-products{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:767px){

    .wfp-wrapper{
        flex-direction:column;
    }

    .wfp-sidebar{
        width:100%;
        min-width:100%;
    }

    .wfp-products{
        width:100%;
        grid-template-columns:1fr;
    }

}
.wfp-content{
    padding:20px;
}

.wfp-product-card{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.wfp-product-card:hover{
    transform:translateY(-8px);
}

.wfp-image{
    display:block;
}

.wfp-image img{
    display:block;
    width:100%;
    height:300px;
    object-fit:cover;
}

.wfp-title{
    margin:0 0 12px;
    font-size:24px;
    line-height:1.4;
}

.wfp-price{
    font-size:24px;
    color:#4F7C1C;
    font-weight:700;
    margin-bottom:20px;
}

.wfp-button .button{
    width:100%;
    background:#4F7C1C;
    color:#fff;
    padding:14px;
    border-radius:8px;
    text-align:center;
}