/* Configuratore delle opere — stile coerente con MeVoy (Cormorant Garamond, Source Serif Pro, Montserrat) */
/* Il tema rende form.cart un flex container: senza min-width:0 il flex-item [data-pz-app] non si restringe mai sotto il contenuto minimo dei passi e va in overflow sui viewport stretti. */
.pz-app { min-width: 0; width: 100%; }
.pz-configurator { margin: 24px 0 8px; color: #776f60; font-family: "Source Serif Pro", "Source Serif 4", serif; }
.pz-steps { display: flex; gap: 6px; margin: 0 0 18px; }
.pz-step { flex: 1; padding: 8px 0 0; border: 0; border-top: 2px solid #ece9e3; background: none; text-align: left; cursor: pointer;
	font-family: Montserrat, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #9a9384; }
.pz-step { transition: border-color .3s ease, color .3s ease; }
.pz-step.is-current, .pz-step.is-done { border-top-color: #3e3930; color: #3e3930; }
.pz-step:disabled { cursor: default; opacity: .6; }
/* Numero sopra il nome, testo allineato in alto: tutti i passi vanno a capo allo stesso modo. */
.pz-step { display: flex; flex-direction: column; justify-content: flex-start; }
.pz-step__n { display: block; margin: 0 0 2px; }
.pz-step__short { display: none; }
.pz-h { margin: 0 0 12px; font-family: "Cormorant Garamond", serif; font-weight: 400; font-size: 24px; line-height: 1.2; color: #3e3930; }
.pz-opt { display: block; position: relative; margin: 0 0 8px; padding: 12px 14px; border: 1px solid #e3dfd7; background: #fff; cursor: pointer; transition: border-color .2s; }
.pz-opt:hover { border-color: #b8b1a3; }
.pz-opt.is-on { border-color: #3e3930; }
.pz-opt.is-disabled { cursor: not-allowed; opacity: .55; }
.pz-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pz-opt__head { display: flex; justify-content: space-between; gap: 12px; }
.pz-opt__title, .pz-opt__price { font-family: Montserrat, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #3e3930; }
.pz-opt__price { white-space: nowrap; color: #534c40; }
.pz-opt__desc { display: block; margin-top: 4px; font-size: 14px; line-height: 1.6; }
.pz-note { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: #9a9384; }
.pz-note a { color: #3e3930; text-decoration: underline; }
.pz-label { display: block; margin: 16px 0 6px; font-family: Montserrat, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #707070; }
.pz-muted { letter-spacing: 0; text-transform: none; font-weight: 500; color: #9a9384; }
.pz-configurator textarea { width: 100%; box-sizing: border-box; padding: 10px; border: 0; background: #f6f6f4; font: inherit; font-size: 15px; color: #534c40; resize: vertical; }
.pz-counter { margin: 4px 0 0; text-align: right; font-size: 12px; color: #9a9384; }
.pz-upload { margin-top: 10px; }
.pz-upload__btn { display: block; padding: 12px; border: 1px dashed #cfc9bd; text-align: center; font-size: 14px; cursor: pointer; }
.pz-upload__btn input { display: block; margin: 8px auto 0; font-size: 12px; }
.pz-upload__list { margin: 8px 0 0; padding: 0; list-style: none; font-size: 14px; }
.pz-link { padding: 0; border: 0; background: none; color: #3e3930; text-decoration: underline; cursor: pointer; font: inherit; }
.pz-warn { margin: 14px 0 0; padding: 8px 12px; border-left: 2px solid #b9a27a; background: #faf7f1; font-size: 14px; line-height: 1.6; }
.pz-error { margin: 12px 0 0; color: #a3392b; font-size: 14px; }
/* Riepilogo: stesso riquadro delle opzioni; annulla i bordi che il tema applica a tutte le tabelle. */
.pz-configurator .pz-lines { width: 100%; margin: 0; border: 1px solid #e3dfd7; border-collapse: separate; border-spacing: 0; background: #fff; }
.pz-configurator .pz-lines tr { border: 0; }
.pz-configurator .pz-lines td { padding: 12px 14px; border: 0; border-bottom: 1px solid #f0ede8; vertical-align: baseline; font-size: 15px; line-height: 1.6; color: #776f60; }
.pz-configurator .pz-lines tr:last-child td { border-bottom: 0; }
.pz-configurator .pz-lines td:last-child { padding-left: 12px; text-align: right; white-space: nowrap; font-family: Montserrat, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #534c40; }
.pz-bar { margin-top: 18px; padding-top: 14px; border-top: 1px solid #ece9e3; }
.pz-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.pz-total__label { font-family: Montserrat, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: #707070; }
.pz-total__value { font-family: "Cormorant Garamond", serif; font-size: 32px; line-height: 1; color: #3e3930; }
.pz-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pz-btn { padding: 15px 26px; border: 1px solid #707070; background: transparent; cursor: pointer; font-family: Montserrat, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 3.3px; text-transform: uppercase; color: #707070; transition: background-color .2s, color .2s; }
.pz-btn:hover { background: #707070; color: #fff; }
.pz-btn--dark { border-color: #3e3930; background: #3e3930; color: #fff; }
.pz-btn--dark:hover { background: #534c40; }
.pz-btn:disabled { cursor: not-allowed; opacity: .5; }
.pz-ar { display: block; margin-top: 12px; }
.pz-notice { margin: 24px 0; padding: 12px 16px; border-left: 2px solid #b9a27a; background: #faf7f1; }
.pz-from { font-size: .8em; color: #9a9384; }
/* Galleria sticky su computer (top calcolato in configurator.js) */
/* Il tema mette overflow: hidden sul contenitore della pagina, che impedisce lo sticky: clip nasconde lo stesso ciò che sborda di lato. */
body.single-product #qodef-page-wrapper { overflow: visible; overflow-x: clip; }
#qodef-page-wrapper .qodef-woo-single-inner > .qodef-woo-single-image.pz-sticky { position: sticky; align-self: flex-start; }

/* Cambio di passo: il contenuto entra dal lato verso cui si va. .pz-stage evita lo scorrimento orizzontale durante l'animazione. */
.pz-stage { overflow-x: clip; }
.pz-body--next { animation: pz-in-next .25s ease-out; }
.pz-body--prev { animation: pz-in-prev .25s ease-out; }
@keyframes pz-in-next { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes pz-in-prev { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.pz-body--next, .pz-body--prev { animation: none; }
	.pz-step { transition: none; }
}
@media (max-width: 768px) {
	/* I quattro passi stanno nella larghezza: nome breve per "Intervento dell'Autore", niente scorrimento orizzontale. */
	.pz-steps { gap: 4px; }
	.pz-step { min-width: 0; font-size: 9px; letter-spacing: 1.2px; }
	.pz-step__name { display: none; }
	.pz-step__short { display: inline; }
	.pz-bar { position: sticky; bottom: 0; z-index: 5; margin: 18px -16px 0; padding: 10px 16px; background: #fff; box-shadow: 0 -4px 12px rgba(0,0,0,.06); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
	.pz-total { flex-direction: column; align-items: flex-start; margin: 0; }
	.pz-total__value { font-size: 24px; }
	.pz-btn { padding: 12px 14px; letter-spacing: 2px; }
}
.pz-check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; font-size: 14px; line-height: 1.5; cursor: pointer; }
.pz-check input { flex: 0 0 auto; margin-top: 4px; }
