/* BREMAWOOD · SITO 1 · il negozio elegante (3/12/2026), la forma del tema Split rifatta nel nostro codice.
   In piu': guarda dentro coi punti, chi e', la stampa, lo scaffale, le essenze nella forma del conto alla rovescia, la richiesta su WhatsApp.
   Colori: bianco pieno, bruno del marchio #5D4B3F (fondi scuri), sabbia #CABAA0 (scritte chiare sui fondi scuri),
   vino #6E1F2B solo per i bottoni di WhatsApp. Un solo carattere, Montserrat in casa, come Split. */
@font-face { font-family: 'Montserrat'; src: url('../font/montserrat.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bianco: #FFFFFF; --pannello: #F4F4F4; --ink: #2B241F; --scuro: #2F2621; --bruno2: #5D4B3F; --accento: #6E1F2B; --vino: #6E1F2B; --sabbia: #CABAA0; --bruno: #5D4B3F;
  --riga: rgba(43, 36, 31, .12); --riga-c: rgba(255, 255, 255, .14); --chiaro: #FFFFFF; --chiaro3: #D9CDBB; --tenue: #6B5E54;
  --curva: cubic-bezier(.39, .575, .565, 1); --cass: cubic-bezier(.25, .46, .45, .94); --molla: cubic-bezier(.3, .1, .2, 1);
  --tit: 'Montserrat', system-ui, sans-serif; --txt: 'Montserrat', system-ui, sans-serif;
  --sfuma: linear-gradient(to top, rgba(30, 22, 18, .82) 0%, rgba(30, 22, 18, .62) 42%, rgba(30, 22, 18, .26) 74%, rgba(30, 22, 18, 0) 100%);
  /* per le pagine legali (legale.css) */
  --carta: #FFFFFF; --inchiostro: #2B241F; --brace: #6B5E54; --fondo: #2F2621; --serif: 'Montserrat', system-ui, sans-serif; --bastone: 'Montserrat', system-ui, sans-serif;
  --rosso: #6B5E54; --grigio: #F4F4F4;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; background: var(--bianco); }
html.lg-aperto { overflow: hidden; }
body { margin: 0; position: relative; left: 0; background: var(--bianco); color: var(--ink); font-family: var(--txt); 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%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
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: var(--ink); color: #fff; padding: 10px 16px; font-weight: 600; }
.salta:focus { top: 12px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.solo-tel { display: none; }
.nb { white-space: nowrap; }

/* ---------- caratteri ---------- */
.t-grande { font-family: var(--tit); font-size: 56px; line-height: 1.08; font-weight: 600; letter-spacing: -2px; }
.t-due { font-family: var(--tit); font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: -1.2px; }
.t-tre, .t-medio { font-family: var(--tit); font-size: 30px; line-height: 1.15; font-weight: 600; letter-spacing: -.8px; }
.riga-su, .sotto-t { display: block; font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.t-grande, .t-due, .t-tre, .t-medio, .prod-nome, .se-col h3, .se-col p, .cat-testa p, .pi-missione p, .sk-desc { text-wrap: balance; }

/* ---------- 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: 1px solid transparent; font-size: 13px; line-height: 1; font-weight: 600; letter-spacing: .06em; 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: var(--ink); color: #fff; }
.bottone.pieno.chiaro { background: var(--bianco); color: var(--ink); }
.bottone.filo { border-color: var(--ink); color: var(--ink); }
.bottone.filo.chiaro { border-color: var(--bianco); color: var(--bianco); }
.bottone.oro { background: var(--accento); color: var(--ink); }
.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 { width: 31px; opacity: 1; }
  .bottone.filo:hover { background: var(--ink); color: #fff; }
  .bottone.filo.chiaro:hover { background: var(--bianco); color: var(--ink); }
}
.sottolineato { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- barra d'annuncio e testata ---------- */
.annuncio { height: 34px; padding: 5px 80px; background: var(--ink); color: var(--chiaro3); font-size: 12px; line-height: 14px; font-weight: 600; letter-spacing: .12em; text-align: center; }
.annuncio > span { display: block; padding: 5px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.annuncio a { color: inherit; }
.testata { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 93px; padding: 0 30px 0 40px;
  background: var(--bianco); border-bottom: 1px solid var(--riga); }
.logo { display: block; padding: 6px 0; }
.logo img { width: 130px; height: auto; }
.icone { display: flex; align-items: center; gap: 12px; }
.ico { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink); }
.ico svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s linear; }
.ico-cerca svg { width: 21px; height: 21px; }
.ico-dm svg { width: 23px; height: 23px; stroke-width: 1.6; }
.ico-borsa svg { width: 22px; height: 26px; }
.conta { position: absolute; left: 0; right: 0; top: 20px; font-size: 12px; line-height: 12px; font-weight: 700; text-align: center; }
.ico-menu svg { width: 27px; height: 16px; stroke-width: 2; stroke-linecap: butt; }
@media (hover: hover) { .ico:hover svg { transform: scale(1.08); } }

/* ---------- 1 · apertura a schermo diviso ---------- */
.apertura { position: relative; }
.ap-dia { position: relative; display: grid; grid-template-columns: 50% 50%; height: 100vh; min-height: 560px; }
.ap-testo { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 0 30px 8px 101px; background: var(--pannello); border-top: 1px solid var(--riga); }
.ap-testo .riga-su { margin-bottom: 26px; }
.ap-testo .t-grande { max-width: 520px; margin-bottom: 36px; }
.ap-foto { position: relative; background: var(--pannello); }
.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; min-height: 560px; background: var(--pannello); }
/* la foto riempie la meta' ma non supera mai la sua misura vera (--mw, --mh) */
.ap-fisso img { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; max-width: var(--mw, 1080px); max-height: var(--mh, 1080px); object-fit: cover; }
.ap-velo { position: absolute; inset: 0; background: var(--scuro); 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; }

/* ---------- 3 · griglia dei piu' scelti e schede ---------- */
.griglia-fuori { overflow: hidden; border-top: 1px solid var(--riga); }
.griglia-prod { display: grid; grid-template-columns: repeat(4, 1fr); margin-right: -1px; }
.gp-cella { position: relative; border-right: 1px solid var(--riga); border-bottom: 1px solid var(--riga); min-width: 0; }
.gp-cella.fuori { display: none; }
.gp-titolo { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 20px; min-height: 300px; }
.gp-titolo .t-medio { margin-bottom: 18px; }
.gp-titolo .sotto { font-size: 15px; line-height: 22px; }
.gp-tutti { display: flex; align-items: center; justify-content: center; padding: 30px 20px; min-height: 240px; }
.prod { position: relative; display: block; height: 100%; }
.prod-link { display: block; }
.prod-foto { position: relative; display: block; overflow: hidden; background: var(--pannello); aspect-ratio: 360 / 431; }
.prod-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--curva), opacity .2s linear; }
.prod-foto .f2 { opacity: 0; }
.prod-dida { position: relative; display: block; min-height: 96px; padding: 24px 76px 22px 24px; background: var(--bianco); }
.prod-nome { display: block; font-family: var(--tit); font-size: 17px; line-height: 23px; font-weight: 600; }
.prod-prezzo { display: block; margin-top: 4px; font-size: 14px; line-height: 18px; color: var(--tenue); }
.prod-agg { position: absolute; right: 12px; bottom: 22px; width: 50px; height: 50px; border-radius: 100%; display: flex; align-items: center; justify-content: center; }
.prod-agg svg { width: 22px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s linear; }
@media (hover: hover) {
  .prod:hover .prod-foto img { transform: scale(1.04); }
  .prod:hover .prod-foto .f2 { opacity: 1; }
  .prod-agg:hover svg { transform: scale(1.12); }
}

/* ---------- 4 · lo scaffale ---------- */
.scaffale { position: relative; height: 900px; overflow: hidden; background: radial-gradient(ellipse 70% 60% at 50% 30%, #6B584B 0%, #4A3C33 55%, var(--scuro) 100%); color: var(--chiaro); }
.sc-testa { position: relative; z-index: 3; padding: 96px 40px 0; text-align: center; transition: opacity .4s linear; }
.sc-testa .t-due { margin-top: 14px; }
.sc-fila { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: flex-end; padding: 0 40px; }
.sc-posto { position: relative; flex: 1; max-width: 250px; display: flex; flex-direction: column; align-items: center; }
.sc-luce { position: absolute; left: 50%; bottom: 168px; width: 250px; height: 520px; margin-left: -125px; pointer-events: none; transition: opacity .5s linear;
  background: linear-gradient(to bottom, rgba(255, 232, 196, 0) 0%, rgba(255, 232, 196, .1) 50%, rgba(255, 232, 196, .2) 78%, rgba(255, 232, 196, 0) 100%); clip-path: polygon(45% 0, 55% 0, 92% 100%, 8% 100%); }
.sc-pezzo { position: relative; z-index: 2; display: block; margin-bottom: -6px; transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(var(--k, 1)); transform-origin: 50% 50%;
  transition: transform .8s var(--molla), opacity .45s linear; will-change: transform; }
.sc-pezzo img { height: 200px; width: auto; max-width: none; pointer-events: none; }
.sc-base { display: flex; justify-content: center; width: 176px; height: 174px; padding-top: 34px; transition: opacity .5s linear;
  background: linear-gradient(to bottom, #7A6555 0, #5D4B3F 12px, #3F332B 12px, #2F2621 100%); box-shadow: 0 -1px 0 rgba(255, 232, 196, .25); }
.sc-nome { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-align: center; max-width: 150px; color: var(--chiaro3); }
.scaffale.scelto .sc-testa { opacity: .16; }
.scaffale.scelto .sc-base, .scaffale.scelto .sc-luce { opacity: .16; }
.scaffale.scelto .sc-posto:not(.on) .sc-pezzo { opacity: .14; }
.sc-posto.on { z-index: 5; }
.sc-scheda { position: absolute; z-index: 6; left: calc(50% + 70px); top: 50%; width: 380px; transform: translateY(-42%); opacity: 0; visibility: hidden; transition: opacity .4s linear .25s, visibility 0s .65s; }
.scaffale.scelto .sc-scheda { opacity: 1; visibility: visible; transition: opacity .4s linear .3s, visibility 0s; }
.sc-scheda .t-due { margin: 10px 0 12px; }
.sc-scheda p { font-size: 15px; line-height: 24px; color: var(--chiaro3); }
.sc-bottoni { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.sc-chiudi { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--chiaro3); }

.puntini { display: flex; justify-content: center; gap: 6px; height: 7px; }
.puntini i { width: 7px; height: 7px; border-radius: 7px; background: var(--ink); opacity: .28; cursor: pointer; transition: .1s linear; }
.puntini i.on { width: 25px; opacity: 1; }
.car-binario { scrollbar-width: none; }
.car-binario::-webkit-scrollbar { display: none; }
.car-binario.trascina { scroll-snap-type: none !important; scroll-behavior: auto !important; cursor: grabbing; }

/* ---------- 6 · i reel in riquadro telefono ---------- */
.reel { display: grid; grid-template-columns: 50% 50%; background: var(--pannello); }
.fs-dentro { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; height: 100%; padding: 80px 40px 80px 101px; }
.fs-dentro .t-grande { max-width: 480px; margin: 22px 0 0; }
.fs-dentro p { max-width: 440px; margin-top: 24px; }
.fs-dentro .bottone { margin-top: 34px; }
.re-video { display: flex; justify-content: center; align-items: flex-start; gap: 40px; padding: 110px 40px; border-left: 1px solid var(--riga); }
.telefono { position: relative; flex: none; width: 264px; max-width: 360px; margin: 0; }
.telefono:nth-child(2) { margin-top: 90px; }
.tl-vetro { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 36px; border: 8px solid var(--scuro); background: var(--scuro) center / cover no-repeat; box-shadow: 0 34px 60px -26px rgba(43, 36, 31, .55); }
.tl-vetro video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tl-via { display: none; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); align-items: center; justify-content: center; }
.tl-via svg { width: 26px; height: 26px; margin-left: 3px; fill: currentColor; }
.tl-vetro.va .tl-via { opacity: 0; pointer-events: none; }
.telefono figcaption { margin-top: 16px; font-size: 14px; line-height: 20px; text-align: center; color: var(--tenue); }

/* ---------- 7 · Natale, il conto alla rovescia ---------- */
.natale { display: grid; grid-template-columns: 50% 50%; background: var(--ink); color: #fff; }
.natale[hidden] { display: none; }
.nt-foto { display: flex; align-items: center; justify-content: center; padding: 80px 40px; background: var(--scuro); }
.nt-foto img { width: auto; max-width: min(100%, 520px); max-height: 700px; border-radius: 16px; }
.nt-testo { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 40px; text-align: center; }
.nt-testo .t-due { margin-top: 16px; }
.cifre { display: flex; gap: 12px; margin: 44px 0 40px; }
.gruppo { display: grid; grid-template-columns: 52px 52px; }
.gruppo .c { display: block; width: 52px; height: 66px; margin-right: -1px; border: 1px solid rgba(255, 255, 255, .34); border-radius: 6px; font-family: var(--tit); font-size: 42px; line-height: 62px; font-weight: 400; font-variant-numeric: tabular-nums lining-nums; }
.gruppo small { grid-column: 1 / 3; margin-top: 12px; font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--chiaro3); }
.nt-giu { font-family: var(--tit); font-size: 19px; line-height: 28px; font-weight: 500; margin-bottom: 30px; }

/* ---------- 8 · le sue quattro frasi e la striscia dei post ---------- */
.parole { display: grid; grid-template-columns: 50% 50%; background: var(--scuro); color: var(--chiaro); }
.pa-sx { position: relative; }
.pa-sx .fs-dentro { position: sticky; top: 0; height: 100vh; min-height: 520px; max-height: 900px; }
.pa-sx p { color: var(--chiaro3); }
.pa-binario { border-left: 1px solid var(--riga-c); }
.pa-voce { display: flex; flex-direction: column; justify-content: center; min-height: 300px; padding: 60px 60px 60px 80px; border-bottom: 1px solid var(--riga-c); }
.pa-voce:last-child { border-bottom: 0; }
.pa-voce blockquote { font-family: var(--tit); font-size: 26px; line-height: 1.3; font-weight: 500; letter-spacing: -.3px; }
.pa-voce blockquote em { font-style: italic; }
.pa-voce figcaption { margin-top: 22px; font-size: 14px; line-height: 22px; color: var(--chiaro3); }
.nastro { height: 360px; overflow: hidden; background: var(--scuro); }
.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); } }

/* ---------- 9 · le confezioni regalo ---------- */
.confezioni { max-width: 1920px; margin: 0 auto; }
.cf-testa { padding: 120px 40px 64px; text-align: center; }
.cf-testa .t-due { margin-top: 14px; }
.due-meta { display: grid; grid-template-columns: 50% 50%; }
.dm-box { position: relative; display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 4 / 3; overflow: hidden; padding: 0 40px 56px; text-align: center; color: #fff; }
.sfondo { position: absolute; inset: 0; display: block; overflow: hidden; transition: transform .5s var(--curva); }
.sfondo img { width: 100%; height: 100%; object-fit: cover; }
.dm-box .sfondo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: var(--sfuma); pointer-events: none; }
.dm-testo { position: relative; display: flex; flex-direction: column; align-items: center; text-shadow: 0 2px 18px rgba(30, 22, 18, .6); }
.dm-testo .t-due { display: block; margin: 12px 0 0; max-width: 520px; }
@media (hover: hover) { .dm-box:hover .sfondo { transform: scale(1.04); } }

/* ---------- come si ordina ---------- */
.servizi { display: grid; grid-template-columns: repeat(3, minmax(0, 303px)); justify-content: center; column-gap: clamp(28px, 8.96vw, 129px); padding: 120px 40px; background: var(--bruno2); color: #fff; text-align: center; }
.se-col svg { width: 60px; height: 60px; margin: 0 auto 30px; fill: none; stroke: #fff; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.se-col h3 { font-family: var(--tit); font-size: 21px; line-height: 28px; font-weight: 600; margin-bottom: 14px; }
.se-col p { font-size: 15px; line-height: 24px; color: var(--chiaro3); }
.se-fine { grid-column: 1 / -1; margin-top: 56px; }

/* ---------- 10 · piede ---------- */
footer.piede { background: var(--scuro); color: var(--chiaro3); padding: 120px 40px 0; overflow: hidden; }
.pi-su { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); column-gap: clamp(22px, 3.47vw, 50px); }
footer.piede h4 { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; color: var(--bianco); }
.pi-missione p { max-width: 400px; font-family: var(--tit); font-size: 24px; line-height: 32px; font-weight: 600; color: var(--bianco); }
.pi-col { min-width: 0; }
.pi-col > a, .pi-col > button { display: flex; align-items: center; gap: 12px; width: max-content; max-width: 100%; min-height: 34px; font-size: 14px; line-height: 18px; 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-col svg { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pi-nome { margin: 70px -40px 0; font-family: var(--tit); font-size: 21.2vw; line-height: .86; font-weight: 400; letter-spacing: .02em; text-align: center; white-space: nowrap; color: var(--bianco); }
.pi-giu { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding: 26px 0 30px; border-top: 1px solid var(--riga-c); font-size: 14px; line-height: 22px; }

/* ---------- cassetti ---------- */
.velo-cassetti { position: fixed; inset: 0; z-index: 90; background: rgba(30, 22, 18, .8); opacity: 0; visibility: hidden; transition: .2s linear; }
.cassetto { position: fixed; top: 0; right: 0; z-index: 100; width: 480px; max-width: 100%; height: 100%; background: var(--bianco); color: var(--ink); 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: var(--bianco);
  border-bottom: 1px solid var(--riga); font-size: 14px; line-height: 22px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.ca-x { position: relative; width: 44px; height: 44px; margin-right: -11px; }
.ca-x::before, .ca-x::after { content: ''; position: absolute; left: 12px; top: 21px; width: 20px; height: 1.6px; background: var(--ink); transform: rotate(45deg); }
.ca-x::after { transform: rotate(-45deg); }
.ca-corpo { padding: 40px; }
.me-grandi a { display: block; font-family: var(--tit); font-size: 34px; line-height: 52px; }
.me-piccoli { margin-top: 36px; }
.me-piccoli a { display: block; font-size: 15px; line-height: 38px; }
.me-cartolina { position: relative; display: block; margin-top: 44px; height: 252px; overflow: hidden; border-radius: 10px; color: #fff; text-align: center; }
.me-cartolina img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.me-cartolina::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(30, 22, 18, .58); }
.me-cartolina > span { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 0 20px; }
.me-cartolina b { font-family: var(--tit); font-size: 22px; line-height: 28px; font-weight: 600; }
.me-cartolina small { font-size: 14px; line-height: 22px; margin: 8px 0 18px; }
.me-cartolina .bottone { height: 46px; }
.ce-campo { display: block; width: 100%; height: 56px; padding: 0 40px; border: 0; border-bottom: 1px solid var(--riga); background: transparent; color: inherit; font: inherit; font-size: 16px; outline: none; }
.ce-esiti { padding: 10px 40px 40px; }
.ri-corpo { padding: 23px 40px 40px; }
.ri-vuota { font-size: 15px; color: var(--tenue); margin-bottom: 21px; }
.ri-corpo .bottone { width: 100%; height: 50px; }
.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: var(--pannello); border-radius: 6px; }
.ri-voce b, .ce-voce b { display: block; font-family: var(--tit); font-size: 16px; line-height: 22px; font-weight: 600; }
.ri-voce small, .ce-voce small { display: block; font-size: 13px; line-height: 18px; color: var(--tenue); margin-top: 3px; }
.ri-togli { min-height: 44px; padding: 0 4px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.ri-qta { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 15px; font-weight: 600; }
.ri-qta button { width: 34px; height: 34px; border: 1px solid rgba(43, 36, 31, .25); border-radius: 50%; font-size: 17px; line-height: 1; }
.ri-msg { margin-top: 26px; padding: 16px 18px 18px; border-radius: 12px; background: var(--pannello); }
.ri-etich { display: block; margin-bottom: 6px; font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tenue); }
.ri-msg p { font-size: 15px; line-height: 24px; overflow-wrap: anywhere; }
.ri-azioni { display: grid; gap: 12px; margin-top: 18px; }
.ri-nota { font-size: 14px; line-height: 22px; color: var(--tenue); margin-top: 14px; }
.ri-nota.fatto { color: var(--ink); font-weight: 700; font-size: 15px; }

/* ---------- scheda prodotto (scheda.html) ---------- */
.briciole { display: flex; align-items: center; min-height: 60px; padding: 0 40px; border-bottom: 1px solid var(--riga); font-size: 14px; line-height: 22px; }
.briciole a, .briciole b { color: var(--tenue); }
.briciole b { font-weight: 600; }
.briciole span { opacity: .4; margin: 0 12px; }
.pp { display: grid; grid-template-columns: 50% 50%; border-bottom: 1px solid var(--riga); }
.pp-testa-tel { display: none; }
.pp-galleria { position: relative; background: var(--pannello); }
.pp-dentro { position: sticky; top: 0; height: calc(100vh - 187px); min-height: 520px; max-height: 1160px; overflow: hidden; }
.pp-binario { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; }
.pp-foto { position: relative; flex: none; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 40px 40px 104px; scroll-snap-align: start; }
.pp-foto.sola { padding-bottom: 40px; }
/* la foto intera, mai piu' grande della sua misura vera */
.pp-foto img { width: auto; height: auto; max-width: min(100%, var(--mw, 1080px)); max-height: min(100%, var(--mh, 1080px)); border-radius: 16px; }
.pp-mini { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 10px; }
.pp-m { width: 60px; height: 60px; padding: 0; border: 1px solid rgba(43, 36, 31, .15); border-radius: 8px; overflow: hidden; background: var(--bianco); }
.pp-m img { width: 100%; height: 100%; object-fit: cover; }
.pp-m.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pp-info { border-left: 1px solid var(--riga); }
.pp-info-dentro { padding: 80px 79px 80px 80px; }
.sk-marca { display: block; font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.sk-nome { margin: 22px 0 0; font-family: var(--tit); font-size: 46px; line-height: 1.08; font-weight: 600; letter-spacing: -1.5px; }
.sk-prezzo { margin-top: 18px; }
.sk-prezzo b { font-size: 16px; line-height: 26px; font-weight: 600; }
.sk-desc { margin-top: 34px; max-width: 520px; }
.sk-nota { margin-top: 18px; font-size: 16px; line-height: 26px; font-weight: 600; color: var(--bruno); }
.sk-opz { margin-top: 40px; }
.sk-opz-nome { display: block; font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.sk-pillole { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.sk-pillola { display: inline-flex; align-items: center; height: 46px; padding: 0 18px 0 12px; border: 1px solid rgba(43, 36, 31, .2); border-radius: 30px; font-size: 14px; line-height: 14px; font-weight: 600; }
.sk-pillola i { width: 22px; height: 22px; border-radius: 30px; margin-right: 10px; border: 1px solid rgba(43, 36, 31, .25); }
.sk-pillola.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.sk-qta { display: flex; margin-top: 40px; height: 50px; max-width: 220px; }
.sk-qta button { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border: 1px solid rgba(43, 36, 31, .2); color: var(--ink); }
.sk-qta svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.sk-qta .q-giu.spento { color: #A0958B; }
.sk-qta input { flex: 1; min-width: 0; height: 50px; border: 1px solid rgba(43, 36, 31, .2); border-left: 0; border-right: 0; border-radius: 0; background: transparent; color: inherit; text-align: center; font: inherit; font-size: 16px; -moz-appearance: textfield; appearance: textfield; }
.sk-qta input::-webkit-outer-spin-button, .sk-qta input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sk-bottoni { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; max-width: 520px; }
.sk-bottoni .bottone { width: 100%; padding: 0 16px; }
.sk-vai { display: inline-flex; align-items: center; min-height: 44px; margin-top: 26px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.anche-testa { padding: 110px 40px 60px; text-align: center; }

/* ---------- catalogo ---------- */
.cat-testa { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 110px 40px 56px; text-align: center; }
.cat-testa .t-grande { margin: 16px 0 22px; }
.cat-testa p { max-width: 560px; }
.filtri { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 30px 56px; }
.filtro { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border: 1px solid rgba(43, 36, 31, .25); border-radius: 30px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: background .15s linear, color .15s linear; }
.filtro.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-conta { padding: 0 40px 22px; font-size: 14px; line-height: 22px; color: var(--tenue); text-align: center; }

/* =========================================================================
   Fra 1024 e 1439 px l'impaginazione del computer si stringe
   ========================================================================= */
@media (min-width: 1024px) and (max-width: 1439px) {
  .t-grande { font-size: clamp(48px, 4.72vw, 68px); }
  .t-due { font-size: clamp(36px, 3.2vw, 46px); }
  .ap-testo, .fs-dentro { padding-left: clamp(40px, 7vw, 101px); }
  .pa-voce { padding: 50px clamp(30px, 4.2vw, 60px) 50px clamp(36px, 5.55vw, 80px); }
  .pa-voce blockquote { font-size: clamp(22px, 1.9vw, 26px); }
  .pp-info-dentro { padding-left: clamp(36px, 5.55vw, 80px); padding-right: clamp(36px, 5.5vw, 79px); }
  .sk-nome { font-size: clamp(38px, 3.2vw, 46px); }
  .re-video { gap: clamp(16px, 2.8vw, 40px); padding-left: 24px; padding-right: 24px; }
  .telefono { width: clamp(200px, 18.3vw, 264px); }
  .sc-scheda { width: clamp(300px, 26.4vw, 380px); }
  .gruppo { grid-template-columns: 44px 44px; }
  .gruppo .c { width: 44px; height: 58px; font-size: 34px; line-height: 54px; }
  .cifre { gap: 9px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .sk-bottoni { grid-template-columns: 1fr; }
  .prod-dida { padding-left: 18px; padding-right: 66px; }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .sc-testa { padding-top: 60px; }
  .scaffale { height: 780px; }
}

/* =========================================================================
   TELEFONO (fino a 1023 px)
   ========================================================================= */
@media (max-width: 1023px) {
  body { font-size: 15px; line-height: 24px; transition: left .25s linear; }
  .t-grande { font-size: 40px; line-height: 1.06; letter-spacing: -.5px; }
  .t-due { font-size: 32px; line-height: 1.1; }
  .t-tre, .t-medio { font-size: 28px; line-height: 1.12; }
  .riga-su, .sotto-t { font-size: 12px; line-height: 18px; }
  .bottone { height: 48px; padding: 0 24px; }
  .freccia { display: none; }
  .solo-tel { display: block; }
  .solo-pc { display: none; }

  .annuncio { padding: 5px 16px; letter-spacing: .08em; }
  .testata { height: 71px; padding: 0 8px 0 18px; }
  .logo { font-size: 25px; letter-spacing: .26em; }
  .icone { gap: 0; }

  /* apertura: carosello a scatto, il testo nel terzo basso della foto sopra la sfumatura */
  .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); min-height: 430px; scroll-snap-align: start; }
  .ap-testo { position: relative; z-index: 4; height: 100%; align-items: center; justify-content: flex-end; padding: 0 26px 34px; background: none; border: 0; color: #fff; text-align: center; text-shadow: 0 1px 14px rgba(30, 22, 18, .6); }
  .ap-testo .riga-su { margin-bottom: 10px; }
  .ap-testo .t-grande { margin-bottom: 20px; }
  .ap-testo .bottone { background: var(--bianco); color: var(--ink); text-shadow: none; }
  .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%; min-height: 0; }
  .ap-fisso::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: var(--sfuma); pointer-events: none; }
  .ap-velo { opacity: 0 !important; }
  .car-barra { position: relative; display: flex; align-items: center; height: 60px; padding: 0 7px 0 18px; border-top: 1px solid var(--riga); }
  .car-indice { flex: 1; font-size: 14px; line-height: 22px; }
  .car-indice b { font-weight: 600; }
  .car-indice .sb { margin: 0 4px; }
  .car-freccia { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 100%; color: var(--ink); }
  .car-freccia svg { width: 17px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .car-freccia.spento { color: #B5AAA0; }

  /* colore */

  /* griglia */
  .griglia-prod { grid-template-columns: 1fr 1fr; }
  .gp-titolo { min-height: 260px; padding: 24px 14px; }
  .gp-titolo .sotto { font-size: 14px; }
  .prod-dida { min-height: 92px; padding: 16px 58px 16px 14px; }
  .prod-nome { font-size: 18px; line-height: 22px; }
  .prod-agg { right: 5px; bottom: 16px; }
  .gp-tutti { min-height: 200px; }
  .gp-tutti .bottone { width: calc(100% - 4px); padding: 0 10px; }

  /* scaffale */
  .scaffale { height: auto; padding-bottom: 0; }
  .sc-testa { padding: 64px 22px 0; }
  .sc-fila { position: relative; flex-wrap: wrap; row-gap: 26px; padding: 44px 6px 0; }
  .sc-posto { flex: none; width: 33.33%; max-width: 190px; }
  .sc-pezzo img { height: 104px; }
  .sc-base { width: 100px; height: 92px; padding: 18px 4px 0; }
  .sc-posto:nth-child(n+4) .sc-base { height: 150px; }
  .sc-nome { max-width: 92px; letter-spacing: .06em; }
  .sc-luce { bottom: 88px; width: 130px; height: 250px; margin-left: -65px; }
  .sc-posto:nth-child(n+4) .sc-luce { bottom: 146px; height: 210px; }
  .sc-scheda { left: 18px; right: 18px; top: auto; bottom: 22px; width: auto; transform: none; padding: 20px 20px 10px; border-radius: 14px; background: rgba(30, 22, 18, .92); border: 1px solid var(--riga-c); text-align: center; }
  .sc-scheda .t-due { margin: 6px 0 8px; font-size: 28px; }
  .sc-scheda p { font-size: 14px; line-height: 22px; }
  .sc-bottoni { justify-content: center; gap: 10px; margin-top: 16px; }
  .sc-bottoni .bottone { flex: 1 1 100%; }
  .sc-chiudi { margin-top: 4px; }


  /* reel */
  .reel { display: block; }
  .fs-dentro { height: auto; align-items: center; padding: 70px 26px 10px; text-align: center; }
  .fs-dentro .bottone { margin-top: 26px; }
  .re-video { gap: 14px; padding: 44px 16px 70px; border-left: 0; }
  .telefono { flex: 1 1 0; width: auto; max-width: 240px; min-width: 0; }
  .telefono:nth-child(2) { margin-top: 36px; }
  .tl-vetro { border-width: 5px; border-radius: 24px; }
  .tl-via { display: flex; }
  .telefono figcaption { margin-top: 10px; }

  /* natale */
  .natale { display: block; }
  .nt-foto { padding: 40px 26px 0; background: var(--ink); }
  .nt-foto img { max-width: min(100%, 420px); max-height: none; }
  .nt-testo { padding: 44px 20px 60px; }
  .cifre { gap: 8px; margin: 30px 0 28px; }
  .gruppo { grid-template-columns: 36px 36px; }
  .gruppo .c { width: 36px; height: 50px; font-size: 28px; line-height: 46px; }
  .gruppo small { margin-top: 10px; font-size: 12px; letter-spacing: .04em; }
  .nt-giu { font-size: 17px; line-height: 26px; margin-bottom: 24px; }

  /* parole e nastro */
  .parole { display: block; }
  .pa-sx .fs-dentro { position: relative; height: auto; min-height: 0; max-height: none; padding: 70px 26px 40px; }
  .pa-binario { border-left: 0; border-top: 1px solid var(--riga-c); }
  .pa-voce { min-height: 0; padding: 36px 26px; text-align: center; }
  .pa-voce blockquote { font-size: 21px; }
  .pa-voce figcaption { margin-top: 12px; }
  .nastro { height: 150px; }
  .na-fila a { width: 150px; height: 150px; }

  /* confezioni */
  .cf-testa { padding: 70px 22px 40px; }
  .due-meta { grid-template-columns: 1fr; }
  .dm-box { padding: 0 22px 30px; }

  .servizi { grid-template-columns: 1fr; row-gap: 46px; padding: 70px 30px; }
  .se-col { max-width: 420px; margin: 0 auto; }
  .se-col svg { margin-bottom: 20px; }
  .se-fine { margin-top: 0; }
  .se-fine .bottone { width: 100%; max-width: 420px; }

  footer.piede { padding: 70px 18px 0; }
  .pi-su { display: block; }
  .pi-col { margin-bottom: 44px; }
  .pi-missione p { font-size: 26px; line-height: 32px; }
  .pi-col > a, .pi-col > button { min-height: 44px; }
  .pi-nome { margin: 10px -18px 0; }
  .pi-giu { display: block; margin-top: 22px; padding: 20px 0 26px; }
  .pi-giu span { display: block; }

  .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: 34px 25px; }
  .me-grandi a { font-size: 30px; line-height: 48px; }
  .me-piccoli { margin-top: 26px; }
  .me-piccoli a { line-height: 44px; }
  .me-cartolina { height: 220px; margin-top: 30px; }
  .ce-campo, .ce-esiti { padding-left: 25px; padding-right: 25px; }
  .ri-corpo { padding: 23px 25px 40px; }

  /* scheda al telefono */
  .briciole { min-height: 44px; padding: 0 18px; font-size: 13px; line-height: 20px; }
  .briciole span { margin: 0 8px; }
  .pp { display: block; }
  .pp-testa-tel { display: block; padding: 24px 18px 22px; border-bottom: 1px solid var(--riga); }
  .pp-testa-tel .sk-nome { margin-top: 10px; font-size: 38px; }
  .pp-testa-tel .sk-prezzo { margin-top: 8px; }
  .pp-dentro { position: relative; height: auto; min-height: 0; max-height: none; }
  .pp-binario { height: min(104vw, 70vh); }
  .pp-foto { padding: 18px 18px 86px; }
  .pp-foto.sola { padding-bottom: 18px; }
  .pp-foto img { border-radius: 12px; }
  .pp-mini { bottom: 14px; }
  .pp-m { width: 56px; height: 56px; }
  .pp-info { border-left: 0; }
  .pp-info-dentro { padding: 30px 18px 50px; }
  .pp-info-dentro .sk-marca, .pp-info-dentro .sk-nome, .pp-info-dentro .sk-prezzo { display: none; }
  .pp-info-dentro .sk-desc { margin-top: 0; }
  .sk-opz { margin-top: 30px; }
  .sk-qta { margin-top: 30px; }
  .sk-bottoni { grid-template-columns: 1fr; gap: 12px; }
  .anche-testa { padding: 64px 22px 36px; }

  .cat-testa { padding: 64px 22px 36px; }
  .filtri { gap: 8px; padding: 0 12px 36px; }
  .filtro { height: 44px; padding: 0 16px; font-size: 12px; }
}
@media (max-width: 380px) {
  .cassetto { width: 100%; }
  html.cassetto-aperto body { left: -100vw; }
  .logo { font-size: 22px; letter-spacing: .2em; }
}
/* telefono basso (390x664 e simili): il carosello del colore si stringe per stare in uno schermo */
@media (max-width: 1023px) and (max-height: 700px) {
}
/* da 600 a 1023 px (tablet): impaginazione del telefono, piu' larga */
@media (min-width: 600px) and (max-width: 1023px) {
  .griglia-prod { grid-template-columns: repeat(3, 1fr); }
  .due-meta { grid-template-columns: 1fr 1fr; }
  .dm-testo .t-due { font-size: 26px; }
  .ap-fisso img { object-position: 50% 40%; }
  .sc-posto { width: 20%; }
  .sc-posto:nth-child(n+4) .sc-base { height: 92px; }
  .sc-posto:nth-child(n+4) .sc-luce { bottom: 88px; height: 250px; }
  .sc-fila { padding-top: 120px; }
  .sc-scheda { left: 50%; right: auto; width: 440px; margin-left: -220px; }
  .re-video { gap: 40px; }
  .servizi { grid-template-columns: repeat(3, 1fr); column-gap: 24px; padding: 80px 24px; }
  .pp-binario { height: min(80vw, 66vh); }
  .pa-voce blockquote { font-size: 48px; }
  .pi-su { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
  .pi-missione { grid-column: 1 / -1; }
  .pi-missione p { max-width: none; }
}

@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; letter-spacing: .06em; }
.foglio .torna svg { width: 16px; height: 16px; }
.foglio .occhiello { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.foglio h1 { font-family: var(--tit); font-size: clamp(40px, 7vw, 64px); line-height: 1.06; font-weight: 400; letter-spacing: -1px; margin: 10px 0 26px; }
.foglio h1 em { font-style: italic; }
.carta-legale h2 { font-family: var(--tit); font-size: 28px; line-height: 1.2; font-weight: 400; margin: 38px 0 12px; }
.carta-legale h2 .num { font-family: var(--txt); font-size: 14px; font-weight: 600; color: var(--tenue); 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; overflow-wrap: anywhere; }
.carta-legale .sommario { font-size: 18px; }
.carta-legale .aggiornata { font-size: 14px; opacity: .75; }
.carta-legale .scheda { padding: 16px 18px; background: var(--pannello); border-left: 3px solid var(--ink); 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 var(--ink); 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; }
.piede-legale .voci { display: flex; gap: 20px; }
#lg-banner .lg-bottoni button, #lg-banner #lg-salva { border-radius: 30px; font-family: 'Montserrat', sans-serif; font-weight: 600; letter-spacing: .02em; }
@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; }
}

/* =========================================================================
   BREMAWOOD · pezzi della linea Split (riga di testo, guarda dentro, chi e', modulo, bottone fisso) e pezzi nuovi
   ========================================================================= */
.annuncio { background: var(--scuro); color: var(--sabbia); }
.ico-wa { width: auto; height: 42px; margin: 0 8px 0 4px; padding: 0 16px 0 11px; gap: 8px; border-radius: 30px; background: var(--vino); color: #fff; }
.ico-wa svg { width: 22px; height: 22px; stroke-width: 1.6; }
.ico-wa-t { font-size: 13px; line-height: 1; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.bottone.vino { background: var(--vino); color: #fff; }
.scaffale .sc-pezzo img { height: var(--h, 200px); }

/* riga di testo */
.riga-testo { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 496px; padding: 150px 80px 158px; text-align: center; border-top: 1px solid var(--riga); }
.riga-testo.corta { min-height: 380px; padding: 130px 80px; }
.riga-testo .t-due { max-width: 680px; margin-bottom: 30px; }
.riga-testo p { max-width: 620px; margin-bottom: 34px; }
.riga-testo.corta p { margin-bottom: 0; }

/* due meta': come Split, foto alta e testo in basso */
.due-meta .dm-box { aspect-ratio: auto; height: 900px; }
.dm-testo .t-due { margin: 12px 0 26px; }

/* il video: uno solo, grande, accanto al titolo */
.reel { border-top: 1px solid var(--riga); }
.reel .fs-dentro .t-grande { max-width: 560px; }
.re-video { align-items: center; padding: 90px 40px; }
.telefono.uno { width: 340px; max-width: 340px; }

/* guarda dentro (lo shop the look di Split): foto ferma coi punti a sinistra, schede a destra */
.look { position: relative; display: grid; grid-template-columns: 50% 50%; height: 976px; overflow: clip; border-top: 1px solid var(--riga); }
.look-foto { position: sticky; top: -1px; height: 900px; overflow: hidden; background: var(--pannello); }
.look-foto img { width: 100%; height: 100%; object-fit: cover; }
.lk-punto { position: absolute; z-index: 2; width: 48px; height: 48px; margin: -24px 0 0 -24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.lk-punto i { position: relative; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 7px rgba(255, 255, 255, .38), 0 2px 10px rgba(0, 0, 0, .35); transition: transform .2s var(--curva); }
.lk-punto i::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .2s var(--curva); }
.lk-punto.on i { transform: scale(1.18); }
.lk-punto.on i::after { transform: scale(1); }
@media (hover: hover) { .lk-punto:hover i { transform: scale(1.18); } }
.look-destra { position: relative; min-width: 0; padding-top: 130px; border-left: 1px solid var(--riga); }
.look-binario { display: flex; gap: 40px; padding: 0 80px; scroll-padding-left: 80px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; cursor: grab; }
.look-scheda { flex: none; width: 475px; height: 670px; border: 1px solid var(--riga); scroll-snap-align: start; transition: border-color .2s linear; }
.look-scheda.on { border-color: var(--ink); }
.look-scheda .prod-foto { aspect-ratio: auto; height: 568px; }
.look-scheda .prod-dida { min-height: 0; height: 100px; padding: 26px 80px 0 25px; }
.look-scheda .prod-agg { bottom: 26px; right: 10px; }
.look .puntini { margin-top: 39px; }

/* chi e' */
.conosci { display: grid; grid-template-columns: 50% 50%; height: 900px; background: var(--scuro); color: var(--chiaro); }
.cn-foto { position: relative; display: flex; align-items: flex-end; padding: 0 0 90px 101px; overflow: hidden; }
.cn-foto .sfondo, .cn-foto .sfondo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cn-foto .sfondo img { object-fit: cover; }
.cn-foto .sfondo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: var(--sfuma); pointer-events: none; }
.cn-titolo { position: relative; color: var(--chiaro); text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
.cn-titolo .t-grande { margin-bottom: 30px; }
.cn-titolo .bottone { text-shadow: none; }
.cn-testo { display: flex; flex-direction: column; justify-content: center; padding: 80px 79px 80px 80px; }
.cn-testo .t-tre { margin-bottom: 30px; color: var(--sabbia); }
.cn-testo p { max-width: 560px; color: #EFE9E1; }
.cn-testo p + p { margin-top: 22px; }

/* la stampa: iniziali nel tondo */
.avatar { display: flex; align-items: center; justify-content: center; width: 70px; height: 70px; border-radius: 100%; margin-bottom: 34px; background: rgba(202, 186, 160, .14); color: var(--sabbia); font-size: 21px; line-height: 1; font-weight: 600; letter-spacing: .03em; }
.pa-voce figcaption { color: var(--sabbia); }
.pa-fonte { display: inline-flex; align-items: center; min-height: 44px; margin-left: 14px; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.pa-sx p { color: #E5DCCF; }

/* le essenze, nella forma del conto alla rovescia */
.essenze { background: var(--scuro); }
.essenze .nt-foto { padding: 80px 0 80px 40px; background: var(--scuro); }
.essenze .nt-foto img { max-width: 100%; max-height: none; border-radius: 12px; }
.es-sotto { max-width: 420px; margin-top: 18px; font-size: 15px; line-height: 24px; color: #E5DCCF; }
.es-tasselli { gap: 14px; margin: 36px 0 30px; }
.es-tassello { margin: 0; width: 132px; }
.es-tassello img { width: 132px; height: 132px; border-radius: 10px; object-fit: cover; }
.es-tassello figcaption { margin-top: 10px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sabbia); }
.essenze .nt-giu { max-width: 440px; }

/* servizi e modulo */
.servizi { background: var(--bruno); }
.se-col p { color: #F1EAE0; }
.prenota { padding: 130px max(40px, calc(50vw - 360px)) 120px; background: var(--scuro); color: #fff; text-align: center; }
.prenota .t-tre { margin-bottom: 30px; }
.pv-form { display: flex; height: 54px; margin-bottom: 26px; }
.pv-form input { flex: 1; min-width: 0; height: 54px; padding: 0 22px; border: 1px solid #fff; border-right: 0; border-radius: 30px 0 0 30px; background: transparent; color: #fff; font: inherit; font-size: 15px; }
.pv-form input::placeholder { color: #fff; opacity: .9; }
.pv-form .bottone { width: 130px; padding: 0; border-radius: 0 30px 30px 0; }
.prenota p { font-size: 14px; color: var(--sabbia); }

/* piede */
footer.piede .pi-h { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; color: var(--sabbia); }
.pi-missione .pi-sotto { margin-top: 14px; max-width: 380px; font-size: 14px; line-height: 22px; color: var(--chiaro3); }
.pi-nome { margin: 80px 0 0; font-size: 0; line-height: 0; }
.pi-nome img { width: 100%; max-width: 980px; height: auto; margin: 0 auto; opacity: .92; }
.pi-giu a { text-decoration: underline; text-underline-offset: 3px; }

/* il bottone fisso di WhatsApp, in basso a destra */
.wa-fisso { position: fixed; right: 24px; bottom: 24px; z-index: 80; display: inline-flex; align-items: center; gap: 11px; height: 50px; padding: 0 22px 0 7px;
  border-radius: 30px; background: var(--vino); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 10px 26px -10px rgba(30, 22, 18, .6); transition: opacity .2s linear, visibility 0s; }
.wa-fisso i { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; }
.wa-fisso svg { width: 20px; height: 20px; fill: none; stroke: var(--vino); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wa-fisso.via, html.cassetto-aperto .wa-fisso, html.lg-aperto .wa-fisso { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s linear, visibility 0s .2s; }

/* pagine dei lavori */
.pp-quanti { margin-top: 18px; font-size: 14px; line-height: 22px; color: var(--tenue); max-width: 520px; }
.sk-post { list-style: none; margin: 16px 0 0; padding: 0; }
.sk-post .sk-vai { margin-top: 0; }

@media (min-width: 1024px) and (max-width: 1439px) {
  .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))); height: auto; }
  .look-scheda .prod-foto { height: auto; aspect-ratio: 475 / 568; }
  .look { height: auto; min-height: 900px; padding-bottom: 60px; }
  .cn-foto { padding-left: clamp(40px, 7vw, 101px); }
  .cn-testo { padding: 60px clamp(36px, 5.5vw, 79px) 60px clamp(36px, 5.55vw, 80px); }
  .es-tassello, .es-tassello img { width: clamp(96px, 9vw, 132px); height: auto; }
  .es-tassello img { height: clamp(96px, 9vw, 132px); }
  .telefono.uno { width: clamp(270px, 24vw, 340px); }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .look-foto { height: 100vh; }
  .look { height: auto; }
  .look-destra { padding-top: 90px; padding-bottom: 50px; }
  .conosci { height: auto; min-height: 100vh; }
  .cn-foto { min-height: 100vh; }
  .due-meta .dm-box { height: 100vh; min-height: 640px; }
}

@media (max-width: 1023px) {
  .ico-wa { width: 44px; height: 40px; margin: 0 2px; padding: 0; }
  .ico-wa-t { display: none; }
  .logo img { width: 104px; }
  .riga-testo { min-height: 0; padding: 66px 26px 70px; }
  .riga-testo.corta { min-height: 0; padding: 60px 26px 44px; }
  .riga-testo .t-due { margin-bottom: 18px; }
  .riga-testo p { margin-bottom: 24px; }
  .due-meta .dm-box { height: 506px; }
  .re-video { padding: 40px 16px 64px; }
  .telefono.uno { flex: none; width: min(72vw, 300px); max-width: 300px; }
  .look { display: block; height: auto; overflow: visible; }
  .look-foto { position: relative; height: auto; aspect-ratio: 864 / 1080; max-height: 80vh; }
  .look-destra { padding-top: 0; border-left: 0; }
  .look-binario { gap: 0; padding: 0; scroll-padding-left: 0; }
  .look-scheda { width: 76vw; max-width: 312px; height: auto; border-width: 1px 1px 1px 0; }
  .look-scheda .prod-foto { height: auto; aspect-ratio: 475 / 568; }
  .look-scheda .prod-dida { height: auto; min-height: 92px; padding: 18px 60px 16px 16px; }
  .look .puntini { display: flex; align-items: center; height: 47px; margin: 0; padding: 0; border-top: 1px solid var(--riga); }
  .conosci { display: block; height: auto; }
  .cn-foto { height: 440px; justify-content: center; align-items: flex-end; padding: 0 22px 34px; text-align: center; }
  .cn-foto .sfondo img { object-position: 50% 30%; }
  .cn-titolo { display: flex; flex-direction: column; align-items: center; }
  .cn-titolo .t-grande { margin-bottom: 20px; }
  .cn-testo { padding: 50px 24px 56px; }
  .cn-testo .t-tre { margin-bottom: 20px; }
  .avatar { width: 56px; height: 56px; margin: 0 auto 18px; font-size: 18px; }
  .pa-fonte { margin-left: 10px; }
  .essenze .nt-foto { padding: 40px 16px 0; }
  .essenze .nt-foto img { max-width: 100%; }
  .es-tasselli { gap: 10px; margin: 26px 0 22px; justify-content: center; }
  .es-tassello { width: 28vw; max-width: 120px; }
  .es-tassello img { width: 100%; height: auto; aspect-ratio: 1; }
  .prenota { padding: 60px 18px 64px; }
  .prenota .t-tre { margin-bottom: 20px; }
  .pv-form { flex-direction: column; height: auto; gap: 12px; margin-bottom: 18px; }
  .pv-form input { flex: none; height: 48px; border-right: 1px solid #fff; border-radius: 30px; }
  .pv-form .bottone { width: 100%; height: 48px; border-radius: 30px; }
  .pi-nome { margin: 30px 0 0; }
  .wa-fisso { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); height: 46px; gap: 9px; padding: 0 16px 0 5px; font-size: 12px; }
  .scaffale .sc-pezzo img { height: calc(var(--h, 200px) * .5); }
  .pi-giu span + span { margin-top: 10px; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .cn-foto { height: 520px; }
  .look-foto { max-height: 70vh; margin: 0 auto; }
  .due-meta .dm-box { height: 600px; }
}

/* ---------- le botti in vetrina (Split «prodotto in vetrina»): foto una sotto l'altra a sinistra, scheda ferma a destra ---------- */
.vetrina { display: grid; grid-template-columns: 50% 50%; border-top: 1px solid var(--riga); }
.vt-galleria { position: relative; }
.vt-binario { display: flex; flex-direction: column; overflow: visible; }
.vt-foto { position: relative; flex: none; display: flex; align-items: center; justify-content: center; height: 765px; padding: 40px; background: var(--pannello); }
.vt-foto + .vt-foto { border-top: 1px solid #fff; }
.vt-foto img { width: auto; height: auto; max-width: min(100%, var(--mw, 520px)); max-height: 100%; border-radius: 12px; }
.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: #fff; pointer-events: auto; }
.vt-pillola i { width: 7px; height: 7px; border-radius: 7px; background: var(--ink); opacity: .28; cursor: pointer; transition: .1s linear; }
.vt-pillola i.on { height: 25px; opacity: 1; }
.vt-barra { display: none; }
.vt-info { position: relative; border-left: 1px solid var(--riga); }
.vt-dentro { position: sticky; top: min(-21px, calc(100vh - var(--vt-fine, 870px))); padding: 80px 79px 79px 80px; }
.vt-dentro .sk-nome { max-width: 560px; }
@media (min-width: 1024px) and (max-width: 1439px) {
  .vt-dentro { padding-left: clamp(36px, 5.55vw, 80px); padding-right: clamp(36px, 5.5vw, 79px); }
  .vt-foto { height: min(765px, 100vh); }
}
@media (max-width: 1023px) {
  .vetrina { display: block; }
  .vt-binario { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; }
  .vt-foto { width: 100%; height: 420px; padding: 24px; scroll-snap-align: start; }
  .vt-foto + .vt-foto { border-top: 0; }
  .vt-foto img { max-width: min(100%, 340px); }
  .vt-puntini { display: none; }
  .vt-barra { position: relative; display: flex; align-items: center; 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-info { border-left: 0; }
  .vt-dentro { position: relative; top: 0; padding: 30px 24px 50px; }
  .vt-dentro .sk-nome { font-size: 32px; }
}
@media (min-width: 600px) and (max-width: 1023px) { .vt-foto { height: min(62vw, 70vh); } }

/* il bottone fisso di WhatsApp: un tondo vino che resta nel margine, mai sopra le scritte */
.wa-fisso { width: 58px; height: 58px; padding: 0; justify-content: center; gap: 0; border-radius: 50%; }
.wa-fisso span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wa-fisso i { width: 58px; height: 58px; background: none; }
.wa-fisso svg { width: 28px; height: 28px; stroke: #fff; }
@media (max-width: 1023px) { .wa-fisso { width: 50px; height: 50px; padding: 0; } .wa-fisso i { width: 50px; height: 50px; } .wa-fisso svg { width: 25px; height: 25px; } }

/* la testata resta in alto mentre si scorre: il bottone di WhatsApp in alto a destra si vede sempre e non copre niente */
.testata { position: sticky; top: 0; z-index: 40; }
main [id], footer[id] { scroll-margin-top: 100px; }
@media (max-width: 1023px) { main [id], footer[id] { scroll-margin-top: 76px; } }
.annuncio .solo-pc { display: inline; }
@media (max-width: 1023px) { .annuncio .solo-pc { display: none; } }
@media (max-width: 1023px) { .cn-foto { height: 520px; } .cn-foto .sfondo img { object-position: 50% 0; } .cn-foto .sfondo::after { height: 38%; } }
/* al telefono il titolo «Chi è Maurizio» sta sotto la foto, mai sul viso */
@media (max-width: 1023px) { .cn-foto { display: block; height: auto; padding: 0; text-align: center; } .cn-foto .sfondo { position: relative; display: block; height: 430px; } .cn-foto .sfondo::after { display: none; } .cn-titolo { padding: 40px 22px 0; text-shadow: none; } .cn-testo { padding-top: 34px; } }
@media (min-width: 600px) and (max-width: 1023px) { .cn-foto .sfondo { height: 560px; } }
/* le colonne ferme si fermano sotto la testata, non dietro */
@media (min-width: 1024px) { .vt-dentro { top: min(94px, calc(100vh - var(--vt-fine, 870px))); } .look-foto { top: 93px; height: calc(100vh - 93px); max-height: 900px; } .pa-sx .fs-dentro { top: 93px; height: calc(100vh - 93px); } }

/* =========================================================================
   SECONDO GIRO (giudice esterno, 3/12): fondi bianchi, video quadrato, guarda dentro a testo, vetrina corta, finale alternato
   ========================================================================= */
.ap-testo { border-top: 0; }
@media (min-width: 1024px) { .ap-testo { background: #fff; } }
.ap-foto, .ap-fisso { background: #fff; }
.reel { background: #fff; }
.quadro { margin: 0; width: min(100%, 600px); }
.quadro .tl-vetro { position: relative; display: block; aspect-ratio: 720 / 536; overflow: hidden; border-radius: 12px; background: var(--pannello) center / cover no-repeat; }
.quadro video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ce-campo::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.cn-foto .sfondo img { object-position: 50% 12%; }

/* guarda dentro: la foto coi punti e accanto quattro voci di solo testo */
.look { height: auto; }
.look-foto { height: calc(100vh - 93px); max-height: 900px; min-height: 560px; }
.look-destra { display: flex; flex-direction: column; justify-content: center; padding: 80px 79px 80px 80px; }
.lk-lista { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--riga); }
.lk-voce { position: relative; display: grid; grid-template-columns: 1fr auto 50px; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--riga); }
.lk-nome { display: flex; align-items: center; gap: 20px; text-align: left; }
.lk-num { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--riga); font-size: 13px; font-weight: 600; transition: .2s linear; }
.lk-nome b { display: block; font-size: 20px; line-height: 26px; font-weight: 600; }
.lk-nome small { display: block; margin-top: 2px; font-size: 14px; line-height: 20px; color: var(--tenue); }
.lk-vai { font-size: 13px; font-weight: 600; white-space: nowrap; }
.lk-voce .prod-agg { position: relative; right: auto; bottom: auto; }
.lk-voce.on .lk-num { background: var(--ink); border-color: var(--ink); color: #fff; }

/* le botti in vetrina: una foto grande e due piccole, due schermate */
.vt-grande img { max-width: min(100%, 900px); }
.vt-coppia { gap: 24px; }
.vt-coppia img { max-width: min(46%, 300px); }

/* finale come Split: essenze scure, nastro, servizi su bianco, preventivo e piede scuri attaccati */
.servizi { background: #fff; color: var(--ink); border-top: 1px solid var(--riga); }
.se-col svg { stroke: var(--bruno); }
.se-col p { color: var(--tenue); }
.prenota { padding-top: 90px; padding-bottom: 50px; }
footer.piede { padding-top: 60px; border-top: 1px solid var(--riga-c); }

@media (max-width: 1023px) {
  .quadro { width: 100%; }
  .re-video { padding: 30px 16px 56px; }
  .look-foto { height: auto; min-height: 0; max-height: 80vh; }
  .look-destra { padding: 34px 20px 44px; }
  .lk-voce { grid-template-columns: 1fr 44px; gap: 8px; padding: 16px 0; }
  .lk-vai { grid-column: 1; grid-row: 2; padding-left: 56px; }
  .lk-voce .prod-agg { grid-column: 2; grid-row: 1 / span 2; }
  .lk-nome { gap: 16px; }
  .lk-nome b { font-size: 17px; line-height: 22px; }
  .vt-foto.vt-grande { height: auto; padding: 24px 16px; }
  .vt-foto.vt-coppia { height: auto; padding: 0 16px 24px; }
  .vt-binario { flex-direction: column; overflow: visible; }
  .vt-foto { width: auto; }
  .vt-barra { display: none; }
  .servizi { padding-top: 60px; padding-bottom: 60px; }
  .prenota { padding-top: 56px; padding-bottom: 36px; }
  footer.piede { padding-top: 44px; }
}

/* apertura al computer: ogni diapositiva e' alta quanto lo schermo sotto la testata, la foto la riempie tutta */
@media (min-width: 1024px) {
  .ap-dia { height: calc(100vh - 93px); min-height: 520px; }
  .ap-fisso { height: calc(100vh - 93px); min-height: 520px; }
  .apertura.attiva .ap-taglio { top: var(--hdr, 93px); }
}
