.header {
    height: 100rpx;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20rpx;
    box-sizing: border-box;
    font-weight: 500;
    font-size: 32rpx;
    border-bottom: 1rpx solid rgba(204, 204, 204, 0.4);
    background: white;

    .title {
        color: #333;
        border-left: 8rpx solid $jx-primary;
        padding-left: 10rpx;
    }

    .btn-cancel,
    .btn-confirm {
        padding: 8rpx 45rpx;
        background: rgba(78, 179, 49, 0.3);
        border: 2rpx solid rgba(78, 179, 49, 0.3);
        color: $jx-primary;
        border: 2rpx solid rgba(78, 179, 49, 0.3);
        border-radius: 6rpx;
    }

    .btn-cancel {
        margin-right: 30rpx;
    }
}

.sku-list {
    max-height: calc(100vh - 120rpx);
    overflow-y: auto;

    .adjust-sku-cell {
        padding: 20rpx;
        display: flex;
        border-bottom: 1px solid rgba(#ccc, .4);
        margin-top: 20rpx;
        background: white;
        position: relative;

        image {
            width: 180rpx;
            height: 180rpx;
            flex-shrink: 0;
        }

        .list-right {
            margin-left: 20rpx;
            width: 100%;
        }

        .sku-name {
            color: #333;
            font-size: 30rpx;
            font-weight: 500;
            // margin-bottom: 35rpx;
            min-height: 60rpx;
            text-align: justify;
            line-height: 1.2;
        }

        .delete {
            text-decoration: line-through;
            color: #999;
        }

        .adjust-count {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1rpx dashed #ccc;
            padding-bottom: 10rpx;

            .price {
                font-size: 30rpx;
                font-weight: 400;
                color: rgb(0, 0, 0);
            }

            .earning-price {
                .price1 {
                    font-size: 30rpx;
                    text-decoration: line-through;
                    color: #999;
                }

                .price2 {
                    font-size: 30rpx;
                    color: #999;
                    margin-left: 10rpx;
                }
            }
        }

        :deep(.adjust-op) {
            display: flex;
            justify-content: space-between;
            align-items: center;

            .disabled {
                opacity: .2;
            }

            .uni-numbox {

                .uni-numbox-btns {
                    padding: 0rpx !important;
                    border-radius: 7rpx;
                    overflow: hidden;
                    background-color: transparent;
                }

                .uni-numbox--text {
                    color: #fff !important;
                    width: 80rpx !important;
                    height: 51rpx !important;
                    text-align: center;
                    line-height: 50rpx !important;
                    background-color: $jx-primary;
                }

                .uni-numbox--disabled {
                    background-color: #ccc !important;
                }

            }
        }

        .sku-count {
            color: #333;
            font-size: 32rpx;
            padding: 0 20rpx;
        }

        .btn-minus,
        .btn-plus {
            width: 60rpx;
            height: 60rpx;
            background-size: 48rpx;
            background-repeat: no-repeat;
            background-position: center center;
            background-color: white;
        }


        .count-to-0 {
            margin-top: 10rpx;

            span {
                font-weight: bold;
            }

            .count-to-0-wrapper {
                display: flex;
                align-items: center;
            }

            .circle {
                width: 30rpx;
                height: 30rpx;
                box-sizing: border-box;
                border: 1rpx solid #ccc;
                border-radius: 50%;
                margin-right: 10rpx;
            }

            .text {
                font-size: 28rpx;
                color: $jx-warring;
            }

            .active {
                .circle {
                    border: 1rpx solid $jx-primary;
                    position: relative;

                    &:after {
                        content: "";
                        width: 14rpx;
                        height: 14rpx;
                        background: $jx-primary;
                        position: absolute;
                        left: 50%;
                        top: 50%;
                        transform: translate(-50%, -50%);
                        border-radius: 50%;
                    }
                }

                .text {
                    color: $jx-primary;
                    font-weight: bold;
                }
            }
        }
    }
}

.refundMoney {
    color: red;
    font-weight: bold;
}

.jx-popup-update {
    box-sizing: border-box;
    padding: 20rpx;
    background-color: #fff;
    border-radius: 0 0 15rpx 15rpx;

    .text {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 25rpx;
        padding-bottom: 10rpx;
        border-bottom: 2rpx solid rgb(209, 209, 209);
    }

    // .tip {
    //     padding: 10rpx 0;

    //     .money {
    //         color: $jx-primary;
    //     }
    // }

    .ipt {
        border: 2rpx solid rgb(209, 209, 209);
        text-align: center;
        height: 80rpx;
        border-radius: 5rpx;
    }

    .btn-root {
        display: flex;
        justify-content: space-between;
        margin: 40rpx 0 0rpx 0;

        .btn-esc,
        .btn-ok {
            text-align: center;
            width: 100%;
            padding: 15rpx 0;
            border-radius: 10rpx;
            border: 2rpx solid $jx-primary;
            color: $jx-primary;
        }

        .btn-ok {
            background-color: $jx-primary;
            color: #fff;
            margin-left: 10rpx;
        }

        .btn-esc {
            margin-right: 10rpx;
        }
    }

    // .delete {
    //     margin-top: 50rpx;
    //     margin-bottom: 20rpx;
    //     background-color: $jx-warring;
    //     text-align: center;
    //     color: #fff;
    //     padding: 20rpx;
    //     border-radius: 15rpx;
    // }
}