/* 购物车计算区域 */
.tableModule .cart_box {
    display: -webkit-box;
    display: flex;
}


/* 左侧购物车列表 */
.tableModule .cart_box table {
    width: 1024px;
    position: relative;
    margin-right: 16px;
}

/* 标题和表格间隙 */
.tableModule .cart_box table thead {
    border-bottom: 6px solid var(--default);
}

/* 标题行 */
.tableModule .cart_box table thead tr {
    background-color: #fff;
}


/* 全选框区域 */
.tableModule .cart_box table thead tr th:first-child {
    width: 70px;
    padding-left: 20px;
}

/* 产品详细信息 */
.tableModule .cart_box table thead tr th:nth-child(2) {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: start;
    align-items: flex-start;
    -webkit-box-flex: 1;
    flex: 1;
}


/* qty */
.tableModule .cart_box table thead tr th:nth-child(3) {
    width: 160px;
}

/* 单价 */
.tableModule .cart_box table thead tr th:nth-child(4) {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: start;
    align-items: flex-start;
    width: 290px;
    padding-left: 70px;
}

/* 操作 */
.tableModule .cart_box table thead tr th:last-child {
    width: 80px;
}


/* 每行数据间距 */
.tableModule .cart_box table tbody tr+tr {
    border-top: 10px solid var(--default);
}


/* 单元格基础 */
.tableModule .cart_box table tbody tr td {
    padding: 20px;
}

/* 选框单元格 */
.tableModule .cart_box table tbody tr td:first-child {
    width: 70px;
    padding-left: 20px;


}

/* 无库存状态下 禁用选框 */
.tableModule .cart_box table tbody tr td:first-child .v-checkbox.noData {
    pointer-events: none;
}

.tableModule .cart_box table tbody tr td:first-child .v-checkbox.noData .checkbox {
    background-color: var(--border);
    color: var(--border);
    border-color: rgb(204, 204, 204);
}



/* 详细信息 */
.tableModule .cart_box table tbody tr td:nth-child(2) {
    -webkit-box-flex: 1;
    flex: 1;
    padding: 20px 0;
}

/* 商品信息内容 */
.tableModule .cart_box table tbody tr td:nth-child(2) .product_detail_box {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

.tableModule .cart_box table tbody tr td:nth-child(2) .product_detail_box div {
    -webkit-box-flex: 1;
    flex: 1;
}

/* 型号图片 */
.tableModule .cart_box table tbody tr td:nth-child(2) .product_detail_box a {
    margin-right: 20px;
}

/* 数量输入区域 */
.tableModule .cart_box table tbody tr td:nth-child(3) {
    width: 160px;
}

.tableModule .cart_box table tbody tr td:nth-child(3) .v-input input {
    border-radius: 0;
    outline: none;
}


/* 金额计算 和 加入RFQ */
.tableModule .cart_box table tbody tr td:nth-child(4) {
    width: 290px;
}

.tableModule .cart_box table tbody tr td:nth-child(4) div {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    align-items: flex-start;
}


/* 操作 */
.tableModule .cart_box table tbody tr td:last-child {
    width: 80px;
}

.tableModule .cart_box table tbody tr td:last-child i {
    cursor: pointer;
    font-size: 18px;
}

.tableModule .cart_box table tbody tr td:last-child i:hover {
    color: var(--main-color);
}

/* 计算总金额区域 */
.tableModule .cart_box .submit_box {
    width: 260px;
    height: 324px;
    background-color: #fff;
    padding: 20px 16px;
}

/* 标题 */
.tableModule .cart_box .submit_box .title_cont {
    display: -webkit-box;
    display: flex;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

/* 金额总计 */
.tableModule .cart_box .submit_box .subtotal {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    margin-bottom: 20px;
}

/* 支付方式列表 */
.tableModule .cart_box .submit_box .imgs_cont {
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    border-top: 1px dashed #d4d4d4;
    padding-top: 26px;
    margin-top: 20px;
}

.tableModule .cart_box .submit_box .imgs_cont img {
    height: 30px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.tableModule .cart_box .submit_box .imgs_cont img:nth-child(2n) {
    margin-right: 0;
}

.tableModule .cart_box .submit_box .imgs_cont img:nth-child(3),
.tableModule .cart_box .submit_box .imgs_cont img:nth-child(4) {
    margin-bottom: 0;
}



/* 推荐型号 */
.tableModule .recommended_parts_box {
    width: 1300px;
    position: relative;
}

/* 标题 */
.tableModule .recommended_parts_box .title {
    line-height: 22px;
}

/* 每项推荐 */
.tableModule .recommended_parts_box .container ul li {
    width: 24%;
    height: 200px;
    background-color: var(--colorW);
    margin: 0 8.5px 16px;
    -webkit-transition: all .3s;
    transition: all .3s;
}


/* 首个推荐 */
.tableModule .recommended_parts_box .container ul li:first-child {
    margin-left: 0;
}

.tableModule .recommended_parts_box .container ul li:nth-of-type(4n) {
    margin-right: 0;
}

.tableModule .recommended_parts_box .container ul li:nth-of-type(5n) {
    margin-left: 0;
}

.tableModule .recommended_parts_box .container ul li:hover {
    box-shadow: 0 0 20px -14px #000;
}



/* 空状态时 */
.empty {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.empty i {
    font-size: 50px !important;
}

@media screen and (max-width: 1024px) {

    .tableModule .recommended_parts_box,
    .tableModule .cart_box table thead,
    .tableModule .cart_box .submit_box .imgs_cont {
        display: none;
    }

    .tableModule .cart_box {
        flex-direction: column;
    }

    .tableModule .cart_box table,
    .tableModule .cart_box .submit_box {
        width: 100%;
    }

    .tableModule .cart_box .submit_box {
        height: auto;
        margin-top: 10px;
        border-radius: 4px;
    }

    .tableModule .cart_box table tbody tr {
        display: flex;
    }

    .tableModule .cart_box table tbody tr td {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .tableModule .cart_box table tbody tr td:first-child {
        flex: unset;
        justify-content: center;
        width: 40px;
    }

    .tableModule .cart_box table tbody tr td:nth-child(2) {
        margin-right: 0;
        align-items: flex-start;
        padding-bottom: 20px;
    }

    .tableModule .cart_box table tbody tr td:nth-child(2) .product_detail_box {
        flex-direction: column;
    }

    .tableModule .cart_box table tbody tr td:nth-child(2) .product_detail_box a {
        margin-right: 0;
    }

    .tableModule .cart_box table tbody tr td:nth-child(2) .product_detail_box a img {
        border-radius: 6px;
        height: 50px;
        overflow: hidden;
        width: 50px;
    }

    .tableModule .cart_box table tbody tr td:nth-child(3) {
        width: 100px;
    }
    .tableModule .cart_box table tbody tr td:nth-child(4){
        width: 80px;
    }

    .tableModule .cart_box table tbody tr td:nth-child(4) div {
        flex-wrap: wrap;
    }
    .tableModule .cart_box table tbody tr td:last-child {
        width: auto;
    }
}