/* Prodotto single page */
.woocommerce div.product .collections_wrap table th,
.woocommerce div.product .collections_wrap table td {
	border: 0;
	line-height: 2.5em;
	vertical-align: middle;
}
.woocommerce div.product .collections_wrap table th.label {
	width: 110px;
	text-align: right;
}
.woocommerce div.product .collections_wrap table td.value select {
	display: none;
}
.woocommerce div.product form.cart table.tierPrice {
	width: 100%;
	border-spacing: 0;
	overflow: hidden;
}
.woocommerce div.product .stock {
	color: var(--e-global-color-primary);
}
.woocommerce div.product form.cart table.tierPrice td,
.woocommerce div.product form.cart table.tierPrice th {
	text-align: center;
	padding: 10px;
}
.woocommerce #respond input#submit.loading,
.woocommerce a.button.loading,
.woocommerce button.button.loading,
.woocommerce input.button.loading {
	opacity: 0.8;
}
.woocommerce-product-attributes-item.woocommerce-product-attributes-item--weight {
	display: none;
}
.woocommerce div.product form.cart table.tierPrice th {
	background-color: #f5f5f5;
}

.woocommerce div.product form.cart table.tierPrice span.tier_label,
.woocommerce div.product form.cart table.tierPrice td.tier_quantity_value {
	font-weight: bold;
}

.woocommerce div.product form.cart table.tierPrice td.tier_save_value,
.woocommerce div.product form.cart table.tierPrice tr:hover td.tier_save_value {
	font-weight: bold;
	color: #fff;
	background: var(--e-global-color-primary);
}

.woocommerce div.product form.cart table.tierPrice > tbody > tr > td {
	position: relative;
	vertical-align: middle;
	line-height: 1.2;
}

.woocommerce div.product form.cart table.tierPrice > tbody > tr > td.disabled {
	opacity: 0.4;
	pointer-events: none;
}

.woocommerce div.product form.cart table.tierPrice > tbody > tr > td:hover {
	cursor: pointer;
}

.woocommerce
	div.product
	form.cart
	table.tierPrice
	tbody
	> tr:nth-child(even)
	td:first-child::before {
	content: "";
	position: absolute;
	top: 0;
	left: -5000px;
	width: 10000px;
	height: 100%;
	z-index: -10;
}

.woocommerce
	div.product
	form.cart
	table.tierPrice
	tbody
	> tr
	> td:hover::after {
	content: "";
	position: absolute;
	background-image: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.01) 0%,
		rgba(0, 0, 0, 0.01) 50%,
		rgba(0, 0, 0, 0.02) 50%,
		rgba(0, 0, 0, 0.01) 100%
	);
	left: 0;
	top: -5000px;
	height: 10000px;
	width: 100%;
	z-index: -1;
}
:is(
		.elementor-widget-woocommerce-product-add-to-cart,
		.woocommerce
			div.product
			.elementor-widget-woocommerce-product-add-to-cart,
		.elementor-widget-wc-add-to-cart,
		.woocommerce div.product .elementor-widget-wc-add-to-cart
	)
	form.cart
	.button:where(:not(:first-child)),
:is(
		.elementor-widget-woocommerce-product-add-to-cart,
		.woocommerce
			div.product
			.elementor-widget-woocommerce-product-add-to-cart,
		.elementor-widget-wc-add-to-cart,
		.woocommerce div.product .elementor-widget-wc-add-to-cart
	)
	form.cart
	button:where(:not(:first-child)) {
	margin-top: 0;
	margin-left: initial !important;
}
/* .woocommerce div.product.elementor.tm-has-options form.cart.variations_form .woocommerce-variation-add-to-cart { */
.woocommerce
	div.product.elementor
	form.cart:not(.grouped_form):not(.variations_form),
.woocommerce
	div.product.elementor
	form.cart.variations_form
	.woocommerce-variation-add-to-cart {
	display: grid !important;
	grid-template-columns: 0.8fr 1fr;
	grid-template-areas:
		"ExtraOptions ExtraOptions"
		"tierPriceTable tierPriceTable"
		"InfoPrice AddToCart";
	align-content: center;
	align-items: stretch;
}

.tc-extra-product-options.tm-extra-product-options {
	grid-area: ExtraOptions;
}
.elementor-widget-wc-add-to-cart.elementor-add-to-cart--align-justify
	form.cart
	button.single_add_to_cart_button,
.woocommerce
	div.product.elementor
	.elementor-widget-wc-add-to-cart.elementor-add-to-cart--align-justify
	form.cart
	button.single_add_to_cart_button,
.woocommerce
	div.product.elementor
	.elementor-widget-woocommerce-product-add-to-cart.elementor-add-to-cart--align-justify
	form.cart
	button.single_add_to_cart_button {
	padding-right: 25px;
}

.woocommerce #respond input#submit.loading::after,
.woocommerce a.button.loading::after,
.woocommerce button.button.loading::after,
.woocommerce input.button.loading::after {
	position: absolute;
	right: 5px;
}

.woocommerce #respond input#submit.added::after,
.woocommerce a.button.added::after,
.woocommerce button.button.added::after,
.woocommerce input.button.added::after {
	position: absolute;
	font-size: 0.7rem;
}
.woocommerce-variation.single_variation_tier_price {
	grid-area: tierPriceTable;
}

.tc-totals-form {
	grid-area: InfoPrice;
}

.add-to-cart-container {
	grid-area: AddToCart;
}

.add-to-cart-container {
	display: inline-grid;
	align-content: space-around;
	width: 100%;
	grid-template-columns: 1fr 1fr;
}

.woocommerce div.product form.cart .button {
	float: none;
	align-self: end;
	line-height: 25px;
}

.woocommerce a.added_to_cart {
	display: none;
}

.woocommerce div.product .points-banner {
	/* border-radius: 3px;
    background: #f2f2f2;
    padding: 10px 15px 5px;
    border: 1px solid #ced4da; */
	margin-top: 15px;
	font-size: 0.85rem;
	line-height: 2.5;
	/* vertical-align: middle;
    display: flex; */
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding-left: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	border-color: #f4f4f4;
	border-bottom-color: #fff;
	background: #fff;
}
.woocommerce div.product.elementor .woocommerce-tabs .panel {
	background: #fff;
	border-radius: 5px !important;
	border-top: 0 !important;
	box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 10%) !important;
	padding: 5px 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--e-global-color-primary);
}
.woocommerce div.product table.collections {
	margin-bottom: 0 !important;
}
.woocommerce div.product table.collections th.label,
.woocommerce div.product table.collections td.value {
	padding-top: 0;
	padding-bottom: 0;
}
.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	overflow: hidden;
	max-width: 100%;
	height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.woocommerce-product-gallery figure.swiper-wrapper,
.gallery-thumbs .swiper-wrapper {
	display: flex;
	align-items: center;
}
.woocommerce-product-gallery figure.swiper-wrapper  {
	background: #fff;
}
.woocommerce-product-gallery.gallery-main .goToVideo {
	position: absolute;
	top: 15px;
	right: 15px;
	z-index: 9;
	padding: 15px 20px;
	border-radius: 50%;
	background: #d46c50;
	color: #fff;
	text-align: center;
	cursor: pointer;
}
.fa-play::before {
	content: "\f04b";
}
.woocommerce-product-gallery figure.swiper-wrapper {
	background: #fff;
}
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
	border: 0;
}
.woocommerce div.product .pp-message {
	margin-top: 5px;
}
.tm-unit-price .mini-decimal {
	font-size: 0.95rem;
}
.tc-extra-product-options .tm-box .tc-cell:last-child {
	padding: 0 4px;
}
@media (max-width: 767px) {
	.woocommerce div.product .points-banner {
		display: block;
	}
	.nice-select.wide span.current {
		max-width: 280px;
		display: block;
		overflow: hidden;
		overflow-x: scroll;
	}
}

@media (max-width: 480px) {
	.woocommerce
		div.product.elementor
		form.cart:not(.grouped_form):not(.variations_form),
	.woocommerce
		div.product.elementor.tm-has-options
		form.cart.variations_form
		.woocommerce-variation-add-to-cart {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"ExtraOptions ExtraOptions"
			"tierPriceTable tierPriceTable"
			"InfoPrice InfoPrice"
			"AddToCart AddToCart";
		align-content: center;
		align-items: stretch;
	}
	.woocommerce div.product.elementor .woocommerce-tabs .panel {
		padding: 5px;
	}
	span.tm-unit-price,
	span.tm-final-totals,
	span.tm-box-size,
	.qib-button-wrapper label,
	.tm-extra-product-options .tc-cell,
	.tc-extra-product-options .tmcp-field-wrap label.tc-cell,
	.tc-cell {
		font-size: 0.85rem;
	}
	span.tm-unit-price {
		font-size: 0.7rem;
	}
	.woocommerce .tm-extra-product-options-totals .price.amount.options,
	.woocommerce .tm-extra-product-options-totals .price.amount.fees,
	.woocommerce
		.tm-extra-product-options-totals
		.price.amount.subscription-fee,
	.woocommerce .tm-extra-product-options-totals .amount.final {
		font-size: 1.1rem;
	}
	.woocommerce
		div.product.elementor
		form.cart:not(.grouped_form):not(.variations_form)
		.add-to-cart-container,
	.woocommerce
		div.product.elementor.tm-has-options
		form.cart.variations_form
		.woocommerce-variation-add-to-cart
		.add-to-cart-container {
		grid-template-columns: 0.5fr 1fr;
		margin-bottom: 15px;
		grid-column-gap: 5px;
	}
	.woocommerce div.product form.cart .button {
		align-self: end;
		line-height: 1.5em;
	}
	.woocommerce-variation.single_variation_tier_price {
		overflow: scroll;
	}
	.woocommerce div.product form.cart table.tierPrice td,
	.woocommerce div.product form.cart table.tierPrice th {
		padding: 8px;
	}
	.woocommerce div.product .collections_wrap table.collections tr {
		display: flex;
		flex-direction: column;
	}
	.woocommerce div.product .collections_wrap table.collections tr td.value,
	.woocommerce div.product .collections_wrap table.collections tr th.label {
		padding: 0;
		text-align: left;
	}
}
