// ****** WooCommerce CSS Support ****** //
@mixin rtp-woocommerce() {
    body {

		&.woocommerce, &.woocommerce-page {
            .rtp-main-wrapper, .rtp-main-wrapper {
                button, .button, input[type="submit"], 
                #payment #place_order, #content-wrapper 
                #content .button {
                    @include rtp-button(); @include rtp-button-shadow(); @include button-size($button-tny);
                    text-shadow: none; background-image: none;
                    &:hover, &:focus { background-image: none; }
                }
            }

            ul.products li.product, ul.products li.product {
                .add_to_cart_button { float: left;} 
                .added_to_cart { float: left; clear: both; }
            }

            // Pagination fixes
            #content nav.woocommerce-pagination, #content nav.woocommerce-pagination {
                ul {  border: 0; // Self
                      li { border-right: 0; // Self
                           a, span {
                               line-height: $rtp-base-line-height; // Hack for WooCommerce Pagination
                           }
                      }
                }
            }

            .cart-collaterals .cart_totals table td,
            .cart-collaterals .cart_totals table td { padding: 6px; }
            .cart-collaterals .cart_totals table th,
            .cart-collaterals .cart_totals table th { width: 35%; }
            p.stars, 
            p.stars { height: auto; }
            #review_form .comment-respond label { margin-left: 0; margin-bottom: 0; }
            #payment div.payment_box:after, #payment div.payment_box:after { top: 0; }

            // ***** Post Content ***** //
            table {
                tr {
                    &.even, &.alt, &:nth-of-type(2n) {
                        background: transparent;
                        .post-content & { background: $table-even-row-bg; }
                    }
                }
            }
        }

        .woocommerce-message, .woocommerce-error, .woocommerce-info {
            &:before, &:after { @include box-sizing(content-box); }
        }

        div.pp_woocommerce {
            .pp_nav p, .pp_description { font-size: inherit; line-height: 1.1rem; }
            .pp_arrow_previous, .pp_arrow_next,
            .pp_previous:before, .pp_next:before { height: rem-calc(20); width: rem-calc(20); }
            .pp_close { height: rem-calc(25); right: rem-calc(-13); text-shadow: 0 1px 0 $white; top: rem-calc(-13); width: rem-calc(25); }
        }

        .label { background: transparent; line-height: rem-calc(40); padding: 0; }
        .value { padding: 0; }



        .widget_product_search {
            input[type="text"] { @include rtp-sidebar-textbox(); }
            input[type="submit"] { font-size: rem-calc(11); padding: rem-calc(10 20 11); }
        }

        .woocommerce-shipping-fields {
            label { display: inline-block; padding-left: rem-calc(3); }
            #ship-to-different-address-checkbox { display: inline-block; }
            .form-row label { padding-left: 0; }
        }

        .payment_methods input[type="radio"]+label { margin-left: 0; }
    }

    /* Promobar Fix */
    .rtp-has-promo-bar { margin-top: rem-calc(44); }
    .rtp-has-promo-bar.admin-bar p.demo_store { top: rem-calc(32); }

    .type-product.hentry { border-bottom: 0; }
    input.qty { margin-bottom: 0; }
    .panel.entry-content { background: transparent; border: 0; padding: 1rem !important; }
    .reset_variations { display: inline-block !important; margin-bottom: rem-calc(15); }
    .cart_totals table { float: right; }
}