@mixin checkout__customer-profile(
    $name-space:            null,
    $padding:               null,
    $information-gutter:    null,
    $background-color:      null,
    $color:                 null,
    $name-margin-bottom:    null,
    $address-margin-bottom: null,
    $contact-margin-bottom: null,
    $form-actions-gutter:   null
) {
    .#{$name-space}customer-profile {
        @include checkout__clearfix;
        @include checkout__reset;
        padding: $padding;
        background-color: $background-color;
        color: $color;

        &__information {
            margin: 0;

            @include checkout__media-large {
                float: left;
                width: 50%;
            }
        }

        &__name {
            @include checkout__clearfix;
            display: block;
            margin-bottom: $name-margin-bottom;

            &__hello {
                float: left;
                clear: left;
                margin-right: $information-gutter;
            }

            &__first {
                float: left;
                margin-right: $information-gutter;
            }

            &__last {
                float: left;
                clear: right;
                margin: 0 0 $name-margin-bottom;
            }
        }

        &__address {
            @include checkout__clearfix;
            display: block;
            margin-bottom: $address-margin-bottom;

            &__address {
                display: block;
                clear: both;
            }

            &__zipcode {
                float: left;
                clear: left;
                margin-right: $information-gutter;
            }

            &__city {
                float: left;
                clear: right;
            }

            &__state {
                float: left;
                clear: left;
                margin-right: $information-gutter;
            }

            &__country {
                float: left;
                clear: right;
            }
        }

        &__contact {
            @include checkout__clearfix;
            display: block;
            margin-bottom: $contact-margin-bottom;

            &__email {
                clear: both;
                display: block;
            }

            &__phone {
                clear: both;
                display: block;
            }
        }

        &__edit-link {
            display: block;

            &__button {
                @include checkout__reset-button;
            }
        }

        &__form {
            margin: 0;

            @include checkout__media-large {
                float: left;
                width: 50%;
            }
        }

        &__aside {
            @include checkout__media-large {
                float: left;
                width: 50%;
            }
        }

        @content;
    }
}