// /**
//  * Copyright © 2015 Magento. All rights reserved.
//  * See COPYING.txt for license details.
//  */

//
//  Common
//  _____________________________________________

& when (@media-common = true) {

    //
    //  Checkout Estimated Total
    //  ---------------------------------------------

    .opc-estimated-wrapper {
        &:extend(.abs-add-clearfix all);
        &:extend(.abs-no-display-desktop all);
        // .lib-css(border-bottom, @border-width__base solid @color-gray80);
        margin: 0 0 15px;
        padding: 18px 15px;

        .estimated-block {
            .lib-css(font-size, @checkout-step-title-mobile__font-size);
            .lib-css(font-weight, @font-weight__bold);
            float: left;

            .estimated-label {
                margin: 0 0 @indent__xs;
                display: block;
            }
        }

        .minicart-wrapper {
            .action {
                &.showcart {
                    .lib-button-reset(); // New: reset
                    &:before {
                        .lib-css(color, @primary__color);
                    }
                }
            }
        }

        // New:
        .minicart-wrapper {
            .action {
                &.showcart {
                    &:before {
                        float: left;
                        width: 24px;
                        height: 24px;
                        line-height: 24px;
                    }
                    .counter.qty {
                        float: left;
                        margin: 0;
                    }
                }
            }
        }

    }
}

//
//  Desktop
//  _____________________________________________

.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
    .opc-estimated-wrapper {
        display: none;
    }
}
