/*--------------------------------------------------------------
    #cart
--------------------------------------------------------------*/
/*--------------------------------------------------------------
#9.1    cart-section
--------------------------------------------------------------*/
.cart-section {
    padding-top: 0;
}
.woocommerce-cart .grop-page-content_warp .woocommerce {
    margin-top: 20px;
    margin-bottom: 41px;
}
.woocommerce .quantity {
    width: 76px;
}
.woocommerce-cart .woocommerce table.shop_table th {
    font-family: $heading-font;
    padding: 15px 19px 13px;
    text-transform: uppercase;
}
.woocommerce-cart .woocommerce table.shop_table .cart_item td.product-name,
.woocommerce-cart .woocommerce table.shop_table .cart_item td.product-name a {
    color: #555;
}
.woocommerce-cart .woocommerce table.shop_table .cart_item td {
    padding: 21px 19px;
}
.woocommerce-cart .woocommerce table.shop_table .cart_item td,
.woocommerce-cart .woocommerce table.shop_table .cart_item td a {
    color: #232323;
}
.woocommerce-cart .woocommerce table.shop_table .cart_item td.product-thumbnail {
    padding-left: 30px;
}
.woocommerce-cart .woocommerce table.shop_table .cart_item td.product-remove {
    border-right: 1px solid #e5e5e5;
    padding: 0;
    text-align: center;
    width: 70px;
}
.woocommerce-cart .woocommerce table.shop_table td.actions {
    padding: 30px 0;
    background-color: transparent;
    padding-top: 19px;
    padding-bottom: 19px;
    text-align: right;
}

.woocommerce-cart .woocommerce table.shop_table td.actions .coupon label:first-child {
    display: none;
}

.woocommerce-cart .woocommerce table.shop_table td.actions #coupon_code {
    border: 1px solid #e5e5e5;
    font-size: 14px;
    height: 45px;
    margin-right: 15px;
    padding-left: 13px;
    width: 227px;
}
.woocommerce-cart .woocommerce table.shop_table tr.cart-subtotal td[data-title*="Subtotal"],
.woocommerce-cart .woocommerce table.shop_table tr.shipping td[data-title*="Subtotal"],
.woocommerce-cart .woocommerce table.shop_table tr.order-total td[data-title*="Subtotal"] {
    color: #232323;
}
.woocommerce-cart .woocommerce table.shop_table tr.cart-subtotal td[data-title*="Subtotal"]::-webkit-input-placeholder,
.woocommerce-cart .woocommerce table.shop_table tr.shipping td[data-title*="Subtotal"]::-webkit-input-placeholder,
.woocommerce-cart .woocommerce table.shop_table tr.order-total td[data-title*="Subtotal"]::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    
    opacity: 1;
    filter: alpha(opacity=100);
    -ms-filter: "alpha(opacity=100)";
    color: #888;
}
.woocommerce-cart .woocommerce table.shop_table tr.cart-subtotal td[data-title*="Subtotal"]::-moz-placeholder,
.woocommerce-cart .woocommerce table.shop_table tr.shipping td[data-title*="Subtotal"]::-moz-placeholder,
.woocommerce-cart .woocommerce table.shop_table tr.order-total td[data-title*="Subtotal"]::-moz-placeholder {
    /* Firefox 19+ */
    
    opacity: 1;
    filter: alpha(opacity=100);
    -ms-filter: "alpha(opacity=100)";
    color: #888;
}
.woocommerce-cart .woocommerce table.shop_table tr.cart-subtotal td[data-title*="Subtotal"]:-ms-input-placeholder,
.woocommerce-cart .woocommerce table.shop_table tr.shipping td[data-title*="Subtotal"]:-ms-input-placeholder,
.woocommerce-cart .woocommerce table.shop_table tr.order-total td[data-title*="Subtotal"]:-ms-input-placeholder {
    /* IE 10+ */
    
    opacity: 1;
    filter: alpha(opacity=100);
    -ms-filter: "alpha(opacity=100)";
    color: #888;
}
.woocommerce-cart .woocommerce table.shop_table tr.cart-subtotal td[data-title*="Subtotal"]:-moz-placeholder,
.woocommerce-cart .woocommerce table.shop_table tr.shipping td[data-title*="Subtotal"]:-moz-placeholder,
.woocommerce-cart .woocommerce table.shop_table tr.order-total td[data-title*="Subtotal"]:-moz-placeholder {
    /* Firefox 18- */
    
    opacity: 1;
    filter: alpha(opacity=100);
    -ms-filter: "alpha(opacity=100)";
    color: #888;
}
.woocommerce-cart .woocommerce table.shop_table tr.cart-subtotal th,
.woocommerce-cart .woocommerce table.shop_table tr.cart-subtotal td,
.woocommerce-cart .woocommerce table.shop_table tr.shipping th,
.woocommerce-cart .woocommerce table.shop_table tr.shipping td,
.woocommerce-cart .woocommerce table.shop_table tr.order-total th,
.woocommerce-cart .woocommerce table.shop_table tr.order-total td {
    padding: 16px 15px 14px;
}
.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-button {
    color: #151515;
    margin-top: 6px;
    display: block;
    margin-bottom: 12px;
}
.woocommerce-cart .shipping-calculator-form .form-row {
    margin: 0 0 13px;
}
.woocommerce-cart .shipping-calculator-form button.button {
    background-color: #222222 !important;
    color: #ffffff !important;
    height: 45px;
    line-height: 45px;
    padding: 1px 27px 0;
    margin-top: 4px;
}

#add_payment_method table.cart img,
.woocommerce-cart table.cart img,
.woocommerce-checkout table.cart img {
    width: 57px;
}

.woocommerce-cart .woocommerce table.shop_table .cart_item td a.remove {
    width: 18px;
    height: 18px;
    display: inline-flex;
    justify-content: center;
    text-align: center;
    line-height: 20px;
    color: $white;
    border-radius: 50%;
    background: #dbdbdb;

    &:hover {
        background-color: $black;
    }
}

.woocommerce #respond input#submit.disabled,
.woocommerce #respond input#submit:disabled,
.woocommerce #respond input#submit[disabled]:disabled,
.woocommerce a.button.disabled,
.woocommerce a.button:disabled,
.woocommerce a.button[disabled]:disabled,
.woocommerce button.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button[disabled]:disabled,
.woocommerce input.button.disabled,
.woocommerce input.button:disabled,
.woocommerce input.button[disabled]:disabled {
    padding-top: 0;
    padding-bottom: 0;
}
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
    margin-top: 50px;
}
.woocommerce .cart-collaterals .cart_totals > h2,
.woocommerce-page .cart-collaterals .cart_totals > h2 {
    font-size: 24px;
    font-size: calc-rem-value(24);
    margin: 0 0 1.3em;
}

#add_payment_method .cart-collaterals .cart_totals table select,
.woocommerce-cart .cart-collaterals .cart_totals table select,
.woocommerce-checkout .cart-collaterals .cart_totals table select {
    border: 1px solid #e5e5e5;
    color: #888888;
    font-size: 14px;
    height: 50px;
    width: 100%;
}
#add_payment_method .wc-proceed-to-checkout,
.woocommerce-cart .wc-proceed-to-checkout,
.woocommerce-checkout .wc-proceed-to-checkout {
    padding: 0;
    text-align: right;
}
#add_payment_method .wc-proceed-to-checkout,
.woocommerce-cart .wc-proceed-to-checkout,
.woocommerce-checkout .wc-proceed-to-checkout {
    padding: 0;
}
#add_payment_method .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button {
    margin-bottom: 0;
    margin-top: 16px;
}


.woocommerce-cart .actions input[name="update_cart"]  {
    background-color: #dcdcdc;
    color: $black;

    &:hover {
        background-color: $black;
        color: $white;
    }
}

.woocommerce-cart .input-text.qty.text {
    box-shadow: none;
}

.woocommerce-cart input::-webkit-outer-spin-button,
.woocommerce-cart input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@include media-query(600px) {
    .woocommerce-cart thead {
        display: none;
    }

    .woocommerce-cart table,
    .woocommerce-cart th,
    .woocommerce-cart td,
    .woocommerce-cart tr,
    .woocommerce-cart tbody {
        width: 100%;
        display: block;
        border: 0;
        text-align: center;
    }

    .woocommerce table.shop_table {
        border: 1px solid #e5e5e5;
    }

    .quantity {
        margin: 0 auto;
    }

    .woocommerce table.shop_table td {
        border: 0;
    }

    .woocommerce-cart tbody > tr {
        position: relative;
    }

    .woocommerce-cart tbody > tr + tr {
        border-top: 1px solid #e5e5e5;
    }

    .woocommerce-cart tbody > tr {
        padding: 30px 20px;
    }

    .woocommerce-cart .woocommerce table.shop_table .cart_item td {
        padding: 8px 10px;
    }

    .woocommerce-cart .woocommerce table.shop_table .cart_item td.product-remove {
        border-right: 0;
        width: auto;
    }

    .woocommerce-cart .woocommerce table.shop_table .cart_item td.product-remove {
        position: absolute;
        right: 15px;
        top: 15px;
    }

    .woocommerce-cart .woocommerce table.shop_table td.actions {
        text-align: center;

        input {
            display: block;
            float: none;
        }
    }

    .woocommerce-cart .coupon {
        float: none !important;
    }

    .woocommerce-cart .woocommerce table.shop_table td.actions input {
        display: inline-block;
        float: none;
        margin-top: 10px;
    }

    .woocommerce-cart .woocommerce table.shop_table .cart_item td.product-name, 
    .woocommerce-cart .woocommerce table.shop_table .cart_item td.product-name a,
    .woocommerce-cart .woocommerce table.shop_table .cart_item td, 
    .woocommerce-cart .woocommerce table.shop_table .cart_item td a {
        font-weight: 500;
    }

    // .woocommerce-cart .shop_table .cart_item td:nth-child(4),
    // .woocommerce-cart .shop_table .cart_item td:nth-child(6),
    // .woocommerce-cart .shop_table thead > tr > th:nth-child(1),
    // .woocommerce-cart .shop_table thead > tr > th:nth-child(2),
    // .woocommerce-cart .shop_table thead > tr > th:nth-child(4),
    // .woocommerce-cart .shop_table thead > tr > th:nth-child(6) {
    //     //display: none;
    // }

    // .woocommerce-cart .shop_table thead > tr > th {
    //     width: 50%;
    // }

    // .woocommerce-cart .woocommerce table.shop_table {
    //     // table-layout:fixed;
    // }

    // .woocommerce-cart .woocommerce table.shop_table .cart_item td.product-remove {
    //     display: inline-block;
    //     position: relative;
    //     width: 1px;
    // }

    // .shop_table tbody tr td.product-remove .remove {
    //     position: absolute;
    //     top: 10px;
    //     left: 0;
    // }
}


   

/* Firefox */
.woocommerce-cart input[type=number] {
  -moz-appearance: textfield;
}

.woocommerce strong {
    font-weight: 500;
}

.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up,
.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down {
    border-radius: 0;
}