body {
    margin:0 ;
    font-family: Poppins;
}

svg {
    width: 30px;
}




button {
    cursor: pointer;
}

.container {
    width: 900px;
    margin: auto;
    max-width: 90vw;
    text-align: center;
    padding-top: 10px;
    transition: 0.5s;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.icon-cart {
    position: relative;
    padding-right: 7%;
    margin-bottom: 25px;
    bottom: -10px;
    
}

.icon-cart span {
    position: absolute;
    background-color:rgb(29, 100, 102);
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    top: 50%;
    right: 43px;
    
}

.title1{
    font-size: xx-large;
    position: relative;
    margin-bottom:10px ;
    
}
.title1 a {
    text-decoration: none;
}



.title{
    font-size: xx-large;
    
}
.title a {
    text-decoration: none;
}

.cartTab {
    width: 380px;
    max-width: 100%;
    background-color: #353432;
    color: #fff;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-rows: 70px 1fr 50px;
    z-index: 1000;
}

.cartTab h1 {
    padding: 20px;
    margin: 0;
    font-weight: 300;
}

.cartTab .btnnn {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.cartTab .btnnn button {
    background-color: #eee;
    border: none;
    font-family: Poppins;
    font-weight: 500;
    padding: 20px 0;
    border-radius: 50px;
    margin-bottom: 10px;
    
}

.cartTab .btnnn .close {
    background-color: #009688;
   

}
.cartTab .listCart {
    overflow:auto;

}

.cartTab .listCart::-webkit-scrollbar {
    width: 0;

}



/*  */
.cartTab {
    right: -400px;
    transition: 0.5s;
}

body.activeTabCart .cartTab {
    right: 0;
}

body.activeTabCart .container {
    transform: translateX(-150px);
}

/*  */

.listProduct .item img {
    width: 80%;
    filter: drop-shadow(0 50px 20px #0009);
}

.listProduct {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.listProduct .item {
    background-color: #eee;
    padding: 20px;
    border-radius: 50px;
    box-shadow: 0px 10px 10px #009688 ;
    margin-bottom: 30%;
    margin-top: -10px;
}

.listProduct .item h2 {
    font-weight: 500;
    font-size: large;
}

.listProduct .item .price {
    letter-spacing: 7px;
    font-size: small;
}

.listProduct .item button {
    background-color: #009688;
    color: #eee;
    border: none;
    padding: 5px 10px;
    margin-top: 10px;
    border-radius: 20px;
}

/*  */

.listCart .item img {
    width: 100%;
    
}

.listCart .item {
    display: grid;
    grid-template-columns: 70px 150px 50px 1fr;
    gap: 10px;
    text-align: center;
    align-items: center;

}

.listCart .item .quantity {
    display: flex;
}

.listCart .item .quantity span {
    width: 25px;
    height: 25px;
    background-color: #fff;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
}

.listCart .item .quantity span:nth-child(2) {
    background-color: transparent;
    color: #eee;
}

.listCart .item:nth-child(even) {
    background-color: #eee1;
}

.hea{
    color: #009688;
    text-transform: uppercase;
    font-size: 30px;
    margin-bottom: 35px;
    border-bottom: 1px solid #009688 ;
    }

/*  */

/* detail page */

.detail {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    text-align: left;
}

.detail .image img {
    width: 100%;
}

.detail .image {
    position: relative;
}

.detail .image::before {
    position: absolute;
    width: 300px;
    height: 300px;
    content: '';
    background-color: #009688;
    z-index: -1;
    border-radius: 190px 100px 170px 180px;
    left: calc(50% - 150px);
    top: 50px;

}

.detail .name {
    font-size: xxx-large;
    padding: 40px 0 0 0;
    margin: 0 0 10px 0;
}

.detail .price {
    font-weight: bold;
    font-size: x-large;
    letter-spacing: 7px;
    margin-bottom: 20px;
}

.detail .buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    
}

.detail .buttons button {
    background-color: #009688;
    border: none;
    padding: 15px 20px;
    border-radius: 20px;
    font-family: Poppins;
    font-size: large;
}
 .buttons .check{
    color: #fff;
}

.detail svg {
    width: 15px;
}

.detail .buttons svg {
    transform: translateY(5px);
}

.detail .buttons button:nth-child(2) {
    background-color: #2F2F2F;
    display: inline-flex;
    color: #eee;
    box-shadow: 0 10px 20px #2F2F2F77;
    gap: 20px;
}

.detail .description {
    font-weight: 300;
}

/*  */

@media only screen and (max-width: 992px) {
    .listProduct {
        grid-template-columns: repeat(3, 1fr);
    }

    .detail {
        grid-template-columns: 40% 1fr;
    }
}


/* mobile */
@media only screen and (max-width: 767px) {
    body{
        margin: 0;

    }
    .listProduct {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail {
        text-align: center;
        grid-template-columns: 1fr;
    }

    .detail .image img {
        width: unset;
        height: 40vh;
    }

    .detail .name {
        font-size: x-large;
        margin: 0;

    }

    .detail .buttons button {
        font-size: small;
    }

    .detail .buttons {
        justify-content: center;
    }
    .listProduct .item{
        margin-top: -10px;
    }
    .icon-cart span {
    left: 21px;
    }
}