.shop_table {
    table-layout: auto;

    @include media(desktop) {
        table-layout: fixed;
    }

    th {
        text-align: left;
    }
}

table.shop_table_responsive {
    th {
        border: 0;
    }

    tbody tr td {
        border-right: 0;
    }

    input[type="number"] {
        padding-right: 5px;
        width: 5em;
    }
}

.cart.woocommerce-cart-form__contents{

    td {
        font-weight: 500;
    }
}

.single_variation_wrap {
    margin-top: 35px;
}

.cart-collaterals {
    margin-top: 35px; 
    
    @include media(desktop) {
        max-width: 600px;
        float: right;
    }

    .shop_table.shop_table_responsive {

        thead {
            border: 0;
        }

        th {
            border: 0;
            text-align: left;
            vertical-align: top;
        }

        td {
            border: 0;
            text-align: right;
        }
    }
}

.cart-collaterals table tr {
    border-top: 1px solid;
}

.woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 30px;
}

.product-quantity input[type="number"] {
    width: 40%;

    @include media(mobile_horizontal) {
        width: 100%;
    }
}

.shop_table tfoot tr td {
    border-bottom: 2px solid;
    padding: 15px;

    @include media(tablet) {
        padding: 13px 28px;
    }
}

.shop_table tfoot tr th {
    border-bottom: 2px solid;
    border-right: 2px solid;
    padding: 10px;
}

.coupon {

    @include media(tablet) {
        display: inline-block;
        width: auto;
    }

    input[type="text"] {
        width: auto;
    }
}

.shop_table .product-thumbnail img {
    margin: 0 auto;
    width: 100px;
}

table.shop_table_responsive.woocommerce-cart-form__contents {
    td {
        padding: 15px 28px;
    }       
}

.woocommerce-product-gallery__image img {
    width: 100%;
}

.actions {
    text-align: center;

    @include media (mobile_horizontal) {
        text-align: left;
    }

     >  .button {
        float: none;

        @include media(mobile_horizontal) {
            float: right;
        }
    }
}

.actions > button.button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

table.shop_table_responsive tr td:before {
    content: attr(data-title) ": ";
    float: left;

    @include media(mobile_horizontal) {
        content:"";
    }
}

table.shop_table_responsive thead {
    display: none;

    @include media(mobile_horizontal) {
        display: table-header-group;
    }
}

.cart_totals table.shop_table_responsive tr th {
    display: none;

    @include media(mobile_horizontal) {
        display: table-cell;
    }
}

table.shop_table_responsive tr td {
    border-bottom: 1px solid;
    border-right: 0;
    display: block;
    text-align: right;

    @include media(mobile_horizontal) {
        display: table-cell;
        text-align: left;
    }
}

table.shop_table_responsive tr {
    
    .actions {
        border-bottom: 0;
        padding: 10px;
        text-align: left;
        
        .coupon input {
            margin: 0 auto;
            width: 100%;

            @include media(mobile_horizontal) {
                display: inline-block;
                text-align: left;
                width: auto;
            }
        }

        label {
            display: none;
        }
    }
}

.actions .button {
    margin-top: 8px;
    width: 100%;

    @include media(mobile_horizontal) {
        margin-top: 0;
        width:auto;
    }
}

table.shop_table_responsive tr td.product-remove {
    text-align: center;
}

.product-remove,
.product-thumbnail,
.actions {

    &:before {
        display: none;
    }
}

.related.products {
    display: block;
}

.product {
    position: relative;
    width: 100%;
}

.round-product-image .product-content-wrapper .has-post-thumbnail > .woocommerce-LoopProduct-link {
    @include border(50%);
}

.woocommerce-posts-wrapper > .product {
    margin-bottom: 0;
}

.woocommerce-product-gallery ol.flex-control-nav {
    list-style: none;
    margin-left: 0;
    margin-right: 0;
    margin-top: 15px;

    li {
        cursor: pointer;
        padding: 5px;

        img {
        opacity: 0.5;

            &:hover,
            &:focus {
                opacity: 1;
            }
        }
    }
}

.woocommerce-product-gallery ol.flex-control-nav li img.flex-active {
    opacity: 1;
}

.products .product > .woocommerce-LoopProduct-link {
    margin-bottom: 28px;
}

.product-border .products .product {
    border: 1px solid;
    padding: 28px;
}

.product-border .products.columns-5 .product,
.product-border .products.columns-6 .product {
    padding: 15px;
}


.products {
    @include flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0;

    .product {
        position: relative;
        width: 100%;

        a {
            display: block;
            overflow: hidden;

            &:hover {

                img {
                    transform: scale(1.1);
                    -o-transform: scale(1.1);
                    -moz-transform: scale(1.1);
                    -webkit-transform: scale(1.1);
                }
            }
 
            img {
                width: 100%;
            }
        }
        
        .price {
            display: block;

            del {
                margin-right: 10px;
            }
        }
    }
}

.product-container {

    .button,
    .added_to_cart {
        margin-top: 15px;
        padding: 15px;
    }
}

.products .product a.added_to_cart,
.color-scheme-music .products .product a.added_to_cart {
    @include border(0);
    display: inline-block;
    text-align: center;
}

.product-section.round-product-image .products .product a.added_to_cart,
.product-section.product-border .products .product a.added_to_cart {
    display: block;
}

.woocommerce-posts-wrapper {
    position: relative;
}

.wc-backward {
    display: inline-block;
}

span.onsale {
    box-shadow: -9px 11px 18px -7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: -9px 11px 18px -7px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: -9px 11px 18px -7px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    font-size: 0.875rem;
    left: 15px;
    line-height: 1.56;
    letter-spacing: 1px;
    padding: 5px 18px;
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    top: 15px;
    z-index: 1;
}

.infinite-loader {
    width: 100%;

    #ctis-loading img {
        margin: 0 auto;
    }
}

.woocommerce-loop-product__title {
    margin-bottom: 10px;
}

.products .star-rating {
    margin: 7px auto;
}

.color-scheme-music {
    .products .star-rating {
        margin: 7px auto;

        @include media(mobile_horizontal) {
            margin-left: 0;
            margin-right: 0;
        }
    }
}

.star-rating {
    position: relative;
    font-size: 12px;
    font-size: 0.75rem;
    font-family: star;
    font-weight: 400;
    height: 1.618em;
    line-height: 1.618;
    overflow: hidden;
    position: relative;
    width: 5.3em;

    &:before {
        content: "\53\53\53\53\53";
        opacity: .25;
        float: left;
        top: 0;
        left: 0;
        position: absolute
    }

    span {
        overflow: hidden;
        float: left;
        top: 0;
        left: 0;
        position: absolute;
        padding-top: 1.5em;

        &:before {
            content: "\53\53\53\53\53";
            top: 0;
            position: absolute;
            left: 0;
        }
    }
}

.woocommerce-tabs {
    clear: both;
    margin-bottom: 35px;

    @include media(tablet) {
        margin-bottom: 70px;
    }

    ul.tabs.wc-tabs {
        text-align: center;
         li {
             float: none;
             
             @include media(mobile_horizontal) {
                display: inline-block;
            }

            a {
                display: block;
                padding: 15px 25px;

                @include media(mobile_horizontal) {
                    display: inline-block;
                }
            }    
        }
    }
}

.woocommerce-tabs {
 
    .woocommerce-Tabs-panel {
        margin-top: 0;
        padding: 25px;

        @include media(desktop) {
            padding: 45px;
        }
    } 
}

#reviews .comment-respond .comment-form-rating {
    text-align: center;

        .stars {
            margin-top: 7px;
            margin-bottom: 21px;

        span {
            
            a {
                position: relative;
                height: 1em;
                width: 1em;
                text-indent: -999em;
                display: inline-block;
                text-decoration: none;
                margin-right: 1px;
                font-weight: 400;
            
                &:before {
                    display: block;
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 1em;
                    height: 1em;
                    line-height: 1;
                    font-family: star;
                    content: "\53";
                    text-indent: 0;
                    opacity: .25;
                }
            }
        }

        &:hover a:before {
            content: "\53";
            opacity: 1;
        }
    }
}

#reviews .comment-respond .comment-form-rating .stars span a.active:before {
    opacity: 1;
}

#reviews .comment-respond .comment-form-rating .stars.selected span a:not(.active):before {
    content: "\53";
    opacity: 1;
}

#reviews .comment-respond .comment-form-rating .stars.selected a.active~a:before {
    content: "\53";
    opacity: .25;
}

.comment-reply-title,
.woocommerce-Reviews-title {
    display: block;
    text-align: center;
}

form.cart {
    border-bottom: 1px solid;
    margin-bottom: 40px;
    padding-bottom: 40px;

    .quantity {
        display: inline-block;
        margin-bottom: 21px;
        vertical-align: top;

        input[type="number"] {
            padding-left: 15px;
            padding-right: 15px;
        }
    }

    .quantity + button {
        margin-top: 0;
    }
}

.wc-proceed-to-checkout {
    text-align: right;
}

.woocommerce .woocommerce-shorting-wrapper {
    margin-bottom: 30px;
    justify-content: center;
    align-items: center;
    
    @include media(mobile_horizontal) {
        justify-content: space-between;
    }

    select {
        margin-top: 0;
    }
    p {
        @include media(mobile_horizontal) {
            margin-bottom: 0;
        }
    }
}

.woocommerce-notices-wrapper {
    margin-bottom: 20px;
}

.wc-tabs-wrapper {
    clear: both;
    display: block;
    overflow: hidden;

    .wc-tabs {
        margin-top: 50px;
    }
}

.woocommerce-posts-wrapper {
    
    .woocommerce-product-gallery {
        position: relative;

        @include media(tablet) {
            float: left;
            width: 50%;
        }

        a.woocommerce-product-gallery__trigger {
            position: absolute;
            top: 15px;
            right: 15px;
            z-index: 1;
        }

        figure {
            margin-top: 0; 
        }
    }

    .entry-summary {
        margin-top: 30px;
        padding: 0;
        
        @include media(tablet) {
            float: left;
            margin-top: 0;
            padding: 0 30px;
            width: 50%;
        }
    
        .woocommerce-product-rating {
            @include flex;
            align-items: center;
            justify-content: flex-start;
            margin-bottom: 15px;
        
            .star-rating {
                margin-right: 15px;
            }
        }

        del {
            margin-right: 10px;
        }
    }
}

table.woocommerce-grouped-product-list.group_table,
table.woocommerce-grouped-product-list.group_table td,
table.variations,
table.variations td {
    border-width: 1px;
}

.variations {
    table-layout: auto;
}

table.woocommerce-grouped-product-list.group_table {
    table-layout: auto;
}

a.reset_variations:before {
    content: "\f00d";
    font-size: 20px;
    margin-left: 15px;
}

.woocommerce-pagination {
    margin: 30px auto;
    
    ul.page-numbers {
        text-align: center;
        justify-content: center;
        align-items: center;

        li .page-numbers {
            border: 1px solid;
            margin-right: 10px;
            padding: 9px 18px;
        }
    }
}

.page-links {
    align-items: center;

    .post-page-numbers {
        border: 1px solid;
        margin-right: 10px;
        padding: 9px 18px;
    }
}


.archive-content-wrap .pagination {

    .nav-links {
        text-align: center;
        justify-content: center;
        align-items: center;

        .page-numbers {
            border: 1px solid;
            margin-right: 10px;
            padding: 9px 18px;
        }
    }
}

.woocommerce-product-details__short-description {
    margin-bottom: 20px;
}

table.shop_table.woocommerce-checkout-review-order-table {
    tr,
    th,
    td {
        text-align:left;
    }
}

table.shop_table.woocommerce-checkout-review-order-table .cart_item td {
    border-bottom: 2px solid;
}

table.shop_table.woocommerce-checkout-review-order-table tfoot  th {
    padding: 15px;

    @include media(tablet) {
        padding: 13px 28px;
    }
}

.search.search-results .content-area .product .hentry-inner .entry-container {
    max-width: 100%;
}

.woocommerce-variation.single_variation .woocommerce-variation-price {
    margin: 10px 0;
}

ul.wc_payment_methods.payment_methods.methods li {
    margin-bottom: 15px;
    padding: 15px;

    label {
        margin-bottom: 10px;
    }
}

.woocommerce-grouped-product-list tr {
    border-bottom: 1px solid;

    .quantity {
        margin-bottom: 0;
    }
}

div#payment {
    margin-bottom: 30px;
    margin-left: auto;
    margin-top: 35px;
    max-width: 627px;

    .payment_box {
        padding-top: 15px;
        margin-top: 15px;
        border-top: 1px solid;
    }
}

.woocommerce-thankyou-order-received {
    

    @include media(desktop) {
        font-size: 28px;
        font-size: 1.75rem;
    }
    
    line-height: 1.36;
    margin: 0 auto;
    margin-top: 30px;
    max-width: 450px;
    padding-top: 25px;
    position: relative;
    text-align: center;

    @include media(desktop) {
        font-size: 40px;
        font-size: 2.5rem;
        line-height: 1.56;
    }
}

.order_details {
    margin: 30px 0;

    li strong {
        text-decoration: underline;
    }
}

/** Color Scheme **/

.color-scheme-music {
    .products {
        .product {
            border: 0;
            padding: 0;

            .product-container {
                text-align: center;

                @include media(mobile_horizontal) {
                    text-align:left
                }

                .button {
                    display: inline-block;
                    text-align: center;
                }
            }
        }
    }
}

.demo_store {
    margin-bottom: 0;
    padding: 30px 30px;

    @include media(mobile_horizontal) {
        padding-left: 40px;
        padding-right: 40px;
    }

    @include media(wide) {
        padding-left: 50px;
        padding-right: 50px;
    }
}

.sticky-playlist-enabled .demo_store {
    padding-bottom: 60px;
}

.woocommerce {

    li.product{

        .product-container {
            a.button {
                @include border(0);
                left: 0;
                position: absolute;
                text-align: center;
                width: 100%;

                @include media(desktop) {
                    opacity: 0;
                }
            }
        }

        &:hover,
        &:focus {
            a.button {
                opacity: 1;
            }
        }
    }
}

.round-product-image .woocommerce li.product .product-container a.button,
.product-border .woocommerce li.product .product-container a.button {
    position: static;
    opacity: 1;
}

.woocommerce-NoticeGroup-checkout,
.woocommerce-form-coupon-toggle {
    border-left: 5px solid #e2401c;
    margin-bottom: 35px;
    padding: 35px;

    strong {
        font-weight: 700;
    }
}

.woocommerce-form-coupon-toggle {
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    border: 1px solid;
    border-width: 1px 1px 0;
    margin: 0 0 1.75em;

    @include media(desktop) {
        float: left;
        margin: 0;
        width: 30%;
    }
}

.woocommerce-account .woocommerce-MyAccount-content {
    padding-top: 35px;

    @include media(desktop) {
        float: right;
        padding-top: 0;
        width: 66%;
    }
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid;
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    font-size: 13px;
    font-size: 0.8125rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 21px;
}

.woocommerce-form-coupon-toggle {
    position: relative;
    
    a {
        display: inline-block;
        margin-left: 5px;
    }
}

.woocommerce-MyAccount-content a.button {
    margin-right: 5px;
    margin-top: 0;
}

.woocommerce-message,
.woocommerce-info {
    padding: 25px;
}

.products .star-rating {
    margin-left: 0;
}

.woocommerce-form-coupon {
    input[type="text"] {
        width: auto;
    }
}