.main_product{

}
.main_product .head{
    text-align: center;
    margin-top: 40px;
}
.main_product .head h1{
   color: #231E41;
    font-size: 40px;
    text-transform: uppercase;
    font-family: sans-serif;
}
.main_product .all_product{
    /* height: 300px; */
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 70px;
    justify-content: center;
    /* border: 1px solid red; */
}
.card-main{
    height: 320px;
    width: 240px;
    position: relative;
    border-radius: 5px 5px 5px 30px;
    background: #F5C332;
    box-shadow: 0 0 44px -2px rgb(201, 197, 197);
    border: 2px solid rgb(230, 166, 70);
}
.card-head{
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 7px;
    /* color: rgb(247, 243, 243); */
    /* border: 1px solid red; */
}
.card-head span{
    color: white;
    font-size: 18px;
}
.card-head b{
    font-size: 20px;
}
.card-image{
    position: absolute;
    left: -40%;
    /* border: 1px solid blue; */
    top: 25px;
    transition: .3s;
}
.card-image img{
    width: 250px;
    height: 250px;
    /* border: 1px solid red; */
}
.card-main:hover .card-image{
    left: -8px;
    transform: scale(1.1);
}
.card-main a{
    text-decoration: none;
    color: rgb(247, 245, 245);
}
.card-button{
    height: 35px;
    /* width: 80px; */
    position: absolute;
    bottom: 10px;
    left: 75px;
    border-radius: 4px;
    display:flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    background: rgb(233, 49, 49);
    /* border: 1px solid red; */
}
 @media (max-width:1279px){
    .main_product .all_product{
        flex-wrap: wrap;
        gap: 60px;
        padding: 0 45px;
        /* justify-content: start; */
    }
    .card-main{
        width: 220px;
        height: 300px;
    }
    .card-image img{
    width: 230px;
    height: 230px;
    /* border: 1px solid red; */
}
} 
@media (max-width:880px){
    .main_product .all_product{
        gap: 60px;
    }
}
 @media (max-width:601px){
    .main_product .all_product{
        gap: 30px;
    }
    .card-main{
        width: 260px;
        height: 340px;
    }
    .card-image img{
    width: 270px;
    height: 270px;
    /* border: 1px solid red; */
}
 }
 @media (max-width:390px){
    .main_product .all_product{
    gap: 20px;
    padding: 0 10px 0 50px;
    }
    .main_product .head h1{
        font-size: 35px;
    }
 }
    .card-main{
        width: 230px;
        height: 300px;
    }
    .card-image img{
    width: 250px;
    height: 240px;
}
 }
  @media (max-width:350px){
    .main_product .head h1{
        font-size: 33px;
   
  }