/* PAGINA PRODOTTO */
body.single-product .product-main {
	padding: 0;
}
body.single-product .product-main > .row {
	max-width: 100%;
}
body.single-product .product-main > .row > .col {
	padding: 0;
}
body.single-product .product-main > .row > .col.product-gallery {
	padding-right: 50px;
}
body.single-product .product-main > .row > .col.product-gallery img {
	width: 100%;
}
.gallery-image-item {
	margin-bottom: 30px;
}
body.single-product
	.product-main
	> .row
	> .col.product-gallery
	.is-sticky-column {
	top: 0px;
}
body.single-product
	.product-main
	> .row
	> .col.product-gallery
	.is-sticky-column
	.product-images
	> .woocommerce-product-gallery__wrapper
	> *:last-child {
	margin-bottom: 0;
}
body.single-product .product-main > .row > .col.product-info {
	padding-right: 50px;
	padding-top: 40px;
}
body.single-product .product-main > .row > .col.product-info .product-sku {
	font-size: 0.75em;
	color: #00000075;
}
body.single-product .product-main > .row > .col.product-info h1 {
	font-size: 2.8em;
	margin-bottom: 7px;
	margin-top: 10px;
}
body.single-product .product-main > .row > .col.product-info .tema-colore {
	display: flex;
	gap: 12px;
	margin-bottom: 20px;
}
body.single-product .product-main > .row > .col.product-info .tema-colore p {
	background-color: #989e794d;
	text-transform: uppercase;
	padding: 4px 17px;
	border-radius: 100px;
	display: inline-block;
	font-size: 0.65em;
	margin-bottom: 0;
}
body.single-product
	.product-main
	> .row
	> .col.product-info
	.descrizione-lunga {
	margin-bottom: 30px;
}
body.single-product
	.product-main
	> .row
	> .col.product-info
	.descrizione-lunga
	> p {
	margin-bottom: 0;
	font-weight: 300;
	line-height: 1.2;
}
body.single-product
	.product-main
	> .row
	> .col.product-info
	.descrizione-lunga
	p.messaggio {
	opacity: 0.6;
	margin-top: 15px;
}
body.single-product .product-main > .row > .col.product-info .set-preview {
	padding: 20px 0;
}
body.single-product .product-main > .row > .col.product-info .set-preview > p {
	font-size: 1.4em;
	margin-bottom: 20px;
}

body.single-product
	.product-main
	> .row
	> .col.product-info
	.set-preview
	.dimensioni {
	margin-top: 20px;
	font-weight: 300;
}
body.single-product
	.product-main
	> .row
	> .col.product-info
	.set-preview
	.dimensioni
	> p {
	margin-bottom: 0px;
}

body.single-product .variations tr,
body.single-product .custom-sigillo-section tr {
	display: flex;
	flex-wrap: wrap;
	padding: 20px 0;
	border-top: 1px solid #00000060;
}
body.single-product .variations tr th.label,
body.single-product .custom-sigillo-section tr th.label {
	padding-right: 0;
	width: 100%;
	border-bottom: 0;
}
body.single-product .variations tr th.label > label,
body.single-product .custom-sigillo-section tr th.label > label {
	display: none;
}
body.single-product .variations tr th.label > button,
body.single-product .custom-sigillo-section tr th.label > button {
	border: none;
	background-color: transparent;
	padding: 0;
	margin: 0;
	min-height: unset;
	line-height: 1;
	text-transform: none;
	font-size: 1.4em;
	display: flex;
	align-items: center;
	font-weight: 400;
}
body.single-product .variations tr th.label > button:before,
body.single-product .custom-sigillo-section tr th.label > button:before {
	content: "";
	background-image: url("/wp-content/uploads/2025/07/freccia-giu.png");
	width: 10px;
	height: 5px;
	display: inline-block;
	background-size: contain;
	margin-right: 5px;
	background-position: center;
	transition: all 0.3s;
}
body.single-product .variations tr th.label > label,
body.single-product .custom-sigillo-section tr th.label > label {
	display: none;
}
body.single-product .custom-sigillo-section tr td.value {
	padding: 0;
	border: none;
}
body.single-product .variations tr td.value .ux-swatches,
body.single-product .custom-sigillo-section tr td.value .ux-swatches {
	width: 100%;
	align-items: stretch;
}
body.single-product .variations tr td.value .ux-swatches .ux-swatch--image,
body.single-product
	.custom-sigillo-section
	tr
	td.value
	.ux-swatches
	.ux-swatch--image {
	width: calc(25% - (30px / 4));
	height: auto;
	box-shadow: none;
	border: 1px solid #00000060;
	flex-direction: column;
	justify-content: flex-start;
}
body.single-product
	.variations
	tr
	td.value
	.ux-swatches
	.ux-swatch--image.selected,
body.single-product
	.custom-sigillo-section
	tr
	td.value
	.ux-swatches
	.ux-swatch--image.selected {
	border: 1.5px solid #000000;
} 
body.single-product
	.variations
	tr
	td.value
	.ux-swatches
	.ux-swatch--image
	.ux-swatch__text,
body.single-product
	.custom-sigillo-section
	tr
	td.value
	.ux-swatches
	.ux-swatch--image
	.ux-swatch__text {
	display: block;
	white-space: wrap;
	text-align: center;
	padding: 10px 5px 5px;
	color: #000;
	font-weight: 300;
}
body.single-product .variations tr td.value .ux-swatch--image > img,
body.single-product
	.custom-sigillo-section
	tr
	td.value
	.ux-swatches
	.ux-swatch--image
	> img {
	width: 100%;
}
body.single-product
	.custom-sigillo-section
	tr
	td.value
	.ux-swatches
	.ux-swatch--image
	> img {
	padding: 20px;
}
/* TEMPORANEO */
body.single-product .variations tr td.value,
body.single-product .custom-sigillo-section tr td.value {
	display: none;
	flex-wrap: wrap;
}
/*
body.single-product
	.custom-sigillo-section
	tr:has(th.label > label[for="pa_sigillo"]) {
	display: none;
}
body.single-product .variations tr.aperto td.value,
body.single-product
	.custom-sigillo-section
	tr.visibile:has(th.label > label[for="pa_sigillo"]),
body.single-product
	.custom-sigillo-section
	tr.aperto:has(th.label > label[for="pa_sigillo"])
	td.value {
	display: flex;
	flex-wrap: wrap;
}*/

body.single-product .variations tr.aperto td.value,
body.single-product .custom-sigillo-section tr.aperto td.value {
	display: flex;
}
body.single-product .variations tr.aperto th button:before,
body.single-product .custom-sigillo-section tr.aperto th button:before {
	transform: rotate(-180deg);
}

body.single-product
	.ux-swatches[data-attribute_name="custom_sigillo"]
	.ux-swatch[data-value="nessuno"] {
	display: none;
}

body.single-product .custom-sigillo-section tr td.value p.info-sigillo {
	display: block;
	margin-top: 15px;
	font-size: 1em;
	color: #000;
	font-weight: 300;
	position: relative;
}

body.single-product
	.custom-sigillo-section
	tr
	td.value
	p.info-sigillo
	.tooltip-trigger,
body.single-product .extra .cambio-font .tooltip-trigger,
body.single-product .tempi-lavorazione .tooltip-trigger {
	text-decoration: underline;
	font-style: italic;
	font-weight: 300;
	color: #00000060;
	font-size: 0.9em;
}

body.single-product
	.custom-sigillo-section
	tr
	td.value
	p.info-sigillo
	.tooltip-content,
body.single-product .extra .cambio-font .tooltip-content,
body.single-product .tempi-lavorazione .tooltip-content {
	position: absolute;
	bottom: 100%;
	left: 0;
	background: #f8f9f5;
	color: #000;
	padding: 35px 25px 45px;
	border-radius: 16px;
	box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
	width: 300px;
	z-index: 9000;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.3s,
		visibility 0.3s;
	margin-bottom: 10px;
}
body.single-product .tempi-lavorazione .tooltip-content {
	width: 400px;
}

body.single-product
	.custom-sigillo-section
	tr
	td.value
	p.info-sigillo
	.tooltip-content::after,
body.single-product .extra .cambio-font .tooltip-content::after,
body.single-product .tempi-lavorazione .tooltip-content::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 30px;
	border: 10px solid transparent;
	border-top-color: #f8f9f5;
}

body.single-product
	.custom-sigillo-section
	tr
	td.value
	p.info-sigillo
	.tooltip-trigger:hover
	+ .tooltip-content,
body.single-product
	.custom-sigillo-section
	tr
	td.value
	p.info-sigillo
	.tooltip-content:hover,
body.single-product .extra .cambio-font div p:hover + .tooltip-content,
body.single-product .extra .cambio-font div .tooltip-content:hover,
body.single-product .tempi-lavorazione > p:hover + .tooltip-content,
body.single-product .tempi-lavorazione > .tooltip-content:hover {
	opacity: 1;
	visibility: visible;
}

body.single-product
	.custom-sigillo-section
	tr
	td.value
	p.info-sigillo
	.tooltip-content
	.titolo,
body.single-product .extra .cambio-font .tooltip-content .titolo,
body.single-product .tempi-lavorazione .tooltip-content .titolo {
	font-weight: 400;
	margin-bottom: 8px;
	font-size: 17px;
	line-height: 1.2;
}

body.single-product
	.custom-sigillo-section
	tr
	td.value
	p.info-sigillo
	.tooltip-content
	.testo,
body.single-product .extra .cambio-font .tooltip-content .testo,
body.single-product .tempi-lavorazione .tooltip-content .testo {
	font-size: 15px;
	line-height: 1.2;
	margin: 0;
	font-weight: 300;
}
body.single-product .woocommerce-variation-price {
	display: none;
}

body.single-product .woocommerce-variation-add-to-cart {
	padding: 0;
	margin-top: -15px;
}
body.single-product .box-attributi-soli {
	margin: 0;
	font-weight: 300;
	border-top: 1px solid #00000060;
	padding: 20px 0;
}
body.single-product .box-attributi-soli .titolo {
	font-size: 1.4em;
	font-weight: 400;
	margin-bottom: 5px;
}
body.single-product .box-attributi-soli span {
	font-weight: 400;
}

body.single-product .extra {
	border: 1px solid #00000060;
	border-left: none;
	border-right: none;
	padding: 20px 0;
	margin-bottom: 20px;
	margin-top: 0;
}
body.single-product .extra > p {
	font-size: 1.4em;
	margin-bottom: 7px;
}

body.single-product .extra .tag-name,
body.single-product .extra .cambio-font,
body.single-product .tempi-lavorazione {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	position: relative;
}
body.single-product .tempi-lavorazione {
	padding: 15px 0 0;
}
body.single-product .extra .tag-name input,
body.single-product .extra .cambio-font input {
	margin: 3px 0 0;
}
body.single-product .extra .tag-name > div,
body.single-product .extra .cambio-font > div {
	display: flex;
	justify-content: space-between;
	width: calc(100% - 10px - 14px);
	font-weight: 400;
	line-height: 1.4;
	padding-left: 30px;
}

body.single-product .extra .tag-name > div > p > span {
	font-weight: 300;
}
body.single-product .extra .cambio-font > div > p a {
	font-weight: 300;
	text-decoration: underline;
	font-style: italic;
	opacity: 0.6;
}

body.single-product .extra .tag-name input[type="checkbox"],
body.single-product .extra .cambio-font input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}
body.single-product .extra .tag-name input[type="checkbox"] + span.checkbox,
body.single-product .extra .cambio-font input[type="checkbox"] + span.checkbox {
	position: absolute;
	left: 0;
	top: 1px;
	width: 20px;
	height: 20px;
	border: 1px solid #000000;
	border-radius: 50%;
	background-color: white;
	transition: all 0.3s ease;
	cursor: pointer;
}

body.single-product
	.extra
	.tag-name
	input[type="checkbox"]:checked
	+ span.checkbox,
body.single-product
	.extra
	.cambio-font
	input[type="checkbox"]:checked
	+ span.checkbox {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>');
	background-size: 80%;
	background-repeat: no-repeat;
	background-position: center;
	z-index: 1;
}
body.single-product .cart > .ux-quantity.quantity {
	display: none;
}
body.single-product .quantita-prezzo {
	display: flex;
	gap: 20px;
}
body.single-product .quantita-prezzo p {
	margin-bottom: 0;
}
body.single-product .quantita-prezzo .woocommerce-Price-amount {
	font-weight: 300;
	font-size: 1.5em;
}
body.single-product .quantita-prezzo .woocommerce-Price-currencySymbol {
	font-size: 1em;
}
body.single-product .quantita-prezzo .quantita {
	display: flex;
	align-items: center;
	gap: 5px 30px;
	margin-top: 10px;
}
body.single-product .quantita-prezzo .prezzo {
	background-color: #f8f9f5;
	padding: 30px;
}
body.single-product .quantita-prezzo .prezzo #totale {
	font-size: 3em;
	font-weight: 300;
}
body.single-product .quantita-prezzo > div {
	width: 50%;
}

body.single-product .quantita-prezzo .quantita .quantity input {
	border: none;
	box-shadow: none;
	color: #000;
	background-color: #f8f9f5;
}
body.single-product .quantita-prezzo .quantita .quantity input[type="button"] {
	background-color: #e0e2d7;
	font-size: 1.3em;
	min-height: unset;
	line-height: 1;
	color: #000;
	border-radius: 27px;
	font-weight: 300;
	font-family: Helvetica, sans-serif;
	padding: 0;
	width: 35px;
	height: 1.919em;
}
body.single-product .quantita-prezzo .quantita .quantity .button.minus {
	padding-bottom: 0px;
}
body.single-product .quantita-prezzo .quantita .quantity .button.minus.min {
	background-color: #e0e2d730;
}
body.single-product .single_add_to_cart_button {
	background-color: #000;
	border-radius: 100px;
	opacity: 1;
	font-weight: 400;
}
body.single-product .single_add_to_cart_button:hover {
	background-color: #705894;
}

body.single-product .woocommerce-variation-add-to-cart > .ux-quantity,
body.single-product .woocommerce-variation-add-to-cart > .ux-quantity * {
	display: none;
}

body.single-product .faq {
	padding: 0;
	margin-top: 20px;
}
body.single-product .faq .accordion-item {
	border-bottom: 1px solid #00000030;
	padding: 10px 0;
}
body.single-product .faq .accordion-item a {
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: row-reverse;
	border-top: unset;
}
body.single-product .faq .accordion-item a span {
	line-height: 1;
}

body.single-product .faq .accordion-item a.active {
	background-color: transparent;
}
body.single-product .faq .accordion-item a.active span {
	font-weight: 400;
	color: #000;
}
body.single-product .faq .accordion-item a button {
	position: relative;
	top: unset;
	left: unset;
}
body.single-product .faq .accordion-item a button i {
	color: #000;
	font-size: 1.2em;
	font-weight: 300;
}
body.single-product .faq .accordion-item .accordion-inner {
	padding: 0;
}
body.single-product .faq .accordion-item .accordion-inner p {
	padding-bottom: 0px;
	font-weight: 300;
	font-size: 0.95em;
	margin: 0;
}
body.single-product .product-footer > .container {
	max-width: 100%;
	padding: 0;
}

body.single-product .product-footer > .container > h2 {
	width: calc(100% - 170px);
	margin: 100px auto 0;
	font-size: 2.8em;
	font-family: "futura-pt", sans-serif;
}
body.single-product .product-footer > .container > img.onda {
	margin-top: -9vw;
}
.mobile-product-gallery-wrapper {
	display: none;
}

@media screen and (max-width: 1330px) {
	body.single-product .quantita-prezzo {
		justify-content: space-between;
	}
	body.single-product .quantita-prezzo .prezzo {
		padding: 20px 20px 10px;
		max-width: 50%;
	}
	body.single-product .quantita-prezzo .quantita {
		gap: 5px 20px;
	}
	body.single-product .quantita-prezzo > div {
		width: 100%;
		max-width: 185px;
	}
	body.single-product .quantita-prezzo .prezzo #totale {
		font-size: 2.2em;
	}
}

@media screen and (max-width: 1200px) {
	body.single-product .product-main > .row > .col.product-gallery {
		padding-right: 50px;
		flex-basis: 58.3333333333%;
		max-width: 58.3333333333%;
	}
	body.single-product .product-main > .row > .col.product-info {
		flex-basis: 41.66666667%;
		max-width: 41.66666667%;
	}
}

@media screen and (max-width: 1024px) {
	body.single-product .product-main > .row {
		flex-direction: column-reverse;
		padding-left: 20px;
		padding-right: 20px;
	}
	body.single-product .product-main > .row > .col.product-gallery {
		padding-right: 0px;
		flex-basis: 100%;
		max-width: 100%;
		display: none;
	}
	body.single-product .product-main > .row > .col.product-info {
		padding-right: 0px;
		flex-basis: 100%;
		max-width: 100%;
		padding-bottom: 50px;
	}
	body.single-product
		.product-main
		> .row
		> .col.product-info
		.descrizione-lunga {
		max-width: 85%;
	}

	.mobile-product-gallery-wrapper {
		display: block;
	}
}

@media screen and (max-width: 767px) {
	body.single-product .product-footer > .container > img.onda {
		display: none;
	}
}

@media screen and (max-width: 550px) {
	body.single-product .product-main > .row > .col.product-info h1 {
		font-size: 2.4em;
	}
	body.single-product
		.product-main
		> .row
		> .col.product-info
		.descrizione-lunga {
		max-width: 100%;
	}
	body.single-product .variations tr td.value .ux-swatches .ux-swatch--image,
	body.single-product
		.custom-sigillo-section
		tr
		td.value
		.ux-swatches
		.ux-swatch--image {
		width: calc(33.33333333334% - (20px / 3));
	}
	body.single-product
		.custom-sigillo-section
		tr
		td.value
		p.info-sigillo
		.tooltip-content,
	body.single-product .extra .cambio-font .tooltip-content,
	body.single-product .tempi-lavorazione .tooltip-content {
		width: 260px;
	}
}

@media screen and (max-width: 550px) {
	body.single-product .quantita-prezzo {
		flex-direction: column;
		align-items: flex-start;
	}
	body.single-product .quantita-prezzo > div:not(.prezzo) {
		flex-direction: column;
		display: flex;
	}
	body.single-product .quantita-prezzo > div,
	body.single-product .quantita-prezzo .prezzo {
		max-width: 100%;
	}
	body.single-product .quantita-prezzo .prezzo {
		text-align: center;
	}
	body.single-product .single_add_to_cart_button {
		width: 100%;
	}
	body.single-product .quantita-prezzo .quantita {
		order: 1;
		margin-bottom: 20px;
		flex-direction: row-reverse;
		justify-content: flex-end;
	}
	body.single-product .quantita-prezzo p {
		order: 2;
	}
	body.single-product .quantita-prezzo span {
		order: 3;
	}
	body.single-product .extra {
		margin-bottom: 0;
	}
	body.single-product .faq {
		margin-top: 0;
	}
}
