/* =========================
GLOBAL
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#f5f7fb;
    padding:20px;
}

/* =========================
PRODUCT GRID
========================= */
.products-container{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;

    max-width:1200px;
    margin:auto;
}

/* =========================
PRODUCT CARD
========================= */
.product-card{
    background:#fff;

    border-radius:15px;

    padding:15px;

    box-shadow:0 3px 12px rgba(0,0,0,0.05);

    transition:0.3s;

    display:flex;
    flex-direction:column;
    gap:10px;
}

.product-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* IMAGE */
.product-card img{
    width:100%;
    height:220px;

    object-fit:contain;

    border-radius:10px;
}

/* TITLE */
.product-card h3{
    font-size:16px;
    font-weight:600;
    color:#222;
}

/* STARS */
.stars{
    font-size:14px;
    color:#f5a623;
}

/* PRICE */
.price{
    font-size:18px;
    font-weight:bold;
    color:#115dcc;
}

/* ACTION BUTTONS */
.actions{
    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-top:auto;
}

.actions button{
    width:42px;
    height:42px;

    border:none;
    border-radius:50%;

    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:0.3s;
}

/* CART BUTTON */
.actions .cart{
    background:#115dcc;
    color:#fff;
}

.actions .cart:hover{
    background:#0b4aa0;
}

/* WISHLIST */
.actions .wishlist{
    background:#f1f1f1;
    color:#ff3b3b;
}

.actions .wishlist:hover{
    background:#ffe5e5;
}

/* =========================
RESPONSIVE
========================= */
@media(max-width:1100px){
    .products-container{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:600px){
    .products-container{
        grid-template-columns:1fr;
    }

    body{
        padding:10px;
    }

    .product-card img{
        height:200px;
    }
}
.product-card.wish-active{
    border:2px solid #ff3b3b;
}