/*
 * Test della pelle (V430) con l'identità di Biomeda: verde #8EAD37 per le azioni, verde scuro #0E3B29 per
 * i momenti importanti (analisi e risultato), Geologica per i titoli, Cabin per il testo, foto della pelle
 * con la scritta bianca maiuscola come nella home del sito.
 * I tre colori si cambiano dal pannello (arrivano come variabili sul contenitore).
 * Tutto è sotto .v430tp, con selettori abbastanza specifici da non prendere gli stili del tema.
 */
.v430tp {
	--v430tp-verde: #8EAD37;
	--v430tp-scuro: #0E3B29;
	--v430tp-chiaro: #F7F7F7;
	--v430tp-verde-hover: color-mix(in srgb, var(--v430tp-verde) 82%, #000);
	--v430tp-titoli: var(--wd-title-color, #242424);
	--v430tp-testo: #5E5E5E;
	--v430tp-linea: #E6E6E6;
	--v430tp-bianco: #FFFFFF;
	--v430tp-font-titoli: var(--wd-title-font, "Geologica", Arial, Helvetica, sans-serif);
	--v430tp-font-testo: var(--wd-text-font, "Cabin", Arial, Helvetica, sans-serif);
	--v430tp-raggio: 16px;
	--v430tp-curva: cubic-bezier(.22, 1, .36, 1);
	--v430tp-pad-y: clamp(24px, 4.5vw, 64px);
	--v430tp-pad-x: clamp(16px, 4vw, 56px);

	box-sizing: border-box;
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	padding: var(--v430tp-pad-y) var(--v430tp-pad-x);
	background: var(--v430tp-chiaro);
	border-radius: 24px;
	color: var(--v430tp-testo);
	font-family: var(--v430tp-font-testo);
	font-size: 16px;
	line-height: 1.6;
	scroll-margin-top: 110px;
	overflow: hidden;
	isolation: isolate;
}
.v430tp *,
.v430tp *::before,
.v430tp *::after { box-sizing: border-box; }
.v430tp img { max-width: 100%; height: auto; display: block; }
.v430tp :focus-visible { outline: 2px solid var(--v430tp-scuro); outline-offset: 3px; }
.v430tp [tabindex="-1"]:focus { outline: none; }
.v430tp ::selection { background: color-mix(in srgb, var(--v430tp-verde) 35%, #FFF); color: var(--v430tp-titoli); }
.v430tp ul { margin: 0; padding: 0; list-style: none; }
.v430tp li { margin: 0; }
.v430tp p { margin: 0; }
.v430tp svg { display: block; }

.v430tp h2,
.v430tp h3,
.v430tp .v430tp-titolo-domanda {
	font-family: var(--v430tp-font-titoli);
	color: var(--v430tp-titoli);
	font-weight: 500;
	text-transform: none;
	letter-spacing: -0.01em;
	margin: 0;
	text-wrap: balance;
}
.v430tp .v430tp-titolo-grande { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.02em; text-wrap: pretty; }

/* ---------- Pulsanti (come quelli del sito: pillola, maiuscolo, freccia) ---------- */
.v430tp .v430tp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 12px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--v430tp-verde);
	color: var(--v430tp-bianco);
	font-family: var(--v430tp-font-titoli);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: .02em;
	text-decoration: none;
	text-align: center;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .2s ease, transform .2s var(--v430tp-curva);
}
.v430tp .v430tp-btn:hover,
.v430tp .v430tp-btn:focus,
.v430tp .v430tp-btn:active { background: var(--v430tp-verde-hover); color: var(--v430tp-bianco); text-decoration: none; }
.v430tp .v430tp-btn.v430tp-btn-contorno { background: transparent; color: var(--v430tp-scuro); box-shadow: inset 0 0 0 1.5px var(--v430tp-scuro); }
.v430tp .v430tp-btn.v430tp-btn-contorno:hover,
.v430tp .v430tp-btn.v430tp-btn-contorno:focus,
.v430tp .v430tp-btn.v430tp-btn-contorno:active { background: var(--v430tp-scuro); color: var(--v430tp-bianco); }
.v430tp .v430tp-btn svg { width: 16px; height: 16px; flex: none; }
.v430tp .v430tp-btn[disabled]:hover { background: color-mix(in srgb, var(--v430tp-verde) 35%, #D9D9D9); }
.v430tp .v430tp-btn:active { transform: scale(.97); }
.v430tp .v430tp-btn[disabled] { background: color-mix(in srgb, var(--v430tp-verde) 35%, #D9D9D9); cursor: not-allowed; }
.v430tp .v430tp-btn[hidden] { display: none; }
.v430tp .v430tp-btn-grande { min-height: 54px; padding: 14px 32px; font-size: 14px; }
.v430tp .v430tp-btn-piccolo { min-height: 42px; padding: 10px 18px; font-size: 12px; }
.v430tp .v430tp-btn.loading { opacity: .65; pointer-events: none; }
.v430tp .v430tp-btn.added { background: var(--v430tp-scuro); }
.v430tp .v430tp-freccia {
	width: 16px;
	height: 16px;
	flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .25s var(--v430tp-curva);
}
.v430tp .v430tp-btn:hover .v430tp-freccia { transform: translateX(3px); }
.v430tp .added_to_cart {
	display: inline-block;
	margin: 10px 0 0 14px;
	color: var(--v430tp-scuro);
	font-family: var(--v430tp-font-titoli);
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.v430tp .v430tp-link {
	background: none;
	border: 0;
	padding: 8px 0;
	min-height: 0;
	color: var(--v430tp-scuro);
	font-family: var(--v430tp-font-titoli);
	font-size: 14px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	box-shadow: none;
	cursor: pointer;
}
.v430tp .v430tp-link:hover,
.v430tp .v430tp-link:focus,
.v430tp .v430tp-link:active { background: none; color: var(--v430tp-verde-hover); text-decoration: underline; }
.v430tp .added_to_cart:hover { color: var(--v430tp-verde-hover); }

/* ---------- Introduzione ---------- */
.v430tp-intro { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .v430tp-intro { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.v430tp-intro-testo { display: grid; gap: 22px; justify-items: start; }
.v430tp .v430tp-etichetta { font-family: var(--v430tp-font-titoli); font-size: 15px; font-weight: 500; color: var(--v430tp-verde-hover); }
.v430tp .v430tp-intro-paragrafo { font-size: 18px; max-width: 46ch; }
.v430tp .v430tp-punti { display: grid; gap: 10px; }
.v430tp .v430tp-punti li { display: flex; gap: 12px; align-items: baseline; color: var(--v430tp-titoli); }
.v430tp .v430tp-punti li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--v430tp-verde); flex: none; transform: translateY(-2px); }
.v430tp-intro-azione { padding-top: 6px; }

.v430tp-intro-media { position: relative; order: -1; }
@media (min-width: 900px) { .v430tp-intro-media { order: 0; } }
.v430tp .v430tp-intro-foto { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; }
@media (max-width: 899px) { .v430tp .v430tp-intro-foto { aspect-ratio: 4 / 3; } }

/* I kit che galleggiano sulla foto */
.v430tp-galleggianti { position: absolute; left: -18px; bottom: 22px; display: flex; align-items: flex-end; gap: 10px; }
@media (max-width: 899px) { .v430tp-galleggianti { left: 12px; bottom: 12px; } }
.v430tp-galleggianti li {
	width: clamp(64px, 8vw, 104px);
	aspect-ratio: 1;
	padding: 6px;
	background: var(--v430tp-bianco);
	border-radius: 16px;
	box-shadow: 0 10px 28px -12px color-mix(in srgb, var(--v430tp-scuro) 45%, transparent);
	animation: v430tp-galleggia 5s ease-in-out infinite alternate;
}
.v430tp-galleggianti li:nth-child(2) { animation-delay: -1.6s; margin-bottom: 14px; }
.v430tp-galleggianti li:nth-child(3) { animation-delay: -3.2s; }
.v430tp-galleggianti img { width: 100%; height: 100%; object-fit: contain; }
@keyframes v430tp-galleggia { from { translate: 0 0; } to { translate: 0 -8px; } }

/* Volti delle risposte al posto della foto, più un riquadro che fa partire il test */
.v430tp-volti { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
.v430tp-volti-4 { grid-template-columns: repeat(2, 1fr); }
.v430tp-volti figure,
.v430tp .v430tp-volti-inizia { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: var(--v430tp-raggio); overflow: hidden; animation: v430tp-compari .9s var(--v430tp-curva) both; animation-delay: calc(var(--i) * 110ms); }
@media (min-width: 900px) {
	.v430tp-volti > :nth-child(3n+2) { translate: 0 28px; }
	.v430tp-volti { padding-bottom: 28px; }
}
.v430tp .v430tp-volti img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--v430tp-curva); }
.v430tp-volti figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,0) 45%); }
.v430tp-volti figcaption { position: absolute; z-index: 1; inset: 12px 12px auto; color: #FFF; font-family: var(--v430tp-font-titoli); font-weight: 800; font-size: clamp(11px, 1.15vw, 15px); line-height: 1.12; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.v430tp .v430tp-volti-inizia {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	width: 100%;
	height: auto;
	padding: 16px;
	border: 0;
	background: var(--v430tp-scuro);
	color: #FFF;
	font-family: var(--v430tp-font-titoli);
	font-size: clamp(16px, 1.7vw, 22px);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-align: left;
	text-transform: none;
	cursor: pointer;
	transition: background-color .3s ease;
}
.v430tp .v430tp-volti-inizia .v430tp-freccia { width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: var(--v430tp-verde); -webkit-mask: none; mask: none; position: relative; }
.v430tp .v430tp-volti-inizia .v430tp-freccia::before { content: ""; position: absolute; inset: 9px; background: #FFF; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s var(--v430tp-curva); }
.v430tp .v430tp-volti-inizia:hover,
.v430tp .v430tp-volti-inizia:focus,
.v430tp .v430tp-volti-inizia:active { background: color-mix(in srgb, var(--v430tp-scuro) 86%, var(--v430tp-verde)); color: var(--v430tp-bianco); }
.v430tp .v430tp-volti-inizia:hover .v430tp-freccia::before { transform: translateX(3px); }
@media (max-width: 899px) {
	.v430tp-volti { gap: 8px; }
	.v430tp-volti figure,
	.v430tp .v430tp-volti-inizia { border-radius: 12px; }
	.v430tp-volti figcaption { inset: 8px 8px auto; font-size: 11px; }
	.v430tp .v430tp-volti-inizia { padding: 10px; font-size: 14px; }
	.v430tp .v430tp-volti-inizia .v430tp-freccia { width: 28px; height: 28px; }
	.v430tp .v430tp-volti-inizia .v430tp-freccia::before { inset: 7px; }
}

.v430tp-mosaico { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.v430tp .v430tp-mosaico img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--v430tp-bianco); border-radius: 16px; padding: 10px; }

.v430tp-linee { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--v430tp-linea); }
.v430tp .v430tp-linee-titolo { font-size: 22px; margin-bottom: 20px; }
.v430tp-linee ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 14px; }
@media (max-width: 639px) { .v430tp-linee ul { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
.v430tp-linee a > span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v430tp-linee a { display: grid; align-content: start; gap: 10px; text-decoration: none; color: var(--v430tp-titoli); font-family: var(--v430tp-font-titoli); font-size: 14px; line-height: 1.3; }
.v430tp-linee-foto { display: block; background: var(--v430tp-bianco); border-radius: var(--v430tp-raggio); padding: 10px; transition: transform .35s var(--v430tp-curva), box-shadow .35s ease; }
.v430tp-linee img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.v430tp-linee a:hover { color: var(--v430tp-titoli); }
.v430tp-linee a:hover .v430tp-linee-foto { transform: translateY(-4px); box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--v430tp-scuro) 60%, transparent); }

/* ---------- Domande ---------- */
.v430tp .v430tp-avanzamento,
.v430tp .v430tp-domanda { max-width: 1000px; margin-inline: auto; }
.v430tp .v430tp-avanzamento { display: grid; gap: 14px; margin-bottom: 36px; }
.v430tp-avanzamento-riga { display: flex; align-items: center; gap: 14px; }
.v430tp .v430tp-avanzamento-testo { font-family: var(--v430tp-font-titoli); font-size: 14px; font-weight: 500; color: var(--v430tp-scuro); }
.v430tp .v430tp-indietro {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	min-height: 0;
	padding: 0;
	border: 1px solid var(--v430tp-linea);
	border-radius: 50%;
	background: var(--v430tp-bianco);
	color: var(--v430tp-scuro);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
	cursor: pointer;
	transition: border-color .2s ease, transform .25s var(--v430tp-curva), background-color .2s ease;
}
.v430tp .v430tp-indietro svg { width: 20px; height: 20px; transition: transform .25s var(--v430tp-curva); }
.v430tp .v430tp-indietro:hover,
.v430tp .v430tp-indietro:focus,
.v430tp .v430tp-indietro:active { border-color: var(--v430tp-verde); background: var(--v430tp-bianco); color: var(--v430tp-scuro); }
.v430tp .v430tp-indietro:hover svg { transform: translateX(-2px); }
.v430tp .v430tp-indietro:active { transform: scale(.94); }
.v430tp-segmenti { display: flex; gap: 6px; }
.v430tp-segmenti span { flex: 1; height: 5px; border-radius: 5px; background: #E3E3E3; overflow: hidden; }
.v430tp-segmenti i { display: block; height: 100%; width: 0; background: var(--v430tp-verde); border-radius: inherit; }
.v430tp-segmenti .fatto i { width: 100%; }
.v430tp-segmenti .ora i { width: 100%; animation: v430tp-riempi .7s var(--v430tp-curva) both; transform-origin: left; }
@keyframes v430tp-riempi { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.v430tp .v430tp-domanda fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.v430tp .v430tp-domanda legend { display: grid; gap: 8px; padding: 0; margin: 0 0 28px; float: none; width: 100%; }
.v430tp .v430tp-titolo-domanda { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; letter-spacing: -0.02em; }
.v430tp .v430tp-aiuto { font-size: 16px; }

/* Risposte a righe */
.v430tp-opzioni { display: grid; gap: 10px; }
@media (min-width: 700px) { .v430tp-opzioni:not(.v430tp-opzioni-foto) { grid-template-columns: 1fr 1fr; gap: 12px; } }
.v430tp .v430tp-opzione {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 16px 20px;
	min-height: 64px;
	background: var(--v430tp-bianco);
	border: 1.5px solid transparent;
	border-radius: 14px;
	color: var(--v430tp-titoli);
	font-family: var(--v430tp-font-testo);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.35;
	cursor: pointer;
	box-shadow: 0 1px 0 color-mix(in srgb, var(--v430tp-scuro) 8%, transparent);
	transition: border-color .2s ease, transform .25s var(--v430tp-curva), opacity .25s ease;
}
.v430tp .v430tp-opzione:hover { border-color: var(--v430tp-verde); color: var(--v430tp-titoli); background: var(--v430tp-bianco); }
.v430tp .v430tp-opzione:hover .v430tp-pallino { border-color: var(--v430tp-verde); }
.v430tp .v430tp-opzione input,
.v430tp .v430tp-tessera input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.v430tp .v430tp-pallino { width: 26px; height: 26px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--v430tp-verde) 40%, #CCC); flex: none; display: grid; place-items: center; color: var(--v430tp-bianco); transition: background-color .2s ease, border-color .2s ease; }
.v430tp .v430tp-pallino svg { width: 16px; height: 16px; opacity: 0; transform: scale(.4); transition: opacity .2s ease, transform .3s var(--v430tp-curva); }
.v430tp .v430tp-opzione small { display: block; color: var(--v430tp-testo); font-size: 14px; }
.v430tp .v430tp-opzione:has(input:checked) { border-color: var(--v430tp-scuro); }
.v430tp .v430tp-opzione input:checked + .v430tp-pallino { background: var(--v430tp-verde); border-color: var(--v430tp-verde); }
.v430tp .v430tp-opzione input:checked + .v430tp-pallino svg { opacity: 1; transform: scale(1); }
.v430tp .v430tp-opzione:has(input:focus-visible),
.v430tp .v430tp-tessera:has(input:focus-visible) { outline: 2px solid var(--v430tp-scuro); outline-offset: 3px; }

/* Risposte con foto: scheda bianca con la foto sopra e il testo sotto, come le righe del telefono */
.v430tp-opzioni-foto { grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (min-width: 900px) { .v430tp-opzioni-foto { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.v430tp .v430tp-tessera {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto 1fr;
	align-items: start;
	gap: 0 10px;
	margin: 0;
	background: var(--v430tp-bianco);
	border-radius: var(--v430tp-raggio);
	overflow: hidden;
	cursor: pointer;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
	transition: transform .3s var(--v430tp-curva), box-shadow .3s ease, opacity .3s ease;
}
.v430tp .v430tp-tessera-foto { grid-column: 1 / -1; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(165deg, var(--v430tp-verde), var(--v430tp-scuro)); }
.v430tp .v430tp-tessera-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform .8s var(--v430tp-curva); }
.v430tp .v430tp-tessera-testo { grid-column: 1; display: grid; gap: 3px; padding: 14px 0 16px 16px; color: var(--v430tp-titoli); }
.v430tp .v430tp-tessera-testo strong { font-family: var(--v430tp-font-titoli); font-weight: 800; font-size: 15px; line-height: 1.15; text-transform: uppercase; color: var(--v430tp-scuro); }
.v430tp .v430tp-tessera-testo small { font-size: 13px; line-height: 1.3; color: var(--v430tp-testo); }
.v430tp .v430tp-spunta { grid-column: 2; margin: 14px 14px 0 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 2px solid color-mix(in srgb, var(--v430tp-verde) 40%, #CCC); color: transparent; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.v430tp .v430tp-spunta svg { width: 16px; height: 16px; transform: scale(.4); transition: transform .35s var(--v430tp-curva); }
.v430tp .v430tp-tessera:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -22px rgba(0, 0, 0, .4); }
.v430tp .v430tp-tessera:hover .v430tp-tessera-foto img { transform: scale(1.05); }
.v430tp .v430tp-tessera:hover .v430tp-spunta { border-color: var(--v430tp-verde); }
.v430tp .v430tp-tessera:has(input:checked) { box-shadow: 0 0 0 2px var(--v430tp-verde); }
.v430tp .v430tp-tessera:has(input:checked) .v430tp-spunta { background: var(--v430tp-verde); border-color: var(--v430tp-verde); color: var(--v430tp-bianco); }
.v430tp .v430tp-tessera:has(input:checked) .v430tp-spunta svg { transform: scale(1); }

/* Telefono: righe con la foto piccola a sinistra, tutte visibili insieme */
@media (max-width: 639px) {
	.v430tp-opzioni-foto { grid-template-columns: 1fr; gap: 10px; }
	.v430tp .v430tp-tessera { grid-template-columns: 84px 1fr auto; grid-template-rows: auto; align-items: center; gap: 0 14px; min-height: 92px; border-radius: 14px; }
	.v430tp .v430tp-tessera-foto { grid-column: 1; align-self: stretch; aspect-ratio: auto; min-height: 92px; }
	.v430tp .v430tp-tessera-testo { grid-column: 2; padding: 12px 0; }
	.v430tp .v430tp-spunta { grid-column: 3; margin: 0 14px 0 0; }
	.v430tp .v430tp-tessera:hover { transform: none; box-shadow: 0 1px 0 rgba(0, 0, 0, .04); }
	.v430tp .v430tp-tessera:has(input:checked) { box-shadow: 0 0 0 2px var(--v430tp-verde); }
	.v430tp .v430tp-tessera:hover .v430tp-tessera-foto img { transform: none; }
}

/* Dopo la scelta (avanzamento automatico): la scelta resta in primo piano, le altre si fanno da parte */
.v430tp .v430tp-scelto .v430tp-tessera:not(:has(input:checked)),
.v430tp .v430tp-scelto .v430tp-opzione:not(:has(input:checked)) { opacity: .4; }
.v430tp .v430tp-scelto .v430tp-tessera:has(input:checked),
.v430tp .v430tp-scelto .v430tp-opzione:has(input:checked) { transform: scale(1.02); }

.v430tp-comandi { display: flex; justify-content: flex-end; margin-top: 32px; }
.v430tp-comandi[hidden] { display: none; }

/* ---------- Analisi ---------- */
.v430tp .v430tp-analisi {
	display: grid;
	justify-items: center;
	align-content: center;
	gap: 14px;
	min-height: 460px;
	margin: calc(-1 * var(--v430tp-pad-y)) calc(-1 * var(--v430tp-pad-x));
	padding: 48px 20px;
	background: var(--v430tp-scuro);
	color: var(--v430tp-bianco);
	text-align: center;
}
.v430tp .v430tp-anello { width: 96px; height: 96px; transform: rotate(-90deg); margin-bottom: 8px; }
.v430tp .v430tp-anello circle { fill: none; stroke-width: 6; }
.v430tp .v430tp-anello .fondo { stroke: color-mix(in srgb, var(--v430tp-bianco) 14%, transparent); }
.v430tp .v430tp-anello .giro { stroke: var(--v430tp-verde); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 0; animation: v430tp-anello var(--durata, 2s) cubic-bezier(.65, 0, .35, 1) both; }
@keyframes v430tp-anello { from { stroke-dashoffset: 327; } to { stroke-dashoffset: 0; } }
.v430tp .v430tp-analisi-titolo { color: var(--v430tp-bianco); font-size: clamp(24px, 3.4vw, 34px); line-height: 1.15; }
.v430tp .v430tp-analisi-testo { color: color-mix(in srgb, var(--v430tp-bianco) 75%, transparent); }
.v430tp .v430tp-analisi-lista { display: grid; gap: 10px; margin-top: 14px; justify-items: start; text-align: left; }
.v430tp .v430tp-analisi-lista li { display: flex; align-items: center; gap: 10px; font-size: 16px; animation: v430tp-compari .45s var(--v430tp-curva) both; animation-delay: calc(200ms + var(--i) * var(--passo, 300ms)); }
.v430tp .v430tp-analisi-spunta { width: 22px; height: 22px; border-radius: 50%; background: var(--v430tp-verde); display: grid; place-items: center; flex: none; }
.v430tp .v430tp-analisi-spunta svg { width: 14px; height: 14px; }
@keyframes v430tp-compari { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Risultato ---------- */
.v430tp .v430tp-esito-testa {
	display: grid;
	gap: 14px;
	justify-items: start;
	padding: clamp(32px, 5vw, 56px) clamp(22px, 4vw, 56px) clamp(84px, 9vw, 112px);
	background: var(--v430tp-scuro);
	border-radius: 20px;
	color: var(--v430tp-bianco);
}
.v430tp .v430tp-esito-etichetta { font-family: var(--v430tp-font-titoli); font-size: 15px; color: color-mix(in srgb, var(--v430tp-verde) 70%, #FFF); }
.v430tp .v430tp-esito-titolo { color: var(--v430tp-bianco); font-size: clamp(30px, 4.6vw, 50px); line-height: 1.08; letter-spacing: -0.02em; max-width: 20ch; }
.v430tp .v430tp-esito-descrizione { font-size: 18px; max-width: 56ch; color: color-mix(in srgb, var(--v430tp-bianco) 85%, transparent); }
.v430tp .v430tp-in-base { font-size: 14px; margin-top: 6px; color: color-mix(in srgb, var(--v430tp-bianco) 70%, transparent); }
.v430tp .v430tp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v430tp .v430tp-chips li { border: 1px solid color-mix(in srgb, var(--v430tp-bianco) 35%, transparent); border-radius: 999px; padding: 5px 14px; font-size: 14px; color: var(--v430tp-bianco); }

.v430tp-kit {
	position: relative;
	display: grid;
	margin: calc(-1 * clamp(56px, 7vw, 80px)) clamp(10px, 3vw, 40px) 0;
	background: var(--v430tp-bianco);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--v430tp-scuro) 55%, transparent);
}
@media (min-width: 820px) { .v430tp-kit { grid-template-columns: 1fr 1.1fr; } }
.v430tp-kit-foto { position: relative; display: grid; place-items: center; padding: 28px; background: var(--v430tp-bianco); }
@media (min-width: 820px) { .v430tp-kit-foto { border-right: 1px solid var(--v430tp-linea); } }
@media (max-width: 819px) { .v430tp-kit-foto { border-bottom: 1px solid var(--v430tp-linea); } }
.v430tp-kit-foto img { width: 100%; max-width: 440px; aspect-ratio: 1; object-fit: contain; transition: transform .6s var(--v430tp-curva); }
.v430tp-kit-foto:hover img { transform: scale(1.03); }
.v430tp .v430tp-risparmio { position: absolute; z-index: 1; top: 18px; left: 18px; padding: 6px 14px; border-radius: 999px; background: var(--v430tp-verde); color: var(--v430tp-bianco); font-family: var(--v430tp-font-titoli); font-size: 13px; font-weight: 500; }
.v430tp-kit-dati { display: grid; gap: 16px; align-content: center; padding: 28px 24px 32px; }
@media (min-width: 820px) { .v430tp-kit-dati { padding: 44px 48px; } }
.v430tp .v430tp-per-te { font-family: var(--v430tp-font-titoli); font-size: 15px; font-weight: 500; color: var(--v430tp-verde-hover); }
.v430tp .v430tp-kit-nome { font-size: clamp(21px, 2.4vw, 26px); line-height: 1.25; }
.v430tp .v430tp-kit-nome a,
.v430tp .v430tp-riga-nome,
.v430tp .v430tp-prodotto-nome { color: var(--v430tp-titoli); text-decoration: none; }
.v430tp .v430tp-kit-nome a:hover,
.v430tp .v430tp-riga-nome:hover,
.v430tp .v430tp-prodotto-nome:hover { color: var(--v430tp-verde-hover); }
.v430tp .v430tp-prezzo { font-family: var(--v430tp-font-titoli); font-size: 28px; font-weight: 500; color: var(--v430tp-titoli); line-height: 1.2; }
.v430tp .v430tp-prezzo del { color: #8A8A8A; font-size: .62em; font-weight: 400; margin-right: 8px; }
.v430tp .v430tp-prezzo ins { text-decoration: none; background: none; }
.v430tp .v430tp-prezzo .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.v430tp .v430tp-prezzo-piccolo { font-size: 18px; }
.v430tp .v430tp-perche { display: grid; gap: 10px; }
.v430tp .v430tp-perche li { display: flex; gap: 10px; align-items: flex-start; color: var(--v430tp-titoli); }
.v430tp .v430tp-perche-spunta { width: 22px; height: 22px; border-radius: 50%; background: var(--v430tp-chiaro); color: var(--v430tp-verde-hover); display: grid; place-items: center; flex: none; margin-top: 1px; }
.v430tp .v430tp-perche-spunta svg { width: 14px; height: 14px; }
.v430tp-azioni { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 6px; }

.v430tp-altri,
.v430tp-alternativa { display: grid; gap: 12px; margin: 16px clamp(10px, 3vw, 40px) 0; }
.v430tp-riga { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; background: var(--v430tp-bianco); border-radius: var(--v430tp-raggio); padding: 12px 18px 12px 12px; }
@media (min-width: 640px) { .v430tp-riga { grid-template-columns: 88px 1fr auto; gap: 18px; } }
.v430tp-riga img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.v430tp-riga-testo { display: grid; gap: 2px; }
.v430tp .v430tp-riga-etichetta { font-size: 13px; }
.v430tp .v430tp-riga-nome { font-family: var(--v430tp-font-titoli); font-size: 16px; line-height: 1.3; }
@media (max-width: 639px) { .v430tp-riga-azione { grid-column: 2; } }

.v430tp-singoli { margin: 56px clamp(10px, 3vw, 40px) 0; }
@media (min-width: 900px) {
	.v430tp-singoli { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 0 48px; align-items: start; }
	.v430tp-singoli .v430tp-sezione-titolo,
	.v430tp-singoli .v430tp-sezione-testo { grid-column: 1; }
	.v430tp-singoli .v430tp-griglia { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
}
.v430tp .v430tp-sezione-titolo { font-size: clamp(24px, 3vw, 30px); line-height: 1.2; }
.v430tp .v430tp-sezione-testo { margin-top: 8px; }
.v430tp .v430tp-griglia { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; margin-top: 22px; }
.v430tp .v430tp-prodotto { display: grid; grid-template-rows: auto 1fr auto auto; gap: 10px; background: var(--v430tp-bianco); border-radius: var(--v430tp-raggio); padding: 16px; transition: transform .35s var(--v430tp-curva), box-shadow .35s ease; }
.v430tp .v430tp-prodotto:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px color-mix(in srgb, var(--v430tp-scuro) 55%, transparent); }
.v430tp-prodotto-foto img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.v430tp .v430tp-prodotto-nome { font-family: var(--v430tp-font-titoli); font-size: 15px; line-height: 1.35; }
.v430tp .v430tp-prodotto .v430tp-btn { width: 100%; }
.v430tp .v430tp-prodotto .added_to_cart { margin: 0; text-align: center; }
@media (max-width: 639px) {
	.v430tp .v430tp-griglia { grid-template-columns: 1fr 1fr; gap: 10px; }
	.v430tp .v430tp-prodotto { padding: 12px; }
	.v430tp .v430tp-prodotto .v430tp-btn { padding: 10px; }
}

.v430tp-rifai { margin-top: 40px; text-align: center; }
.v430tp-debug { margin-top: 24px; padding: 14px 16px; background: var(--v430tp-bianco); border: 1px dashed #BFC5B0; border-radius: 12px; font-size: 14px; }
.v430tp-debug td { padding: 3px 12px 3px 0; border-bottom: 1px solid var(--v430tp-linea); }

/* ---------- Movimento ---------- */
/* Cambio di schermata: si entra dal lato verso cui si va */
.v430tp-entra-avanti { animation: v430tp-da-destra .5s var(--v430tp-curva) both; }
.v430tp-entra-indietro { animation: v430tp-da-sinistra .5s var(--v430tp-curva) both; }
@keyframes v430tp-da-destra { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes v430tp-da-sinistra { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
/* Le risposte arrivano una dopo l'altra */
.v430tp-entra-avanti .v430tp-opzione,
.v430tp-entra-avanti .v430tp-tessera { animation: v430tp-compari .55s var(--v430tp-curva) both; animation-delay: calc(90ms + var(--i, 0) * 50ms); }
/* Il risultato si compone a strati */
.v430tp .v430tp-rivela { animation: v430tp-sale .8s var(--v430tp-curva) both; animation-delay: calc(var(--i, 0) * 140ms); }
@keyframes v430tp-sale { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.v430tp[data-animazioni="0"] *,
.v430tp[data-animazioni="0"] *::before,
.v430tp[data-animazioni="0"] *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
	.v430tp *,
	.v430tp *::before,
	.v430tp *::after { animation: none !important; transition: none !important; }
}
