@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: var(--font-medium);
            white-space: nowrap;
        }

        > span {
            font-weight: var(--font-medium);
        }
    }

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

.order-summary-total {
    font-size: 18px;
    font-weight: var(--font-medium);
    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;
    }
}
