.cartTab {
    font-weight: 400;
    font-size: small;
    width: 400px;
    background-color: #353432;
    color: #eee;
    position: fixed;
    inset: 0 -400px 0 auto;
    display: grid;
    grid-template-rows: 70px 1fr 70px;
    z-index: 9999;
    transition: all .5s ease-in-out;
}

body.showCart .cartTab {
    inset: 0 0 0 auto;
}

body.showCart .container {
    transform: translateX(1);
}

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

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

.cartTab .btn button {
    background-color: #E8BC0E;
    border: none;
    font-family: Poppins;
    font-weight: 500;
    cursor: pointer;
}

.cartTab .btn .close {
    background-color: red;
    color: white;
    border: none;
    font-family: Poppins;
    font-weight: 500;
    cursor: pointer;
}

.cartTab .listCart .item img {
    width: 80%;
}

.cartTab .listCart .item {
    display: grid;
    grid-template-columns: 50px 150px 30px 0.8fr;
    gap: 3px;
    text-align: center;
    align-items: center;
}

.cartTab .totalDue {
    font-family: Arial, sans-serif;
    background-color: #eee1;
    border: 1px solid rgb(145, 93, 11);
    border-radius: 5px;
    padding: 0;
    width: 250px;
    margin: auto;
}
.cartTab .totalDue table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}
.cartTab .totalDue td {
    padding: 0;
}
.cartTab .label {
    text-align: center;
    font-size: small;
    font-weight: 300 bolder;
    color: whitesmoke;
    width: auto;
}
.cartTab .amount {
    text-align: center;
    color: whitesmoke;
    width: auto;
}
.cartTab .total {
    font-size: 1.5em;
    font-weight: bold;
}
.cartTab .total .amount {
    color: whitesmoke;
}

.listCart .quantity span {
    display: inline-block;
    width: 25px;
    height: 25px;
    background-color: #eee;
    color: #555;
    border-radius: 50%;
    cursor: pointer;
}

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

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

.listCart {
    overflow: auto;
}

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

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

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

}
