/*
 * Harmonia Tea - Single product V1
 * Copy to:
 * wp-content/themes/hello-elementor-child/assets/css/harmonia-product.css
 */

body.single-product {
	--ht-product-night: #000410;
	--ht-product-gold: #ffd28e;
	--ht-product-gold-soft: #f5c28f;
	--ht-product-paper: #fffdf9;
	--ht-product-text: #111318;
	--ht-product-line: rgba(0, 4, 16, 0.18);

	background: var(--ht-product-night);
}

body.single-product .site-main {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
}

.ht-single-product,
.ht-single-product *,
.ht-single-product *::before,
.ht-single-product *::after {
	box-sizing: border-box;
}

.ht-single-product {
	width: 100%;
	overflow: clip;
	color: var(--ht-product-text);
}

/* HERO */
.ht-product-hero {
	position: relative;
	padding: 72px 24px 80px;
	overflow: hidden;
	background:
		radial-gradient(circle at 78% 38%, rgba(67, 145, 150, 0.12), transparent 30%),
		var(--ht-product-paper);
	border-radius: 0 0 48px 48px;
}

.ht-product-hero__background-title {
	position: absolute;
	inset: 12px 0 auto;
	z-index: 0;
	overflow: hidden;
	color: rgba(0, 4, 16, 0.07);
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(92px, 16vw, 260px);
	font-weight: 400;
	line-height: 0.8;
	letter-spacing: 0.09em;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	pointer-events: none;
}

.ht-product-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
	align-items: center;
	gap: clamp(40px, 6vw, 100px);
	width: min(1420px, 100%);
	min-height: 650px;
	margin: 0 auto;
}

.ht-product-hero__content {
	width: min(610px, 100%);
	justify-self: end;
}

.ht-product-hero__title {
	margin: 0;
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(52px, 5vw, 82px);
	font-weight: 400;
	line-height: 0.95;
	text-transform: uppercase;
	text-align: left;
}

.ht-product-hero__subtitle {
	max-width: 620px;
	margin: 14px 0 0;
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(27px, 2.2vw, 38px);
	line-height: 1.05;
	text-align: left;
	text-transform: uppercase;
}

.ht-product-benefits {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 26px;
	margin: 26px 0;
}

.ht-product-benefit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ht-product-night);
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.15;
	text-transform: uppercase;
}

.ht-product-benefit__icon {
	color: var(--ht-product-gold-soft);
	font-size: 23px;
	line-height: 1;
}

.ht-product-hero__description {
	max-width: 600px;
	color: var(--ht-product-text);
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	line-height: 1.75;
}

.ht-product-hero__description p {
	margin: 0;
}

.ht-product-purchase {
	display: grid;
	grid-template-columns: auto minmax(280px, 1fr);
	align-items: end;
	gap: 28px;
	margin-top: 32px;
}

.ht-product-purchase__meta {
	display: flex;
	align-items: baseline;
	gap: 13px;
}

.ht-product-purchase__price,
.ht-product-purchase__price .price {
	color: var(--ht-product-night) !important;
	font-family: "Open Sans", sans-serif;
	font-size: 31px;
	font-weight: 700;
	line-height: 1;
}

.ht-product-purchase__weight {
	color: rgba(0, 4, 16, 0.65);
	font-size: 15px;
	font-weight: 700;
}

.ht-product-purchase__form form.cart {
	width: 100%;
	margin: 0 !important;
}

.ht-product-purchase__form .ht-add-to-cart-grid {
	gap: 14px;
}

.ht-product-purchase__form .ht-add-to-cart-grid .row {
	display: flex;
	justify-content: flex-end;
	gap: 15px;
}

.ht-product-purchase__form .ht-add-to-cart-grid .row:first-child .col:not(.col-3) {
	display: none;
}

.ht-product-purchase__form .ht-add-to-cart-grid .row:first-child .col-3 {
	flex: 0 0 auto;
}

.ht-product-purchase__form .ht-add-to-cart-grid .row:nth-of-type(2) {
	align-items: center;
}

.ht-product-purchase__form .ht-add-to-cart-grid .row:nth-of-type(2) .col-1,
.ht-product-purchase__form .ht-add-to-cart-grid .row:nth-of-type(2) .col-2 {
	display: none;
}

.ht-product-purchase__form .ht-add-to-cart-grid .row:nth-of-type(2) .col-3 {
	flex: 1 1 auto;
}

.ht-product-purchase__form .custom-quantity {
	justify-content: flex-end !important;
}

.ht-product-purchase__form .custom-qty-input {
	width: 74px !important;
	height: 44px;
}

.ht-product-purchase__form .custom-quantity .qty-btn {
	width: 44px;
	height: 44px;
}

.ht-product-purchase__form .ht-add-to-cart-button {
	width: 100%;
	min-height: 52px;
	margin: 0 !important;
	padding: 14px 24px !important;
	border: 0 !important;
	border-radius: 8px !important;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2 !important;
}

.ht-product-purchase__form .text-above-button,
.ht-product-purchase__form .text-under-button {
	text-align: right;
}

.ht-product-hero__gallery {
	min-width: 0;
}

.ht-product-hero__gallery .woocommerce-product-gallery {
	width: 100% !important;
	margin: 0 !important;
	opacity: 1 !important;
}

.ht-product-hero__gallery .woocommerce-product-gallery__wrapper {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.ht-product-hero__gallery .woocommerce-product-gallery__image {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-height: 520px;
}

.ht-product-hero__gallery img {
	display: block;
	width: min(620px, 100%) !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 auto !important;
	object-fit: contain;
}

/* DESCRIZIONE LUNGA: INGREDIENTI + PREPARAZIONE */
.ht-product-editorial {
	margin-top: 30px;
	padding: 0;
	background: transparent;
}

.ht-product-editorial .ht-product-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	width: min(1540px, calc(100% - 48px));
	margin: 0 auto 30px;
	overflow: hidden;
	background: var(--ht-product-paper);
	border-radius: 36px;
}

.ht-product-editorial .ht-product-grid > div {
	min-width: 0;
}

.ht-product-editorial .ht-product-grid > div:not(.ht-product-right-image) {
	padding: clamp(32px, 5vw, 78px);
}

.ht-product-editorial video,
.ht-product-editorial .ht-product-right-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 600px;
	object-fit: cover;
}

.ht-product-editorial .ht-product-ingredients-font {
	margin: 0 0 36px;
	color: var(--ht-product-night);
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(43px, 5vw, 78px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.12em !important;
	text-align: center;
	text-transform: uppercase;
}

.ht-product-editorial .ht-product-ingredients-container {
	display: grid;
	gap: 25px;
}

.ht-product-editorial .ht-product-single-ingredient-card {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr);
	align-items: start;
	gap: 20px;
	width: 100% !important;
	margin: 0;
}

.ht-product-editorial .ht-product-single-ingredient-card > img {
	width: 54px !important;
	max-width: 54px;
	height: 54px;
	margin: 0 !important;
	object-fit: contain;
}

.ht-product-editorial .ht-product-single-ingredient-text {
	width: auto;
	margin: 0;
	color: var(--ht-product-night);
	font-family: "Open Sans", sans-serif;
}

.ht-product-editorial .ht-product-single-ingredient-text p {
	margin: 0;
}

.ht-product-editorial .ht-ingredient-title {
	font-size: 16px;
	font-weight: 800;
	line-height: 1.3;
	text-transform: uppercase;
}

.ht-product-editorial .ht-ingredient-desc {
	display: inline-block;
	margin-top: 6px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.65;
}

.ht-product-editorial .ht-preparation-grid > div:first-child {
	order: 2;
}

.ht-product-editorial .ht-preparation-grid .ht-product-single-ingredient-card {
	grid-template-columns: minmax(0, 1fr) 62px;
}

.ht-product-editorial .ht-preparation-grid .ht-product-single-ingredient-text {
	text-align: right;
}

.ht-product-editorial .ht-section_separator-wrapper,
.ht-product-editorial .ht-section-separator-wrapper {
	display: none;
}

/* FAQ */
.ht-product-faq,
.ht-product-related,
.ht-product-reviews {
	width: min(1540px, calc(100% - 48px));
	margin: 30px auto;
	padding: clamp(40px, 6vw, 85px);
	background: var(--ht-product-paper);
	border-radius: 36px;
}

.ht-product-section-heading {
	margin-bottom: 42px;
	text-align: center;
}

.ht-product-section-heading p {
	margin: 0 0 8px;
	color: rgba(0, 4, 16, 0.55);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.ht-product-section-heading h2 {
	margin: 0;
	color: var(--ht-product-night);
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(45px, 5vw, 76px);
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ht-product-faq__list {
	max-width: 1050px;
	margin: 0 auto;
	border-bottom: 1px solid var(--ht-product-line);
}

.ht-product-faq__item {
	border-top: 1px solid var(--ht-product-line);
}

.ht-product-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 24px 0;
	color: var(--ht-product-night);
	font-size: 16px;
	font-weight: 800;
	list-style: none;
	cursor: pointer;
}

.ht-product-faq__item summary::-webkit-details-marker {
	display: none;
}

.ht-product-faq__toggle {
	position: relative;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
}

.ht-product-faq__toggle::before,
.ht-product-faq__toggle::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 2px;
	background: var(--ht-product-night);
	content: "";
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease;
}

.ht-product-faq__toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.ht-product-faq__item[open] .ht-product-faq__toggle::after {
	transform: translate(-50%, -50%) rotate(0);
}

.ht-product-faq__answer {
	padding: 0 60px 24px 0;
	color: rgba(0, 4, 16, 0.75);
	font-size: 15px;
	line-height: 1.7;
}

.ht-product-faq__answer p {
	margin: 0;
}

/* RELATED / REVIEWS */
.ht-product-related .related.products,
.ht-product-reviews #reviews {
	margin: 0;
	padding: 0;
	overflow: visible;
}

.ht-product-related:empty,
.ht-product-reviews:empty {
	display: none;
}

/* TABLET */
@media (max-width: 1024px) {
	.ht-product-hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
		gap: 45px;
	}

	.ht-product-purchase {
		grid-template-columns: 1fr;
		align-items: stretch;
	}

	.ht-product-purchase__form .ht-add-to-cart-grid .row {
		justify-content: flex-start;
	}

	.ht-product-purchase__form .custom-quantity {
		justify-content: flex-start !important;
	}

	.ht-product-purchase__form .text-above-button,
	.ht-product-purchase__form .text-under-button {
		text-align: left;
	}

	.ht-product-editorial .ht-product-grid {
		grid-template-columns: 0.85fr 1.15fr;
	}

	.ht-product-editorial video,
	.ht-product-editorial .ht-product-right-image img {
		min-height: 520px;
	}
}

/* MOBILE */
@media (max-width: 767px) {
	body.single-product .site-main {
		overflow: hidden;
	}

	.ht-product-hero {
		padding: 45px 18px 55px;
		border-radius: 0 0 28px 28px;
	}

	.ht-product-hero__background-title {
		top: 18px;
		font-size: 25vw;
		line-height: 0.85;
		letter-spacing: 0.04em;
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.ht-product-hero__inner {
		display: flex;
		flex-direction: column;
		min-height: 0;
		gap: 25px;
	}

	.ht-product-hero__content {
		display: contents;
	}

	.ht-product-hero__header {
		order: 1;
		width: 100%;
	}

	.ht-product-hero__title {
		font-size: clamp(43px, 13vw, 62px);
	}

	.ht-product-hero__subtitle {
		font-size: clamp(24px, 7vw, 34px);
	}

	.ht-product-hero__gallery {
		order: 2;
		width: 100%;
	}

	.ht-product-hero__gallery .woocommerce-product-gallery__image {
		min-height: 320px;
	}

	.ht-product-hero__gallery img {
		width: min(390px, 100%) !important;
	}

	.ht-product-benefits {
		order: 3;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		width: 100%;
		gap: 10px;
		margin: 5px 0 0;
	}

	.ht-product-benefit {
		flex-direction: column;
		gap: 6px;
		font-size: 11px;
		text-align: center;
	}

	.ht-product-hero__description {
		order: 4;
		width: 100%;
		font-size: 15px;
		line-height: 1.7;
	}

	.ht-product-purchase {
		order: 5;
		width: 100%;
		gap: 18px;
		margin-top: 0;
	}

	.ht-product-purchase__meta {
		justify-content: center;
	}

	.ht-product-purchase__form .ht-add-to-cart-grid .row,
	.ht-product-purchase__form .custom-quantity {
		justify-content: center !important;
	}

	.ht-product-purchase__form .text-above-button,
	.ht-product-purchase__form .text-under-button {
		text-align: center;
	}

	.ht-product-editorial {
		margin-top: 18px;
	}

	.ht-product-editorial .ht-product-grid {
		grid-template-columns: 1fr;
		width: calc(100% - 24px);
		margin-bottom: 18px;
		border-radius: 24px;
	}

	.ht-product-editorial .ht-product-grid > div:not(.ht-product-right-image) {
		padding: 34px 22px 40px;
	}

	.ht-product-editorial video,
	.ht-product-editorial .ht-product-right-image img {
		min-height: 320px;
		max-height: 470px;
	}

	.ht-product-editorial .ht-product-ingredients-font {
		margin-bottom: 28px;
		font-size: clamp(38px, 12vw, 54px);
		letter-spacing: 0.08em !important;
	}

	.ht-product-editorial .ht-product-single-ingredient-card,
	.ht-product-editorial .ht-preparation-grid .ht-product-single-ingredient-card {
		grid-template-columns: 48px minmax(0, 1fr);
		gap: 15px;
	}

	.ht-product-editorial .ht-product-single-ingredient-card > img {
		width: 44px !important;
		max-width: 44px;
		height: 44px;
	}

	.ht-product-editorial .ht-preparation-grid > div:first-child {
		order: initial;
	}

	.ht-product-editorial .ht-preparation-grid .ht-product-single-ingredient-text {
		order: 2;
		text-align: left;
	}

	.ht-product-editorial .ht-preparation-grid .ht-product-single-ingredient-card > img {
		order: 1;
	}

	.ht-product-faq,
	.ht-product-related,
	.ht-product-reviews {
		width: calc(100% - 24px);
		margin: 18px auto;
		padding: 38px 20px;
		border-radius: 24px;
	}

	.ht-product-section-heading {
		margin-bottom: 28px;
	}

	.ht-product-section-heading h2 {
		font-size: clamp(38px, 11vw, 54px);
		letter-spacing: 0.07em;
	}

	.ht-product-faq__item summary {
		gap: 16px;
		padding: 19px 0;
		font-size: 14px;
	}

	.ht-product-faq__answer {
		padding: 0 0 20px;
		font-size: 14px;
	}
}

/* ==========================================================
   V2 — CORREZIONI HERO / HEADER FISSO / ACQUISTO
   ========================================================== */

/* Evita che l'inizio della pagina finisca dietro banner + header fisso. */
body.single-product .site-main {
	padding-top: calc(var(--ht-banner-height, 0px) + 96px) !important;
}

/* Hero più compatta e contenuti sempre completamente visibili. */
.ht-product-hero {
	padding-top: 52px;
}

.ht-product-hero__background-title {
	top: 28px;
}

/* Allinea meglio prezzo, quantità e CTA in un unico blocco. */
.ht-product-purchase {
	grid-template-columns: 120px minmax(300px, 1fr);
	align-items: center;
	gap: 24px;
}

.ht-product-purchase__meta {
	flex-direction: column;
	align-items: flex-start;
	gap: 7px;
}

.ht-product-purchase__form .stock {
	display: none !important;
}

.ht-product-purchase__form .ht-add-to-cart-grid {
	display: grid;
	grid-template-columns: auto minmax(230px, 1fr);
	align-items: center;
	gap: 14px 18px;
}

.ht-product-purchase__form .ht-add-to-cart-grid .row {
	display: contents;
}

.ht-product-purchase__form .ht-add-to-cart-grid .row:first-child .col-1,
.ht-product-purchase__form .ht-add-to-cart-grid .row:first-child .col-2,
.ht-product-purchase__form .ht-add-to-cart-grid .row:nth-of-type(2) .col-1,
.ht-product-purchase__form .ht-add-to-cart-grid .row:nth-of-type(2) .col-2 {
	display: none !important;
}

.ht-product-purchase__form .ht-add-to-cart-grid .row:first-child .col-3 {
	grid-column: 1;
	grid-row: 1;
}

.ht-product-purchase__form .ht-add-to-cart-grid .row:nth-of-type(2) .col-3 {
	grid-column: 2;
	grid-row: 1;
}

.ht-product-purchase__form .custom-quantity {
	display: grid !important;
	grid-template-columns: 42px 68px 42px;
	gap: 7px;
	justify-content: start !important;
}

.ht-product-purchase__form .custom-quantity .qty-btn {
	display: inline-flex !important;
	width: 42px !important;
	height: 42px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(0, 4, 16, 0.45) !important;
	color: var(--ht-product-night) !important;
	font-size: 19px !important;
	line-height: 1 !important;
}

.ht-product-purchase__form .custom-qty-input {
	width: 68px !important;
	height: 42px !important;
	margin: 0 !important;
}

.ht-product-purchase__form .ht-add-to-cart-button {
	min-height: 48px;
}

.ht-product-purchase__form .text-under-button {
	grid-column: 1 / -1;
	margin-top: 3px;
}

/* La galleria non deve ereditare dimensioni troppo ampie dal vecchio CSS. */
.ht-product-hero__gallery .woocommerce-product-gallery__wrapper,
.ht-product-hero__gallery .woocommerce-product-gallery__image,
.ht-product-hero__gallery .woocommerce-product-gallery__image img {
	max-width: 100% !important;
}

/* Se il video non è ancora caricato, il poster deve riempire la colonna. */
.ht-product-editorial .ht-ingredient-video {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 600px;
	object-fit: cover;
	background: #f4f1eb;
}

/* Tablet */
@media (max-width: 1024px) {
	body.single-product .site-main {
		padding-top: calc(var(--ht-banner-height, 0px) + 96px) !important;
	}

	.ht-product-purchase {
		grid-template-columns: 1fr;
	}

	.ht-product-purchase__meta {
		flex-direction: row;
		align-items: baseline;
	}

	.ht-product-purchase__form .ht-add-to-cart-grid {
		grid-template-columns: auto minmax(220px, 1fr);
	}
}

/* Mobile */
@media (max-width: 767px) {
	body.single-product .site-main {
		padding-top: calc(var(--ht-banner-height, 0px) + 92px) !important;
	}

	.ht-product-hero {
		padding-top: 34px;
	}

	.ht-product-hero__background-title {
		top: 16px;
		opacity: 0.65;
	}

	.ht-product-purchase__meta {
		justify-content: center;
	}

	.ht-product-purchase__form .ht-add-to-cart-grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.ht-product-purchase__form .ht-add-to-cart-grid .row:first-child .col-3,
	.ht-product-purchase__form .ht-add-to-cart-grid .row:nth-of-type(2) .col-3 {
		grid-column: 1;
		grid-row: auto;
	}

	.ht-product-purchase__form .custom-quantity {
		justify-content: center !important;
	}

	.ht-product-purchase__form .ht-add-to-cart-button {
		width: min(100%, 360px);
		margin-inline: auto !important;
	}

	.ht-product-editorial .ht-ingredient-video {
		min-height: 330px;
	}
}

/* ==========================================================
   V3 — SEZIONI FULL-WIDTH + STICKY BAR
   ========================================================== */

.ht-product-editorial .ht-product-grid,
.ht-product-faq,
.ht-product-related,
.ht-product-reviews {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	border-radius: 0 !important;
}

.ht-product-editorial .ht-product-grid {
	margin-bottom: 30px;
}

.ht-product-faq,
.ht-product-related,
.ht-product-reviews {
	margin-top: 30px;
	margin-bottom: 30px;
}

.ht-product-faq__list,
.ht-product-section-heading,
.ht-product-related > *,
.ht-product-reviews > * {
	width: min(1180px, calc(100% - 48px));
	margin-left: auto;
	margin-right: auto;
}

/* STICKY BAR */
.ht-product-sticky {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9998;

	width: 100%;
	padding: 12px 24px;

	background: rgba(255, 253, 249, 0.97);
	border-top: 1px solid rgba(0, 4, 16, 0.16);
	box-shadow: 0 -10px 30px rgba(0, 4, 16, 0.12);

	opacity: 0;
	visibility: hidden;
	transform: translateY(110%);
	pointer-events: none;

	transition:
		transform 0.28s ease,
		opacity 0.28s ease,
		visibility 0s linear 0.28s;
}

.ht-product-sticky.is-visible:not(.is-paused) {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
	transition-delay: 0s;
}

.ht-product-sticky.is-paused {
	opacity: 0;
	visibility: hidden;
	transform: translateY(110%);
	pointer-events: none;
}

.ht-product-sticky__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	width: min(1320px, 100%);
	margin: 0 auto;
}

.ht-product-sticky__identity {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ht-product-sticky__title {
	overflow: hidden;
	color: var(--ht-product-night);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ht-product-sticky__subtitle {
	overflow: hidden;
	max-width: 620px;
	margin-top: 2px;
	color: rgba(0, 4, 16, 0.58);
	font-size: 12px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ht-product-sticky__actions {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 22px;
}

.ht-product-sticky__price,
.ht-product-sticky__price .price {
	color: var(--ht-product-night) !important;
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
}

.ht-product-sticky__button {
	min-width: 190px;
	min-height: 46px;
	padding: 12px 24px;
	border: 0;
	border-radius: 8px;
	color: var(--ht-product-night);
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
}

body.single-product {
	padding-bottom: 74px;
}

@media (max-width: 767px) {
	.ht-product-editorial .ht-product-grid,
	.ht-product-faq,
	.ht-product-related,
	.ht-product-reviews {
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		border-radius: 0 !important;
	}

	.ht-product-faq__list,
	.ht-product-section-heading,
	.ht-product-related > *,
	.ht-product-reviews > * {
		width: calc(100% - 32px);
	}

	.ht-product-sticky {
		padding: 10px 12px;
	}

	.ht-product-sticky__inner {
		gap: 12px;
	}

	.ht-product-sticky__identity {
		display: none;
	}

	.ht-product-sticky__actions {
		width: 100%;
		justify-content: space-between;
		gap: 14px;
	}

	.ht-product-sticky__price,
	.ht-product-sticky__price .price {
		font-size: 19px;
	}

	.ht-product-sticky__button {
		flex: 1 1 auto;
		min-width: 0;
		max-width: 260px;
	}

	body.single-product {
		padding-bottom: 70px;
	}
}

/* ==========================================================
   V4 — STICKY DOPO IL PULSANTE + ANGOLI ARROTONDATI
   ========================================================== */

/* La sticky rimane presente anche quando si raggiunge il footer. */
.ht-product-sticky.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
	transition-delay: 0s;
}

/* Neutralizza la vecchia gestione del footer della V3. */
.ht-product-sticky.is-paused {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

/*
 * Sezioni ancora full-width, ma con angoli arrotondati.
 * Il nero resta visibile solo nei piccoli angoli esterni.
 */
.ht-product-editorial .ht-product-grid,
.ht-product-faq,
.ht-product-related,
.ht-product-reviews {
	overflow: hidden;
	border-radius: 36px !important;
}

.ht-product-editorial .ht-product-grid {
	width: calc(100% - 24px) !important;
	margin-left: 12px !important;
	margin-right: 12px !important;
}

.ht-product-faq,
.ht-product-related,
.ht-product-reviews {
	width: calc(100% - 24px) !important;
	margin-left: 12px !important;
	margin-right: 12px !important;
}

@media (max-width: 767px) {
	.ht-product-editorial .ht-product-grid,
	.ht-product-faq,
	.ht-product-related,
	.ht-product-reviews {
		width: calc(100% - 16px) !important;
		margin-left: 8px !important;
		margin-right: 8px !important;
		border-radius: 24px !important;
	}
}

