div.dataTables_wrapper div.dataTables_filter label {
    height: 40px;
    vertical-align: middle;
    font-size: 14px;
    float: left !important;
}

    div.dataTables_wrapper div.dataTables_filter label input {
        height: 35px;
        line-height: 1.21428571em;
        padding: .67857143em 1em;
        font-size: 14px;
        background: #fff;
        border: 1px solid rgba(34,36,38,.15);
        color: #666;
        border-radius: 4px;
        box-shadow: 0 0 0 0 transparent inset;
    }

table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting, table.dataTable thead > tr > td.sorting_asc, table.dataTable thead > tr > td.sorting_desc, table.dataTable thead > tr > td.sorting {
    background: none;
    background-color: #0F2D49;
    /*background-position-y: center;
    background-position-x: right;*/
}

table.dataTable {
    border-spacing: 0;
}

/* Table Head */
table.product-table thead th {
    background-color: #0F2D49;
    color: #fff;
    border-bottom-width: 0;
    height: 45px;
    padding-left: 10px;
    padding-right: 10px;
    font-weight: 500;
    font-size: 14px;
}

    table.product-table thead th:first-child {
        border-top-left-radius: 10px;
        text-align: left;
        padding-left: 30px;
    }

    table.product-table thead th:last-child {
        border-top-right-radius: 10px;
    }

table.product-table tr {
    height: 50px;
}

    table.product-table tr.odd {
        background: #f8f8f8;
    }

    table.product-table tr.even {
        background: #fff;
    }

    table.product-table tr td div.col {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    table.product-table tr td div.colleft {
        position: relative;
        display: flex;
        align-items: center
    }

    table.product-table tr td.price {
        color: var(--accent-bg);
        min-width: 80px;
    }

        table.product-table tr td.price .spdiscount123 {
            font-size: 10px;
            color: #999;
            display: block;
            height: 15px;
            line-height: 15px;
        }

            table.product-table tr td.price .spdiscount123 em {
                font-style: normal;
                text-decoration: line-through;
            }

    table .product-table tr td.product_sn {
        text-align: left !important;
    }
    /*库存超出*/
    table.product-table tr td.stock .product-lead-time {
        color: #ffffff;
        background-color: var(--accent-bg);
        padding: 0px 10px 0px 10px;
        border-radius: 3px;
        cursor: pointer;
        min-height: 30px;
        line-height: 30px;
        font-size: 12px;
        display: inline-block;
        position: relative;
        letter-spacing: 1px;
    }

/*sort 改写*/
table.dataTable thead th {
    position: relative;
    /*white-space: nowrap;*/
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    padding-left: 1.5rem;
}

    table.dataTable thead .sorting:before,
    table.dataTable thead .sorting:after,
    table.dataTable thead .sorting_asc:before,
    table.dataTable thead .sorting_asc:after,
    table.dataTable thead .sorting_desc:before,
    table.dataTable thead .sorting_desc:after {
        top: 50%;
        transform: translateY(-50%);
        position: absolute;
        display: inline-block;
        opacity: 0.3;
    }

    table.dataTable thead .sorting:before,
    table.dataTable thead .sorting_asc:before,
    table.dataTable thead .sorting_desc:before {
        content: "▲";
        padding: 0;
    }

    table.dataTable thead .sorting:after,
    table.dataTable thead .sorting_asc:after,
    table.dataTable thead .sorting_desc:after {
        content: "▼";
        padding: 0;
    }

    table.dataTable thead .sorting_asc:before,
    table.dataTable thead .sorting_desc:after {
        opacity: 1;
    }

table.dataTable thead th.tc {
    text-align: center;
}

    table.dataTable thead th.tc span {
        display: inline-block;
    }

    table.dataTable thead th.tc.sorting:before,
    table.dataTable thead th.tc.sorting_asc:before,
    table.dataTable thead th.tc.sorting_desc:before {
        font-size: 9px;
        left: calc(50% - (min(100%, max(0px, var(--span-width) / 2 + 1.5em))));
        top: 24px;
    }

    table.dataTable thead th.tc.sorting:after,
    table.dataTable thead th.tc.sorting_asc:after,
    table.dataTable thead th.tc.sorting_desc:after {
        font-size: 9px;
        left: calc(50% - (min(100%, max(0px, var(--span-width) / 2 + 1.5em))));
        top: 34px;
    }

table.dataTable thead th:not(.tc) span {
    display: inline-block;
}

table.dataTable thead th:not(.tc).sorting:before,
table.dataTable thead th:not(.tc).sorting_asc:before,
table.dataTable thead th:not(.tc).sorting_desc:before {
    left: calc(var(--span-left) - 1.5em);
}

table.dataTable thead th:not(.tc).sorting:after,
table.dataTable thead th:not(.tc).sorting_asc:after,
table.dataTable thead th:not(.tc).sorting_desc:after {
    left: calc(var(--span-left) - 0.5em);
}

/*more参数*/
table.product-table tbody tr td i.extend {
    position: absolute;
    cursor: pointer;
    color: var(--accent-bg);
    top: 5px;
    left: 10px;
    right: 0;
    bottom: 0;
    margin: auto;
}

    table.product-table tbody tr td i.extend.open {
        transform: rotate(0);
    }

/* Column Style */
table.product-table td, table.product-table th {
    font-size: 14px;
    text-align: center;
    padding: 5px 10px;
    border-bottom: 1px solid #eee;
}

/*产品展开部分样式*/
table.product-table tbody tr td div.extend-box {
    width: 99.9%;
    min-height: 200px;
    box-sizing: border-box;
    padding: 20px;
    font-size: 12px;
    text-align: left;
    display: block;
}

    /* 隐藏状态的样式 */
    table.product-table tbody tr td div.extend-box .hide {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out; /* 过渡时间为 0.3 秒，缓出效果 */
    }

    /* 显示状态的样式 */
    table.product-table tbody tr td div.extend-box .show {
        max-height: 1000px; /* 根据实际内容高度调整这个值，确保能容纳内容 */
        overflow: hidden;
        transition: max-height 0.3s ease-in; /* 过渡时间为 0.3 秒，缓入效果 */
    }

    table.product-table tbody tr td div.extend-box .goods-name {
        font-size: 16px;
        line-height: 2;
        color: #333;
        font-weight: bold;
    }

    table.product-table tbody tr td div.extend-box ul.table {
        padding: 20px 0 5px 0;
        overflow: hidden;
    }

        table.product-table tbody tr td div.extend-box ul.table li {
            float: left;
            width: 50%;
            height: 40px;
            line-height: 40px;
            box-sizing: border-box;
            border-bottom: 1px solid #bfbfbf;
            border-right: 1px solid #bfbfbf;
        }

            table.product-table tbody tr td div.extend-box ul.table li:nth-of-type(odd) {
                border-left: 1px solid #bfbfbf;
            }

            table.product-table tbody tr td div.extend-box ul.table li:nth-of-type(1) {
                border-top: 1px solid #bfbfbf;
            }

            table.product-table tbody tr td div.extend-box ul.table li:nth-of-type(2) {
                border-top: 1px solid #bfbfbf;
            }

            table.product-table tbody tr td div.extend-box ul.table li .t {
                width: 50%;
                float: left;
                box-sizing: border-box;
                padding-left: 30px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            table.product-table tbody tr td div.extend-box ul.table li .c {
                width: 50%;
                float: left;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

.extend-box .table-label pre {
    font-size: 14px;
    line-height: 24px;
    color: #666;
    padding: 5px 10px;
}

.product-new {
    padding: 0px 10px;
    background: var(--accent-bg);
    font-size: 12px;
    color: #FFFFFF;
    border-radius: 3px;
    display: inline-block;
    cursor: pointer;
    height: 30px;
    line-height: 30px;
}

.cart-btn-disable {
    background: #999999 !important;
    border-color: #999999 !important;
}

/*附件下载*/
div.extend-box .download-box {
    overflow: hidden;
    padding: 10px 0px;
    display: flex;
    margin-bottom: 15px;
}

    div.extend-box .download-box .download-btn {
        margin-right: 20px;
        color: var(--accent-bg);
        font-size: 12px;
        line-height: 20px;
    }

        div.extend-box .download-box .download-btn img {
            margin-right: 6px;
        }

div.extend-box {
    padding: 20px 20px 60px 20px;
    background: #f2f2f2;
}

    div.extend-box .group {
        overflow: hidden;
        margin-top: 25px;
    }

.group .group-box {
    float: left;
    overflow: hidden;
}

    .group .group-box .item .img {
        width: 170px;
        height: 170px;
        box-sizing: border-box;
        border: 2px solid #f2f2f2;
        cursor: pointer;
        overflow: hidden;
        border-radius: 10px;
    }

        .group .group-box .item .img img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            background: #fff;
            border-radius: 10px;
        }

    .group .group-box .item .text {
        margin-top: 10px;
        font-size: 14px;
        word-break: break-all;
    }

        .group .group-box .item .text a {
            display: block;
        }

        .group .group-box .item .text .name {
            white-space: normal;
            overflow: hidden;
            display: -webkit-box;
            text-overflow: ellipsis;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            text-align: left;
            border-bottom: solid 1px #ddd;
        }

        .group .group-box .item .text .price {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            /* margin-top: 5px; */
            color: var(--accent-bg);
        }

            .group .group-box .item .text .price .checkbox {
                float: right;
                position: relative;
                width: 16px;
                height: 16px;
                overflow: hidden;
                cursor: pointer;
            }

                .group .group-box .item .text .price .checkbox input {
                    cursor: pointer;
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 100%;
                    height: 100%;
                    opacity: 0;
                }


                .group .group-box .item .text .price .checkbox label {
                    display: block;
                    width: 16px;
                    height: 16px;
                    background: url(../images/check_box.png) 0px 0px no-repeat #bfbfbf;
                    background-size: cover;
                    border-radius: 50%;
                    opacity: 0;
                }

                .group .group-box .item .text .price .checkbox input:checked + label {
                    background-color: var(--accent-bg);
                }


    .group .group-box .master {
        float: left;
        width: 180px;
        margin-right: 50px;
        position: relative;
    }

        .group .group-box .master::before,
        .group .group-box .master::after {
            content: '';
            position: absolute;
            display: block;
            right: -33px;
            top: 85px;
            width: 18px;
            height: 2px;
            background: #333;
        }

        .group .group-box .master::after {
            transform: rotate(90deg);
        }

    .group .group-box .list {
        overflow: hidden;
        position: relative;
        float: left;
        /*width: 435px;*/
        /*min-width: 435px;*/
        width: 925px;
        /*width: calc(100% - 400px);*/
        height: 280px;
    }

        .group .group-box .list .list-cont {
            position: absolute;
            left: 0;
            width: 99999px;
        }

            .group .group-box .list .list-cont .item {
                float: left;
                margin-right: 10px;
                width: 175px;
            }

.group .opt {
    /* float: right; */
    /* width: 55px; */
    /* height: 140px; */
    display: flex;
}

    .group .opt .btn {
        width: 30px;
        height: 30px;
        padding-top: 1px;
        background: #fff;
        margin-left: 10px;
        position: relative;
        transition: background 0.2s ease-in;
        cursor: pointer;
        display: inline-block;
        text-align: center;
        border-radius: 5px;
        font-size: 20px;
    }

        .group .opt .btn i {
            font-size: 28px;
        }

        .group .opt .btn.prev {
            margin-bottom: 10px;
        }

        .group .opt .btn:hover {
            color: #fff;
            background: var(--accent-bg);
        }

            .group .opt .btn:hover::before {
                border-color: #fff;
            }

.group .group-buy {
    float: right;
    width: 200px;
    height: 250px;
    background: #ffffff;
    text-align: center;
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

    .group .group-buy h3 {
        font-size: 14px;
        margin-top: 25px;
    }

    .group .group-buy p {
        margin-top: 3px;
    }

        .group .group-buy p span {
            color: var(--accent-bg);
        }

    .group .group-buy .btn {
        width: 110px;
        height: 40px;
        margin: 15px auto;
        background: var(--accent-bg);
        border-radius: 5px;
        color: #fff;
        line-height: 40px;
        cursor: pointer;
        font-size: 16px;
    }

        .group .group-buy .btn i {
            margin-right: 5px;
            font-style: normal;
        }

    .group .group-buy em.total-num {
        color: var(--accent-bg);
        font-style: normal;
        font-size: 20px;
    }

    .group .group-buy em.total-price {
        font-size: 18px;
        font-style: normal;
    }


table.product-detail {
    width: 100%;
}

table.product-compilations-detail {
    width: 100%;
    min-width: 580px !important;
    margin-top: 25px;
}

    table.product-compilations-detail tr:nth-child(odd) {
        background: #efefef !important;
    }

    table.product-compilations-detail tr:nth-child(even) {
        background: #f7f7f7 !important;
    }

    table.product-compilations-detail tr {
        height: auto;
        border: 1px solid #bfbfbf;
    }

        table.product-compilations-detail tr td {
            padding: 12px 15px;
            font-size: 12px !important;
        }

.comp-title {
    font-size: 14px;
    font-weight: bold;
}


table.product-detail tr {
    height: auto;
}

    table.product-detail tr.odd {
        background: #f8f8f8;
    }

    table.product-detail tr td {
        width: 50%;
        padding: 8px 0;
        font-size: 14px !important;
        text-align: left;
        padding-left: 10px;
        border-bottom: none;
    }

        table.product-detail tr td .t {
            width: 40%;
            float: left;
            box-sizing: border-box;
            /* padding-left: 20px; */
        }

        table.product-detail tr td .c {
            width: 60%;
            float: left;
            box-sizing: border-box;
            padding-left: 20px;
            padding-right: 15px;
            word-break: break-word;
        }

/* 新增样式，让 pre 标签内的文本自动换行 */
table.product-detail td .c pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

table.list-attr tr td {
    height: 26px;
}

.lead_time {
    color: #333333;
    font-size: 16px;
    cursor: pointer;
}


.imgSelected {
    position: relative;
    margin: 0 auto;
    line-height: 1;
    text-align: center;
    line-height: 130px;
    color: var(--accent-bg);
    border: 2px solid var(--accent-bg) !important;
}

    .imgSelected:before {
        content: '';
        position: absolute;
        right: 0;
        bottom: -1px;
        border: 18px solid var(--accent-bg);
        border-top-color: transparent;
        border-left-color: transparent;
    }

    .imgSelected:after {
        content: '';
        width: 5px;
        height: 12px;
        position: absolute;
        right: 6px;
        bottom: 6px;
        border: 2px solid #fff;
        border-top-color: transparent;
        border-left-color: transparent;
        transform: rotate(45deg);
    }
