//
//  Common
//  _____________________________________________

& when (@media-common = true) {
    .checkout-cart-index {
        .cart-summary {
            background: #f8f8f8;
            .block {
                > .title {
                    border-top-color: #dbdfe1;
                }
            }
            // The following styling for ".estimate" fixes issue with
            // overflowing form elements.
            .estimate {
                min-width: 0;
                select {
                    max-width: 100%;
                    width: 100%;
                }
            }
            .cart-totals {
                border-top-color: #dbdfe1;
                .discount {
                    .mark,
                    .amount {
                        .lib-font-size(18);
                        color: #cc0000;
                        font-weight: 700;
                    }
                }
                .grand {
                    .mark {
                        .lib-font-size(17);
                        border-top-color: #dbdfe1;
                    }
                    .amount {
                        .lib-font-size(17);
                        border-top-color: #dbdfe1;
                    }
                }
            }
            .block.discount {
                .fieldset.coupon {
                    .lib-font-size(14);
                    .actions-toolbar {
                        text-align: right;
                        > .primary {
                            float: none;
                            .action.primary {
                                .lib-font-size(14);
                                box-shadow: none;
                                font-weight: 400;
                                letter-spacing: normal;
                                line-height: 1;
                                margin-right: 0;
                                padding: 8px 16px;
                                text-transform: none;
                            }
                        }
                    }
                }
            }
            .checkout-methods-items {
                .action.primary.checkout {
                    .lib-font-size(15);
                    padding-left: 14px;
                    padding-right: 14px;
                }
            }
        }
    }
}
