body.single-product #page {
	padding-top: 180px;
}

.single-product .woocommerce-breadcrumb {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: var(--text);
	font-weight: bold;
	display: block;
	margin: 0 0 30px;
}

.product-layout {
	align-items: flex-start;
	gap: 60px;
}

.product-gallery-col {
	flex: 0 0 50%;
	min-width: 0;
	position: sticky; 
	top: 20px;
}

.product-gallery-slider {
	width: 100%;
	overflow: hidden;
}

.product-gallery-slider__track,
.product-gallery-slider {
	display: flex;
	align-items: flex-start;
	width: 100%;
}

.product-gallery-slider__item {
	flex: 0 0 100%;
	width: 100%;
	position: relative;
}

.product-gallery-slider__video-toggle {
	position: absolute;
	bottom: 20px;
	left: 20px;
	width: 40px;
	height: 40px;
	border: 1px solid #eaeaea;
	box-shadow: 0px 0px 10px rgba(0,0,0,.1);
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--bg);
	border-radius: 50px;
	cursor: pointer;
}

.product-gallery-slider__video-toggle[aria-pressed="true"] .product-gallery-slider__video-toggle-icon--play,
.product-gallery-slider__video-toggle[aria-pressed="false"] .product-gallery-slider__video-toggle-icon--pause{
	display: none;
}

.product-gallery-slider__video-toggle img.product-gallery-slider__video-toggle-icon {
	width: 18px;
	height: 18px;
}

.product-gallery-slider__item img,
.product-gallery-slider__item video {
	width: 100%;
	height: auto;
	display: block;
}

.product-info-col {
	flex: 0 0 calc(50% - 60px);
}


.product-info-col .product-sku {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: var(--text);
	font-weight: bold;
	display: block;
	margin: 0 0 30px;
}

.product-info-col h1 {
	font-size: 52px;
	font-family: var(--ff2);
	font-weight: 400;
	margin: 30px 0;
}

.product-excerpt {
	font-size: 16px;
	line-height: 1.5;
	color: var(--lg-text);
	opacity: .85;
	margin-bottom: 40px;
}

.product-categories {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
}

.product-categories a {
	background-color: #f5f5f5;
	color: var(--2);
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 600;
	text-decoration: none;
	font-size: 12px;
	padding: 10px 20px;
	border-radius: 8px;
}

.product-facts-box {
	border-bottom: 1px solid #eaeaea;
	padding-bottom: 40px;
}

.product-facts-box .fact-label,
.product-facts-box .product-facts .fact dt {
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	display: flex;
	position: relative;
	align-items: center;
	margin-bottom: 5px;
}

.product-price * {
	color: var(--1)
}

.product-price .price {
	margin: 0;
}

.product-price .amount {
	font-size: 24px;
	font-weight: 500;
}

.product-price .amount .woocommerce-Price-currencySymbol {
	font-size: 16px;
}

.product-facts {
	margin-top: 0;
	display: flex;
}

.product-facts .fact:not(:last-child) {
	padding: 0 24px;
	border: 1px solid #eaeaea;
	border-width: 0 1px;
	margin: 0 24px;
}

.product-facts-box .product-facts .fact .info-tooltip__text {
	position: absolute;
	left: 0;
	top: 25px;
	transition: .4s;
	width: 200px;
	background-color: #fff;
	border-radius: 6px;
	border: 1px solid #eaeaea;
	box-shadow: 0px 0px 10px rgba(0,0,0,.1);
	padding: 15px;
	font-size: 12px;
	font-weight: 400;
	z-index: 1;
	color: var(--1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
}

.product-facts-box .product-facts .fact .info-tooltip__text.is-active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.product-facts-box .product-facts .fact .info-tooltip-trigger {
	border: none;
	background: none;
	padding: 0;
	margin: 0;
	width: 16px;
	height: 16px;
	margin-left: 4px;
	cursor: pointer;
}

.product-facts-box .product-facts .fact dd {
	margin-left: 0;
}

.product-facts-box .product-facts .fact dd {
	font-size: 18px;
	font-weight: 500;
}

.product-price-facts {
	flex: 0 0 100%;
	display: flex;
}

.product-facts-box .cta {
	margin-top: 40px;
	display: table;
}

.product-certification-box {
	padding: 40px 0;
	display: flex;
	gap: 40px;
	align-items: center;
}

.product-certification-box img {
	width: 200px;
	height: auto;
}

.product-certification-box h2 {
	margin: 0;
}

.product-pietre-table {
	margin-top: 40px;
	border-collapse: collapse;
	width: 100%;
}

.product-pietre-table thead th {
	color: var(--text);
	font-weight: 600;
	font-size: 14px;
	padding: 0 20px 10px;
	text-align: left;
	border-bottom: 1px solid #eaeaea;
}

.product-pietre-table tbody td {
	padding: 10px 20px;
	font-weight: 500;
	color: var(--1);
	font-size: 14px;
}

.product-pietre-table tbody tr:nth-child(even) td {
	background-color: #f5f5f5;
}

.product-certification-box h2 {
	font-size: 32px;
	font-family: var(--ff2);
	color: var(--1);
	font-weight: 400;
}

.product-gallery-thumbs {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.product-gallery-thumbs .product-gallery-thumbs__item {
	border: 1px solid #eaeaea;
	padding: 0;
	background: none;
	border-radius: 8px;
	width: 100px;
	height: 100px;
	cursor: pointer;
	position: relative;
}

.product-gallery-thumbs .product-gallery-thumbs__item img {
	width: 100%;
	border-radius: 8px;
}

.product-gallery-thumbs .product-gallery-thumbs__play-icon {
	position: absolute;
	bottom: 10px;
	left: 10px;
	width: 16px;
	max-width: 16px;
	height: 16px;
	filter: invert(1);
	opacity: .2;
	border-radius: 0px;
}

.product-description-accordion {
	padding-top: 40px;
	padding-bottom: 40px;
	border: 1px solid #eaeaea;
	border-width: 0 0 1px;
}

.product-description-accordion summary {
	list-style: none;
	font-size: 24px;
	font-family: var(--ff2);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.product-description-accordion[open] summary .product-description-accordion__icon {
	transform: rotate(45deg);
}

.related-products-section {
	margin-top: 80px;
	background-color: rgba(214,212,207,.48);
	padding-bottom: 100px;
}

.related-products-section h2 {
	color: var(--1);
	flex: 0 0 100%;
} 

ul.related-products-grid {
	padding: 0;
	margin: 0;
	display: flex;
	gap: 20px;
	flex: 0 0 100%;
}

/* ══ RESPONSIVE ══════════════════════════════════════════════════════════ */

@media screen and (max-width: 991px) {

	body.single-product #page {
		padding-top: 150px;
	}

	/* Galleria sopra, info sotto */
	.product-layout {
		gap: 40px;
	}

	.product-gallery-col,
	.product-info-col {
		flex: 0 0 100%;
	}

	.product-gallery-col {
		position: static;
	}

	.product-info-col h1 {
		font-size: 44px;
		margin: 20px 0;
	}

	.related-products-section {
		margin-top: 60px;
		padding-bottom: 70px;
	}

	ul.related-products-grid {
		flex-wrap: wrap;
	}
}

@media screen and (max-width: 767px) {

	body.single-product #page {
		padding-top: 120px;
	}

	.single-product .woocommerce-breadcrumb {
		margin-bottom: 20px;
		line-height: 1.6;
	}

	.product-info-col h1 {
		font-size: 32px;
	}

	.product-excerpt {
		margin-bottom: 30px;
	}

	.product-categories {
		flex-wrap: wrap;
		gap: 10px;
	}

	.product-categories a {
		padding: 8px 14px;
		font-size: 11px;
	}

	/* Prezzo + peso/metallo: a capo se non c'è spazio, separatori solo a destra */
	.product-price-facts {
		flex-wrap: wrap;
		row-gap: 20px;
	}

	.product-price {
		flex: 0 0 100%;
	}

	.product-facts {
		flex-wrap: wrap;
		row-gap: 16px;
	}

	.product-facts .fact:not(:last-child) {
		padding: 0 20px 0 0;
		margin: 0 20px 0 0;
		border-width: 0 1px 0 0;
	}

	.product-facts-box .product-facts .fact dd {
		font-size: 16px;
	}

	.product-facts-box {
		padding-bottom: 30px;
	}

	.product-facts-box .cta {
		margin-top: 30px;
	}

	/* Miniature: scorrono in orizzontale invece di andare a capo/uscire */
	.product-gallery-thumbs {
		overflow-x: auto;
		padding-bottom: 4px;
	}

	.product-gallery-thumbs .product-gallery-thumbs__item {
		flex: 0 0 72px;
		width: 72px;
		height: 72px;
	}

	/* Box certificazione: immagine sopra il testo */
	.product-certification-box {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		padding: 30px 0;
	}

	.product-certification-box img {
		width: 140px;
	}

	.product-certification-box h2 {
		font-size: 26px;
	}

	/* Accordion + tabella pietre */
	.product-description-accordion {
		padding-top: 24px;
		padding-bottom: 24px;
	}

	.product-description-accordion summary {
		font-size: 20px;
	}

	.product-pietre-table {
		margin-top: 24px;
	}

	.product-pietre-table thead th {
		padding: 0 6px 8px;
		font-size: 12px;
	}

	.product-pietre-table tbody td {
		padding: 8px 6px;
		font-size: 12px;
	}

	/* Correlati (2 card per riga: le card in content-product.css sono calc(50% - 6px)) */
	.related-products-section {
		margin-top: 40px;
		padding-bottom: 50px;
	}

	ul.related-products-grid {
		gap: 12px;
	}
}
