body{
    margin: 0;
    font-family: Philosopher;
    background-color: #eee;
}
a{
    color: unset;
    text-decoration: none;
}
.container{
    width: 900px;
    margin: auto;
    max-width: 90vw;
    text-align: left;
    padding-top: 10px;
}
.container .nazad-btn{
    font-family: Philosopher;
    margin-top: 5px;
    background-color: transparent;
    border: none;
    font-size: medium;
    text-decoration: none;
    color: #cccccc;
}
.title{
    font-size: x-large;
    padding: 20px 0;
}
.listProduct .item img{
    width: 100%;
}

.listProduct{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.listProduct .item{
    background-color: #cccccc;
    padding: 10px;
    border-radius: 0px;

}
.listProduct .item h3{
    font-weight: 500;
    margin: 0;
    font-size: large;
    margin-left: 10px;
}
.listProduct .item .price{
    letter-spacing: 1px;
    font-size:small;
    margin-left: 10px;
}
/* detail page */

.detail{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px;
    text-align: left;
}
.detail .image img{
    width: 100%;
}
.detail .image{
    position: relative;
}
.detail .image::before{
    position: absolute;
    width: 300px;
    height: 300px;
    content: '';
    left: calc(50% - 150px);
    top: 50px;

}

.detail .name{
    font-size: xx-large;
    padding: 10px 0 0 0;
    margin: 0 0 10px 0;
}
.detail .price{
    font-weight: bold;
    font-size: x-large;
    letter-spacing: 7px;
    margin-bottom: 0px;
}
.detail .buttons{
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.detail .buttons button{
    background-color: #eee;
    border: none;
    padding: 20px 40px;
    border-radius: 20px;
    font-size: large;
}
.detail .buttons svg{
    width: 15px;
}
.detail .buttons span{
    background-color: #555454;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-left: 20px;
}
.detail .buttons button:nth-child(2){
    background-color: #2F2F2F;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #eee;
    box-shadow: 0 10px 20px #2F2F2F77;
}
.detail .description{
    font-weight: 300;
}
/* // ipad */
@media only screen and (max-width: 992px) {
    .listProduct{
        grid-template-columns: repeat(2, 1fr);
    }
    .detail{
        grid-template-columns:  40% 1fr;
    }
}


/* mobile */
@media only screen and (max-width: 768px) {
    .listProduct{
        grid-template-columns: repeat(2, 1fr);
    }
    .detail{
        text-align: center;
        grid-template-columns: 1fr;
    }

    .detail .image img{
        width: unset;
        height: 50vh;
    } 
    .detail .name{
        font-size: xx-large;
        margin: 0;

    }
    .detail .buttons button{
        font-size: medium;
    }
    .detail .buttons{
        justify-content: center;
    }
}
