/* =========================================================
   Filu Lab — stile del sito
   Idea: carta calda, nero pieno, giallo limone. Le barre
   arrotondate del logo (gli "strati") tornano come motivo.
   ========================================================= */
:root {
  --paper: #F6F2E9;
  --paper-2: #EEE8DA;
  --card: #FFFDF8;
  --ink: #111111;
  --ink-2: #2B2925;
  --muted: #6A6356;
  --line: #DED6C4;
  --lemon: #F5C518;
  --lemon-2: #FFE27A;
  --lemon-ink: #111111;
  --ok: #1F8A4C;
  --err: #C0392B;

  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --pill: 999px;
  --wrap: 1240px;
  --shadow: 0 1px 0 rgba(17,17,17,.04), 0 18px 40px -22px rgba(17,17,17,.35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
::selection { background: var(--lemon); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lemon); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; letter-spacing: .02em; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; align-items: center; gap: 22px; padding: 9px 0; animation: tick 38s linear infinite; }
.ticker-track span { display: inline-block; }
.ticker-track i { width: 22px; height: 5px; border-radius: 9px; background: var(--lemon); display: inline-block; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo-mark { height: 38px; width: auto; }
.logo-word { height: 38px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 10px 12px; border-radius: var(--pill); transition: background .2s; }
.main-nav a:hover, .main-nav a.on { background: var(--paper-2); }
.main-nav .nav-cta { background: var(--ink); color: var(--paper); margin-left: 8px; }
.main-nav .nav-xmas { color: #B3261E; }
.main-nav .nav-cta:hover { background: var(--ink-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--lemon); color: var(--ink); text-decoration: none; transition: transform .2s; }
.cart-btn:hover { transform: rotate(-8deg) scale(1.05); }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--paper); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.menu-btn span { display: block; height: 3px; border-radius: 3px; background: var(--ink); transition: transform .25s, opacity .2s; }
.menu-btn span:nth-child(1) { width: 20px; } .menu-btn span:nth-child(2) { width: 15px; } .menu-btn span:nth-child(3) { width: 10px; }

/* ---------- Bottoni ---------- */
.btn { --bg: var(--ink); --fg: var(--paper); display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 800 16px/1 var(--body); padding: 18px 26px; border-radius: var(--pill); border: 2px solid var(--bg); background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 0 -4px var(--lemon); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-lemon { --bg: var(--lemon); --fg: var(--ink); }
.btn-lemon:hover { box-shadow: 0 10px 0 -4px var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost.on-dark { color: var(--paper); border-color: var(--paper); }
.btn-sm { padding: 12px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.link { font-weight: 800; text-decoration: none; border-bottom: 3px solid var(--lemon); padding-bottom: 1px; }
.link:hover { background: var(--lemon); }

/* ---------- Motivo "strati" ---------- */
.layers { display: grid; gap: 7px; justify-items: end; }
.layers i { display: block; height: 12px; border-radius: 9px; background: currentColor; }
.layers i:nth-child(1) { width: 100%; } .layers i:nth-child(2) { width: 86%; } .layers i:nth-child(3) { width: 70%; }
.layers i:nth-child(4) { width: 52%; } .layers i:nth-child(5) { width: 32%; } .layers i:nth-child(6) { width: 14%; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 800 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 8px; border-radius: 6px; background: var(--lemon); }
.on-dark .eyebrow::before, .dark .eyebrow::before { background: var(--lemon); }

.hl { background: linear-gradient(transparent 58%, var(--lemon) 58%, var(--lemon) 92%, transparent 92%); padding: 0 .06em; }
.hl-box { background: var(--lemon); color: var(--ink); padding: 0 .16em; border-radius: .18em; display: inline-block; transform: rotate(-1.5deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(46px, 7.4vw, 108px); font-weight: 800; letter-spacing: -0.055em; line-height: .95; margin: 18px 0 26px; }
.hero h1 .line { display: block; }
.hero-sub { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 34ch; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 36px; padding-top: 26px; border-top: 1.5px solid var(--line); }
.hero-proof div { display: grid; gap: 2px; }
.hero-proof b { font: 800 26px/1 var(--display); letter-spacing: -0.04em; }
.hero-proof span { font-size: 14px; color: var(--muted); font-weight: 600; }

.printer { position: relative; aspect-ratio: 1 / 1.02; border-radius: var(--r-lg); background: var(--ink); color: var(--paper); padding: 22px; overflow: hidden; box-shadow: var(--shadow); isolation: isolate; }
.printer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 38%, rgba(245,197,24,.18), transparent 60%); z-index: -1; }
.printer-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.printer-top .dot { display: inline-flex; align-items: center; gap: 8px; }
.printer-top .dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lemon); box-shadow: 0 0 0 4px rgba(245,197,24,.2); animation: pulse 1.4s ease-in-out infinite; }
.printer.done .printer-top .dot::before { background: #3ECF7A; box-shadow: 0 0 0 4px rgba(62,207,122,.2); animation: none; }
@keyframes pulse { 50% { opacity: .35; } }
.layer-count { font-variant-numeric: tabular-nums; color: rgba(246,242,233,.7); }
.print-area { position: absolute; inset: 64px 22px 92px; }
.print-obj { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
.print-obj svg { width: 100%; height: 100%; }
.nozzle { position: absolute; left: 0; right: 0; top: 96%; height: 0; pointer-events: none; }
.nozzle::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, rgba(245,197,24,.75), transparent); }
.nozzle span { position: absolute; top: -46px; width: 44px; height: 46px; left: 10%; animation: sweep 1.1s ease-in-out infinite alternate; }
.nozzle span::before { content: ""; position: absolute; inset: 0 4px 14px; background: #2E2C28; border-radius: 8px 8px 4px 4px; border: 1.5px solid #4a463f; }
.nozzle span::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 12px; height: 15px; margin-left: -6px; background: var(--lemon); clip-path: polygon(0 0, 100% 0, 62% 100%, 38% 100%); }
.printer.done .nozzle { opacity: 0; transition: opacity .4s; }
@keyframes sweep { from { left: 8%; } to { left: calc(92% - 44px); } }
.plate { position: absolute; left: 22px; right: 22px; bottom: 74px; height: 14px; border-radius: 6px; background: repeating-linear-gradient(90deg, #26241f 0 10px, #2d2a24 10px 20px); }
.printer-bottom { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.print-label { font: 700 clamp(14px, 1.4vw, 17px)/1.2 var(--display); letter-spacing: -0.02em; }
.printer-bottom small { display: block; color: rgba(246,242,233,.6); font: 600 12px/1.4 var(--body); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.sticker { position: absolute; z-index: 3; bottom: -26px; right: -18px; width: 118px; height: 118px; border-radius: 50%; background: var(--lemon); color: var(--ink); display: grid; place-items: center; text-align: center; font: 800 13px/1.15 var(--display); letter-spacing: -0.02em; transform: rotate(12deg); box-shadow: var(--shadow); }
.sticker b { display: block; font-size: 26px; }
.hero-visual { position: relative; }

/* ---------- Sezioni ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 52px); flex-wrap: wrap; }
.section-head h2 { font-size: clamp(34px, 5vw, 68px); letter-spacing: -0.05em; max-width: 15ch; margin-top: 14px; }
.section-head p { max-width: 42ch; color: var(--muted); margin: 0; font-size: 18px; }
.dark { background: var(--ink); color: var(--paper); }
.dark .muted, .dark .section-head p { color: rgba(246,242,233,.66); }
.lemon-bg { background: var(--lemon); }

/* Passi */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 28px 26px 30px; overflow: hidden; }
.step-n { font: 800 74px/0.8 var(--display); letter-spacing: -0.06em; color: var(--lemon); -webkit-text-stroke: 2px var(--ink); margin-bottom: 26px; }
.step h3 { font-size: 23px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

/* Card prodotti */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.p-card { color: var(--ink); position: relative; display: flex; flex-direction: column; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg); text-decoration: none; overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.p-card:hover { transform: translateY(-6px); border-color: var(--ink); box-shadow: var(--shadow); }
.p-visual { aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 120%, var(--paper-2), transparent 70%), repeating-linear-gradient(0deg, transparent 0 21px, rgba(17,17,17,.045) 21px 22px), var(--paper); padding: 18px; position: relative; }
.p-visual svg, .p-visual img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.p-card:hover .p-visual svg, .p-card:hover .p-visual img { transform: scale(1.05) rotate(-2deg); }
.p-badge { position: absolute; top: 14px; left: 14px; font: 800 11.5px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 7px 10px; border-radius: var(--pill); }
.p-badge.lemon { background: var(--lemon); color: var(--ink); }
.p-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-body h3 { font-size: 21px; letter-spacing: -0.03em; }
.p-body p { color: var(--muted); font-size: 15px; margin: 0; }
.p-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; }
.p-price { font-weight: 800; font-size: 16px; }
.p-price small { font-weight: 600; color: var(--muted); font-size: 13px; }
.p-go { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; transition: background .2s, color .2s, transform .2s; }
.p-card:hover .p-go { background: var(--lemon); color: var(--ink); transform: rotate(-45deg); }

/* Filtri */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters a { text-decoration: none; font-weight: 800; font-size: 15px; padding: 11px 18px; border-radius: var(--pill); border: 1.5px solid var(--ink); }
.filters a.on { background: var(--ink); color: var(--paper); }
.filters a:hover:not(.on) { background: var(--lemon); border-color: var(--lemon); }

/* Aziende */
.biz { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.biz h2 { font-size: clamp(38px, 5.6vw, 80px); letter-spacing: -0.055em; margin: 16px 0 22px; }
.biz-list { display: grid; gap: 0; margin: 0 0 32px; padding: 0; list-style: none; }
.biz-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(246,242,233,.16); }
.biz-list li:last-child { border-bottom: 1px solid rgba(246,242,233,.16); }
.biz-list svg { color: var(--lemon); margin-top: 3px; }
.biz-list b { display: block; font-size: 17px; }
.biz-list span { color: rgba(246,242,233,.66); font-size: 15px; }
.tiers-card { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); position: relative; }
.tiers-card h3 { font-size: 22px; margin-bottom: 6px; }
.tiers-table { width: 100%; border-collapse: collapse; margin: 18px 0 22px; font-variant-numeric: tabular-nums; }
.tiers-table th { text-align: left; font: 700 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 0 10px; }
.tiers-table td { padding: 15px 0; border-top: 1.5px solid var(--line); font-weight: 700; }
.tiers-table td:last-child, .tiers-table th:last-child { text-align: right; }
.tiers-table .bar { display: inline-block; height: 10px; border-radius: 6px; background: var(--lemon); vertical-align: middle; margin-right: 10px; }
.tiers-table .disc { display: inline-block; background: var(--ink); color: var(--lemon); padding: 4px 9px; border-radius: var(--pill); font-size: 13px; }

/* Perché noi */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-item { padding: 26px 22px; border-radius: var(--r); background: var(--card); border: 1.5px solid var(--line); }
.why-ic { width: 54px; height: 54px; border-radius: 16px; background: var(--lemon); display: grid; place-items: center; margin-bottom: 18px; }
.why-item h3 { font-size: 19px; margin-bottom: 6px; letter-spacing: -0.025em; }
.why-item p { color: var(--muted); font-size: 15px; margin: 0; }

/* Eventi */
.events { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.event-big { position: relative; border-radius: var(--r-lg); background: var(--lemon); padding: clamp(26px, 4vw, 48px); overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: space-between; }
.event-big h2 { font-size: clamp(34px, 4.6vw, 64px); letter-spacing: -0.05em; max-width: 11ch; }
.event-big .ev-visual { position: absolute; right: 2%; bottom: -2%; width: 72%; aspect-ratio: 4 / 3; pointer-events: none; }
.event-big .eyebrow::before { background: var(--ink); }
.event-big > div:first-child { position: relative; z-index: 1; }
.event-side { display: grid; gap: 18px; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 80px); }
.faq h2 { font-size: clamp(34px, 4.6vw, 62px); letter-spacing: -0.05em; margin-top: 14px; }
.faq details { border-top: 1.5px solid var(--ink); }
.faq details:last-child { border-bottom: 1.5px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font: 700 clamp(17px, 1.6vw, 20px)/1.3 var(--display); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--lemon); display: grid; place-items: center; font: 700 22px/1 var(--body); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 52px 22px 0; color: var(--ink-2); margin: 0; }

/* CTA finale */
.cta-band { border-radius: var(--r-lg); background: var(--ink); color: var(--paper); padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr .6fr; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(36px, 5.4vw, 76px); letter-spacing: -0.055em; }
.cta-band .layers { color: var(--lemon); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Pagina interna: titolo ---------- */
.page-hero { padding: clamp(40px, 6vw, 84px) 0 clamp(28px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(40px, 6.6vw, 96px); font-weight: 800; letter-spacing: -0.055em; line-height: .96; margin-top: 16px; max-width: 16ch; }
.page-hero p { font-size: 19px; color: var(--ink-2); max-width: 52ch; margin-top: 20px; }
.crumbs { font-size: 14px; font-weight: 700; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Configuratore ---------- */
.config { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(20px, 3.5vw, 56px); align-items: start; padding-bottom: clamp(64px, 8vw, 110px); }
.config-left { position: sticky; top: 92px; display: grid; gap: 16px; }
.stage { position: relative; border-radius: var(--r-lg); background: radial-gradient(circle at 50% 110%, rgba(245,197,24,.22), transparent 60%), repeating-linear-gradient(0deg, transparent 0 27px, rgba(17,17,17,.06) 27px 28px), repeating-linear-gradient(90deg, transparent 0 27px, rgba(17,17,17,.06) 27px 28px), var(--card); border: 1.5px solid var(--line); aspect-ratio: 4 / 3.1; padding: clamp(12px, 3vw, 36px); overflow: hidden; }
.stage svg { width: 100%; height: 100%; }
.stage-note { position: absolute; left: 18px; bottom: 14px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.stage-tag { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font: 800 12px/1 var(--body); padding: 8px 11px; border-radius: var(--pill); background: var(--ink); color: var(--paper); letter-spacing: .02em; }
.chip.lemon { background: var(--lemon); color: var(--ink); }
.price-box { background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: clamp(20px, 2.6vw, 30px); display: grid; gap: 14px; }
.price-main { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; }
.price-main .big { font: 800 clamp(40px, 4.4vw, 58px)/.9 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.price-main .small { color: rgba(246,242,233,.7); font-size: 14px; font-weight: 600; }
.price-lines { display: grid; gap: 6px; font-size: 15px; font-variant-numeric: tabular-nums; border-top: 1px solid rgba(246,242,233,.15); padding-top: 14px; }
.price-lines div { display: flex; justify-content: space-between; gap: 10px; }
.price-lines span:first-child { color: rgba(246,242,233,.72); }
.price-nudge { background: rgba(245,197,24,.14); color: var(--lemon-2); border-radius: 12px; padding: 11px 14px; font-size: 14px; font-weight: 700; }
.price-lead { font-size: 14px; display: flex; align-items: center; gap: 9px; color: rgba(246,242,233,.85); }
.price-lead::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #3ECF7A; flex: none; }
.price-box .btn { --bg: var(--lemon); --fg: var(--ink); width: 100%; font-size: 17px; padding: 20px; }
.price-box .btn:hover { box-shadow: 0 10px 0 -4px var(--paper); }
.price-box .btn-ghost { background: transparent; color: var(--paper); border-color: rgba(246,242,233,.4); }
.price-box .btn-ghost:hover { border-color: var(--paper); box-shadow: none; }
.save-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--lemon); color: var(--ink); font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: var(--pill); width: max-content; }

.cfg-form { display: grid; gap: 14px; }
.cfg-step { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 22px 22px 24px; display: grid; gap: 14px; }
.cfg-step > legend, .cfg-title { display: flex; align-items: center; gap: 12px; font: 700 18px/1.2 var(--display); letter-spacing: -0.025em; padding: 0; float: left; width: 100%; margin-bottom: 4px; }
.cfg-step > legend + * { clear: both; }
.cfg-num { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--lemon); font: 800 14px/30px var(--body); text-align: center; flex: none; }
fieldset.cfg-step { margin: 0; min-width: 0; }
.field { display: grid; gap: 7px; }
.field > label, .lbl { font-weight: 800; font-size: 14.5px; }
.hint { font-size: 13.5px; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=url], input[type=password], input:not([type]), select, textarea {
  font: 600 16px/1.3 var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; width: 100%; transition: border-color .2s, background .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
textarea { resize: vertical; min-height: 96px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23111' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: grid; gap: 2px; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 800; font-size: 15px; transition: border-color .15s, background .15s; height: 100%; }
.opt small { font-weight: 600; color: var(--muted); font-size: 12.5px; }
.opt:hover span { border-color: var(--ink); }
.opt input:checked + span { border-color: var(--ink); background: var(--lemon); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:checked + span small { color: var(--ink-2); }
.opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.font-opt span { font-size: 21px; font-weight: 400; text-align: center; padding: 12px 8px; }

.seg { display: inline-flex; background: var(--paper-2); border-radius: var(--pill); padding: 5px; gap: 4px; width: 100%; }
.seg label { flex: 1; position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 11px 10px; border-radius: var(--pill); font-weight: 800; font-size: 15px; transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 3px solid var(--lemon); }

.swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.sw { position: relative; width: 38px; height: 38px; cursor: pointer; }
.sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sw i { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1.5px solid rgba(17,17,17,.18); box-shadow: inset 0 -5px 0 rgba(0,0,0,.14); transition: transform .15s; }
.sw:hover i { transform: scale(1.08); }
.sw input:checked + i { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5.5px var(--ink); }
.sw input:focus-visible + i { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5.5px var(--lemon); }
.sw.none i { background: linear-gradient(135deg, transparent 44%, #C0392B 44% 56%, transparent 56%), var(--paper) !important; }
.color-row { display: grid; gap: 8px; }
.color-row .lbl span { font-weight: 600; color: var(--muted); }
.ams-note { display: flex; gap: 10px; align-items: center; background: var(--paper-2); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; }
.ams-note .dots { display: flex; gap: 3px; } .ams-note .dots i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 700; }
.check input { appearance: none; width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--ink); background: var(--paper); flex: none; margin-top: 1px; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--lemon); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.check small { display: block; font-weight: 600; color: var(--muted); font-size: 13.5px; }

.file-drop { position: relative; display: grid; place-items: center; gap: 4px; text-align: center; padding: 22px 16px; border: 2px dashed var(--line); border-radius: 16px; background: var(--paper); cursor: pointer; transition: border-color .2s, background .2s; }
.file-drop:hover, .file-drop.drag { border-color: var(--ink); background: #fff; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop b { font-size: 15px; } .file-drop small { color: var(--muted); font-size: 13px; }
.file-drop.has { border-style: solid; border-color: var(--ink); background: var(--lemon); }

.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; font: 700 22px/1 var(--body); cursor: pointer; color: var(--ink); transition: background .15s; }
.qty button:hover { background: var(--lemon); border-color: var(--lemon); }
.qty input { width: 110px; text-align: center; font: 800 22px/1 var(--display); padding: 13px 8px; font-variant-numeric: tabular-nums; }
.qty-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.qty-presets button { font: 800 13px/1 var(--body); padding: 9px 12px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; color: var(--ink); }
.qty-presets button:hover { border-color: var(--ink); }
.tier-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tier-pill { font-size: 12.5px; font-weight: 800; padding: 6px 11px; border-radius: var(--pill); border: 1.5px solid var(--line); color: var(--muted); }
.tier-pill.on { background: var(--ink); color: var(--lemon); border-color: var(--ink); }

/* ---------- Carrello / checkout ---------- */
.cart-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(20px, 3vw, 44px); align-items: start; padding-bottom: 100px; }
.cart-item { display: grid; grid-template-columns: 132px 1fr auto; gap: 18px; align-items: center; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 14px; }
.cart-item + .cart-item { margin-top: 12px; }
.cart-thumb { aspect-ratio: 4 / 3; border-radius: 14px; background: var(--paper); padding: 6px; }
.cart-thumb svg { width: 100%; height: 100%; }
.cart-item h3 { font-size: 18px; letter-spacing: -0.025em; }
.cart-item ul { list-style: none; margin: 6px 0 0; padding: 0; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.cart-item .right { text-align: right; display: grid; gap: 6px; justify-items: end; font-variant-numeric: tabular-nums; }
.cart-item .right b { font-size: 18px; }
.icon-btn { background: none; border: 0; padding: 6px; cursor: pointer; color: var(--muted); font: 700 13px var(--body); text-decoration: underline; }
.icon-btn:hover { color: var(--err); }
.summary { position: sticky; top: 92px; background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 30px); display: grid; gap: 16px; }
.summary h2 { font-size: 24px; }
.sum-lines { display: grid; gap: 8px; font-variant-numeric: tabular-nums; }
.sum-lines div { display: flex; justify-content: space-between; gap: 10px; }
.sum-lines span:first-child { color: var(--muted); font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1.5px solid var(--ink); padding-top: 14px; font: 800 30px/1 var(--display); letter-spacing: -0.04em; }
.sum-total small { font: 600 13px var(--body); color: var(--muted); letter-spacing: 0; }
.checkout-box { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 14px; margin-top: 20px; }
.checkout-box h2 { font-size: 22px; }
.pay-opt { display: flex; gap: 12px; align-items: center; padding: 15px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--paper); font-weight: 800; }
.pay-opt:has(input:checked) { border-color: var(--ink); background: var(--lemon); }
.pay-opt input { width: 20px; height: 20px; accent-color: var(--ink); }
.pay-opt small { display: block; font-weight: 600; color: var(--ink-2); font-size: 13px; }
.empty { text-align: center; padding: 60px 20px 110px; display: grid; justify-items: center; gap: 16px; }
.empty .layers { width: 150px; color: var(--lemon); }

/* Notifiche */
.flash-wrap { padding-top: 18px; display: grid; gap: 8px; }
.flash { padding: 14px 18px; border-radius: 14px; font-weight: 700; border: 1.5px solid; }
.flash-ok { background: #E6F5EC; border-color: var(--ok); color: #135C32; }
.flash-err { background: #FBEAE8; border-color: var(--err); color: #8E2A1F; }
.flash-info { background: #FFF6D1; border-color: var(--lemon); }

/* Pagina testo */
.prose { max-width: 760px; padding-bottom: 100px; font-size: 18px; }
.prose h2 { font-size: 26px; margin: 1.6em 0 .5em; letter-spacing: -0.03em; }
.prose a { text-decoration-color: var(--lemon); text-decoration-thickness: 3px; }
.prose ul { padding-left: 1.2em; }

/* Stato ordine */
.track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 18px 0 8px; }
.track div { display: grid; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.track div::before { content: ""; height: 10px; border-radius: 6px; background: var(--paper-2); }
.track div.on { color: var(--ink); } .track div.on::before { background: var(--lemon); }
.box { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 24px; }
.bank { background: #FFF6D1; border: 1.5px solid var(--lemon); border-radius: 16px; padding: 18px 20px; display: grid; gap: 6px; }
.bank code { font: 800 17px/1.3 var(--body); letter-spacing: .02em; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 80px 0 30px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(246,242,233,.14); }
.footer-brand img { width: 140px; height: auto; margin-bottom: 18px; }
.footer-brand p { color: rgba(246,242,233,.66); max-width: 30ch; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h3 { font-size: 14px; letter-spacing: .02em; color: var(--lemon); margin-bottom: 14px; }
.footer-cols a { display: block; text-decoration: none; padding: 5px 0; color: rgba(246,242,233,.86); font-weight: 600; word-break: break-word; }
.footer-cols a:hover { color: var(--lemon); }
.footer-pay { display: flex; flex-wrap: wrap; gap: 8px; padding: 26px 0; }
.footer-pay span { font-size: 12.5px; font-weight: 800; padding: 7px 12px; border-radius: 8px; border: 1px solid rgba(246,242,233,.22); color: rgba(246,242,233,.8); }
.footer-legal { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: rgba(246,242,233,.55); }
.footer-legal a { color: inherit; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(0,0,0,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }

/* Comparsa */
.reveal.pre { transform: translateY(26px); }
.reveal.in { transform: none; transition: transform .8s cubic-bezier(.2,.8,.2,1); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav-open .logo { visibility: hidden; }
  .main-nav { position: fixed; inset: 0; top: 0; background: var(--ink); flex-direction: column; align-items: stretch; justify-content: center; gap: 4px; padding: 80px 28px 28px; transform: translateY(-100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); z-index: -1; visibility: hidden; }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav a { color: var(--paper); font: 700 30px/1.1 var(--display); letter-spacing: -0.04em; padding: 14px 0; border-radius: 0; border-bottom: 1px solid rgba(246,242,233,.12); }
  .main-nav a:hover, .main-nav a.on { background: none; color: var(--lemon); }
  .main-nav .nav-cta { background: var(--lemon); color: var(--ink); text-align: center; border-radius: var(--pill); margin: 22px 0 0; font-size: 18px; padding: 18px; font-family: var(--body); font-weight: 800; letter-spacing: 0; border: 0; }
  .header-actions { margin-left: auto; }
  .menu-btn { display: flex; }
  .nav-open .menu-btn { border-color: var(--paper); background: var(--paper); }
  .nav-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 20px; }
  .nav-open .menu-btn span:nth-child(2) { opacity: 0; }
  .nav-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 20px; }
  .nav-open { overflow: hidden; }
  .hero-grid, .biz, .events, .faq, .config, .cart-grid, .cta-band, .footer-top { grid-template-columns: 1fr; }
  .config-left, .summary { position: static; }
  .steps { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .event-big { min-height: 380px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .header-row { min-height: 64px; }
  .logo-mark, .logo-word { height: 32px; }
  .products, .why { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .cart-item { grid-template-columns: 92px 1fr; }
  .cart-item .right { grid-column: 1 / -1; grid-template-columns: 1fr auto; justify-items: start; align-items: center; text-align: left; }
  .sticker { width: 92px; height: 92px; font-size: 11px; } .sticker b { font-size: 20px; }
  .hero-proof { gap: 18px; }
  .track { grid-template-columns: repeat(5, 1fr); font-size: 11px; }
  .btn { padding: 16px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Barra acquisto mobile */
.buybar { display: none; }
@media (max-width: 920px) {
  .buybar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--ink); color: var(--paper); border-radius: 22px; padding: 10px 10px 10px 18px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); }
  .buybar small { display: block; font-size: 12px; color: rgba(246,242,233,.7); font-weight: 700; }
  .buybar b { font: 800 22px/1.1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
  .buybar .btn { padding: 15px 18px; font-size: 15px; }
  body:has(.buybar) .wa-float { display: none; }
  body:has(.buybar) .site-footer { padding-bottom: 110px; }
}
.price-box .seg { background: rgba(246,242,233,.1); }
.price-box .seg span { color: rgba(246,242,233,.8); }
.price-box .seg input:checked + span { background: var(--paper); color: var(--ink); }

/* Sezioni stagionali in home */
.xmas { background: #7A1712; color: #FFF8EC; position: relative; overflow: hidden; }
.xmas::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.18) 1.5px, transparent 2px); background-size: 46px 46px; pointer-events: none; }
.xmas .container { position: relative; }
.xmas .section-head p { color: rgba(255,248,236,.78); }
.xmas .eyebrow::before { background: var(--lemon); }
.xmas .p-card { border-color: transparent; color: var(--ink); }
.sicily-band { background: var(--lemon); }
.sicily-band .section-head p { color: var(--ink-2); }
.sicily-band .eyebrow::before { background: var(--ink); }
.sicily-band .p-card { border-color: transparent; }
.products.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .products.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .products.four { grid-template-columns: 1fr 1fr; gap: 10px; } .products.four .p-body { padding: 12px 14px 14px; } .products.four .p-body h3 { font-size: 16px; } .products.four .p-body p { display: none; } .products.four .p-go { width: 34px; height: 34px; } }
@media (max-width: 920px) { .main-nav .nav-xmas { color: #FF8A80; } }
.sicily-band .link { border-bottom-color: var(--ink); }

.pay-opt > span:not(.pay-logos) { flex: 1; }
.pay-logos { display: flex; gap: 4px; }
.pay-logos i { font: 800 10px/1 var(--body); font-style: normal; padding: 5px 6px; border-radius: 5px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.klarna-line { font-size: 13.5px; color: rgba(246,242,233,.85); }
.klarna-line b { background: #FFB3C7; color: #17120F; border-radius: 6px; padding: 1px 6px; font-size: 12px; }

.range-row { display: grid; grid-template-columns: auto 1fr 52px; gap: 12px; align-items: center; margin-top: 10px; font-weight: 800; font-size: 14.5px; }
.range-row input[type=range] { accent-color: var(--ink); width: 100%; }
.range-row output { font-variant-numeric: tabular-nums; text-align: right; }
.font-opt span { font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#font-opts { max-height: 340px; overflow-y: auto; padding: 2px; }

@media (max-width: 1180px) and (min-width: 921px) { .main-nav a { padding: 9px 9px; font-size: 14px; } .logo-word { display: none; } }

.gaming-band { background: radial-gradient(circle at 80% 0%, rgba(236,0,140,.35), transparent 50%), radial-gradient(circle at 0% 100%, rgba(0,177,183,.3), transparent 50%), #15121F; color: #F3F0FF; }
.gaming-band .section-head p { color: rgba(243,240,255,.75); }
.gaming-band .p-card { border-color: transparent; color: var(--ink); }

.acc-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; }
.acc-btn:hover { background: var(--paper-2); }
.acc-dot { position: absolute; top: 2px; right: 2px; width: 11px; height: 11px; border-radius: 50%; background: #3ECF7A; border: 2px solid var(--paper); }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 100px; }
.acc-order { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; }
.acc-order small { display: block; color: var(--muted); font-size: 13.5px; }
.acc-st { text-align: right; font-size: 13.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.acc-st b { display: block; color: var(--ink); font-size: 16px; }
.nl-box { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; background: #1C1B19; border: 1px solid rgba(246,242,233,.12); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 34px); margin-bottom: 56px; }
.nl-box h3 { font-size: clamp(22px, 2.4vw, 30px); color: var(--paper); margin-bottom: 6px; }
.nl-box p { color: rgba(246,242,233,.66); margin: 0; }
.nl-form { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.nl-form input[type=email] { background: #fff; }
.nl-check { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(246,242,233,.75); font-weight: 600; }
.nl-check input { width: 16px; height: 16px; accent-color: var(--lemon); }
.nl-check a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 920px) { .acc-grid, .nl-box { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .acc-btn { width: 40px; height: 40px; } .cart-btn { width: 40px; height: 40px; } .menu-btn { width: 40px; height: 40px; } .header-actions { gap: 6px; } }
