.bargain-func {
    padding: 8px;
    border-top: 8px solid $bg_f5f5f5;

    @mixin clean-button-style {
        background: transparent;
        border: none;
        -webkit-appearance: none;
    }

    @mixin row-common {
        width: 100%;
        padding: 0 10px;
        border-bottom: 1px solid $border_e7eaf1;
    }

    .intro-outer {
        width: 360px;
        height: 133px;
        border: 5px solid $color_FE2F2F;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .intro-inner {
        width: 341px;
        height: 114px;
        padding-top: 15px;
        background: $bg_FFF8EB;
        border: 1px solid $color_FE2F2F;
        border-radius: 3px;

        & > div {
            height: 100%;
        }

        p {
            font-size: $font_14;
        }

        p:nth-child(1) {
            margin-bottom: 3px;
        }

        p:nth-child(2) {
            margin-bottom: 5px;
        }


        button {
            @include clean-button-style;
            width: 210px;
            height: 39px;
            border-radius: 20px;
            box-shadow: 0 5px $bg_FFA200;
            background: $bg_FFE400;
            font-size: $font_16;
            color: $color_FE2F2F;
        }
    }

    .indicator {
        color: $color_FE2F2F;
    }


    .status-outer {
        width: 360px;
        height: 134px;
        background: $bg_FE2F2F;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .status-inner {
        width: 350px;
        height: 124px;
        padding: 0 10px;
        background: $white;
        border-radius: 3px;

        .first-row {
            @include row-common;
            padding: 10px 0;
            display: flex;
            justify-content: space-between;

            .time {
                display: inline-block;
                width: 20px;
                height: 18px;
                background: $bg_666;
                border-radius: 2px;
                text-align: center;
                line-height: 18px;
                font-size: $font_12;
                color: $white;
            }

            .hour {
                margin-left: 7px;
            }

            .sec {
                margin-right: 5px;
            }
        }

        .sec-row {
            @include row-common;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;

            & > div {
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            img {
                width: 30px;
                height: 30px;
                margin-right: 10px;
                border-radius: 50%;
            }

            button {
                @include clean-button-style;
                width: 62px;
                height: 26px;
                margin-left: 7px;
                background: $bg_FADD29;
                border-radius: 3px;
                font-size: $font_12;
                color: $redprice;
            }
        }

        .third-row {
            @include row-common;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 7px 0;
            border: none;

            button {
                @include clean-button-style;
                padding: 3px 9px;
                border: 1px solid $border_f31;
                border-radius: 11px;
                color: $border_f31;
                font-size: $font_12;
            }
        }
    }
}

.bargain-success {
    display: flex;
    flex-flow: column;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 290px;
    height: 109px;
    padding: 15px 33px;
    background: $white;
    border-radius: 5px;
    text-align: center;

    .title {
        font-size: $font_16;
        margin-bottom: 5px;
    }

    p:nth-of-type(2) {
        font-size: $font_14;
        margin-bottom: 15px;
    }

    p:nth-of-type(3) {
        font-size: $font_12;
    }

    .indicator {
        color: $color_FE2F2F;
    }
}