@import "order-summary/_order-summary-top";
@import "order-summary/_order-summary-middle";
@import "order-summary/_order-summary-bottom";

.order-summary-wrap {
    width: 380px;
    min-width: 380px;
    padding-left: 15px;
}

.order-summary {
    padding: 22px 25px 30px;
    background: $color-white-dark;
    border-radius: $radius-default;
}

.order-summary-list {
    li {
        display: flex;
        justify-content: space-between;
        margin-bottom: 9px;

        &:last-child {
            margin-bottom: 0;
        }

        .coupon-code {
            font-weight: 500;
            white-space: nowrap;
        }

        > span {
            font-weight: 500;
        }
    }

    label {
        margin-bottom: 0;
        padding-right: 20px;
    }
}

.order-summary-total {
    font-size: 18px;
    font-weight: 500;
    display: flex;
    margin-top: 24px;
    padding-bottom: 0;
    justify-content: space-between;
    padding: 14px 0;
    border-top: 1px solid $color-gray-lite;

    label {
        margin-bottom: 0;
    }
}

@media screen and (max-width: $lg) {
    .order-summary-wrap {
        width: 100%;
        min-width: 0;
        margin-top: 50px;
        padding-left: 0;
    }
}
