/* override banner height*/
body.woocommerce-cart .banner,
body.woocommerce-checkout .banner,
body.single-product .banner {max-height: 150px; overflow: hidden;}


/* Category page showing product teasers */
.woocommerce .products ul,
.woocommerce ul.products {width: 100%;display: flex; justify-content: flex-start; align-items: flex-start; flex-wrap: wrap;}
.woocommerce ul.products li.product {width: initial; max-width: 22%; margin: 0 4% 6% 0;  float: none; display: flex; justify-content: flex-start; align-items: stretch; flex-wrap: wrap;;}
.woocommerce ul.products li.product:nth-child(4n+4) {margin-right: 0;}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {width: 100%;display: block;}
.woocommerce ul.products li.product a img {margin-bottom: 5px;}
.woocommerce ul.products li.product a.button {margin-top: 0;}
.woocommerce ul.products li.product a.added_to_cart {font-size: 0; color: transparent; display: flex; justify-content: space-around; align-items: center;}
.woocommerce ul.products li.product a.added_to_cart:before {color: #838b6b; font-size: 32px; font-weight: 400;; content: "\f174"; font-family: "dashicons"; margin-left: 15px; align-self: center; line-height: 1em; }
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {color: #838b6b;font-size: 1.2em; line-height: 1.2em;}
.woocommerce ul.products li.product .price {color: #b2955d; font-size: 1.1em; font-weight: 700; margin-bottom: 1em;}

/* Single Product Page */
.woocommerce-message {color: #155724; background: #d4edda; border: 2px solid #c3e6cb; border-radius: 10px; position: relative; }
.woocommerce-info {color: #856404; background: #fff3cd; border: 2px solid #ffeeba; border-radius: 10px; position: relative;}
.woocommerce-error {color: #721c24; background: #f8d7da; border: 2px solid #f5c6cb; border-radius: 10px; position: relative;}

.woocommerce-message:before {color: #155724;}
.woocommerce-info:before {color: #856404;}
.woocommerce-error:before {color: #721c24;}

.woocommerce .woocommerce-error .button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-message .button,
.woocommerce-page .woocommerce-error .button,
.woocommerce-page .woocommerce-info .button,
.woocommerce-page .woocommerce-message .button,
.woocommerce-page .woocommerce-notices-wrapper .woocommerce-message a.button {color: #ffffff; border: 2px solid #000000; background: #444648; padding: 13px 20px 10px;float: none; position: absolute;  right:20px; top: 50%; transform: translateY(-50%); border-radius: 6px;  transition: all 0.3s;}
.woocommerce .woocommerce-error .button:hover,
.woocommerce .woocommerce-info .button:hover,
.woocommerce .woocommerce-message .button:hover,
.woocommerce-page .woocommerce-error .button:hover,
.woocommerce-page .woocommerce-info .button:hover,
.woocommerce-page .woocommerce-message .button:hover,
.woocommerce-page .woocommerce-notices-wrapper .woocommerce-message a.button:hover {color: #ffffff; border-color: #000000; background-color: #000000; }

.woocommerce-variation-add-to-cart {display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; width: 100%; max-width: 100%;}
.woocommerce div.product form.cart {display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; position: relative;}
.woocommerce div.product form.cart div.quantity {display: inline-block; float: none; margin: 0 0 0 0; width: 80%; box-sizing: border-box; }
.woocommerce div.product form.cart .label.quantity {display: inline-block; width: 20%; padding-right: 10px; box-sizing: border-box; font-weight: 700; text-align: right;}
.woocommerce .quantity .qty { color: #838b6b; border: 1px solid #445761; padding: 3px 0px 2px 10px; min-width: 70px; font-weight: 700; outline: none; line-height: 1.5em; font-size: 1em;border-radius: 5px; box-sizing: border-box;}
.woocommerce div.product form.cart button.single_add_to_cart_button.button {margin-top: 20px; max-width: 192px;}

// .woocommerce div.product form.cart div.quantity {display: none;}


/* Product Gallery of images tweaks */
.woocommerce div.product div.images .flex-control-thumbs {margin-top: .626%; line-height: 0px; display: flex; justify-content: flex-start; align-items: flex-start; flex-wrap: wrap;}
.woocommerce div.product div.images .flex-control-thumbs li {display:inline-block; float: none;width: 19.5%; margin: 0 .626% .625% 0; line-height: 0px; box-sizing: border-box;}
.woocommerce div.product div.images .flex-control-thumbs li:nth-child(5n+5) {margin-right: 0;}
.woocommerce div.product div.images .flex-control-thumbs li img {transition: all 0.3s;}

/* Variations Table Tweaks */
.woocommerce div.product form.cart .variations {margin-bottom: -3px;}
.woocommerce div.product form.cart .variations tr {display: flex; justify-content: flex-start; align-items: center; margin-bottom: 5px;}
.woocommerce div.product form.cart .variations th {display: inline-block; width: 20%; padding-right: 10px; box-sizing: border-box; text-align: right;}
.woocommerce div.product form.cart .variations td {display: inline-block; width: 80%; box-sizing: border-box;}
.woocommerce div.product form.cart .single_variation_wrap {width: 100%;}
.woocommerce div.product form.cart .reset_variations {color: #721c24; background: #f8d7da; border: 2px solid #f5c6cb; border-radius: 3px; position: relative; padding: 5px 10px 3px; font-size: .7em;}
.woocommerce div.product form.cart .reset_variations:hover {color: #ffffff; background-color: #721c24; border-color: #721c24;}
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-Price-amount {background: #838b6b; color: #fbf8f3; padding: 10px 20px 8px; border-radius: 5px; position: absolute; bottom: 5px; right: 10px;}
.woocommerce div.product form.cart .variations select {color: #1b1b1b; border: 1px solid #445761; padding: 5px 10px; outline: none; line-height: 1.5em; font-size: 1em;border-radius: 5px; box-sizing: border-box;}


/* Price */
.woocommerce div.product p.price {font-weight: 700;}
.woocommerce div.product p.price .label {color: #1b1b1b; font-weight: 700; margin-right: 10px;}

.woocommerce-page div.product div.summary .price del .woocommerce-Price-amount {margin-right: 10px;}
.woocommerce-page div.product div.summary .price ins {text-decoration: none;}
.woocommerce-page div.product div.summary .price ins .woocommerce-Price-amount { font-weight: 700; text-decoration: none; }

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link .price bdi {margin-right: 10px;}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link .price ins {text-decoration: none;}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link .price .label {font-weight:700; margin-right: 5px;text-decoration: none;}


/* Stock display */
.woocommerce-variation-availability {display: inline-block; position: absolute; right: 10px; bottom: 45px;}
div.product p.stock{border-radius: 3px; position: relative; padding: 5px 10px 3px; font-size: .75em; line-height: 1em; display: inline-block; margin: 5px 0;}
div.product p.stock.in-stock {color: #0c5460; background: #d1ecf1; border: 2px solid #bee5eb;}
div.product p.stock.out-of-stock {color: #ffffff; background: #721c24; border: 2px solid #721c24; font-weight: 700;}





/* Cart Page */
.woocommerce .cart .button,
.woocommerce .cart input.button,
.woocommerce form.checkout_coupon button.button {color: #ffffff; border: 2px solid #000000; background: #444648; padding: 10px 20px 7px;float: none; border-radius: 6px; transition: all 0.3s;}
.woocommerce .cart .button:hover,
.woocommerce .cart input.button:hover,
.woocommerce form.checkout_coupon button.button:hover {color: #ffffff; border-color: #000000; background-color: #000000; }


.woocommerce #content table.cart td.actions .coupon,
.woocommerce table.cart td.actions .coupon,
.woocommerce-page #content table.cart td.actions .coupon,
.woocommerce-page table.cart td.actions .coupon {display: flex; justify-content: flex-start; align-items: center;; flex-wrap: wrap; float: none; }




table.cart td.actions,
.woocommerce-page #content table.cart td.actions,
.woocommerce-page table.cart td.actions {position: relative;}
.woocommerce .cart .button[name='update_cart'] {position: absolute; top: 8px; right: 12px;}



.woocommerce #content table.cart td.actions .input-text,
.woocommerce table.cart td.actions .input-text,
.woocommerce-page #content table.cart td.actions .input-text {width: unset; color: #1b1b1b; border: 1px solid #445761; padding: 5px 10px; outline: none; line-height: 1.5em; font-size: 1em;border-radius: 5px; box-sizing: border-box;}
.woocommerce-page table.cart td.actions .input-text,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.select2-container--default .select2-selection--single {width: 100%; color: #1b1b1b; border: 1px solid #445761; padding: 5px 10px; outline: none; line-height: 1.5em; font-size: 1em;border-radius: 5px; box-sizing: border-box; height: initial;}



.woocommerce form .form-row label {color: #404040; font-weight: 700; margin-bottom: 3px; margin-top: 10px; font-size: 1.1em; line-height: 1em;}


#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {color: #1b1e21; background-color: #d6d8d9; border-color: #c6c8ca;}

#add_payment_method #payment ul.payment_methods,
.woocommerce-cart #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods {border-bottom: 1px dashed #c6c8ca;}

.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] {color: #ffffff; }

.woocommerce #respond input#submit.disabled:hover, .woocommerce #respond input#submit:disabled:hover, .woocommerce #respond input#submit:disabled[disabled]:hover, .woocommerce a.button.disabled:hover, .woocommerce a.button:disabled:hover, .woocommerce a.button:disabled[disabled]:hover, .woocommerce button.button.disabled:hover, .woocommerce button.button:disabled:hover, .woocommerce button.button:disabled[disabled]:hover, .woocommerce input.button.disabled:hover, .woocommerce input.button:disabled:hover,
.woocommerce input.button:disabled[disabled]:hover {color: #1b1e21;}


/* Checkout Table */
.woocommerce .checkout table.shop_table tfoot {background: #d1ecf1; color: #0c5460;}
.woocommerce .checkout table.shop_table tfoot th {border-color: #b8daff}
.woocommerce .checkout table.shop_table tfoot td {border-color: #b8daff}




/* Coupon Remove Button */
.cart_totals .woocommerce-remove-coupon,
#order_review .woocommerce-remove-coupon {color: #721c24; background: #f8d7da; border: 2px solid #f5c6cb; border-radius: 3px; position: relative; padding: 5px 10px 3px; font-size: .7em;}
.cart_totals .woocommerce-remove-coupon:hover,
#order_review .woocommerce-remove-coupon:hover {color: #ffffff; background-color: #721c24; border-color: #721c24;}