/* App clienti */
body { background: var(--cream); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--green); z-index: 30; }
.app { max-width: 560px; margin: 0 auto; min-height: 100dvh; position: relative; }

/* ---------- Avvio ---------- */
.splash { position: fixed; inset: 0; z-index: 200; background: var(--green); display: grid; place-content: center; justify-items: center; gap: 18px;
  transition: opacity .35s; }
.splash .wordmark { font-size: 54px; }
.splash__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); animation: bounce 1s var(--ease) infinite; }
.splash.out { opacity: 0; pointer-events: none; }
@keyframes bounce { 50% { transform: translateY(-12px); } }

/* ---------- Accesso ---------- */
.auth { min-height: 100dvh; display: flex; flex-direction: column; }
.auth__hero { background: var(--green); color: var(--cream); padding: calc(24px + env(safe-area-inset-top, 0px)) var(--gr) 64px var(--gl); position: relative; overflow: hidden; }
.auth__hero > * { position: relative; }
.auth__hero h1 { font-size: clamp(44px, 13vw, 64px); color: var(--pink); margin-top: 10px; }
.auth__hero p { margin: 14px 0 0; max-width: 34ch; opacity: .9; }
.auth__hero .eyebrow { color: var(--amber); display: block; }
.snow { position: absolute !important; inset: 0; pointer-events: none; }
.snow i { position: absolute; top: -14px; color: var(--pink); opacity: .55; animation: fall linear infinite; font-style: normal; }
@keyframes fall { to { transform: translateY(560px) rotate(220deg); } }

/* mini calendario decorativo */
.peek { display: grid; grid-template-columns: repeat(6, minmax(0, 48px)); grid-auto-rows: 48px; gap: 7px; margin: 22px 0 20px; transform: rotate(-3deg); transform-origin: left; }
.peek__d { border-radius: 14px; display: flex; align-items: flex-end; padding: 6px 9px; font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1.2px, transparent 1.7px); background-size: 10px 10px; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.peek__d.t0 { background-color: var(--pink); color: var(--green); }
.peek__d.t1 { background-color: var(--green-soft); color: var(--cream); }
.peek__d.t2 { background-color: var(--pink-2); color: var(--green-deep); }
.peek__d.t3 { background-color: var(--cream); color: var(--green); }
.peek__d.t4 { background-color: var(--amber); color: var(--green-deep); }
.peek__d.open { background: var(--cream); border: 2px dashed var(--pink-2); justify-content: center; align-items: center; font-size: 22px; transform: rotate(6deg); }
.peek__d.gift { background-color: var(--pink); color: var(--green);
  background-image: linear-gradient(90deg, transparent 58%, var(--amber) 58% 72%, transparent 72%), linear-gradient(0deg, transparent 56%, var(--amber) 56% 70%, transparent 70%); }

.perks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-weight: 700; font-size: 15px; }
.perks li { display: flex; align-items: center; gap: 10px; }
.perks span { width: 32px; height: 32px; border-radius: 10px; background: rgba(247, 205, 226, .14); display: grid; place-items: center; font-size: 17px; }

.auth__card { background: var(--cream); border-radius: 28px 28px 0 0; margin-top: -30px; padding: 26px var(--gr) calc(32px + env(safe-area-inset-bottom, 0px)) var(--gl); position: relative; flex: 1; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border-radius: 999px; padding: 4px; margin-bottom: 22px; border: 2px solid var(--line); }
.tabs button { border: 0; background: transparent; min-height: 44px; border-radius: 999px; font-weight: 700; font-size: 14.5px; transition: background-color .2s, color .2s; }
.tabs button.on { background: var(--green); color: var(--cream); }
.legal { font-size: 12px; opacity: .7; margin-top: 18px; text-align: center; }

/* ---------- Home ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--green); color: var(--cream);
  padding: 12px var(--gr) 12px var(--gl); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top .wordmark { font-size: 28px; }
.top__actions { display: flex; gap: 8px; }
.hero { background: var(--green); color: var(--cream); padding: 10px var(--gr) 64px var(--gl); border-radius: 0 0 32px 32px; }
.hero h1 { font-size: clamp(36px, 11vw, 52px); color: var(--pink); margin: 4px 0 8px; }
.hero p { margin: 0; opacity: .9; max-width: 38ch; }

/* 24 tacche di avanzamento */
.pips { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; margin-top: 18px; }
.pips i { height: 8px; border-radius: 3px; background: rgba(247, 205, 226, .16); }
.pips i.seen { background: var(--pink-2); }
.pips i.used { background: var(--amber); }
.pips i.now { background: var(--cream); box-shadow: 0 0 0 2px var(--amber); }
.pips__label { font-size: 13px !important; font-weight: 700; margin-top: 8px !important; opacity: .8 !important; }

.stack { margin: -44px var(--gr) 0 var(--gl); display: grid; gap: 12px; position: relative; z-index: 2; }

/* card "oggi" in evidenza */
.spot { background: var(--white); border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; }
.spot__band { display: flex; align-items: center; gap: 14px; padding: 16px 18px; position: relative;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1.3px, transparent 1.8px); background-size: 12px 12px; }
.spot__num { font-family: var(--display); font-weight: 800; font-size: 54px; line-height: .85; min-width: 1.1em; }
.spot__num small { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-family: var(--body); margin-top: 6px; }
.spot__emoji { font-size: 44px; margin-left: auto; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .15)); }
.spot__body { padding: 16px 18px 18px; }
.spot__body h2 { font-size: 26px; margin-bottom: 6px; }
.spot__body p { margin: 0 0 14px; font-size: 15px; }
.spot__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--pink-3); border-radius: 999px; padding: 5px 11px; font-size: 13px; font-weight: 700; }
.chip--amber { background: var(--amber-soft); }
.chip--green { background: var(--ok-soft); color: var(--ok); }
.spot--closed .spot__band { background-color: var(--pink); color: var(--green); }
.spot--wrap { animation: wobble 2.4s ease-in-out infinite; }
@keyframes wobble { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-1.4deg); } 95% { transform: rotate(1.4deg); } }

/* conto alla rovescia */
.count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 4px 0 16px; }
.count div { background: var(--cream); border-radius: 16px; padding: 10px 4px 8px; text-align: center; }
.count b { display: block; font-family: var(--display); font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.count span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }

/* messaggio in app */
.banner { background: var(--amber); color: var(--green-deep); border-radius: 20px; padding: 14px 48px 14px 16px; position: relative; box-shadow: var(--shadow-sm);
  animation: pop .45s var(--ease); }
.banner .eyebrow { font-size: 10.5px; opacity: .75; }
.banner h3 { font-size: 19px; margin: 2px 0 3px; }
.banner p { margin: 0; font-size: 14px; }
.banner a { font-weight: 800; }
.banner .x { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .45); font-size: 19px; display: grid; place-items: center; }
@keyframes pop { from { transform: translateY(10px) scale(.98); opacity: 0; } }

/* invito a installare */
.install { background: var(--pink); border-radius: 20px; padding: 14px 14px 14px 16px; display: flex; align-items: center; gap: 12px; position: relative; }
.install__icon { width: 46px; height: 46px; border-radius: 12px; flex: none; background: var(--green); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.install__icon img { width: 46px; height: 46px; border-radius: 12px; }
.install div { flex: 1; min-width: 0; }
.install b { display: block; font-family: var(--display); font-size: 17px; line-height: 1.1; }
.install span { font-size: 13px; }
.install .btn { min-height: 40px; padding: 0 14px; font-size: 14px; flex: none; }
.install .x { position: absolute; top: -8px; right: -6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--green); color: var(--cream); font-size: 15px; line-height: 1; }

/* offerte ancora valide */
.still h3 { font-size: 17px; margin: 6px 2px 8px; }
.still__row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin: 0 calc(-1 * var(--gr)) 0 calc(-1 * var(--gl)); padding-left: var(--gl); padding-right: var(--gr); }
.still__row::-webkit-scrollbar { display: none; }
.still__item { flex: none; display: flex; align-items: center; gap: 10px; background: var(--white); border: 0; border-radius: 16px; padding: 10px 14px 10px 10px; text-align: left; box-shadow: var(--shadow-sm); }
.still__item > span:first-child { font-size: 26px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--cream); border-radius: 12px; }
.still__item b { display: block; font-size: 14px; line-height: 1.15; }
.still__item small { font-size: 12px; opacity: .7; }

/* ---------- Calendario ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 30px var(--gr) 0 var(--gl); }
.section-head h2 { font-size: 28px; }
.legend { display: flex; gap: 10px; font-size: 12px; font-weight: 700; opacity: .8; }
.legend span { display: inline-flex; align-items: center; gap: 4px; }
.lg { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lg--today { background: var(--amber); }
.lg--used { background: var(--pink); border: 1.5px solid var(--pink-2); }
.lg--locked { background: var(--green); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(84px, 22vw); grid-auto-flow: dense; gap: 10px; padding: 14px var(--gr) 32px var(--gl); }
@media (min-width: 560px) { .grid { grid-auto-rows: 120px; } }
.door { position: relative; border: 0; padding: 0; border-radius: 18px; perspective: 800px; background: transparent; text-align: left; }
.door.w2 { grid-column: span 2; }
.door.h2 { grid-row: span 2; }
.door.big { grid-column: span 2; grid-row: span 2; }

.door__inside { position: absolute; inset: 0; border-radius: 18px; background: var(--white); border: 2px dashed var(--pink-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px; text-align: center; overflow: hidden; }
.door__emoji { font-size: 30px; line-height: 1.1; }
.door.big .door__emoji, .door.h2 .door__emoji { font-size: 48px; }
.door__tag { font-family: var(--display); font-weight: 800; font-size: 13px; line-height: 1.05; }
.door.big .door__tag, .door.h2 .door__tag { font-size: 17px; }
.door__state { order: 3; margin-top: 4px; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: var(--green); color: var(--cream); border-radius: 999px; padding: 2px 7px; }
.door__stamp { position: absolute; right: 6px; bottom: 6px; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--green);
  display: grid; place-items: center; font-size: 8.5px; font-weight: 800; letter-spacing: .06em; transform: rotate(-14deg); color: var(--green); background: rgba(255,255,255,.6); }
.door.big .door__stamp { width: 58px; height: 58px; font-size: 12px; }

.door__flap { position: absolute; inset: 0; border-radius: 18px; transform-origin: left center; transition: transform .75s cubic-bezier(.3, .8, .3, 1);
  backface-visibility: hidden; display: flex; align-items: flex-end; justify-content: flex-start; padding: 8px 11px; overflow: hidden;
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1.2px, transparent 1.7px); background-size: 11px 11px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .08); }
.door__num { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: .9; position: relative; }
.door.big .door__num { font-size: 88px; }
.door.h2 .door__num, .door.w2 .door__num { font-size: 50px; }
.door__lock { position: absolute; top: 9px; right: 9px; width: 15px; height: 15px; opacity: .55; }
.door__flap::after { content: ""; position: absolute; top: 50%; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .45; }

.tone-0 .door__flap, .spot__band.tone-0, .offer__head.tone-0 { background-color: var(--green); color: var(--pink); }
.tone-1 .door__flap, .spot__band.tone-1, .offer__head.tone-1 { background-color: var(--pink); color: var(--green); }
.tone-2 .door__flap, .spot__band.tone-2, .offer__head.tone-2 { background-color: var(--green-soft); color: var(--cream); }
.tone-3 .door__flap, .spot__band.tone-3, .offer__head.tone-3 { background-color: var(--pink-2); color: var(--green-deep); }
.tone-4 .door__flap, .spot__band.tone-4, .offer__head.tone-4 { background-color: var(--amber); color: var(--green-deep); }


.door.is-open .door__flap { transform: rotateY(-106deg); box-shadow: 6px 0 14px rgba(0, 0, 0, .16); pointer-events: none; }
.door--today:not(.is-open) .door__flap { animation: glow 1.8s ease-in-out infinite; }
.door--today:not(.is-open) .door__flap .door__today { position: absolute; top: 8px; left: 9px; font-size: 10px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; background: var(--amber); color: var(--green-deep); padding: 2px 7px; border-radius: 999px; }
.door--today .door__inside { border-color: var(--amber); border-style: solid; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(232, 162, 58, 0); } 50% { box-shadow: 0 0 0 5px rgba(232, 162, 58, .8); } }
.door--expired .door__inside, .door--off .door__inside { opacity: .5; filter: grayscale(.7); }
.door--used .door__inside { background: var(--pink-3); border: 2px solid var(--pink-2); }
.door--active .door__inside { border: 2px solid var(--amber); background: var(--amber-soft); }
.door.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* scintille all'apertura */
.burst { position: fixed; pointer-events: none; z-index: 70; }
.burst i { position: absolute; left: 0; top: 0; font-style: normal; font-size: 16px; animation: fly .9s var(--ease) forwards; }
@keyframes fly { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }

/* ---------- Piè di pagina ---------- */
.foot { text-align: center; font-size: 13px; padding: 26px var(--gr) calc(40px + env(safe-area-inset-bottom, 0px)) var(--gl); background: var(--green); color: var(--cream); border-radius: 32px 32px 0 0; }
.foot .wordmark { font-size: 26px; }
.foot p { margin: 8px 0 0; opacity: .85; }
.foot__links a { font-weight: 700; }
.foot__demo a { color: var(--amber); font-weight: 800; }

/* ---------- Offerta ---------- */
.offer__head { margin: -4px -4px 16px; border-radius: 22px; padding: 18px; display: flex; align-items: center; gap: 14px; min-height: 120px;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1.3px, transparent 1.8px); background-size: 12px 12px; }
.offer__day { font-family: var(--display); font-weight: 800; font-size: 62px; line-height: .85; }
.offer__day small { display: block; font-family: var(--body); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-top: 8px; }
.offer__emoji { font-size: 66px; margin-left: auto; line-height: 1; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .15)); animation: pop .5s var(--ease); }
.offer__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 18px; margin-bottom: 14px; display: block; }
.offer h2 { font-size: 30px; margin: 6px 0 10px; }
.offer p { margin: 0 0 14px; }
.receipt { font-size: 13px; background: var(--white); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; border: 1.5px dashed var(--line); }
.receipt b { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }
.validity { display: inline-flex; gap: 6px; align-items: center; background: var(--amber-soft); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.steps { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 10px; counter-reset: s; }
.steps li { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border-radius: 16px; padding: 12px 14px; counter-increment: s; font-size: 15px; }
.steps li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: var(--pink); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.steps svg { width: 18px; height: 18px; vertical-align: -3px; }

/* ---------- Codice alla cassa ---------- */
.code-screen { position: fixed; inset: 0; z-index: 60; background: var(--pink); color: var(--green); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; padding: calc(20px + env(safe-area-inset-top, 0px)) var(--gr) calc(20px + env(safe-area-inset-bottom, 0px)) var(--gl);
  text-align: center; overflow: auto; animation: pop .35s var(--ease); }
.code-screen > .eyebrow { background: var(--green); color: var(--pink); padding: 6px 12px; border-radius: 999px; }
.code-live { width: 100%; max-width: 340px; height: 10px; border-radius: 5px; flex: none;
  background: repeating-linear-gradient(90deg, var(--green) 0 18px, var(--amber) 18px 36px, var(--cream) 36px 54px);
  background-size: 54px 100%; animation: stripes 1s linear infinite; }
@keyframes stripes { to { background-position: 54px 0; } }
.ticket { position: relative; background: var(--white); width: 100%; max-width: 340px; padding: 22px 20px 18px; border-radius: 6px; flex: none;
  --notch: radial-gradient(circle 8px at 11px 0, #0000 97%, #000) top / 22px 51% repeat-x, radial-gradient(circle 8px at 11px 100%, #0000 97%, #000) bottom / 22px 51% repeat-x;
  -webkit-mask: var(--notch); mask: var(--notch); }
.ticket__brand { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.ticket__sub { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-bottom: 10px; }
.ticket h2 { font-size: 22px; margin: 0 0 12px; }
.ticket hr { border: 0; border-top: 2px dashed var(--line); margin: 12px 0; }
.code-qr { display: grid; place-items: center; margin: 0 auto 10px; min-height: 172px; }
.code-qr img, .code-qr canvas { width: 172px; height: 172px; }
.code-text { font-family: var(--display); font-weight: 800; font-size: 38px; letter-spacing: .05em; line-height: 1; }
.code-clock { font-family: var(--display); font-weight: 800; font-size: 26px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.code-bar { height: 6px; border-radius: 3px; background: var(--cream-2); overflow: hidden; margin: 10px 0 6px; }
.code-bar i { display: block; height: 100%; background: var(--green); border-radius: 3px; transition: width 1s linear; }
.code-timer { font-size: 13px; font-weight: 700; }
.code-who { font-size: 13px; margin: 0; font-weight: 700; }

/* ---------- Liste (messaggi, account) ---------- */
.list { display: grid; gap: 10px; margin: 10px 0; }
.item { background: var(--white); border-radius: 16px; padding: 14px 16px; position: relative; }
.item.new::before { content: ""; position: absolute; top: 18px; right: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
.item h3 { font-size: 18px; margin: 2px 0 4px; padding-right: 18px; }
.item p { margin: 0; font-size: 14px; }
.item time { font-size: 12px; opacity: .6; }
.empty-state { text-align: center; padding: 26px 10px; }
.empty-state div { font-size: 44px; }

.me { display: flex; align-items: center; gap: 14px; margin: 4px 0 14px; padding-right: 44px; }
.me__av { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--pink); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 26px; flex: none; }
.me h2 { font-size: 24px; }
.me p { margin: 2px 0 0; font-size: 14px; opacity: .7; word-break: break-all; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 6px; }
.mini-stats div { background: var(--white); border-radius: 16px; padding: 12px 14px; }
.mini-stats b { display: block; font-family: var(--display); font-size: 28px; line-height: 1; }
.mini-stats span { font-size: 12px; font-weight: 700; opacity: .7; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row > div { min-width: 0; }
.row .btn { min-height: 40px; padding: 0 16px; font-size: 14px; flex: none; }
.switch { position: relative; width: 52px; height: 32px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: .2s; }
.switch span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); transition: .2s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.demo-box { background: var(--white); border: 2px dashed var(--amber); border-radius: 16px; padding: 14px; margin: 16px 0; }
.danger-link { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--danger); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 2px; }
.version { text-align: center; font-size: 12px; opacity: .5; margin: 10px 0 0; }

/* ---------- Caselle: data, disegnini, fantasie, fiocchi ---------- */
.door__date { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; }
.door__month { font-family: var(--body); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .75; margin-top: 2px; }
.door.big .door__month { font-size: 13px; }
.door__lock { top: auto; bottom: 10px; right: 12px; z-index: 2; }
.door__doodle { position: absolute; top: 8px; right: 8px; width: 30px; aspect-ratio: 1; opacity: .5; z-index: 1; }
.door.w2 .door__doodle { width: 54px; top: 50%; right: 22px; transform: translateY(-50%); }
.door.h2 .door__doodle { width: 54px; }
.door--today:not(.is-open):not(.w2):not(.h2):not(.big) .door__doodle { display: none; }
.door__doodle svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.door--today:not(.is-open) .door__doodle { animation: wiggle 2.4s ease-in-out infinite; }
.door.w2.door--today:not(.is-open) .door__doodle { animation: none; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-10deg) scale(1.06); } }

.pat-0 .door__flap { background-image: radial-gradient(color-mix(in srgb, currentColor 22%, transparent) 1.6px, transparent 2.2px); background-size: 14px 14px; }
.pat-1 .door__flap { background-image: repeating-linear-gradient(45deg, color-mix(in srgb, currentColor 14%, transparent) 0 7px, transparent 7px 16px); background-size: auto; }
.pat-2 .door__flap { background-image: linear-gradient(color-mix(in srgb, currentColor 12%, transparent) 50%, transparent 50%),
  linear-gradient(90deg, color-mix(in srgb, currentColor 12%, transparent) 50%, transparent 50%); background-size: 18px 18px; }
.pat-3 .door__flap { background-image: radial-gradient(circle at 85% 110%, color-mix(in srgb, currentColor 26%, transparent) 0 30%, transparent 31%),
  radial-gradient(circle at -10% -10%, color-mix(in srgb, currentColor 14%, transparent) 0 26%, transparent 27%); background-size: auto; }
.pat-4 .door__flap { background-image: repeating-linear-gradient(0deg, color-mix(in srgb, currentColor 13%, transparent) 0 3px, transparent 3px 11px); background-size: auto; }

.door__ribbon { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.door__ribbon::before, .door__ribbon::after { content: ""; position: absolute; background: var(--amber); box-shadow: 0 0 0 2px rgba(255,255,255,.35) inset; }
.door__ribbon::before { top: 0; bottom: 0; left: 72%; width: 12px; }
.door__ribbon::after { left: 0; right: 0; top: 28%; height: 12px; }
.door__bow { position: absolute; left: 72%; top: 28%; transform: translate(-38%, -42%); font-size: 30px; z-index: 2; line-height: 1; }
.door.big .door__bow { font-size: 48px; transform: translate(-40%, -46%); }
.tone-4 .door__ribbon::before, .tone-4 .door__ribbon::after { background: var(--pink); }
.door.big .door__ribbon::before { width: 18px; } .door.big .door__ribbon::after { height: 18px; }
.door.w2 .door__bow { font-size: 34px; }
.door.big { grid-column: 1 / -1; }  /* la 24 occupa tutta la riga */
.door.big .door__flap { box-shadow: inset 0 0 0 4px color-mix(in srgb, currentColor 25%, transparent); }
.door--today:not(.is-open) .door__today { z-index: 3; }

/* ---------- Info Moody ---------- */
.info-sec { scroll-margin-top: 84px; margin: 4px var(--gr) 28px var(--gl); background: var(--green); color: var(--cream); border-radius: 28px; padding: 26px 20px 22px; position: relative; overflow: hidden; }
.info-sec::before { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(247, 205, 226, .12); }
.info-sec .eyebrow { color: var(--pink-2); }
.info-sec h2 { color: var(--pink); font-size: clamp(30px, 9vw, 40px); margin: 6px 0 4px; }
.info-sec > p { margin: 0 0 16px; opacity: .9; }
.info-cards { display: grid; gap: 10px; }
.info-card { background: var(--cream); color: var(--green); border-radius: 18px; padding: 14px 16px; display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; align-items: start; }
.info-card .ic { font-size: 24px; line-height: 1.2; grid-row: span 2; }
.info-card h3 { font-size: 18px; }
.info-card p { margin: 0; font-size: 14px; }
.info-card ul { margin: 2px 0 0; padding-left: 18px; font-size: 14px; }
.info-card a { font-weight: 700; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; font-size: 14px; }
.hours b { font-weight: 700; }
.info-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.info-links .btn { min-height: 46px; padding: 0 12px; font-size: 15px; }
.top__actions { gap: 6px; }
.foot { border-radius: 32px 32px 0 0; }
.door__tag { overflow-wrap: anywhere; hyphens: auto; max-width: 100%; }
.top .brand__sub { white-space: nowrap; }
@media (max-width: 400px) { .top .brand__sub { display: none; } }
