/* BABULANDIA · SITO 1 · il negozio elegante (2/12/2026), stessa forma del tema Split rifatta nel nostro codice
   Rifatto a misura sul tema Split (demo split-theme-main.myshopify.com): stesse sezioni, stesse misure a 1440x900 e a 390x844.
   Nessun file della demo è copiato. In fondo il blocco IL SITO: marchio, accento verde e i pochi ritocchi di contenuto. */
@font-face { font-family: 'Montserrat'; src: url('../font/montserrat.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --nero: #000; --bianco: #fff; --grigio: #ebebed; --grigio2: #eeeeef; --riga: rgba(0, 0, 0, .1);
  --scuro: #1c1c1c; --scuro2: #212121; --scuro3: #282828; --piede: #1d1f20; --chiaro: #f3f3f3; --chiaro2: #efefef; --chiaro3: #d2d2d2;
  --rosso: #d14545; --curva: cubic-bezier(.39, .575, .565, 1); --cass: cubic-bezier(.25, .46, .45, .94);
  /* per le pagine legali (legale.css) */
  --carta: #fff; --inchiostro: #000; --brace: #d14545; --fondo: #1c1c1c; --serif: 'Montserrat', system-ui, sans-serif; --bastone: 'Montserrat', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; background: #fff; }
html.lg-aperto { overflow: hidden; }
body { margin: 0; position: relative; left: 0; background: #fff; color: #000; font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; transition: left .5s var(--cass); overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
.nascosto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.salta { position: fixed; left: 12px; top: -80px; z-index: 999; background: #000; color: #fff; padding: 10px 16px; font-weight: 600; }
.salta:focus { top: 12px; }
:focus-visible { outline: 2px solid #000; outline-offset: 2px; }

/* ---------- caratteri ---------- */
.t-grande { font-size: 60px; line-height: 66px; font-weight: 600; letter-spacing: -2px; }
.t-due { font-size: 40px; line-height: 44px; font-weight: 600; }
.t-tre { font-size: 30px; line-height: 33px; font-weight: 600; }
.t-medio { font-size: 30px; line-height: 33px; font-weight: 600; }
.riga-su, .sotto-t { display: block; font-size: 16px; line-height: 25.6px; }

/* ---------- bottoni: pillola, al passaggio si allarga e compare la freccia ---------- */
.bottone { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 30px; border-radius: 30px;
  border: 2px solid transparent; font-size: 13px; line-height: 52px; font-weight: 600; text-transform: uppercase; white-space: nowrap; overflow: hidden;
  transition: .15s linear; transition-property: padding, background, color, border-color; }
.bottone > span { display: block; }
.bottone.pieno { background: #000; color: #fff; }
.bottone.pieno.chiaro { background: #fff; color: #000; }
.chiaro-f .bottone.pieno, .conosci .bottone.pieno { background: var(--chiaro); color: #000; }
.bottone.filo { border: 1px solid #000; color: #000; }
.freccia { display: block; width: 0; height: 50px; opacity: 0; position: relative; transition: .15s linear; transition-property: width, opacity; }
.freccia::before { content: ''; position: absolute; right: 0; top: 24.5px; width: 20px; height: 1.5px; background: currentColor; }
.freccia::after { content: ''; position: absolute; right: 0; top: 21.3px; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transform-origin: 100% 0; }
@media (hover: hover) {
  .bottone:hover .freccia, a:hover > .dm-testo .freccia { width: 31px; opacity: 1; }
  .bottone:hover > span:first-child + .freccia { margin-left: 0; }
}

/* ---------- barra d'annuncio e testata ---------- */
.annuncio { height: 34px; padding: 5px 80px; background: var(--scuro); color: var(--chiaro3); font-size: 12px; line-height: 13.2px; text-align: center; }
.annuncio span { display: block; padding: 5px 0; }
.testata { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 93px; padding: 0 30px 0 40px;
  background: #fff; border-bottom: 1px solid var(--riga); }
.logo { display: block; height: 52px; margin-top: 0; }
.logo img { height: 46px; width: auto; margin-top: 3px; }
.icone { display: flex; align-items: center; }
.ico { position: relative; display: flex; align-items: center; justify-content: center; color: #000; }
.ico svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s linear; }
.ico-cerca svg { width: 21px; height: 21px; }
.ico-tel { margin-left: 27px; }
.ico-tel svg { width: 22px; height: 22px; stroke-width: 1.5; }
.ico-borsa { margin-left: 27px; width: 22px; height: 26px; }
.ico-borsa svg { width: 22px; height: 26px; }
.conta { position: absolute; left: 0; right: 0; top: 11px; font-size: 10px; line-height: 10px; font-weight: 700; text-align: center; }
.ico-menu { width: 40px; height: 40px; margin-left: 17px; }
.ico-menu svg { width: 27px; height: 16px; stroke-width: 2; stroke-linecap: butt; }
@media (hover: hover) { .ico:hover svg { transform: scale(1.08); } }

/* ---------- apertura a schermo diviso ---------- */
.apertura { position: relative; }
.ap-dia { position: relative; display: grid; grid-template-columns: 50% 50%; height: 100vh; }
.ap-testo { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 0 0 8px 101px; background: var(--grigio); }
.ap-testo .riga-su { margin-bottom: 30px; max-width: 330px; }
.ap-testo .t-grande { max-width: 330px; margin-bottom: 34px; }
.ap-foto { position: relative; background: var(--grigio); }
.ap-taglio { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; }
.ap-dia + .ap-dia .ap-taglio { height: 0; }
.ap-fisso { position: absolute; left: 0; top: 0; width: 100%; height: 100vh; }
.ap-fisso img { width: 100%; height: 100%; object-fit: cover; }
.ap-velo { position: absolute; inset: 0; background: #000; opacity: 0; }
.apertura.attiva .ap-taglio { position: fixed; left: auto; right: 0; top: 0; width: 50%; }
.ap-dia:nth-child(1) .ap-taglio { z-index: 1; } .ap-dia:nth-child(2) .ap-taglio { z-index: 2; } .ap-dia:nth-child(3) .ap-taglio { z-index: 3; }
.ap-barra { display: none; }

/* ---------- griglia dei più richiesti ---------- */
.griglia-prod { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--riga); }
.gp-cella { position: relative; border-right: 1px solid var(--riga); border-bottom: 1px solid var(--riga); min-height: 522px; }
.gp-cella:nth-child(4n) { border-right: 0; }
.gp-titolo { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-bottom: 8px; }
.gp-titolo .t-medio { margin-bottom: 23px; }
.gp-titolo .sotto { font-size: 16px; line-height: 19px; }
.gp-tutti { display: flex; align-items: center; justify-content: center; }

/* scheda prodotto (griglia, schede, novità) */
.prod { position: relative; display: block; height: 100%; }
.prod-link { display: block; }
.prod-foto { position: relative; display: block; overflow: hidden; background: #f3f3f4; aspect-ratio: 360 / 431; }
.prod-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--curva), opacity .15s linear; }
.prod-foto .f2 { opacity: 0; }
.prod-dida { position: relative; display: block; height: 90px; padding: 24px 80px 0 24px; background: #fff; }
.prod-nome { display: block; font-size: 16px; line-height: 20.8px; font-weight: 600; }
.prod-prezzo { display: block; margin-top: 4px; font-size: 14px; line-height: 16.8px; }
.prod-agg { position: absolute; right: 8px; bottom: 20px; width: 50px; height: 50px; border-radius: 100%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .15s linear; }
.prod-agg svg { width: 22px; height: 26px; fill: none; stroke: #000; stroke-width: 1.6; stroke-linecap: round; transition: transform .15s linear; }
.prod-etich { position: absolute; right: 12px; top: 15px; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; z-index: 2; pointer-events: none; }
.etich { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 30px; background: #fff; border: 1px solid #e7e7e7; font-size: 14px; line-height: 14px; font-weight: 600; text-transform: uppercase; }
.etich.rosso { background: var(--rosso); border-color: var(--rosso); color: #fff; }
.etich.grigio { background: #707070; border-color: #707070; color: #fff; }
.prod-sw { position: absolute; left: 22px; bottom: 14px; display: flex; gap: 7px; opacity: 0; transition: opacity .15s linear; }
.prod-sw i { width: 27px; height: 27px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); }
@media (hover: hover) {
  .prod:hover .prod-foto img { transform: scale(1.05); }
  .prod:hover .prod-foto .f1 { opacity: 0; transition: transform .5s var(--curva), opacity .2s linear; }
  .prod:hover .prod-foto .f2 { opacity: 1; }
  .prod:hover .prod-agg, .prod:hover .prod-sw { opacity: 1; }
  .prod-agg:hover svg { transform: scale(1.1); }
}

/* ---------- righe di testo centrate ---------- */
.riga-testo { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 496px; padding: 150px 80px 158px; text-align: center; }
.riga-testo.corta { min-height: 400px; padding: 150px 80px; }
.riga-testo .t-due { max-width: 620px; margin-bottom: 30px; }
.riga-testo p { max-width: 620px; margin-bottom: 34px; }
.riga-testo.corta p { margin-bottom: 0; }

/* ---------- due metà ---------- */
.due-meta { display: grid; grid-template-columns: 50% 50%; }
.dm-box { position: relative; display: flex; align-items: center; justify-content: center; height: 900px; overflow: hidden; padding: 0 80px; text-align: center; }
.sfondo { position: absolute; inset: 0; display: block; overflow: hidden; transition: transform .5s var(--curva); }
.sfondo img, .sfondo video { width: 100%; height: 100%; object-fit: cover; }
.dm-testo { position: relative; display: flex; flex-direction: column; align-items: center; }
.dm-testo .sotto-t { margin-bottom: 30px; }
.dm-testo .t-due { display: block; margin-bottom: 34px; }
.dm-testo .bottone { background: transparent; }
@media (hover: hover) { .dm-box:hover .sfondo, .li-box:hover .sfondo { transform: scale(1.05); } .dm-box:hover .bottone.filo { background: #000; color: #fff; } }

/* ---------- video ---------- */
.video-t { position: relative; display: flex; align-items: center; justify-content: center; height: 800px; padding: 0 130px; background: #000; color: #fff; text-align: center; overflow: hidden; }
.video-t .sfondo video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); }
.video-t .t-due { position: relative; }

/* ---------- la foto e le schede ---------- */
.look { position: relative; display: grid; grid-template-columns: 50% 50%; height: 976px; overflow: clip; }
.look-foto { position: sticky; top: -1px; height: 900px; }
.look-foto img { width: 100%; height: 100%; object-fit: cover; }
.look-destra { position: relative; min-width: 0; padding-top: 130px; border-left: 1px solid var(--riga); }
.car-binario { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.car-binario::-webkit-scrollbar { display: none; }
.look-binario { gap: 40px; padding: 0 80px; scroll-padding-left: 80px; cursor: grab; }
.look-binario.trascina { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.look-scheda { flex: none; width: 475px; height: 670px; border: 1px solid var(--riga); scroll-snap-align: start; }
.look-scheda .prod-foto { aspect-ratio: auto; height: 568px; }
.look-scheda .prod-dida { height: 100px; padding: 29px 80px 0 25px; }
.look-scheda .prod-agg { bottom: 30px; right: 8px; }
.nv-scheda .prod-agg { bottom: 30px; right: 8px; }
.puntini { display: flex; justify-content: center; gap: 6px; height: 7px; }
.puntini i { width: 7px; height: 7px; border-radius: 7px; background: #000; opacity: .28; cursor: pointer; transition: .1s linear; }
.puntini i.on { width: 25px; opacity: 1; }
.puntini.chiari i { background: var(--chiaro2); }
.look .puntini { margin-top: 39px; }

/* ---------- chi siamo ---------- */
.conosci { display: grid; grid-template-columns: 50% 50%; height: 900px; background: var(--scuro); color: var(--chiaro); }
.cn-foto { position: relative; display: flex; align-items: center; padding: 0 0 0 101px; }
.cn-titolo { position: relative; color: var(--chiaro); }
.cn-titolo .t-grande { max-width: 330px; margin-bottom: 34px; }
.cn-testo { padding: 176px 79px 0 80px; }
.cn-testo .t-tre { margin-bottom: 30px; }
.cn-testo p + p { margin-top: 25.6px; }

/* ---------- colonna fissa a sinistra (parole, novità, giornale, linee) ---------- */
.fisso-sx { position: relative; }
.fs-dentro { position: sticky; top: -1px; height: 900px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 0 0 8px 101px; }
.fs-dentro .t-grande { max-width: 330px; }
.fs-dentro .bottone { margin-top: 34px; }

.parole { display: grid; grid-template-columns: 50% 50%; background: var(--scuro2); color: var(--chiaro2); }
.parole .fs-dentro { padding-bottom: 0; }
.parole .sotto-t { margin-top: 33px; line-height: 19px; }
.pa-binario { flex-direction: column; overflow: visible; border-left: 1px solid rgba(239, 239, 239, .1); }
.pa-voce { padding: 72px 79px 72px 80px; border-bottom: 1px solid rgba(239, 239, 239, .1); }
.pa-voce:last-child { border-bottom: 0; }
.avatar { display: block; width: 70px; height: 70px; border-radius: 100%; overflow: hidden; background: rgba(239, 239, 239, .08); margin-bottom: 48px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.pa-voce blockquote { font-size: 24px; line-height: 32px; font-weight: 500; }
.pa-voce figcaption { margin-top: 52px; font-size: 14px; line-height: 22.4px; }
.pa-voce figcaption span { display: block; opacity: .72; }
.parole .puntini { display: none; }

.novita { display: grid; grid-template-columns: 50% 50%; }
.nv-binario { flex-direction: column; overflow: visible; border-left: 1px solid var(--riga); }
.nv-scheda { height: 966px; border-bottom: 1px solid var(--riga); }
.nv-scheda:last-child { border-bottom: 0; height: 965px; }
.nv-scheda .prod-foto { aspect-ratio: auto; height: 865px; }
.nv-scheda .prod-dida { height: 100px; padding: 28px 80px 0 25px; }
.nv-scheda .prod-etich { top: 15px; right: 12px; }
.novita .puntini { display: none; }

.giornale { display: grid; grid-template-columns: 50% 50%; }
.gi-binario { flex-direction: column; overflow: visible; border-left: 1px solid var(--riga); }
.gi-voce { position: relative; display: grid; grid-template-columns: 50% 50%; height: 450px; background: #fff; }
.gi-testo { display: flex; flex-direction: column; justify-content: flex-end; padding: 0 40px 39px; }
.gi-testo time { font-size: 14px; line-height: 22.4px; display: block; margin-bottom: 11px; }
.gi-tit { font-size: 24px; line-height: 32px; font-weight: 600; }
.gi-foto { position: relative; overflow: hidden; }
.gi-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .15s linear, transform .5s var(--curva); }
@media (hover: hover) { .gi-voce:hover .gi-foto img { transform: scale(1.05); } }
.giornale .puntini { display: none; }

/* ---------- prodotto in vetrina ---------- */
.vetrina { display: grid; grid-template-columns: 50% 50%; }
.vt-galleria { position: relative; }
.vt-binario { flex-direction: column; overflow: visible; padding-bottom: 3px; }
.vt-foto { position: relative; height: 765px; flex: none; background: #f3f3f4; }
.vt-foto img { width: 100%; height: 100%; object-fit: cover; }
.vt-zoom { position: absolute; right: 25px; top: 25px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; }
.vt-zoom svg { width: 18px; height: 18px; fill: none; stroke: #000; stroke-width: 1.6; }
.vt-puntini { z-index: 3; position: absolute; left: 40px; top: 386px; bottom: 0; width: 23px; pointer-events: none; }
.vt-pillola { position: sticky; top: 386px; display: flex; flex-direction: column; align-items: center; gap: 9px; width: 23px; padding: 12px 0; border-radius: 21px; background: #ebebeb; pointer-events: auto; }
.vt-pillola i { width: 7px; height: 7px; border-radius: 7px; background: #000; opacity: .28; cursor: pointer; transition: .1s linear; }
.vt-pillola i.on { height: 25px; opacity: 1; }
.vt-barra { display: none; }
.sk-testa-tel { display: none; }
.vt-info { position: relative; border-left: 1px solid var(--riga); }
.vt-dentro { position: sticky; top: -21px; padding: 80px 79px 79px 80px; }
.sk-marca { display: block; font-size: 16px; line-height: 25.6px; }
.sk-marca a { text-decoration: underline; text-underline-offset: 3px; }
.sk-nome { margin: 32px 0 0; font-size: 40px; line-height: 44px; font-weight: 600; }
.sk-prezzo { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; }
.sk-prezzo b { font-size: 24px; line-height: 32px; font-weight: 600; }
.sk-prezzo span { font-size: 16px; }
.sk-opz { margin-top: 48px; }
.sk-opz-nome { display: block; font-size: 16px; line-height: 25.6px; }
.sk-pillole { display: flex; flex-wrap: wrap; gap: 0 19px; margin-top: 19px; }
.sk-pillola { display: inline-flex; align-items: center; height: 50px; padding: 0 15px; border: 1px solid transparent; border-radius: 30px; font-size: 14px; line-height: 14px; transition: background .1s linear; }
.sk-pillola i { width: 22px; height: 22px; border-radius: 30px; margin-right: 10px; border: 1px solid rgba(0, 0, 0, .1); }
.sk-pillola.on { border-color: #000; }
.sk-qta { display: flex; margin-top: 37px; height: 49px; }
.sk-qta button { width: 49px; height: 49px; border: 1px solid rgba(0, 0, 0, .08); font-size: 20px; font-weight: 400; }
.sk-qta input { flex: 1; min-width: 0; height: 49px; border: 1px solid rgba(0, 0, 0, .08); border-left: 0; border-right: 0; text-align: center; font: inherit; font-size: 16px; }
.sk-bottoni { display: grid; grid-template-columns: 280px 1fr; gap: 20px; margin-top: 33px; }
.sk-bottoni .bottone { height: 54px; width: 100%; }
.sk-bottoni .bottone.filo { border-width: 1px; }
.sk-bottoni .bottone.pieno { border-width: 0; }
.sk-nota { margin-top: 52px; font-style: italic; color: #666; }
.sk-desc { margin-top: 24px; }
.sk-vai { display: inline-block; margin-top: 36px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- orari (forma del conto alla rovescia) ---------- */
.orari { position: relative; display: flex; align-items: center; justify-content: center; height: 774px; background: #000; color: #fff; text-align: center; overflow: hidden; }
.or-dentro { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 130px; }
.or-su { font-size: 20px; line-height: 32px; margin-bottom: 30px; }
.cifre { display: flex; gap: 9px; margin: 30px 0 38px; }
.gruppo { display: grid; grid-template-columns: 49px 49px; column-gap: 0; }
.gruppo .c { display: block; width: 49px; height: 60px; margin-right: -1px; border: 1px solid #736e60; border-radius: 6px; font-family: monospace; font-size: 40px; line-height: 58px; font-weight: 600; }
.gruppo small { grid-column: 1 / 3; margin-top: 14px; font-size: 14px; line-height: 22.4px; font-weight: 600; opacity: .62; }

/* ---------- le linee ---------- */
.linee { display: grid; grid-template-columns: 50% 50%; background: var(--grigio2); }
.li-box { position: relative; display: flex; align-items: flex-end; height: 450px; padding: 40px; overflow: hidden; }
.li-nome { position: relative; font-size: 30px; line-height: 33px; font-weight: 600; padding-bottom: 3px; text-shadow: 0 0 14px rgba(255, 255, 255, .9), 0 0 4px rgba(255, 255, 255, .8); }

/* ---------- nastro ---------- */
.nastro { height: 360px; overflow: hidden; }
.na-fila { display: flex; width: max-content; will-change: transform; }
.na-fila a { display: block; width: 360px; height: 360px; overflow: hidden; }
.na-fila img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s var(--curva); }
@media (hover: hover) { .na-fila a:hover img { transform: scale(1.05); } }

/* ---------- servizi ---------- */
.servizi { display: grid; grid-template-columns: repeat(3, 303px); justify-content: center; column-gap: 129px; height: 519px; padding-top: 150px; background: var(--scuro3); color: #fff; text-align: center; }
.se-col svg { width: 64px; height: 64px; margin: 0 auto 36px; fill: none; stroke: #fff; stroke-width: 1.3; stroke-linejoin: round; }
.se-col h3 { font-size: 20px; line-height: 22px; font-weight: 600; margin-bottom: 20px; }

/* ---------- prenota la prova (forma della newsletter) ---------- */
.prenota { height: 498px; padding: 150px 360px 0; background: var(--piede); color: #fff; text-align: center; }
.prenota .t-tre { margin-bottom: 30px; }
.pv-form { display: flex; height: 54px; margin-bottom: 31px; }
.pv-form input { flex: 1; min-width: 0; height: 54px; padding: 0 20px; border: 1px solid #fff; border-right: 0; border-radius: 30px 0 0 30px; background: transparent; color: #fff; font: inherit; font-size: 14px; }
.pv-form input::placeholder { color: rgba(255, 255, 255, .85); }
.pv-form .bottone { width: 117px; padding: 0; border-radius: 0 30px 30px 0; }

/* ---------- piede ---------- */
footer.piede { background: var(--piede); color: var(--chiaro3); padding: 150px 40px 0; height: 775px; }
.pi-su { display: grid; grid-template-columns: 484px 242px 242px 242px; column-gap: 50px; height: 341px; }
footer.piede h4 { font-size: 14px; line-height: 15.4px; font-weight: 600; margin-bottom: 18.6px; }
.pi-missione p { max-width: 388px; font-size: 24px; line-height: 32px; }
.pi-col > a, .pi-col > button { display: block; width: max-content; font-size: 14px; line-height: 14px; padding: 3px 0; margin-bottom: 13px; text-align: left; }
.pi-col > a span, .pi-col > button span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 3px; transition: background-size .15s linear; }
@media (hover: hover) { .pi-col > a:hover span, .pi-col > button:hover span { background-size: 100% 1px; } }
.pi-soc > a { display: flex; align-items: center; gap: 14px; height: 20px; padding: 0; margin-bottom: 14.5px; }
.pi-soc > h4 + a { margin-top: 2px; }
.pi-soc svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.pi-giu { display: flex; justify-content: space-between; align-items: flex-end; height: 283px; padding: 51px 0 149px; border-top: 1px solid rgba(210, 210, 210, .1); }
.pi-etich { display: block; font-size: 14px; line-height: 22.4px; text-transform: uppercase; margin-bottom: 10.6px; }
.pi-sel { position: relative; width: 135px; }
.pi-sel summary { display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 20px 0 21px; border: 1px solid rgba(210, 210, 210, .18); font-size: 14px; list-style: none; cursor: pointer; }
.pi-sel summary::-webkit-details-marker { display: none; }
.pi-sel summary svg { width: 12px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .15s linear; }
.pi-sel[open] summary svg { transform: rotate(180deg); }
.pi-menu { position: absolute; left: 0; bottom: 49px; min-width: 180px; padding: 8px 0; background: #2a2c2d; border: 1px solid rgba(210, 210, 210, .18); z-index: 3; }
.pi-menu a { display: block; padding: 7px 20px; font-size: 14px; }
.pi-menu a:hover { background: rgba(255, 255, 255, .06); }
.pi-diritti { text-align: right; font-size: 14px; line-height: 22.4px; margin-bottom: 3px; }
.pi-diritti span { display: block; }
.pi-segni { display: flex !important; justify-content: flex-end; align-items: center; gap: 6px; height: 20px; margin-bottom: 9px; }
.pi-segni img { height: 20px; width: auto; border-radius: 2px; background: #fff; }
.pi-segni i { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 2px; background: #3a3c3d; color: #bdbdbd; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }

/* ---------- cassetti ---------- */
.velo-cassetti { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .8); opacity: 0; visibility: hidden; transition: .2s linear; }
.cassetto { position: fixed; top: 0; right: 0; z-index: 100; width: 480px; height: 100%; background: #fff; color: #000; transform: translateX(100%); visibility: hidden;
  transition: transform .5s var(--cass), visibility 0s .5s; overflow-y: auto; }
html.cassetto-aperto body { left: -480px; }
html.cassetto-aperto .velo-cassetti { opacity: 1; visibility: visible; }
.cassetto.aperto { transform: none; visibility: visible; transition: transform .5s var(--cass); }
.ca-testa { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 85px; padding: 0 30px 0 40px; background: #fff;
  border-bottom: 1px solid var(--riga); font-size: 16px; line-height: 25.6px; font-weight: 600; text-transform: uppercase; }
.ca-x { position: relative; width: 40px; height: 40px; margin-right: -9px; }
.ca-x::before, .ca-x::after { content: ''; position: absolute; left: 10px; top: 19px; width: 20px; height: 1.6px; background: #000; transform: rotate(45deg); }
.ca-x::after { transform: rotate(-45deg); }
.ca-corpo { padding: 40px; }
.me-grandi a { display: block; font-size: 30px; line-height: 48px; font-weight: 600; }
.me-piccoli { margin-top: 43px; }
.me-piccoli a { display: block; font-size: 16px; line-height: 34.5px; }
.me-cartolina { position: relative; display: block; margin-top: 50px; height: 252px; overflow: hidden; color: #fff; text-align: center; }
.me-cartolina img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.me-cartolina > span { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; }
.me-cartolina b { font-size: 22px; line-height: 24.2px; font-weight: 600; }
.me-cartolina small { font-size: 14px; line-height: 22.4px; margin: 10px 0 20px; }
.me-cartolina .bottone { height: 46px; }
.me-soc { display: flex; gap: 14px; margin-top: 40px; }
.me-soc svg { width: 20px; height: 20px; fill: none; stroke: #000; stroke-width: 1.5; }
.ce-campo { display: block; width: 100%; height: 45px; padding: 0 40px; border: 0; border-bottom: 1px solid var(--riga); font: inherit; font-size: 14px; outline: none; }
.ce-esiti { padding: 10px 40px 40px; }
.ri-corpo { padding: 23px 40px 40px; }
.ri-vuota { font-size: 14px; color: #666; margin-bottom: 21px; }
.ri-corpo .bottone { width: 100%; height: 46px; }
.ri-voce, .ce-voce { display: grid; grid-template-columns: 70px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--riga); }
.ri-voce img, .ce-voce img { width: 70px; height: 84px; object-fit: cover; background: #f3f3f4; }
.ri-voce b, .ce-voce b { display: block; font-size: 14px; line-height: 18px; font-weight: 600; }
.ri-voce small, .ce-voce small { display: block; font-size: 12px; line-height: 17px; color: #555; margin-top: 3px; }
.ri-togli { font-size: 12px; text-decoration: underline; }
.ri-qta { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; }
.ri-qta button { width: 24px; height: 24px; border: 1px solid rgba(0, 0, 0, .15); }
.ri-azioni { display: grid; gap: 12px; margin-top: 24px; }
.ri-nota { font-size: 13px; line-height: 20px; color: #555; margin-top: 4px; }


/* ---------- scheda prodotto (scheda.html) ---------- */
.briciole { display: flex; align-items: center; height: 60px; padding: 0 40px; border-bottom: 1px solid var(--riga); font-size: 14px; line-height: 22.4px; }
.briciole a, .briciole b { opacity: .58; }
.briciole b { font-weight: 600; }
.briciole span { opacity: .36; margin: 0 12px; }
.pp { display: grid; grid-template-columns: 50% 50%; }
.pp-testa-tel { display: none; }
.pp-galleria { position: relative; }
.pp-dentro { position: sticky; top: -1px; height: 900px; overflow: hidden; }
.pp-binario { height: 900px; }
.pp-foto { position: relative; flex: none; width: 100%; height: 900px; scroll-snap-align: start; background: #f3f3f4; }
.pp-foto img { width: 100%; height: 100%; object-fit: cover; }
.pp-mini { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; gap: 9px; }
.pp-m { width: 60px; height: 62px; padding: 0; border: 1px solid rgba(0, 0, 0, .08); background: #fff; }
.pp-m span { display: block; height: 100%; border: 1px solid #f1f1f1; padding: 2.8px; }
.pp-m img { width: 100%; height: 100%; object-fit: contain; }
.pp-m.on { border-color: #000; }
.pp-info-dentro { position: sticky; top: -1px; padding: 80px 79px 80px 80px; }
.pp-info-dentro .sk-nome { letter-spacing: -2px; }
.pp-info-dentro .sk-nota { margin-top: 51px; }
.pp-info-dentro .sk-desc { margin-top: 29px; }
.pp-info-dentro .sk-opz { margin-top: 52px; }
.pp-misure { display: inline-flex; align-items: center; gap: 10px; margin-top: 37px; }
.pp-misure svg { width: 20px; height: 20px; fill: none; stroke: #000; stroke-width: 1.2; }
.pp-misure span { text-decoration: underline; text-underline-offset: 3px; }
.pp-info-dentro .sk-qta { margin-top: 55px; }
.pp-agg { width: 100%; margin-top: 33px; }
.pp-quanti { margin-top: 52px; }
.pp-ritiro { display: flex; gap: 8px; margin-top: 45px; }
.pp-ritiro svg { flex: none; width: 13px; height: 13px; margin-top: 6px; fill: none; stroke: #1a7f37; stroke-width: 2; }
.pp-ritiro b { font-weight: 600; }
.pp-ritiro small { display: block; font-size: 14px; line-height: 22.4px; }
.pp-ritiro a { display: inline-block; margin-top: 8px; font-size: 14px; line-height: 22.4px; }
.pp-condividi { display: flex; align-items: center; height: 44px; margin-top: 44px; }
.pp-condividi a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.pp-condividi a:first-child { margin-left: 18px; }
.pp-condividi svg { width: 18px; height: 18px; fill: none; stroke: #000; stroke-width: 1.5; }
.pp-condividi a:nth-child(2) svg { fill: #000; stroke: none; }
.pp-abbina { display: block; margin-top: 51px; font-weight: 600; }
.pp-voce { position: relative; display: flex; align-items: center; height: 143px; border-bottom: 1px solid var(--riga); }
.pp-voce:last-child { border-bottom: 0; }
.pp-voce-f { flex: none; width: 90px; height: 92px; margin-right: 20px; background: rgba(0, 0, 0, .04); }
.pp-voce-f img { width: 100%; height: 100%; object-fit: cover; }
.pp-voce-t { flex: 1; min-width: 0; margin-right: 66px; }
.pp-voce-t b { display: block; font-weight: 600; }
.pp-voce-t span { display: block; font-size: 14px; line-height: 22.4px; }
.pp-voce .prod-agg { opacity: 1; top: 46px; bottom: auto; right: 9px; }
.anche { display: grid; grid-template-columns: 50% 50%; }
.an-griglia { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--riga); border-left: 1px solid var(--riga); }
.an-griglia .gp-cella:nth-child(2n) { border-right: 0; }
.an-griglia .gp-cella:nth-child(n+3) { border-bottom: 0; }


/* ---------- catalogo ---------- */
.cat-testa { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 400px; padding: 150px 80px; text-align: center; }
.cat-testa .t-grande { margin-bottom: 30px; }
.cat-testa p { max-width: 620px; }
.gp-vuota { min-height: 0; }
.griglia-prod + .griglia-prod { border-top: 0; }


/* ---------- linee di 1 px come Split: sopra e a sinistra di ogni riquadro, sopra le foto ---------- */
.bx { position: relative; --l: rgba(0, 0, 0, .1); }
.bx::before { content: ''; position: absolute; left: -1px; top: 0; right: 0; bottom: 0; border-top: 1px solid var(--l); border-left: 1px solid var(--l); pointer-events: none; z-index: 6; }
.bx-b { --l: rgba(255, 255, 255, .1); } .bx-c { --l: rgba(243, 243, 243, .1); } .bx-d { --l: rgba(239, 239, 239, .1); } .bx-p { --l: rgba(210, 210, 210, .1); }
.pa-voce { border-bottom: 0 !important; }
.pa-binario, .gi-binario, .look-destra, .vt-info, .nv-binario { border-left: 0 !important; }
.vt-foto, .pp-foto, .prod-foto, .pp-dentro { background: #fff; }
.pa-voce { height: 422px; } .pa-voce:nth-child(2), .pa-voce:nth-child(3) { height: 454px; }
/* icone come Split */
.icone { position: absolute; top: 0; right: 0; height: 93px; width: 260px; }
.icone .ico { position: absolute; margin: 0; }
.ico svg { stroke-width: 2; }
.ico-cerca { right: 194px; top: 38px; width: 21px; height: 21px; }
.ico-tel { right: 143px; top: 35px; width: 24px; height: 24px; }
.ico-tel svg { width: 24px; height: 24px; stroke-width: 1.75; }
.ico-borsa { right: 94px; top: 33px; width: 22px; height: 26px; }
.conta { top: 13px; }
.ico-menu { right: 30px; top: 28px; width: 40px; height: 40px; justify-content: flex-start; padding-left: 7px; }
.prod-agg svg { stroke-width: 2; stroke-linejoin: round; }
.sk-qta button { display: flex; align-items: center; justify-content: center; color: #000; }
.sk-qta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.75; }
.sk-qta .q-giu.spento { color: #c2c2c2; }
.pp-condividi svg { fill: #000; stroke: none; }
.pp-misure span { text-decoration: none; }
.pp-misure svg { width: 22px; height: 22px; fill: none; stroke: #000; stroke-width: 1; }
.pp-info-dentro .sk-nome, .vt-dentro .sk-nome, .sk-testa-tel .sk-nome, .pp-testa-tel .sk-nome { letter-spacing: 0 !important; }


/* ---------- ritocco 3 ---------- */
.solo-tel { display: none; }
.look-foto.bx { position: sticky; top: -1px; }
.apertura .ap-testo.bx::before { display: none; }
.pv-form input { font-size: 15px; }
.pv-form input::placeholder { color: #fff; opacity: 1; font-weight: 500; }
.vt-zoom svg { width: 21px; height: 21px; }
.car-freccia svg { width: 17px; height: 13px; }
.car-freccia.dopo svg { width: 16px; }
.sk-qta svg { width: 12px; height: 12px; }
.or-dentro { margin-top: -8px; }
.pi-segni { height: 24px; margin-bottom: 12px; gap: 4px; }
.pi-segni img { height: 24px; }
.pi-segni i { height: 24px; }
.car-indice .sb { margin: 0 4.5px; }
.pi-diritti span span { display: inline; }


/* ---------- ritocco 4: scheda prodotto alle misure della demo ---------- */
.pp-quanti { margin-top: 52px; }
.pp-abbina { margin-top: 51px; }
.pp-voce-f { background: #fff; }
.pp-info-dentro { padding-bottom: 54px; }
.pp-info-dentro .sk-desc { margin-top: 23px; }
.pp-info-dentro .sk-opz { margin-top: 45px; }
.pp-info-dentro .sk-qta { margin-top: 48px; }
.pp-condividi { margin-top: 47px; }
.pp-abbina + .pp-voce { margin-top: -3px; }
.pp-voce-f { box-sizing: border-box; border: 1px solid #f1f1f1; padding: 4.4px; }
.pp-voce-f img { object-fit: contain; }
.pp-condividi a:first-child { margin-left: 18px; }
.pp-condividi a .x { width: 20px; height: 20px; }
.pp-condividi a .f { width: 24px; height: 24px; }
.pp-condividi a .m { width: 24px; height: 24px; }
.pp-misure svg { width: 22px; height: 22px; fill: none; stroke: #000; stroke-width: 1.1; stroke-linejoin: round; }


/* ---------- ritocco 5 ---------- */
.pp-info-dentro .sk-nome, .pp-testa-tel .sk-nome { letter-spacing: -2px !important; }
.pp.bx::before { border-top: 0; }
.an-griglia { border-top: 1px solid var(--riga); border-left: 0; }
.an-griglia.bx::before, .pp-info.bx::before { border-top: 0; }
.an-griglia .gp-cella:nth-child(n+3) { border-bottom: 1px solid var(--riga); }
.pp-condividi a:first-child { margin-left: 11px; }
.pp-condividi a .x { width: 20px; height: 20px; }
.pp-condividi a .f { width: 24px; height: 24px; }
.pp-info-dentro .sk-qta input { font-size: 15px; padding: 0 20px; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.pp-info-dentro .sk-qta input::-webkit-outer-spin-button, .pp-info-dentro .sk-qta input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pp-ritiro svg { width: 12px; height: 12px; fill: #00730b; stroke: none; margin-top: 6px; }
.pp-voce { border-bottom-color: rgba(0, 0, 0, .08); }
.pp .vt-zoom svg { stroke-width: 2; }
.pp-m span { border: 1px solid #f1f1f1; padding: 0; }
.pp-m img { object-fit: cover; }
.pagina-prodotto .se-col svg { stroke-width: 2; }
.pp-misure svg { stroke-width: 1; }


/* ---------- ritocco 6 ---------- */
.video-t .sfondo video { max-width: none; }
.pp .vt-zoom { top: 22px; right: 26px; }
.pp-misure { line-height: 17.6px; }
.pp-misure svg { width: 20px; height: 20px; }
.pp-info-dentro .sk-nota { margin-top: 47px; }
.pp-info-dentro .sk-desc { margin-top: 27px; }
.pp-quanti { margin-top: 48px; }
.pp-ritiro { margin-top: 49px; }
.pp-ritiro svg { width: 12px; height: 10px; margin-top: 7px; }
.pagina-prodotto .conta { top: 11px; }
.pp-voce-t { margin-right: 45px; }
.anche .fisso-sx { border-bottom: 1px solid var(--riga); }
.pagina-prodotto .servizi.bx::before { border-top: 0; }


/* ---------- ritocco 7: solo scheda prodotto ---------- */
.pp-misure svg { width: 22px; height: 22px; }
.pagina-prodotto .pp-abbina { margin-top: 47px; }
.pagina-prodotto .pp-abbina + .pp-voce { margin-top: 1px; }
.pagina-prodotto .anche .fs-dentro { padding-bottom: 0; }
.pagina-prodotto .pp-info-dentro .sk-qta .q-giu.spento { color: #a3a3a3; }
.pagina-prodotto .pp-ritiro svg { height: 10px; }
.pagina-prodotto .pi-soc .pi-ore { display: flex; align-items: center; gap: 14px; height: 20px; margin-bottom: 14.5px; font-size: 14px; line-height: 14px; }
.pagina-prodotto .pi-soc .pi-ore svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* =========================================================================
   TELEFONO (fino a 1023 px, dal 2/12/2026; prima 767): misure della demo a 390x844
   ========================================================================= */
@media (max-width: 1023px) {
  body { font-size: 14px; line-height: 22.4px; transition: left .25s linear; }
  .t-grande { font-size: 32px; line-height: 35.2px; }
  .t-due, .t-tre, .t-medio { font-size: 24px; line-height: 26.4px; }
  .riga-su, .sotto-t { font-size: 14px; line-height: 22.4px; }
  .bottone { height: 44px; padding: 0 22px; line-height: 42px; }
  .freccia { display: none; }

  .annuncio { padding: 5px 58px; }
  .testata { height: 71px; padding: 0 13px 0 18px; }
  .logo { height: 30px; }
  .logo img { height: 30px; margin-top: 0; }
  .ico-cerca { margin-right: 0; }
  .ico-tel { margin-left: 19px; }
  .ico-borsa { margin-left: 19px; }
  .ico-menu { margin-left: 14px; }

  /* apertura: carosello a scatto */
  .ap-binario { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
  .ap-binario::-webkit-scrollbar { display: none; }
  .ap-dia { flex: none; display: block; width: 100%; height: calc(100vh - 165px); scroll-snap-align: start; }
  .ap-testo { position: relative; z-index: 4; height: 100%; align-items: center; padding: 0 30px; background: none; color: #fff; text-align: center; }
  .ap-testo .riga-su { margin-bottom: 12px; }
  .ap-testo .t-grande { margin-bottom: 21px; }
  .ap-testo .bottone { background: #fff; color: #000; }
  .ap-foto { position: absolute; inset: 0; }
  .ap-taglio, .ap-dia + .ap-dia .ap-taglio, .apertura.attiva .ap-taglio { position: absolute; inset: 0; width: 100%; height: 100%; }
  .ap-fisso { height: 100%; }
  .ap-velo { opacity: .3 !important; }
  .car-barra { position: relative; display: flex; align-items: center; height: 60px; padding: 0 7px 0 18px; }
  .car-indice { flex: 1; font-size: 14px; line-height: 22.4px; }
  .car-indice b { font-weight: 500; }
  .car-freccia { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 100%; color: #000; }
  .car-freccia svg { width: 18px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .car-freccia.spento { color: #b8b8b8; }

  /* griglia */
  .griglia-prod { grid-template-columns: 1fr 1fr; }
  .gp-cella { min-height: 0; }
  .gp-cella:nth-child(4n) { border-right: 1px solid var(--riga); }
  .gp-cella:nth-child(2n) { border-right: 0; }
  .gp-titolo { min-height: 331px; padding-bottom: 0; }
  .gp-titolo .t-medio { margin-bottom: 13px; }
  .gp-titolo .sotto { font-size: 14px; line-height: 18px; }
  .prod-foto { aspect-ratio: auto; height: 233px; }
  .prod-dida { height: auto; min-height: 90px; padding: 20px 62px 20px 16px; }
  .prod-nome { font-size: 14px; line-height: 18.2px; }
  .prod-prezzo { margin-top: 3px; font-size: 12px; line-height: 14.4px; }
  .prod-agg { opacity: 1; right: 9px; top: 253px; bottom: auto; }
  .look-scheda .prod-agg, .nv-scheda .prod-agg { top: 393px; right: 9px; }
  .prod-sw { opacity: 1; left: 16px; bottom: 8px; gap: 5px; }
  .prod-sw i { width: 22px; height: 22px; }
  .prod-etich { right: 10px; top: 9px; }
  .etich { font-size: 11px; line-height: 11px; padding: 2px 12px 0; }
  .gp-tutti { min-height: 300px; }

  .riga-testo { min-height: 295px; padding: 66px 50px 73px; }
  .riga-testo.corta { min-height: 295px; padding: 66px 50px; }
  .riga-testo .t-due { margin-bottom: 20px; }
  .riga-testo p { margin-bottom: 21px; }

  .due-meta { grid-template-columns: 1fr; }
  .dm-box { height: 506px; padding: 0 25px; }
  .dm-testo .sotto-t { margin-bottom: 20px; }
  .dm-testo .t-due { margin-bottom: 21px; }

  .video-t { height: 209px; padding: 0 50px; }
  .solo-pc { display: none; }

  .look { display: block; height: auto; overflow: visible; }
  .look-foto { position: relative; height: 422px; }
  .look-destra { padding-top: 0; }
  .look-binario { gap: 0; padding: 0; scroll-padding-left: 0; }
  .look-scheda { width: 312px; height: 476px; border-width: 1px 1px 1px 0; }
  .look-scheda .prod-foto { height: 373px; }
  .look-scheda .prod-dida { padding: 31px 62px 0 25px; }
  .look .puntini { margin-top: 20px; padding-bottom: 20px; height: 27px; }

  .conosci { display: block; height: auto; }
  .cn-foto { height: 295px; justify-content: center; padding: 0 30px; text-align: center; }
  .cn-titolo { display: flex; flex-direction: column; align-items: center; }
  .cn-titolo .t-grande { margin-bottom: 25px; }
  .cn-testo { padding: 50px 25px 25px; }
  .cn-testo .t-tre { margin-bottom: 25px; }
  .cn-testo p + p { margin-top: 22.4px; }

  .parole, .novita, .giornale, .linee, .vetrina { display: block; }
  .fs-dentro { position: relative; height: 295px; align-items: center; padding: 0 30px; text-align: center; }
  .fs-dentro .bottone { margin-top: 25px; }
  .parole .sotto-t { margin-top: 22px; }
  .pa-binario { flex-direction: row; overflow-x: auto; }
  .pa-voce, .pa-voce:nth-child(2), .pa-voce:nth-child(3) { flex: none; width: 366px; height: 446px; display: flex; flex-direction: column; justify-content: center; padding: 0 25px; border: 0; border-right: 1px solid rgba(239, 239, 239, .1); scroll-snap-align: start; }
  .pa-binario, .gi-binario, .look-destra, .vt-info { border-left: 0; }
  .avatar { margin-bottom: 48px; }
  .pa-voce figcaption { margin-top: 52px; font-size: 12px; line-height: 19.2px; }
  .parole .puntini { display: flex; margin-top: 15px; height: 27px; padding-bottom: 20px; }

  .nv-binario { flex-direction: row; overflow-x: auto; }
  .nv-scheda, .nv-scheda:last-child { flex: none; width: 312px; height: 475px; border-right: 1px solid var(--riga); border-bottom: 0; scroll-snap-align: start; }
  .nv-scheda .prod-foto { height: 373px; }
  .nv-scheda .prod-dida { padding: 31px 62px 0 25px; }
  .novita .puntini { display: flex; margin-top: 21px; padding-bottom: 20px; height: 27px; }

  .gi-binario { flex-direction: row; overflow-x: auto; }
  .gi-voce { flex: none; display: block; width: 366px; height: 422px; scroll-snap-align: start; color: #fff; }
  .gi-foto { position: absolute; inset: 0; }
  .gi-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 60%); }
  .gi-testo { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 0 24px 28px; }
  .gi-testo time { font-size: 12px; line-height: 19.2px; margin-bottom: 11px; }
  .giornale .puntini { display: flex; margin-top: 20px; height: 27px; }

  .vt-binario { flex-direction: row; overflow-x: auto; }
  .vt-foto { width: 100%; height: 415px; scroll-snap-align: start; }
  .vt-puntini { display: none; }
  .vt-barra { display: flex; height: 58px; padding: 0 8px; border-bottom: 1px solid var(--riga); }
  .vt-barra .puntini { position: absolute; left: 50%; top: 0; transform: translateX(-50%); height: 58px; align-items: center; padding: 0 10px; }
  .vt-barra .car-freccia.dopo { margin-left: auto; }
  .vt-dentro { position: relative; top: 0; padding: 30px 25px 30px; }
  .sk-testa-tel { display: block; height: 158px; padding: 25px 18px 0; border-bottom: 1px solid var(--riga); }
  .sk-testa-tel .sk-marca { font-size: 14px; line-height: 22.4px; }
  .sk-testa-tel .sk-nome { margin-top: 14px; font-size: 24px; line-height: 26.4px; letter-spacing: -2px; }
  .sk-testa-tel .sk-prezzo { margin-top: 13px; }
  .sk-testa-tel .sk-prezzo span, .pp-testa-tel .sk-prezzo span { font-size: 14px; }
  .sk-opz { margin-top: 0; }
  .sk-opz-nome { font-size: 14px; line-height: 22.4px; }
  .sk-pillole { gap: 0 14px; margin-top: 18px; }
  .sk-qta { margin-top: 33px; height: 42px; }
  .sk-bottoni { grid-template-columns: 1fr; gap: 21px; margin-top: 20px; }
  .sk-bottoni .bottone { height: 44px; }
  .sk-nota { margin-top: 44px; font-size: 14px; line-height: 22.4px; }
  .sk-desc { margin-top: 24px; }
  .sk-vai { margin-top: 30px; }
  .vt-dentro .sk-marca, .vt-dentro .sk-nome, .vt-dentro .sk-prezzo { display: none; }

  .orari { height: 633px; }
  .or-dentro { padding: 0 25px; }
  .or-su { font-size: 18px; line-height: 28.8px; margin-bottom: 20px; }
  .cifre { gap: 9px; margin: 20px 0 50px; }
  .gruppo { grid-template-columns: 29px 29px; }
  .gruppo .c { width: 29px; height: 40px; font-size: 20px; line-height: 38px; }
  .gruppo small { margin-top: 12px; font-size: 12px; line-height: 19.2px; }

  .linee .fs-dentro { height: 295px; }
  .li-box { height: 422px; padding: 24px 24px 20px; }
  .li-nome { font-size: 24px; line-height: 26.4px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; padding-bottom: 6px; }

  .nastro { height: 98px; }
  .na-fila a { width: 97.5px; height: 98px; }

  .servizi { grid-template-columns: 1fr; row-gap: 0; height: 807px; padding: 43px 25px 0; }
  .se-col { height: 262px; }
  .se-col svg { width: 48px; height: 48px; margin-bottom: 38px; }
  .se-col h3 { margin-bottom: 20px; }

  .prenota { height: 333px; padding: 50px 18px 0; }
  .prenota .t-tre { margin-bottom: 20px; }
  .pv-form { flex-direction: column; height: auto; gap: 12px; margin-bottom: 21px; }
  .pv-form input { flex: none; height: 44px; border-right: 1px solid #fff; border-radius: 30px; }
  .pv-form .bottone { width: 100%; height: 44px; border-radius: 30px; }

  footer.piede { height: auto; padding: 50px 18px 40px; }
  .pi-su { display: block; height: auto; }
  .pi-col { margin-bottom: 50px; }
  .pi-missione p { max-width: 290px; }
  footer.piede h4 { margin-bottom: 20px; }
  .pi-col > a, .pi-col > button { font-size: 12px; line-height: 12px; margin-bottom: 13px; }
  .pi-soc > a { height: 18px; margin-bottom: 13px; }
  .pi-giu { display: block; height: auto; padding: 40px 0 0; }
  .pi-diritti { margin-top: 30px; text-align: left; font-size: 12px; line-height: 19.2px; }
  .pi-segni { justify-content: flex-start; }
  .pi-menu { bottom: auto; top: 49px; }

  .cassetto { width: 374px; transition: transform .25s linear, visibility 0s .25s; }
  .cassetto.aperto { transition: transform .25s linear; }
  html.cassetto-aperto body { left: -374px; }
  .ca-testa { height: 73px; padding: 0 16px 0 25px; }
  .ca-corpo { padding: 40px 25px; }
  .me-grandi a { font-size: 22px; line-height: 35.2px; }
  .me-piccoli { margin-top: 35px; }
  .me-piccoli a { line-height: 35px; }
  .me-cartolina { height: 230px; margin-top: 40px; }
  .ce-campo, .ce-esiti { padding-left: 25px; padding-right: 25px; }
  .ri-corpo { padding: 23px 25px 40px; }

  .cat-testa { min-height: 295px; padding: 66px 30px; }
  .gp-vuota { display: none; }
  /* scheda prodotto al telefono */
  .briciole { height: 40px; padding: 0 18px; font-size: 12px; line-height: 19.2px; }
  .pp { display: block; }
  .pp-testa-tel { display: block; height: 158px; padding: 25px 18px 0; border-bottom: 1px solid var(--riga); }
  .pp-testa-tel .sk-nome { margin-top: 12px; font-size: 24px; line-height: 26.4px; letter-spacing: -2px; }
  .pp-testa-tel .sk-prezzo { margin-top: 13px; }
  .pp-testa-tel .sk-marca { font-size: 14px; line-height: 22.4px; }
  .pp-dentro { position: relative; height: 478px; }
  .pp-binario { height: 415px; }
  .pp-foto { height: 415px; }
  .pp-mini { bottom: 15px; gap: 13px; }
  .pp-m { width: 40px; height: 42px; }
  .pp-info-dentro { position: relative; padding: 32px 25px 40px; }
  .pp-info-dentro .sk-marca, .pp-info-dentro .sk-nome, .pp-info-dentro .sk-prezzo { display: none; }
  .pp-info-dentro .sk-nota { margin-top: 0; }
  .pp-info-dentro .sk-desc { margin-top: 25px; }
  .pp-info-dentro .sk-opz { margin-top: 44px; }
  .pp-info-dentro .sk-qta { margin-top: 34px; height: 42px; }
  .sk-qta button { width: 42px; height: 42px; }
  .sk-qta input { height: 42px; }
  .pp-agg { height: 44px; margin-top: 20px; }
  .pp-quanti { margin-top: 45px; }
  .pp-condividi { margin-top: 58px; }
  .pp-abbina { margin-top: 44px; }
  .anche, .an-griglia { display: block; }
  .anche .fs-dentro { height: 295px; }
  .an-griglia { display: grid; grid-template-columns: 1fr 1fr; }
  .an-griglia .gp-cella:nth-child(n+3) { border-bottom: 1px solid var(--riga); }

  /* linee e icone al telefono */
  footer.piede { position: relative; height: 1134px; }
  .pi-giu { position: absolute; left: 18px; right: 18px; bottom: 0; height: 283px; padding: 51px 0 0; }
  #piu-scelti { grid-template-rows: 331px 324px 345px 324px 324px 330px; }
  #piu-scelti .gp-cella { overflow: hidden; }
  .vt-dentro { padding-bottom: 65px; }
  .icone { height: 71px; }
  .ico-cerca { right: 150px; top: 27px; }
  .ico-tel { right: 108px; top: 24px; }
  .ico-borsa { right: 67px; top: 22px; }
  .ico-menu { right: 13px; top: 17px; }
  .ap-barra { border-top: 1px solid rgba(0, 0, 0, .1); }
  .look .puntini, .novita .puntini, .giornale .puntini, .parole .puntini { display: flex; align-items: center; height: 47px; margin: 0; padding: 0; border-top: 1px solid rgba(0, 0, 0, .1); }
  .parole .puntini { border-top-color: rgba(239, 239, 239, .1); }
  .vt-barra { border-top: 1px solid var(--riga); }
  .sk-testa-tel, .pp-testa-tel { border-top: 1px solid var(--riga); }
  .gp-tutti .bottone { width: calc(100% - 20px); }
  .pp-ritiro small, .pp-ritiro a { font-size: 12px; line-height: 19.2px; color: #666; }
  .se-col svg { width: 64px; height: 64px; }

  /* ritocco 4, telefono: linee singole e sopra le foto */
  .dm-box .sfondo, .li-box .sfondo { top: 1px; }
  .look-foto.bx { padding-top: 1px; }
  .look-foto.bx img { height: 100%; }
  .look-scheda { border-bottom: 0; }
  #community.bx::before { border-top: 0; }
  .vetrina .vt-galleria.bx::before, .vetrina .vt-info.bx::before { border-top: 0; }
  .sk-qta .q-giu.spento { color: #a1a1a1; }
  /* ritocco 3, telefono */
  .solo-tel { display: block; }
  .apertura .ap-testo.bx::before { display: block; }
  .or-dentro { margin-top: -18px; }
  .vt-dentro { padding-bottom: 33px; }
  .pp-info-dentro { padding-bottom: 4px; }
  .pi-giu { padding-top: 46px; }
  .pi-etich { font-size: 12px; line-height: 19.2px; margin-bottom: 10px; }
  .pi-diritti { max-width: 318.5px; margin-top: 50px; font-size: 12px; line-height: 15px; }
  .pi-segni { justify-content: flex-end; margin-bottom: 12px; }
  .conosci { height: 1004px; }
  .look-foto.bx { position: relative; top: 0; }
  .cn-testo p + p { margin-top: 19px; }
  .sk-vai { margin-top: 40px; }
  .pi-giu { padding-top: 46px; }
  .pi-diritti .solo-pc { display: none; }
  .car-freccia svg { width: 17px; height: 13px; }
  .car-freccia.dopo svg { width: 16px; }

  /* ritocco 4, scheda al telefono */
  .pp-info-dentro { padding-bottom: 4px; }
  .pp-info-dentro .sk-desc { margin-top: 22px; }
  .pp-info-dentro .sk-opz { margin-top: 62px; }
  .pp-misure { margin-top: 33px; }
  .pp-info-dentro .sk-qta { margin-top: 27px; }
  .pp-condividi { margin-top: 45px; }
  .pp-abbina + .pp-voce { margin-top: -2px; }
  .pp-quanti { margin-top: 40px; }
  .pp-mini { gap: 9px; }
  .an-griglia { grid-template-rows: 337px 337px; }
  .an-griglia .gp-cella { overflow: hidden; }
  .pp-ritiro small, .pp-ritiro a { color: #000; }

  /* ritocco 5, telefono */
  .pa-voce, .pa-voce:nth-child(2), .pa-voce:nth-child(3) { border-right: 0; }
  .sk-qta input { font-size: 15px; padding: 0 20px; text-align: center; -moz-appearance: textfield; appearance: textfield; }
  .pp-testa-tel { border-bottom: 1px solid var(--riga) !important; }
  .pp-dentro { top: 0; }
  .sk-qta input::-webkit-outer-spin-button, .sk-qta input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

  /* ritocco 6, telefono */
  .pp-testa-tel { border-top: 0 !important; }
  .pp-dentro { height: 478px; border-bottom: 1px solid var(--riga); }
  .pp-mini { bottom: 11px; }
  .an-griglia { grid-template-rows: none; }
  .anche .fisso-sx { border-bottom: 0; }
  .pagina-prodotto .pi-giu { padding-top: 50px; }
  .pp-voce-t { margin-right: 45px; }
  .pp-misure { line-height: 15.4px; }
  .pp-quanti { margin-top: 42px; }
  .pp-ritiro { margin-top: 43px; }

  /* ritocco 7, scheda al telefono */
  .pagina-prodotto .pp-abbina { margin-top: 41px; }
  .pagina-prodotto .pp-abbina + .pp-voce { margin-top: 1px; }
  .pagina-prodotto .pp-voce-t span { font-size: 12px; line-height: 19.2px; }
  .pagina-prodotto .anche .fs-dentro { padding-top: 2px; padding-bottom: 0; }
  .pagina-prodotto .an-griglia .prod { display: flex; flex-direction: column; }
  .pagina-prodotto .an-griglia .prod-link { flex: 1; display: flex; flex-direction: column; }
  .pagina-prodotto .an-griglia .prod-dida { flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 97px; padding: 0 62px 0 16px; }
  .pagina-prodotto .an-griglia .gp-cella:nth-child(n+3) .prod-dida { min-height: 89px; }
  .pagina-prodotto .servizi { padding-top: 50px; }
  .pagina-prodotto .se-col svg { margin-bottom: 32px; }
  .pagina-prodotto .pp-info-dentro .sk-opz { margin-top: 40px; }
  .pagina-prodotto footer.piede { height: auto; padding-bottom: 0; }
  .pagina-prodotto .pi-giu { position: static; height: 283px; margin-top: -2px; }
  .pagina-prodotto .pi-soc { margin-bottom: 50px; }
  .pagina-prodotto .pi-soc > :last-child { margin-bottom: 0; }
  .pagina-prodotto .pi-soc .pi-ore { height: 18px; margin-bottom: 13px; font-size: 12px; line-height: 12px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ---------- pagine legali intere (privacy.html, cookie.html) ---------- */
.foglio { max-width: 760px; margin: 0 auto; padding: 44px 22px 60px; font-size: 16px; line-height: 1.6; }
.foglio .torna { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 600; text-transform: uppercase; }
.foglio .torna svg { width: 16px; height: 16px; }
.foglio .occhiello { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.foglio h1 { font-size: clamp(36px, 7vw, 60px); line-height: 1.1; font-weight: 600; letter-spacing: -2px; margin: 10px 0 26px; }
.foglio h1 em { font-style: normal; }
.carta-legale h2 { font-size: 24px; line-height: 1.25; font-weight: 600; margin: 38px 0 12px; }
.carta-legale h2 .num { font-size: 14px; color: var(--rosso); margin-right: 12px; }
.carta-legale h3 { font-size: 18px; margin: 22px 0 8px; }
.carta-legale p { margin: 0 0 12px; }
.carta-legale ul { list-style: disc; padding-left: 22px; margin: 0 0 12px; }
.carta-legale li { margin-bottom: 6px; }
.carta-legale a { text-decoration: underline; text-underline-offset: 3px; }
.carta-legale .sommario { font-size: 18px; }
.carta-legale .aggiornata { font-size: 14px; opacity: .75; }
.carta-legale .scheda { padding: 16px 18px; background: var(--grigio); border-left: 3px solid #000; margin: 0 0 14px; }
.carta-legale .scheda p { margin: 0 0 4px; }
.carta-legale .tabella-scorre { overflow-x: auto; margin: 0 0 14px; }
.carta-legale table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14px; }
.carta-legale th, .carta-legale td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--riga); }
.carta-legale th { font-size: 13px; font-weight: 600; text-transform: uppercase; }
.carta-legale button, .carta-legale .come-bottone { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 22px; border: 1px solid #000; border-radius: 30px; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.piede-legale { margin-top: 44px; padding-top: 16px; border-top: 1px solid var(--riga); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 14px; }
/* il pannello dei cookie usa le pillole del negozio */
#lg-banner .lg-bottoni button, #lg-banner #lg-salva { border-radius: 30px; font-family: 'Montserrat', sans-serif; font-weight: 600; letter-spacing: .02em; }

/* =========================================================================
   IL MARCHIO (2/12/2026): stesse misure di Split. Cambiano il marchio (il distintivo tondo vero), 
   verde il sito al posto del rosso dei saldi (solo etichetta "Pausa pranzo" e bottoni WhatsApp di prenotazione)
   e i ritocchi chiesti dal contenuto vero (testi bianchi sulle due metà scure, orari completi, iniziali delle recensioni)
   ========================================================================= */
:root { --verde: #53cf15; --nero-p: #0e100f; }
/* niente rosso dei saldi di Split: il trattino del pannello cookie e i numeri delle pagine legali vanno in grigio scuro */
:root { --rosso: #3a3a3a; --brace: #3a3a3a; }
.logo { height: 64px; }
.logo img { width: 64px; height: 64px; margin-top: 0; }
.annuncio a { color: inherit; }
.ap-testo .t-grande { max-width: 560px; }
.etich.verde { background: var(--verde); border-color: var(--verde); color: var(--nero-p); }
.bottone.pieno.verde, .bottone.verde { background: var(--verde); color: var(--nero-p); border-color: transparent; }
.avatar.iniziali { display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; font-weight: 600; letter-spacing: .02em; color: var(--chiaro2); background: rgba(239, 239, 239, .1); }
.due-meta .dm-box { color: #fff; }
.dm-testo { text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.dm-testo .bottone.filo { border-color: #fff; color: #fff; text-shadow: none; }
@media (hover: hover) { .dm-box:hover .bottone.filo { background: #fff; color: #000; } }
.or-giu { font-size: 16px; line-height: 25.6px; margin: -10px 0 28px; opacity: .9; }
.cifre { margin-bottom: 30px; }
.pi-segni img { border-radius: 50%; background: transparent; }
.sk-pillola { border-color: rgba(0, 0, 0, .1); }
.sk-pillola.on { border-color: #000; }
.ico-wa svg { stroke-width: 1.7; }
.gp-titolo .t-medio { padding: 0 14px; }
.video-t .t-due { text-shadow: 0 2px 20px rgba(0, 0, 0, .55); }
.video-t .sfondo video { background: #000 center / cover no-repeat; }
.pp-misure svg { stroke-width: 1.3; }
@media (max-width: 1023px) {
  .logo, .logo img { width: 48px; height: 48px; }
  .logo { margin-top: 0; }
  .avatar.iniziali { font-size: 20px; }
  .or-giu { font-size: 14px; line-height: 22.4px; margin: -8px 0 26px; padding: 0 10px; }
  .dm-testo .bottone.filo { height: 44px; }
}

/* taglie minime (regola di Marco: etichette mai sotto 12 px) */
.conta { font-size: 12px; line-height: 12px; }
.pi-segni i { font-size: 12px; }
@media (max-width: 1023px) {
  .etich { font-size: 12px; line-height: 12px; padding: 2px 10px 0; }
  .conta { top: 10px; }
}

/* =========================================================================
   CURA DEL 2/12/2026 (giro a vista del revisore: G1-G6, M1-M11, lievi). La forma a 1440 e a 390 resta quella approvata:
   qui cambiano dove sta il testo sopra le foto, le larghezze di mezzo, il bottone fisso e i ritocchi chiesti
   ========================================================================= */
:root { --sfuma: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .64) 42%, rgba(0, 0, 0, .3) 74%, rgba(0, 0, 0, 0) 100%); }
.sfondo picture, .ap-fisso picture { display: block; width: 100%; height: 100%; }
.nb { white-space: nowrap; }

/* lieve 1 · niente parole a capo da sole: le righe si pareggiano (stesso numero di righe, stesse altezze) */
.t-grande, .t-due, .t-tre, .t-medio, .gi-tit, .prod-nome, .se-col h3, .se-col p, .pa-voce blockquote, .riga-testo p, .cat-testa p, .or-giu, .pi-missione p, .sk-nota { text-wrap: balance; }
.anche .fs-dentro .t-grande { max-width: none; }

/* G1 · due metà: riga piccola, titolo e bottone in basso, sopra la sfumatura scura; le facce restano libere */
.due-meta .dm-box { align-items: flex-end; padding-bottom: 72px; }
.dm-box .sfondo::after, .li-box .sfondo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: var(--sfuma); pointer-events: none; }

/* G4 · Adulti, Bambini, Benessere: etichette bianche con l'ombra scura, come nelle due metà */
.li-nome { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.li-box .sfondo::after { height: 46%; }
.li-box .sfondo img { object-position: 50% 0; }   /* M9: della foto dei bambini si vede la fascia alta, con tutti interi */

/* G2 · orari: la sala senza persone, piu' scura al centro dove stanno titolo, cifre e righe */
.orari .sfondo::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 44% 86% at 50% 50%, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .5) 50%, rgba(0, 0, 0, 0) 100%); }
/* M8 · video: un velo leggero sotto il titolo bianco */
.video-t .sfondo::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); pointer-events: none; }

/* M7 · dove non c'è la nota «la prima lezione è gratuita» la descrizione tiene la sua distanza */
.sk-bottoni + .sk-desc { margin-top: 52px; }
.pp-info-dentro .sk-prezzo + .sk-desc { margin-top: 47px; }
/* lieve 5 · il bottone verde di WhatsApp anche nella scheda */
.pp-chiedi { width: 100%; margin-top: 12px; }

/* M5 · il bottone fisso «Prenota la prova»: pillola nera col tondo verde, in basso a destra */
.wa-fisso { position: fixed; right: 24px; bottom: 24px; z-index: 80; display: inline-flex; align-items: center; gap: 11px; height: 46px; padding: 0 20px 0 6px;
  border-radius: 30px; background: #000; color: #fff; font-size: 13px; line-height: 1; font-weight: 600; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .3); transition: opacity .2s linear, visibility 0s; }
.wa-fisso i { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--verde); }
.wa-fisso svg { width: 20px; height: 20px; fill: none; stroke: var(--nero-p); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wa-fisso.via, .wa-fisso.scansa, html.cassetto-aperto .wa-fisso, html.lg-aperto .wa-fisso { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s linear, visibility 0s .2s; }
html:has(#pn-striscia) .wa-fisso { right: 58px; }

/* M1 · vetrina: la colonna ferma sta nello schermo anche a 810 e a 768 di altezza (a 900 resta a -21 px) */
@media (min-width: 1024px) {
  .vt-dentro { top: min(-21px, calc(100vh - var(--vt-fine, 870px))); }
}
@media (min-width: 1024px) and (max-height: 860px) {
  .vt-dentro { padding-top: 40px; padding-bottom: 40px; }
  .vt-dentro .sk-nome { margin-top: 18px; }
  .vt-dentro .sk-prezzo { margin-top: 16px; }
  .vt-dentro .sk-opz { margin-top: 28px; }
  .vt-dentro .sk-pillole { margin-top: 12px; }
  .vt-dentro .sk-qta { margin-top: 24px; }
  .vt-dentro .sk-bottoni { margin-top: 22px; }
  .vt-dentro .sk-nota { margin-top: 30px; }
  .vt-dentro .sk-desc { margin-top: 16px; }
  .vt-dentro .sk-vai { margin-top: 22px; }
}

/* G5 · fra 1024 e 1439 px l'impaginazione del computer si stringe invece di uscire dallo schermo (a 1440 non cambia niente) */
@media (min-width: 1024px) and (max-width: 1439px) {
  .t-grande { font-size: clamp(42px, 4.17vw, 60px); line-height: 1.1; letter-spacing: -1.5px; }
  .ap-testo, .fs-dentro, .cn-foto { padding-left: clamp(40px, 7vw, 101px); }
  .fs-dentro { padding-right: 28px; }
  .ap-testo .t-grande, .ap-testo .riga-su { max-width: calc(100% - 24px); }
  .riga-testo, .cat-testa { padding-left: 40px; padding-right: 40px; }
  .dm-box { padding-left: 40px; padding-right: 40px; }
  .look-binario { gap: 30px; padding: 0 clamp(36px, 5.55vw, 80px); scroll-padding-left: clamp(36px, 5.55vw, 80px); }
  .look-scheda { width: min(475px, calc(50vw - 2 * clamp(36px, 5.55vw, 80px))); }
  .conosci { height: auto; min-height: 900px; }
  .cn-testo { padding: clamp(70px, 12.2vw, 176px) clamp(36px, 5.5vw, 79px) 70px clamp(36px, 5.55vw, 80px); }
  .pa-voce, .pa-voce:nth-child(2), .pa-voce:nth-child(3) { height: auto; min-height: 422px; padding: 72px clamp(36px, 5.5vw, 79px) 72px clamp(36px, 5.55vw, 80px); }
  .gi-testo { padding: 0 clamp(22px, 2.8vw, 40px) 39px; }
  .gi-tit { font-size: clamp(19px, 1.67vw, 24px); line-height: 1.33; }
  .vt-dentro, .pp-info-dentro { padding-left: clamp(36px, 5.55vw, 80px); padding-right: clamp(36px, 5.5vw, 79px); }
  .or-dentro { padding: 0 40px; }
  .servizi { grid-template-columns: repeat(3, minmax(0, 303px)); column-gap: clamp(28px, 8.96vw, 129px); height: auto; min-height: 519px; padding-left: 40px; padding-right: 40px; padding-bottom: 90px; }
  .se-col { min-width: 0; }
  .prenota { padding-left: max(40px, calc(50vw - 360px)); padding-right: max(40px, calc(50vw - 360px)); }
  footer.piede { height: auto; min-height: 775px; }
  .pi-su { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); column-gap: clamp(22px, 3.47vw, 50px); height: auto; min-height: 341px; padding-bottom: 40px; }
  .pi-col { min-width: 0; }
  .pi-col > a, .pi-col > button { width: auto; max-width: 100%; }
  .pi-soc > a { height: auto; min-height: 20px; }
  .pi-missione p { font-size: clamp(19px, 1.67vw, 24px); line-height: 1.33; }
  .pi-diritti { padding-left: 24px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .sk-bottoni { grid-template-columns: 1fr; gap: 12px; }
  .prod-dida { padding-right: 62px; }
}

/* =========================================================================
   TELEFONO (fino a 1023 px), cure del 2/12/2026
   ========================================================================= */
@media (max-width: 1023px) {
  /* G3 e M8 · apertura: il blocco di testo nel terzo basso della foto, sopra la sfumatura; niente scritte sulle facce */
  .ap-testo { justify-content: flex-end; padding: 0 30px 34px; text-shadow: 0 1px 14px rgba(0, 0, 0, .5); }
  .ap-testo .bottone { text-shadow: none; }
  .ap-fisso::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: var(--sfuma); pointer-events: none; }
  .ap-velo { opacity: .12 !important; }
  /* G1 */
  .due-meta .dm-box { padding-bottom: 34px; }
  /* G2 · al telefono la riga degli orari va a capo dopo il primo gruppo, senza puntino appeso */
  .orari .sfondo::after { background: radial-gradient(ellipse 95% 58% at 50% 48%, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .56) 60%, rgba(0, 0, 0, 0) 100%); }
  .or-pt { display: block; height: 0; overflow: hidden; }
  /* M8 · video: titolo in basso sulla stessa sfumatura */
  .video-t { align-items: flex-end; padding-bottom: 20px; }
  .video-t .sfondo::after { inset: auto 0 0 0; height: 72%; background: var(--sfuma); }
  /* M8 · articoli: data e titolo bianchi sempre sopra lo scuro */
  .gi-foto::after { background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .66) 34%, rgba(0, 0, 0, .28) 52%, rgba(0, 0, 0, 0) 68%); }
  .gi-testo { text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
  /* M4 · chi siamo: della foto si vede la parte alta, il timbro resta fuori; lieve 2: via il vuoto sotto l'ultimo paragrafo */
  .cn-foto .sfondo img { object-position: 50% 0; }
  .conosci { height: auto; }
  .cn-testo { padding-bottom: 50px; }
  /* M7 e lieve 5 */
  .pp-info-dentro .sk-prezzo + .sk-desc { margin-top: 0; }
  .pp-chiedi { height: 44px; }
  /* lieve 8 · la tendina «I corsi» del piede si apre verso l'alto, non sopra i diritti */
  .pi-menu { top: auto; bottom: 49px; }
  /* M5 · pillola compatta */
  .wa-fisso { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); height: 44px; gap: 9px; padding: 0 16px 0 5px; font-size: 12px; }
}
/* G5 · da 600 a 1023 px (tablet) l'impaginazione del telefono con le foto alla loro proporzione */
@media (min-width: 600px) and (max-width: 1023px) {
  #piu-scelti { grid-template-rows: none; }
  .gp-cella .prod-foto { height: auto; aspect-ratio: 360 / 431; }
  .gp-cella .prod-agg { top: auto; bottom: 20px; }
  .an-griglia { grid-template-rows: none; }
  .due-meta { grid-template-columns: 1fr 1fr; }
  .dm-box { height: clamp(506px, 62vw, 640px); }
  .ap-fisso img { object-position: 50% 28%; }
  .look-foto { height: min(75vw, 80vh); }
  .vt-foto, .pp-foto, .pp-binario { height: min(62vw, 70vh); }
  .vt-foto img, .pp-foto img { object-position: 50% 12%; }   /* la fascia larga tiene le teste */
  .pp-dentro { height: calc(min(62vw, 70vh) + 63px); }
  .conosci .cn-foto { height: 340px; }
  .riga-testo p, .cat-testa p { max-width: 560px; }
  .cn-testo { max-width: 760px; margin: 0 auto; }
  .prenota { padding-left: max(18px, calc(50vw - 300px)); padding-right: max(18px, calc(50vw - 300px)); }
  .servizi { height: auto; padding-bottom: 20px; }
  .se-col { height: auto; min-height: 230px; max-width: 420px; margin: 0 auto; }
}

/* lieve 9 · cookie policy al telefono: le tabelle diventano schede, niente colonna tagliata a metà */
@media (max-width: 640px) {
  .carta-legale .tabella-scorre { overflow-x: visible; }
  .carta-legale table { min-width: 0; }
  .carta-legale thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .carta-legale tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--riga); }
  .carta-legale td { display: block; padding: 2px 0; border: 0; }
  .carta-legale td:nth-child(1) { font-weight: 600; }
  .carta-legale td:nth-child(2)::before { content: 'Tipo: '; font-weight: 600; }
  .carta-legale td:nth-child(3)::before { content: 'A cosa serve: '; font-weight: 600; }
  .carta-legale td:nth-child(4)::before { content: 'Durata: '; font-weight: 600; }
}

/* capo, 2/12: il titolo di Chi siamo si legge a ogni larghezza. A 1024 la parola «Fit» finiva sullo striscione bianco,
   al telefono il bottone bianco toccava lo striscione: un'ombra sotto il titolo, da sinistra al computer, intera al telefono */
.cn-foto .sfondo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: rgba(0, 0, 0, .4); }
@media (min-width: 1024px) { .cn-foto .sfondo::after { background: linear-gradient(to right, rgba(0, 0, 0, .68) 0%, rgba(0, 0, 0, .52) 42%, rgba(0, 0, 0, 0) 84%); } }
@media (min-width: 1024px) and (max-width: 1439px) { .cn-titolo .t-grande { max-width: 5.5em; } }

/* =========================================================================
   BABULANDIA (2/12/2026): la forma di Split, la pelle della sala feste.
   Colori dal logo e dalla sala: turchese della scritta, fucsia (UNA cosa sola: «Blocca la data»), giallo del trono, inchiostro blu notte.
   Titoli in Fredoka (tondo e caldo), testi in Montserrat come Split. Testata ferma in alto col bottone a destra
   ========================================================================= */
@font-face { font-family: 'Fredoka'; src: url('../font/fredoka.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
:root { --turchese: #2FB3A6; --turchese-s: #1A7A70; --fucsia: #D81B72; --giallo: #F7C81E; --arancio: #F29A2E; --prato: #2E7D3A;
  --notte: #17304A; --notte2: #10243A; --notte3: #0C1C2E; --th: 84px; --tit: 'Fredoka', 'Montserrat', system-ui, sans-serif; }
html { scroll-padding-top: var(--th); }
body { color: var(--notte); }
.t-grande, .t-due, .t-tre, .t-medio, .sk-nome, .gi-tit, .li-nome, .se-col h3, .cat-testa .t-grande, .foglio h1, .carta-legale h2 { font-family: var(--tit); font-weight: 600; letter-spacing: 0 !important; }
.t-grande { line-height: 1.08; }
.bottone.pieno { background: var(--notte); color: #fff; }
.bottone.pieno.chiaro, .conosci .bottone.pieno { background: #fff; color: var(--notte); }
.bottone.pieno.fucsia, .bottone.fucsia { background: var(--fucsia); color: #fff; border-color: transparent; }
.bottone.filo { border-color: var(--notte); color: var(--notte); }
.etich.fucsia { background: var(--fucsia); border-color: var(--fucsia); color: #fff; }
.prod-agg svg { width: 24px; height: 22px; fill: none; stroke: var(--notte); stroke-width: 1.8; }
.prod-agg:hover svg { fill: rgba(216, 27, 114, .12); }

/* barra d'annuncio e testata */
.annuncio { background: var(--notte); color: #fff; height: 34px; }
.annuncio a { color: var(--giallo); font-weight: 600; }
.annuncio span span { display: inline; padding: 0; }
.testata { position: sticky; top: 0; z-index: 60; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--th); padding: 0 28px 0 36px; border-bottom: 1px solid rgba(23, 48, 74, .12); }
.te-menu { display: flex; gap: 30px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.te-menu a { padding: 8px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .15s linear; }
.te-menu a:hover { background-size: 100% 2px; }
.te-sx { display: none; align-items: center; gap: 6px; }
.te-sx .ico { position: relative; right: auto; top: auto; margin: 0; }
.ico-menu { width: 44px; height: 44px; padding-left: 8px; justify-content: flex-start; }
.ico-borsa { width: 44px; height: 44px; margin: 0; }
.ico-borsa svg { width: 24px; height: 22px; fill: none; stroke: var(--notte); stroke-width: 1.8; }
.conta { top: 30px; left: 25px; right: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--fucsia); color: #fff; font-size: 12px; line-height: 18px; }
.conta.vuota { display: none; }
.logo { grid-column: 2; display: block; height: auto; justify-self: center; }
.logo img { width: 170px; height: auto; margin: 0; border-radius: 10px; }
.blocca { grid-column: 3; justify-self: end; position: relative; display: inline-flex; align-items: center; height: 46px; padding: 0 24px 0 40px; border-radius: 30px;
  background: var(--fucsia); color: #fff; font-size: 13px; font-weight: 600; text-transform: uppercase; white-space: nowrap; letter-spacing: .02em;
  box-shadow: 0 4px 14px rgba(216, 27, 114, .28); transition: transform .15s linear, box-shadow .15s linear; }
.blocca:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(216, 27, 114, .38); }
.pall { position: absolute; left: 13px; top: 7px; width: 18px; height: 27px; transform-origin: 50% 95%; animation: dondola 3.2s ease-in-out infinite; }
.pall svg { width: 18px; height: 27px; overflow: visible; }
.pall path { fill: var(--giallo); }
.pall .filo { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 1.2; }
@keyframes dondola { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(7deg) translateY(-2px); } }

/* apertura sotto la testata ferma (computer) */
@media (min-width: 1024px) {
  .ap-dia { height: calc(100vh - var(--th)); }
  .ap-fisso { height: calc(100vh - var(--th)); }
  .apertura.attiva .ap-taglio { top: var(--th); }
  .fs-dentro { top: calc(var(--th) - 1px); height: min(900px, calc(100vh - var(--th))); }
  .look-foto, .look-foto.bx, .pp-dentro, .pp-info-dentro { top: calc(var(--th) - 1px); }
  .look-foto { height: calc(100vh - var(--th)); }
  .vt-dentro { top: min(calc(var(--th) - 21px), calc(100vh - var(--vt-fine, 870px))); }
}
.ap-testo { background: #f4f7f8; }
.ap-testo .riga-su { font-weight: 600; letter-spacing: .06em; color: var(--turchese-s); }
.ap-testo .t-grande { max-width: 470px; }

/* griglia dei temi */
.gp-titolo .t-medio { font-size: 34px; line-height: 1.1; }
.prod-prezzo { color: #4b6075; }

/* righe di testo */
.riga-testo .t-due { font-size: 44px; line-height: 1.1; }

/* il carosello XSTREET: titolo fermo, colonne che salgono */
.sfilata { position: relative; height: 300vh; background: var(--notte); color: #fff; overflow: clip; }
.sf-fermo { position: sticky; top: var(--th); z-index: 3; height: calc(100vh - var(--th)); display: flex; align-items: center; justify-content: center; pointer-events: none; }
.sf-testo { pointer-events: auto; max-width: 470px; padding: 36px 44px 40px; border-radius: 26px; background: var(--notte); text-align: center; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.sf-testo .riga-su { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--giallo); margin-bottom: 18px; }
.sf-testo .t-grande { font-size: 64px; margin-bottom: 18px; }
.sf-testo p { margin-bottom: 28px; color: rgba(255, 255, 255, .86); }
.sf-colonne { position: absolute; inset: 0; z-index: 1; display: grid; grid-template-columns: 1fr 1fr 1fr; column-gap: 3vw; padding: 70vh 3vw 0; }
.sf-col { will-change: transform; }
.sf-col img { display: block; width: var(--w); height: auto; margin: 0 0 26vh var(--x); border-radius: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.sf-b { padding-top: 34vh; }
.sf-c { padding-top: 12vh; }

/* due meta' */
.dm-testo .t-due { font-size: 46px; line-height: 1.05; }

/* video col titolo bianco: il reel verticale nel riquadro telefono, accanto al testo */
.video-t { display: grid; grid-template-columns: 1fr auto; align-items: center; justify-content: stretch; gap: 0 8vw; height: auto; min-height: 800px; padding: 90px 10vw 90px 101px; background: var(--notte); text-align: left; }
.vd-testo { max-width: 520px; }
.vd-testo .riga-su { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--giallo); margin-bottom: 22px; }
.vd-testo .t-grande { margin-bottom: 26px; }
.vd-testo p { color: rgba(255, 255, 255, .86); }
.vd-tel { position: relative; width: 340px; aspect-ratio: 408 / 726; border: 10px solid #0b1726; border-radius: 40px; overflow: hidden; background: #0b1726; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.vd-tel video { width: 100%; height: 100%; object-fit: cover; background: #0b1726 center / cover no-repeat; }

/* cosa c'è in una festa */
.look-scheda .prod-foto img { object-position: 50% 40%; }

/* conosciamoci e recensioni sul blu notte */
.conosci { background: var(--notte); }
.cn-foto .sfondo::after { background: linear-gradient(to right, rgba(12, 28, 46, .74) 0%, rgba(12, 28, 46, .5) 45%, rgba(12, 28, 46, .1) 90%); }
.cn-testo .t-tre { color: var(--giallo); font-size: 26px; }
.parole { background: var(--notte2); }
.avatar { display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .06); }
.avatar svg { width: 24px; height: 36px; }
.avatar path { fill: var(--giallo); } .avatar.a2 path { fill: var(--turchese); } .avatar.a3 path { fill: var(--arancio); } .avatar.a4 path { fill: #8FC3F2; }
.pa-voce blockquote { font-size: 22px; line-height: 1.45; }
.parole .sotto-t { max-width: 340px; opacity: .8; }
.pa-voce figcaption { font-weight: 600; }
.pa-voce figcaption span { font-weight: 500; }

/* durante l'anno: sei schede su due colonne */
@media (min-width: 1024px) {
  .nv-binario { display: grid; grid-template-columns: 1fr 1fr; }
  .nv-scheda, .nv-scheda:last-child { height: auto; border-bottom: 1px solid var(--riga); border-right: 1px solid var(--riga); }
  .nv-scheda .prod-foto { height: auto; aspect-ratio: 360 / 431; }
  .nv-scheda .prod-dida { height: 100px; }
}

/* blocca la data: la chat */
.prenota-chat { display: grid; grid-template-columns: 1fr 440px; align-items: center; gap: 0 6vw; padding: 110px 10vw 110px 101px; background: var(--notte); color: #fff; }
.pc-testo .riga-su { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--giallo); margin-bottom: 20px; }
.pc-testo .t-grande { margin-bottom: 24px; }
.pc-testo p { max-width: 430px; color: rgba(255, 255, 255, .86); }
.pc-senza a { color: var(--giallo); }
.mo-app { width: 100%; height: 600px; background: #fff; color: var(--notte); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.mo-app-testa { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--turchese-s); color: #fff; }
.mo-avatar { flex: 0 0 auto; width: 74px; height: 29px; border-radius: 6px; overflow: hidden; background: #fff; }
.mo-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mo-app-testa b { display: block; font-size: 15px; font-weight: 600; }
.mo-app-testa div span { display: block; font-size: 12px; opacity: .92; }
.mo-app-corpo { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; background: #eef5f4; scrollbar-width: thin; }
.mo-data { align-self: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #5b7183; margin-bottom: 4px; }
@keyframes mo-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mo-m { max-width: 84%; min-width: 110px; padding: 9px 12px 21px; border-radius: 14px; font-size: 14.5px; line-height: 1.4; position: relative; animation: mo-in .3s ease; overflow-wrap: anywhere; }
.mo-m.loro { align-self: flex-start; background: #fff; color: var(--notte); border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.mo-m.mio { align-self: flex-end; background: #d4f1ec; color: var(--notte); border-bottom-right-radius: 4px; }
.mo-m.bozza { background: #fde3ef; }
.mo-m i { position: absolute; right: 10px; bottom: 4px; font-style: normal; font-size: 12px; line-height: 1; color: #5b7183; }
.mo-m.scrive { padding: 12px 14px; display: flex; gap: 4px; min-width: 0; }
.mo-m.scrive span { width: 6px; height: 6px; border-radius: 50%; background: #8aa0b0; animation: mo-pt 1s infinite; }
.mo-m.scrive span:nth-child(2) { animation-delay: .15s; } .mo-m.scrive span:nth-child(3) { animation-delay: .3s; }
@keyframes mo-pt { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.mo-app-piede { min-height: 72px; padding: 12px; border-top: 1px solid rgba(23, 48, 74, .1); background: #fff; }
.mo-rapide { display: flex; flex-wrap: wrap; gap: 7px; }
.mo-rapida { min-height: 40px; padding: 8px 14px; border-radius: 22px; border: 1px solid rgba(23, 48, 74, .35); font-size: 14px; font-weight: 600; color: var(--notte); transition: background .15s, color .15s; }
.mo-rapida:hover { background: var(--notte); color: #fff; }
.mo-giorni { display: flex; gap: 7px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: thin; }
.mo-g { flex: 0 0 auto; width: 58px; padding: 8px 0 7px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; gap: 3px; border: 1px solid rgba(23, 48, 74, .22); color: var(--notte); transition: border-color .15s, background .15s; }
.mo-g:hover { border-color: var(--notte); background: #f3f7f8; }
.mo-g .dd { font-size: 12px; letter-spacing: .08em; color: #5b7183; }
.mo-g .nn { font-family: var(--tit); font-weight: 600; font-size: 21px; line-height: 1; }
.mo-g .ss { font-size: 12px; color: var(--turchese-s); font-weight: 600; }
.mo-nome { display: flex; gap: 8px; }
.mo-nome input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 24px; border: 1px solid rgba(23, 48, 74, .35); font: inherit; font-size: 16px; color: var(--notte); outline: none; }
.mo-nome input:focus { border-color: var(--turchese); }
.mo-nome button { height: 46px; padding: 0 18px; border-radius: 24px; background: var(--notte); color: #fff; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.mo-fine { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.mo-fine .bottone { height: 48px; }
.mo-alt { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mo-ric { font-size: 13px; color: #5b7183; text-decoration: underline; }
.mo-esito { flex-basis: 100%; font-size: 13px; color: var(--turchese-s); }

/* le formule (forma delle collezioni) */
.formule { display: grid; grid-template-columns: 50% 50%; background: #f4f7f8; }
.fo-griglia { display: grid; grid-template-columns: 1fr 1fr; }
.fo-box { position: relative; display: flex; align-items: flex-end; height: 450px; padding: 34px; overflow: hidden; color: #fff; }
.fo-box .sfondo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: var(--sfuma); pointer-events: none; }
.fo-box .li-nome { color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
@media (hover: hover) { .fo-box:hover .sfondo { transform: scale(1.05); } }

/* tre servizi, whatsapp grande, piede */
.servizi { background: var(--notte2); }
.se-col svg { stroke: var(--giallo); }
.se-col h3 { font-size: 22px; line-height: 1.2; }
.se-col p { color: rgba(255, 255, 255, .82); }
.wa-grande { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 110px 30px; background: var(--notte); color: #fff; text-align: center; }
.wa-grande .t-tre { font-size: 40px; line-height: 1.1; }
.wa-btn { height: 60px; padding: 0 34px 0 26px; gap: 12px; background: var(--turchese-s) !important; font-size: 15px; }
.wa-btn svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.wa-num { font-family: var(--tit); font-weight: 600; font-size: 46px; line-height: 1; color: var(--giallo); }
footer.piede { background: var(--notte3); color: #d6dee6; height: auto; min-height: 775px; padding-bottom: 40px; }
.pi-logo { width: 220px; height: auto; border-radius: 12px; margin-bottom: 22px; }
.pi-missione p { font-size: 20px; line-height: 1.4; }
.pi-segni i { background: rgba(255, 255, 255, .08); color: #d6dee6; }
.pi-menu { background: var(--notte2); }
.pi-col > a span { overflow-wrap: anywhere; }
.pi-su { height: auto; min-height: 341px; padding-bottom: 30px; }

/* cassetti */
.me-cartolina img { filter: brightness(.6); object-position: 50% 30%; }

/* catalogo: i filtri */
.filtri { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 30px 50px; }
.filtri a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 1px solid rgba(23, 48, 74, .25); border-radius: 30px; font-size: 14px; font-weight: 600; }
.filtri a:hover, .filtri a.on { background: var(--notte); color: #fff; border-color: var(--notte); }
section[id] { scroll-margin-top: var(--th); }

/* larghezze di mezzo */
@media (min-width: 1024px) and (max-width: 1279px) {
  .te-menu { gap: 18px; font-size: 13px; }
  .logo img { width: 150px; }
  .blocca { padding: 0 18px 0 36px; }
  .video-t, .prenota-chat { padding-left: 56px; padding-right: 56px; gap: 0 4vw; }
  .prenota-chat { grid-template-columns: 1fr 400px; }
  .vd-tel { width: 300px; }
  .sf-testo .t-grande { font-size: 52px; }
}
@media (min-width: 1024px) and (max-width: 1439px) {
  .video-t { padding-left: clamp(56px, 7vw, 101px); }
}

/* =========================================================================
   TELEFONO E TABLET (fino a 1023 px)
   ========================================================================= */
@media (max-width: 1023px) {
  :root { --th: 64px; }
  .testata { padding: 0 10px 0 6px; grid-template-columns: auto 1fr auto; column-gap: 6px; }
  .te-menu { display: none; }
  .te-sx { display: flex; gap: 0; }
  .logo { grid-column: 2; }
  .logo img { width: 118px; border-radius: 8px; }
  .blocca { height: 40px; padding: 0 13px 0 30px; font-size: 12px; }
  .pall { left: 9px; top: 6px; width: 15px; height: 23px; }
  .pall svg { width: 15px; height: 23px; }
  .ap-dia { height: calc(100svh - 158px); min-height: 460px; }
  .ap-testo .t-grande { font-size: 32px; }
  .ap-testo .riga-su { color: #fff; }
  .gp-titolo .t-medio { font-size: 26px; }
  .riga-testo .t-due { font-size: 28px; }
  .dm-testo .t-due { font-size: 30px; }
  .sfilata { height: 250vh; }
  .sf-colonne { grid-template-columns: 1fr 1fr; column-gap: 4vw; padding: 60vh 4vw 0; }
  .sf-c { display: none; }
  .sf-col img { width: 86%; margin: 0 0 30vh; }
  .sf-b img { margin-left: 14%; }
  .sf-testo { max-width: 84vw; padding: 26px 22px 28px; }
  .sf-testo .t-grande { font-size: 40px; }
  .video-t { display: flex; flex-direction: column; align-items: center; gap: 30px; min-height: 0; height: auto; padding: 60px 25px 60px; text-align: center; }
  .vd-testo .riga-su { margin-bottom: 14px; }
  .vd-testo .t-grande { margin-bottom: 16px; }
  .vd-tel { width: min(68vw, 300px); border-width: 8px; border-radius: 32px; }
  .look-foto { height: 422px; }
  .cn-testo .t-tre { font-size: 22px; }
  .pa-voce blockquote { font-size: 18px; }
  .pa-voce, .pa-voce:nth-child(2), .pa-voce:nth-child(3) { height: auto; min-height: 446px; padding: 40px 25px; }
  .prenota-chat { display: flex; flex-direction: column; gap: 30px; padding: 60px 14px; text-align: center; }
  .pc-testo { padding: 0 12px; }
  .pc-testo p { margin: 0 auto; }
  .pc-chat { width: 100%; max-width: 440px; text-align: left; }
  .mo-app { height: min(560px, calc(100svh - 120px)); min-height: 440px; }
  .formule { display: block; }
  .fo-griglia { grid-template-columns: 1fr 1fr; }
  .fo-box { height: 220px; padding: 16px; }
  .fo-box .li-nome { font-size: 20px; line-height: 1.15; text-decoration: none; padding-bottom: 0; }
  .wa-grande { padding: 60px 20px; }
  .wa-grande .t-tre { font-size: 28px; }
  .wa-num { font-size: 36px; }
  footer.piede { height: auto; min-height: 0; padding-bottom: 40px; }
  .pi-giu { position: static; height: auto; padding-top: 40px; }
  .pi-logo { width: 180px; }
  .se-col h3 { font-size: 20px; }
  .filtri { padding: 0 14px 30px; gap: 8px; }
  .filtri a { height: 40px; padding: 0 14px; font-size: 13px; }
}
@media (max-width: 380px) {
  .logo img { width: 100px; }
  .blocca { padding: 0 10px 0 26px; }
}
@media (prefers-reduced-motion: reduce) { .pall { animation: none; } .sf-col { transform: none !important; } }

/* ritocchi del primo giro a vista (2/12 sera) */
@media (max-width: 1023px) {
  .ap-testo { background: none; }
  .annuncio .solo-pc { display: none; }
  .logo { width: auto; height: auto; }
  .logo img { height: auto; }
  .sk-testa-tel { height: auto; padding-bottom: 18px; }
  .sk-testa-tel .sk-prezzo b, .pp-testa-tel .sk-prezzo b { font-size: 18px; line-height: 1.3; }
  .pp-testa-tel { height: auto; padding-bottom: 18px; }
}
.gp-titolo[id] { scroll-margin-top: var(--th); }
@media (hover: hover) { .prod:hover .prod-foto .f1:only-child { opacity: 1; } }
.pp-testa-tel .sk-nome, .pp-info-dentro .sk-nome, .sk-testa-tel .sk-nome, .vt-dentro .sk-nome { letter-spacing: 0 !important; }

/* giro del capo (2/12 sera): logo che si legge, fondo pagina piu' stretto */
.logo img { width: auto; height: 62px; border-radius: 9px; }
.wa-grande { padding: 70px 30px 64px; gap: 18px; }
footer.piede { min-height: 0; height: auto; padding: 64px 40px 34px; }
.pi-su { min-height: 0; padding-bottom: 34px; }
.pi-giu { height: auto; padding: 28px 0 0; align-items: flex-end; }
.pi-missione p { margin-top: 0; }
.servizi { height: auto; padding-bottom: 80px; }
@media (max-width: 1023px) {
  .logo img { width: auto; height: 44px; border-radius: 7px; }
  .wa-grande { padding: 50px 20px 46px; }
  footer.piede { padding: 44px 18px 30px; }
  .pi-col { margin-bottom: 34px; }
  .pi-giu { padding-top: 24px; }
  .servizi { padding-bottom: 30px; }
  .se-col { height: auto; padding: 26px 0; }
}
@media (max-width: 380px) { .logo img { height: 40px; } }
.servizi { padding-top: 90px; padding-bottom: 70px; }
@media (max-width: 1023px) { .servizi { padding-top: 30px; padding-bottom: 20px; } }

/* collaudo fluido (2/12 notte): tessere della sfilata senza ombre grandi, video al tocco col suo bottone */
.sf-col { will-change: transform; contain: layout paint; }
.sf-col img { box-shadow: none; outline: 1px solid rgba(255, 255, 255, .08); }
.vd-tel video { background: #0b1726 url(../img/sala-poster.webp) center / cover no-repeat; }
.vd-play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%;
  background: rgba(255, 255, 255, .94); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.vd-play svg { width: 30px; height: 30px; margin-left: 4px; fill: var(--fucsia); }
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) { .vd-play { display: none; } }
html.vd-va .vd-play { display: none; }

/* la sfilata la muove il compositore: animazione legata allo scorrimento della sezione (stessi conti del JS:
   da +100vh*(v-1) quando la sezione entra a -altezza*(v-1) quando esce) */
.sfilata { --sf-alt: 300vh; view-timeline: --sf block; }
.sf-a { --k: .25; } .sf-b { --k: -.2; } .sf-c { --k: .1; }
@keyframes sf-sale { from { transform: translate3d(0, calc(100vh * var(--k)), 0); } to { transform: translate3d(0, calc(var(--sf-alt) * var(--k) * -1), 0); } }
@supports (animation-timeline: view()) {
  .sf-col { animation: sf-sale linear both; animation-timeline: --sf; animation-range: cover 0% cover 100%; }
}
@media (max-width: 1023px) { .sfilata { --sf-alt: 250vh; } }
@media (prefers-reduced-motion: reduce) { .sf-col { animation: none; } }

/* giudice 2/12: in vetrina i due bottoni uno sotto l'altro, «Blocca la data su WhatsApp» resta intero a ogni larghezza */
@media (min-width: 1024px) { .vt-dentro .sk-bottoni { grid-template-columns: 1fr; gap: 12px; } }
.sk-bottoni .bottone span { white-space: nowrap; }
/* piede: la firma sotto il copyright */
.pi-diritti .pi-firma { margin-top: 4px; color: #8f9192; }
/* la mail del piede in una riga sola anche a 1280 */
@media (min-width: 1200px) { .pi-soc a[href^="mailto"] span { white-space: nowrap; font-size: 12.5px; letter-spacing: -.01em; } }
