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

.order-summary-wrap {
    width: 430px;
    min-width: 430px;
    padding-left: 15px;
    position: sticky;
    top: 90px;
}

.order-summary {
    padding: 20px 25px 25px;
    background: var(--color-white-dark);
    border-radius: var(--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: 20px;
    padding-bottom: 0;
    justify-content: space-between;
    padding: 10px 0 0 0;
    border-top: 1px solid var(--color-gray-lite);

    label {
        margin-bottom: 0;
    }
}

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