@import url(cssStyle.css);

#cart {
    background-color: var(--section-color);
    padding: 50px;
}
#cart .table-res {
    overflow: auto;
}

table {
    width: 100%;
}

table thead tr td ,
table .pro .pro-info .pro-category {
    color: black;
    opacity: 0.4;
}

table td {
    padding: 10px;
    font-size: 18px;
    color: var(--p-color);
}

table tbody tr td:nth-child(1) {
    width: 60%;
}

table tbody tr td:nth-child(2) {
    width: 25%;
}

table tbody tr td:nth-child(3) {
    width: 15%;
}

table .pro {
    display: flex;
    align-items: center;
}

table .pro .pro-img {
    margin-right: 20px;
    width: 15%;
}

table .pro .pro-img img {
    width: 100%;
    border-radius: 10px;
}

table .pro .pro-info .pro-category,
table .pro .pro-info a,
table .pro .pro-info .pro-price {
    display: block;
}

table .pro .pro-info .pro-price {
    font-family: 'Font Awesome 6 Free';
}

table .pro .pro-info .pro-category {
    font-size: 14px;
}

table .pro .pro-info a {
    margin: 10px 0;
    color: var(--p-color);
    transition: all 0.5s;
}

table .pro .pro-info a:hover {
    color: var(--thi-Color);
    text-decoration: underline;
}

table .pro-updates {
    display: flex;
    align-items: center;
}

table .pro-updates .pro-update-left {
    margin-right: 20px;
    display: flex;
}

table .pro-updates .pro-update-left input {
    width: 50px;
    text-align: center;
    outline: none;
    border: 0;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    border: 1px solid #ccc;
    font-size: 18px;
    color: #8c8686;
}

table .pro-updates .pro-update-left .pro-left-controls button {
    display: block;
    padding: 5px 10px;
    cursor: pointer;
    width: 100%;
    border-top-right-radius: 15px;
    border: 0;
    border: 1px solid #ccc;
    color: #8c8686;
    font-size: 17px;
    background: white;
}

table .pro-updates .pro-update-left .pro-left-controls button:nth-child(2) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 15px;
}

table .pro-updates .pro-update-right {
    background: var(--thi-Color);
    width: 40px;
    border-radius: 50%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.5s;
}


table .pro-updates .pro-update-right i {
    font-size: 14px;
}
table .pro-updates .pro-update-right {
    background-color: var(--ora-color);
    color: var(--p-color);
    transition: all .4s;
}
table .pro-updates .pro-update-right:hover {
    background-color: var(--background-color);
    color: white;
}

@media screen and (max-width: 768px) {
    table {
        min-width: 800px;
    }
}