@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Baloo 2", sans-serif;
}
body{
    background-color: #f5f7fb;
}
.products
{
    width: 90%;
    max-width: 1300px;
    margin: 70px auto;
    /* border: 2px solid black; */
   
}
.products h1{
       
    text-align: center;
    margin-bottom: 45px;
    font-size: 40px;
    color: #222;
}
.product-grid
 {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px, 1fr));
    gap: 30px;

 }
 .card{
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.8);
    transition:  all .4s ease;
    position: relative;
     
 }
 .card:hover{
     transform: translateY(-20px);
     box-shadow: 0 20px 40px rgba(0,0,0,0.15);
 }
 .badge{
    position: absolute;
    top: 18px;
    left: 18px ;
    background: #ff4757;
    color: #fff;
    padding: 6px 14px ;
    border-radius: 30px;
    font-weight: 600;
 }
 .card img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: .4s;

 }
 .card:hover img{
    transform: scale(1.09);
 }
 .content{
    padding: 22px;

 }
 .content h3{
    font-size: 22px ;
    color:#222;
    margin-bottom: 10px;
 }
 .stars
 {
    color: gold;
    margin-bottom: 15px;
    font-size: 18px;

 }
 .content p{
     font-size: 26px;
     font-weight: 700;
     margin-bottom: 18px;
 }
 button{
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #6366F1,#8b5cf6);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.4s;
    font-weight: 600;
 }
button:hover{

    transform:translateY(-4px);

    box-shadow:
    0 15px 30px rgba(99,102,241,.4);

    letter-spacing:1px;
}
button:active{

    transform:scale(.95);

}
 @media(max-width:800px)
 {
    .products h1{
        font-size: 32px;
    }
 }