/* ==========================================================================
   BUONMUSO · la bottega sotto casa per cani e gatti
   Sistema: tenda a righe con lo smerlo, cartellini scritti a mano, timbri,
   tasti da registratore di cassa, scaffali con l'asse di legno, documenti
   della compagnia, scontrini. Un interruttore Cane / Gatto ritinge tutto.

   1 token e modalità · 2 base · 3 primitivi · 4 testata · 5 livelli (sporta,
   ricerca, menu) · 6 card e scaffali · 7 home · 8 negozio · 9 scheda prodotto
   · 10 gioco · 11 pagine di contenuto · 12 piè di pagina · 13 movimento
   ========================================================================== */

/* ---------- 1. token e modalità ---------- */
:root {
  --paper: #FBF1E1;
  --paper-2: #F4E3C7;
  --paper-3: #EBD3AE;
  --cream: #FFF8EC;
  --ink: #2B1D14;
  --ink-2: #6A5242;
  --line: rgba(43, 29, 20, .16);

  --terra: #BD4A23;
  --terra-deep: #9B3B19;
  --terra-soft: #F3CDB5;
  --bosco: #21503A;
  --bosco-deep: #163A29;
  --bosco-soft: #CFE0CF;
  --senape: #E5AA35;
  --senape-soft: #F8DDA0;
  --wood: #A96C3D;
  --wood-hi: #C98D5A;

  /* modalità cane (predefinita) */
  --accent: var(--terra);
  --accent-deep: var(--terra-deep);
  --accent-soft: var(--terra-soft);
  --accent-ink: var(--terra-deep);
  --on-accent: var(--cream);

  --f-d: 'Caprasimo', 'Cooper Black', 'Georgia', serif;
  --f-t: 'Familjen Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-h: 'Shantell Sans', 'Segoe Print', 'Comic Sans MS', cursive;

  --t-giant: clamp(2.9rem, 1rem + 5.6vw, 7rem);
  --t-1: clamp(2.2rem, 1.2rem + 3.4vw, 4.4rem);
  --t-2: clamp(2rem, 1.3rem + 2.7vw, 3.6rem);
  --t-3: clamp(1.45rem, 1.15rem + 1.15vw, 2.1rem);
  --t-4: clamp(1.15rem, 1.05rem + .4vw, 1.35rem);
  --t-body: 1.0625rem;
  --t-sm: .94rem;
  --t-xs: .8rem;

  --gut: clamp(16px, 4vw, 56px);
  --wrap: 1380px;
  --sec: clamp(72px, 9vw, 148px);
  --hdr: 72px;
  --r: 18px;
  --ease: cubic-bezier(.22, .9, .25, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2 0 0 0 2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --cur-treat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cg transform='rotate(-30 17 17)'%3E%3Cpath d='M9 13.5c-1-4-7-3.5-6 .5-3 1.2-3 4.8 0 6-1 4 5 4.5 6 .5h16c1 4 7 3.5 6-.5 3-1.2 3-4.8 0-6 1-4-5-4.5-6-.5z' fill='%23E5AA35' stroke='%232B1D14' stroke-width='2' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E") 17 17;
}
html[data-muso="gatto"] {
  --accent: var(--bosco);
  --accent-deep: var(--bosco-deep);
  --accent-soft: var(--bosco-soft);
  --accent-ink: var(--bosco);
}
html[data-muso="gatto"] .m-cane,
html:not([data-muso="gatto"]) .m-gatto { display: none !important; }

/* ---------- 2. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 20px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--t-body)/1.55 var(--f-t);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
/* ogni griglia a una colonna può stringersi fino al viewport: nessun contenuto la allarga */
.hero__grid, .banco__head, .etic__grid, .cast__head, .day__head, .gt__grid, .kits__grid, .kit, .porta__grid, .shop-hero, .shop-bar, .pdp, .gallery, .game-hero, .table__in, .about-hero, .muso-def__in, .split-head, .rules, .colors, .cta-band, .help, .lost, .ftr__top, .shelf__pause { grid-template-columns: minmax(0, 1fr); }
.pdp > *, .help > *, .ftr__top > *, .table__in > *, .hero__grid > *, .kits__grid > *, .etic__grid > * { min-width: 0; }
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--senape); color: var(--ink); }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--senape); }
strong, b { font-weight: 700; }
s { text-decoration-thickness: 2px; text-decoration-color: currentColor; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--text { max-width: 880px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -90px; z-index: 300; background: var(--ink); color: var(--cream); padding: .8em 1.2em; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.sec { padding-block: var(--sec); }

/* ---------- 3. primitivi ---------- */
.h-giant, .h-1, .h-2, .h-3 { font-family: var(--f-d); font-weight: 400; text-wrap: balance; }
.h-giant { font-size: var(--t-giant); line-height: .9; letter-spacing: -.025em; }
.h-1 { font-size: var(--t-1); line-height: .93; letter-spacing: -.02em; }
.h-2 { font-size: var(--t-2); line-height: .98; letter-spacing: -.015em; }
.h-3 { font-size: var(--t-3); line-height: 1.04; letter-spacing: -.01em; }
.hand { font-family: var(--f-h); font-weight: 600; letter-spacing: -.01em; }
.lede { font-size: var(--t-4); line-height: 1.45; max-width: 36ch; }
.muted { color: var(--ink-2); }
.small { font-size: var(--t-sm); }
.fine { font-size: var(--t-xs); line-height: 1.5; color: var(--ink-2); }
.on-dark .fine, .on-dark .muted { color: rgba(255, 248, 236, .78); }

.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; text-decoration-color: var(--accent); transition: text-decoration-color .2s, color .2s; }
.link:hover { color: var(--accent-ink); text-decoration-color: var(--senape); }
.prose a, .legal a, .fine a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; text-decoration-color: var(--accent); }
.prose a:hover, .legal a:hover, .fine a:hover { color: var(--accent-ink); }

/* tasti da registratore di cassa */
.key {
  --k-bg: var(--accent); --k-fg: var(--on-accent);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .7em 1.35em .9em; border-radius: 14px;
  background: var(--k-bg); color: var(--k-fg); text-decoration: none; white-space: nowrap;
  font: 700 1.02rem/1 var(--f-t); letter-spacing: .005em;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .24), 0 1px 0 rgba(43, 29, 20, .12);
  transition: transform .12s var(--ease), box-shadow .12s var(--ease), background-color .35s, color .35s;
}
.key:hover { transform: translateY(-2px); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .24), 0 5px 0 rgba(43, 29, 20, .1); }
.key:active { transform: translateY(3px); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .24); }
.key[disabled] { --k-bg: var(--paper-3); --k-fg: var(--ink-2); cursor: not-allowed; transform: none; box-shadow: none; }
.key--senape { --k-bg: var(--senape); --k-fg: var(--ink); }
.key--ink { --k-bg: var(--ink); --k-fg: var(--cream); }
.key--paper { --k-bg: var(--cream); --k-fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), inset 0 -6px 0 rgba(43, 29, 20, .18); }
.key--paper:hover { box-shadow: inset 0 0 0 2px var(--ink), inset 0 -6px 0 rgba(43, 29, 20, .18), 0 5px 0 rgba(43, 29, 20, .1); }
.key--paper:active { box-shadow: inset 0 0 0 2px var(--ink), inset 0 -2px 0 rgba(43, 29, 20, .18); }
.key--sm { min-height: 42px; padding: .55em 1em .7em; font-size: .92rem; border-radius: 11px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .24); }
.key--xl { min-height: 60px; padding: .8em 1.6em 1em; font-size: 1.12rem; }
.key--block { width: 100%; }
.key svg { width: 1.15em; height: 1.15em; flex: none; }
[data-add], [data-buy], [data-set-add] { cursor: var(--cur-treat), pointer; }
.key.is-done { --k-bg: var(--senape); --k-fg: var(--ink); }

/* cartellino del prezzo, appeso con lo spago */
.tag {
  --tag-bg: var(--cream); --tr: -6deg;
  position: relative; display: inline-flex; align-items: baseline; gap: .4em;
  padding: .45em .85em .5em 1.6em; color: var(--ink);
  font: 700 1.08rem/1 var(--f-h); white-space: nowrap; isolation: isolate;
  transform: rotate(var(--tr)); transform-origin: .75em 50%;
  filter: drop-shadow(0 2px 0 rgba(43, 29, 20, .14));
}
.tag::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at .75em 50%, transparent .21em, var(--tag-bg) calc(.21em + 1px));
  clip-path: polygon(.95em 0, 100% 0, 100% 100%, .95em 100%, 0 50%);
}
.tag::after {
  content: ""; position: absolute; left: -1.35em; top: -.55em; width: 2.2em; height: 1.6em;
  border: 1.5px solid var(--ink-2); border-color: var(--ink-2) transparent transparent transparent;
  border-radius: 50%; transform: rotate(-38deg); pointer-events: none;
}
.tag s { font-size: .78em; font-weight: 500; color: var(--ink-2); }
.tag--senape { --tag-bg: var(--senape); }
.tag--accent { --tag-bg: var(--accent); color: var(--on-accent); }
.tag--accent s { color: inherit; opacity: .8; }

/* timbro a inchiostro */
.stamp {
  --rot: -5deg;
  display: inline-flex; align-items: center; gap: .4em; padding: .42em .7em .38em;
  border: 2px solid currentColor; outline: 1.5px solid currentColor; outline-offset: 2px; border-radius: 5px;
  color: var(--accent-ink); font: 700 .7rem/1 var(--f-t); letter-spacing: .1em; text-transform: uppercase;
  transform: rotate(var(--rot)); white-space: nowrap;
  -webkit-mask-image: var(--noise); mask-image: var(--noise); -webkit-mask-size: 140px; mask-size: 140px;
}
.stamp--senape { color: #8A5E0C; }
.stamp--round { flex-direction: column; justify-content: center; width: 7.4em; height: 7.4em; border-radius: 50%; padding: .6em; text-align: center; line-height: 1.15; white-space: normal; outline-offset: 3px; }
.stamp--round b { display: block; font: 400 2.2em/1 var(--f-d); letter-spacing: 0; text-transform: none; }

/* tenda a righe con lo smerlo */
.awning {
  --s: 30px; --a2: var(--cream);
  height: calc(var(--s) * 1.5); position: relative;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .0) 30%, rgba(0, 0, 0, .16)),
    repeating-linear-gradient(90deg, var(--accent) 0 var(--s), var(--a2) var(--s) calc(var(--s) * 2));
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--s) / 2) no-repeat, radial-gradient(circle calc(var(--s) / 2) at 50% 0, #000 97%, #0000 100%) bottom left / var(--s) calc(var(--s) / 2) repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--s) / 2) no-repeat, radial-gradient(circle calc(var(--s) / 2) at 50% 0, #000 97%, #0000 100%) bottom left / var(--s) calc(var(--s) / 2) repeat-x;
  transition: background-color .4s;
}
.awning--thin { --s: 20px; }

/* disegnini a mano */
.doodle { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.squiggle { position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .3em; width: 104%; color: var(--senape); overflow: visible; }
.squiggle path { fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; }
.note { display: inline-flex; align-items: flex-start; gap: .4em; font: 600 1.05rem/1.25 var(--f-h); color: var(--ink-2); }
.note svg { width: 46px; height: 34px; flex: none; color: var(--accent); }

/* pallino per chi */
.pdot { display: inline-block; width: .72em; height: .72em; border-radius: 50%; background: var(--terra); flex: none; }
.pdot--gatto { background: var(--bosco); }
.pdot--entrambi { background: linear-gradient(90deg, var(--terra) 50%, var(--bosco) 50%); }

/* segmenti, tabs e chips */
.seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--paper-2); border-radius: 14px; box-shadow: inset 0 0 0 2px var(--ink); }
.seg button { min-height: 42px; padding: .45em 1em; border-radius: 10px; font-weight: 700; font-size: .95rem; transition: background-color .2s, color .2s; }
.seg button:hover { background: var(--cream); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }

.labels { display: flex; flex-wrap: wrap; gap: 10px; }
.label-btn {
  position: relative; min-height: 44px; padding: .55em 1.05em .5em; background: #D9B98C; color: var(--ink);
  font: 600 1rem/1.1 var(--f-h); border-radius: 3px; text-decoration: none;
  background-image: linear-gradient(rgba(255, 255, 255, .1), rgba(0, 0, 0, .06));
  box-shadow: 0 2px 0 rgba(43, 29, 20, .18); transform: rotate(var(--lr, -1deg));
  transition: transform .2s var(--bounce), background-color .2s;
}
.label-btn:nth-child(2n) { --lr: 1.2deg; }
.label-btn:nth-child(3n) { --lr: -.4deg; }
.label-btn:hover { transform: rotate(0) translateY(-2px); }
.label-btn[aria-pressed="true"], .label-btn[aria-current="page"] { background: var(--accent); color: var(--on-accent); }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; position: relative; color: var(--ink); transition: background-color .2s; }
.icon-btn:hover { background: var(--paper-2); }
.icon-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.crumbs { display: flex; flex-wrap: wrap; gap: .2em .5em; font-size: var(--t-xs); color: var(--ink-2); font-weight: 600; }
.crumbs li + li::before { content: "/"; margin-right: .5em; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

.notice { display: flex; gap: .7em; align-items: flex-start; padding: .9em 1em; background: var(--senape-soft); border-radius: 12px; font-size: var(--t-sm); line-height: 1.45; color: var(--ink); }
.notice svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* foto: sempre su crema, mai grigio */
.ph { position: relative; overflow: hidden; background: var(--paper-2); }
.ph img, .ph video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 4. testata ---------- */
.ann { background: var(--ink); color: var(--cream); font-size: .86rem; font-weight: 600; }
.ann__in { display: flex; justify-content: center; align-items: center; gap: .4em 1.6em; flex-wrap: wrap; min-height: 38px; padding-block: 6px; text-align: center; }
.ann__in span { display: inline-flex; align-items: center; gap: .5em; }
.ann__in span + span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--senape); }
.ann + .awning { margin-bottom: -10px; position: relative; z-index: 51; pointer-events: none; }

.hdr { position: sticky; top: 0; z-index: 50; background: var(--paper); transition: box-shadow .25s, background-color .25s; }
.hdr.is-stuck { box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(43, 29, 20, .35); }
.hdr__in { display: flex; align-items: center; gap: 10px; min-height: var(--hdr); }
.nav-toggle { margin-left: -10px; }
.logo { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; color: var(--ink); flex: none; }
.logo__mark { width: 42px; height: 42px; overflow: visible; }
.logo__mark .lm-face, .logo__mark .lm-cat { fill: var(--accent); transition: fill .4s; }
.logo__mark .lm-dog { fill: var(--accent-deep); transition: fill .4s; transform-origin: 31px 15px; }
.logo__mark .lm-cat { transform-origin: 17px 17px; }
.logo__mark .lm-feat { fill: var(--cream); }
.logo__mark .lm-line { fill: none; stroke: var(--cream); stroke-width: 2; stroke-linecap: round; }
.logo:hover .lm-dog { animation: flap .7s var(--ease); }
.logo:hover .lm-cat { animation: twitch .5s .1s var(--ease); }
.logo__word { font: 400 1.62rem/1 var(--f-d); letter-spacing: -.02em; }
@keyframes flap { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-22deg); } 60% { transform: rotate(10deg); } }
@keyframes twitch { 0%, 100% { transform: rotate(0); } 40% { transform: rotate(-9deg); } 70% { transform: rotate(4deg); } }

.nav { display: none; margin-left: 18px; }
.nav ul { display: flex; gap: 2px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .75em; font-weight: 600; font-size: .98rem; text-decoration: none; border-radius: 10px; position: relative; }
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: .75em; right: .75em; bottom: 6px; height: 3px; border-radius: 3px; background: var(--accent); }
.nav .nav__game { font-family: var(--f-h); font-weight: 700; color: var(--accent-ink); }
.hdr__act { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.cart-btn .cart-count {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--accent); color: var(--on-accent); font: 700 .72rem/20px var(--f-t); text-align: center;
  box-shadow: 0 0 0 2px var(--paper);
}
.cart-count.is-bump { animation: bump .5s var(--bounce); }
.cart-btn.is-wiggle svg { animation: wiggle .6s var(--ease); }
@keyframes bump { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 50% { transform: rotate(9deg); } 75% { transform: rotate(-4deg); } }

/* interruttore Cane / Gatto */
.muso {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px;
  background: var(--paper-2); border-radius: 999px; box-shadow: inset 0 0 0 2px var(--ink); flex: none; isolation: isolate;
}
.muso__knob {
  position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
  border-radius: 999px; background: var(--accent); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22);
  transition: transform .45s var(--bounce), background-color .4s;
}
html[data-muso="gatto"] .muso__knob { transform: translateX(100%); }
.muso__opt { display: inline-flex; align-items: center; justify-content: center; gap: .35em; min-height: 38px; padding: 0 .8em 0 .6em; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--ink); transition: color .3s; }
.muso__opt svg { width: 24px; height: 24px; flex: none; }
.muso__opt[aria-pressed="true"] { color: var(--on-accent); }
.muso__opt:focus-visible { outline-offset: 1px; }
.muso__say {
  position: absolute; left: 50%; top: calc(100% + 8px); translate: -50% 0; pointer-events: none;
  font: 700 1rem/1 var(--f-h); color: var(--accent-ink); background: var(--cream); padding: .35em .6em; border-radius: 8px;
  box-shadow: 0 2px 0 rgba(43, 29, 20, .15); opacity: 0; transform: translateY(-6px) rotate(-4deg); transition: opacity .2s, transform .3s var(--bounce);
  white-space: nowrap;
}
.muso.is-saying .muso__say { opacity: 1; transform: translateY(0) rotate(-4deg); }
.muso--hdr .muso__opt span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muso--hdr .muso__opt { padding: 0 .55em; }
.muso--big { padding: 5px; }
.muso--big .muso__knob { top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); }
.muso--big .muso__opt { min-height: 54px; padding: 0 1.3em 0 1em; font: 400 1.25rem/1 var(--f-d); gap: .45em; }
.muso--big .muso__opt svg { width: 32px; height: 32px; }

/* larghezze della testata calcolate: 360px, 420px, 560px, 640px, 1180px, 1440px */
@media (min-width: 640px) and (max-width: 1179px), (min-width: 1440px) {
  .muso--hdr .muso__opt span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .muso--hdr .muso__opt { padding: 0 .8em 0 .55em; }
}
@media (max-width: 559px) {
  .ann__opt { display: none !important; }
  .hdr__search { display: none; }
}
@media (min-width: 1180px) and (max-width: 1319px) { .nav a { padding: 0 .55em; font-size: .94rem; } .nav { margin-left: 8px; } }
@media (max-width: 419px) {
  .hdr__in { gap: 6px; }
  .logo { gap: .35em; }
  .logo__word { font-size: 1.4rem; }
  .logo__mark { width: 36px; height: 36px; }
  .muso--hdr .muso__opt { padding: 0 .4em; min-height: 36px; }
  .muso--hdr .muso__opt svg { width: 21px; height: 21px; }
}
@media (min-width: 1180px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .hdr__in { gap: 14px; }
}

/* ---------- 5. livelli ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(43, 29, 20, .45); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.scrim.is-open { opacity: 1; visibility: visible; }

/* la sporta */
.drawer {
  position: fixed; z-index: 100; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  display: flex; flex-direction: column; background: var(--paper); color: var(--ink);
  transform: translateX(104%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s;
  box-shadow: -20px 0 60px -30px rgba(43, 29, 20, .5);
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 10px 24px; }
.drawer__head h2 { font: 400 1.9rem/1 var(--f-d); letter-spacing: -.01em; }
.drawer__head h2 small { display: block; margin-top: .35em; font: 600 .95rem/1.2 var(--f-h); color: var(--ink-2); letter-spacing: 0; }
.treats { display: flex; flex-wrap: wrap; gap: 3px; padding: 0 24px 12px; min-height: 12px; color: var(--senape); }
.treats svg { width: 22px; height: 14px; }
.treats svg path { fill: var(--senape); stroke: var(--ink); stroke-width: 1.4; }
.treats .treats__more { font: 700 .8rem/14px var(--f-h); color: var(--ink-2); }
.treats svg.is-new { animation: drop .5s var(--bounce); }
@keyframes drop { from { transform: translateY(-14px) rotate(-30deg); opacity: 0; } }

.leash { margin: 0 20px 6px; padding: 14px 16px 12px; background: var(--cream); border-radius: 14px; }
.leash p { font-size: var(--t-sm); line-height: 1.4; }
.leash p strong { color: var(--accent-ink); }
.leash__track { position: relative; height: 40px; margin: 8px 6px 0; }
.leash__line { position: absolute; left: 0; right: 30px; top: 27px; border-top: 2.5px dashed var(--ink-2); opacity: .5; }
.leash__fill { position: absolute; left: 0; top: 26px; height: 4px; border-radius: 4px; background: var(--accent); width: 0; transition: width .6s var(--ease); }
.leash__walker { position: absolute; top: 0; left: 0; width: 34px; height: 32px; margin-left: -6px; color: var(--accent); transition: left .6s var(--ease); }
.leash__goal { position: absolute; right: 0; top: 4px; width: 30px; height: 30px; color: var(--ink); }
.leash__walker > span, .leash__goal > span { display: block; width: 100%; height: 100%; }
.leash__walker svg, .leash__goal svg { width: 100%; height: 100%; }
.leash.is-free { background: var(--accent-soft); }
.leash.is-free .leash__walker { animation: hop .6s var(--bounce) 2; }
@keyframes hop { 50% { transform: translateY(-8px); } }

.drawer__body { flex: 1; overflow-y: auto; padding: 4px 20px 16px; overscroll-behavior: contain; }
.line { display: grid; grid-template-columns: 78px 1fr; gap: 14px; padding: 14px 0; border-bottom: 2px dotted var(--line); }
.line__img { display: block; width: 78px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--paper-2); }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__top { display: flex; justify-content: space-between; gap: 10px; }
.line__name { font: 400 1.08rem/1.15 var(--f-d); text-decoration: none; }
.line__name:hover { color: var(--accent-ink); }
.line__meta { font-size: var(--t-xs); color: var(--ink-2); margin-top: 3px; }
.line__price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.line__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.line__remove { font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: .2em; min-height: 36px; }
.line__remove:hover { color: var(--accent-ink); }
.qty { display: inline-flex; align-items: center; background: var(--cream); border-radius: 12px; box-shadow: inset 0 0 0 2px var(--ink); }
.qty button { width: 40px; height: 40px; font-size: 1.2rem; font-weight: 700; border-radius: 12px; }
.qty button:hover { background: var(--paper-2); }
.qty span, .qty output { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.drawer__foot { padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); background: var(--cream); border-top: 2px dashed var(--line); }
.totals { display: grid; gap: 6px; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; font-size: var(--t-sm); }
.totals .is-total { font: 400 1.35rem/1.2 var(--f-d); margin-top: 4px; }
.drawer__note { margin-top: 10px; font-size: var(--t-xs); color: var(--ink-2); text-align: center; }
.drawer__foot .notice { margin-top: 12px; }
.cart-empty { padding: 26px 8px; text-align: left; }
.cart-empty svg { width: 120px; height: 120px; color: var(--accent); margin-bottom: 8px; }
.cart-empty h3 { font: 400 1.6rem/1.05 var(--f-d); margin-bottom: 8px; }
.cart-empty p { color: var(--ink-2); margin-bottom: 18px; }
.cart-empty .row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ricerca */
.search { position: fixed; inset: 0; z-index: 110; background: var(--paper); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s, transform .35s var(--ease), visibility .3s; }
.search.is-open { opacity: 1; visibility: visible; transform: none; }
.search__top { padding-top: 18px; }
.search__bar { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; background: var(--cream); border-radius: 18px; box-shadow: inset 0 0 0 2px var(--ink); }
.search__bar > svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; }
.search__bar input { flex: 1; min-width: 0; min-height: 52px; border: 0; background: none; font: 400 clamp(1.25rem, 1rem + 1.4vw, 2rem)/1.1 var(--f-d); }
.search__bar input::placeholder { color: rgba(106, 82, 66, .7); }
.search__bar input:focus-visible { outline: none; }
.search__bar:focus-within { box-shadow: inset 0 0 0 3px var(--accent); }
.search__scroll { flex: 1; overflow-y: auto; padding-block: 22px 40px; }
.search__hint { font: 600 1.05rem/1.2 var(--f-h); color: var(--ink-2); margin-bottom: 12px; }
.search__results { display: grid; gap: 8px; }
.result { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 14px; padding: 8px 12px 8px 8px; border-radius: 14px; text-decoration: none; transition: background-color .2s; }
.result:hover, .result:focus-visible { background: var(--paper-2); }
.result__img { width: 60px; aspect-ratio: 4 / 5; border-radius: 9px; overflow: hidden; background: var(--paper-2); }
.result__img img { width: 100%; height: 100%; object-fit: cover; }
.result__name { display: block; font: 400 1.12rem/1.15 var(--f-d); }
.result__name mark { background: var(--senape-soft); color: inherit; border-radius: 3px; }
.result__meta { display: block; font-size: var(--t-xs); color: var(--ink-2); margin-top: 2px; }
.result__price { font-weight: 700; white-space: nowrap; }
.search__none { font-size: var(--t-4); max-width: 40ch; margin-bottom: 16px; }

/* menu mobile */
.mmenu { position: fixed; inset: 0; z-index: 105; background: var(--accent); color: var(--on-accent); display: flex; flex-direction: column; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, background-color .4s; }
.mmenu.is-open { opacity: 1; visibility: visible; }
.mmenu .awning { --a2: var(--cream); flex: none; }
.mmenu__top { display: flex; align-items: center; justify-content: space-between; padding: 6px var(--gut) 0; }
.mmenu__top .logo, .mmenu__top .icon-btn { color: var(--on-accent); }
.mmenu__top .icon-btn:hover { background: rgba(255, 255, 255, .12); }
.mmenu .logo__mark .lm-face, .mmenu .logo__mark .lm-cat { fill: var(--cream); }
.mmenu .logo__mark .lm-dog { fill: var(--senape); }
.mmenu .logo__mark .lm-feat { fill: var(--accent); }
.mmenu .logo__mark .lm-line { stroke: var(--accent); }
.mmenu__body { padding: 18px var(--gut) 32px; display: grid; gap: 26px; }
.mmenu__list a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: .22em 0; font: 400 clamp(2rem, 1.4rem + 3vw, 3rem)/1.08 var(--f-d); text-decoration: none; }
.mmenu__list a small { font: 600 .95rem/1 var(--f-h); opacity: .85; }
.mmenu__list a:hover, .mmenu__list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--senape); text-decoration-thickness: 4px; text-underline-offset: .18em; }
.mmenu .muso { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 2px var(--cream); justify-self: start; }
.mmenu .muso__knob { background: var(--cream); }
.mmenu .muso__opt { color: var(--cream); }
.mmenu .muso__opt[aria-pressed="true"] { color: var(--accent); }
.mmenu__sub { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; }
.mmenu__sub a, .mmenu__sub button { text-decoration: underline; text-underline-offset: .2em; min-height: 40px; }
.mmenu__lbl { font: 600 1.05rem/1 var(--f-h); margin-bottom: 10px; }
.mmenu :focus-visible { outline-color: var(--senape); }

/* ---------- 6. card e scaffali ---------- */
.shelf { --cg: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--cg); row-gap: 44px; }
@media (min-width: 760px) { .shelf { --cg: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 64px; } }
@media (min-width: 1240px) { .shelf--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__top { position: relative; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--paper-2); border-radius: 10px 10px 0 0; overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.card__life { opacity: 0; transform: scale(1.06); }
.card:hover .card__life, .card:focus-within .card__life { opacity: 1; transform: none; }
.card:hover .card__pack { transform: scale(1.03); }
/* l'asse dello scaffale: prosegue nello spazio tra le card */
.card__top + .card__plank { display: block; position: relative; height: 12px; margin-inline: calc(var(--cg) / -2); background: var(--wood); box-shadow: inset 0 3px 0 var(--wood-hi), 0 7px 10px -6px rgba(43, 29, 20, .45); z-index: 1; }
.card__plank::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: linear-gradient(rgba(43, 29, 20, .22), transparent); }
.card .tag { position: absolute; top: 14px; right: 10px; z-index: 2; font-size: clamp(.92rem, .85rem + .3vw, 1.12rem); }
.card:hover .tag { animation: swing 1.1s var(--ease); }
@keyframes swing { 0% { transform: rotate(var(--tr)); } 25% { transform: rotate(6deg); } 50% { transform: rotate(-9deg); } 75% { transform: rotate(-3deg); } 100% { transform: rotate(var(--tr)); } }
.card__stamps { position: absolute; left: 10px; bottom: 14px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; pointer-events: none; }
.card__stamps .stamp { background: rgba(255, 248, 236, .82); }
.card__body { display: flex; flex-direction: column; flex: 1; padding-top: 16px; }
.card__per { display: flex; align-items: center; gap: .45em; font-size: var(--t-xs); font-weight: 700; color: var(--ink-2); }
.card__name { margin-top: 6px; font: 400 clamp(1.12rem, 1rem + .55vw, 1.45rem)/1.08 var(--f-d); letter-spacing: -.01em; }
.card__name a { text-decoration: none; }
.card__name a::after { content: ""; position: absolute; inset: 0 0 auto 0; aspect-ratio: 4 / 5; }
.card__name a:hover { color: var(--accent-ink); }
.card__tagline { margin-top: 6px; font-size: var(--t-sm); line-height: 1.42; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; flex-wrap: wrap; }
.card__fmt { font-size: var(--t-xs); color: var(--ink-2); font-weight: 600; }
.card__foot .key { position: relative; z-index: 3; }
@media (max-width: 479px) {
  .card__tagline { display: none; }
  .card__foot { flex-direction: column; align-items: stretch; }
  .card__foot .key { width: 100%; white-space: normal; text-align: center; padding-inline: .6em; font-size: .86rem; line-height: 1.1; }
  .card .tag { top: 10px; right: 6px; }
  .card__stamps { left: 6px; bottom: 10px; }
  .card__stamps .stamp { font-size: .6rem; }
}

/* intermezzo fotografico dentro lo scaffale */
.shelf__pause { grid-column: 1 / -1; position: relative; display: grid; gap: 18px; align-items: end; }
.shelf__pause .ph { aspect-ratio: 16 / 9; border-radius: var(--r); }
.shelf__pause figcaption { position: absolute; left: 18px; bottom: 18px; right: 18px; max-width: 30ch; padding: .7em 1em; background: var(--cream); border-radius: 12px; font: 600 1.05rem/1.3 var(--f-h); transform: rotate(-1.5deg); }
@media (min-width: 760px) { .shelf__pause .ph { aspect-ratio: 21 / 8; } }

/* ---------- 7. home ---------- */
/* hero: la vetrina */
.hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 110px); }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__hello { font: 600 clamp(1.05rem, .95rem + .5vw, 1.35rem)/1.2 var(--f-h); color: var(--accent-ink); margin-bottom: 14px; }
.hero__h { position: relative; }
.hero__who { position: relative; display: inline-block; color: var(--accent); white-space: nowrap; transition: color .4s; }
.hero__who .squiggle { bottom: -.05em; }
.hero__lede { margin-top: 22px; font-size: var(--t-4); line-height: 1.45; max-width: 34ch; }
.hero__ask { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; }
.hero__ask .hand { font-size: 1.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__shop { position: relative; max-width: 560px; justify-self: center; width: 100%; padding-top: 6px; }
.hero__shop .awning { --s: clamp(26px, 3.4vw, 38px); position: relative; z-index: 2; margin: 0 -14px -14px; border-radius: 6px 6px 0 0; }
.vetrina { position: relative; aspect-ratio: 4 / 5; border-radius: 0 0 var(--r) var(--r); overflow: hidden; background: var(--paper-2); box-shadow: 0 0 0 10px var(--cream), 0 30px 60px -30px rgba(43, 29, 20, .45); }
.vetrina__frame { position: absolute; inset: 0; }
.vetrina__frame img, .vetrina__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__tag { position: absolute; z-index: 3; top: clamp(70px, 9vw, 96px); right: -8px; --tr: 7deg; font-size: clamp(1rem, .9rem + .5vw, 1.3rem); }
.hero__stamp { position: absolute; z-index: 3; left: -14px; bottom: 74px; --rot: -11deg; color: var(--cream); font-size: .74rem; background: rgba(43, 29, 20, .62); }
.hero__note { position: absolute; z-index: 3; right: 6px; bottom: -34px; max-width: 22ch; transform: rotate(-2deg); text-align: right; }
.hero__note svg { position: absolute; right: 100%; top: -28px; width: 54px; height: 40px; transform: scaleX(-1) rotate(10deg); }
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(40px, 5vw, 90px); }
  .hero__h { margin-right: -12%; position: relative; z-index: 4; }
}
@media (max-width: 979px) {
  .hero__shop { max-width: 460px; margin-top: 10px; }
  .hero__note { position: static; display: block; margin: 18px 0 0 auto; }
  .hero__note svg { display: none; }
}

/* sul banco */
.banco__head { display: grid; gap: 18px; margin-bottom: clamp(34px, 4vw, 60px); }
.banco__side { max-width: 40ch; color: var(--ink-2); }
.banco__side .link { display: inline-block; margin-top: 10px; color: var(--ink); }
@media (min-width: 900px) { .banco__head { grid-template-columns: 1fr auto; align-items: end; } .banco__side { text-align: right; } }

/* etichette */
.etic { position: relative; overflow: hidden; overflow-x: clip; color: var(--ink); background: radial-gradient(circle min(26vw, 360px) at calc(100% - 12vw) calc(100% - 8vw), rgba(255, 248, 236, .28) 99%, transparent 100%), var(--senape); }
.etic__grid { display: grid; gap: 36px; padding-block: var(--sec); position: relative; }
.etic__intro p { margin-top: 18px; max-width: 38ch; font-size: var(--t-4); line-height: 1.45; }
.etic__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.etic__tab { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 16px 6px 6px; border-radius: 14px; background: rgba(255, 248, 236, .55); font-weight: 700; font-size: .95rem; transition: background-color .2s, transform .2s var(--bounce); }
.etic__tab img { width: 44px; height: 55px; object-fit: cover; border-radius: 8px; }
.etic__tab:hover { background: var(--cream); transform: translateY(-2px); }
.etic__tab[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.etic__card { position: relative; display: grid; gap: 0; background: var(--cream); border-radius: 6px; box-shadow: 0 24px 50px -30px rgba(43, 29, 20, .55); transform: rotate(-1.2deg); }
.etic__card .ph { aspect-ratio: 4 / 5; border-radius: 6px 6px 0 0; }
.etic__paper { padding: 24px 22px 26px; background: repeating-linear-gradient(180deg, transparent 0 33px, rgba(43, 29, 20, .1) 33px 34px); background-position: 0 14px; }
.etic__name { font: 400 var(--t-3)/1.05 var(--f-d); }
.etic__list { margin-top: 12px; font: 600 clamp(1.15rem, 1rem + .7vw, 1.55rem)/34px var(--f-h); }
.etic__list li { display: flex; gap: .5em; align-items: baseline; }
.etic__list li::before { content: "+"; color: var(--accent-ink); font-weight: 700; }
.etic__list li:first-child::before { content: "·"; }
.etic__end { margin-top: 8px; font: 700 clamp(1.15rem, 1rem + .7vw, 1.55rem)/34px var(--f-h); color: var(--accent-ink); }
.etic__tally { position: absolute; right: 16px; top: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--cream); border-radius: 12px; transform: rotate(4deg); box-shadow: 0 2px 0 rgba(43, 29, 20, .15); }
.etic__tally svg { height: 40px; width: auto; color: var(--accent); }
.etic__tally b { font: 400 2.1rem/1 var(--f-d); }
.etic__tally span { font: 600 .9rem/1.1 var(--f-h); }
.etic__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }

@media (min-width: 900px) {
  .etic__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(40px, 6vw, 110px); }
  .etic__card { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
  .etic__card .ph { aspect-ratio: auto; min-height: 360px; border-radius: 6px 0 0 6px; }
  .etic__card .ph img { position: absolute; inset: 0; }
}

/* la compagnia */
.cast__head { display: grid; gap: 16px; margin-bottom: clamp(34px, 5vw, 72px); }
.cast__head p { max-width: 44ch; font-size: var(--t-4); line-height: 1.45; }
@media (min-width: 900px) { .cast__head { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: end; } }
.cast__list { display: grid; gap: 28px; }
@media (min-width: 700px) { .cast__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .cast__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 30px; } }
html[data-muso="gatto"] .idcard--gatto { order: -1; }
.idcard {
  --rr: -1.2deg;
  position: relative; display: grid; grid-template-columns: 42% 1fr; gap: 14px; padding: 16px 16px 18px;
  background: #F1DDB9; color: var(--ink); border-radius: 8px; transform: rotate(var(--rr));
  background-image: linear-gradient(90deg, rgba(43, 29, 20, .05) 1px, transparent 1px), linear-gradient(rgba(43, 29, 20, .05) 1px, transparent 1px);
  background-size: 18px 18px;
  box-shadow: 0 2px 0 rgba(43, 29, 20, .12), 0 22px 40px -28px rgba(43, 29, 20, .6);
  transition: transform .4s var(--bounce);
}
.idcard:nth-child(2n) { --rr: 1.1deg; }
.idcard:nth-child(3n) { --rr: -.4deg; }
.idcard:hover { transform: rotate(0) translateY(-4px); }
.idcard__top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 8px; border-bottom: 2px solid rgba(43, 29, 20, .5); font: 700 .66rem/1.2 var(--f-t); letter-spacing: .12em; text-transform: uppercase; }
.idcard__top span:last-child { font-family: var(--f-h); text-transform: none; letter-spacing: 0; font-size: .85rem; color: var(--ink-2); }
.idcard__pic { position: relative; aspect-ratio: 4 / 5; border-radius: 3px; box-shadow: 0 0 0 4px var(--cream); align-self: start; }
.idcard__pic .stamp { position: absolute; right: -16px; bottom: -10px; color: var(--accent-ink); background: rgba(241, 221, 185, .5); --rot: -14deg; font-size: .58rem; }
.idcard--gatto .idcard__pic .stamp { color: var(--bosco); }
.idcard--cane .idcard__pic .stamp { color: var(--terra-deep); }
.idcard dl { display: grid; gap: 7px; align-content: start; font-size: .86rem; line-height: 1.25; }
.idcard dt { font: 700 .6rem/1.1 var(--f-t); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.idcard dd { font: 600 .98rem/1.2 var(--f-h); }
.idcard__name dd { font: 400 1.55rem/1 var(--f-d); letter-spacing: -.01em; }
.idcard__with { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-top: 10px; border-top: 2px dotted rgba(43, 29, 20, .35); font-size: .86rem; }
.idcard__with span { font: 700 .6rem/1 var(--f-t); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.idcard__with a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.idcard__with a:hover { color: var(--accent-ink); }
.idcard__with:last-of-type { padding-right: 40px; }
.idcard__sign { position: absolute; right: 14px; bottom: 12px; width: 34px; height: 34px; color: var(--ink); opacity: .7; transform: rotate(18deg); }

/* la giornata */
.day { background: var(--cream); overflow: hidden; overflow-x: clip; }
.day__head { display: grid; gap: 16px; margin-bottom: 34px; }
.day__head p { max-width: 42ch; color: var(--ink-2); font-size: var(--t-4); line-height: 1.45; }
.day__nav { display: flex; gap: 10px; }
.day__nav button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); box-shadow: inset 0 0 0 2px var(--ink); transition: background-color .2s; }
.day__nav button:hover { background: var(--senape); }
.day__nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) { .day__head { grid-template-columns: 1fr auto auto; align-items: end; gap: 30px; } }
.day__track { position: relative; width: 100%; max-width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 400px); gap: clamp(16px, 2.4vw, 30px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--gut) 26px; scroll-padding-inline: var(--gut); scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
@media (min-width: 1380px) { .day__track { padding-inline: calc((100vw - var(--wrap)) / 2 + var(--gut)); scroll-padding-inline: calc((100vw - var(--wrap)) / 2 + var(--gut)); } }
.day__track:focus-visible { outline-offset: -3px; }
.slot { scroll-snap-align: start; display: flex; flex-direction: column; }
.slot__pic { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); }
.slot:nth-child(2n) .slot__pic { border-radius: 120px 120px var(--r) var(--r); }
.slot__time { position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--cream); color: var(--ink); font: 400 1.35rem/1 var(--f-d); box-shadow: inset 0 0 0 3px var(--accent), 0 4px 0 rgba(43, 29, 20, .14); transform: rotate(-8deg); }
.slot:nth-child(2n) .slot__time { left: auto; right: 14px; top: 26px; transform: rotate(7deg); }
.slot h3 { margin-top: 18px; font: 400 var(--t-3)/1.05 var(--f-d); }
.slot p { margin-top: 8px; color: var(--ink-2); font-size: var(--t-sm); max-width: 38ch; }
.slot__go { margin-top: 12px; display: inline-flex; align-items: center; gap: .5em; font: 700 1rem/1.2 var(--f-h); color: var(--accent-ink); text-decoration: none; }
.slot__go:hover { text-decoration: underline; }
.slot__go svg { width: 34px; height: 18px; }
.slot__free { margin-top: 12px; font: 600 1rem/1.2 var(--f-h); color: var(--ink-2); }

/* teaser del gioco */
.gt { background: var(--accent); color: var(--on-accent); position: relative; overflow: hidden; overflow-x: clip; transition: background-color .4s; }
.gt__grid { display: grid; gap: 50px; padding-block: var(--sec); align-items: center; }
.gt__copy p { margin-top: 20px; font-size: var(--t-4); line-height: 1.45; max-width: 36ch; }
.gt__copy .key { margin-top: 30px; }
.gt__copy .fine { margin-top: 14px; color: var(--cream); max-width: 44ch; }
.gt__deck { position: relative; height: clamp(300px, 34vw, 440px); max-width: 520px; width: 100%; justify-self: center; }
.gt__card { position: absolute; width: 62%; aspect-ratio: 5 / 7; padding: 22px 20px; border-radius: 16px; background: var(--cream); color: var(--ink); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); display: flex; flex-direction: column; justify-content: space-between; transition: transform .5s var(--bounce); }
.gt__card svg { width: 60%; height: auto; color: var(--accent); align-self: center; }
.gt__card p { font: 400 clamp(1.1rem, .9rem + .8vw, 1.5rem)/1.05 var(--f-d); }
.gt__card small { font: 600 .9rem/1.1 var(--f-h); color: var(--ink-2); }
.gt__card:nth-child(1) { left: 0; top: 8%; transform: rotate(-12deg); background: var(--senape-soft); }
.gt__card:nth-child(2) { left: 19%; top: 2%; transform: rotate(-2deg); }
.gt__card:nth-child(3) { right: 0; top: 10%; transform: rotate(10deg); background: var(--paper-2); }
.gt__deck:hover .gt__card:nth-child(1) { transform: rotate(-18deg) translate(-12px, 6px); }
.gt__deck:hover .gt__card:nth-child(3) { transform: rotate(16deg) translate(12px, 6px); }
.gt__blob { position: absolute; left: -10vw; top: -12vw; width: 38vw; max-width: 520px; aspect-ratio: 1; background: rgba(255, 248, 236, .08); border-radius: 46% 54% 60% 40% / 50% 42% 58% 50%; pointer-events: none; }
@media (min-width: 900px) { .gt__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* scontrini dei kit */
.kits__grid { display: grid; gap: 40px; }
.kits__intro p { margin-top: 18px; max-width: 38ch; font-size: var(--t-4); line-height: 1.45; color: var(--ink-2); }
.kits__list { display: grid; gap: 44px; }
@media (min-width: 1000px) {
  .kits__grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; }
  .kits__intro { position: sticky; top: calc(var(--hdr) + 30px); }
}
.kit { display: grid; gap: 18px; align-items: start; }
@media (min-width: 640px) { .kit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; } .kit:nth-child(2n) .kit__pic { order: 2; } }
.kit__pic { aspect-ratio: 4 / 5; border-radius: var(--r); position: relative; }
.kit__pic .tag { position: absolute; top: 18px; left: 18px; --tr: -5deg; }
.receipt {
  position: relative; padding: 26px 22px 30px; background: #FFFDF7; color: var(--ink);
  font-size: .9rem; font-variant-numeric: tabular-nums; box-shadow: 0 16px 30px -22px rgba(43, 29, 20, .55);
  --z: 9px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--z) * 2) var(--z) repeat-x, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--z) * 2) var(--z) repeat-x, linear-gradient(#000 0 0) center / 100% calc(100% - var(--z) * 2) no-repeat;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--z) * 2) var(--z) repeat-x, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--z) * 2) var(--z) repeat-x, linear-gradient(#000 0 0) center / 100% calc(100% - var(--z) * 2) no-repeat;
}
@media (min-width: 640px) { .kit .receipt { margin: 34px -10px 0 -24px; transform: rotate(1.6deg); } .kit:nth-child(2n) .receipt { margin: 34px -24px 0 -10px; transform: rotate(-1.4deg); } }
.receipt__head { text-align: center; padding-bottom: 12px; border-bottom: 2px dashed rgba(43, 29, 20, .35); }
.receipt__head b { display: block; font: 400 1.5rem/1 var(--f-d); }
.receipt__head span { display: block; margin-top: 6px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.receipt h3 { margin: 14px 0 8px; font: 400 1.3rem/1.1 var(--f-d); }
.receipt h3 a { text-decoration: none; }
.receipt h3 a:hover { color: var(--accent-ink); }
.receipt ul { display: grid; gap: 6px; padding-bottom: 12px; border-bottom: 2px dashed rgba(43, 29, 20, .35); }
.receipt li, .receipt__row { display: flex; justify-content: space-between; gap: 12px; text-transform: uppercase; letter-spacing: .03em; }
.receipt li span:first-child { min-width: 0; }
.receipt__rows { display: grid; gap: 6px; padding-top: 12px; }
.receipt__row.is-total { font: 400 1.35rem/1.2 var(--f-d); text-transform: none; letter-spacing: 0; }
.receipt__row.is-save { color: var(--accent-ink); font-weight: 700; }
.receipt__thanks { margin-top: 14px; text-align: center; font: 600 1.05rem/1.2 var(--f-h); color: var(--ink-2); }
.receipt .key { margin-top: 16px; }

/* il cartello sulla porta */
.porta__grid { display: grid; gap: 36px; align-items: center; }
.porta__pic { aspect-ratio: 4 / 5; border-radius: 220px 220px var(--r) var(--r); max-width: 560px; }
.sign-wrap { position: relative; padding-top: 70px; max-width: 560px; }
/* il cartello è ruotato di 2°: su schermi stretti il suo ingombro supera la colonna, lo rientro */
@media (max-width: 599px) { .sign-wrap { margin-inline: 12px; } }
.porta { overflow-x: clip; }
.sign-wrap::before, .sign-wrap::after { content: ""; position: absolute; top: 0; width: 2px; height: 82px; background: var(--ink-2); transform-origin: top; }
.sign-wrap::before { left: 30%; transform: rotate(28deg); }
.sign-wrap::after { right: 30%; transform: rotate(-28deg); }
.sign { position: relative; padding: 34px clamp(22px, 4vw, 44px) 32px; background: var(--ink); color: var(--cream); border-radius: 22px; box-shadow: inset 0 0 0 6px var(--ink), inset 0 0 0 8px var(--senape), 0 24px 40px -26px rgba(43, 29, 20, .7); transform: rotate(-2deg); transform-origin: 50% -70px; }
.sign::before { content: ""; position: absolute; left: 50%; top: -8px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--senape); box-shadow: 0 0 0 3px var(--ink); }
.sign__open { font: 400 clamp(3rem, 2rem + 4vw, 5.2rem)/.9 var(--f-d); color: var(--senape); }
.sign__open small { display: block; margin-top: 10px; font: 600 1.1rem/1.2 var(--f-h); color: var(--cream); }
.sign ul { margin-top: 24px; display: grid; gap: 14px; }
.sign li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-size: 1.02rem; line-height: 1.4; }
.sign li svg { width: 30px; height: 30px; color: var(--senape); }
.sign li b { color: var(--senape); }
.sign .link { color: var(--cream); text-decoration-color: var(--senape); display: inline-block; margin-top: 22px; }
.sign:hover { animation: sway 1.6s var(--ease); }
@keyframes sway { 25% { transform: rotate(2deg); } 55% { transform: rotate(-3.5deg); } 80% { transform: rotate(-1deg); } }
@media (min-width: 900px) { .porta__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); } }

/* ---------- 8. negozio ---------- */
.shop-hero { display: grid; gap: 26px; padding-block: clamp(26px, 4vw, 54px) clamp(30px, 4vw, 56px); align-items: end; }
.shop-hero h1 { margin-top: 18px; }
.shop-hero p { margin-top: 16px; max-width: 42ch; font-size: var(--t-4); line-height: 1.45; color: var(--ink-2); }
.shop-hero__pic { display: none; }
@media (min-width: 900px) {
  .shop-hero { grid-template-columns: minmax(0, 1fr) 300px; }
  .shop-hero__pic { display: block; aspect-ratio: 4 / 5; border-radius: 150px 150px var(--r) var(--r); transform: rotate(2deg); }
}
.shop-bar { display: grid; gap: 16px; padding-block: 18px 22px; margin-bottom: clamp(26px, 3vw, 44px); border-block: 3px solid var(--ink); }
.shop-bar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.shop-bar__lbl { font: 600 1.05rem/1 var(--f-h); color: var(--ink-2); }
.shop-bar__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.shop-bar__count { font-weight: 700; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); font-weight: 600; }
.sort select { min-height: 44px; padding: 0 2.2em 0 .9em; border: 0; border-radius: 12px; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%232B1D14' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right .7em center / 16px; box-shadow: inset 0 0 0 2px var(--ink); appearance: none; -webkit-appearance: none; font-weight: 700; }
@media (min-width: 1000px) { .shop-bar { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; } .shop-bar__end { justify-content: flex-end; } }
.empty { grid-column: 1 / -1; display: grid; justify-items: start; gap: 14px; padding: 40px 0 20px; max-width: 520px; }
.empty svg { width: 110px; height: 110px; color: var(--accent); }
.empty h2 { font: 400 var(--t-3)/1.05 var(--f-d); }
.empty p { color: var(--ink-2); }
.shop-foot { padding-block: var(--sec) 0; }

/* ---------- 9. scheda prodotto ---------- */
.pdp { display: grid; gap: 34px; padding-block: 18px 30px; }
@media (min-width: 960px) { .pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 5vw, 80px); align-items: start; } .pdp__info { position: sticky; top: calc(var(--hdr) + 20px); } }
.gallery { display: grid; gap: 12px; min-width: 0; max-width: 100%; }
.gallery__track, .gallery__thumbs { width: 100%; max-width: 100%; }
.gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r); scrollbar-width: none; background: var(--paper-2); }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { position: relative; aspect-ratio: 4 / 5; scroll-snap-align: start; overflow: hidden; }
.gallery__slide img, .gallery__slide video { width: 100%; height: 100%; object-fit: cover; }
.gallery__cap { position: absolute; left: 14px; bottom: 14px; padding: .3em .6em; border-radius: 8px; background: rgba(255, 248, 236, .9); font: 600 .9rem/1.2 var(--f-h); }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 2px; }
.gallery__thumb { flex: none; width: 66px; aspect-ratio: 4 / 5; border-radius: 9px; overflow: hidden; background: var(--paper-2); opacity: .7; transition: opacity .2s, box-shadow .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 3px var(--accent); }
.pdp__per { display: inline-flex; align-items: center; gap: .5em; margin-top: 16px; font-weight: 700; font-size: var(--t-sm); }
.pdp h1 { margin-top: 10px; font: 400 clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem)/.96 var(--f-d); letter-spacing: -.015em; text-wrap: balance; }
.pdp__tagline { margin-top: 14px; font-size: var(--t-4); line-height: 1.42; max-width: 36ch; }
.pdp__price { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
.pdp__price .tag { font-size: 1.6rem; --tr: -4deg; margin-left: 1.4em; }
.pdp__vat { font-size: var(--t-xs); color: var(--ink-2); margin-top: 10px; }
.pdp__vat a { color: inherit; }
.pdp__block { margin-top: 24px; }
.pdp__label { font-weight: 700; font-size: var(--t-sm); margin-bottom: 10px; }
.pdp__label span { font-weight: 500; color: var(--ink-2); }
.sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sizes span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 2px var(--ink); font: 400 1.25rem/1 var(--f-d); transition: background-color .2s, color .2s, transform .2s var(--bounce); }
.sizes input:checked + span { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 0 0 2px var(--accent), inset 0 -4px 0 rgba(0, 0, 0, .22); transform: rotate(-8deg); }
.sizes input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.buy { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.buy .qty button { height: 52px; width: 46px; }
.buy .key { flex: 1; min-width: 220px; }
.pdp__promise { display: grid; gap: 8px; margin-top: 22px; }
.pdp__promise li { display: flex; gap: .55em; align-items: center; font: 600 1rem/1.25 var(--f-h); color: var(--ink-2); }
.pdp__promise svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.pdp__desc { margin-top: 26px; max-width: 60ch; }
.pdp .receipt { margin-top: 28px; }
.acc { margin-top: 28px; display: grid; gap: 10px; }
.acc__item { background: var(--cream); border-radius: 14px; }
.acc__item h3 { font: inherit; }
.acc__btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; min-height: 56px; text-align: left; font: 400 1.15rem/1.15 var(--f-d); }
.acc__icon { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); flex: none; transition: transform .3s var(--ease), background-color .2s; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.4px; margin: -1.2px 0 0 -6px; background: var(--ink); border-radius: 2px; }
.acc__icon::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.acc__item.is-open .acc__icon { background: var(--senape); }
.acc__item.is-open .acc__icon::after { transform: rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__content { padding: 0 18px 18px; font-size: var(--t-sm); line-height: 1.55; display: grid; gap: 10px; max-width: 64ch; }
.acc__content ul { display: grid; gap: 6px; padding-left: 1.1em; list-style: disc; }
.acc__content li::marker { color: var(--accent); }
.acc__content a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .2em; }
.pdp-sec { padding-block: clamp(56px, 7vw, 110px) 0; }
.pdp-sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px; margin-bottom: 30px; }
.reviews { display: grid; gap: 16px; padding: 26px; background: var(--cream); border-radius: var(--r); align-items: center; }
.reviews__empty { display: flex; gap: 18px; align-items: center; max-width: 64ch; }
.reviews__empty svg { width: 72px; height: 72px; flex: none; color: var(--accent); }
.reviews__empty p { font-size: var(--t-sm); }
.reviews__empty b { display: block; font: 400 1.25rem/1.1 var(--f-d); margin-bottom: 4px; }
.notfound { display: grid; gap: 18px; justify-items: start; padding-block: 50px 20px; max-width: 640px; }
.notfound svg { width: 120px; height: 120px; color: var(--accent); }
.notfound p { font-size: var(--t-4); color: var(--ink-2); }
.notfound__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.sticky-buy { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: var(--cream); box-shadow: 0 -10px 30px -18px rgba(43, 29, 20, .5); transform: translateY(110%); transition: transform .35s var(--ease); }
.sticky-buy.is-on { transform: none; }
.sticky-buy__info { min-width: 0; }
.sticky-buy__info strong { display: block; font: 400 1.02rem/1.15 var(--f-d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__info span { font-size: var(--t-xs); color: var(--ink-2); font-weight: 600; }
@media (min-width: 960px) { .sticky-buy { display: none; } }

/* ---------- 10. il gioco della sporta ---------- */
.game-hero { display: grid; gap: 20px; padding-block: clamp(26px, 4vw, 54px) 30px; }
.game-hero h1 { margin-top: 14px; }
.game-hero p { max-width: 44ch; font-size: var(--t-4); line-height: 1.45; color: var(--ink-2); }
@media (min-width: 900px) { .game-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; } }
.table { position: relative; margin-bottom: var(--sec); padding: clamp(20px, 4vw, 54px); border-radius: 28px; background: var(--accent); color: var(--on-accent); overflow: hidden; overflow-x: clip; transition: background-color .4s; }
.table::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 10%, rgba(255, 255, 255, .1), transparent 40%), radial-gradient(circle at 90% 90%, rgba(0, 0, 0, .12), transparent 45%); pointer-events: none; }
.table__in { position: relative; display: grid; gap: 22px; max-width: 980px; margin-inline: auto; }
.bones { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bones svg { width: 38px; height: 22px; }
.bones path { fill: transparent; stroke: var(--cream); stroke-width: 1.8; transition: fill .3s; }
.bones .is-full path { fill: var(--senape); stroke: var(--ink); }
.bones .is-now path { stroke-dasharray: 3 3; }
.bones__txt { margin-left: 8px; font: 600 1rem/1 var(--f-h); }
.qcard { position: relative; padding: clamp(22px, 3.6vw, 42px); background: var(--cream); color: var(--ink); border-radius: 22px; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .55); animation: deal .55s var(--bounce); }
.qcard--back { animation-name: dealback; }
@keyframes deal { from { opacity: 0; transform: translateY(26px) rotate(1.5deg) scale(.96); } }
@keyframes dealback { from { opacity: 0; transform: translateY(26px) rotate(-1.5deg) scale(.96); } }
.qcard__q { font: 400 clamp(1.8rem, 1.3rem + 2.2vw, 3.1rem)/1 var(--f-d); letter-spacing: -.015em; }
.qcard__q:focus { outline: none; }
.qcard__help { margin-top: 10px; font: 600 1.05rem/1.3 var(--f-h); color: var(--ink-2); }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; margin-top: 24px; }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.opt__box { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; min-height: 92px; padding: 14px 16px; border-radius: 16px; background: var(--paper-2); box-shadow: inset 0 0 0 2px transparent; transition: background-color .2s, box-shadow .2s, transform .25s var(--bounce); }
.opt__box svg { width: 56px; height: 56px; color: var(--accent); }
.opt__box strong { display: block; font: 400 1.25rem/1.1 var(--f-d); }
.opt__box small { display: block; margin-top: 4px; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.35; }
.opt:hover .opt__box { background: var(--paper-3); transform: translateY(-2px) rotate(-.6deg); }
.opt input:checked + .opt__box { background: var(--accent-soft); box-shadow: inset 0 0 0 3px var(--accent); transform: rotate(-1deg); }
.opt input:focus-visible + .opt__box { outline: 3px solid var(--ink); outline-offset: 3px; }
.opt input[type="checkbox"] + .opt__box::after { content: ""; position: absolute; right: 14px; top: 14px; width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--ink); background: var(--cream); }
.opt input[type="checkbox"]:checked + .opt__box::after { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23FFF8EC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: none; }
.qcard__err { min-height: 1.4em; margin-top: 12px; font-weight: 700; color: var(--terra-deep); }
.qcard__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.qcard__back { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.qcard__back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }


.result-head { display: grid; gap: 12px; }
.result-head h2 { font: 400 clamp(1.8rem, 1.3rem + 2vw, 2.9rem)/1 var(--f-d); letter-spacing: -.01em; }
.result-head h2:focus { outline: none; }
.result-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.result-tags li { padding: .3em .7em; border-radius: 8px; background: var(--paper-2); font: 600 .95rem/1.2 var(--f-h); }
.set { display: grid; gap: 10px; margin-top: 18px; }
.set__item { display: grid; grid-template-columns: auto 70px 1fr; gap: 14px; align-items: start; padding: 12px; border-radius: 16px; background: var(--paper); transition: opacity .2s; }
.set__item.is-off { opacity: .5; }
.set__check { width: 24px; height: 24px; margin: 6px 0 0; accent-color: var(--accent); cursor: pointer; }
.set__img { display: block; width: 70px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--paper-2); }
@media (max-width: 459px) { .set__item { grid-template-columns: auto 1fr; } .set__img { display: none; } }
.set__img img { width: 100%; height: 100%; object-fit: cover; }
.set__meta { font: 600 .9rem/1.2 var(--f-h); color: var(--ink-2); }
.set__name { display: inline-block; margin-top: 2px; font: 400 1.18rem/1.15 var(--f-d); text-decoration: none; }
.set__name:hover { color: var(--accent-ink); }
.set__price { margin-top: 4px; font-weight: 700; display: flex; gap: 10px; align-items: baseline; }
.set__price s { color: var(--ink-2); font-weight: 500; font-size: .9em; }
.set__why { margin-top: 4px; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.4; }
.set__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 18px 20px; border-radius: 16px; background: var(--ink); color: var(--cream); }
.set__total small { display: block; font: 600 .95rem/1 var(--f-h); opacity: .85; }
.set__total strong { display: block; font: 400 2rem/1.1 var(--f-d); margin-top: 4px; }
.set__total span { display: block; font-size: var(--t-xs); opacity: .85; margin-top: 2px; }
.set__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.set__restart { min-height: 44px; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.game-note { margin-top: 16px; font-size: var(--t-xs); color: var(--ink-2); max-width: 70ch; }
.game-how { display: grid; gap: 22px; padding-bottom: var(--sec); }
.game-how li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.game-how svg { width: 56px; height: 56px; color: var(--accent); }
.game-how h3 { font: 400 1.3rem/1.1 var(--f-d); }
.game-how p { margin-top: 4px; color: var(--ink-2); font-size: var(--t-sm); max-width: 40ch; }
@media (min-width: 900px) { .game-how { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- 11. pagine di contenuto ---------- */
.page-hero { padding-block: clamp(26px, 4vw, 54px) clamp(30px, 4vw, 60px); }
.page-hero h1 { margin-top: 16px; }
.page-hero .lede { margin-top: 18px; color: var(--ink-2); }

/* chi siamo */
.about-hero { display: grid; gap: 34px; padding-block: clamp(26px, 4vw, 54px) var(--sec); align-items: center; }
.about-hero .lede { margin-top: 22px; }
.about-hero__pics { position: relative; height: clamp(360px, 46vw, 600px); }
.about-hero__pics .ph { position: absolute; border-radius: var(--r); box-shadow: 0 0 0 8px var(--cream); }
.about-hero__pics .ph:nth-child(1) { left: 0; top: 0; width: 62%; aspect-ratio: 4 / 5; transform: rotate(-3deg); }
.about-hero__pics .ph:nth-child(2) { right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 5; transform: rotate(4deg); border-radius: 140px 140px var(--r) var(--r); }
.about-hero__pics .stamp { position: absolute; left: 44%; top: 46%; z-index: 2; background: var(--cream); }
@media (min-width: 960px) { .about-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.muso-def { background: var(--ink); color: var(--cream); }
.muso-def__in { display: grid; gap: 30px; padding-block: var(--sec); }
.muso-def dl { display: grid; gap: 20px; }
.muso-def dt { font: 400 var(--t-1)/.95 var(--f-d); color: var(--senape); }
.muso-def dt small { font: 600 1.1rem/1 var(--f-h); color: var(--cream); margin-left: .4em; letter-spacing: 0; }
.muso-def dd { font-size: var(--t-4); line-height: 1.5; max-width: 46ch; }
.muso-def dd + dd { color: rgba(255, 248, 236, .8); }
.muso-def dd em { font-style: normal; color: var(--senape); }
@media (min-width: 960px) { .muso-def__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.rules { display: grid; gap: 26px; }
.rules__note { position: relative; padding: 30px clamp(22px, 3vw, 40px) 34px; background: #FFFDF7; border-radius: 4px; box-shadow: 0 20px 40px -28px rgba(43, 29, 20, .55); transform: rotate(-1deg); background-image: repeating-linear-gradient(180deg, transparent 0 37px, rgba(33, 80, 58, .14) 37px 38px); background-position: 0 64px; }
.rules__note::before { content: ""; position: absolute; left: 50%; top: -14px; width: 110px; height: 30px; margin-left: -55px; background: rgba(229, 170, 53, .7); transform: rotate(-3deg); }
.rules__note h2 { font: 400 var(--t-3)/1.05 var(--f-d); margin-bottom: 18px; }
.rules__note ul { display: grid; gap: 0; }
.rules__note li { font: 600 clamp(1.05rem, .95rem + .4vw, 1.25rem)/38px var(--f-h); padding-left: 1.4em; position: relative; }
.rules__note li::before { content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 10px; border: solid var(--accent); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.rules__note--no li::before { width: 14px; height: 14px; top: 12px; border: 0; background: linear-gradient(45deg, transparent 43%, var(--terra) 43% 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, var(--terra) 43% 57%, transparent 57%); transform: none; }
@media (min-width: 900px) { .rules { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } .rules__note--no { transform: rotate(1.4deg); margin-top: 40px; } }
.colors { display: grid; gap: 18px; }
.colors__item { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; }
.colors__item .ph { aspect-ratio: 4 / 5; border-radius: 12px; }
.colors__item h3 { font: 400 1.4rem/1.1 var(--f-d); display: flex; align-items: center; gap: .4em; }
.colors__item p { margin-top: 4px; color: var(--ink-2); font-size: var(--t-sm); }
@media (min-width: 900px) { .colors { grid-template-columns: repeat(3, minmax(0, 1fr)); } .colors__item { grid-template-columns: 1fr; } }
.split-head { display: grid; gap: 16px; margin-bottom: clamp(30px, 4vw, 54px); }
.split-head p { max-width: 44ch; color: var(--ink-2); font-size: var(--t-4); line-height: 1.45; }
@media (min-width: 900px) { .split-head { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: end; } }
.wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wall .ph { aspect-ratio: 4 / 5; border-radius: 12px; }
.wall .ph:nth-child(3n+1) { border-radius: 90px 90px 12px 12px; }
@media (min-width: 760px) { .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } .wall .ph:nth-child(even) { transform: translateY(40px); } }
.cta-band { display: grid; gap: 22px; padding: clamp(28px, 5vw, 60px); background: var(--senape); border-radius: 28px; align-items: center; margin-bottom: var(--sec); }
.cta-band p { max-width: 40ch; margin-top: 12px; font-size: var(--t-4); line-height: 1.45; }
.cta-band__keys { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }

/* aiuto */
.help { display: grid; gap: 40px; padding-bottom: var(--sec); }
.help__nav { display: flex; flex-wrap: wrap; gap: 10px 8px; padding: 4px 2px 10px; }

.help__nav a { flex: none; }
@media (min-width: 1000px) {
  .help { grid-template-columns: 240px minmax(0, 1fr); gap: 60px; }
  .help__nav { position: sticky; top: calc(var(--hdr) + 24px); align-self: start; flex-direction: column; align-items: flex-start; overflow: visible; }
}
.help__sec { padding-bottom: clamp(40px, 5vw, 70px); }
.help__sec + .help__sec { padding-top: clamp(30px, 4vw, 50px); border-top: 3px solid var(--ink); }
.help__sec > h2 { font: 400 var(--t-2)/1 var(--f-d); margin-bottom: 22px; }
.facts { display: grid; gap: 12px; margin-bottom: 22px; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fact { position: relative; padding: 18px 18px 20px 30px; background: var(--cream); font-size: var(--t-sm); color: var(--ink-2); clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); }
.fact strong { display: block; font: 400 1.6rem/1.05 var(--f-d); color: var(--ink); margin-bottom: 6px; }
.prose { display: grid; gap: 14px; max-width: 68ch; }
.prose ul { display: grid; gap: 6px; padding-left: 1.2em; list-style: disc; }
.prose li::marker { color: var(--accent); }
.contact { padding: 26px; border-radius: var(--r); background: var(--ink); color: var(--cream); display: grid; gap: 10px; }
.contact h3 { font: 400 var(--t-3)/1.05 var(--f-d); color: var(--senape); }
.contact a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--senape); }
.co-box { display: grid; gap: 2px; padding: 16px 18px; border-radius: 12px; background: var(--cream); font-size: var(--t-sm); margin-top: 14px; }

/* testi legali */
.legal { padding-bottom: var(--sec); display: grid; gap: 14px; max-width: 72ch; }
.legal h2 { margin-top: 26px; font: 400 1.6rem/1.1 var(--f-d); }
.legal ul { display: grid; gap: 8px; padding-left: 1.2em; list-style: disc; }
.legal li::marker { color: var(--accent); }
.legal__updated { font: 600 1.05rem/1.2 var(--f-h); color: var(--ink-2); }
.legal .co-box, .legal .notice { margin-top: 4px; }

/* 404 */
.lost { display: grid; gap: 34px; padding-block: clamp(30px, 5vw, 70px) var(--sec); align-items: center; }
.lost .ph { aspect-ratio: 4 / 5; border-radius: 200px 200px var(--r) var(--r); max-width: 460px; }
.lost p { margin-top: 18px; font-size: var(--t-4); line-height: 1.45; color: var(--ink-2); max-width: 38ch; }
.lost__keys { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (min-width: 900px) { .lost { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

/* ---------- 12. piè di pagina ---------- */
.ftr { position: relative; background: var(--ink); color: var(--cream); margin-top: 0; }
.ftr > .awning { --a2: var(--cream); }
.ftr__top { display: grid; gap: 44px; padding-block: clamp(46px, 6vw, 90px) 40px; }
.news h2 { font: 400 var(--t-2)/1 var(--f-d); color: var(--senape); }
.news p { margin-top: 14px; max-width: 42ch; color: rgba(255, 248, 236, .85); }
.news form { margin-top: 22px; max-width: 520px; min-width: 0; }
.news__row { display: flex; gap: 8px; padding: 6px; border-radius: 16px; background: var(--cream); }
.news__row input { flex: 1 1 0; width: 100%; min-width: 0; min-height: 50px; padding: 0 12px; border: 0; background: none; color: var(--ink); font-size: 1.05rem; }
.news__row input::placeholder { color: #8A715F; }
.news__row input:focus-visible { outline: none; }
.news__row:focus-within { box-shadow: 0 0 0 3px var(--senape); }
.news__msg { min-height: 1.4em; margin-top: 10px; font-weight: 600; font-size: var(--t-sm); color: var(--senape-soft); }
.news__msg.is-error { color: #FFB59A; }
.news__fine { margin-top: 6px; font-size: var(--t-xs); color: rgba(255, 248, 236, .72); }
.news__fine a { color: inherit; }
.ftr__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
.ftr__cols h3 { font: 600 1.15rem/1 var(--f-h); color: var(--senape); margin-bottom: 12px; }
.ftr__cols ul { display: grid; gap: 2px; }
.ftr__cols a { display: inline-block; padding: 6px 0; text-decoration: none; color: rgba(255, 248, 236, .9); }
.ftr__cols a:hover { color: var(--senape); text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 760px) { .ftr__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ftr__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 80px; } }
.ftr__word { display: flex; align-items: flex-end; justify-content: center; gap: .1em; padding-inline: var(--gut); font: 400 clamp(3.4rem, 16.5vw, 17rem)/.78 var(--f-d); letter-spacing: -.04em; color: var(--accent); white-space: nowrap; overflow: hidden; transition: color .4s; user-select: none; }
html[data-muso="gatto"] .ftr__word { color: #3B7A59; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px 30px; font-size: var(--t-xs); color: rgba(255, 248, 236, .75); border-top: 2px dashed rgba(255, 248, 236, .18); }
.ftr__bottom .footer-company { display: block; }
.ftr__social { display: flex; gap: 16px; }
.ftr__social a { color: var(--cream); }
.ftr :focus-visible { outline-color: var(--senape); }

/* ---------- 13. movimento ---------- */
html.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
html.js .rv.is-in { opacity: 1; transform: none; }
.mode-flash { animation: modeflash .6s var(--ease); }
@keyframes modeflash { from { opacity: .35; transform: scale(.985); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  html.js .rv { opacity: 1; transform: none; }
  .card__life { display: none; }
}
@media print {
  .ann, .awning, .hdr, .ftr, .drawer, .search, .mmenu, .scrim, .sticky-buy { display: none !important; }
}

/* ==========================================================================
   Mobile: ritocchi del 26/11/2026
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* niente lampo grigio al tocco e niente zoom col doppio tocco sui comandi */
a, button, summary, label, select, [role="button"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
/* su iPhone un campo con testo sotto i 16px fa ingrandire tutta la pagina quando lo tocchi */
@media (hover: none) and (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]), select, textarea { font-size: max(16px, 1em) !important; }
}
.icon-btn { flex: none; }
@media (max-width: 760px) {
  .stamp { font-size: 10.5px; }
  .idcard__pic .stamp { font-size: 10px; }
  .idcard dt, .idcard__with span { font-size: 10.5px; }
}
/* la compagnia di casa: su telefono le sei carte scorrono di lato invece di fare 3000px di colonna */
@media (max-width: 699px) {
  .cast { overflow-x: clip; }
  .cast__list {
    position: relative; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gut) * -1); padding: 14px var(--gut) 24px; scroll-padding-inline: var(--gut);
  }
  .cast__list::-webkit-scrollbar { display: none; }
  .cast__list > * { scroll-snap-align: start; }
}
