/* Grafica di calendari e collage: condivisa fra la pagina ordini (anteprime)
   e il pannello del negozio (foglio da stampare a grandezza vera). Tutte le
   misure sono in cqw, percentuali della larghezza della pagina: la stessa
   grafica vale a qualunque dimensione. */
.cal{container-type:inline-size;width:100%}
.pg{position:relative;overflow:hidden;width:100%;background:var(--bg,#fff);color:var(--ink,#222);font-family:var(--fb,Inter),sans-serif;display:flex;flex-direction:column;gap:2.4cqw;padding:var(--pad,5cqw);box-shadow:0 1px 2px rgba(0,0,0,.15),0 10px 24px -14px rgba(0,0,0,.55);text-align:left}
.pg .deco{position:absolute;pointer-events:none;z-index:0}
.cz-titolo{position:relative;z-index:2;font-family:var(--ft,Inter),serif;font-size:var(--ts,7cqw);font-weight:var(--tw,700);line-height:.95;color:var(--tc,inherit);text-align:var(--ta,left);letter-spacing:var(--tl,0);margin-bottom:var(--tmb,0)}
.cz-foto{position:relative;z-index:1;flex:0 1 var(--fh,46%);display:grid;grid-template-columns:repeat(var(--nf,1),1fr);gap:2.6cqw;min-height:0}
.slot{display:block;position:relative;width:100%;height:100%;border:0;padding:0;background:#d9d2c4 center/cover no-repeat;border-radius:var(--fr,0);color:inherit}
/* la foto del riquadro con la sua inquadratura (vedi stileFotoRiquadro) */
.slot-foto{position:absolute;inset:0;display:block;overflow:hidden;border-radius:inherit}
.slot-foto img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}
button.slot.con-foto{touch-action:none;cursor:grab}
.slot em{position:absolute;inset:0;display:grid;place-items:center;font:600 4cqw Inter;font-style:normal;color:#6f655b;border:.5cqw dashed #a99d8a;border-radius:inherit;background:rgba(255,255,255,.45)}
button.slot{cursor:pointer}
button.slot:focus-visible{outline:.8cqw solid #C9A227}
.cz-mesi{position:relative;z-index:2;flex:1 0 auto;display:grid;grid-template-columns:repeat(var(--cols,4),1fr);gap:var(--mg,2cqw 3cqw);align-content:space-evenly;min-height:0;color:var(--mink,inherit)}
.mese{background:var(--mb,transparent);color:var(--mi,inherit);padding:var(--mp,0);border-radius:var(--mr,0)}
.mese h4{font-family:var(--fm,inherit),sans-serif;font-weight:var(--mw,700);font-size:var(--mh,2.5cqw);line-height:1.1;margin-bottom:.7cqw;text-transform:var(--mt,none);letter-spacing:var(--ml,0);color:var(--mc,inherit);text-align:var(--ma,left)}
.gg{display:grid;grid-template-columns:repeat(7,1fr);font-size:var(--gs,1.5cqw);line-height:1.55;text-align:center;font-variant-numeric:tabular-nums}
.gg i{font-style:normal;font-weight:700;opacity:.5}
.gg .f{color:var(--acc,#c0392b);font-weight:700}
.tre{--cols:3;--mh:2.9cqw;--gs:1.62cqw;--mg:1.6cqw 3cqw}
.tre .gg{line-height:1.42}
.l-piena .cz-foto{position:absolute;inset:0;flex:none;--fr:0}
.l-piena{justify-content:flex-end}
.l-piena .pannello{position:relative;z-index:2;background:var(--pan);padding:3.6cqw;display:flex;flex-direction:column;gap:2cqw}
.l-piena .cz-mesi{flex:none}
.carta .cz-mesi{background:var(--pan,#fffdf6);padding:3cqw;box-shadow:0 .4cqw 1.6cqw rgba(0,0,0,.35)}

/* foto: cornici */
.cz-foto.bordo .slot{border:1.8cqw solid #fff;box-shadow:0 1cqw 2.4cqw rgba(0,0,0,.35);transform:rotate(-1.2deg)}
.cz-foto.legno .slot{border:2.2cqw solid #8a5a2b;box-shadow:inset 0 0 0 .5cqw #6b431c,0 1cqw 2cqw rgba(0,0,0,.4)}
.cz-foto.pol .slot{border:1.8cqw solid #fff;border-bottom-width:7cqw;box-shadow:0 1cqw 2.4cqw rgba(0,0,0,.3)}
.cz-foto.pol .slot:nth-child(1){transform:rotate(-3deg)}
.cz-foto.pol .slot:nth-child(2){transform:rotate(2.5deg)}
.cz-foto.con-nastro .slot:before{content:"";position:absolute;z-index:2;top:-3cqw;left:50%;width:16cqw;height:5cqw;margin-left:-8cqw;background:rgba(236,220,170,.85);transform:rotate(-4deg)}
.cz-foto.con-puntina .slot:before{content:"";position:absolute;z-index:2;top:-1.6cqw;left:50%;width:3.6cqw;height:3.6cqw;margin-left:-1.8cqw;border-radius:50%;background:radial-gradient(circle at 35% 35%,#ff8a80,#c62828);box-shadow:0 .6cqw .8cqw rgba(0,0,0,.4)}
.cz-foto.arco .slot{border-radius:50cqw 50cqw 1cqw 1cqw}
.cz-foto.tondo{justify-items:center}
.cz-foto.tondo .slot{width:auto;aspect-ratio:1;border-radius:50%}

/* ---- i 23 calendari ---- */
.t-bianco{--bg:#fff;--ink:#1d1d1d;--pad:6cqw;--fh:50%;--ts:3.6cqw;--tw:600;--tl:1.6cqw;--ta:right;--mt:uppercase;--mh:2cqw;--ml:.35cqw;--acc:#c0392b}
.t-notte{--ink:#f2f2f2;--pan:rgba(12,12,16,.84);--ft:"Bebas Neue";--ts:12cqw;--tw:400;--tl:.8cqw;--mc:#f5b041;--acc:#f5b041;--mt:uppercase;--mh:2.3cqw;--ml:.3cqw}
.t-respiri{--bg:#f3f2ee;--ink:#2b2b2b;--ft:"DM Serif Display";--ts:9cqw;--tw:400;--fh:40%;--fm:"DM Serif Display";--mw:400;--mh:3cqw;--acc:#b23a2a}
.t-rivista{--bg:#faf8f3;--ink:#161616;--ft:"DM Serif Display";--ts:26cqw;--tw:400;--tmb:-12cqw;--fh:36%;--tl:-1cqw;--fm:"DM Serif Display";--mw:400;--acc:#b23a2a}
.t-rivista .cz-titolo{color:#161616;mix-blend-mode:multiply;padding-left:1cqw}
.t-rivista .cz-foto{margin-left:14cqw}
.t-baita{--bg:#5c3d24;--ink:#3b2a1a;--ft:Caveat;--ts:15cqw;--tw:600;--tc:#f3e3c3;--ta:center;--fh:42%;--pan:#efe2c6;--fm:Caveat;--mh:3.4cqw;--acc:#8b2d1a;
  background-image:repeating-linear-gradient(0deg,rgba(0,0,0,.18) 0 .3cqw,transparent .3cqw 9cqw),repeating-linear-gradient(90deg,rgba(255,255,255,.04) 0 2cqw,transparent 2cqw 5cqw)}
.t-kraft{--bg:#c9a87a;--ink:#2f2416;--ft:Caveat;--ts:14cqw;--ta:center;--fh:44%;--fm:Caveat;--mh:3.6cqw;--mw:600;--acc:#8b1e1e;background-image:radial-gradient(rgba(80,50,20,.18) .25cqw,transparent .3cqw);background-size:2.4cqw 2.4cqw}
.t-lavagna{--bg:#2f3b32;--ink:#eef0e6;--ft:Caveat;--ts:14cqw;--ta:center;--fh:42%;--fm:Caveat;--mh:3.8cqw;--mw:600;--mc:#f7d774;--acc:#f7d774;background-image:radial-gradient(ellipse at 30% 20%,rgba(255,255,255,.08),transparent 60%)}
.t-lavagna .gg{font-family:Caveat;font-size:2cqw;line-height:1.3}
.t-bacheca{--bg:#c49a63;--ink:#2d2010;--ft:Caveat;--ts:13cqw;--ta:center;--tc:#fffaf0;--fh:42%;--pan:#fffdf6;--fm:Caveat;--mh:3.4cqw;--acc:#c62828;background-image:radial-gradient(rgba(90,55,20,.35) .35cqw,transparent .4cqw),radial-gradient(rgba(255,240,210,.25) .3cqw,transparent .35cqw);background-size:3cqw 3cqw,4.2cqw 4.2cqw}
.t-pop{--bg:#fff;--ink:#111;--ft:Shrikhand;--ts:11cqw;--tw:400;--tc:#ff3d7f;--fh:40%;--fr:3cqw;--mp:1.3cqw;--mr:1.4cqw;--mh:2.2cqw;--mt:uppercase;--gs:1.35cqw;--acc:currentColor;--mg:1.6cqw}
.t-pop .gg .f{text-decoration:underline;text-underline-offset:.3cqw}
.t-pastello{--bg:#fdf4f6;--ink:#4a3b42;--ft:Fraunces;--ts:9cqw;--tw:500;--ta:center;--fh:40%;--mp:1.3cqw;--mr:1.6cqw;--mh:2.3cqw;--gs:1.35cqw;--fm:Fraunces;--acc:#c2185b;--mg:1.6cqw}
.t-pastello .cz-titolo{font-style:italic}
.t-anni70{--bg:#f6e7c8;--ink:#4a2a12;--ft:Shrikhand;--ts:12cqw;--tw:400;--tc:#b5451b;--ta:center;--fh:42%;--fm:Shrikhand;--mw:400;--mh:2.6cqw;--mc:#b5451b;--acc:#d35400}
.t-anni70 .strisce{left:0;right:0;top:9cqw;height:14cqw;background:linear-gradient(#e9a23b 0 33%,#d35400 33% 66%,#7b3f1d 66%)}
.t-anni70 .cz-foto{width:70%;align-self:center}
.t-bauhaus{--bg:#f1ece1;--ink:#111;--ft:"Bebas Neue";--ts:18cqw;--tw:400;--fh:40%;--mt:uppercase;--mh:2.4cqw;--ml:.3cqw;--acc:#1f4fd1}
.t-bauhaus .cerchio{width:30cqw;height:30cqw;border-radius:50%;background:#e63b2e;right:-8cqw;top:-6cqw}
.t-bauhaus .quadro{width:16cqw;height:16cqw;background:#f4c20d;left:4cqw;top:42%}
.t-bauhaus .triangolo{width:0;height:0;border-left:11cqw solid transparent;border-right:11cqw solid transparent;border-bottom:18cqw solid #1f4fd1;right:6cqw;top:34%;opacity:.9}
.t-alpino{--bg:#eef4f7;--ink:#1d3b53;--ft:"DM Serif Display";--ts:7.5cqw;--tw:400;--ta:center;--fh:44%;--fr:1cqw;--mt:uppercase;--mh:2.1cqw;--ml:.3cqw;--mc:#2f6b8f;--acc:#c0392b}
.t-alpino .monti{left:0;right:0;bottom:0;width:100%;height:34%}
.t-acquerello{--bg:#fff;--ink:#2d3b3f;--ft:Caveat;--ts:15cqw;--tc:#3d7a8a;--ta:center;--fh:40%;--fr:3cqw;--fm:Caveat;--mh:4cqw;--mw:600;--mc:#3d7a8a;--acc:#d0587e}
.t-acquerello .macchia{border-radius:50%;filter:blur(3cqw);opacity:.55}
.t-acquerello .m1{width:60cqw;height:40cqw;background:#9fd3c7;left:-15cqw;top:-8cqw}
.t-acquerello .m2{width:55cqw;height:45cqw;background:#f7c6d4;right:-18cqw;top:40%}
.t-acquerello .m3{width:50cqw;height:35cqw;background:#c9dcf2;left:-10cqw;bottom:-10cqw}
.t-inverno{--ink:#1e3550;--pan:rgba(255,255,255,.88);--ft:"DM Serif Display";--ts:9cqw;--tw:400;--ta:center;--mc:#2e86c1;--acc:#2e86c1;--mt:uppercase;--mh:2.1cqw;--ml:.3cqw}
.t-inverno .neve{inset:0;z-index:1;background-image:radial-gradient(#fff 22%,transparent 26%),radial-gradient(#fff 18%,transparent 22%);background-size:7cqw 7cqw,11cqw 11cqw;background-position:0 0,3cqw 4cqw;opacity:.7}

/* ---- i collage ---- */
.pg.col{display:grid;gap:var(--cg,1.8cqw);padding:var(--cp,3cqw);grid-auto-rows:1fr;grid-auto-columns:1fr}
.pg.col .slot{height:100%}
.t-quattro,.t-nove,.t-granda,.t-meta,.t-mosaico{--bg:#fff}
.t-nove{--cg:1cqw}
.t-mosaico{--bg:#fdf0e1;--cg:2.4cqw;--cp:4cqw}
.t-mosaico .slot{border-radius:2cqw}
.t-colonna{--bg:#f4f1ea;--cg:3cqw;--cp:6cqw}
.t-colonna .slot{border:1.4cqw solid #fff;box-shadow:0 1cqw 2cqw rgba(0,0,0,.2)}
.t-nero{--bg:#141414;--cg:2.4cqw;--cp:5cqw}
.t-pellicola{--bg:#161412;--cg:3cqw;--cp:5cqw 13cqw;background-image:repeating-linear-gradient(180deg,#e8e2d4 0 3cqw,transparent 3cqw 7cqw),repeating-linear-gradient(180deg,#e8e2d4 0 3cqw,transparent 3cqw 7cqw);background-size:4cqw 100%,4cqw 100%;background-position:3.5cqw 0,calc(100% - 3.5cqw) 0;background-repeat:no-repeat}
.t-sparse{--bg:#c9a87a;display:block;background-image:radial-gradient(rgba(80,50,20,.18) .25cqw,transparent .3cqw);background-size:2.4cqw 2.4cqw}
.pol-sparsa{position:absolute;aspect-ratio:1/1.12;background:#fff;padding:2cqw 2cqw 8cqw;box-shadow:0 1cqw 2.6cqw rgba(0,0,0,.35)}
.t-ricordo{--bg:#f6efe3;--cg:2.4cqw;--cp:5cqw}
.cz-tit{display:grid;place-items:center;font:600 13cqw/1 Caveat,cursive;color:#7a2e1c;text-align:center;padding:1cqw}
.t-tutte{--bg:#fff;--cg:.8cqw;--cp:2.4cqw;display:flex;flex-direction:column}
.riga-auto{flex:1;display:flex;gap:var(--cg);min-height:0}
.riga-auto .slot{flex:1;min-width:0}
.cz-scritta{display:block;font-size:.42em;font-weight:inherit;letter-spacing:0;margin-top:1cqw;opacity:.85}
.l-piena .cz-scritta{font-size:.38em}
/* I 12 mesi devono stare sempre tutti nel foglio, anche con mesi da 6 settimane
   e la scritta del cliente: e' la foto che si restringe, mai i mesi che escono. */
.cz-foto{min-height:18%}

/* Rivista: la scritta del cliente in fondo, come la firma di una copertina */
.cz-piede{position:relative;z-index:2;flex:none;font-family:var(--ft,inherit),serif;font-size:4.2cqw;text-align:right;border-top:.3cqw solid currentColor;padding-top:1.2cqw;color:var(--tc,inherit)}
/* Anni '70: la scritta sta sulle strisce, quindi chiara */
.t-anni70 .cz-scritta{color:#fff6e6;opacity:1}
.t-rivista{--mh:2.7cqw;--gs:1.5cqw;--mg:1.2cqw 3cqw}
.t-rivista .gg{line-height:1.36}

/* ---- calendari stravaganti ---- */
/* Neon: insegna luminosa su fondo notte */
.t-neon{--bg:#0b0618;--ink:#e9e4ff;--ft:Shrikhand;--ts:13cqw;--tw:400;--tc:#ffd6f6;--ta:center;--fh:42%;--fr:2cqw;--fm:"Bebas Neue";--mw:400;--mh:3cqw;--ml:.3cqw;--mt:uppercase;--mc:#3ef0ff;--acc:#ff4fd8;
  background-image:radial-gradient(ellipse at 50% 0%,rgba(255,79,216,.28),transparent 60%),radial-gradient(ellipse at 50% 100%,rgba(62,240,255,.2),transparent 55%)}
.t-neon .cz-titolo{text-shadow:0 0 .8cqw #ff4fd8,0 0 2.4cqw #ff4fd8,0 0 5cqw rgba(255,79,216,.75)}
.t-neon .cz-foto .slot{border:.6cqw solid #3ef0ff;box-shadow:0 0 2.4cqw rgba(62,240,255,.85),0 0 6cqw rgba(62,240,255,.4)}
.t-neon .mese h4{text-shadow:0 0 1.2cqw rgba(62,240,255,.9)}
.t-neon .cz-scritta{color:#fff;opacity:1}
/* Fumetto: retino, contorni neri e ombre piene */
.t-fumetto{--bg:#ffe14d;--ink:#111;--ft:"Bebas Neue";--ts:16cqw;--tw:400;--tl:.6cqw;--ta:center;--fh:40%;--fm:"Bebas Neue";--mw:400;--mh:3cqw;--ml:.2cqw;--mt:uppercase;--acc:#e3262f;--mb:#fff;--mp:1.1cqw;--mg:2cqw 2.4cqw;--gs:1.32cqw;
  background-image:radial-gradient(rgba(227,38,47,.32) 22%,transparent 25%);background-size:2.2cqw 2.2cqw}
.t-fumetto .cz-titolo{color:#111;text-shadow:.8cqw .8cqw 0 #e3262f;transform:rotate(-2deg)}
.t-fumetto .cz-scritta{text-shadow:.4cqw .4cqw 0 #fff;opacity:1}
.t-fumetto .cz-foto .slot{border:1cqw solid #111;box-shadow:1.6cqw 1.6cqw 0 #111}
.t-fumetto .cz-foto .slot:nth-child(1){transform:rotate(-1.6deg)}
.t-fumetto .cz-foto .slot:nth-child(2){transform:rotate(1.4deg)}
.t-fumetto .mese{border:.45cqw solid #111;box-shadow:.7cqw .7cqw 0 #111}
.t-fumetto .gg{line-height:1.4}
/* Vinile: la foto e' l'etichetta del disco, coi solchi intorno */
.t-vinile{--bg:#f2e9dc;--ink:#1a1a1a;--ft:"Bebas Neue";--ts:16cqw;--tw:400;--tl:1cqw;--ta:center;--tc:#e8442e;--fh:50%;--fm:"Bebas Neue";--mw:400;--mh:2.8cqw;--ml:.25cqw;--mt:uppercase;--acc:#e8442e}
.t-vinile .cz-foto{padding:1.4cqw 0}
/* i solchi sono un bordo doppio (Safari disegna male le ombre larghe nel foglio da stampare) */
.cz-foto.disco .slot{border:6.4cqw double #3a3a3a;background:#111;outline:1.1cqw solid #111;box-shadow:0 1.4cqw 3cqw rgba(0,0,0,.3)}
.cz-foto.disco .slot:after{content:"";position:absolute;z-index:2;left:50%;top:50%;width:3.4cqw;height:3.4cqw;margin:-1.7cqw 0 0 -1.7cqw;border-radius:50%;background:#f2e9dc;box-shadow:0 0 0 .6cqw #111}
/* Galassia: cielo stellato, la foto e' un pianeta con l'anello */
.t-galassia{--bg:#0c1030;--ink:#dfe6ff;--ft:"Bebas Neue";--ts:17cqw;--tw:400;--tl:2cqw;--ta:center;--tc:#fff;--fh:48%;--fm:"Bebas Neue";--mw:400;--mh:2.8cqw;--ml:.3cqw;--mt:uppercase;--mc:#ffcf5c;--acc:#ff7ab6;
  background-image:radial-gradient(#fff 0 .16cqw,transparent .28cqw),radial-gradient(rgba(255,255,255,.75) 0 .1cqw,transparent .2cqw),radial-gradient(ellipse at 15% 8%,rgba(140,90,255,.5),transparent 55%),radial-gradient(ellipse at 95% 55%,rgba(255,90,170,.32),transparent 50%);
  background-size:9cqw 11cqw,5.3cqw 7.1cqw,100% 100%,100% 100%;background-position:0 0,2.1cqw 3.3cqw,0 0,0 0}
.t-galassia .cz-titolo{text-shadow:0 0 3cqw rgba(160,140,255,.8)}
.t-galassia .cz-foto{padding:2cqw 0}
.cz-foto.pianeta .slot{box-shadow:0 0 5cqw rgba(140,170,255,.6)}
/* l'anello e' un disegno vettoriale: come bordo ruotato Safari lo storpiava nel foglio */
.cz-foto.pianeta .slot:after{content:"";position:absolute;z-index:2;left:-24%;top:30%;width:148%;height:40%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 148 40'%3E%3Cellipse cx='74' cy='20' rx='71' ry='9.5' fill='none' stroke='%23ffcf5c' stroke-opacity='.92' stroke-width='1.6' transform='rotate(-14 74 20)'/%3E%3C/svg%3E") center/100% 100% no-repeat}
/* Tropicale: tramonto, sole a righe e palme */
.t-tropicale{--bg:#ff7e5f;--ink:#3b0d2e;--ft:Shrikhand;--ts:12cqw;--tw:400;--tc:#fff6e0;--ta:center;--fh:44%;--fm:Shrikhand;--mw:400;--mh:2.4cqw;--mc:#c2185b;--acc:#c2185b;--mb:rgba(255,246,224,.86);--mp:1.2cqw;--mr:1.5cqw;--mg:1.6cqw;--gs:1.33cqw;
  background-image:linear-gradient(180deg,#ffb88c 0%,#ff7e5f 45%,#e0457b 100%)}
.t-tropicale .cz-titolo{text-shadow:.5cqw .6cqw 0 #b8325e}
.t-tropicale .cz-foto{width:68%;align-self:center}
.t-tropicale .sole{width:44cqw;height:44cqw;left:28cqw;top:3cqw;border-radius:50%;background:repeating-linear-gradient(180deg,#ffe36e 0 3.2cqw,transparent 3.2cqw 4.4cqw);opacity:.85}
.t-tropicale .palma{width:22cqw;height:33cqw;top:24%}
.t-tropicale .p1{left:-3cqw}
.t-tropicale .p2{right:-3cqw;transform:scaleX(-1)}
/* Memphis anni '80: pois, zig zag e forme pastello */
.t-memphis{--bg:#fdf3e7;--ink:#1d1d3a;--ft:Shrikhand;--ts:13cqw;--tw:400;--tc:#1d1d3a;--fh:44%;--fm:"Bebas Neue";--mw:400;--mh:3cqw;--ml:.2cqw;--mt:uppercase;--mc:#ff5aa5;--acc:#2bb3a6}
.t-memphis .cz-titolo{text-shadow:.8cqw .8cqw 0 #ffd23f}
.t-memphis .cz-foto{width:84%;align-self:center}
.t-memphis .cz-foto .slot{border:.7cqw solid #1d1d3a;box-shadow:2.4cqw 2.4cqw 0 #ff5aa5}
.t-memphis .pois{right:4cqw;top:4cqw;width:24cqw;height:13cqw;background-image:radial-gradient(#1d1d3a 26%,transparent 31%);background-size:3.2cqw 3.2cqw}
.t-memphis .zigzag{right:3cqw;top:19cqw;width:30cqw;height:5cqw}
.t-memphis .mezzaluna{width:24cqw;height:12cqw;left:-5cqw;top:36cqw;border-radius:24cqw 24cqw 0 0;background:#ffd23f;transform:rotate(90deg)}
.t-memphis .triang{width:0;height:0;border-left:6cqw solid transparent;border-right:6cqw solid transparent;border-bottom:10cqw solid #2bb3a6;right:3cqw;top:44cqw;transform:rotate(18deg)}
/* Cartolina: bordo da posta aerea e foto come un francobollo */
.t-cartolina{--bg:#f7efdc;--ink:#26324a;--pad:8.4cqw;--ft:Caveat;--ts:13cqw;--tw:600;--tc:#1b4f9c;--ta:center;--fh:42%;--fm:Caveat;--mw:600;--mh:3.5cqw;--mc:#1b4f9c;--acc:#d7263d}
.t-cartolina .posta{inset:0;background:repeating-linear-gradient(135deg,#d7263d 0 3cqw,#fff 3cqw 6cqw,#1b4f9c 6cqw 9cqw,#fff 9cqw 12cqw)}
.t-cartolina .cartoncino{inset:2.8cqw;background:#f7efdc}
/* il timbro postale sopra l'angolo del francobollo (non "timbro": la pagina
   ordini usa gia' quel nome per l'animazione della schermata finale) */
.t-cartolina .bollo-posta{z-index:3;right:5cqw;top:19%;width:15cqw;height:15cqw;border-radius:50%;border:1.3cqw double rgba(27,79,156,.55);transform:rotate(-12deg)}
.cz-foto.francobollo{padding:0 7cqw}
.cz-foto.francobollo .slot{border:2cqw solid #fff;outline:1.5cqw dotted #f7efdc;outline-offset:-.8cqw;box-shadow:0 1.4cqw 2.6cqw rgba(0,0,0,.25);transform:rotate(-2deg)}
/* Prima pagina: un quotidiano d'altri tempi */
.t-giornale{--bg:#f4f0e6;--ink:#1a1a1a;--ft:"DM Serif Display";--ts:10cqw;--tw:400;--ta:center;--fh:42%;--fm:"DM Serif Display";--mw:400;--mh:2.6cqw;--acc:#1a1a1a;--tl:.3cqw}
.t-giornale .cz-titolo{text-transform:uppercase;border-top:.4cqw solid #1a1a1a;border-bottom:1.1cqw double #1a1a1a;padding:1.4cqw 0 1.8cqw}
.t-giornale .cz-scritta{text-transform:none;font-style:italic;letter-spacing:0}
.t-giornale .cz-foto .slot{border:.35cqw solid #1a1a1a}
.t-giornale .mese{border-left:.25cqw solid rgba(0,0,0,.28);padding-left:1.4cqw}
.t-giornale .gg .f{font-style:italic;text-decoration:underline;text-underline-offset:.25cqw}

/* =====================================================================
   Calendario da muro: copertina + 12 mesi, 20x30 o 30x40 (la pagina e'
   alta 150 o 133 cqw: la foto si allunga o si accorcia, la griglia resta). Foto in alto, griglia grande sotto con
   santi, feste, fasi lunari e le date del cliente.
   ===================================================================== */
.pg12{gap:0;--pad:6.5cqw;--fh:64cqw;--fhx:var(--fh);--fhcx:var(--fhc,98cqw)}
.pg12.f-20x30{--fhx:calc(var(--fh) + 7cqw);--fhcx:calc(var(--fhc,98cqw) + 8cqw)}
.pg12.f-30x40{--fhx:calc(var(--fh) - 8cqw);--fhcx:calc(var(--fhc,98cqw) - 8cqw)}
.pg12 .c12-foto{position:relative;z-index:1;flex:none;height:var(--fhx);margin-bottom:var(--fmb,4cqw)}
.pg12.sei .c12-foto{height:calc(var(--fhx) - 5cqw)}
.pg12 .c12-foto .slot{height:100%}
.copertina .c12-foto{height:var(--fhcx)}
.c12-testa{position:relative;z-index:2;flex:none;display:flex;align-items:baseline;justify-content:var(--tj,space-between);gap:2.4cqw;margin-bottom:var(--tmb12,2.4cqw)}
.c12-testa h3{margin:0;font-family:var(--fm,var(--ft,Inter)),serif;font-size:var(--mh12,8.4cqw);font-weight:var(--mw12,500);font-style:var(--ms12,normal);line-height:.95;letter-spacing:var(--ml12,0);text-transform:var(--mt12,none);color:var(--mc12,inherit)}
.c12-testa span{font-family:var(--fy,var(--fb,Inter)),sans-serif;font-size:var(--ys,3cqw);font-weight:var(--yw,500);letter-spacing:var(--yl,.5cqw);opacity:var(--yo,.7);color:var(--yc,inherit)}
.c12-gg{position:relative;z-index:2;flex:1 1 0;min-height:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:auto repeat(var(--righe),minmax(0,1fr));gap:var(--cgap,0);background:var(--gbg,transparent);padding:var(--gpad,0);border-radius:var(--grad,0)}
.c12-gg>i{font-style:normal;font-size:var(--hs,1.7cqw);font-weight:var(--hw,600);text-transform:uppercase;letter-spacing:.25cqw;padding:0 0 1.1cqw .9cqw;opacity:var(--ho,.55);color:var(--hc,inherit);white-space:nowrap;overflow:hidden}
.c12-g{position:relative;min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column;padding:var(--cpad,.8cqw .9cqw);border-top:var(--cline,.16cqw solid rgba(0,0,0,.13));background:var(--cbg,transparent);border-radius:var(--crad,0)}
.c12-g b{font-family:var(--fn,inherit),sans-serif;font-size:var(--ns,3.3cqw);font-weight:var(--nw,500);line-height:1;font-variant-numeric:lining-nums tabular-nums;color:var(--nc,inherit)}
.c12-g.r b{color:var(--acc,#c0392b)}
.c12-sotto{margin-top:auto;display:flex;flex-direction:column;gap:.3cqw;min-width:0}
.c12-g small{display:block;font-size:var(--ss,1.2cqw);line-height:1.18;max-height:2.4em;overflow:hidden;opacity:var(--so,.62);overflow-wrap:anywhere;hyphens:auto}
.c12-g small.fe{opacity:1;color:var(--acc,#c0392b);font-weight:600}
.c12-g .lu{position:absolute;top:var(--lut,.9cqw);right:var(--lur,.9cqw);width:var(--lus,2cqw);height:var(--lus,2cqw);color:var(--lc,currentColor);opacity:var(--luo,.72)}
.c12-g .lu svg{display:block;width:100%;height:100%}
.evd{display:block;font-size:var(--es,1.22cqw);font-weight:700;line-height:1.14;letter-spacing:-.01em;max-height:2.32em;overflow:hidden;overflow-wrap:break-word;hyphens:auto;color:var(--ec,var(--acc,#c0392b))}
.evd svg{display:inline-block;width:1.7cqw;height:1.7cqw;vertical-align:-.3cqw;margin-right:.3cqw}
.c12-g small.uno{white-space:nowrap;text-overflow:ellipsis;max-height:1.2em}
.c12-v{border-top:var(--cline,.16cqw solid rgba(0,0,0,.13))}
.c12-g.e{background:var(--ebg,rgba(192,57,43,.08))}
/* copertina */
.c12-cop{position:relative;z-index:2;flex:1 1 0;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:var(--ca,flex-start);text-align:var(--cta,left);gap:1.6cqw;color:var(--cc,inherit)}
.c12-pre{font-family:var(--fp,var(--fb,Inter)),sans-serif;font-size:var(--ps,3.2cqw);letter-spacing:var(--pl,1.2cqw);text-transform:uppercase;font-weight:600;opacity:.75;color:var(--pc,inherit)}
.c12-anno{font-family:var(--ft,Inter),serif;font-size:var(--as,21cqw);font-weight:var(--aw,400);line-height:.86;letter-spacing:var(--al,-.4cqw);color:var(--acop,inherit)}
.c12-scritta{font-family:var(--fs,var(--ft,Inter)),serif;font-size:var(--sz,5cqw);font-style:var(--sst,italic);font-weight:var(--sw,400);line-height:1.1;max-width:100%;overflow-wrap:anywhere;color:var(--scc,inherit)}

/* Atelier: avorio, Fraunces corsivo, righe sottili */
.t-atelier{--bg:#fbf9f4;--ink:#23211d;--acc:#b0532c;--pad:7cqw;--ft:Fraunces;--fm:Fraunces;--mh12:9.6cqw;--mw12:400;--ms12:italic;--fy:Fraunces;--ys:3.4cqw;--yl:.1cqw;--yo:.55;--cline:.14cqw solid rgba(35,33,29,.2);--fn:Fraunces;--nw:500;--ns:3.4cqw;--ebg:rgba(176,83,44,.08);--fhc:100cqw;--as:24cqw;--aw:300;--al:-.8cqw;--sz:5.6cqw}
.t-atelier.copertina .c12-cop{flex-direction:row;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:1cqw 4cqw;border-top:.16cqw solid rgba(35,33,29,.4);margin-top:1cqw;padding-top:3cqw}
.t-atelier .c12-scritta{padding-bottom:1.6cqw}
/* Nordico: foto al vivo, caselle grigie, tutto bianco */
.t-nordico{--bg:#fff;--ink:#1b1d1f;--acc:#d6452f;--pad:6cqw;--fh:66cqw;--ft:Inter;--fm:Inter;--mh12:5.4cqw;--mw12:700;--mt12:uppercase;--ml12:.9cqw;--ys:5.4cqw;--yw:300;--yl:0;--yo:.4;--cline:0;--cbg:#f3f3f0;--cgap:.55cqw;--crad:.7cqw;--nw:600;--ns:3cqw;--ebg:#fde6e1;--ho:.45;--fhc:110cqw;--as:25cqw;--aw:700;--al:-1.2cqw;--fs:Inter;--sz:3cqw;--sst:normal;--sw:600}
.t-nordico .c12-foto{margin:-6cqw -6cqw 5cqw}
.t-nordico .c12-testa{align-items:center}
.t-nordico .c12-scritta{text-transform:uppercase;letter-spacing:.8cqw}
/* Sera: fondo carbone, oro, DM Serif */
.t-sera{--bg:#17171b;--ink:#ece6da;--acc:#d9b56c;--ft:"DM Serif Display";--fm:"DM Serif Display";--mh12:9cqw;--mw12:400;--mc12:#d9b56c;--ys:3cqw;--yl:.8cqw;--cline:.14cqw solid rgba(236,230,218,.15);--fn:"DM Serif Display";--nw:400;--ns:3.6cqw;--ebg:rgba(217,181,108,.13);--so:.55;--fhc:96cqw;--as:20cqw;--al:1.4cqw;--acop:#d9b56c;--ca:center;--cta:center;--sz:5.6cqw}
.t-sera .c12-foto{margin:1.6cqw 1.6cqw 5.4cqw}
.t-sera .c12-foto .slot{outline:.22cqw solid #d9b56c;outline-offset:1.3cqw}
/* Rifugio: carta kraft, polaroid col nastro, Caveat */
.t-rifugio{--bg:#c7a476;--ink:#3a2817;--acc:#9e2f1c;--fh:60cqw;--ft:Caveat;--fm:Caveat;--mh12:11.5cqw;--mw12:600;--fy:Caveat;--ys:5.6cqw;--yw:600;--yl:0;--yo:.75;--fmb:3cqw;--gbg:#fbf6ea;--gpad:1.6cqw 1.8cqw 1.8cqw;--grad:.6cqw;--cline:.16cqw dashed rgba(58,40,23,.3);--fn:Caveat;--nw:600;--ns:4cqw;--ss:1.18cqw;--cpad:.6cqw .8cqw;--ebg:rgba(158,47,28,.09);--fhc:94cqw;--as:27cqw;--aw:600;--al:0;--ca:center;--cta:center;--fs:Caveat;--sz:8cqw;--sst:normal;--sw:600;
  background-image:radial-gradient(rgba(80,50,20,.16) .25cqw,transparent .3cqw);background-size:2.4cqw 2.4cqw}
.t-rifugio .c12-foto{padding:0 2.6cqw}
.t-rifugio .c12-foto .slot{border:2cqw solid #fff;box-shadow:0 1cqw 2.4cqw rgba(0,0,0,.3);transform:rotate(-1.3deg)}
.t-rifugio.copertina .c12-foto .slot{border-bottom-width:9cqw;transform:rotate(1.6deg)}
.t-rifugio .c12-testa{margin-bottom:1.6cqw}
.nastro12{position:absolute;z-index:3;top:-2.4cqw;left:50%;width:22cqw;height:5.4cqw;margin-left:-11cqw;background:rgba(236,220,170,.86);transform:rotate(-3deg)}
/* Erbario: lino, rametti d'ulivo, cornice sottile */
.t-erbario{--bg:#f3eee3;--ink:#4a3a2a;--acc:#9a3f2c;--ft:Fraunces;--fm:Fraunces;--mh12:8.8cqw;--mw12:500;--mc12:#5b4632;--ys:3cqw;--yl:.6cqw;--cline:0;--fn:Fraunces;--nw:500;--ns:3.3cqw;--ebg:rgba(125,140,90,.16);--ec:#55663a;--fhc:92cqw;--as:20cqw;--aw:500;--al:0;--ca:center;--cta:center;
  background-image:repeating-linear-gradient(0deg,rgba(120,100,70,.05) 0 .2cqw,transparent .2cqw .6cqw),repeating-linear-gradient(90deg,rgba(120,100,70,.05) 0 .2cqw,transparent .2cqw .6cqw)}
.t-erbario .c12-g{border-bottom:.16cqw dotted rgba(74,58,42,.38)}
.t-erbario .c12-foto{margin:1cqw 1cqw 5cqw}
.t-erbario .c12-foto .slot{border:1.1cqw solid #fffdf7;outline:.2cqw solid #8a7155;box-shadow:0 .8cqw 2cqw rgba(60,40,20,.18)}
.t-erbario .rametto{z-index:3;width:21cqw;height:21cqw;right:1.5cqw;top:calc(var(--pad) + var(--fhx) - 15cqw)}
.t-erbario.sei .rametto{top:calc(var(--pad) + var(--fhx) - 20cqw)}
.t-erbario.copertina .c12-foto{padding:0 8cqw;margin-top:3cqw}
.t-erbario.copertina .c12-foto .slot{border-radius:50%}
.t-erbario.copertina .rametto{width:26cqw;height:26cqw;left:4cqw;right:auto;top:auto;bottom:34cqw}
.t-erbario.copertina .rametto.r2{left:auto;right:4cqw;top:4cqw;bottom:auto;transform:rotate(180deg)}
/* Arcobaleno: un colore per mese, domeniche nel cerchio */
.t-arcobaleno{--m1:#e8505b;--m2:#fde3e4;--bg:#fff;--ink:#262626;--acc:var(--m1);--ft:Shrikhand;--fm:Shrikhand;--mh12:9cqw;--mw12:400;--mc12:var(--m1);--fy:Shrikhand;--ys:3.6cqw;--yl:0;--yo:1;--yc:var(--m1);--cline:0;--cbg:var(--m2);--cgap:.6cqw;--crad:1cqw;--nw:700;--ns:3cqw;--ebg:var(--m1);--ec:#fff;--hc:var(--m1);--ho:1;--fhc:96cqw;--as:23cqw;--al:0;--acop:#e8505b;--ca:center;--cta:center;--fs:Inter;--sst:normal;--sw:600;--sz:4.2cqw}
.t-arcobaleno .c12-foto .slot{border-radius:3.5cqw}
.t-arcobaleno .c12-g.r b{display:grid;place-items:center;width:5cqw;height:5cqw;margin:-.5cqw 0 0 -.6cqw;border-radius:50%;background:var(--m1);color:#fff;font-size:2.7cqw}
.t-arcobaleno .c12-g.e,.t-arcobaleno .c12-g.e b{color:#fff}
.t-arcobaleno .c12-g.e.r b{background:#fff;color:var(--m1)}
.t-arcobaleno .c12-g.e small{color:#fff}
.t-arcobaleno .righe12{left:0;right:0;bottom:0;height:9cqw;background:linear-gradient(90deg,#e8505b 0 8.33%,#f08a3c 0 16.66%,#d9a514 0 25%,#7fa52f 0 33.33%,#2fa37a 0 41.66%,#1b97ad 0 50%,#2f80c8 0 58.33%,#5b5fc7 0 66.66%,#9b4dca 0 75%,#d6458c 0 83.33%,#c0563b 0 91.66%,#2e6b5e 0)}
.t-arcobaleno.copertina .c12-cop{padding-bottom:8cqw}
/* Sorbetto: pastello del mese, foto ad arco, corsivo */
.t-sorbetto{--m1:#F7D6E0;--m2:#5a2a3a;--bg:var(--m1);--ink:var(--m2);--acc:var(--m2);--ft:Fraunces;--fm:Fraunces;--mh12:9.6cqw;--mw12:400;--ms12:italic;--fy:Fraunces;--ys:3.6cqw;--yl:0;--tj:center;--cline:0;--cbg:rgba(255,255,255,.55);--cgap:.5cqw;--crad:1cqw;--nw:600;--ns:3cqw;--ebg:#fff;--fhc:98cqw;--as:23cqw;--aw:400;--al:-.4cqw;--ca:center;--cta:center}
.t-sorbetto .c12-foto{padding:0 7cqw}
.t-sorbetto .c12-foto .slot{border-radius:40cqw 40cqw 1.4cqw 1.4cqw}
.t-sorbetto .c12-g.r b{text-decoration:underline;text-decoration-thickness:.3cqw;text-underline-offset:.5cqw}
.t-sorbetto .c12-anno{font-style:italic}
.t-sorbetto .coriandoli{inset:0;background-image:radial-gradient(#fff 0 .7cqw,transparent .8cqw),radial-gradient(rgba(194,24,91,.32) 0 .55cqw,transparent .65cqw),radial-gradient(rgba(31,59,87,.22) 0 .45cqw,transparent .55cqw);background-size:13cqw 11cqw,17cqw 15cqw,11cqw 19cqw;background-position:2cqw 3cqw,8cqw 9cqw,5cqw 1cqw}
/* Vetta: foto al vivo che finisce in montagne, azzurro di Livigno */
.t-vetta{--bg:#eef3f6;--ink:#1d3b53;--acc:#c0392b;--ft:"DM Serif Display";--fm:"DM Serif Display";--mh12:9cqw;--mw12:400;--ys:3cqw;--yl:.6cqw;--cline:.14cqw solid rgba(29,59,83,.18);--fn:"DM Serif Display";--nw:400;--ns:3.5cqw;--ebg:rgba(47,107,143,.11);--ec:#2f6b8f;--fhc:104cqw;--as:21cqw;--al:0;--ca:center;--cta:center;--pl:1.8cqw;--pc:#2f6b8f}
.t-vetta .c12-foto{margin:-6.5cqw -6.5cqw 3.4cqw}
.monti12{position:absolute;z-index:2;left:0;bottom:-.2cqw;width:100%;height:12cqw}
.t-vetta.copertina .c12-foto{margin-bottom:0}

/* =====================================================================
   Collage dinamici: pezzi liberi su una scena 100x133 cqw centrata
   ===================================================================== */
.pg.scena-pg{display:block;padding:0}
/* centrata senza transform: html-to-image la schiacciava */
.sc-scena{position:absolute;left:0;top:calc(50% - 66.667cqw);width:100cqw;height:133.333cqw;z-index:2;pointer-events:none}
/* la scena lascia passare i tocchi (sotto puo esserci la foto a tutta pagina); le foto no */
.sc-pezzo,.sc-gruppo{pointer-events:auto}
.sc-scritta,.t-copertina:before{pointer-events:none}
.sc-pezzo,.sc-gruppo{position:absolute}
.sc-pezzo .slot{height:100%}
.sc-pieno{position:absolute;inset:0;z-index:0}
.sc-pieno .slot{height:100%}
.sc-scritta{position:absolute;z-index:4;overflow-wrap:anywhere}
/* Copertina di rivista: la foto a tutta pagina, la testata e due foto appoggiate */
.t-copertina{--bg:#111}
.t-copertina:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,.45),rgba(0,0,0,0) 32%,rgba(0,0,0,0) 62%,rgba(0,0,0,.4))}
.t-copertina .sc-scritta{left:5cqw;right:5cqw;top:4cqw;font:400 16cqw/.9 "DM Serif Display",serif;color:#fff;text-align:center;letter-spacing:-.3cqw}
.p-bianco .slot{border:1.3cqw solid #fff;box-shadow:0 1.2cqw 3cqw rgba(0,0,0,.45)}
.t-copertina .codice-barre{left:6cqw;top:114cqw;width:17cqw;height:9cqw;background:#fff repeating-linear-gradient(90deg,#111 0 .35cqw,transparent .35cqw .7cqw,#111 .7cqw 1.4cqw,transparent 1.4cqw 1.7cqw,#111 1.7cqw 1.9cqw,transparent 1.9cqw 2.5cqw) 1.2cqw 1.2cqw/14.6cqw 6.6cqw no-repeat;z-index:3}
.t-copertina .numero-rivista{right:6cqw;top:26cqw;padding:1cqw 2.2cqw;background:#e63b2e;color:#fff;font:400 4.6cqw/1 "Bebas Neue",sans-serif;letter-spacing:.3cqw;transform:rotate(6deg);z-index:3}
/* Ritagli: album di carta, foto storte col nastro, scarabocchi */
.t-ritagli{--bg:#efe6d4;background-image:radial-gradient(rgba(120,90,50,.12) .22cqw,transparent .28cqw);background-size:2.2cqw 2.2cqw}
.p-carta .slot{border:1.4cqw solid #fff;box-shadow:0 .8cqw 2cqw rgba(60,40,20,.28)}
.p-carta:before{content:"";position:absolute;z-index:3;top:-2.3cqw;left:32%;width:20cqw;height:5cqw;background:rgba(255,183,197,.78);transform:rotate(-6deg)}
.p-carta:nth-of-type(2):before{left:auto;right:-4cqw;top:6cqw;background:rgba(160,220,200,.8);transform:rotate(48deg)}
.p-carta:nth-of-type(3):before{left:-5cqw;top:3cqw;background:rgba(255,226,140,.82);transform:rotate(-40deg)}
.p-carta:nth-of-type(4):before{left:38%;background:rgba(180,200,255,.78);transform:rotate(4deg)}
.p-carta:nth-of-type(5):before{left:auto;right:6cqw;top:-2cqw;background:rgba(255,183,197,.78);transform:rotate(8deg)}
.t-ritagli .scarabocchi{inset:0;width:100%;height:100%;z-index:5}
.t-ritagli .sc-scritta{right:4cqw;bottom:5cqw;max-width:40cqw;padding:1.4cqw 3cqw 1.8cqw;background:#fffaf0;font:600 7.4cqw/1 Caveat,cursive;color:#7a2e1c;transform:rotate(-4deg);box-shadow:0 .6cqw 1.4cqw rgba(60,40,20,.25)}
/* Il filo dei ricordi: polaroid appese con le mollette */
.t-filo{--bg:#f3ece0;background-image:radial-gradient(ellipse at 50% 0%,rgba(255,255,255,.7),transparent 65%)}
.t-filo .fili{inset:0;width:100%;height:100%;z-index:0}
.p-pol{background:#fff;padding:1.6cqw 1.6cqw 6cqw;box-shadow:0 1cqw 2.2cqw rgba(0,0,0,.25)}
.p-pol:before{content:"";position:absolute;z-index:3;top:-3.4cqw;left:50%;width:2.6cqw;height:7cqw;margin-left:-1.3cqw;border-radius:.5cqw;background:linear-gradient(90deg,#d0a46a 0 44%,#a7783f 44% 56%,#d0a46a 56%)}
.t-filo .sc-scritta{left:4cqw;right:4cqw;bottom:9cqw;text-align:center;font:600 11cqw/1 Caveat,cursive;color:#7a4a2a}
/* Bolle: cerchi pieni di foto su giallo, coriandoli */
.t-bolle{--bg:#ffd84d}
.t-bolle .coriandoli2{inset:0;background-image:radial-gradient(#ff4f8b 0 .9cqw,transparent 1cqw),radial-gradient(#2a6fdb 0 .7cqw,transparent .8cqw),radial-gradient(#fff 0 .6cqw,transparent .7cqw);background-size:19cqw 23cqw,23cqw 17cqw,13cqw 15cqw;background-position:6cqw 4cqw,14cqw 11cqw,2cqw 9cqw}
.p-tondo .slot{border-radius:50%;border:1cqw solid #fff}
.p-tondo:before{content:"";position:absolute;inset:0;border-radius:50%;background:#ff4f8b;transform:translate(1.8cqw,1.8cqw)}
.p-tondo:nth-of-type(2):before{background:#2a6fdb}
.p-tondo:nth-of-type(3):before{background:#1d1d3a}
.p-tondo:nth-of-type(4):before{background:#2bb3a6}
.p-tondo:nth-of-type(5):before{background:#ff7a1a}
/* Parete: una galleria di cornici diverse sul muro */
.t-parete{--bg:#dfe2d6;background-image:radial-gradient(ellipse at 50% -10%,rgba(255,255,255,.65),transparent 62%)}
.p-cornice{background:#fbfaf6;padding:2.6cqw;border:1.3cqw solid #1c1c1c;box-shadow:0 1.2cqw 2.4cqw rgba(0,0,0,.22)}
.p-cornice.p-legno{border:1.8cqw solid #9a6a3a;padding:0}
.p-cornice.p-oro{border:1.6cqw double #c9a227;padding:2cqw;background:#fffdf5}
.p-cornice.p-bianca{border:1.4cqw solid #fff;padding:0}
/* Cabina delle fototessere: due strisce storte su rosso */
.t-cabina{--bg:#e63946;background-image:radial-gradient(rgba(255,255,255,.16) 22%,transparent 25%);background-size:4cqw 4cqw}
.t-cabina .sc-gruppo:before{content:"";position:absolute;inset:-2.4cqw -2.4cqw -8cqw;background:#fffdf8;box-shadow:0 1.2cqw 3cqw rgba(0,0,0,.35)}
.t-cabina .sc-gruppo:after{content:"";position:absolute;left:50%;bottom:-6cqw;width:3cqw;height:3cqw;margin-left:-1.5cqw;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.7-9.6-9.3C.9 8.3 3 4.6 6.6 4.6c2.2 0 3.6 1.3 5.4 3.2 1.8-1.9 3.2-3.2 5.4-3.2 3.6 0 5.7 3.7 4.2 7.1C19.5 16.3 12 21 12 21z' fill='%23e63946'/%3E%3C/svg%3E") center/contain no-repeat}
.t-cabina .sc-scritta{left:4cqw;right:4cqw;top:4cqw;text-align:center;font:400 10cqw/1 Shrikhand,cursive;color:#fff}

/* =====================================================================
   Decorazioni del cliente (adesivi e scritte), sopra tutto il resto.
   Misure in cqw: uguali in anteprima e nel foglio da stampare.
   ===================================================================== */
.adesivi{position:absolute;inset:0;z-index:9;pointer-events:none;overflow:hidden}
.adesivo{position:absolute;line-height:0;pointer-events:none}
.adesivo svg{display:block;width:100%;height:auto;overflow:visible}
/* il bordino bianco dell'adesivo fustellato: lo stesso disegno, ingrassato e bianco, sotto */
/* (i fili sottili, come quelli dei palloncini, restano senza bordo) */
.ad-bordo .no-bordo{display:none}
.ad-bordo,.ad-bordo *{fill:#fff!important;stroke:#fff!important;stroke-width:9px!important;stroke-linejoin:round!important;stroke-linecap:round!important;stroke-dasharray:none!important;opacity:1!important}
/* scritte decorative: 1em = grandezza scelta dal cliente */
.ad-scritta{line-height:1;white-space:nowrap}
.ad-testo{display:block;padding:.12em .3em}
.st-pennarello .ad-testo{font:600 1em/1 Caveat,cursive}
.st-pop .ad-testo{font:400 .82em/1.15 Shrikhand,cursive;background:#fff;border-radius:.7em;padding:.22em .6em .3em;border:.08em solid currentColor}
.st-elegante .ad-testo{font:italic 400 1em/1.05 Fraunces,serif}
.st-etichetta .ad-testo{font:400 .9em/1 "Bebas Neue",sans-serif;letter-spacing:.06em;color:#fff;background:var(--c,#2f80c8);padding:.22em .55em .14em;border-radius:.12em}
.st-nastro .ad-testo{font:600 .78em/1 Fraunces,serif;color:#fff;background:var(--c,#c0392b);padding:.32em 1.1em .36em;clip-path:polygon(0 0,100% 0,94% 50%,100% 100%,0 100%,6% 50%)}
