/* =========================================================
   Cantadono – foglio di stile unico
   Identità: "il biglietto che canta". Carta crema, inchiostro, nastro vinaccia, fiocco oro.
   Linee guida complete: 03_Fase2-Brand-e-prodotto/Linee-guida-visive.md
   Per cambiare i colori modifica solo :root.
   ========================================================= */

/* ---------- Font auto-ospitati (licenza SIL OFL, vedi /fonts/OFL-*.txt) ---------- */
@font-face {
  font-family: "Gelasio"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/gelasio-var.woff") format("woff");
}
@font-face {
  font-family: "Gelasio"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("/fonts/gelasio-italic-var.woff") format("woff");
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/dm-sans-var.woff") format("woff");
}

:root {
  /* Palette del brand */
  --vinaccia: #7B2348;
  --vinaccia-chiaro: #8A2A53;   /* hover pulsanti */
  --vinaccia-base: #4A1229;     /* "spessore" sotto i pulsanti */
  --inchiostro: #2A1A22;
  --inchiostro-2: #3A2530;      /* hover su scuro */
  --crema: #FFF7EE;
  --crema-calda: #F5E6D3;       /* sezioni alternate */
  --carta: #FFFCF7;             /* card, moduli, biglietto */
  --oro: #E9A23B;               /* solo decorazione su chiaro; testo solo su scuro */
  --oro-scuro: #C9831F;
  --oro-tenue: #FCEBD0;         /* fondo avvisi */
  --salvia: #2E6B5E;
  --bianco: #FFFFFF;

  /* Ruoli (nomi usati in tutto il foglio) */
  --primario: var(--vinaccia);
  --primario-scuro: #5E1A37;
  --secondario: var(--inchiostro);
  --accento: var(--oro);
  --sfondo: var(--crema);
  --sfondo-alt: var(--crema-calda);
  --testo: var(--inchiostro);
  --testo-tenue: #5E4A54;       /* 7,66:1 su crema, 6,64:1 su crema calda */
  --testo-su-scuro: #D9C7CF;    /* 10,26:1 su inchiostro */
  --bordo: #E8D7C5;
  --bordo-campo: #8C7A82;       /* 3,8:1: bordo dei campi visibile (WCAG 1.4.11) */
  --ok: var(--salvia);
  --errore: #A3192B;

  --font-titoli: "Gelasio", Georgia, "Times New Roman", serif;
  --font-testo: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Scala tipografica (terza maggiore, 1.25) */
  --t-xs: .8125rem;  --t-s: .9rem;  --t-m: 1.0625rem;  --t-l: 1.25rem;
  --t-xl: 1.5625rem; --t-2xl: clamp(1.75rem, 1.25rem + 2.1vw, 2.6rem);
  --t-3xl: clamp(2.3rem, 1.45rem + 3.9vw, 3.95rem);

  --raggio: 14px;
  --raggio-s: 10px;
  --ombra-carta: 0 1px 0 rgba(42,26,34,.05), 0 18px 40px -22px rgba(74,18,41,.35);
  --ombra: 0 12px 32px -14px rgba(42,26,34,.28);
  --larghezza: 1140px;
  --spazio-sezione: clamp(3.25rem, 2rem + 5vw, 6rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-testo);
  font-size: var(--t-m);
  line-height: 1.65;
  color: var(--testo);
  background: var(--sfondo) url("/img/grana.svg");
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-titoli); font-weight: 600; color: var(--inchiostro);
  line-height: 1.15; margin: 0 0 .55em; letter-spacing: -.01em; text-wrap: balance;
}
h1 { font-size: var(--t-3xl); line-height: 1.06; letter-spacing: -.018em; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-l); line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--vinaccia); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--primario-scuro); text-decoration-thickness: 2px; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .4em; }
strong { font-weight: 700; }
small { font-size: var(--t-s); }
::selection { background: var(--oro); color: var(--inchiostro); }

[hidden] { display: none !important; }

/* Focus sempre visibile (accessibilità) */
:focus-visible { outline: 3px solid var(--inchiostro); outline-offset: 3px; border-radius: 4px; }
.sezione-scura :focus-visible, .footer :focus-visible, .promo-barra :focus-visible { outline-color: var(--oro); }

.salta-contenuto {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--inchiostro); color: var(--bianco); padding: .7em 1em; border-radius: 8px;
}
.salta-contenuto:focus { left: 1rem; top: 1rem; color: var(--bianco); }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.contenitore { width: 100%; max-width: var(--larghezza); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 700px) { .contenitore { padding: 0 2rem; } }
.stretto { max-width: 780px; }
.sezione { padding: var(--spazio-sezione) 0; position: relative; }
.sezione-alt { background: var(--crema-calda) url("/img/grana.svg"); }
.centrato { text-align: center; }
.centrato .lead, .centrato > p { margin-left: auto; margin-right: auto; }
.centrato + .griglia, .centrato + .passi { margin-top: 2.5rem; }

/* Etichetta sopra i titoli: corsivo, minuscolo, con un piccolo rigo musicale */
.occhiello {
  display: inline-flex; align-items: center; gap: .6em;
  font: italic 500 1.05rem/1.3 var(--font-titoli); color: var(--vinaccia);
  margin-bottom: .7rem; letter-spacing: 0;
}
.occhiello::before {
  content: ""; width: 1.9em; height: 9px; flex-shrink: 0;
  background: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 4px);
  opacity: .55;
}
.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem); line-height: 1.55; color: var(--testo-tenue); max-width: 38em; }
.nota { font-size: var(--t-s); color: var(--testo-tenue); }

/* ---------- Sezioni scure: inchiostro, rigo d'oro ---------- */
.sezione-scura {
  background: var(--inchiostro) url("/img/pentagramma-oro.svg") center bottom 1rem / 160% 150px no-repeat;
  color: var(--crema);
  padding-bottom: calc(var(--spazio-sezione) + 5rem);
}
@media (min-width: 900px) { .sezione-scura { padding-bottom: calc(var(--spazio-sezione) + 7rem); } }
.sezione-scura h2, .sezione-scura h3 { color: var(--crema); }
.sezione-scura a:not(.btn) { color: var(--oro); }
.sezione-scura .occhiello { color: var(--oro); }
.sezione-scura .lead, .sezione-scura .nota, .nota-chiara { color: var(--testo-su-scuro); }

/* ---------- Bottoni: carta spessa, si "premono" ---------- */
.btn {
  --base: var(--vinaccia-base);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .8em 1.5em;
  font: 600 1.03rem/1.2 var(--font-testo); letter-spacing: .005em;
  border-radius: 12px; border: 0;
  background: var(--vinaccia); color: var(--bianco); text-decoration: none; cursor: pointer;
  box-shadow: 0 3px 0 var(--base), 0 10px 20px -12px rgba(74,18,41,.7);
  transition: background-color .15s, transform .12s, box-shadow .12s;
}
.btn:hover { background: var(--vinaccia-chiaro); color: var(--bianco); text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 0 var(--base), 0 14px 24px -12px rgba(74,18,41,.7); }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--base), 0 4px 10px -6px rgba(74,18,41,.6); }
.btn:focus-visible { outline: 3px solid var(--inchiostro); outline-offset: 4px; }
.btn-secondario { --base: transparent; background: transparent; color: var(--inchiostro); box-shadow: inset 0 0 0 2px var(--inchiostro); }
.btn-secondario:hover { background: var(--inchiostro); color: var(--crema); box-shadow: inset 0 0 0 2px var(--inchiostro); }
.btn-secondario:active { box-shadow: inset 0 0 0 2px var(--inchiostro); }
.btn-chiaro { --base: #A8701E; background: var(--oro); color: var(--inchiostro); }
.btn-chiaro:hover { background: #F2B455; color: var(--inchiostro); }
.sezione-scura .btn-chiaro:focus-visible { outline-color: var(--crema); }
.btn-grande { font-size: 1.12rem; padding: 1em 1.8em; min-height: 56px; }
.btn-blocco { width: 100%; }
.cta-riga { display: flex; flex-wrap: wrap; gap: .9rem 1rem; align-items: center; }
.centrato .cta-riga { justify-content: center; }

/* ---------- Barra promo ---------- */
.promo-barra { background: var(--inchiostro); color: var(--crema); text-align: center; font-size: var(--t-s); line-height: 1.45; padding: .6em 1em; }
.promo-barra strong { color: var(--oro); font-weight: 600; }
.promo-barra a { color: var(--crema); font-weight: 600; }
.promo-barra a:hover { color: var(--oro); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,247,238,.94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--bordo);
}
.header-interno { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.logo { font-family: var(--font-titoli); font-weight: 600; font-size: 1.45rem; color: var(--inchiostro); }
.logo-link { text-decoration: none; display: inline-flex; align-items: center; }
.logo-img { height: 36px; width: auto; display: block; }
@media (max-width: 420px) { .logo-img { height: 30px; } }
.menu-btn {
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: .4em 1em;
  background: transparent; border: 1.5px solid var(--inchiostro); border-radius: 10px;
  color: var(--inchiostro); font: 600 .95rem var(--font-testo); cursor: pointer;
}
.menu-btn:hover { background: var(--inchiostro); color: var(--crema); }
.menu-btn[aria-expanded="true"] { background: var(--inchiostro); color: var(--crema); }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--crema); border-bottom: 1px solid var(--bordo); box-shadow: var(--ombra); }
.nav.aperto { display: block; }
.nav ul { list-style: none; margin: 0; padding: .5rem 1.25rem 1.25rem; }
.nav li { margin: 0; }
.nav a { display: block; padding: .8em 0; color: var(--inchiostro); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--bordo); }
.nav a[aria-current="page"] { color: var(--vinaccia); font-weight: 600; }
.nav .btn { display: flex; margin-top: 1rem; border-bottom: 0; color: var(--bianco); width: 100%; }
@media (min-width: 980px) {
  .menu-btn { display: none; }
  .nav { display: block; position: static; border: 0; box-shadow: none; background: transparent; }
  .nav ul { display: flex; align-items: center; gap: 1.6rem; padding: 0; }
  .nav a:not(.btn) {
    border: 0; padding: .4em 0; font-size: .98rem;
    background: linear-gradient(var(--oro), var(--oro)) left 100% / 0 2px no-repeat;
    transition: background-size .2s;
  }
  .nav a:not(.btn):hover, .nav a[aria-current="page"] { background-size: 100% 2px; color: var(--vinaccia); }
  .nav .btn { display: inline-flex; margin: 0 0 0 .4rem; padding: .6em 1.15em; min-height: 42px; width: auto; font-size: .97rem; }
}

/* ---------- Briciole ---------- */
.briciole { font-size: var(--t-xs); padding-top: 1rem; color: var(--testo-tenue); }
.briciole ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.briciole li { margin: 0; }
.briciole li + li::before { content: "/"; margin-right: .35rem; opacity: .6; }
.briciole a { color: var(--testo-tenue); }

/* =========================================================
   HERO: il biglietto regalo che canta
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: 2.25rem 0 6rem;
  background: url("/img/pentagramma.svg") center bottom / 180% 150px no-repeat;
}
.hero-griglia { display: grid; gap: 2.75rem; align-items: center; position: relative; }
.hero h1 { margin-bottom: .45em; max-width: 13em; }
.hero .lead { max-width: 33em; }
.hero-punti { list-style: none; padding: 0; margin: 1.4rem 0 1.9rem; display: grid; gap: .5rem; }
.hero-punti li { padding-left: 1.9em; position: relative; margin: 0; }
.hero-punti li::before, .lista-check li::before {
  content: ""; position: absolute; left: .15em; top: .38em;
  width: .5em; height: .85em; border: solid var(--salvia); border-width: 0 2.5px 2.5px 0;
  transform: rotate(42deg);
}
@media (min-width: 900px) {
  .hero { padding: 4rem 0 7rem; background-size: 130% 170px; }
  .hero-griglia { grid-template-columns: 1.12fr .88fr; gap: 3.5rem; }
}

/* Il biglietto */
.biglietto { margin: 0 auto; max-width: 430px; position: relative; }
.biglietto-carta {
  position: relative;
  background: var(--carta);
  border-radius: 8px;
  padding: 1.9rem 3.9rem 0 1.6rem;
  box-shadow: var(--ombra-carta), 0 0 0 1px rgba(42,26,34,.06);
  transform: rotate(-1.5deg);
}
/* un secondo foglio sotto, come una busta */
.biglietto::before {
  content: ""; position: absolute; left: 14px; right: -6px; top: 12px; height: calc(100% - 4.2rem);
  background: var(--vinaccia); border-radius: 8px; transform: rotate(2.5deg);
  box-shadow: 0 20px 36px -22px rgba(42,26,34,.6);
}
.biglietto .nastro { position: absolute; top: 0; bottom: 0; right: 1.4rem; width: 14px; background: var(--vinaccia); box-shadow: inset 2px 0 0 rgba(255,255,255,.12), inset -2px 0 0 rgba(0,0,0,.12); }
.biglietto .fiocco { position: absolute; top: -20px; right: calc(1.4rem + 7px - 34px); width: 68px; height: auto; filter: drop-shadow(0 3px 3px rgba(74,18,41,.25)); }
.biglietto .fiocco path, .biglietto .fiocco circle { fill: var(--oro); }
.biglietto .fiocco .coda { fill: var(--oro-scuro); }
.biglietto .per { font: italic 500 1rem/1.2 var(--font-titoli); color: var(--testo-tenue); }
.biglietto .nome {
  font: italic 600 clamp(2.6rem, 2rem + 3vw, 3.5rem)/1 var(--font-titoli);
  color: var(--vinaccia); margin: .1em 0 .45em; letter-spacing: -.01em;
}
.biglietto blockquote {
  margin: 0 0 1.1rem; padding: 0;
  font: italic 400 .96rem/1.95 var(--font-titoli); color: var(--inchiostro); letter-spacing: -.005em;
  /* il testo poggia su righe, come un quaderno di musica */
  background: repeating-linear-gradient(to bottom, transparent 0 calc(1.95em - 1px), rgba(123,35,72,.2) calc(1.95em - 1px) 1.95em);
}
.lettore { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.3rem; }
.lettore .play {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--vinaccia); display: grid; place-items: center;
  box-shadow: 0 2px 0 var(--vinaccia-base);
}
.lettore .play svg { width: 18px; height: 18px; fill: var(--crema); margin-left: 2px; }
.onda { display: flex; align-items: center; gap: 3px; height: 40px; flex: 1; margin: 0; }
.onda span { flex: 1; min-width: 2px; background: #E3CDBE; border-radius: 2px; transform-origin: center; }
.onda span:nth-child(-n+11) { background: var(--vinaccia); }
.onda span:nth-child(11) { box-shadow: 0 0 0 2px var(--oro); }
@media (prefers-reduced-motion: no-preference) {
  .onda span { animation: suona 1.6s ease-in-out infinite alternate; }
  .onda span:nth-child(3n+1) { animation-delay: -.4s; }
  .onda span:nth-child(3n+2) { animation-delay: -1.1s; animation-duration: 1.9s; }
  .onda span:nth-child(4n) { animation-delay: -.7s; animation-duration: 1.3s; }
}
@keyframes suona { from { transform: scaleY(.62); } to { transform: scaleY(1); } }
.matrice {
  position: relative; margin: 0 -3.9rem 0 -1.6rem; padding: 1rem 3.9rem 1.1rem 1.6rem;
  border-top: 2px dashed #E3CDBE;
  display: flex; align-items: center; gap: .9rem;
  font: 500 var(--t-xs)/1.3 var(--font-testo); color: var(--testo-tenue);
}
.matrice::before, .matrice::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--crema); }
.matrice::before { left: -10px; } .matrice::after { right: -10px; }
.matrice .qr { width: 46px; height: 46px; fill: var(--inchiostro); flex-shrink: 0; }
.biglietto figcaption.nota { margin: 1.6rem .5rem 0; font-size: var(--t-xs); text-align: center; }

/* Varianti stagionali del biglietto */
.hero-natale { background-image: url("/img/neve.svg"), url("/img/pentagramma.svg"); background-position: right 2% top .5rem, center bottom; background-size: 420px auto, 180% 150px; background-repeat: no-repeat; }
.hero-natale .biglietto .nastro { background: var(--salvia); }
.hero-natale .biglietto::before { background: var(--salvia); }
.hero-natale .biglietto .nome { color: var(--salvia); }
.hero-natale .onda span:nth-child(-n+11) { background: var(--salvia); }
.hero-natale .lettore .play { background: var(--salvia); box-shadow: 0 2px 0 #1D4840; }
.hero-babbo { background-image: url("/img/neve.svg"), url("/img/pentagramma.svg"); background-position: right 2% top .5rem, center bottom; background-size: 420px auto, 180% 150px; background-repeat: no-repeat; }
.hero-babbo .biglietto-carta { transform: rotate(1.5deg); }
.hero-babbo .biglietto::before { background: var(--oro); transform: rotate(-2.5deg); left: -6px; right: 14px; }
@media (min-width: 900px) {
  .hero-natale, .hero-babbo { background-size: 560px auto, 130% 170px; }
}

/* ---------- Griglie e card ---------- */
.griglia { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .griglia-2 { grid-template-columns: repeat(2, 1fr); } .griglia-3 { grid-template-columns: repeat(2, 1fr); } .griglia-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .griglia-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .griglia-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--carta); border: 1px solid var(--bordo); border-radius: var(--raggio); padding: 1.6rem 1.5rem; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.sezione-scura .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); color: var(--crema); }

/* card-collegamento (occasioni): il titolo è il link, nessuna freccia */
a.card { display: block; text-decoration: none; color: var(--testo); position: relative; transition: border-color .15s, background-color .15s; }
a.card h3 { color: var(--vinaccia); font-size: 1.35rem; text-decoration: underline; text-decoration-color: rgba(123,35,72,.3); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a.card:hover { border-color: var(--vinaccia); background: var(--bianco); color: var(--testo); }
a.card:hover h3 { text-decoration-color: var(--vinaccia); text-decoration-thickness: 2px; }

/* icone */
.icona {
  display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1.1rem;
  border-radius: 16px; background: #F7E6EA; color: var(--vinaccia);
}
.icona .ico { width: 36px; height: 36px; }
.ico .acc { fill: var(--oro); stroke: var(--oro-scuro); stroke-width: 1; }
.ico .acc-tratto, .ico-passo .acc-tratto { stroke: var(--oro-scuro); }
.ico-passo .acc { fill: var(--oro); stroke: var(--oro-scuro); stroke-width: 1; }

/* ---------- Come funziona in 3 passi (sequenza reale: numerata) ---------- */
.passi { counter-reset: passo; list-style: none; padding: 0; margin: 0; display: grid; gap: 2.25rem; position: relative; }
.passi > li { counter-increment: passo; margin: 0; position: relative; padding: 0 0 0 5.25rem; }
.passo-icona {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--carta); border: 1px solid var(--bordo); color: var(--vinaccia);
}
.passo-icona .ico-passo { width: 36px; height: 36px; }
.passi > li::before {
  content: counter(passo); position: absolute; left: 44px; top: -8px;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--vinaccia); color: var(--crema); font: italic 600 .95rem/1 var(--font-titoli);
}
.passi h3 { font-size: 1.3rem; margin-bottom: .35em; }
.passi p { color: var(--testo-tenue); }
@media (min-width: 820px) {
  .passi { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .passi > li { padding: 5.5rem 0 0; }
  /* rigo che unisce i tre passi */
  .passi::before {
    content: ""; position: absolute; left: 80px; right: 8%; top: 27px; height: 9px;
    background: repeating-linear-gradient(to bottom, rgba(123,35,72,.22) 0 1px, transparent 1px 4px);
  }
}

/* ---------- Liste di spunte ---------- */
.lista-check { list-style: none; padding: 0; }
.lista-check li { position: relative; padding-left: 1.9em; }
.sezione-scura .lista-check li::before { border-color: var(--oro); }

/* ---------- Prodotti ---------- */
.prodotto { display: flex; flex-direction: column; position: relative; }
.prodotto .badge { align-self: flex-start; }
.prodotto h3 { font-size: 1.4rem; }
.prodotto h3 a { color: var(--inchiostro); text-decoration: none; }
.prodotto h3 a:hover { color: var(--vinaccia); text-decoration: underline; }
.prodotto .prezzo { font: 600 2.5rem/1 var(--font-titoli); color: var(--inchiostro); margin: .15em 0 .6em; letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.prodotto .prezzo small { display: block; margin-top: .45em; font: 400 var(--t-s) var(--font-testo); color: var(--testo-tenue); letter-spacing: 0; }
.prodotto > p:not(.prezzo):not(.nota) { color: var(--testo-tenue); }
.prodotto ul { margin: .4rem 0 1.4rem; font-size: .98rem; }
.prodotto .btn { margin-top: auto; }
.prodotto-evidenza { border: 2px solid var(--vinaccia); background: var(--bianco); box-shadow: var(--ombra-carta); }
.prodotto-evidenza::before { content: ""; position: absolute; top: -2px; bottom: -2px; right: .9rem; width: 9px; background: var(--vinaccia); opacity: .9; }
.prodotto-evidenza::after { content: ""; position: absolute; top: -16px; right: calc(.9rem - 19.5px); width: 48px; height: 36px; background: url("/img/fiocco.svg") center / contain no-repeat; }
.prodotto-evidenza > * { position: relative; z-index: 1; }
.prodotto-evidenza > h3, .prodotto-evidenza > h2, .prodotto-evidenza > p, .prodotto-evidenza > ul, .prodotto-evidenza > .btn { margin-right: 1.3rem; }
/* etichetta a forma di cartellino */
.badge {
  display: inline-block; font: 600 var(--t-xs)/1.2 var(--font-testo); letter-spacing: .01em;
  padding: .42em 1.2em .42em .75em; background: var(--oro); color: var(--inchiostro); margin-bottom: .9rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%);
  border-radius: 3px 0 0 3px;
}

/* ---------- Tabelle ---------- */
.tabella-wrap { overflow-x: auto; border-radius: var(--raggio); border: 1px solid var(--bordo); background: var(--carta); margin-bottom: 1.2rem; }
table { width: 100%; border-collapse: collapse; background: var(--carta); }
th, td { text-align: left; padding: 1rem 1.1rem; border-bottom: 1px solid var(--bordo); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
th { background: var(--inchiostro); color: var(--crema); font-weight: 600; font-size: var(--t-s); }
td.prezzo-cella { font: 600 1.4rem/1.2 var(--font-titoli); color: var(--vinaccia); white-space: nowrap; }
.tabella-prezzi td:first-child a { text-decoration: none; }
.tabella-prezzi td:first-child strong { font: 600 1.2rem/1.3 var(--font-titoli); color: var(--inchiostro); }
.tabella-prezzi td:first-child a:hover strong { color: var(--vinaccia); text-decoration: underline; }
.tabella-prezzi td:last-child { color: var(--testo-tenue); font-size: .98rem; }
/* Tabelle nei testi (privacy, cookie, blog): su telefono scorrono dentro il loro riquadro */
@media (max-width: 699px) {
  table:not(.tabella-prezzi) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--bordo); border-radius: var(--raggio-s); }
  .tabella-wrap table { border: 0; border-radius: 0; }
  th, td { padding: .75rem .8rem; font-size: .95rem; }
}
/* Su telefono il listino diventa una pila di cartellini */
@media (max-width: 699px) {
  .tabella-prezzi-wrap, .tabella-wrap:has(.tabella-prezzi) { border: 0; background: none; overflow: visible; }
  .tabella-prezzi, .tabella-prezzi tbody, .tabella-prezzi tr, .tabella-prezzi td { display: block; background: none; }
  .tabella-prezzi thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .tabella-prezzi tr { background: var(--carta); border: 1px solid var(--bordo); border-radius: var(--raggio); padding: 1.1rem 1.2rem; margin-bottom: .9rem; display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; }
  .tabella-prezzi td { padding: 0; border: 0; }
  .tabella-prezzi td.prezzo-cella { grid-column: 2; grid-row: 1; text-align: right; }
  .tabella-prezzi td:first-child { grid-column: 1; grid-row: 1; }
  .tabella-prezzi td:last-child { grid-column: 1 / -1; margin-top: .5rem; padding-top: .6rem; border-top: 1px dashed var(--bordo); }
}

/* ---------- Promesse: sigilli, non scatole ---------- */
.griglia:has(> .promessa) { gap: 2rem 2.5rem; }
@media (min-width: 960px) { .griglia-2:has(> .promessa) { grid-template-columns: repeat(3, 1fr); } }
.card.promessa {
  background: none; border: 0; border-top: 1px solid rgba(42,26,34,.18); border-radius: 0;
  padding: 1.4rem 0 0 3.3rem; position: relative;
}
.card.promessa::before { content: ""; position: absolute; left: 0; top: 1.4rem; width: 38px; height: 38px; background: url("/img/sigillo.svg") center / contain no-repeat; }
.card.promessa h3 { font-size: 1.2rem; }
.card.promessa p { color: var(--testo-tenue); font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq h2 { margin-bottom: 1.4rem; }
.faq details { background: var(--carta); border: 1px solid var(--bordo); border-radius: var(--raggio-s); margin-bottom: .7rem; transition: border-color .15s; }
.faq details[open] { border-color: rgba(123,35,72,.45); }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 3.4rem 1.05rem 1.25rem; font-weight: 600; color: var(--inchiostro); position: relative; min-height: 44px; }
.faq summary:hover { color: var(--vinaccia); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 1.3rem; top: 50%; width: 14px; height: 2px; background: var(--vinaccia); transition: transform .2s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq .risposta { padding: 0 1.25rem 1.15rem; color: var(--testo-tenue); }
.faq .risposta p:last-child { margin-bottom: 0; }

/* ---------- Testata pagina interna ---------- */
.testata { padding: 2.25rem 0 2.75rem; }
.testata h1 { font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.2rem); }
.testata .lead { margin-bottom: 0; }
/* testata allineata al contenuto largo (listino, modulo) */
.testata-larga .stretto { max-width: var(--larghezza); }
.testata-larga .stretto > * { max-width: 760px; }

/* ---------- Contenuto testuale ---------- */
.prosa { max-width: 720px; }
.prosa h2 { margin-top: 2.4rem; font-size: clamp(1.4rem, 1.2rem + .9vw, 1.75rem); }
.prosa h2:first-child { margin-top: 0; }
.prosa h3 { margin-top: 1.6rem; }
.prosa li { margin-bottom: .55em; }
.avviso { background: var(--oro-tenue); border: 1px solid #EBC890; border-radius: 12px; padding: 1.05rem 1.25rem; margin: 1rem 0 1.5rem; }
.avviso-legale { background: #FBEAEC; border-color: #E3A6AD; }
.titolo-avviso { font-size: 1.35rem; }

/* Offerta di lancio: un cartellino regalo con il fiocco */
.sezione.promo:not(.sezione-alt) { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) 0; }
.sezione.promo .avviso {
  position: relative; margin: 0;
  background: var(--carta); border: 1px solid var(--bordo); border-left: 0; border-radius: 4px 14px 14px 4px;
  padding: 1.4rem 1.4rem 1.4rem 4.6rem; box-shadow: var(--ombra-carta);
}
.sezione.promo .avviso::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: var(--vinaccia); border-radius: 4px 0 0 4px; }
.sezione.promo .avviso::after { content: ""; position: absolute; left: 1.35rem; top: 1.25rem; width: 44px; height: 34px; background: url("/img/fiocco.svg") center / contain no-repeat; }
.sezione.promo .avviso h2 { margin-bottom: .35em; }
#offerta-lancio { background: var(--crema-calda) url("/img/fiocco.svg") right 1.25rem top 1.5rem / 56px auto no-repeat; }
#offerta-lancio h2 { padding-right: 3.5rem; }
@media (min-width: 900px) { #offerta-lancio { background-position: right 6% top 2rem; background-size: 90px auto; } }

/* ---------- Cronologia (pagina Come funziona) ---------- */
.cronologia { list-style: none; counter-reset: fase; padding: 0; margin: 0 0 2.5rem; position: relative; }
.cronologia::before { content: ""; position: absolute; left: 21px; top: 12px; bottom: 30px; width: 2px; background: repeating-linear-gradient(to bottom, rgba(123,35,72,.35) 0 6px, transparent 6px 11px); }
.cronologia > li { counter-increment: fase; position: relative; padding: 0 0 1.6rem 4.25rem; margin: 0; }
.cronologia > li::before {
  content: counter(fase); position: absolute; left: 0; top: -.15rem;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--vinaccia); color: var(--crema); font: italic 600 1.3rem/1 var(--font-titoli);
  box-shadow: 0 0 0 6px var(--crema);
}
.cronologia > li:last-child::before { background: var(--oro); color: var(--inchiostro); }
.prosa .cronologia h2 { margin-top: 0; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.55rem); padding-top: .35rem; }
.cronologia p { color: var(--testo-tenue); }

/* ---------- Moduli ---------- */
.modulo { background: var(--carta); border: 1px solid var(--bordo); border-radius: 18px; padding: 1.4rem 1.2rem; box-shadow: var(--ombra-carta); }
@media (min-width: 700px) { .modulo { padding: 2.2rem 2.4rem; } }
fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; }
fieldset .campo:last-child { margin-bottom: .4rem; }
fieldset + fieldset { padding-top: 1.8rem; border-top: 1px dashed var(--bordo); }
legend { font: 600 1.4rem/1.25 var(--font-titoli); color: var(--inchiostro); margin-bottom: 1rem; padding: 0; display: flex; align-items: center; gap: .65rem; }
legend { float: left; width: 100%; }
legend + * { clear: both; }
.legend-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--vinaccia); color: var(--crema); font: italic 600 1.05rem/1 var(--font-titoli);
}
.campo { margin-bottom: 1.2rem; }
.campo label, .etichetta { display: block; font-weight: 600; margin-bottom: .4rem; }
.campo .aiuto { display: block; font-size: var(--t-s); color: var(--testo-tenue); margin: .1rem 0 .45rem; font-weight: 400; line-height: 1.5; }
.obbl { color: var(--errore); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; min-height: 50px; padding: .7em .9em;
  font: 1rem var(--font-testo); color: var(--testo);
  background: var(--bianco); border: 1.5px solid var(--bordo-campo); border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: #8C7A82; }
select { appearance: none; -webkit-appearance: none; padding-right: 2.6em; background: var(--bianco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237B2348' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") right 1em center / 12px 8px no-repeat; }
textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
input:hover, select:hover, textarea:hover { border-color: var(--inchiostro); }
input:focus, select:focus, textarea:focus { border-color: var(--vinaccia); outline: 0; box-shadow: 0 0 0 4px rgba(123,35,72,.18); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--vinaccia); outline-offset: 1px; }
.campo-errore input, .campo-errore select, .campo-errore textarea { border-color: var(--errore); background-color: #FFF8F8; }
.msg-errore { display: block; color: var(--errore); font-size: var(--t-s); font-weight: 600; margin-top: .35rem; }
.msg-errore:empty { display: none; }
#errori-riepilogo:not(:empty) { background: #FBEAEC; border: 1px solid #E3A6AD; border-radius: 10px; padding: .8rem 1rem; margin-bottom: 1.2rem; }
.due-colonne { display: grid; gap: 0 1.1rem; }
@media (min-width: 700px) { .due-colonne { grid-template-columns: 1fr 1fr; } }
.scelte { display: grid; gap: .6rem; }
@media (min-width: 600px) { .scelte-2 { grid-template-columns: 1fr 1fr; } }
.scelta, .campo label.scelta { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border: 1.5px solid #CDB9A8; border-radius: 12px; cursor: pointer; background: var(--bianco); font-weight: 400; transition: border-color .15s, background-color .15s; }
.scelta:hover { border-color: var(--inchiostro); }
.scelta:has(input:checked) { border-color: var(--vinaccia); background: #FBF0F3; box-shadow: inset 0 0 0 1px var(--vinaccia); }
.scelta:has(input:focus-visible) { outline: 3px solid var(--inchiostro); outline-offset: 2px; }
.scelta input { margin-top: .3rem; width: 1.2rem; height: 1.2rem; accent-color: var(--vinaccia); flex-shrink: 0; }
.scelta strong { display: block; font-weight: 600; }
.consenso, .campo label.consenso { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; }
.consenso input { width: 1.3rem; height: 1.3rem; margin-top: .2rem; accent-color: var(--vinaccia); flex-shrink: 0; }
.contatore { display: block; text-align: right; font-size: var(--t-xs); color: var(--testo-tenue); margin-top: .25rem; }
.esito { scroll-margin-top: 110px; border-radius: 14px; padding: 1.3rem 1.4rem; margin-top: 1rem; }
.esito[hidden] { display: none; }
.esito-ok { background: #E8F3EE; border: 2px solid var(--salvia); }
.esito-ko { background: #FBEAEC; border: 2px solid var(--errore); }
.esito h2, .esito h3 { margin-top: 0; font-size: 1.5rem; }
.campo-trappola { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.riepilogo-prezzo { background: var(--crema-calda); border-radius: 12px; padding: 1rem 1.2rem; margin: 1.2rem 0 .4rem; border-left: 4px solid var(--vinaccia); }
.riepilogo-prezzo strong { font: 600 1.3rem var(--font-titoli); color: var(--vinaccia); }

/* Pagina /ordina/: modulo + colonna "cosa succede dopo" */
.ordina-griglia { display: grid; gap: 2rem; }
@media (min-width: 1000px) {
  .ordina-griglia { grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; align-items: start; }
  .ordina-aside { position: sticky; top: 96px; }
}
.aside-carta { background: var(--inchiostro) url("/img/pentagramma-oro.svg") center bottom / 300% 120px no-repeat; color: var(--crema); border-radius: 18px; padding: 1.6rem 1.5rem 3.6rem; }
.aside-carta h2 { color: var(--crema); font-size: 1.45rem; }
.aside-carta a { color: var(--oro); }
.aside-carta .nota { color: var(--testo-su-scuro); }
.mini-passi { list-style: none; counter-reset: mp; padding: 0; margin: 0 0 1.4rem; }
.mini-passi li { counter-increment: mp; position: relative; padding-left: 2.4rem; margin-bottom: .9rem; color: var(--testo-su-scuro); font-size: .98rem; }
.mini-passi li strong { color: var(--crema); }
.mini-passi li::before { content: counter(mp); position: absolute; left: 0; top: .05rem; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--oro); color: var(--inchiostro); font: italic 600 .9rem/1 var(--font-titoli); }
.aside-garanzie { border-top: 1px solid rgba(255,247,238,.16); padding-top: 1.1rem; font-size: .96rem; }
.aside-garanzie li::before { border-color: var(--oro); }

/* ---------- Footer ---------- */
.footer { background: var(--inchiostro); color: var(--testo-su-scuro); padding: 3.5rem 0 2rem; font-size: .96rem; }
.footer a { color: var(--crema); text-decoration-color: rgba(255,247,238,.35); }
.footer a:hover { color: var(--oro); text-decoration-color: var(--oro); }
.footer .logo { color: var(--crema); }
.footer-logo img { width: 192px; height: auto; }
.footer-griglia { display: grid; gap: 2.2rem; }
@media (min-width: 640px) { .footer-griglia { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-griglia { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer h2 { font: italic 600 1.1rem/1.3 var(--font-titoli); color: var(--oro); margin-bottom: .9rem; letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .55rem; }
.footer-legale { border-top: 1px solid rgba(255,247,238,.16); margin-top: 2.5rem; padding-top: 1.4rem; font-size: var(--t-xs); color: #BFAAB4; }
.footer-legale p { margin-bottom: .5rem; }
.link-bottone { background: none; border: 0; padding: 0; font: inherit; color: var(--crema); text-decoration: underline; text-decoration-color: rgba(255,247,238,.35); text-underline-offset: .2em; cursor: pointer; }
.link-bottone:hover { color: var(--oro); }

/* ---------- Barra CTA mobile ---------- */
.cta-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom)); background: rgba(255,247,238,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--bordo); }
.cta-mobile .btn { width: 100%; }
body.con-cta-mobile .footer { padding-bottom: calc(2rem + 80px); }
@media (min-width: 980px) { .cta-mobile { display: none; } body.con-cta-mobile .footer { padding-bottom: 2rem; } }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; z-index: 100; left: .75rem; right: .75rem; bottom: .75rem; max-width: 660px; margin: 0 auto; background: var(--carta); color: var(--testo); border: 1px solid var(--inchiostro); border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(42,26,34,.55); padding: 1.3rem 1.4rem; max-height: calc(100vh - 1.5rem); overflow-y: auto; }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.3rem; margin-bottom: .4rem; padding-right: 2rem; }
.cookie-banner p { font-size: .93rem; color: var(--testo-tenue); }
.cookie-azioni { display: grid; gap: .6rem; margin-top: .8rem; }
@media (min-width: 560px) { .cookie-azioni { grid-template-columns: repeat(3, 1fr); } }
/* Tutti i pulsanti del banner hanno lo STESSO peso visivo (requisito Garante privacy) */
.cookie-azioni .btn { --base: #120B0F; background: var(--inchiostro); color: var(--crema); font-size: .98rem; padding: .7em 1em; }
.cookie-azioni .btn:hover { background: var(--inchiostro-2); color: var(--crema); }
.cookie-opzioni { margin-top: 1rem; border-top: 1px solid var(--bordo); padding-top: .8rem; }
.cookie-opzioni[hidden] { display: none; }
.cookie-voce { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem 0; }
.cookie-voce input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; accent-color: var(--inchiostro); flex-shrink: 0; }
.cookie-voce label { font-weight: 400; font-size: .95rem; }
.cookie-chiudi { position: absolute; top: .5rem; right: .6rem; background: none; border: 0; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--testo-tenue); min-width: 44px; min-height: 44px; border-radius: 8px; }
.cookie-banner h2[tabindex="-1"]:focus { outline: 0; text-decoration: underline; text-decoration-color: var(--vinaccia); text-decoration-thickness: 2px; text-underline-offset: .25em; }
.cookie-chiudi:hover { color: var(--inchiostro); background: var(--crema-calda); }

/* ---------- Utilità ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; }
.promo[hidden] { display: none; }

/* ---------- Blog ---------- */
.article-meta { font-size: var(--t-s); color: var(--testo-tenue); font-style: italic; }
.blog-article table { margin: 1rem 0 1.5rem; font-size: .95rem; }
.blog-article h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 2.8rem); }
.card h2 a { color: var(--inchiostro); text-decoration: none; }
.card h2 a:hover { color: var(--vinaccia); text-decoration: underline; }

/* ---------- Stampa ---------- */
@media print {
  .header, .promo-barra, .cta-mobile, .cookie-banner, .footer-griglia { display: none !important; }
  body { background: #fff; padding: 0 !important; }
}

/* Pagina /ordine/ – riepilogo prima del pagamento */
.tabella-riepilogo { width: 100%; border-collapse: collapse; margin: .6rem 0 .4rem; font-size: 1.05rem; }
.tabella-riepilogo th, .tabella-riepilogo td { padding: .7rem 0; border-bottom: 1px solid var(--bordo); text-align: left; font-weight: 400; }
.tabella-riepilogo td { text-align: right; white-space: nowrap; }
.tabella-riepilogo tr:last-child th, .tabella-riepilogo tr:last-child td { border-bottom: 0; font-weight: 700; font-size: 1.15rem; }
#riepilogo-ordine .consenso { margin-top: .6rem; }
.tabella-riepilogo th, .tabella-riepilogo td { background: none; color: var(--inchiostro, #2A1A22); }

/* ---------- Listino prezzi a schede (22/11/2026) ---------- */
.listino { background: var(--inchiostro); padding: clamp(2.5rem, 5vw, 4.5rem) 0; position: relative; overflow: hidden; }
.listino::before { content: ""; position: absolute; inset: auto -10% -40px -10%; height: 140px;
  background: url("/img/pentagramma-oro.svg") center / 1400px 140px repeat-x; opacity: .35; pointer-events: none; }
.listino-griglia { display: grid; gap: 1.25rem; grid-template-columns: 1fr; position: relative; }
@media (min-width: 700px) { .listino-griglia { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .listino-griglia { grid-template-columns: repeat(4, 1fr); } }
.listino-card { --c: var(--vinaccia); --sfondo-card: #F3DCE5; position: relative; display: flex; flex-direction: column;
  background: var(--sfondo-card); color: var(--inchiostro); border-radius: 22px; padding: 1.6rem 1.4rem 1.4rem;
  border-top: 8px solid var(--c); box-shadow: 0 18px 40px -22px rgba(0,0,0,.6); }
.listino-natale { --c: var(--salvia); --sfondo-card: #DCEBE6; }
.listino-babbo { --c: var(--oro-scuro); --sfondo-card: var(--oro-tenue); }
.listino-famiglia { --c: var(--inchiostro-2); --sfondo-card: var(--crema-calda); }
.listino-badge { position: absolute; top: -1px; right: 1.2rem; transform: translateY(-50%); background: var(--oro);
  color: var(--inchiostro); font: 700 var(--t-xs)/1 var(--font-testo); padding: .45rem .8rem; border-radius: 999px; }
.listino-nome { font: 600 1.35rem/1.2 var(--font-titoli); margin: 0 0 .35rem; }
.listino-nome a { color: var(--inchiostro); text-decoration: none; }
.listino-nome a:hover { color: var(--c); text-decoration: underline; }
.listino-per { font-size: var(--t-s); color: var(--testo-tenue); margin: 0 0 1rem; min-height: 2.6em; }
.listino-prezzo { font: 700 2.6rem/1 var(--font-titoli); color: var(--c); margin: 0 0 1.1rem; }
.listino-babbo .listino-prezzo { color: #8A5A12; }
.listino-prezzo span { display: block; font: 500 var(--t-xs)/1.4 var(--font-testo); color: var(--testo-tenue); margin-top: .35rem; }
.listino-punti { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .55rem; font-size: var(--t-s); flex: 1; }
.listino-punti li { position: relative; padding-left: 1.6em; }
.listino-punti li::before { content: ""; position: absolute; left: .15em; top: .3em; width: .5em; height: .85em;
  border: solid var(--c); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.listino-btn { width: 100%; text-align: center; background: var(--c); }
.listino-babbo .listino-btn { background: #8A5A12; }
.listino-extra { position: relative; margin-top: 1.5rem; background: rgba(255,255,255,.06); border: 1px dashed rgba(233,162,59,.6);
  border-radius: 16px; padding: 1rem 1.25rem; color: var(--crema); }
.listino-extra p { margin: 0; }
.listino-extra strong { color: var(--oro); }
.listino-nota { position: relative; color: var(--testo-su-scuro); font-size: var(--t-s); margin: 1rem 0 0; }

/* ---------- Anteprima immediata nel modulo /ordina/ ---------- */
.anteprima-attesa { display: flex; align-items: center; gap: 1rem; background: var(--oro-tenue); border-radius: 16px; padding: 1rem 1.2rem; margin: 1rem 0; }
.anteprima-attesa p { margin: 0; }
.anteprima-onda { display: inline-flex; gap: 4px; align-items: center; height: 36px; }
.anteprima-onda i { width: 6px; height: 100%; border-radius: 3px; background: var(--vinaccia); animation: onda 1s ease-in-out infinite; }
.anteprima-onda i:nth-child(2) { animation-delay: .15s; } .anteprima-onda i:nth-child(3) { animation-delay: .3s; }
.anteprima-onda i:nth-child(4) { animation-delay: .45s; } .anteprima-onda i:nth-child(5) { animation-delay: .6s; }
@keyframes onda { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .anteprima-onda i { animation: none; transform: scaleY(.6); } }
.anteprima-versioni { display: grid; gap: 1rem; margin: 1rem 0 1.25rem; }
@media (min-width: 700px) { .anteprima-versioni { grid-template-columns: 1fr 1fr; } }
.versione { display: grid; gap: .6rem; background: var(--carta); border: 2px solid var(--bordo); border-radius: 18px; padding: 1rem; cursor: pointer; }
.versione:has(input:checked) { border-color: var(--vinaccia); box-shadow: 0 0 0 3px rgba(123,35,72,.15); }
.versione input { accent-color: var(--vinaccia); width: 1.2rem; height: 1.2rem; }
.versione-titolo { font: 600 1.15rem/1.2 var(--font-titoli); }
.versione audio { width: 100%; }
#anteprima-scegli[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

/* Pagina privata dell'anteprima (/anteprima/) */
.h3 { font-size: var(--t-l); line-height: 1.3; margin: 1.6rem 0 .4rem; }
#ap-pronta .modulo { margin-top: 2rem; }
#ap-pronta .modulo .h3 { margin-top: 0; }
