*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, sans-serif;
    background:#f5f5f5;
    overflow-x:hidden;
}

.container{
    width:100%;
    max-width:1400px;
    margin:auto;
    padding:20px;
}

/* ======================
   PAGE HEADER
====================== */

.page-header{
    margin-bottom:25px;
}

.page-header h2{
    font-size:30px;
    color:#222;
    margin-bottom:8px;
}

.page-header p{
    color:#777;
}

/* ======================
   PRODUCTS GRID
====================== */

.products-grid{
    width:100%;
    display:grid;

    /* RESPONSIVE FIX */
    grid-template-columns:repeat(auto-fill, minmax(250px, 1fr));

    gap:20px;

    align-items:stretch;
}

/* ======================
   PRODUCT CARD
====================== */

.product-card{
    width:100%;
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);

    transition:0.3s ease;

    display:flex;
    flex-direction:column;
}

.product-card:hover{
    transform:translateY(-5px);
}

/* ======================
   IMAGE
====================== */

.product-image-wrapper{
    width:100%;
    height:250px;
    overflow:hidden;
    background:#f1f1f1;
}

.product-image{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* ======================
   CONTENT
====================== */

.product-content{
    padding:18px;

    display:flex;
    flex-direction:column;

    flex-grow:1;
}

.product-content h3{
    font-size:18px;
    color:#222;
    margin-bottom:10px;

    min-height:50px;
}

.price{
    font-size:22px;
    color:#e63946;
    font-weight:bold;
    margin-bottom:10px;
}

.category{
    color:#777;
    margin-bottom:15px;
}

/* ======================
   BUTTON
====================== */

.btn{
    margin-top:auto;

    display:inline-block;

    text-align:center;

    padding:12px 18px;

    background:#000;
    color:#fff;

    text-decoration:none;

    border-radius:5px;

    transition:0.3s;
}

.btn:hover{
    background:#e63946;
}

/* ======================
   NO PRODUCTS
====================== */

.no-products{
    width:100%;
    background:#fff;
    padding:50px;
    border-radius:10px;
    text-align:center;
}

/* ======================
   RESPONSIVE
====================== */

@media(max-width:992px){

    .products-grid{
        grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));
    }

}

@media(max-width:768px){

    .page-header h2{
        font-size:24px;
    }

    .products-grid{
        grid-template-columns:repeat(auto-fill, minmax(180px, 1fr));
    }

    .product-image-wrapper{
        height:200px;
    }

}

@media(max-width:480px){

    .products-grid{
        grid-template-columns:1fr 1fr;
        gap:15px;
    }

    .product-content h3{
        font-size:16px;
    }

    .price{
        font-size:18px;
    }

}