/* ════════════════════════════════════════════
   Fede's Fade — granito bianco, grigio, verde scuro
   ════════════════════════════════════════════ */
:root {
  /* Palette del salone: resina avorio, microcemento grafite, rovere (i nomi --green restano per compatibilità: ora sono grafite) */
  --stone: #efebe6;
  --stone-2: #e4dfd8;
  --stone-3: #d4cdc5;
  --grey: #8e8782;
  --grey-d: #5f5853;
  --ink: #1e1b19;
  --green: #3a3532;
  --green-2: #4a4441;
  --green-3: #8a5f3c;
  --sage: #d2b48f;
  --white: #fff;
  --danger: #9b2c2c;
  --radius: 18px;
  --radius-s: 10px;
  --shadow: 0 1px 2px rgba(30, 27, 25, .06), 0 12px 32px -12px rgba(30, 27, 25, .18);
  --shadow-l: 0 30px 60px -20px rgba(30, 27, 25, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 12vw, 160px);
  --dock-h: 72px;   /* barra azioni in basso su mobile, 0 da desktop */
  /* grana del granito, generata in SVG */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .34 0 0 0 0 .33 0 0 0 1.6 -.72'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .92 0 0 0 0 .88 0 0 0 0 .84 0 0 0 1.8 -.95'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 400 16px/1.65 var(--sans); color: var(--ink);
  background: var(--stone) var(--grain); background-size: 240px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green-2); text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6.5vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3, .h3 { font-size: 1.35rem; font-family: var(--serif); }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--green-3); }
p { margin: 0 0 1.1em; }
.muted { color: var(--grey-d); }
.small { font-size: .9rem; }
.center { text-align: center; }
.narrow { max-width: 560px; margin-inline: auto; }
.mt { margin-top: 2.5rem; }
.hp { position: absolute; left: -9999px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--green-3); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1.4rem;
  font: 600 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--grey-d);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.center { display: flex; justify-content: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grey); flex: none; }
.dot--on { background: #3ea06a; box-shadow: 0 0 0 0 rgba(62, 160, 106, .6); animation: pulse 2s infinite; }
.eyebrow .dot + * { margin: 0; }
.eyebrow:has(.dot)::before { display: none; }

/* ─── Bottoni ─── */
.btn {
  --bg: var(--stone-2); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.6em; border: 1px solid transparent; border-radius: 999px;
  background: var(--bg); color: var(--fg); font: 600 .98rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s var(--ease); white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--cta { --bg: var(--green); --fg: var(--stone); box-shadow: 0 10px 24px -10px rgba(58, 53, 50, .7); overflow: hidden; }
.btn--cta::after { /* riflesso che scorre */
  content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--cta:hover { --bg: var(--green-2); color: var(--stone); box-shadow: 0 16px 32px -12px rgba(58, 53, 50, .8); }
.btn--cta:hover::after { transform: translateX(120%); }
.btn--dark { --bg: var(--ink); --fg: var(--stone); }
.btn--dark:hover { --bg: var(--green); color: var(--stone); }
.btn--light { --bg: var(--stone); --fg: var(--green); }
.btn--light:hover { --bg: var(--white); color: var(--green); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--stone-3); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost-light { --bg: transparent; --fg: var(--stone); border-color: rgba(239, 235, 230, .35); }
.btn--ghost-light:hover { border-color: var(--stone); color: var(--stone); }
.btn--danger { --bg: transparent; --fg: var(--danger); border-color: rgba(155, 44, 44, .3); }
.btn--danger:hover { --bg: var(--danger); color: #fff; }
.btn--lg { padding: 1.15em 2em; font-size: 1.05rem; }
.btn--sm { min-height: 40px; padding: .6em 1em; font-size: .85rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

.link-arrow { font-weight: 600; text-decoration: none; color: var(--green); display: inline-flex; gap: .35em; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

.chip { display: inline-flex; align-items: center; gap: .35em; padding: .3em .7em; border-radius: 999px; background: var(--stone-2); font-size: .78rem; font-weight: 600; color: var(--grey-d); font-family: var(--sans); }
.chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.chip--warn { background: #efe6cf; color: #7a5b17; }
.chip--off { background: #eee; color: #999; text-decoration: line-through; }

/* ─── Navigazione ─── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s, transform .4s var(--ease); }
.nav__in { display: flex; align-items: center; gap: 1rem; height: 68px; transition: height .4s var(--ease); }
.nav.is-scrolled { background: rgba(239, 235, 230, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(30, 27, 25, .08); }
.nav.is-scrolled .nav__in { height: 68px; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); font: 600 1.25rem/1 var(--serif); }
.nav__brand img { width: 46px; height: 46px; transition: transform .8s var(--ease); }
.nav__brand:hover img { transform: rotate(-12deg) scale(1.05); }
.nav__brand em { font-style: italic; font-weight: 400; color: var(--green-2); }
.nav__links {
  position: fixed; inset: 68px 0 auto; display: flex; flex-direction: column; gap: 0; margin: 0; padding: 1rem var(--gutter) 2rem;
  max-height: calc(100svh - 68px); overflow-y: auto; background: var(--stone); box-shadow: 0 20px 40px -20px rgba(0,0,0,.25);
  clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease); visibility: hidden;
}
.nav.is-open { background: var(--stone); }
.nav.is-open .nav__links { clip-path: inset(0); visibility: visible; }
.nav__links a { position: relative; padding: 1rem 0; color: var(--ink); text-decoration: none; font: 500 1.25rem var(--serif); border-bottom: 1px solid var(--stone-3); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); display: none; }
.nav__cta { display: none; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__acc { display: inline-flex; align-items: center; gap: .4em; }
.nav__acc svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.nav__burger { display: block; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; margin-left: auto; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ─── Hero ─── */
.hero { position: relative; display: flex; align-items: center; padding: 100px 0 70px; overflow: hidden; }
.hero__grain { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 85% 30%, rgba(58, 53, 50, .10), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(142, 135, 130, .18), transparent 70%); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hero__title { margin-bottom: 1.6rem; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .hero__title .line > span { transform: none; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34em; color: var(--grey-d); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 0; }
.hero__ctas.center { justify-content: center; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; list-style: none; padding: 0; margin: 3.2rem 0 0; }
.hero__trust li { display: flex; flex-direction: column; gap: .15rem; padding-left: 1rem; border-left: 1px solid var(--stone-3); }
.hero__trust strong { font: 600 1.35rem/1 var(--serif); }
.hero__trust span { font-size: .85rem; color: var(--grey-d); }
.hero__visual { position: relative; max-width: 420px; width: 88%; margin: 0 auto; }
.foto.hero__photo { box-shadow: var(--shadow-l); border-radius: 220px 220px var(--radius) var(--radius); }
.hero__badge { position: absolute; left: -28px; bottom: 20px; width: 116px; height: 116px; display: grid; place-items: center; background: var(--stone); border-radius: 50%; box-shadow: var(--shadow); }
.hero__badge svg { position: absolute; inset: 6px; width: calc(100% - 12px); }
.hero__badge text { font: 700 15px var(--sans); letter-spacing: .2em; fill: var(--green); }
.hero__badge img { width: 56px; height: 56px; }
.spin { animation: spin 22s linear infinite; }
.hero__scroll { display: none; position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1.5px solid var(--grey); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--green); animation: scrolly 1.8s var(--ease) infinite; }

/* ─── Foto e segnaposto ─── */
.foto { position: relative; margin: 0; aspect-ratio: var(--ratio, 4/5); border-radius: var(--radius); overflow: hidden; background: var(--stone-2); }
.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.foto:hover img { transform: scale(1.04); }
.foto--vuota {
  display: grid; place-items: center; border: 1.5px dashed var(--grey);
  background: var(--stone-2) var(--grain); background-size: 200px;
}
.foto__label { display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; font-size: .9rem; font-weight: 600; color: var(--grey-d); }
.foto__label svg { width: 34px; height: 34px; opacity: .7; }
.foto__label small { font-weight: 400; opacity: .8; }

/* ─── Ticker ─── */
.ticker { overflow: hidden; background: var(--green) var(--grain-light); color: var(--stone); padding: 1.1rem 0; }
.ticker__track, .logos__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.ticker span { font: italic 400 clamp(1.3rem, 2.6vw, 2rem)/1 var(--serif); padding: 0 1.6rem; white-space: nowrap; }
.ticker i { font-style: normal; color: var(--sage); align-self: center; }

/* ─── Sezioni ─── */
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--stone { background: var(--stone-2) var(--grain); background-size: 240px; }
.section--dark { background: var(--green) var(--grain-light); color: var(--stone); }
.section--dark h2, .section--dark h3 { color: var(--stone); }
.section--dark h2 em { color: var(--sage); }
.section--dark .eyebrow { color: var(--sage); }
.section__head { max-width: 720px; margin-bottom: clamp(3rem, 6vw, 5rem); }

/* Servizi */
.services { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.service {
  position: relative; display: flex; flex-direction: column; padding: 1.6rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(30, 27, 25, .07); backdrop-filter: blur(6px);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); background: var(--white); }
.service__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .8rem; }
.service h3 { margin: 0; }
.service__price { font: 600 2rem/1 var(--serif); color: var(--green); margin: 0; }
.service__desc { color: var(--grey-d); font-size: .95rem; flex: 1; }
.service__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 1.2rem; border-top: 1px solid var(--stone-3); }

.after-hours {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; margin-top: 2.5rem; padding: 1.8rem;
  border-radius: var(--radius); background: var(--green) var(--grain-light); color: var(--stone);
}
.after-hours h3 { color: var(--stone); margin-bottom: .3rem; }
.after-hours p { margin: 0; opacity: .85; }

/* Salone */
.salone { display: grid; grid-template-columns: 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.signature { font: italic 400 1.3rem var(--serif); color: var(--green-2); margin-top: 2rem; }
.bento { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto auto; gap: .6rem; }
.bento__a { grid-row: span 2; }
.bento__d { grid-column: 1 / -1; }

/* Orari */
.orari { display: grid; grid-template-columns: 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.status { display: flex; align-items: center; gap: .6rem; font-weight: 600; margin: 1.6rem 0 2rem; }
.hours { list-style: none; margin: 0; padding: .4rem 1.2rem; border-radius: var(--radius); background: rgba(255, 255, 255, .6); border: 1px solid rgba(30, 27, 25, .07); }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--stone-3); font-variant-numeric: tabular-nums; }
.hours li:last-child { border: 0; }
.hours li span:first-child { font-weight: 600; }
.hours li.is-closed { color: var(--grey); }
.hours li.is-today { color: var(--green); }
.hours small { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; background: var(--green); color: var(--stone); padding: .2em .55em; border-radius: 99px; margin-left: .4em; vertical-align: middle; }

/* Partner */
.logos { overflow: hidden; margin: 3rem 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos__track { gap: 3rem; align-items: center; animation-duration: 40s; }
.logos img { height: 48px; width: auto; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; opacity: .7; transition: opacity .3s, filter .3s; }
.logos img:hover { opacity: 1; filter: none; }
.logos:hover .logos__track { animation-play-state: paused; }

/* Area cliente teaser */
.account-teaser { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.account-teaser p { color: rgba(239, 235, 230, .8); max-width: 32em; }
.phone-mock { display: flex; flex-direction: column; gap: .8rem; padding: 1.4rem; border-radius: 32px; background: rgba(239, 235, 230, .06); border: 1px solid rgba(239, 235, 230, .14); max-width: 380px; justify-self: center; width: 100%; }
.phone-mock__card { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: 1.1rem 1.3rem; border-radius: 16px; background: var(--stone); color: var(--ink); }
.phone-mock__card span { grid-column: 1 / -1; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--grey-d); }
.phone-mock__card strong { font-family: var(--serif); }
.phone-mock__card em { font-style: normal; color: var(--green); font-weight: 600; }
.phone-mock__card.is-muted { opacity: .6; transform: scale(.97); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.faq__list details { border-bottom: 1px solid var(--stone-3); }
.faq__list summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; cursor: pointer; list-style: none; font: 600 1.1rem/1.35 var(--serif); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary span { position: relative; width: 18px; height: 18px; flex: none; margin-top: .25rem; }
.faq__list summary span::before, .faq__list summary span::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--green); transition: transform .4s var(--ease); }
.faq__list summary span::after { transform: rotate(90deg); }
.faq__list details[open] summary span::after { transform: rotate(0); }
.faq__list details p { color: var(--grey-d); padding-bottom: 1.4rem; margin: 0; animation: fadeUp .5s var(--ease); }

/* Dove siamo */
.dove { display: grid; grid-template-columns: 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.contacts { display: grid; gap: 1rem; margin: 2rem 0; }
.contacts div { display: grid; grid-template-columns: 1fr; gap: .1rem; }
.contacts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--grey-d); padding-top: .2em; }
.contacts dd { margin: 0; font-weight: 600; }
.map { aspect-ratio: 4/4; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-l); background: var(--stone-3); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05) sepia(.1) hue-rotate(60deg); transition: filter .5s; }
.map:hover iframe { filter: none; }

/* Finale + newsletter */
.final { text-align: center; overflow: hidden; }
.final__in { display: flex; flex-direction: column; align-items: center; }
.final__logo { margin-bottom: 2rem; }
.float { animation: float 6s ease-in-out infinite; }
.newsletter { width: 100%; max-width: 560px; margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--stone-3); }
.newsletter label { display: block; margin-bottom: 1rem; color: var(--grey-d); }
.newsletter__row { display: flex; flex-direction: column; gap: .6rem; }
.newsletter__row input { flex: 1; }
.form-msg { min-height: 1.4em; margin: .8rem 0 0; font-weight: 600; font-size: .95rem; }
.form-msg.is-err { color: var(--danger); }
.form-msg.is-ok { color: var(--green-2); }

/* ─── Footer ─── */

/* ─── Barra mobile ─── */
.dock {
  position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.3fr 1fr; align-items: center;
  height: calc(var(--dock-h) + env(safe-area-inset-bottom)); padding: 0 10px env(safe-area-inset-bottom);
  background: rgba(239, 235, 230, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--stone-3);
}
.dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 48px; font-size: .72rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dock .dock__main { flex-direction: row; gap: .5rem; justify-self: stretch; margin: 0 6px; height: 50px; justify-content: center; border-radius: 99px; background: var(--green); color: var(--stone); font-size: .98rem; box-shadow: 0 8px 20px -8px rgba(58, 53, 50, .8); }
.page-book, .admin { --dock-h: 0px; }
.page-book .dock, .admin .dock { display: none; }

/* ─── Form ─── */
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field label small { font-weight: 400; color: var(--grey-d); }
.field--row { flex-direction: row; align-items: center; gap: 1rem; }
.field--row label { width: 100px; flex: none; }
.field--row input { flex: 1; }
input, select, textarea {
  width: 100%; padding: .9em 1.05em; border: 1px solid var(--stone-3); border-radius: var(--radius-s);
  background: var(--white); font: 500 1rem/1.3 var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--green-3); box-shadow: 0 0 0 4px rgba(138, 95, 60, .14); }
input[readonly], input:disabled { background: var(--stone-2); color: var(--grey-d); }
input[type=checkbox], input[type=radio] { width: auto; }
.check { display: flex; gap: .7rem; align-items: flex-start; margin: .5rem 0 1rem; font-size: .92rem; cursor: pointer; }
.check input { margin-top: .3em; accent-color: var(--green); width: 18px; height: 18px; flex: none; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
.alert { padding: .9rem 1.1rem; border-radius: var(--radius-s); font-weight: 600; font-size: .95rem; }
.alert--ok { background: #e9e3da; color: var(--green); }
.alert--err { background: #f4e1e1; color: var(--danger); }

/* ─── Prenotazione ─── */
.book { padding: 100px 0 120px; }
.book__head { text-align: center; margin-bottom: 2.5rem; }
.book__head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.book__head .eyebrow { justify-content: center; }
.steps { display: flex; justify-content: center; gap: .3rem; list-style: none; padding: 0; margin: 2rem 0 0; font-size: .85rem; font-weight: 600; color: var(--grey); }
.steps li { display: flex; align-items: center; gap: 0; padding: .4rem; font-size: 0; border-radius: 99px; transition: color .3s, background .3s; }
.steps span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid currentColor; font-size: .75rem; }
.steps .is-active { color: var(--green); background: rgba(58, 53, 50, .08); font-size: .8rem; gap: .4rem; padding: .4rem .8rem; }
.steps .is-done { color: var(--green-3); }
.steps .is-done span { background: var(--green-3); color: #fff; border-color: var(--green-3); }

.step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.step.is-active { display: block; animation: fadeUp .55s var(--ease); }
.step legend { font: 600 1.4rem/1.2 var(--serif); margin-bottom: 1.5rem; padding: 0; }
.pick-services { display: grid; grid-template-columns: 1fr; gap: .9rem; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; }
.pick__body {
  display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: 1.3rem 1.4rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .65); border: 1.5px solid var(--stone-3); transition: border-color .25s, background .25s, transform .35s var(--ease), box-shadow .35s;
}
.pick:hover .pick__body { transform: translateY(-2px); box-shadow: var(--shadow); }
.pick input:checked + .pick__body { border-color: var(--green); background: var(--white); box-shadow: 0 0 0 4px rgba(58, 53, 50, .1); }
.pick input:focus-visible + .pick__body { outline: 2px solid var(--green-3); outline-offset: 2px; }
.pick__name { font: 600 1.12rem/1.25 var(--serif); }
.pick__meta { grid-row: 2; font-size: .85rem; color: var(--grey-d); }
.pick__price { grid-row: span 2; align-self: center; font: 600 1.5rem/1 var(--serif); color: var(--green); }

.days-wrap { display: flex; align-items: center; gap: .4rem; margin-bottom: 1.6rem; }
.days { display: flex; gap: .55rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px; flex: 1; scroll-behavior: smooth; }
.days::-webkit-scrollbar { display: none; }
.days-nav { display: none; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--stone-3); background: var(--white); cursor: pointer; font-size: 1.3rem; color: var(--ink); }
.day {
  flex: none; scroll-snap-align: start; width: 66px; padding: .75rem 0; border-radius: 14px; border: 1.5px solid var(--stone-3);
  background: rgba(255, 255, 255, .65); text-align: center; cursor: pointer; font: inherit; color: var(--ink); transition: all .25s var(--ease);
}
.day small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--grey-d); }
.day strong { display: block; font: 600 1.5rem/1.15 var(--serif); }
.day:hover:not(:disabled) { border-color: var(--green-3); }
.day.is-active { background: var(--green); border-color: var(--green); color: var(--stone); }
.day.is-active small { color: var(--sage); }
.day:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: .55rem; min-height: 80px; margin-bottom: 1.4rem; }
.slots > p, .slots > h4 { grid-column: 1 / -1; margin: 0; }
.slots h4 { font: 600 .78rem/1 var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--grey-d); margin-top: .8rem; }
.slot {
  min-height: 46px; padding: .75rem 0; border-radius: 10px; border: 1.5px solid var(--stone-3); background: var(--white); cursor: pointer;
  font: 600 .98rem var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; transition: all .2s; animation: fadeUp .4s var(--ease) backwards;
}
.slot:hover { border-color: var(--green-3); }
.slot.is-active { background: var(--green); border-color: var(--green); color: var(--stone); }
.slot--fuori { border-style: dashed; color: #7a5b17; }
.slot--fuori.is-active { background: #7a5b17; border-color: #7a5b17; color: #fff; }
.skeleton { height: 46px; border-radius: 10px; background: linear-gradient(90deg, var(--stone-2), var(--white), var(--stone-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }

.switch { display: inline-flex; align-items: center; gap: .8rem; cursor: pointer; font-size: .95rem; }
.switch input { position: absolute; opacity: 0; }
.switch__ui { width: 46px; height: 26px; border-radius: 99px; background: var(--stone-3); position: relative; transition: background .3s; flex: none; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .35s var(--ease); }
.switch input:checked + .switch__ui { background: var(--green); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--green-3); outline-offset: 2px; }

.summary {
  position: sticky; bottom: calc(12px + var(--dock-h) + env(safe-area-inset-bottom)); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 2rem;
  padding: .7rem; border-radius: 22px; background: rgba(30, 27, 25, .94); color: var(--stone);
  box-shadow: var(--shadow-l); backdrop-filter: blur(10px);
}
.summary__info { order: -1; flex-basis: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; min-width: 0; padding: 0 .5rem .3rem; line-height: 1.3; }
.summary .btn--cta { flex: 1; }
.summary__info span { font-size: .85rem; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.summary__info strong { font: 600 1.25rem var(--serif); }
.summary .btn--cta { --bg: var(--stone); --fg: var(--green); }
.summary .btn--cta:hover { --bg: #fff; color: var(--green); }
.summary__back { --fg: var(--stone); border-color: rgba(239, 235, 230, .25); }
.summary__back:hover { color: var(--stone); border-color: var(--stone); }
.summary.is-hidden { display: none; }
.book__alt { margin-top: 2.5rem; }

.done { text-align: center; padding: 2rem 0; }
.done__check { width: 92px; height: 92px; margin: 0 auto 1.5rem; fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.done__check circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .8s var(--ease) forwards; }
.done__check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .6s var(--ease) forwards; }
.step--done { display: none; }
.step--done.is-active { display: block; }

/* ─── Auth / area cliente ─── */
.auth { min-height: 100svh; display: grid; place-items: center; padding: 100px var(--gutter) 60px; }
.auth__card { width: 100%; max-width: 440px; padding: 2rem 1.4rem; border-radius: 26px; background: rgba(255, 255, 255, .75); box-shadow: var(--shadow-l); text-align: center; animation: fadeUp .7s var(--ease); }
.auth__card img { margin: 0 auto 1.2rem; }
.auth__card h1 { font-size: 2.2rem; }
.auth__card form { text-align: left; margin: 1.6rem 0; }
.account { padding-top: 110px; }
.account__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 2.5rem; }
.account__head h1 { margin: 0; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.account__head .hero__ctas { margin: 0; }
.account__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
.panel { padding: 1.3rem; border-radius: var(--radius); background: rgba(255, 255, 255, .7); border: 1px solid rgba(30, 27, 25, .07); margin-bottom: 1.5rem; }
.appt { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.2rem; align-items: center; padding: 1.2rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); margin-bottom: 1rem; }
.appt__date { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 16px; background: var(--green) var(--grain-light); color: var(--stone); line-height: 1; }
.appt__date strong { font: 600 1.8rem var(--serif); }
.appt__date span { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sage); }
.appt h3 { margin: 0 0 .3rem; font-size: 1.2rem; }
.appt p { margin: 0; color: var(--grey-d); font-size: .92rem; }
.appt__act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem; }
.empty { padding: 2rem; border-radius: var(--radius); border: 1.5px dashed var(--stone-3); text-align: center; }
.history { list-style: none; padding: 0; margin: 0; }
.history li { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--stone-3); }
.history li strong { flex: 1; }
.history li span:first-child { color: var(--grey-d); font-variant-numeric: tabular-nums; font-size: .9rem; }

/* ─── Pagine testo ─── */
.article { padding-top: 110px; }
.article h2 { font-size: 1.7rem; margin-top: 2.5rem; }
.article .lead { font-size: 1.2rem; }
.article__img { border-radius: var(--radius); margin: 2rem 0; max-height: 420px; width: 100%; object-fit: contain; background: var(--white); }
.ticks { padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 1.8rem; margin-bottom: .8rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--green-3); }
.card-page { padding-top: 80px; }

/* ─── Admin ─── */
.admin { background: var(--stone); }
.admin__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem var(--gutter); background: var(--ink);
  /* sfondo a tutta larghezza, logo e menu allineati alla colonna del contenuto (1240px come .admin__main) */
  padding-inline: max(var(--gutter), calc((100% - 1240px) / 2 + var(--gutter))); }
.admin__bar .nav__brand { color: var(--stone); }
.admin__bar nav { display: flex; gap: .3rem; width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.admin__bar nav::-webkit-scrollbar { display: none; }
.admin__bar nav a { color: rgba(239, 235, 230, .7); text-decoration: none; flex: none; display: flex; flex-direction: column; align-items: center; gap: .3rem;
  min-width: 64px; padding: .5rem .45rem .45rem; border-radius: 14px; font-weight: 600; font-size: .66rem; line-height: 1.1; letter-spacing: .01em; text-align: center; transition: background .15s, color .15s; }
.admin__bar nav a svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.admin__bar nav a span { white-space: nowrap; }
.admin__bar nav a.is-active, .admin__bar nav a:hover { background: rgba(239, 235, 230, .1); color: var(--stone); }
.admin__bar nav a.is-active svg { stroke: var(--sage); }
.admin__nav-sep { flex: none; width: 1px; margin: .5rem .2rem; background: rgba(239, 235, 230, .15); }
.admin__bar nav a.admin__nav-x { color: rgba(239, 235, 230, .5); }
.admin__main { max-width: 1240px; margin: 0 auto; padding: 1.25rem var(--gutter) 4rem; }
.admin__main h1 { font-size: 1.7rem; }
.admin__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.admin__head h1 { margin: 0; }
.inline { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.inline input { width: auto; }
.admin__days { display: flex; gap: .4rem; overflow-x: auto; margin-bottom: 1.5rem; padding-bottom: 4px; }
.admin__days a { flex: none; display: grid; text-align: center; width: 62px; padding: .5rem 0; border-radius: 12px; background: var(--white); text-decoration: none; color: var(--ink); border: 1px solid var(--stone-3); }
.admin__days a.is-active { background: var(--green); color: var(--stone); border-color: var(--green); }
.admin__days small { font-size: .7rem; text-transform: uppercase; opacity: .7; }
.admin__days strong { font: 600 1.3rem var(--serif); }
.admin__days em { font-style: normal; font-size: .75rem; opacity: .75; }
.admin__days-sep { flex: none; align-self: stretch; width: 2px; margin: 0 .3rem; border-radius: 2px; background: var(--green); opacity: .45; }
.admin__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--grey-d); padding: .5rem; }
.table td { padding: .9rem .5rem; border-top: 1px solid var(--stone-3); vertical-align: top; }
.table select { padding: .5em; font-size: 16px; }
.table--form input, .table--form textarea { padding: .5em .6em; font-size: 16px; }
.table-scroll { overflow-x: auto; margin: 0 -1.3rem 1rem; padding: 0 1.3rem; -webkit-overflow-scrolling: touch; }
.table-scroll .table { min-width: 560px; }
.st-cancellata td { opacity: .45; text-decoration: line-through; }
.st-completata td:first-child { color: var(--green-3); }
.st-noshow td { opacity: .6; }
code { background: var(--stone-2); padding: .1em .4em; border-radius: 4px; font-size: .88em; }

/* ─── Animazioni ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 50% { transform: translateY(-14px) rotate(-3deg); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(62, 160, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 160, 106, 0); } }
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero__title .line > span { opacity: 1; transform: none; }
}

/* ─── Statistiche admin ─── */
.seg { display: flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 99px; background: var(--stone-2); }
.seg a { padding: .45rem .95rem; border-radius: 99px; text-decoration: none; color: var(--grey-d); font-weight: 600; font-size: .88rem; }
.seg a.is-active { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(30, 27, 25, .12); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.tile { display: flex; flex-direction: column; gap: .25rem; padding: 1.3rem 1.4rem; border-radius: var(--radius); background: var(--white); border: 1px solid rgba(30, 27, 25, .07); }
.tile span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--grey-d); font-weight: 600; }
.tile strong { font: 600 2rem/1.1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.tile small { color: var(--grey-d); font-size: .82rem; }
.admin__grid--half { grid-template-columns: 1fr; }

.vbars { display: flex; align-items: flex-end; gap: 3px; height: 240px; padding: 0 0 26px; border-bottom: 1px solid var(--stone-3); margin: 1rem 0; }
.vbars__col { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; outline: none; }
.vbars__b { width: 100%; max-width: 44px; min-height: 2px; background: var(--green-2); border-radius: 4px 4px 0 0; transition: background .2s; }
.vbars__col:hover .vbars__b, .vbars__col:focus .vbars__b { background: var(--green); }
.vbars__l { position: absolute; bottom: -24px; font-size: .62rem; color: var(--grey-d); }
.tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 5; min-width: 150px; padding: .6rem .8rem; border-radius: 10px; background: var(--ink); color: var(--stone); font-size: .82rem; line-height: 1.5; pointer-events: none; opacity: 0; transition: opacity .15s; white-space: nowrap; }
.tip strong { display: block; text-transform: capitalize; }
.vbars__col:hover .tip, .vbars__col:focus .tip { opacity: 1; }
.vbars__col:first-child .tip { left: 0; transform: none; }
.vbars__col:last-child .tip { left: auto; right: 0; transform: none; }
.vbars__col .tip { bottom: auto; top: 0; }
.data-table summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--green-2); margin-top: 1rem; }

.hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.hbars li { display: grid; grid-template-columns: minmax(90px, 34%) 1fr auto; align-items: center; gap: .8rem; font-size: .9rem; }
.hbars__l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbars__t { height: 14px; }
.hbars__b { display: block; height: 100%; min-width: 2px; background: var(--green-2); border-radius: 0 4px 4px 0; }
.hbars__v { font-variant-numeric: tabular-nums; color: var(--grey-d); font-size: .85rem; white-space: nowrap; }

/* ─── Avviso, pausa prenotazioni, impostazioni ─── */
.notice { display: block; background: var(--ink); color: var(--stone); text-align: center; font-size: .88rem; font-weight: 600; padding: .55rem var(--gutter); line-height: 1.35; }
.notice--link { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .2rem .5rem; text-decoration: none; transition: background .3s; }
.notice--link:hover { background: var(--green); color: var(--stone); }
.notice--link svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--sage); stroke-width: 2; }
.notice--link em { font-style: normal; color: var(--sage); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; transition: transform .3s var(--ease); }
.notice--link:hover em { transform: translateX(3px); }
body:has(.notice) main { padding-top: 40px; }
.paused { padding: 1.6rem; border-radius: var(--radius); background: rgba(255, 255, 255, .7); box-shadow: var(--shadow); }
.paused .lead { font: 500 1.3rem/1.5 var(--serif); }
.settings .switch { display: flex; margin: .4rem 0 1rem; }
.settings__save { position: sticky; bottom: 16px; z-index: 5; display: flex; justify-content: flex-end; margin: -0.5rem 0 1.5rem; }
.settings__save .btn { box-shadow: var(--shadow-l); }

/* ─── Orari consigliati ─── */
.suggest { margin-bottom: 1.8rem; padding: 1.2rem; border-radius: var(--radius); background: var(--green) var(--grain-light); color: var(--stone); animation: fadeUp .5s var(--ease); }
.suggest__t { display: flex; align-items: center; gap: .5rem; margin: 0 0 .9rem; font-weight: 600; font-size: .95rem; }
.suggest__t svg { width: 18px; height: 18px; fill: var(--sage); flex: none; }
.suggest__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .55rem; }
.suggest .skeleton { height: 58px; opacity: .25; }
.sugg { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; padding: .75rem .9rem; border-radius: 12px; border: 1.5px solid rgba(239, 235, 230, .22); background: rgba(239, 235, 230, .07); color: var(--stone); font: inherit; text-align: left; cursor: pointer; transition: all .25s var(--ease); }
.sugg strong { font-size: .98rem; text-transform: capitalize; }
.sugg small { font-size: .76rem; color: var(--sage); }
.sugg:hover { background: rgba(239, 235, 230, .14); transform: translateY(-2px); }
.sugg.is-active { background: var(--stone); color: var(--green); border-color: var(--stone); }
.sugg.is-active small { color: var(--green-3); }
.days-label { margin: 0 0 .6rem; }
.slot--best { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .6rem .3rem; border-color: var(--green-3); background: #f4eee7; grid-column: span 2; }
.slot--best small { font-size: .68rem; font-weight: 500; color: var(--green-3); line-height: 1.2; }
.slot--best.is-active small { color: var(--sage); }

/* ─── Sconti sugli orari consigliati ─── */
.off { display: inline-block; font-style: normal; font-size: .68rem; font-weight: 700; line-height: 1; padding: .25em .5em; border-radius: 999px; background: #ecdcc8; color: #6e4a2c; letter-spacing: .02em; }
.slot--off { position: relative; border-color: #c9a27a; }
.slot--off .off { position: absolute; top: -.55em; right: -.35em; box-shadow: 0 2px 6px rgba(30, 27, 25, .15); }
.slot--best .off { position: static; margin-top: 2px; }
.slot.is-active .off { background: var(--stone); color: var(--green); }
.sugg { position: relative; }
.sugg .off { position: absolute; top: .6rem; right: .6rem; background: #e3c56b; color: #3b2c06; }
.suggest__off { margin-left: auto; padding: .2em .7em; border-radius: 999px; background: #e3c56b; color: #3b2c06; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.suggest__off:empty { display: none; }
.suggest__t { flex-wrap: wrap; }
#sum-price s { font-weight: 400; color: var(--grey); font-size: .85em; margin-right: .25em; }
.settings .field--row label { width: auto; flex: 1; font-size: .9rem; }
.settings .field--row input { flex: none; width: 90px; }
.settings .field--row { gap: .8rem; }
.chip--ok { background: #ecdcc8; color: #6e4a2c; }

/* ─── Footer (mobile-first) ─── */
.foot { position: relative; background: var(--ink) var(--grain); background-size: 240px; color: rgba(239, 235, 230, .7); font-size: .95rem; padding: 2.5rem 0 1.5rem; overflow: hidden; }
.foot::before { content: ""; position: absolute; inset: 0 0 auto; height: 420px; background: radial-gradient(60% 100% at 80% 0%, rgba(138, 95, 60, .35), transparent 70%); pointer-events: none; }
.foot > .wrap { position: relative; }
.foot a { color: var(--stone); text-decoration: none; transition: color .2s; }
.foot a:hover, .foot a:focus-visible { color: var(--sage); }
.foot .btn, .foot .btn:hover, .foot .btn:focus-visible { color: var(--fg); }   /* i pulsanti tengono il loro colore */
.foot h3 { margin: 0 0 1rem; font: 700 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--sage); }
.foot ul { list-style: none; margin: 0; padding: 0; }

.foot__cta { position: relative; display: grid; gap: 1.6rem; margin: 0 0 3rem; padding: 2rem 1.4rem; border-radius: var(--radius); background: var(--green) var(--grain-light); color: var(--stone); box-shadow: var(--shadow-l); overflow: hidden; }
.foot__cta::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(239, 235, 230, .12); box-shadow: 0 0 0 30px rgba(239, 235, 230, .03), 0 0 0 60px rgba(239, 235, 230, .02); pointer-events: none; }
.foot__cta h2 { margin: .5rem 0 .6rem; color: var(--stone); font-size: clamp(1.9rem, 7vw, 3.4rem); }
.foot__cta h2 em { color: var(--sage); }
.foot__cta p { margin: 0; color: rgba(239, 235, 230, .78); max-width: 34em; }
.foot__kicker { display: flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.foot__cta .foot__kicker { color: var(--stone); }
.foot__cta-btns { position: relative; z-index: 1; display: grid; gap: .7rem; }
.foot__cta-btns .btn { justify-content: center; width: 100%; }
.btn--outline-light { --bg: transparent; --fg: var(--stone); border: 1.5px solid rgba(239, 235, 230, .4); }
.btn--outline-light:hover { --bg: rgba(239, 235, 230, .1); color: var(--stone); border-color: var(--stone); }

.foot__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem 1.5rem; }
.foot__brand, .foot__contact, .foot__hours { grid-column: 1 / -1; }
.foot__logo { display: inline-block; margin-bottom: 1.1rem; }
.foot__brand p { margin: 0 0 1.4rem; max-width: 30em; line-height: 1.7; }
.foot__col li + li { margin-top: .15rem; }
.foot__col a { display: inline-block; padding: .4rem 0; }    /* area di tocco comoda */
.social { display: flex; gap: .6rem; }
.social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(239, 235, 230, .18); background: rgba(239, 235, 230, .04); transition: background .3s, transform .4s var(--ease), border-color .3s; }
.social a:hover { background: var(--green-2); border-color: var(--green-2); color: var(--stone); transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.social .fill { fill: currentColor; stroke: none; }

.foot__contact li { display: grid; grid-template-columns: 20px 1fr; gap: .8rem; align-items: start; padding: .35rem 0; }
.foot__contact svg { width: 18px; height: 18px; margin-top: .55rem; fill: none; stroke: var(--sage); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.foot__contact address { font-style: normal; line-height: 1.5; }
.foot__contact a { overflow-wrap: anywhere; }

.foot__hours ul { border-radius: 14px; border: 1px solid rgba(239, 235, 230, .1); background: rgba(239, 235, 230, .03); padding: .3rem .9rem; }
.foot__hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; font-size: .88rem; font-variant-numeric: tabular-nums; }
.foot__hours li + li { border-top: 1px solid rgba(239, 235, 230, .07); }
.foot__hours li > span:first-child { font-weight: 600; color: var(--stone); }
.foot__hours li { align-items: flex-start; }
.foot__fasce { display: flex; flex-direction: column; align-items: flex-end; gap: .15rem; text-align: right; white-space: nowrap; }
.foot__hours .is-closed { opacity: .5; }
.foot__hours .is-today { margin: 0 -.9rem; padding-inline: .9rem; background: rgba(210, 180, 143, .1); color: var(--stone); }
.foot__hours .is-today > span:first-child::after { content: " · oggi"; font-weight: 500; color: var(--sage); }

.foot__bottom { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .8rem 1.5rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(239, 235, 230, .1); font-size: .8rem; }
.foot__bottom p { margin: 0; }
.foot__bottom > p, .foot__legal { grid-column: 1; }
.foot__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.foot__legal a { padding: .3rem 0; display: inline-block; }
.foot__top { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(239, 235, 230, .2); }
.foot__top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.foot__top:hover { background: var(--stone); color: var(--ink) !important; }
.foot__top:hover svg { transform: translateY(-2px); }

@media (min-width: 600px) {
  .foot__cta { padding: 2.6rem; }
  .foot__cta-btns { grid-auto-flow: column; justify-content: start; }
  .foot__cta-btns .btn { width: auto; }
  .foot__contact, .foot__hours { grid-column: auto; }
}
@media (min-width: 861px) {
  .foot { padding-top: 4.5rem; padding-bottom: 2rem; }
  .foot__cta { grid-template-columns: 1fr auto; align-items: center; gap: 2.5rem; padding: 3.4rem 3.6rem; margin: 0 0 4.5rem; }
  .foot__cta-btns { grid-auto-flow: row; }
  .foot__cta-btns .btn { width: 100%; }
  .foot__bottom { grid-template-columns: auto 1fr auto; margin-top: 4rem; }
  .foot__legal { grid-column: 2; justify-content: flex-end; }
  .foot__top { grid-column: 3; grid-row: 1; }
}
@media (min-width: 1100px) {
  .foot__grid { grid-template-columns: 1.35fr .75fr .85fr .95fr 1.15fr 1.25fr; gap: 2.2rem; }
  .foot__brand { grid-column: auto; }
}

/* ═══════════ Responsive: si parte dal telefono e si aggiunge spazio ═══════════ */
@media (hover: none) {
  .service:hover, .pick:hover .pick__body, .sugg:hover, .social a:hover { transform: none; }
  .foto:hover img { transform: none; }
}

@media (min-width: 561px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .newsletter__row { flex-direction: row; }
  .contacts div { grid-template-columns: 110px 1fr; gap: 1rem; }
  .bento { gap: 1rem; }
  .hours { padding: .6rem 2rem; }
  .ticker { transform: rotate(-1.2deg) scale(1.02); margin: -10px 0 0; }
  .logos img { height: 64px; }
  .logos__track { gap: 4.5rem; }
  .map { aspect-ratio: 4/3.4; }
  .services, .pick-services { grid-template-columns: 1fr 1fr; }
  .steps { gap: .4rem; }
  .steps li, .steps .is-active { gap: .5rem; padding: .5rem .9rem; font-size: .85rem; }
  .days-nav { display: block; }
  .day { width: 72px; padding: .8rem 0; }
  .slots { grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); }
  .summary { flex-wrap: nowrap; gap: 1rem; padding: .8rem .8rem .8rem 1.4rem; border-radius: 999px; }
  .summary__info { order: 0; flex: 1; flex-basis: auto; flex-direction: column; justify-content: center; align-items: stretch; gap: 0; padding: 0; }
  .summary .btn--cta { flex: none; }
  .auth__card { padding: 2.6rem; }
  .panel { padding: 2rem; }
  .table-scroll { margin: 0 -2rem 1rem; padding: 0 2rem; }
  .appt { grid-template-columns: auto 1fr auto; gap: 1.4rem; padding: 1.4rem; }
  .appt__act { grid-column: auto; flex-wrap: nowrap; }
  .service { padding: 2rem; }
  .paused { padding: 2.5rem; }
  .step legend { font-size: 1.6rem; }
}

@media (min-width: 861px) {
  :root { --dock-h: 0px; }
  body { font-size: 17px; }
  .dock { display: none; }
  .nav__in { height: 84px; gap: 2rem; }
  .nav__burger { display: none; }
  .nav__cta { display: inline-flex; }
  .nav__links {
    position: static; flex-direction: row; gap: 1.2rem; margin-left: auto; padding: 0; max-height: none; overflow: visible;
    background: none; box-shadow: none; clip-path: none; visibility: visible; transition: none;
  }
  .nav__links a { padding: 0; font: 500 .95rem var(--sans); border: 0; }
  .nav__links a::after { display: block; }

  .hero { min-height: 100svh; padding: 120px 0 90px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
  .hero__visual { max-width: none; width: auto; margin: 0; }
  .hero__badge { left: -48px; bottom: 36px; width: 150px; height: 150px; }
  .hero__badge img { width: 74px; height: 74px; }
  .hero__badge text { font-size: 13.5px; }
  .hero__trust { gap: 2.2rem; }
  .hero__scroll { display: block; }
  .after-hours { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem 2.4rem; }
  .salone { grid-template-columns: .9fr 1.1fr; }
  .orari { grid-template-columns: 1fr 1fr; }
  .account-teaser { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .phone-mock { transform: rotate(3deg); }
  .faq { grid-template-columns: .8fr 1.2fr; gap: 4rem; }
  .faq__list summary { padding: 1.5rem 0; font-size: 1.15rem; }
  .dove { grid-template-columns: 1fr 1.1fr; }
  .newsletter { margin-top: 5rem; }

  .book { padding: 130px 0 160px; }
  .account { padding-top: 140px; }
  .account__grid { grid-template-columns: 1.6fr 1fr; }
  .article { padding-top: 150px; }
  .auth { padding: 120px var(--gutter) 80px; }

  .admin__bar nav { width: auto; flex-wrap: wrap; overflow: visible; gap: .15rem; }
  .admin__main { padding-top: 2rem; }
  .admin__main h1 { font-size: 2rem; }
  .admin__grid { grid-template-columns: 1.7fr 1fr; }
  .admin__grid--half { grid-template-columns: 1fr 1fr; }
  .table select { font-size: .85rem; }
  .table--form input, .table--form textarea { font-size: .9rem; }
  .vbars { gap: 6px; }
  .vbars__l { font-size: .75rem; }
}

@media (max-width: 860px) {
  /* Agenda del giorno in admin: una scheda per appuntamento */
  .table--agenda, .table--agenda tbody { display: block; }
  .table--agenda tr { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; padding: 1rem 0; border-top: 1px solid var(--stone-3); }
  .table--agenda td { padding: 0; border: 0; }
  .table--agenda td:nth-child(3) { grid-column: 2; }
  .table--agenda td:nth-child(4) { grid-column: 1 / -1; }
  .table--agenda select { width: 100%; }
  .st-cancellata td { text-decoration: none; }
}

@media (min-width: 1025px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .nav__links { gap: 1.8rem; }
}

/* ═══════════ Effetti e animazioni ═══════════ */
/* Passaggio morbido tra le pagine (browser recenti, gli altri ignorano) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .25s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .45s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(12px); } }

/* Barra di lettura in cima */
.progress { position: fixed; inset: 0 0 auto; z-index: 70; height: 3px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--green-3), var(--sage)); pointer-events: none; }

/* Titoli che arrivano a fuoco, liste più leggere, foto che si aprono */
h2.reveal { filter: blur(10px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0ms); }
h2.reveal.is-in { filter: none; }
.reveal--soft { transform: translateY(14px); transition-duration: .7s; }
.reveal--wipe { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path 1.3s var(--ease); }
.reveal--wipe.is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.reveal--wipe img { transform: scale(1.15); transition: transform 1.6s var(--ease); }
.reveal--wipe.is-in img { transform: scale(1); }

/* Hero: luci che respirano dietro al testo */
.hero__grain { animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(-3%, 2%, 0) scale(1.08); } }
.hero__title em { background: linear-gradient(90deg, var(--green-3), var(--sage), var(--green-3)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }

/* Onda al tocco sui pulsanti */
.btn, .dock__main { overflow: hidden; isolation: isolate; }
.ripple { position: absolute; z-index: -1; border-radius: 50%; background: currentColor; opacity: .18; transform: scale(0); animation: ripple .6s var(--ease) forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* Luce che segue il mouse */
.spot { position: relative; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(138, 95, 60, .12), transparent 65%); }
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }
.foot__cta.spot::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(210, 180, 143, .18), transparent 65%); }

/* Servizi: freccia e prezzo prendono vita al passaggio */
.service__price { transition: transform .5s var(--ease), color .3s; }
.service:hover .service__price { transform: scale(1.06); color: var(--green-3); }

/* Barra mobile: il pulsante Prenota pulsa piano per attirare l'occhio */
.dock__main { animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 8px 26px -6px rgba(138, 95, 60, .75); } }

/* Footer: anelli che ruotano piano e social che si illuminano */
.foot__cta::after { animation: spin 40s linear infinite; }
.social a { position: relative; }
.social a::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--sage); opacity: 0; transform: scale(.8); transition: opacity .35s, transform .45s var(--ease); }
.social a:hover::after { opacity: 1; transform: scale(1.12); }
.foot__col a { background: linear-gradient(currentColor, currentColor) 0 calc(100% - .3rem) / 0 1px no-repeat; transition: background-size .4s var(--ease), color .2s; }
.foot__col a:hover { background-size: 100% 1px; }

/* Prenotazione: prezzo che "salta" quando cambia, scelte che rispondono al tocco */
.bump { display: inline-block; animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.18); } }
.pick input:checked + .pick__body { animation: pop .4s var(--ease); }
.slot.is-active, .sugg.is-active, .day.is-active { animation: pop .35s var(--ease); }
@keyframes pop { 50% { transform: scale(.96); } }
.off { animation: wiggle 2.8s ease-in-out infinite; }
@keyframes wiggle { 0%, 88%, 100% { transform: none; } 92% { transform: rotate(-6deg) scale(1.08); } 96% { transform: rotate(5deg) scale(1.08); } }

@media (prefers-reduced-motion: reduce) {
  h2.reveal, .reveal--wipe, .reveal--wipe img { filter: none; clip-path: none; transform: none; }
  .hero__title em { animation: none; }
  @view-transition { navigation: none; }
}

/* ─── Pagina partner (mobile-first) ─── */
.logos a { display: block; flex: none; }
.brands-hero { padding-top: 110px; padding-bottom: 2rem; }
.brands-hero h1 { font-size: clamp(2.3rem, 7vw, 4.6rem); }
.brand-index { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-top: 2.2rem; }
.brand-index__item { display: grid; place-items: center; height: 76px; padding: .8rem; border-radius: 14px; background: var(--white); border: 1px solid var(--stone-3); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.brand-index__item img { max-height: 44px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.brand-index__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green-3); }
.brand-index__item:hover img { filter: none; opacity: 1; }
.brands { display: grid; gap: 1.2rem; }
.brand { display: grid; gap: 1.4rem; padding: 1.4rem; border-radius: var(--radius); background: rgba(255, 255, 255, .6); border: 1px solid rgba(30, 27, 25, .07); scroll-margin-top: 90px; }
.brand:target { border-color: var(--green-3); box-shadow: 0 0 0 4px rgba(138, 95, 60, .12); }
.brand__logo { display: grid; place-items: center; aspect-ratio: 16/9; padding: 1.5rem; border-radius: 14px; background: var(--white); overflow: hidden; }
.brand__logo img { max-height: 110px; width: auto; object-fit: contain; transition: transform .8s var(--ease); }
.brand:hover .brand__logo img { transform: scale(1.06); }
.brand__num { margin: 0 0 .2rem; font: 600 .8rem/1 var(--sans); letter-spacing: .18em; color: var(--green-3); }
.brand h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); margin-bottom: .6rem; }
.brand__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.brand__sub { margin: 1.4rem 0 .7rem; font: 700 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--grey-d); }
.brand .ticks { margin: 0 0 1.2rem; }
@media (min-width: 561px) {
  .brand-index { grid-template-columns: repeat(4, 1fr); }
  .brand { padding: 2rem; }
}
@media (min-width: 861px) {
  .brands-hero { padding-top: 150px; }
  .brand-index { grid-template-columns: repeat(7, 1fr); }
  .brand { grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; padding: 2.4rem; }
  .brand:nth-child(even) .brand__logo { order: 2; }
}

/* ═══════════ Dettagli da barberia (SVG a tratto, decorativi) ═══════════ */
.deco { position: absolute; z-index: 0; pointer-events: none; color: var(--green-3); }
.deco svg { width: 100%; height: auto; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.has-deco { overflow-x: clip; }
.has-deco > .wrap, .hero__grid { position: relative; z-index: 1; }

/* Forbici: le lame si chiudono e riaprono */
.forbici { width: 80px; height: 32px; overflow: visible; filter: drop-shadow(0 2px 3px rgba(30, 27, 25, .18)); }
.forbici__anello { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.forbici__pieno { fill: currentColor; stroke: none; }
.forbici__perno { fill: var(--stone); stroke: currentColor; stroke-width: 1.6; }
.forbici__a, .forbici__b { transform-box: view-box; transform-origin: 62px 24px; }
.forbici__a { transform: rotate(11deg); }
.forbici__b { transform: rotate(-11deg); }
.forbici--snip .forbici__a { animation: snipA 4.5s ease-in-out infinite; }
.forbici--snip .forbici__b { animation: snipB 4.5s ease-in-out infinite; }
@keyframes snipA { 0%, 70%, 100% { transform: rotate(11deg); } 78%, 90% { transform: rotate(1deg); } 84% { transform: rotate(11deg); } }
@keyframes snipB { 0%, 70%, 100% { transform: rotate(-11deg); } 78%, 90% { transform: rotate(-1deg); } 84% { transform: rotate(-11deg); } }

/* Hero: mezza barba dietro la foto */
.hero__visual { isolation: isolate; }
.deco--barba { z-index: -1; top: -14%; right: -16%; width: 62%; opacity: .55; }
.barba__viso { stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s .5s var(--ease) forwards; }
.barba__peli { stroke-width: 1; opacity: .8; clip-path: inset(0 0 100% 0); animation: crescita 2.6s 1s var(--ease) forwards; }
.barba__punti { stroke-width: 1.6; opacity: .7; }
.barba__taglio { stroke-dasharray: 3 7; opacity: .7; animation: tratteggio 1.6s linear infinite; }
@keyframes crescita { to { clip-path: inset(0 0 0 0); } }
@keyframes tratteggio { to { stroke-dashoffset: -20; } }

/* Ciuffi di capelli che ondeggiano piano */
.deco--ciuffo-hero { top: 70px; left: -40px; width: 200px; opacity: .22; }
.deco--ciuffo-servizi { top: 40px; right: -50px; width: 220px; opacity: .16; transform: scaleX(-1); }
.deco--ciuffo-hero path, .deco--ciuffo-servizi path { transform-box: view-box; transform-origin: 0 100%; animation: ondeggia 7s ease-in-out infinite alternate; }
:is(.deco--ciuffo-hero, .deco--ciuffo-servizi) path:nth-child(2) { animation-duration: 8.5s; animation-delay: -2s; }
:is(.deco--ciuffo-hero, .deco--ciuffo-servizi) path:nth-child(3) { animation-duration: 6.2s; animation-delay: -4s; }
:is(.deco--ciuffo-hero, .deco--ciuffo-servizi) path:nth-child(4) { animation-duration: 9s; animation-delay: -1s; }
@keyframes ondeggia { from { transform: rotate(-1.6deg); } to { transform: rotate(1.8deg); } }

/* Divisorio: le forbici tagliano la linea tratteggiata */
.cut { position: relative; height: 32px; margin-top: calc(var(--section) * .5); color: var(--green-3); }
.cut.reveal { opacity: 1; transform: none; }
.cut::before, .cut::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; }
.cut::before { border-top: 1.5px dashed var(--stone-3); }
.cut::after { height: 1.5px; margin-top: -.75px; background: linear-gradient(90deg, transparent, var(--green-3)); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease); }
.cut .forbici { position: absolute; top: 0; left: 0; transition: left 2.2s var(--ease); }
.cut::after { right: 0; }
.cut.is-in::after { transform: scaleX(1); }
.cut.is-in .forbici { left: calc(100% - 80px); }
.cut.is-in .forbici__a { animation: snipA .55s ease-in-out 4; }
.cut.is-in .forbici__b { animation: snipB .55s ease-in-out 4; }
.cut--rev { transform: scaleX(-1) !important; }

/* CTA finale: righe che si diradano come una sfumatura */
.final { position: relative; }
.fade-lines { position: absolute; inset: 0 0 auto; height: 70%; z-index: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(to bottom, var(--stone-3) 0 1px, transparent 1px 10px);
  -webkit-mask-image: radial-gradient(80% 90% at 50% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(80% 90% at 50% 0%, #000 20%, transparent 75%); }

/* Footer: rasoio appena accennato */
.deco--rasoio { right: -30px; bottom: 90px; width: 360px; color: var(--stone); opacity: .05; transform: rotate(-12deg); }

@media (min-width: 861px) {
  .deco--barba { top: -12%; right: -22%; width: 70%; }
  .deco--ciuffo-hero { top: 120px; left: 2%; width: 260px; }
  .deco--ciuffo-servizi { width: 300px; right: 0; }
  .deco--rasoio { width: 520px; right: 4%; bottom: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .barba__viso { stroke-dashoffset: 0; } .barba__peli { clip-path: none; }
}

/* ═══════════ Animazioni, secondo giro ═══════════ */
/* Pulsanti principali: al passaggio scorrono le righe dell'insegna del barbiere */
.btn--cta::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(239, 235, 230, .08) 10px 20px); background-size: 28.28px 28.28px; }
.btn--cta:hover::before { opacity: 1; animation: insegna .9s linear infinite; }
@keyframes insegna { to { background-position: 28.28px 0; } }

/* Eyebrow: il trattino si allunga quando compare */
.eyebrow.reveal::before { width: 0; transition: width .9s .25s var(--ease); }
.eyebrow.reveal.is-in::before { width: 28px; }

/* Parole in corsivo dei titoli: una linea si disegna sotto */
h2.reveal em { background: linear-gradient(90deg, var(--green-3), var(--sage)) 0 92% / 0 2px no-repeat; transition: background-size 1.1s .55s var(--ease); padding-bottom: .04em; }
h2.reveal.is-in em { background-size: 100% 2px; }
.section--dark h2.reveal em { background-image: linear-gradient(90deg, var(--sage), rgba(239, 235, 230, .6)); }

/* Nastri che si inclinano con la velocità dello scroll */
.ticker__track > *, .foot__mega-track > * { display: inline-block; transform: skewX(var(--skew, 0deg)); transition: transform .25s var(--ease); }

/* Schede dell'area cliente che fluttuano */
.phone-mock__card { animation: galleggia 6s ease-in-out infinite; }
.phone-mock__card:nth-child(2) { animation-delay: -2s; }
.phone-mock__card:nth-child(3) { animation-delay: -4s; }
@keyframes galleggia { 50% { transform: translateY(-6px); } }
.phone-mock__card.is-muted { animation-name: galleggiaMuted; }
@keyframes galleggiaMuted { 0%, 100% { transform: scale(.97); } 50% { transform: scale(.97) translateY(-6px); } }

/* Foto inclinabili: ritorno morbido */
.bento .foto, .salone .foto, .brand__logo { transition: transform .6s var(--ease), clip-path 1.3s var(--ease); will-change: transform; }

/* FAQ: il contenuto si apre senza scatti */
.faq__list details p { overflow: hidden; }
.faq__list summary { transition: color .3s; }
.faq__list summary:hover { color: var(--green-3); }

/* Orari: la riga di oggi ha una luce che passa */
.hours li.is-today { position: relative; overflow: hidden; }
.hours li.is-today::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(138, 95, 60, .12) 50%, transparent 70%); transform: translateX(-100%); animation: luce 4s 1s ease-in-out infinite; pointer-events: none; }
@keyframes luce { 40%, 100% { transform: translateX(100%); } }

/* Footer: grande scritta a contorno che scorre */
.foot__mega { position: relative; overflow: hidden; margin: 3rem 0 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.foot__mega-track { display: flex; align-items: center; width: max-content; animation: marquee 60s linear infinite; }
.foot__mega span { padding: 0 2.5rem; font: italic 600 clamp(3.5rem, 13vw, 9rem)/1.1 var(--serif); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(239, 235, 230, .2); white-space: nowrap; transition: color .5s, -webkit-text-stroke-color .5s; }
.foot__mega i { font-style: normal; color: var(--sage); opacity: .4; font-size: 1.6rem; }
.foot__mega:hover span { -webkit-text-stroke-color: rgba(210, 180, 143, .55); }
.foot__mega + .foot__bottom { margin-top: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  .eyebrow.reveal::before { width: 28px; }
  h2.reveal em { background-size: 100% 2px; }
}

/* ═══════════ Popup "Ci siamo trasferiti" (mobile-first: pannello dal basso) ═══════════ */
.moved { position: fixed; inset: auto 0 0; width: 100%; max-width: 100%; max-height: 92svh; margin: 0; padding: 0; overflow: auto; border: 0; border-radius: 26px 26px 0 0;
  background: var(--stone) var(--grain); background-size: 240px; color: var(--ink); box-shadow: 0 -20px 60px -10px rgba(30, 27, 25, .45);
  padding-bottom: env(safe-area-inset-bottom); }
.moved[open] { animation: sheetIn .6s var(--ease); }
.moved.is-closing { animation: sheetOut .28s ease-in forwards; }
.moved::backdrop { background: rgba(30, 27, 25, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.moved[open]::backdrop { animation: fadeBg .4s ease; }
@keyframes sheetIn { from { transform: translateY(100%); } }
@keyframes sheetOut { to { transform: translateY(100%); opacity: .6; } }
@keyframes fadeBg { from { opacity: 0; } }

.moved__x { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(239, 235, 230, .85); cursor: pointer; color: var(--ink); transition: transform .3s var(--ease), background .2s; }
.moved__x:hover { background: var(--white); transform: rotate(90deg); }
.moved__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.moved__map { position: relative; height: 130px; background: var(--green) var(--grain-light); overflow: hidden; }
.moved__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.moved__strade { fill: none; stroke: rgba(239, 235, 230, .09); stroke-width: 10; }
.moved__old { fill: none; stroke: rgba(239, 235, 230, .45); stroke-width: 2; stroke-dasharray: 3 3; }
.moved__route { fill: none; stroke: var(--sage); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.moved[open] .moved__route { animation: draw 1.3s .5s var(--ease) forwards; }
.moved__pin { fill: var(--sage); transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; }
.moved__pin circle { fill: var(--green); }
.moved[open] .moved__pin { animation: pinDrop .7s 1.6s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.moved__shadow { fill: rgba(0, 0, 0, .35); transform-box: fill-box; transform-origin: center; transform: scale(0); }
.moved[open] .moved__shadow { animation: pinShadow .7s 1.6s var(--ease) forwards; }
@keyframes pinDrop { 0% { opacity: 0; transform: translateY(-40px) scale(.6); } 60% { opacity: 1; transform: translateY(0) scale(1.05, .92); } 100% { opacity: 1; transform: none; } }
@keyframes pinShadow { to { transform: scale(1); } }

.moved__body { padding: 1.5rem 1.3rem 1.6rem; }
.moved__eyebrow { display: flex; align-items: center; gap: .5rem; margin: 0 0 .6rem; font: 700 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--green-3); }
.moved h2 { margin: 0 0 .4rem; font-size: clamp(2rem, 8vw, 2.8rem); }
.moved__lead { margin: 0 0 1.2rem; color: var(--grey-d); }
.moved__addr { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.moved__addr li { display: grid; gap: .1rem; padding: .8rem 1rem; border-radius: 14px; }
.moved__addr small { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.moved__from { background: var(--stone-2); color: var(--grey-d); }
.moved__from s { text-decoration-thickness: 1.5px; text-decoration-color: var(--danger); }
.moved__to { position: relative; background: var(--white); border: 1.5px solid var(--green-3); box-shadow: 0 10px 30px -14px rgba(138, 95, 60, .55); }
.moved__to small { color: var(--green-3); }
.moved__to strong { font: 600 1.45rem/1.15 var(--serif); color: var(--ink); }
.moved__to span { font-size: .9rem; color: var(--grey-d); }
.moved[open] .moved__to { animation: pop .5s 2.2s var(--ease) both; }
.moved__note { margin: 0 0 1.3rem; font-size: .9rem; color: var(--grey-d); }
.moved__ctas { display: grid; gap: .6rem; }
.moved__ctas .btn { width: 100%; }

@media (min-width: 640px) {
  .moved { inset: 0; margin: auto; width: min(560px, calc(100% - 32px)); height: fit-content; max-height: calc(100svh - 48px); border-radius: 26px; box-shadow: var(--shadow-l); padding-bottom: 0; }
  .moved[open] { animation: modalIn .6s var(--ease); }
  .moved.is-closing { animation: modalOut .28s ease-in forwards; }
  .moved__map { height: 150px; }
  .moved__body { padding: 1.8rem 2.2rem 2.2rem; }
  .moved__addr { grid-template-columns: .8fr 1.2fr; align-items: stretch; }
  .moved__ctas { grid-template-columns: 1.3fr 1fr; }
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes modalOut { to { opacity: 0; transform: translateY(12px) scale(.97); } }
@media (prefers-reduced-motion: reduce) {
  .moved__route { stroke-dashoffset: 0; } .moved__pin { opacity: 1; } .moved__shadow { transform: none; }
}

/* ─── Admin: promemoria WhatsApp (mobile-first) ─── */
.wa-list { list-style: none; margin: 0; padding: 0; }
.wa-item { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; align-items: center; padding: 1rem 0; border-top: 1px solid var(--stone-3); transition: background .3s; }
.wa-item__ora { font: 600 1.3rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.wa-item__chi { display: grid; min-width: 0; }
.wa-item__chi small { color: var(--grey-d); overflow-wrap: anywhere; }
.wa-item__stato { grid-column: 1 / -1; font-size: .85rem; font-weight: 600; color: #1e7a4c; }
.wa-item__stato:empty { display: none; }
.wa-item__act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem; }
.wa-item__act form { margin: 0; }
.wa-btn { --bg: #25d366; --fg: #0b3d20; font-weight: 700; }
.wa-btn:hover { --bg: #1ebe5a; color: #0b3d20; }
.wa-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.wa-btn:hover svg { transform: none; }
.wa-item.is-sent .wa-item__ora, .wa-item.is-sent .wa-item__chi { opacity: .55; }
.wa-item.is-sent .wa-btn { --bg: var(--stone-2); --fg: var(--grey-d); }
.wa-preview { white-space: normal; max-width: 420px; padding: .9rem 1.1rem; border-radius: 4px 16px 16px 16px; background: #dcf8c6; color: #111; font-size: .92rem; line-height: 1.5; overflow-wrap: anywhere; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
@media (min-width: 700px) {
  .wa-item { grid-template-columns: 70px 1fr auto auto; }
  .wa-item__stato, .wa-item__act { grid-column: auto; }
  .wa-item__act { flex-wrap: nowrap; justify-content: flex-end; }
}
.wa-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.wa-head h2 { margin: 0; }
.wa-item__stato.is-err { color: var(--danger); }
.raffica { margin: 1rem 0 1.5rem; padding: 1.3rem; border-radius: var(--radius); background: var(--green) var(--grain-light); color: var(--stone); animation: fadeUp .4s var(--ease); }
.raffica .muted { color: rgba(239, 235, 230, .7); margin: 1rem 0 0; }
.raffica__step { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.raffica__chi { display: grid; margin: .3rem 0 .9rem; }
.raffica__chi strong { font: 600 1.8rem/1.15 var(--serif); }
.raffica__chi span { opacity: .75; font-size: .92rem; }
.raffica__bar { height: 4px; border-radius: 4px; background: rgba(239, 235, 230, .15); margin-bottom: 1.1rem; overflow: hidden; }
.raffica__bar span { display: block; height: 100%; width: 0; background: var(--sage); transition: width .5s var(--ease); }
.raffica__ctas { display: flex; flex-wrap: wrap; gap: .6rem; }
.raffica__ctas .btn--ghost { --fg: var(--stone); border-color: rgba(239, 235, 230, .3); }
.raffica-fine { padding: 1rem 1.2rem; border-radius: var(--radius-s); background: #dcf8c6; color: #0b3d20; font-weight: 700; }
.guide { display: grid; gap: 0; }
.guide__tiles { margin: 1.2rem 0 .6rem; }
.steps-guide { counter-reset: passo; list-style: none; margin: 0; padding: 0; }
.steps-guide > li { counter-increment: passo; position: relative; padding: 0 0 1.4rem 3rem; border-left: 1.5px dashed var(--stone-3); margin-left: 1rem; }
.steps-guide > li:last-child { border-color: transparent; }
.steps-guide > li::before { content: counter(passo); position: absolute; left: -1rem; top: -.2rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--green); color: var(--stone); font-weight: 700; font-size: .9rem; }
.steps-guide h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.steps-guide p, .steps-guide ul { margin: 0 0 .7rem; }
.guide__copy { display: grid; gap: .5rem; margin: .4rem 0 .9rem; padding: .9rem 1rem; border-radius: var(--radius-s); background: var(--stone-2); }
.guide__copy pre { margin: 0; white-space: pre-wrap; font: 500 .9rem/1.5 var(--sans); }
.guide__copy .btn { justify-self: start; }
.check--wa { padding: .8rem .9rem; border-radius: var(--radius-s); background: rgba(37, 211, 102, .08); border: 1px solid rgba(37, 211, 102, .3); }
.check--wa span { display: block; }
.check--wa svg { display: inline-block; vertical-align: -3px; width: 16px; height: 16px; margin-right: .2rem; fill: none; stroke: #1e9e50; stroke-width: 2; }
.check--wa small { display: block; color: var(--grey-d); margin-top: .15rem; }
.check--wa input { accent-color: #1e9e50; }

/* Admin: riga di spunte compatte (giorni esclusi dagli orari consigliati) */
.checks-inline { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.checks-inline .check { margin: .2rem 0; }

/* ════════════ App installabile (PWA) ════════════ */
html:not(.is-app) [data-solo-app], html.is-app [data-solo-browser] { display: none !important; }

.app-phone { position: relative; justify-self: center; width: min(100%, 280px); aspect-ratio: 9 / 17; padding: 12px; border-radius: 44px; background: var(--ink); box-shadow: var(--shadow-l); }
.app-phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 76px; height: 20px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 1; }
.app-phone__screen { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; padding: 2.4rem 1.2rem 1.4rem; border-radius: 34px; background: var(--stone) var(--grain); background-size: 240px; text-align: center; }
.app-phone__screen img { border-radius: 18px; box-shadow: var(--shadow); }
.app-phone__screen strong { font: 600 1.25rem/1 var(--serif); }
.app-phone__btn { padding: .75rem 1.4rem; border-radius: 99px; background: var(--green); color: var(--stone); font-weight: 600; font-size: .9rem; }
.app-phone__card { display: flex; flex-direction: column; gap: .15rem; width: 100%; padding: .8rem 1rem; border-radius: 14px; background: var(--white); font-size: .82rem; font-weight: 600; text-align: left; }
.app-phone__card small { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-d); }
.app-phone__tag { padding: .35rem .8rem; border-radius: 99px; background: var(--sage); color: var(--ink); font-size: .76rem; font-weight: 700; }
.app-phone--sm { width: min(100%, 240px); }

.app-teaser__in { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.app-teaser__in p { max-width: 34em; }
.app-offer { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: 14px; background: #efe1cd; color: #5d3f25; }
.app-offer::before { content: "★"; color: var(--green-3); }
.app-done { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--green); }
.app-done svg, .os-tabs svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[data-install] svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-perks { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.6rem 0 0; }
.app-perks li { padding: .35rem .8rem; border-radius: 99px; border: 1px solid var(--stone-3); font-size: .82rem; font-weight: 600; color: var(--grey-d); }

.app-hero { padding-top: calc(var(--section) * .9); }
.app-hero__in { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.os-tabs { display: flex; justify-content: center; gap: .4rem; margin: 2rem auto 1.6rem; padding: .3rem; width: fit-content; border-radius: 99px; background: var(--stone-2); }
.os-tabs button { padding: .6rem 1.1rem; border: 0; border-radius: 99px; background: transparent; font: 600 .9rem var(--sans); color: var(--grey-d); cursor: pointer; }
.os-tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.app-steps { display: grid; gap: .8rem; max-width: 640px; margin: 0 auto 1.4rem; padding: 0; list-style: none; }
.app-steps li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--radius); background: rgba(255, 255, 255, .7); border: 1px solid rgba(30, 27, 25, .07); }
.app-steps li > span { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--stone); font-weight: 700; }
.app-steps p { margin: .2rem 0 0; }
.ico { display: inline-block; width: 22px; height: 22px; vertical-align: -5px; fill: none; stroke: #2b7de9; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Link nel footer */
.foot__app { display: inline-flex; align-items: center; gap: .8rem; margin: .4rem 0 1.2rem; padding: .6rem 1rem .6rem .6rem; border-radius: 16px; border: 1px solid rgba(239, 235, 230, .25); color: var(--stone); text-decoration: none; transition: background .25s, border-color .25s; }
.foot__app:hover { background: rgba(239, 235, 230, .08); border-color: var(--stone); color: var(--stone); }
.foot__app img { border-radius: 10px; }
.foot__app span { display: flex; flex-direction: column; line-height: 1.2; }
.foot__app small { font-size: .7rem; opacity: .7; }
.foot__app strong { font-size: 1rem; }
.foot__app svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.foot__app-link em { margin-left: .3rem; padding: .1rem .45rem; border-radius: 99px; background: var(--sage); color: var(--ink); font-style: normal; font-size: .72rem; font-weight: 700; }

/* Invito in basso (nel browser) */
.appbar { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(var(--dock-h) + env(safe-area-inset-bottom) + 10px);
  display: flex; align-items: center; gap: .75rem; padding: .7rem .7rem .7rem .8rem; border-radius: 20px;
  background: var(--white); box-shadow: 0 18px 40px -12px rgba(30, 27, 25, .45); border: 1px solid rgba(30, 27, 25, .08);
  opacity: 0; transform: translateY(24px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.appbar.is-in { opacity: 1; transform: none; }
.appbar[hidden] { display: none; }
.appbar img { flex: none; border-radius: 12px; }
.appbar__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.appbar__txt strong { font-size: .92rem; }
.appbar__txt span { font-size: .78rem; color: var(--grey-d); }
.appbar .btn { flex: none; }
.appbar__x { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin-left: -.2rem; border: 0; border-radius: 50%; background: transparent; color: var(--grey-d); cursor: pointer; }
.appbar__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Avviso nella pagina di prenotazione */
.app-hint { display: flex; align-items: center; gap: .7rem; max-width: 640px; margin: 0 auto 1.4rem; padding: .7rem 1rem; border-radius: 14px; background: #efe1cd; color: #5d3f25; font-size: .9rem; text-decoration: none; }
.app-hint img { flex: none; border-radius: 8px; }
.app-hint u { white-space: nowrap; }
.app-hint--ok { background: #e3e8dc; color: #34452b; }

@media (min-width: 861px) {
  .app-teaser__in { grid-template-columns: .8fr 1.2fr; gap: 5rem; }
  .app-hero__in { grid-template-columns: 1.2fr .8fr; gap: 4rem; }
  .appbar { left: auto; right: 24px; bottom: 24px; width: 420px; }
}
@media (prefers-reduced-motion: reduce) { .appbar { transition: none; } }
.chip--err { background: #f4e1e1; color: var(--danger); }
.email-testo { white-space: pre-wrap; font: .9rem/1.5 var(--sans); background: var(--stone-2); padding: 1rem; border-radius: 10px; max-height: 420px; overflow: auto; margin: .6rem 0 0; }
.email-stat { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .8rem; margin: 1rem 0; }
.email-stat div { background: var(--stone-2); border-radius: 12px; padding: .8rem 1rem; }
.email-stat strong { display: block; font-size: 1.6rem; font-family: var(--serif, inherit); }
.email-stat small { color: var(--grey-d); }

/* ── Lista clienti ── */
.cli-stat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 1.2rem; }
.cli-stat > div { position: relative; overflow: hidden; padding: 14px 16px; border-radius: 18px; background: var(--white); border: 1px solid rgba(30, 27, 25, .07); }
.cli-stat strong { display: block; font: 600 1.5rem/1.1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.cli-stat span { display: block; margin-top: 3px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--grey); }
.cli-stat span a { color: var(--green-3); }
.cli-stat__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--stone-2); }
.cli-stat__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: #2e9e5b; border-radius: 0 4px 4px 0; }
.cli { padding: 1.1rem 1.2rem; }
.cli__barra { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cli__cerca { position: relative; flex: 1 1 260px; margin: 0; }
.cli__cerca svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; fill: none; stroke: var(--grey); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.cli__cerca input { width: 100%; min-height: 46px; padding: .7em 1em .7em 2.6em; border-radius: 99px; background: var(--stone); border-color: transparent; }
.cli__cerca input:focus { background: var(--white); }
.cli__ord { flex: none; margin: 0; }
.cli__ord select { width: auto; min-height: 46px; padding: .6em 2.2em .6em 1em; border-radius: 99px; background-color: var(--stone); border-color: transparent; font-weight: 600; font-size: .9rem; }
.cli__info { display: flex; justify-content: space-between; gap: 1rem; margin: 14px 2px 4px; font-size: .82rem; color: var(--grey-d); }
.cli__info a { color: var(--green-3); font-weight: 600; }
.cli__testa, .cli__riga { display: grid; grid-template-columns: 52px minmax(0, 1fr) 70px 86px 92px 44px; gap: 14px; align-items: center; }
.cli__testa { padding: 10px 8px 8px; border-bottom: 2px solid var(--stone-2); font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--grey); }
.cli__riga { padding: 10px 8px; border-bottom: 1px solid var(--stone-2); border-radius: 14px; transition: background .15s; content-visibility: auto; contain-intrinsic-size: auto 68px; }
.cli__riga:hover { background: var(--stone); }
.cli__av { display: grid; place-items: center; width: 46px; height: 46px; margin: 3px; padding: 0; border: 0; border-radius: 50%; overflow: hidden; cursor: pointer;
  background: var(--stone-2); color: var(--grey-d); font: 600 .95rem var(--serif); box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--stone-3); transition: transform .2s var(--ease), box-shadow .2s; }
/* il mini avatar è il pulsante della scheda: anello verde = avatar fatto, rosso = da fare */
.cli__av.icon-btn--sk-ok { box-shadow: 0 0 0 2px var(--white), 0 0 0 4.5px #2e9e5b; color: #1f7a43; }
.cli__av.icon-btn--sk-no { box-shadow: 0 0 0 2px var(--white), 0 0 0 4.5px #c0392b; color: #a3271b; }
.cli__av.icon-btn--sk-ok:hover { background: var(--stone-2); box-shadow: 0 0 0 2px var(--white), 0 0 0 4.5px #2e9e5b, 0 6px 14px -6px rgba(46, 158, 91, .7); }
.cli__av.icon-btn--sk-no:hover { background: var(--stone-2); box-shadow: 0 0 0 2px var(--white), 0 0 0 4.5px #c0392b, 0 6px 14px -6px rgba(192, 57, 43, .6); }
.cli__av:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.cli__av:hover { transform: scale(1.06); }
.cli__av .av { display: block; width: 100%; height: 100%; }
.cli__chi { min-width: 0; }
.cli__nome { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: .98rem; color: var(--ink); text-decoration: none; }
.cli__nome:hover { color: var(--green-3); }
.cli__riass { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; color: var(--green-3); font-weight: 600; }
.cli__riass[hidden] { display: none; }
.cli__dal { display: block; font-size: .76rem; color: var(--grey); }
.cli__nums { display: contents; }
.cli__num strong { display: block; font-size: .95rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cli__num span { display: none; }
.cli__azioni { display: flex; gap: 6px; justify-content: flex-end; }
.cli__vuoto { padding: 2rem .5rem; text-align: center; color: var(--grey-d); }
.cli__pag { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; }
@media (max-width: 760px) {
  .cli-stat { grid-template-columns: repeat(2, 1fr); }
  .cli { padding: .9rem .8rem; }
  .cli__testa { display: none; }
  .cli__riga { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "av chi az" "av num num"; gap: 6px 12px; padding: 12px 4px; }
  .cli__av { grid-area: av; align-self: start; }
  .cli__chi { grid-area: chi; }
  .cli__azioni { grid-area: az; align-self: start; }
  .cli__nums { grid-area: num; display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .cli__num { display: inline-flex; align-items: baseline; gap: 4px; }
  .cli__num strong { font-size: .84rem; }
  .cli__num span { display: inline; font-size: .72rem; color: var(--grey); }
  .cli__dal { display: none; }
}

/* ── Appuntamenti: lista per giorno, icone, modali ── */
.filtri { padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--stone-3); gap: .6rem; }
.lista-head { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.6rem; margin-bottom: .6rem; padding: .85rem 1.1rem;
  background: var(--stone); border-radius: var(--radius); }
.lista-head__stat { display: flex; flex-direction: column; line-height: 1.15; }
.lista-head__stat strong { font-size: 1.35rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.lista-head__stat span { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-d); }
.lista-head__stat + .lista-head__stat { padding-left: 1.6rem; border-left: 1px solid var(--stone-3); }
.lista-head__csv { margin-left: auto; gap: .45em; background: var(--white); }
.lista-head__csv svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.filtri input[type=search] { min-width: 240px; flex: 1; }
.filtri input, .filtri select { width: auto; padding: .6em .9em; min-height: 42px; }
.filtri label { display: inline-flex; align-items: center; gap: .4rem; margin: 0; white-space: nowrap; }
.js-lista[aria-busy=true] { opacity: .5; transition: opacity .15s; pointer-events: none; }
.appunt__giorno { position: sticky; top: 0; z-index: 1; margin: 1.2rem 0 0; padding: .55rem .2rem; background: var(--white); border-bottom: 2px solid var(--stone-3);
  font: 700 .78rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--grey-d); }
.appunt__giorno a { color: inherit; text-decoration: none; }
.appunt__giorno.is-oggi { color: var(--green-3); border-color: var(--sage); }
.appunt__riga { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto 150px; gap: .4rem 1rem; align-items: center;
  padding: .75rem .2rem; border-bottom: 1px solid var(--stone-2); content-visibility: auto; contain-intrinsic-size: auto 72px; }
.appunt__riga:hover { background: var(--stone); }
.appunt__ora { align-self: start; padding-top: .1rem; font-variant-numeric: tabular-nums; }
.appunt__ora strong { display: block; font-size: 1.02rem; white-space: nowrap; }
.appunt__ora small, .appunt__chi small { display: block; color: var(--grey-d); font-size: .82rem; }
.appunt__chi { min-width: 0; }
.appunt__chi > strong { font-size: .98rem; }
.appunt__contatti { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.appunt__azioni { display: flex; align-items: center; justify-content: flex-end; }
.appunt__stato select { width: 100%; padding: .5em; font-size: 16px; }
.appunt__vuoto { padding: 1.5rem .2rem; }
.appunt__riga.st-cancellata { opacity: .5; }
.appunt__riga.st-cancellata .appunt__chi > strong { text-decoration: line-through; }
.appunt__riga.st-noshow { opacity: .65; }
.appunt__riga.st-completata .appunt__ora strong::after { content: "✓"; margin-left: .25em; font-size: .85em; color: var(--green-3); }
.appunt__extra { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: .35rem; }
.appunt__extra:not(:has(.avv)) { display: none; }
.appunt__chi .comm__mail .chip { margin-left: .3rem; padding: .15em .6em; vertical-align: 1px; }
.icon-btn--vuoto { visibility: hidden; }
.comm__ico { display: flex; gap: .35rem; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--stone-3);
  background: var(--white); color: var(--ink); cursor: pointer; transition: background .15s, transform .15s; padding: 0; }
.icon-btn:hover { background: var(--stone-2); transform: translateY(-1px); }
.icon-btn svg, .ico-inline svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn--wa { color: #1e9e50; border-color: rgba(37, 211, 102, .45); }
.icon-btn--wa:hover { background: rgba(37, 211, 102, .12); }
/* Icona scheda cliente: verde = avatar fatto, rosso = da fare */
.icon-btn--sk-ok { border-color: #2e9e5b; box-shadow: inset 0 0 0 1px #2e9e5b; color: #1f7a43; }
.icon-btn--sk-ok:hover { background: rgba(46, 158, 91, .1); }
.icon-btn--sk-no { border-color: #c0392b; box-shadow: inset 0 0 0 1px #c0392b; color: #a3271b; }
.icon-btn--sk-no:hover { background: rgba(192, 57, 43, .08); }
.icon-btn--sk-ok, .icon-btn--sk-no { transition: background .15s, transform .15s, border-color .3s, box-shadow .3s, color .3s; }
.ico-inline { display: inline-block; vertical-align: -4px; }
.comm__mail:empty { display: none; }
.avv { display: flex; align-items: center; gap: .5rem; padding: .25rem .3rem .25rem .6rem; border-radius: 99px; background: #efe6cf; }
.avv.is-sent { background: rgba(37, 211, 102, .1); }
.avv__check { display: flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700; color: #7a5b17; cursor: pointer; white-space: nowrap; }
.avv.is-sent .avv__check { color: #1e7a42; font-weight: 600; }
.avv__check input { width: 17px; height: 17px; accent-color: #b8860b; }
.avv .wa-btn { min-height: 32px; padding: .35em .8em; }
.avv.is-sent .wa-btn { --bg: var(--white); --fg: #1e7a42; }
.modal { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 0; border-radius: var(--radius); padding: 1.4rem 1.4rem 1.1rem;
  box-shadow: var(--shadow-l); background: var(--white); color: var(--ink); }
.modal::backdrop { background: rgba(30, 27, 25, .45); }
.modal[open] { animation: modalIn .3s var(--ease); }
.modal .h3 { margin: 0 2rem .2rem 0; }
.modal textarea { font: .92rem/1.5 var(--sans); }
.modal__x { position: absolute; top: .6rem; right: .7rem; }
.modal__x button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--stone-2); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.modal__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.modal__esito:empty { display: none; }
.contatti { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1rem; margin: 1rem 0 .3rem; }
.contatti dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-d); align-self: center; }
.contatti dd { margin: 0; font-size: 1.05rem; font-weight: 600; word-break: break-all; }
.modal--contatti { width: min(440px, calc(100vw - 32px)); }
.modal [hidden] { display: none !important; }
/* Scheda cliente */
.scheda__stat { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: -.4rem 0 1.2rem; color: var(--grey-d); font-size: .9rem; }
.scheda__stat strong { color: var(--ink); }
.scheda__campo { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.scheda__campo legend { padding: 0; margin-bottom: .45rem; font-weight: 600; font-size: .9rem; }
.scelte { display: flex; flex-wrap: wrap; gap: .4rem; }
.scelte label { position: relative; cursor: pointer; }
.scelte input { position: absolute; opacity: 0; pointer-events: none; }
.scelte span { display: inline-block; padding: .5rem .95rem; border-radius: 99px; border: 1px solid var(--stone-3); background: var(--white); font-weight: 600; font-size: .88rem; color: var(--grey-d); transition: background .15s, color .15s, border-color .15s; }
.scelte label:hover span { border-color: var(--grey-d); }
.scelte input:checked + span { background: var(--green); border-color: var(--green); color: var(--stone); }
.scelte input:focus-visible + span { outline: 2px solid var(--green-3); outline-offset: 2px; }
.scelte__nessuna input:checked + span { background: var(--stone-2); border-color: var(--stone-3); color: var(--grey-d); }
.inline-form { display: inline; }
td.nowrap { white-space: nowrap; }
td.nowrap .icon-btn { vertical-align: middle; margin-right: .3rem; }
.scheda__riass { display: block; }
.scheda__riass[hidden] { display: none; }
/* ── Scheda cliente (modale "app") ── */
.modal--scheda { width: min(680px, calc(100vw - 32px)); max-height: min(90vh, 920px); padding: 0; overflow: hidden; border-radius: 26px; background: var(--stone);
  box-shadow: 0 40px 90px -30px rgba(20, 16, 14, .55); }
.modal--scheda[open] { display: flex; flex-direction: column; animation: skDentro .38s var(--ease); }
.modal--scheda::backdrop { background: rgba(24, 20, 18, .5); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.modal--scheda.is-closing { animation: skFuori .2s ease-in forwards; }
.modal--scheda.is-closing::backdrop { opacity: 0; transition: opacity .2s; }
.modal--scheda:focus { outline: none; }
.modal--scheda .js-scheda-corpo { display: flex; flex-direction: column; flex: 1; min-height: 0; }
@keyframes skDentro { from { opacity: 0; transform: translateY(28px) scale(.97); } }
@keyframes skFuori { to { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes skSu { from { transform: translateY(100%); } }
@keyframes skGiu { to { transform: translateY(100%); } }
.sk { display: flex; flex-direction: column; flex: 1; min-height: 0; color: var(--ink); }
.sk [hidden] { display: none !important; }
.sk__head { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px 64px 22px 22px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #4a4441 0%, #24201e 55%, #1a1715 100%); }
.sk__head::after { content: ""; position: absolute; inset: 0; background: var(--grain-light); opacity: .07; pointer-events: none; }
.sk__avatar { flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; overflow: hidden;
  background: #d2b48f; color: var(--ink); font: 600 1.6rem var(--serif); box-shadow: 0 0 0 3px #1e1b19, 0 0 0 5px var(--sage), 0 12px 24px -10px rgba(0, 0, 0, .6); }
.sk__avatar .av { width: 100%; height: 100%; display: block; }
.sk__avatar.is-pop { animation: skPop .42s var(--ease); }
@keyframes skPop { 0% { transform: scale(1); } 35% { transform: scale(1.09); } 100% { transform: scale(1); } }
.sk__id { min-width: 0; flex: 1; }
.sk__id h2 { margin: 0; font: 600 clamp(1.3rem, 3.6vw, 1.7rem)/1.15 var(--serif); color: #fff; overflow-wrap: anywhere; }
.sk__riass { margin: .35rem 0 0; font-size: .86rem; line-height: 1.35; color: var(--sage); }
.sk__salva { display: block; min-height: 1em; margin-top: .3rem; font-size: .72rem; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .55); transition: color .2s; }
.sk__salva.is-ok { color: #8fd6a8; }
.sk__salva.is-busy { color: var(--sage); }
.sk__salva.is-err { color: #ff9b8f; }
.sk__chiudi { position: absolute; top: 16px; right: 16px; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background .15s, transform .15s; }
.sk__chiudi:hover { background: rgba(255, 255, 255, .22); transform: rotate(90deg); }
.sk__chiudi svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.sk__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 18px 22px; -webkit-overflow-scrolling: touch; }
.sk__stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 12px; }
.sk__stats > div, .sk__stats > a { padding: 11px 12px; border-radius: 16px; background: var(--white); box-shadow: 0 1px 2px rgba(30, 27, 25, .05); min-width: 0; }
.sk__stats strong { display: block; font-size: .98rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.sk__stats span { display: block; margin-top: 2px; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--grey); }
.sk__stats .is-on { background: #1e1b19; color: #fff; }
.sk__stats .is-on span { color: var(--sage); }
.sk__quick { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: 10px; }
.sk__q { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer;
  text-decoration: none; transition: background .15s, transform .15s; }
.sk__q:hover { background: rgba(255, 255, 255, .2); transform: translateY(-1px); }
.sk__q:active { transform: scale(.92); }
.sk__q svg { width: 18px; height: 18px; fill: none; stroke: var(--sage); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sk__q--wa svg { stroke: #6fdc98; }
.sk__q.is-on { background: var(--sage); }
.sk__q.is-on svg { stroke: #1e1b19; }
.sk__head .sk__salva:empty { display: none; }
.sk__stats { margin-top: 12px; }
.sk__contatti { display: grid; gap: 8px; margin: -2px 0 12px; padding: 12px 14px; border-radius: 16px; background: var(--white); animation: skApri .25s var(--ease); }
.sk__contatti div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.sk__contatti dt { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--grey); }
.sk__contatti dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; user-select: all; }
@keyframes skApri { from { opacity: 0; transform: translateY(-6px); } }
.sk__card { margin-bottom: 12px; padding: 16px 16px 6px; border-radius: 20px; background: var(--white); box-shadow: 0 1px 2px rgba(30, 27, 25, .05); }
.sk__card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 700 .74rem var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--grey-d); }
.sk__card h3 svg { width: 18px; height: 18px; fill: none; stroke: var(--green-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sk__testo { display: block; margin-bottom: 12px; }
.sk__testo > span { display: block; margin-bottom: 6px; font-size: .84rem; font-weight: 600; }
.sk__testo input, .sk__testo textarea { width: 100%; padding: .75em .95em; border: 1px solid transparent; border-radius: 14px; background: var(--stone); font: 500 16px/1.4 var(--sans); }
.sk__testo input:focus, .sk__testo textarea:focus { background: var(--white); border-color: var(--green-3); box-shadow: 0 0 0 4px rgba(138, 95, 60, .12); }
.sk__testo textarea { resize: vertical; min-height: 84px; }
.sk__storia ol { list-style: none; margin: 0 0 8px; padding: 0 0 0 14px; border-left: 2px solid var(--stone-2); }
.sk__storia li { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 7px 0 7px 8px; font-size: .86rem; }
.sk__storia li::before { content: ""; position: absolute; left: -20px; top: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--stone-3); box-shadow: 0 0 0 3px var(--white); }
.sk__storia li.st-completata::before { background: var(--green-3); }
.sk__storia li.st-noshow::before { background: var(--danger); }
.sk__storia a { font-weight: 700; color: var(--ink); text-decoration: none; min-width: 92px; }
.sk__storia a small { font-weight: 500; color: var(--grey); }
.sk__storia span { flex: 1; color: var(--grey-d); min-width: 0; }
.sk__storia em { font-style: normal; font-size: .72rem; font-weight: 700; color: var(--grey); }
.sk__storia li.st-completata em { color: var(--green-3); }
.sk__nulla { margin: 0 0 10px; font-size: .86rem; color: var(--grey-d); }
/* Studio della scheda: palco con avatar, schede categoria, carosello di card */
.sk-studio { margin-bottom: 12px; border-radius: 24px; background: var(--white); overflow: hidden; box-shadow: 0 1px 2px rgba(30, 27, 25, .05); }
.sk-studio__stage { position: relative; display: grid; justify-items: center; gap: 10px; padding: 22px 0 12px; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  background: radial-gradient(70% 90% at 50% 38%, #fff 0%, #f5eee6 45%, #e9ded1 100%); }
.sk-studio__stage::before { content: ""; position: absolute; left: 50%; top: 210px; width: 150px; height: 18px; margin-left: -75px; border-radius: 50%; background: radial-gradient(closest-side, rgba(30, 27, 25, .22), transparent); }
.sk-studio__av { position: relative; width: 168px; height: 168px; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--sage), 0 26px 40px -20px rgba(30, 27, 25, .6); }
.sk-studio__av .av { display: block; width: 100%; height: 100%; }
.sk-studio__av.is-pop { animation: skPop .45s var(--ease); }
.sk-studio__hint { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.sk-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 12px 14px; border-top: 1px solid var(--stone-2); border-bottom: 1px solid var(--stone-2); scrollbar-width: none; }
.sk-tabs::-webkit-scrollbar, .sk-car::-webkit-scrollbar { display: none; }
.sk-tab { flex: none; display: grid; gap: 1px; min-width: 92px; padding: 7px 12px 8px; border: 1px solid var(--stone-2); border-radius: 14px; background: var(--white);
  text-align: left; font-family: var(--sans); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.sk-tab:hover { border-color: var(--stone-3); }
.sk-tab:active { transform: scale(.97); }
.sk-tab small { font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.sk-tab b { font-size: .86rem; font-weight: 700; }
.sk-tab em { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; font-size: .74rem; font-weight: 600; color: var(--grey); }
.sk-tab.is-set em { color: var(--green-3); }
.sk-tab.is-active { background: #1e1b19; border-color: #1e1b19; color: #fff; box-shadow: 0 8px 18px -10px rgba(30, 27, 25, .9); }
.sk-tab.is-active small, .sk-tab.is-active em { color: var(--sage); }
.sk-panel { border: 0; margin: 0; padding: 0; min-width: 0; }
.sk-panel__t { float: left; width: 100%; padding: 12px 18px 6px; font-size: .84rem; font-weight: 700; }
.sk-panel__t + * { clear: both; }
.sk.is-js .sk-panel { display: none; }
.sk.is-js .sk-panel.is-active { display: block; animation: skPanel .32s var(--ease); }
@keyframes skPanel { from { opacity: 0; transform: translateX(14px); } }
.sk-car { display: flex; gap: 10px; overflow-x: auto; padding: 6px 18px 16px; scroll-snap-type: x mandatory; scroll-padding: 0 18px; scrollbar-width: none; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); }
.sk-car.is-drag { scroll-snap-type: none; cursor: grabbing; }
.sk-car.is-drag .sk-opt { pointer-events: none; }
.sk-opt { flex: none; position: relative; scroll-snap-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sk-opt input { position: absolute; opacity: 0; pointer-events: none; }
.sk-opt__card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 106px; padding: 10px 8px 11px; border: 2px solid transparent; border-radius: 22px;
  background: var(--stone); color: var(--ink); transition: background .22s, color .22s, border-color .22s, transform .25s var(--ease), box-shadow .22s; }
.sk-opt:hover .sk-opt__card { transform: translateY(-2px); }
.sk-opt:active .sk-opt__card { transform: scale(.95); }
.sk-opt__av { display: block; width: 82px; height: 82px; border-radius: 50%; overflow: hidden; background: #e9ded1; box-shadow: inset 0 0 0 1px rgba(30, 27, 25, .06); }
.sk-opt__av .av { display: block; width: 100%; height: 100%; }
.sk-opt__t { font-size: .8rem; font-weight: 700; line-height: 1.15; text-align: center; }
.sk-opt input:checked + .sk-opt__card { background: #1e1b19; color: #fff; border-color: var(--sage); transform: translateY(-3px); box-shadow: 0 14px 24px -14px rgba(30, 27, 25, .9); }
.sk-opt input:checked + .sk-opt__card .sk-opt__av { box-shadow: 0 0 0 2px var(--sage); }
.sk-opt input:checked + .sk-opt__card::after { content: "✓"; position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sage); color: #1e1b19; font-size: .72rem; font-weight: 800; animation: skCheck .35s var(--ease); }
.sk-opt input:focus-visible + .sk-opt__card { outline: 2px solid var(--green-3); outline-offset: 2px; }
@keyframes skCheck { from { transform: scale(0); } }
.sk-studio__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px 14px; }
.sk-nav { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--stone-2); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; transition: background .15s, opacity .15s; }
.sk-nav:hover:not(:disabled) { background: var(--stone); }
.sk-nav:disabled { opacity: .3; cursor: default; }
.sk-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sk-dots { display: flex; gap: 6px; align-items: center; }
.sk-dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--stone-3); transition: width .3s var(--ease), background .2s; }
.sk-dots i.is-set { background: var(--green-3); }
.sk-dots i.is-on { width: 22px; background: #1e1b19; }
.sk:not(.is-js) .sk-studio__nav, .sk:not(.is-js) .sk-studio__hint, .sk:not(.is-js) .sk-tabs { display: none; }
@media (max-width: 640px) {
  .sk-studio__av { width: 128px; height: 128px; }
  .sk-studio__stage { padding: 16px 0 10px; gap: 8px; }
  .sk-studio__stage::before { top: 170px; }
  .sk__avatar { width: 64px; height: 64px; }
  .sk__q { width: 36px; height: 36px; }
  .sk-opt__card { width: 96px; }
  .sk-opt__av { width: 74px; height: 74px; }
  .sk-car { padding: 6px 14px 14px; scroll-padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .sk-studio__av.is-pop, .sk.is-js .sk-panel.is-active, .sk-opt input:checked + .sk-opt__card::after { animation: none !important; }
}
/* Avatar accanto al nome = pulsante che apre il gestore avatar */
button.sk__avatar { position: relative; z-index: 1; padding: 0; border: 0; overflow: visible; cursor: pointer; transition: transform .2s var(--ease); }
button.sk__avatar:hover { transform: scale(1.04); }
button.sk__avatar:active { transform: scale(.96); }
button.sk__avatar:focus-visible { outline: 2px solid var(--sage); outline-offset: 6px; }
.sk__avatar-img { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.sk__avatar-img .av { display: block; width: 100%; height: 100%; }
.sk__avatar-img.is-iniziali { background: linear-gradient(145deg, #e9ddcc, #cdb08a); color: #2a2320; font: 600 1.7rem var(--serif); letter-spacing: .02em; }
.sk__avatar-img.is-pop { animation: skPop .42s var(--ease); }
.sk__avatar-badge { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--sage); box-shadow: 0 0 0 3px #1e1b19; transition: transform .25s var(--ease), background .2s; }
.sk__avatar-badge svg { width: 14px; height: 14px; fill: none; stroke: #1e1b19; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
button.sk__avatar.is-open .sk__avatar-badge { background: #fff; transform: rotate(-15deg) scale(1.08); }
button.sk__avatar.is-vuoto:not(.is-open) .sk__avatar-badge { animation: skInvito 1.8s ease-in-out infinite; }
@keyframes skInvito { 0%, 100% { box-shadow: 0 0 0 3px #1e1b19, 0 0 0 3px rgba(210, 180, 143, .6); } 50% { box-shadow: 0 0 0 3px #1e1b19, 0 0 0 10px rgba(210, 180, 143, 0); } }
.sk.is-js .sk-studio:not(.is-open) { display: none; }
.sk.is-js .sk-studio.is-open { animation: skStudio .4s var(--ease); }
@keyframes skStudio { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.sk-studio__bar { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 1; display: flex; justify-content: space-between; pointer-events: none; }
.sk-pill { pointer-events: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 13px 0 10px; border: 1px solid var(--stone-2); border-radius: 99px;
  background: rgba(255, 255, 255, .88); color: var(--ink); font: 700 .74rem var(--sans); cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .2s, color .2s, border-color .2s, transform .15s; }
.sk-pill:active { transform: scale(.95); }
.sk-pill svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sk-pill--ok { background: #1e1b19; border-color: #1e1b19; color: #fff; }
.sk-pill--ok svg { stroke: var(--sage); }
.sk-pill.is-armed { background: var(--danger); border-color: var(--danger); color: #fff; animation: skScuoti .35s; }
@keyframes skScuoti { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.sk-studio__stage { padding-top: 54px; }
@media (max-width: 640px) {
  .sk-studio__stage { padding-top: 52px; }
  .sk-pill { min-height: 32px; font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  button.sk__avatar .sk__avatar-badge, .sk.is-js .sk-studio.is-open, .sk-pill.is-armed, .sk__avatar-img.is-pop { animation: none !important; }
}
.sk__nota { margin: 4px 0 0; text-align: center; font-size: .74rem; color: var(--grey); }
.sk__vuoto { display: grid; place-items: center; gap: 12px; padding: 48px 20px; text-align: center; color: var(--grey-d); }
.sk__shim { display: block; border-radius: 10px; background: linear-gradient(90deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .22) 50%, rgba(255, 255, 255, .08) 100%) 0 0 / 200% 100%; animation: skShim 1.1s linear infinite; }
.sk__scroll .sk__shim { background-color: var(--stone-2); background-image: linear-gradient(90deg, var(--stone-2) 0%, #f6f2ed 50%, var(--stone-2) 100%); }
@keyframes skShim { to { background-position: -200% 0; } }
.sk-pagina .sk { border-radius: 26px; overflow: hidden; background: var(--stone); max-width: 720px; }
.sk-pagina .sk__scroll { overflow: visible; }
@media (max-width: 640px) {
  .modal--scheda { width: 100vw; max-width: 100vw; margin: auto 0 0; max-height: 94dvh; border-radius: 24px 24px 0 0; }
  .modal--scheda[open] { animation: skSu .38s var(--ease); }
  .modal--scheda.is-closing { animation: skGiu .2s ease-in forwards; }
  .sk__head { padding: 26px 56px 20px 18px; gap: 14px; }
  .sk__head::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(255, 255, 255, .28); }
  .sk__avatar { width: 72px; height: 72px; }
  .sk__chiudi { top: 18px; right: 12px; }
  .sk__stats { grid-template-columns: repeat(2, 1fr); }
  .sk__stats > :last-child { grid-column: span 2; }
  .sk__scroll { padding: 14px 12px calc(20px + env(safe-area-inset-bottom)); }
  .sk__card { padding: 14px 13px 4px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .modal--scheda[open], .modal--scheda.is-closing, .sk__avatar.is-pop, .sk__contatti, .sk__shim { animation: none !important; }
}
.modal__esito.is-ok { color: var(--green); }
.modal__esito.is-err { color: var(--danger); font-weight: 600; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; max-width: calc(100vw - 32px); padding: .8rem 1.2rem;
  border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-l); animation: modalIn .3s var(--ease); }
.toast--err { background: var(--danger); }
@media (max-width: 760px) {
  .appunt__riga { grid-template-columns: 62px minmax(0, 1fr); padding: .9rem 0; }
  .appunt__azioni { grid-column: 2; justify-content: flex-start; }
  .appunt__stato { grid-column: 2; }
  .icon-btn--vuoto { display: none; }
  .filtri input, .filtri select, .filtri label { flex: 1 1 140px; }
  .filtri label input { flex: 1; min-width: 0; }
  .filtri input[type=search] { min-width: 0; width: 100%; }
}

/* ── Impostazioni: sotto-menu a schede ── */
.set-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; margin-bottom: 1.2rem; }
.set-head h1 { margin: 0; }
.set-cerca { position: relative; flex: 0 1 380px; }
.set-cerca input { width: 100%; }
.set-cerca__ris { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: .35rem; list-style: none;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-l); max-height: 60vh; overflow: auto; }
.set-cerca__ris li.muted { padding: .6rem .7rem; }
.set-cerca__ris button { display: flex; width: 100%; justify-content: space-between; gap: 1rem; padding: .6rem .7rem; border: 0; border-radius: 10px;
  background: none; text-align: left; font: inherit; font-size: .9rem; cursor: pointer; }
.set-cerca__ris button:hover, .set-cerca__ris button:focus { background: var(--stone); outline: none; }
.set-cerca__ris small { color: var(--grey-d); white-space: nowrap; }
.set-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.subnav { position: sticky; top: 1rem; display: flex; flex-direction: column; gap: 2px; padding: .4rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.subnav a { display: block; padding: .65rem .8rem; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background .15s; }
.subnav a:hover { background: var(--stone); }
.subnav a strong { display: flex; align-items: center; gap: .4rem; font-size: .93rem; }
.subnav a small { display: block; margin-top: .1rem; font-size: .76rem; color: var(--grey-d); line-height: 1.3; }
.subnav a.is-active { background: var(--ink); color: #fff; }
.subnav a.is-active small { color: rgba(255, 255, 255, .7); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }
.subnav-in { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: .6rem 0; background: var(--stone); }
.subnav-in a { padding: .4rem .85rem; border-radius: 99px; background: var(--white); border: 1px solid var(--stone-3); color: var(--grey-d);
  font-size: .82rem; font-weight: 600; text-decoration: none; }
.subnav-in a:hover { color: var(--ink); border-color: var(--grey); }
.set-main .panel { scroll-margin-top: 4rem; }
.set-main h2 { scroll-margin-top: 4.5rem; }
.set-main > .settings, .set-main .scheda > .admin__grid, .set-main .scheda > .panel { margin-bottom: 1.2rem; }
.set-js .scheda[hidden], .set-js .settings__save[hidden] { display: none !important; }
.settings__save { position: sticky; bottom: 0; z-index: 6; display: flex; align-items: center; justify-content: flex-end; gap: 1rem;
  padding: .8rem 1rem; margin-top: 1rem; border-radius: var(--radius) var(--radius) 0 0; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px); box-shadow: 0 -8px 24px -12px rgba(30, 27, 25, .25); }
.settings__dirty { font-size: .85rem; font-weight: 600; color: #7a5b17; }
.settings__save.is-dirty { background: #fbf5e6; }
.set-link { display: block; padding: .85rem 1rem; margin-bottom: .6rem; border-radius: 12px; background: var(--stone); text-decoration: none; color: var(--ink); }
.set-link:hover { background: var(--stone-2); }
.set-link small { display: block; color: var(--grey-d); margin-top: .15rem; }
.is-trovato { animation: trovato 1.8s ease-out; border-radius: 10px; }
@keyframes trovato { 0%, 30% { box-shadow: 0 0 0 4px var(--sage); background: rgba(210, 180, 143, .25); } 100% { box-shadow: 0 0 0 4px transparent; } }
@media (max-width: 900px) {
  .set-layout { grid-template-columns: 1fr; gap: .8rem; }
  .subnav { top: 0; z-index: 7; flex-direction: row; overflow-x: auto; scroll-snap-type: x proximity; border-radius: 14px; -webkit-overflow-scrolling: touch; }
  .subnav a { flex: none; scroll-snap-align: start; padding: .55rem .8rem; }
  .subnav a small { display: none; }
  .subnav-in { top: 58px; }
  .set-cerca { flex-basis: 100%; }
}

/* Admin: scelta cliente in "Aggiungi prenotazione" */
.seg--radio { margin-bottom: 1rem; }
.seg--radio label { flex: 1; text-align: center; padding: .45rem .8rem; border-radius: 99px; color: var(--grey-d); font-weight: 600; font-size: .88rem; cursor: pointer; }
.seg--radio input { position: absolute; opacity: 0; pointer-events: none; }
.seg--radio label:has(input:checked) { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(30, 27, 25, .12); }
.seg--radio label:has(input:focus-visible) { outline: 2px solid var(--green-3); }
.np-cerca { flex: none; }
.np-cerca .set-cerca__ris { max-height: 320px; overflow-y: auto; }
.np-cerca .set-cerca__ris button { text-align: left; align-items: center; }
.np-scelto { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .7rem .9rem; margin: 0 0 1rem; border-radius: 12px; background: var(--stone); }
[hidden] { display: none !important; }

/* Agenda: sposta appuntamento */
.sposta { margin-top: .35rem; }
.sposta summary { cursor: pointer; color: var(--grey-d); }
.sposta__form { display: flex; flex-direction: column; gap: .35rem; margin-top: .4rem; min-width: 150px; }
.sposta__form label { display: flex; align-items: center; gap: .35rem; }
.js-liberi { flex-wrap: wrap; gap: .35rem; }
.js-liberi .chip { cursor: pointer; border: 0; font: inherit; }

/* ── Codice sconto in prenotazione ── */
.coupon { margin: 0 0 1.1rem; border: 1px dashed rgba(30, 27, 25, .22); border-radius: var(--radius-s); }
.coupon.is-open { border-style: solid; background: rgba(255, 255, 255, .5); }
.coupon__apri { display: flex; align-items: center; gap: .5rem; width: 100%; padding: .8rem .9rem; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; text-align: left; }
.coupon__apri svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.coupon__box { padding: 0 .9rem .8rem; }
.coupon__box p { margin: .5rem 0 0; }
.coupon__row { display: flex; gap: .5rem; }
.coupon__row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .06em; }
.coupon__msg:empty { display: none; }
.coupon__msg.is-err { color: var(--danger); font-weight: 600; }
.coupon__msg.is-ok { color: #2f6b3a; font-weight: 600; }
.coupon__miei .chip { border: 0; cursor: pointer; font-family: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ── Admin › Codici sconto ── */
.cp-codice { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; letter-spacing: .05em; }
.cp-valore { display: flex; gap: .5rem; }
.cp-valore input { flex: 1; min-width: 0; }
.cp-valore select { flex: none; width: auto; }
.cp-dest { list-style: none; margin: .4rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.cp-dest li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .45rem .6rem; border-radius: var(--radius-s); background: var(--stone-2); font-size: .9rem; }
.cp-dest li button { border: 0; background: none; font-size: 1.1rem; line-height: 1; cursor: pointer; color: var(--grey-d); padding: .2rem .4rem; }
.cp-servizi { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.cp-invia { display: flex; flex-wrap: wrap; gap: .3rem; }
tr.cp-off td { opacity: .55; }

/* ── Banner cookie e preferenze (consenso.js) ── */
.cc { position: fixed; z-index: 65; left: 10px; right: 10px; bottom: calc(var(--dock-h) + env(safe-area-inset-bottom) + 10px);
  max-height: calc(100svh - var(--dock-h) - 40px); overflow: auto; padding: 1.1rem 1.1rem 1rem; border-radius: 20px;
  background: var(--white); color: var(--ink); box-shadow: var(--shadow-l), 0 0 0 1px rgba(30, 27, 25, .06);
  opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .35s var(--ease); }
.cc.is-in { opacity: 1; transform: none; }
.cc[hidden] { display: none; }
.cc__t { margin: 0 2rem .4rem 0; font-size: 1.12rem; line-height: 1.25; }
.cc__d { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--grey-d); }
.cc__d strong { color: var(--ink); }
.cc__d a { color: var(--green); font-weight: 600; }
.cc__x { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--grey-d); cursor: pointer; }
.cc__x:hover { background: var(--stone); color: var(--ink); }
.cc__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cc__pref { display: grid; gap: .1rem; margin-top: .9rem; border-top: 1px solid var(--stone-3); }
.cc__cat { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--stone-3); cursor: pointer; }
.cc__cat > span:first-child { display: flex; flex-direction: column; line-height: 1.3; }
.cc__cat strong { font-size: .92rem; }
.cc__cat small { font-size: .78rem; color: var(--grey-d); }
.cc__cat .switch input:disabled + .switch__ui { opacity: .55; }
.cc__btn { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; }
.cc__btn .btn { width: 100%; justify-content: center; }
.cc__link { grid-column: 1 / -1; justify-self: center; padding: .4rem .6rem; border: 0; background: none; font: inherit; font-size: .85rem; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cc.is-pref .cc__link { grid-column: 1 / -1; justify-self: stretch; min-height: 40px; border-radius: 99px; background: var(--green); color: var(--stone); text-decoration: none; }
@media (min-width: 700px) {
  .cc { left: 24px; right: auto; bottom: calc(var(--dock-h) + 24px); width: 420px; padding: 1.4rem 1.4rem 1.2rem; }
}
.foot__cc { padding: .3rem 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.foot__cc:hover { text-decoration: underline; }

/* Mappa di Google: segnaposto finché non c'è il consenso */
.map__ph { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; padding: 1.5rem; text-align: center;
  background: radial-gradient(circle at 50% 40%, var(--stone) 0, var(--stone-2) 70%); }
.map__ph svg { width: 40px; height: 40px; margin-bottom: .3rem; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.map__ph strong { font-size: 1.1rem; }
.map__ph span { color: var(--grey-d); font-size: .9rem; margin-bottom: .6rem; }
.map__ph small { max-width: 30ch; margin-top: .4rem; color: var(--grey-d); font-size: .76rem; line-height: 1.4; }

/* Cookie policy: tabelle */
.tabella-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; -webkit-overflow-scrolling: touch; }
.tabella-cookie { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .88rem; }
.tabella-cookie th, .tabella-cookie td { padding: .65rem .7rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--stone-3); }
.tabella-cookie th { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-d); background: var(--stone); }
.tabella-cookie td:first-child { white-space: nowrap; }
.tabella-cookie td:last-child { white-space: nowrap; color: var(--grey-d); }
.article h2 small { font-family: var(--sans); font-size: .55em; font-weight: 500; }

/* Codice sconto personale in prenotazione */
.mio-sconto { margin: 0 0 1.4rem; display: flex; flex-direction: column; gap: .7rem; }
.mio-sconto__nota { margin: 0; }

/* Badge del codice sconto: biglietto scuro, dettagli oro, logo in diagonale sullo sfondo */
.cbadge {
  --cb-oro: var(--sage); --cb-buco: var(--stone);
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: stretch; border-radius: 16px; color: var(--stone);
  background: radial-gradient(120% 140% at 0% 0%, #4a4441 0%, #2a2624 55%, #1e1b19 100%);
  box-shadow: inset 0 0 0 1px rgba(210, 180, 143, .35), 0 18px 36px -18px rgba(30, 27, 25, .55);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
/* filigrana: tanti piccoli loghi in diagonale + un logo grande inclinato a destra */
.cbadge::before {
  content: ""; position: absolute; inset: -60%; z-index: -1; pointer-events: none;
  background: url("/assets/img/mark-oro.svg") 0 0 / 46px 66px repeat;
  transform: rotate(-28deg); opacity: .07;
}
.cbadge::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: 4.5rem; top: 50%; width: 170px; height: 245px; margin-top: -122px;
  background: url("/assets/img/mark-oro.svg") center / contain no-repeat;
  transform: rotate(-24deg); opacity: .16;
}
.cbadge__main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.2rem; }
.cbadge__ico { flex: 0 0 52px; width: 52px; height: 52px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #e6cda9, var(--cb-oro) 55%, #b8925f); box-shadow: 0 0 0 4px rgba(210, 180, 143, .18), 0 6px 14px -6px rgba(0, 0, 0, .6); }
.cbadge__ico svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cbadge__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; }
.cbadge__eyebrow { font: 700 .68rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--cb-oro); }
.cbadge__valore { font: 600 2.1rem/1 var(--serif); color: #fff; letter-spacing: -.01em; }
.cbadge__info { font-size: .84rem; line-height: 1.4; color: rgba(239, 235, 230, .72); }
.cbadge__codice { margin-top: .35rem; padding: .28rem .7rem; border: 1.5px dashed rgba(210, 180, 143, .7); border-radius: 6px;
  font: 700 .85rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .12em; color: var(--cb-oro); background: rgba(210, 180, 143, .08); }
.cbadge__stato { color: #b9dfb9; font-weight: 600; font-size: .84rem; }
.cbadge__stato:empty { display: none; }
/* parte "strappabile": linea tratteggiata con i due buchi del biglietto */
.cbadge__azione { position: relative; flex: none; display: flex; align-items: center; padding: 1rem 1.2rem 1rem 1.4rem;
  border-left: 2px dashed rgba(210, 180, 143, .45); }
.cbadge__azione::before, .cbadge__azione::after { content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--cb-buco); }
.cbadge__azione::before { top: -11px; } .cbadge__azione::after { bottom: -11px; }
.cbadge__btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .6rem 1.2rem; border: 0; border-radius: 99px; cursor: pointer;
  font: 700 .92rem/1 var(--sans); color: var(--ink); white-space: nowrap;
  background: linear-gradient(145deg, #ecd6b6, var(--cb-oro) 60%, #c19c6c); box-shadow: 0 8px 18px -8px rgba(210, 180, 143, .8);
  transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.cbadge__btn:hover { transform: translateY(-1px); box-shadow: 0 12px 22px -8px rgba(210, 180, 143, .9); }
.cbadge__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* sconto attivato */
.cbadge.is-on { box-shadow: inset 0 0 0 2px var(--cb-oro), 0 0 0 4px rgba(210, 180, 143, .25), 0 18px 36px -18px rgba(30, 27, 25, .55); }
.cbadge.is-on .cbadge__btn { background: transparent; color: var(--stone); box-shadow: inset 0 0 0 1.5px rgba(239, 235, 230, .45); }
.cbadge.is-on .cbadge__codice { border-style: solid; background: rgba(210, 180, 143, .18); }
@media (max-width: 560px) {
  .cbadge { flex-direction: column; }
  .cbadge__main { align-items: flex-start; padding: 1.1rem 1.1rem 1rem; }
  .cbadge__valore { font-size: 1.85rem; }
  .cbadge::after { right: -1.5rem; top: 1rem; margin-top: 0; width: 130px; height: 188px; }
  .cbadge__azione { padding: 1rem 1.1rem 1.1rem; border-left: 0; border-top: 2px dashed rgba(210, 180, 143, .45); }
  .cbadge__azione::before, .cbadge__azione::after { top: -12px; bottom: auto; }
  .cbadge__azione::before { left: -11px; } .cbadge__azione::after { left: auto; right: -11px; }
  .cbadge__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cbadge, .cbadge__btn { transition: none; } }

/* ── Prodotti (Admin › Prodotti) ── */
.pr-top { display: flex; gap: 1rem; align-items: flex-start; }
.pr-top__campi { flex: 1; min-width: 0; }
.pr-foto { position: relative; flex: none; width: 110px; height: 110px; border-radius: var(--radius-s); overflow: hidden; border: 1px dashed var(--stone-3); background: var(--stone-2); cursor: pointer; display: grid; place-items: center; margin-top: .3rem; }
.pr-foto img { width: 100%; height: 100%; object-fit: cover; }
.pr-foto__vuota { font-weight: 600; font-size: .85rem; color: var(--grey-d); }
.pr-foto input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pr-target { border: 1px solid var(--stone-2); border-radius: var(--radius-s); padding: .8rem 1rem 1rem; margin: 1rem 0; }
.pr-target legend { font-weight: 700; padding: 0 .3rem; }
.pr-preset { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; margin: .4rem 0 .6rem; }
.pr-preset__b { border: 0; cursor: pointer; }
.pr-preset__b:hover { background: var(--stone-3); }
.pr-gruppo { margin: .9rem 0 .3rem; font: 700 .72rem var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--grey-d); }
.pr-riga { display: grid; grid-template-columns: 130px 1fr; gap: .5rem; align-items: center; padding: .3rem 0; }
.pr-riga__t { font-size: .88rem; font-weight: 600; }
.pr-riga .scelte span { padding: .35rem .75rem; font-size: .82rem; }
.pr-conta { margin: .9rem 0 0; padding: .6rem .8rem; border-radius: var(--radius-s); background: var(--stone-2); font-size: .92rem; }
.pr-per-chi { margin: 0 0 .6rem; font-weight: 600; }
.pr-stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: .8rem; }
.pr-stat div { padding: .6rem; border-radius: var(--radius-s); background: var(--stone-2); text-align: center; }
.pr-stat strong { display: block; font-size: 1.3rem; }
.pr-stat span { font-size: .75rem; color: var(--grey-d); }
.pr-anteprima { white-space: pre-wrap; font: inherit; margin: .4rem 0 .6rem; padding: .7rem; border-radius: var(--radius-s); background: var(--stone-2); }
.pr-nome { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; cursor: pointer; text-align: left; color: inherit; }
.pr-nome:hover { text-decoration: underline; }
.pr-clienti li { align-items: flex-start; }
.pr-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.pr-lista li { display: flex; gap: .9rem; align-items: center; padding: .6rem; border-radius: var(--radius-s); background: var(--stone-2); }
.pr-lista__img { flex: none; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--green); display: grid; place-items: center; color: var(--sage); font: 600 1.4rem var(--serif, serif); text-decoration: none; }
.pr-lista__img img { width: 100%; height: 100%; object-fit: cover; }
.pr-lista__txt { flex: 1; min-width: 0; line-height: 1.5; }
.pr-lista__txt .chip { margin-top: .25rem; }
@media (max-width: 640px) {
  .pr-riga { grid-template-columns: 1fr; gap: .25rem; }
  .pr-lista li { flex-wrap: wrap; }
  .pr-lista .cp-invia { width: 100%; }
  .pr-foto { width: 84px; height: 84px; }
}
.sk__prodotti ul { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sk__prodotti li { padding: 5px 11px; border-radius: 99px; background: var(--stone-2); font-size: .85rem; font-weight: 600; }
.sk__prodotti a { color: inherit; text-decoration: none; }

/* ── "Consigliato per te" a fine prenotazione ── */
.done-consigli { max-width: 460px; margin: 1.4rem auto .4rem; padding: 1rem 1.1rem; border-radius: var(--radius-s); background: var(--stone-2); text-align: left; }
.done-consigli h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.done-consigli__lista { list-style: none; margin: .7rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.done-consigli__lista li { display: flex; gap: .8rem; align-items: flex-start; }
.done-consigli__lista img, .done-consigli__ph { flex: none; width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--green); }
.done-consigli__lista p { margin: .2rem 0 0; font-size: .88rem; }
.done-consigli__prezzo { font-weight: 700; }
.done-consigli__promo { color: #7a5b17; font-weight: 600; }
.done-consigli__codice b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.pr-marca-add, .pr-marca-ren { display: flex; gap: .5rem; align-items: center; flex: 1; min-width: 0; }
.pr-marca-add { margin-bottom: .6rem; }
.pr-marca-add input, .pr-marca-ren input { flex: 1; min-width: 0; }
.pr-marche li { flex-wrap: wrap; }
.modal--prodotto { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow-y: auto; }
.modal--prodotto .hero__ctas { position: sticky; bottom: -1.1rem; margin: 1rem -1.4rem -1.1rem; padding: .8rem 1.4rem; background: var(--white); border-top: 1px solid var(--stone-2); }
@media (max-width: 640px) { .modal--prodotto { padding: 1.1rem 1rem .9rem; } .modal--prodotto .hero__ctas { margin: 1rem -1rem -.9rem; padding: .7rem 1rem; } }
.modal--marca { width: min(640px, calc(100vw - 24px)); }
.modal--marca .pr-gruppo small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.pr-marche { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.pr-marche li { display: flex; gap: .9rem; align-items: flex-start; padding: .6rem; border-radius: var(--radius-s); background: var(--stone-2); }
.pr-marche__logo { flex: none; width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--white); display: grid; place-items: center; font-weight: 700; color: var(--grey-d); }
.pr-marche__logo img { width: 100%; height: 100%; object-fit: contain; }
.pr-marche__txt { flex: 1; min-width: 0; }
.pr-marche__txt p { margin: .2rem 0 0; }
.pr-marche__link { display: flex; flex-wrap: wrap; gap: .3rem; }
.pr-marche__link .chip { text-decoration: none; background: var(--white); }
@media (max-width: 640px) { .pr-marche li { flex-wrap: wrap; } .pr-marche .cp-invia { width: 100%; } }

/* ── Card fedeltà ── */
.ffcard { position: relative; overflow: hidden; max-width: 360px; aspect-ratio: 1.6; padding: 1.1rem 1.2rem; border-radius: 18px; color: #f3ede5;
  background: radial-gradient(120% 140% at 100% 0%, #5a4a3c 0%, #2c2623 55%, #1e1b19 100%); box-shadow: 0 14px 30px -14px rgba(30, 27, 25, .55);
  display: flex; flex-direction: column; }
.ffcard::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 170px; height: 170px; background: url(/assets/img/mark-oro.svg) center/contain no-repeat; opacity: .12; }
.ffcard__top { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.ffcard__brand { font: 600 1rem var(--serif, serif); color: var(--sage); }
.ffcard__tipo { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; opacity: .7; }
.ffcard__punti { margin-top: auto; display: flex; align-items: baseline; gap: .4rem; }
.ffcard__punti strong { font: 600 2.6rem/1 var(--serif, serif); color: #fff; }
.ffcard__punti span { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--sage); }
.ffcard__nome { margin-top: .35rem; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.ffcard__sotto { font-size: .74rem; opacity: .7; margin-top: .15rem; position: relative; z-index: 1; }
.card-top { margin-bottom: 1.2rem; }
.card-bar { max-width: 360px; height: 8px; margin: .7rem 0 .3rem; border-radius: 99px; background: var(--stone-2); overflow: hidden; }
.card-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--sage), #b98e5c); }
.card-sub { margin: 1rem 0 .3rem; font-size: .95rem; }
.card-piu { color: #1e7a45; }
.card-meno { color: var(--danger); }
.card-mov .chip { font-size: .68rem; padding: .15em .55em; }
.card-stat { max-width: 640px; }
.card-cerca { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: .8rem; }
.card-cerca input[type=search] { flex: 1; min-width: 200px; }
.card-lista a { text-decoration: none; color: inherit; flex: 1; min-width: 0; }
.card-saldo { flex: none; font: 600 1.25rem var(--serif, serif); }
.card-saldo small { font: 600 .7rem var(--sans); color: var(--grey-d); }
.card-saldo.is-premio { color: #1e7a45; }
.sk__stat-card { text-decoration: none; color: inherit; }
.sk__stat-card:hover { box-shadow: 0 0 0 2px var(--sage); }

/* ═══════════ Galleria del salone ═══════════ */
.gal-sec { position: relative; overflow: hidden; }
.gal-sec::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 150, 60, .16), transparent 65%); pointer-events: none; }
.gal-sec__head { position: relative; max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.gal-sec__lead { color: rgba(239, 235, 230, .72); }
.gal { position: relative; columns: 2; column-gap: .6rem; }
.gal__item { margin: 0 0 .6rem; break-inside: avoid; }
.gal__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #2a2624; border-radius: var(--radius);
  overflow: hidden; cursor: zoom-in; isolation: isolate; color: inherit; font: inherit; text-align: left;
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .7); }
.gal__btn img { display: block; width: 100%; height: auto; filter: saturate(.92) contrast(1.04);
  transform: scale(1.08); transition: transform 1.4s var(--ease), filter .6s; }
.gal__item.is-in .gal__btn img { transform: scale(1); }
/* velo caldo + bordo dorato che compare al passaggio */
.gal__btn::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 16, 14, .82)), radial-gradient(120% 80% at 50% 0, rgba(255, 170, 90, .14), transparent 60%);
  opacity: .55; transition: opacity .5s; }
.gal__btn::after { content: ""; position: absolute; inset: 8px; z-index: 2; border: 1px solid rgba(210, 180, 143, 0); border-radius: calc(var(--radius) - 6px);
  pointer-events: none; transition: border-color .5s, inset .5s var(--ease); }
.gal__cap { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; z-index: 3; display: flex; align-items: baseline; gap: .6rem;
  font: italic 500 clamp(1rem, 2.2vw, 1.25rem)/1.2 var(--serif); color: var(--stone);
  transform: translateY(6px); opacity: .9; transition: transform .5s var(--ease), opacity .5s; }
.gal__cap span { font: 600 .7rem/1 var(--sans); letter-spacing: .14em; color: var(--sage); font-style: normal; }
@media (hover: hover) {
  .gal__btn:hover img, .gal__btn:focus-visible img { transform: scale(1.06); filter: saturate(1.08) contrast(1.06); }
  .gal__btn:hover::before, .gal__btn:focus-visible::before { opacity: 1; }
  .gal__btn:hover::after, .gal__btn:focus-visible::after { border-color: rgba(210, 180, 143, .6); inset: 12px; }
  .gal__btn:hover .gal__cap, .gal__btn:focus-visible .gal__cap { transform: none; opacity: 1; }
}
.gal__btn:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
.gal-sec__cta { margin-top: clamp(2rem, 5vw, 3rem); text-align: center; }
@media (min-width: 900px) { .gal { columns: 3; column-gap: 1rem; } .gal__item { margin-bottom: 1rem; } }

/* Foto del "Chi siamo": ingrandibili */
#salone .foto img { cursor: zoom-in; }

/* Lightbox */
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(18, 15, 13, .94); color: var(--stone); display: none; place-items: center; overflow: hidden; }
.lb[open] { display: grid; animation: fadeBg .35s ease; }
.lb::backdrop { background: transparent; }
.lb__fig { margin: 0; display: grid; justify-items: center; gap: .9rem; padding: 3.5rem 1rem 4rem; max-width: 100%; }
.lb__img { max-width: min(92vw, 1400px); max-height: calc(100svh - 9rem); width: auto; height: auto; border-radius: 12px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); transition: opacity .3s, transform .45s var(--ease); touch-action: pan-y; user-select: none; }
.lb__img.is-loading { opacity: 0; transform: scale(.96); }
.lb__img.is-out-l { opacity: 0; transform: translateX(-40px); }
.lb__img.is-out-r { opacity: 0; transform: translateX(40px); }
.lb__cap { font: italic 500 1.1rem/1.3 var(--serif); text-align: center; color: rgba(239, 235, 230, .9); }
.lb__n { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); margin: 0; font: 600 .75rem/1 var(--sans); letter-spacing: .16em; color: var(--sage); }
.lb__x, .lb__nav { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(239, 235, 230, .25); background: rgba(30, 27, 25, .5); color: var(--stone); font: 400 1.8rem/1 var(--sans);
  cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.lb__x { top: 1rem; right: 1rem; }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__nav--prev { left: 1rem; } .lb__nav--next { right: 1rem; }
.lb__x:hover, .lb__nav:hover { background: rgba(210, 180, 143, .25); border-color: var(--sage); }
.lb__nav--prev:hover { transform: translateY(-50%) translateX(-3px); } .lb__nav--next:hover { transform: translateY(-50%) translateX(3px); }
@media (max-width: 640px) { .lb__nav { top: auto; bottom: .5rem; transform: none; width: 44px; height: 44px; } .lb__nav--prev:hover, .lb__nav--next:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .gal__btn img, .gal__item.is-in .gal__btn img { transform: none; transition: none; }
  .lb__img { transition: none; }
}

/* Messaggio ai clienti con accesso (Impostazioni › Notifiche) */
.msg-cl { display: flex; align-items: flex-start; gap: .75rem; background: var(--ink); color: var(--stone); border: 1px solid color-mix(in srgb, var(--sage) 45%, transparent); border-radius: 14px; padding: .85rem 1rem; line-height: 1.45; font-size: .95rem; }
.msg-cl > svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--sage); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: .05rem; }
.msg-cl p { margin: 0; flex: 1; font-weight: 600; }
.msg-cl--fisso { margin: 0 0 1.5rem; }
.msg-cl--toast { position: fixed; z-index: 60; top: 84px; right: 1rem; width: min(380px, calc(100vw - 2rem)); box-shadow: 0 14px 40px rgba(0,0,0,.28); opacity: 0; transform: translateY(-10px); transition: opacity .35s, transform .35s var(--ease); }
.msg-cl--toast.is-in { opacity: 1; transform: none; }
body:has(.notice) .msg-cl--toast { top: 124px; }
.msg-cl__x { flex: none; background: none; border: 0; padding: .15rem; margin: -.15rem -.3rem 0 0; color: var(--stone); cursor: pointer; opacity: .7; }
.msg-cl__x:hover { opacity: 1; }
.msg-cl__x svg { width: 18px; height: 18px; display: block; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
@media (min-width: 900px) { .msg-cl--toast { top: 100px; } body:has(.notice) .msg-cl--toast { top: 140px; } }
