﻿article {
    overflow: hidden;
}

.table_cart {
    border-collapse: collapse;
    width: 100%; /* background: #fff; */ /* padding: 15px; */
    box-sizing: border-box;
    display: block;
    border-radius: 4px;
    overflow: hidden;
}

    .table_cart tbody {
        width: 100%;
        display: block;
    }

    .table_cart td, .table_cart th {
        padding: 0 0px;
    }

    .table_cart th {
        background: #fff;
    }

    .table_cart td {
        text-align: center;
        display: flex;
        width: 40%;
        align-items: center;
    }

        .table_cart td.delete {
            width: 9%;
            margin-left: 10px;
            text-align: center; /* display: block; */
        }

            .table_cart td.delete a, .table_cart td.delete span {
                margin: auto;
            }

    .table_cart tr {
        border-top: 1px solid rgb(242, 242, 242);
        border-radius: 0;
        overflow: hidden;
        display: flex;
        padding: 15px 10px;
        box-sizing: border-box;
        background: #fff;
        font-size: 14px;
    }

        .table_cart tr:first-child {
            border-top: none;
            padding: 10px; /* margin-bottom: 10px; */
        }

        .table_cart tr:nth-child(n+2) {
            margin-top: 0;
        }

    .table_cart td.Image {
        width: 65px; /* height: 65px; */ /* overflow: hidden; */
    }

        .table_cart td.Image span {
            margin: auto;
        }

    .table_cart td.stt {
        width: 40px;
    }

    .table_cart td.Image img {
        border: none;
        box-sizing: border-box;
        width: 100%;
        display: block;
        height: 65px;
        object-fit: cover;
    }

    .table_cart th {
        font-size: 16px;
        font-weight: normal;
        color: #4f4f4f;
    }

    .table_cart .thumbnail {
        width: 80px;
    }

    .table_cart td.name {
        font-size: 14px;
        color: #111;
        text-align: left;
        padding-left: 20px;
    }

        .table_cart td.name strong {
            display: block;
            color: #ca0b01;
        }

        .table_cart td.name span {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

.type {
    display: block;
    font-weight: bold;
    color: #69b43a;
}

    .type p {
        display: inline-block;
    }

        .type p:nth-child(n+2):before {
            content: "-";
            margin-right: 10px;
        }

        .type p:nth-child(n+2) {
            margin-left: 10px;
        }

.table_cart td.price, .table_cart td.price-row {
    color: #ca0b01;
    width: 17%;
    font-weight: bold;
    margin-left: 10px; /* display: block; */
}

    .table_cart td.price-row span {
        margin: auto;
    }

.table_cart .quantity {
    width: 18%;
    margin-left: 10px; /* display: block; */
}

    .table_cart .quantity span {
        margin: auto;
    }

.table_cart .textbox {
    position: relative;
    margin: auto; /* margin-top: 10px; */
    overflow: hidden;
    text-align: center; /* margin-left: 0; */
}

    .table_cart .textbox a {
        border: 1px solid #d1d1d1;
        display: inline-block;
        width: 28px;
        padding: 0px 0;
        height: 27px;
        border-radius: 0;
        line-height: 27px;
    }

.table_cart .txt {
    width: 41px;
    border: 1px solid #d1d1d1;
    box-sizing: border-box;
    padding: 6px 0px;
    outline: none;
    border-radius: 3px;
    text-align: center;
    display: inline-block;
    margin-left: 0;
}

.table_cart .btnSave {
    position: absolute;
    width: 25px;
    top: 4px;
    right: 2px;
}

    .table_cart .btnSave:before {
        content: "\f0c7";
        font-family: fontawesome;
        display: inline-block;
        color: #919191;
        font-size: 20px;
    }

.total {
    margin-top: 20px;
    overflow: hidden;
}

    .total span {
        float: left;
        color: #666;
    }

    .total .lbTotal {
        font-size: 16px;
        color: #000;
        font-family: 'BEVNR';
        float: right;
        text-align: right;
    }

        .total .lbTotal p {
            font-family: 'InterR';
            margin: auto;
            font-size: 15px;
        }

.button {
    text-align: right;
    margin-top: 20px;
}

.infoForm {
    overflow: hidden;
    margin-top: 20px;
}

.btnReturn, .btnContinue {
    font-size: 15px;
    background-color: #eeab51;
    padding: 10px 10px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    position: relative;
    padding-left: 30px;
    border-bottom: 3px solid #404040;
    display: inline-block;
}

    .btnReturn:before, .btnContinue:before {
        content: "\f3e5";
        font-family: fontawesome;
        position: absolute;
        left: 10px;
        top: 14px;
    }

.btnContinue {
    background-color: #ca0a00;
    color: #fff;
    border-bottom: 3px solid #69660ba1;
    cursor: pointer;
    display: block;
}

    .btnContinue:before {
        content: "\f09d";
    }

@media only screen and (max-width :1023px) {
    .table_cart .Image {
        display: none;
    }
}

@media only screen and (max-width :479px) {
    .table_cart .Image {
        display: none;
    }

    .table_cart th {
        font-size: 13px;
    }

    .table_cart td.name {
        font-size: 15px;
    }

    .table_cart .price, .table_cart .price-row, .table_cart .stt {
        display: none;
    }
}

.col-left-cart {
    width: 68%;
    float: left;
}

.col-right-cart {
    width: 30%;
    float: right;
    margin-top: 47px;
    background: #fff;
    border-radius: 4px;
    padding: 15px;
    padding-top: 0;
    box-sizing: border-box;
}

.title-count {
    text-transform: uppercase;
    font-size: 20px;
    font-family: 'KanitM';
}

.container-cart {
    max-width: 90% !important;
    padding-bottom: 90px;
    margin: auto;
}

.tit-cart {
    border-bottom: 1px solid #f2f2f2;
    padding: 8px 0 7px;
    font-family: 'KanitBI';
    font-size: 18px;
}

@media only screen and (max-width :1023px) {
    .col-left-cart {
        width: 100%;
    }

    .table_cart td.name {
        width: 40%;
    }

    .col-right-cart {
        width: 100%;
        margin-top: 30px;
    }

    .container-cart {
        padding-bottom: 30px;
        max-width: 100% !important;
        margin: auto !important;
    }

    .table_cart td.name {
        font-size: 15px;
    }

    .table_cart .quantity {
        width: 157px !important;
    }

    .table_cart td {
        padding: 5px;
    }

    .table_cart .textbox a {
        width: 15px;
        height: 15px;
        line-height: 15px;
    }

    .table_cart .txt {
        width: 30px;
    }
}
