
.livres{

    display: grid;
    place-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;  
}


.products
{
    display:flex;
    justify-content: center;
    flex-wrap: wrap;
    gap:25px;


}

.product
{
    position: relative;
    width:250px;
    height:70%;
    background-color:#f7f6f9;
    box-shadow: 0 5px 20px rgba(0,0,0,.1);
    display:flex;
    flex-direction:column;
    justify-content: space-between;
    padding:20px 20px 30px;
    border-radius:8px;
    transition: .3s;
}

.product:hover
{
    transform:translateY(-15px);
    
}

.image
{
    display: grid;
    place-items: center;
}

.namePrice
{
    width:90%;
    display:flex;
    justify-content: space-between;
}

.namePrice .input
{
    font-size: 0.9em;
    line-height: 1.8;
    text-transform: capitalize;
    color:#1b2741;
    font-family: 'Times New Roman', Times, serif;
}
.col3{
    line-height: 1.8;
}
.namePrice span
{
    font-size: 0.95em;
    color:#f67034;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bolder;
}

.product a
{
    font-size: 0.959em;
    line-height: 10px;
    font-family: 'Times New Roman', Times, serif;
   
}

.stars .fa
{
   font-size: 0.75em;
   color:#f67034;
   line-height: 3.8;
}

.bay
{
    position:absolute;
    bottom:25px;
    right:20px;
}

.bay button
{
   padding:8px 8px;
   border-radius: 7px;
   border:none;
   background-color:#1b2741;
   color:#f7f6f9;
   font-size: 12px;
   cursor: pointer;
   transition: .5s;
}

.bay button:hover
{
    transform: scale(1.1);
}