/* SC Remove text on WooCommerce AJAX buttons when loading */
.woocommerce #respond input#submit.loading, .woocommerce a.button.loading, .woocommerce button.button.loading, .woocommerce input.button.loading {
   color: var(--e-global-color-primary) !important;
   background-color: var(--e-global-color-primary) !important;
   opacity: 0.5 !important;
}
.woocommerce #respond input#submit.loading::after, .woocommerce a.button.loading::after, .woocommerce button.button.loading::after, .woocommerce input.button.loading::after {
   right: unset;
   top: unset;
   left: 50%;
   margin-left: -5px;
   color: var(--e-global-color-76fe6e01);
}

/* SC Remove WooCommerce text underline on sale price */
ins:has(.woocommerce-Price-amount) {
    text-decoration: none;
}

/* SC WooCommerce remove bold sale prices on tiles */
.woocommerce ul.products li.product .price ins {
	font-weight: inherit;
}

/* SC Hide empty cart header notice on cart page */
.sc-woocommerce-notices .e-woocommerce-notices-wrapper .cart-empty.woocommerce-info {
	display: none;
}

/* SC WooCommerce remove outline on jet widget inputs */
.jet-sorting-select,
.jet-woo-builder-archive-add-to-cart .qty {
	outline: none;
}

/* SC Remove price suffix size change on jet price widget */
.jet-woo-product-price small {
    font-size: unset;
}

/* SC Remove default margin on WooCommerce elements */
.woocommerce ul.products li.product .button {
    margin-top: unset;
}
.woocommerce .products ul,
.woocommerce ul.products {
	margin: 0px;
}
.woocommerce .products ul li, .woocommerce ul.products li {
	line-height: 0px;
}

/* SC Add gap between add to cart button and view cart button on product archive */
.elementor-products-grid .product .added_to_cart {
	margin-left: 10px;
}

@media (max-width: 440px) {
	.elementor-products-grid .product .added_to_cart {
		margin-left: 0px;
		display: block;
	}
}

/* SC Remove border from "Save payment information" on checkout */
.woocommerce .payment_box fieldset {
	border: none;
}

/* SC Add more gap between checkout login button and input */
.elementor-widget-woocommerce-checkout-page .e-login-wrap-start {
	padding-right: 30px;
}

/* SC Remove default Hello Elementor background color on Variations table */
table.variations tbody>tr:nth-child(odd)>td, table.variations tbody>tr:nth-child(odd)>th {
background-color: unset;
}

/* SC Stock colors */
.woocommerce p.in-stock,
.woocommerce p.available-on-backorder {
	color: var(--e-global-color-cd9c0b7) !important;
}

.woocommerce p.out-of-stock {
	color: var(--e-global-color-4b8fd7e) !important;
}


/* SC WooCommerce - Mobile cart +  thumbnails */

@media (max-width: 768px) {
	.woocommerce #content table.cart .product-thumbnail,
	.woocommerce table.cart .product-thumbnail,
	.woocommerce-page #content table.cart .product-thumbnail,
	.woocommerce-page table.cart .product-thumbnail {
		display: block;
	}
	.cart .product-thumbnail:before {
		display: none;
	}
	.elementor-widget-woocommerce-cart .woocommerce table.cart img {
		width: 100%;
	}
	/* SC Mobile WooCommerce Cart Spacing */
	.elementor-widget-woocommerce-cart .woocommerce table.cart tr:not(:nth-last-child(2)) {
		padding-bottom: 20px;
	}
	.elementor-widget-woocommerce-cart .woocommerce table.cart tr:not(:first-child) {
		padding-top: 20px;
	}
}

@media only screen and (max-width: 768px) {
	.woocommerce table.shop_table_responsive tr td,
	.woocommerce-page table.shop_table_responsive tr td {
		text-align: left !important;
		padding-top: 10px !important;
		padding-bottom: 10px !important;
	}
	.elementor-widget-woocommerce-cart .woocommerce table.cart tr {
		padding: 0px;
	}
}

.e-shop-table .cart td:before {
	width: 100% !important;
}


/* SC Remove bold and underline from discount price on products */

.woocommerce .ul.products li.product .price ins {
	font-weight: var(--e-global-typography-text-font-weight);
	text-decoration: none;
}


/* SC Variation Options */

.woocommerce .variations_form table.variations th.label,
.woocommerce .variations_form table.variations td.value {
	display: block;
	text-align: left;
	padding: 0px;
}

.woocommerce .variations_form table.variations th.label {
	padding-top: 0px !important;
	padding-bottom: 5px !important;
}

.woocommerce form.cart table.variations tr td {
	padding-top: 0px !important;
	padding-bottom: 20px !important;
}

/* SC Product Meta/Additional Information */
.elementor-widget-woocommerce-product-additional-information table.woocommerce-product-attributes * {
	border: none !important;
	background: unset !important;
	text-align: left;
	padding-left: 0px !important;
}
.woocommerce table.shop_attributes {
	border-top: none;
	margin-bottom: 0px;
}
.woocommerce table.shop_attributes th {
	width: 50%;
	padding-right: 0px;
	padding: 10px;
}
.woocommerce table.shop_attributes td {
	vertical-align: middle;
	font-style: normal;
}
.elementor-woo-meta--view-table .product_meta .detail-label {
	width: 50%;
	min-width: 50%;
}

/* SC Remove margin from store notices */
.woocommerce-error, 
.woocommerce-info, 
.woocommerce-message {
	margin: 0;
}
