//
//  Common
//  _____________________________________________

& when (@media-common = true) {
    .checkout-index-index {
        .authentication-wrapper {
            display: none;
        }

        .opc-estimated-wrapper {
            background-color: @djo-gray-lightest;
            border-color: @djo-gray-lighter;
            color: @djo-gray;
            margin-top: 0;
            .minicart-wrapper .action.showcart {
                &::before {
                    background-image: url(../images/header/cart.svg);
                    background-position: center;
                    background-repeat: no-repeat;
                    content: '';
                    height: 20px;
                    margin-right: 4px;
                    vertical-align: middle;
                    width: 20px;
                }
                .counter.qty {
                    .lib-font-size(10);
                    background-color: @djo-blue;
                    border-radius: 50%;
                    color: #fff;
                    font-weight: 400;
                    height: 18px;
                    line-height: 18px;
                    margin: 0;
                    min-width: 0;
                    padding: 0;
                    vertical-align: middle;
                    width: 18px;
                }
                .counter-number {
                    text-shadow: none;
                }
            }
            .discount-code-callout-wrapper {
                clear: both;
            }
            .discount-code-callout {
                .lib-button-as-link();
                .lib-font-size(16);
                font-weight: 700;
                letter-spacing: normal;
                margin-top: 8px;
                text-align: left;
                text-transform: none;
            }
        }

        .opc-progress-bar {
            margin: -8px 0 10px;
            text-align: center;
        }

        .opc-progress-bar-item {
            > span::after {
                color: @djo-gray-light;
            }
            &._active > span::after {
                color: @djo-blue;
            }
        }

        .opc-wrapper .step-title {
            .lib-font-size(@checkout-step-title__font-size__desktop);
            border-color: @djo-gray-lighter;
            color: @checkout-step-title__color__desktop;
            font-family: @checkout-step-title__font-family__desktop;
            font-weight: @checkout-step-title__font-weight__desktop;
            text-transform: @checkout-step-title__text-transform__desktop;
        }

        .opc-wrapper .step-content {
            margin-bottom: 15px;
        }

        a[href^='tel:'] {
            color: inherit;
            text-decoration: none;
            &:hover,
            &:focus {
                color: @link__hover__color;
                text-decoration: @link__hover__text-decoration;
            }
            &:active {
                color: @link__active__color;
                text-decoration: @link__active__text-decoration;
            }
        }

        .field-tooltip .field-tooltip-content {
            background-color: @tooltip__background;
            border-color: @tooltip__border-color;
            color: @tooltip__color;
            &::before {
                border-right-color: inherit;
            }
            &::after {
                border-right-color: @tooltip__background;
            }
        }

        .field {
            .control {
                &._with-tooltip {
                    input {
                        margin-right: 11px;
                        width: calc(~'100% - 37.5px');
                    }
                }
            }
        }

        //
        //  Shipping Address
        //  ---------------------------------------------

        .opc-wrapper .form-login {
            background: #fff;
            border-color: @djo-gray-lighter;
            color: @djo-gray;
            margin-bottom: 10px;
            margin-top: 10px;
            padding-bottom: 0;
            padding-top: 0;
            .fieldset.hidden-fields {
                padding-bottom: 15px;
            }
            .fieldset .note {
                .lib-font-size(14);
                margin-left: 3px;
                margin-top: 4px;
            }
            div.primary {
                float: none;
                vertical-align: middle;
                .primary {
                    padding: 6px 20px;
                }
            }
            div.secondary {
                vertical-align: middle;
                a.action {
                    margin-top: 0;
                }
            }
            .remind {
                .lib-font-size(14);
                color: @text__color;
                letter-spacing: normal;
                text-decoration: none;
                &:hover,
                &:focus {
                    color: @link__hover__color;
                    text-decoration: @link__hover__text-decoration;
                }
                &:active {
                    color: @link__active__color;
                    text-decoration: @link__active__text-decoration;
                }
            }
        }

        .opc-wrapper .form-shipping-address {
            background: #fff;
            margin-bottom: 15px;
            margin-top: 15px;
            padding-top: 0;
        }

        .checkout-container .fieldset.address {
            margin: 0 -7px;
            & > .field {
                display: inline-block;
                padding: 0 7px;
                width: 100%;
                vertical-align: top;
                box-sizing: border-box;
            }
        }
        .checkout-container .fieldset.address {
            > .field {
                margin-bottom: 4px;
                .label {
                    .lib-font-size(14);
                    color: @djo-gray-light;
                    font-weight: @font-weight__regular;
                    padding-left: 0;
                    padding-right: 0;
                }
            }
        }

        .opc-wrapper .shipping-address-item {
            line-height: 1.38;
            margin-bottom: 0;
            padding: 9px 12px;
            width: 100%;
            &::before {
                height: calc(~'100% - 6px');
            }
            .action-select-shipping-item {
                .lib-font-size(12);
                float: none;
                margin-top: 8px;
                padding: 4px 19px;
                text-transform: none;
            }
            &.selected-item {
                .action-select-shipping-item {
                    display: none;
                    visibility: visible;
                }
            }
        }

        .opc-wrapper .edit-address-link {
            float: none;
            margin: 6px 0 0;
        }

        //
        //  Shipping Method
        //  ---------------------------------------------

        .checkout-shipping-method .no-quotes-block {
            margin: 11px 0;
        }

        // @DO - set border-collapse to separate in order to fix a Chrome bug
        // that shows borders on positioned table cells (October 2018)
        .table-checkout-shipping-method {
            border-collapse: separate;
            color: @djo-gray;
            width: 100%;
            tbody tr {
                td {
                    border-color: @djo-gray-lighter;
                    padding-bottom: 9px;
                    padding-top: 9px;
                    &.col-method:first-of-type {
                        font-size: 0;
                        padding-top: 13px;
                        input[type='radio'] {
                            margin-bottom: 0;
                            margin-top: 0;
                        }
                    }
                    &.col-carrier {
                        display: none;
                    }
                }
                &.has-comment td {
                    padding-bottom: 0;
                }
                &.comment td {
                    .lib-font-size(13);
                    border: none;
                    font-style: italic;
                    padding-bottom: 9px;
                    padding-left: 32px;
                    padding-top: 0;
                    width: auto;
                }
            }
        }

        //
        //  Order Summary
        //  ---------------------------------------------

        .opc-block-summary {
            margin-bottom: 15px;

            //
            //  Items list
            //  ---------------------------------------------

            .items-in-cart {
                border-color: @djo-gray-lighter;
                margin-bottom: 7px;
                > .title {
                    strong {
                        .lib-font-size(@checkout-order-summary-accordion__font-size);
                        border-color: #e0e0e0;
                        color: @heading__color__base;
                        font-family: @heading__font-family__base;
                        font-style: @heading__font-style__base;
                        font-weight: @checkout-order-summary-accordion__font-weight;
                        letter-spacing: @checkout-order-summary-accordion__letter-spacing;
                        text-transform: @heading__text-transform__base;
                    }
                }
            }

            .minicart-items {
                background: #fff;
            }

            .minicart-items-wrapper {
                border-bottom: 1px solid @djo-gray-lighter;
                margin: 0;
                padding: 15px 7px 0 7px;
            }

            .minicart-items .product-image-container {
                margin-left: 0;
            }

            .minicart-items .product-item-details {
                .lib-font-size(13);
                color: @djo-gray;
                padding-left: 80px;
            }

            .minicart-items .product-item {
                padding-bottom: 12px;
                &:not(:first-child) {
                    border-color: @djo-gray-lighter;
                    padding-top: 12px;
                }
            }

            .product-item .product-item-inner {
                margin-bottom: 0;
            }

            .product-item .product-item-name-block {
                display: table-cell;
                padding-right: @indent__xs;
                text-align: left;
                vertical-align: top;
            }

            .product-item .subtotal .price {
                display: block;
            }

            .product-item .subtotal .price.subtotal {
            }

            .product-item .subtotal .price.original {
                text-decoration: line-through;
            }

            .product-item .subtotal .price.discount {
                color: #c00;
            }

            .subtotal {
                display: table-cell;
                text-align: right;
            }

            .minicart-items .product-item-name {
                margin-bottom: 5px;
            }

            .minicart-items .product-item-details .details-qty {
                margin-top: 0;
            }

            .minicart-items .product .toggle {
                margin-top: 5px;
            }

            .item-options {
                .lib-clearfix();
                margin-bottom: 0;
                dt,
                dd {
                    float: left;
                    margin-bottom: 2px;
                }
                dt {
                    clear: left;
                    &::after {
                        content: ':\00a0';
                        display: inline;
                    }
                }
                dd a[href*='download'] {
                    word-break: break-all;
                }
            }

            .minicart-items .product-item-details .price-including-tax,
            .minicart-items .product-item-details .price-excluding-tax {
                font-size: inherit;
                margin-bottom: 0;
                margin-top: 1px;
            }

            .product-item .price {
                font-size: inherit;
            }

            .actions-toolbar .secondary {
                .lib-font-size(13);
                padding: 4px 0 0 4px;
            }

            //
            //  Discount Code
            //  ---------------------------------------------

            .discount-code {
                margin-bottom: 7px;
                .payment-option-title {
                    border-bottom: 1px solid @djo-gray-lighter;
                    cursor: pointer;
                    padding: 11px 44px 11px 10px;
                    position: relative;
                    .action {
                        .lib-font-size(18);
                        line-height: 1.1;
                        &::after {
                            -webkit-font-smoothing: antialiased;
                            -moz-osx-font-smoothing: grayscale;
                            color: inherit;
                            content: '\e622';
                            display: inline-block;
                            font-family: 'luma-icons';
                            font-size: 12px;
                            font-weight: @font-weight__regular;
                            line-height: 12px;
                            margin: 3px 0 0;
                            overflow: hidden;
                            position: absolute;
                            right: 10px;
                            speak: none;
                            text-align: center;
                            top: 14px;
                            vertical-align: middle;
                        }
                    }
                }
                &._active .payment-option-title .action::after {
                    content: '\e621';
                }
                .payment-option-content {
                    .lib-font-size(14);
                    margin-top: 11px;
                    padding-left: 10px;
                    .label {
                        display: block;
                        font-weight: 600;
                        margin: @form-field-type-label-block__margin;
                    }
                    .field {
                        margin-bottom: 11px;
                    }
                    .primary {
                        display: block;
                        float: none;
                        text-align: right;
                    }
                    .action {
                        display: inline-block;
                        font-weight: @font-weight__regular;
                        letter-spacing: normal;
                        line-height: 1;
                        margin-right: 0;
                        padding: 8px 16px;
                        text-transform: none;
                        width: auto;
                    }
                }
            }

            //
            //  Totals
            //  ---------------------------------------------

            .table-totals {
                border-top: none;
                color: @djo-gray;
                .table-caption {
                    display: none;
                }
                .mark .value {
                    .lib-font-size(14);
                    color: @djo-gray-light;
                    font-style: italic;
                    padding-left: 7px;
                }
                .grand .mark,
                .grand .amount {
                    border-top: none;
                    padding-bottom: 0;
                    padding-top: 0;
                }
            }
        }

        //
        //  Payment Method
        //  ---------------------------------------------

        .checkout-payment-method .payment-method .field:not(.payment-method-title) {
            padding-bottom: 0;
        }

        .checkout-payment-method .payment-method .payment-method-title {
            border-color: @djo-gray-lighter;
        }

        .checkout-payment-method .checkout-billing-address {
            margin-bottom: 0;
        }

        .checkout-payment-method .checkout-billing-address .billing-address-details {
            line-height: 1.38;
        }

        .checkout-payment-method .ccard .number .input-text {
            width: 265px;
        }

        .action-edit-address {
            background-color: transparent;
            border: none;
            color: @djo-blue;
            font-weight: @font-weight__regular;
            padding: 0;

            &:hover,
            &:focus {
                text-decoration: underline;
            }
        }

        .payment-methods .actions-toolbar .primary {
            padding-right: 0;
        }

        .checkout-billing-address .primary .action-update {
            .lib-font-size(12);
            padding: 8px 16px;
        }

        .checkout-billing-address .primary .action-cancel {
            .lib-font-size(14);
            color: @text__color;
            font-family: @font-family__base;
            letter-spacing: normal;
            margin-top: 10px;
            text-decoration: none;
            text-transform: none;
            &:hover,
            &:focus {
                color: @link__hover__color;
                text-decoration: @link__hover__text-decoration;
            }
            &:active {
                color: @link__active__color;
                text-decoration: @link__active__text-decoration;
            }
        }

        .action.edit-address {
            .lib-font-size(12);
            margin-top: 6px;
            padding: 4px 16px;
        }

        .payment-methods {
            color: @djo-gray;
            input[name='payment[cc_number]'] {
                .lib-font-size(22);
                font-family: monospace;
                height: 40px;
                padding: 0 7px;
            }
            select[name='payment[cc_exp_month]'] {
                height: 40px;
                width: 139px;
            }
            select[name='payment[cc_exp_year]'] {
                height: 40px;
            }
            input[name='payment[cc_cid]'] {
                .lib-font-size(20);
                font-family: monospace;
                height: 40px;
                padding: 0 7px;
                + .field-tooltip {
                    top: 50%;
                    -webkit-transform: translateY(-50%);
                            transform: translateY(-50%);
                }
            }
        }

        #payment_form_paypal_express {
            margin-bottom: 0;
        }
        #payment_form_paypal_express + .checkout-agreements-block + .actions-toolbar {
            .primary {
                float: none;
            }
        }

        // Gift card payment
        .checkout-payment-method .payment-option.giftcardaccount {
            .payment-option-title {
                border-bottom: 1px solid @djo-gray-lighter;
                border-top: none;
                margin: 0 0 22px;
                padding: 0 0 11px;
                .action-toggle {
                    color: inherit;
                    &::after {
                        color: inherit;
                        font-size: 18px;
                        line-height: 18px;
                        position: relative;
                        top: -3px;
                    }
                    > span::after {
                        content: ':';
                        display: inline;
                    }
                }
            }
            .form-giftcard-account {
                max-width: none;
            }
            .payment-option-inner .field {
                margin: 0;
            }
            .input-text {
                .lib-font-size(20);
                font-family: monospace;
                height: 39px;
                padding: 0 7px;
                text-transform: uppercase;
                &::-webkit-input-placeholder {
                    font-family: @form-element-input__font-family;
                    font-size: 14px;
                    text-transform: none;
                }
                &::-moz-placeholder {
                    font-family: @form-element-input__font-family;
                    font-size: 14px;
                    text-transform: none;
                }
                &:-ms-input-placeholder {
                    font-family: @form-element-input__font-family;
                    font-size: 14px;
                    text-transform: none;
                }
            }
            .actions-toolbar {
                > .primary {
                    display: inline-block;
                    float: none;
                    margin: 0 16px 0 0;
                    vertical-align: middle;
                }
                > .secondary {
                    display: inline-block;
                    font-size: 0;
                    margin: 0;
                    vertical-align: middle;
                    .action-check {
                        background-color: transparent;
                        font-weight: @font-weight__regular;
                        letter-spacing: normal;
                    }
                }
            }
            .action-check {
                border: none;
                color: @link__color;
                padding: 0 2px;
                text-decoration: @link__text-decoration;
                text-transform: none;

                &:hover,
                &:focus {
                    color: @link__hover__color;
                    text-decoration: @link__hover__text-decoration;
                }
            }
        }

        //
        //  Shipping Information
        //  ---------------------------------------------

        .opc-block-shipping-information {
            color: @djo-gray;
            padding-left: 0;
            padding-right: 0;
            .shipping-information-title {
                border-color: @djo-gray-lighter;
                color: inherit;
                font-weight: @font-weight__regular;
                margin-bottom: 8px;
            }
            .shipping-information-content {
                line-height: 1.38;
            }
        }

        //
        //  Sidebar Modal
        //  ---------------------------------------------

        .opc-sidebar {
            &.custom-slide .modal-inner-wrap {
                background-color: @djo-gray-lightest;
            }
            &.modal-custom .action-close {
                box-shadow: none;
                margin-right: 10px;
                margin-top: 16px;
            }
            .opc-block-summary > .title {
                color: @djo-gray;
                font-family: @font-family__base;
                font-weight: @font-weight__regular;
                padding-left: 10px;
                padding-right: 10px;
                padding-top: 10px;
                text-transform: none;
            }
            .opc-block-summary .items-in-cart > .title {
                border-color: @djo-gray-lighter;
                padding-left: 10px;
                &::after {
                    right: 10px;
                    top: 14px;
                }
            }
            .product-item .product-item-name {
                font-size: inherit;
                font-weight: @font-weight__regular;
            }
            .opc-block-summary .discount-code .payment-option-content {
                padding-right: 10px;
            }
            .opc-block-summary .table-totals tbody .mark,
            .opc-block-summary .table-totals .grand .mark {
                padding-left: 10px;
            }
            .opc-block-summary .table-totals tbody .amount,
            .opc-block-summary .table-totals .grand .amount {
                padding-right: 10px;
            }
        }

        //
        //  Header Margin Resets
        //  ---------------------------------------------
        .page-header .header.content {
            .logo {
                margin-left: 0;
            }
            .header-account,
            .header-account .header-account-link {
                margin-right: 0;
            }
        }
    }
}


//
//  Mobile
//  _____________________________________________

.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
    // Global messages
    .checkout-cart-index .page-main .messages {
        padding-left: 15px;
        padding-right: 15px;
    }

    .checkout-index-index {
        .checkout-container:not(.am-checkout) {
            .opc-wrapper .step-title {
                .lib-font-size(@checkout-step-title__font-size__mobile);
                color: @checkout-step-title__color__mobile;
                font-family: @checkout-step-title__font-family__mobile;
                font-weight: @checkout-step-title__font-weight__mobile;
                padding-bottom: 11px;
                text-transform: @checkout-step-title__text-transform__mobile;
            }

            .opc-wrapper .shipping-address-item {
                width: 50%;
            }

            .opc-wrapper .shipping-address-item.not-selected-item {
                border-bottom: none;
                &:first-child {
                    padding-top: 0;
                }
                &:last-child {
                    padding-bottom: 0;
                }
            }

            .opc-wrapper .action-show-popup {
                margin-top: 10px;
            }

            .opc-wrapper .methods-shipping {
                background-color: #fff;
                border-bottom: none;
                margin: 0;
                padding: 0;
            }

            // Gift card payment
            .checkout-payment-method .payment-option.giftcardaccount {
                .payment-option-title {
                    .lib-font-size(@checkout-step-title__font-size__mobile);
                    color: @checkout-step-title__color__mobile;
                    font-family: @checkout-step-title__font-family__mobile;
                    font-weight: @checkout-step-title__font-weight__mobile;
                    padding-left: 15px;
                    padding-right: 15px;
                    text-transform: @checkout-step-title__text-transform__mobile;
                }

                .payment-option-inner {
                    margin-bottom: 11px;
                }
            }

            .checkout-payment-method .step-title + .payment-method .payment-method-title {
                padding-top: 0;
            }

            .checkout-payment-method .checkout-billing-address {
                margin-bottom: 0;
                padding-left: 12px;
            }

            #co-transparent-form {
                padding-left: 35px;
            }

            .checkout-payment-method .payment-methods .actions-toolbar .primary {
                padding-left: 0;
            }
        }

        .opc-block-shipping-information {
            .shipping-information-title,
            .shipping-information-content {
                padding-left: 10px;
                padding-right: 10px;
            }
            .shipping-information-title {
                .lib-font-size(20);
                color: @djo-gray;
                font-weight: @font-weight__regular;
                .action-edit {
                    right: 10px;
                    top: 0;
                }
            }
        }

        .opc-sidebar {
            &.custom-slide .modal-inner-wrap {
                border-left: 1px solid @djo-gray-lighter;
            }
            .opc-block-summary > .title {
                .lib-font-size(26);
                font-family: @heading__font-family__base;
                font-weight: @heading__font-weight__base;
                text-transform: @heading__text-transform__base;
            }
        }
    }
}


//
//  Desktop
//  _____________________________________________

.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__s) {
    .checkout-index-index {
        //
        //  Shipping Address
        //  ---------------------------------------------

        .checkout-container:not(.am-checkout) .fieldset.address > .field[name$='.firstname'],
        .checkout-container:not(.am-checkout) .fieldset.address > .field[name$='.lastname'],
        .checkout-container:not(.am-checkout) .fieldset.address > .field[name$='.city'],
        .checkout-container:not(.am-checkout) .fieldset.address > .field[name$='.region_id'],
        .checkout-container:not(.am-checkout) .fieldset.address > .field[name$='.region'],
        .checkout-container:not(.am-checkout) .fieldset.address > .field[name$='.postcode'],
        .checkout-container:not(.am-checkout) .fieldset.address > .field[name$='.country_id'] {
            width: 50%;
        }

        //
        //  Payment Method
        //  ---------------------------------------------

        .payment-method-content {
            .lib-clearfix();
        }

        .payment-method-content-flex-container {
            -webkit-align-items: flex-start;
                 -ms-flex-align: start;
                    align-items: flex-start;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            -webkit-justify-content: space-between;
                      -ms-flex-pack: justify;
                    justify-content: space-between;
        }

        .payment-method-content-right {
            min-width: 320px;
            padding-left: 20px;


            &.no-min-width {
                min-width: 0;
            }
        }

        #co-transparent-form {
            float: none;
            padding: 0;
            width: auto;
        }

        .actions-toolbar div.primary .primary {
            padding: 14px 50px !important;
        }
    }
}

.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
    // Global messages
    .checkout-cart-index .page-main .messages {
        max-width: 1250px;
    }

    // Next button
    .checkout-index-index {
        .action.primary.continue {
            min-width: 120px;
            padding-bottom: 6px;
            padding-top: 6px;
        }
    }

    // Gift card payment
    .checkout-payment-method .payment-option.giftcardaccount {
        .payment-option-title {
            .lib-font-size(@checkout-step-title__font-size__desktop);
            border-bottom: 1px solid @djo-gray-lighter;
            border-top: none;
            color: @checkout-step-title__color__desktop;
            font-family: @checkout-step-title__font-family__desktop;
            font-weight: @checkout-step-title__font-weight__desktop;
            margin: 0 0 22px;
            padding: 0 0 11px;
            text-transform: @checkout-step-title__text-transform__desktop;
        }
        .payment-option-content {
            padding-left: 0;
        }
        .payment-option-inner {
            display: inline-block;
            margin: 0;
            vertical-align: top;
            width: 50%;
        }
        .actions-toolbar {
            display: inline-block;
            margin: 0 0 0 16px;
            vertical-align: top;
        }
    }

    // General conditions checkbox
    .checkout-shipping-method .checkout-conditions {
        margin-bottom: 20px;
    }
}

.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m + 1) {
    .checkout-index-index {
        .checkout-container:not(.am-checkout) {
            .opc-wrapper {
                float: left;
                padding-right: 0;
                width: 66%;
                li.checkout-shipping-address {
                    float: left;
                    width: 56%;
                }
                li.checkout-shipping-method {
                    float: right;
                    width: 39%;
                    .table-checkout-shipping-method {
                        border-bottom: 1px solid @djo-gray-lighter;
                        margin-bottom: 20px;
                        min-width: 100%;
                    }
                }
            }

            .opc-sidebar {
                margin-top: 0;
                width: 30%;
                .minicart-items-wrapper {
                    border-left: 1px solid @djo-gray-lighter;
                    border-right: 1px solid @djo-gray-lighter;
                }
            }

            //
            //  Order Summary
            //  ---------------------------------------------

            .opc-block-summary {
                border: 1px solid @djo-gray-lighter;
                border-top: 0;
                margin: 0;
                padding: 0 12px 12px 12px;

                > .title {
                    background: #fff;
                    border-bottom: 1px solid @djo-gray-lighter;
                    margin: 0 -13px 6px;
                    padding-left: 0;
                    padding-right: 0;
                    padding-top: 0;
                }

                .table-totals {
                    tbody .amount,
                    tfoot .amount {
                        white-space: normal;
                    }
                    .grand .mark {
                        .lib-font-size(21);
                    }
                    .grand .amount {
                        .lib-font-size(22);
                    }
                }

                table + .items-in-cart {
                    border-top: 1px solid @djo-gray-lighter;
                    margin-top: 20px;
                }
            }

            .opc-wrapper .action-show-popup {
                .lib-font-size(13);
                margin: 10px 0 22px;
                padding: 8px 20px;
            }

            .opc-block-shipping-information {
                background-color: #fff;
                padding-top: 20px;
            }

            .opc-payment {
                .step-title {
                    border-bottom: 1px solid @djo-gray-lighter;
                }
                .checkout-agreements-block,
                .actions-toolbar {
                    .lib-clearfix();
                }
            }
        }
    }
}

.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__l) {
    .checkout-index-index {
        .checkout-container:not(.am-checkout) {
            .opc-payment {
                .payment-method-billing-address {
                    box-sizing: border-box;
                    float: left;
                    padding-right: 20px;
                    width: 48%;
                }
                .form {
                    float: right;
                    width: 40%;
                }
                .payment-methods .actions-toolbar div.primary {
                    .primary {
                        padding: 14px 50px;
                    }
                }
            }
        }
    }
}
