/* GLOBAL */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, sans-serif;
}



/* HERO */

.product-hero{
    text-align:center;
    margin-bottom:30px;
    color:black;
    /* background:rgba(0,0,0,0.55); */
    padding:40px 20px;
    border-radius:15px;
}

.product-hero h1{
    font-size:2.3rem;
    font-weight:bold;
}

.product-hero p{
    margin-top:10px;
    font-size:1.1rem;
}

/* PRODUCT GRID */
.product-container{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:25px;
    max-width:1200px;
    margin:auto;
}

/* PRODUCT CARD */
.product-card{
    background:#fff;
    padding:15px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 4px 12px rgba(0,0,0,0.15);
}

.product-card img{
    width:100%;
    height:250px;           /* SAME SIZE for all products */
    object-fit:cover;
    border-radius:10px;
}

.product-card h3{
    font-size:1.2rem;
    margin:12px 0 5px;
}

.price{
    font-size:1.1rem;
    color:#ff4d4d;
    font-weight:bold;
    margin-bottom:12px;
}

/* BUTTON */
.product-card button{
    width:100%;
    padding:10px;
    background:#ff4d4d;
    color:white;
    font-size:16px;
    border:none;
    border-radius:8px;
    cursor:pointer;
    transition:0.3s;
}

.product-card button:hover{
    background:#e43e3e;
}

/* ============================
   RESPONSIVE MEDIA QUERIES
=============================== */

/* Tablets */
@media (max-width:1024px){
    .product-container{
        grid-template-columns:repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width:600px){
    body{
        padding:15px;
    }

    .product-hero h1{
        font-size:1.8rem;
    }

    .product-container{
        grid-template-columns:1fr;
    }

    .product-card img{
        height:220px;
    }
}
