:root {
  /* Verde salvia dal 04/10/2026 (sostituisce la famiglia azzurro-teal). */
  --teal: #a5bd92;
  --teal-deep: #587547;
  --teal-field: #819d69;
  --cream: #f8f1df;
  --ink: #11110f;
  --lime: #c9f45a;
  --butter: #ffd88a;
  --pink: #ffb9e7;
  --deliveroo: #00ccbc;
  --purple: #7a36ec;
  --line: rgba(17, 17, 15, .17);
  --page-pad: clamp(20px, 3.2vw, 54px);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Manrope, sans-serif; }
button, a { font: inherit; }

/* Movimento SOLO verticale: il clipping vive su html (non su body,
   che con hidden diventerebbe scroll container rompendo gli sticky);
   il touch e vincolato all'asse verticale e ogni rubber-band
   orizzontale e disattivata, cosi nessuna striscia laterale puo
   comparire ai bordi. Il fondo html replica il crema della pagina. */
html { overflow-x: hidden; touch-action: pan-y pinch-zoom; overscroll-behavior: none; background: var(--cream); }
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}

/* Su touch la barra nativa non compare: l'indicatore di posizione e
   gia dato dal progress della hero e dalla voce attiva nella nav. */
@media (pointer: coarse) {
  html { scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; width: 0; height: 0; }
}
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
::selection { color: var(--ink); background: var(--lime); }

.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; transform: translateY(-150%); background: white; padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 104px; padding: 20px var(--page-pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; color: white; transition: color .35s ease, background .35s ease, height .35s ease; }
.site-header.is-scrolled { height: 84px; color: var(--ink); background: rgba(248, 241, 223, .86); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-weight: 800; font-size: 20px; letter-spacing: -.06em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; color: var(--teal); background: currentColor; border-radius: 50% 50% 45% 55%; font-size: 0; transform: rotate(-12deg); }
.brand-mark::after { content: "⌁"; color: var(--teal); background: white; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 16px; transform: rotate(12deg); }
.site-header.is-scrolled .brand-mark { color: var(--ink); }
.pill-nav { display: flex; align-items: center; gap: 3px; padding: 5px; background: white; color: var(--ink); border-radius: 999px; box-shadow: 0 12px 34px rgba(0,0,0,.08); }
.pill-nav a { padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: background .25s ease, transform .25s ease; }
.pill-nav a:hover, .pill-nav a.is-active { background: var(--butter); transform: translateY(-1px); }
.cart-button { justify-self: end; position: relative; display: grid; place-items: center; width: 60px; height: 60px; border: 0; border-radius: 50%; background: white; cursor: pointer; }
.cart-button svg { width: 23px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: 0; right: 0; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: #ff573f; color: white; font-size: 11px; font-weight: 800; }
.menu-toggle { display: none; justify-self: end; width: 48px; height: 48px; border: 0; border-radius: 50%; background: white; padding: 0 14px; }
.menu-toggle span { display: block; height: 1px; background: var(--ink); margin: 6px 0; }

.hero { height: 210vh; background: var(--teal); }
.hero-sticky { position: sticky; top: 0; height: 100svh; min-height: 680px; overflow: hidden; color: white; background: linear-gradient(180deg, #819d69 0%, #7f9b67 72%, #b0c7a0 100%); }
.grain { position: absolute; inset: 0; opacity: .1; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); }
.hero-copy { position: relative; z-index: 3; width: 58%; height: 100%; padding: 154px 0 54px var(--page-pad); display: flex; flex-direction: column; }
.eyebrow { margin: 0 0 20px; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow { opacity: .78; }
.display-title { margin: 0; font-family: Anton, Impact, sans-serif; font-size: clamp(82px, 9.2vw, 148px); line-height: .79; letter-spacing: -.045em; font-weight: 400; text-transform: uppercase; }
.hero-line { position: relative; display: inline-block; color: transparent; background-color: var(--cream); background-image: radial-gradient(circle, var(--teal-deep) 0 1px, transparent 1.25px); background-size: 11px 13px; -webkit-background-clip: text; background-clip: text; }
.hero-line--accent { margin-left: .12em; background-color: var(--butter); }
.hero-line--indent { display: block; margin-left: 1.48em; }
.hero-lower { margin-top: auto; display: grid; grid-template-columns: 150px minmax(320px, 520px); align-items: end; gap: clamp(25px, 4vw, 68px); }
.plant-seal { position: relative; width: 142px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 48% 52% 44% 56%; animation: seal-float 5s ease-in-out infinite; }
.plant-seal::before, .plant-seal::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,.45); border-radius: 56% 44% 52% 48%; transform: rotate(18deg); }
.seal-text { position: absolute; inset: 8px; font-size: 9px; font-weight: 700; letter-spacing: .17em; text-align: center; padding-top: 10px; word-spacing: 18px; transform: rotate(-22deg); }
.seal-leaf { color: var(--butter); font-size: 48px; transform: rotate(-28deg); }
@keyframes seal-float { 50% { transform: rotate(7deg) scale(1.04); } }
.hero-intro p { max-width: 500px; margin: 0; font-size: clamp(15px, 1.15vw, 19px); line-height: 1.58; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 60px; padding: 0 25px; border: 0; border-radius: 999px; font-weight: 750; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.button:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0,0,0,.14); }
.button--dark { color: white; background: var(--ink); }
.button--lime { background: var(--lime); color: var(--ink); }
.button--light { background: var(--cream); color: var(--ink); }
.icon-button { width: 60px; height: 60px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 24px; }

.hero-food { --hero-progress: 0; position: absolute; z-index: 2; top: -10%; right: -3%; width: min(46vw, 720px); height: 96%; transform: translate3d(calc(var(--hero-progress) * -5vw), calc(var(--hero-progress) * 7vh), 0) rotate(calc(-3deg + var(--hero-progress) * 6deg)) scale(calc(.92 + var(--hero-progress) * .14)); transform-origin: center; }
.hero-food img { position: absolute; z-index: 2; inset: 0; width: 100%; height: 118%; object-fit: contain; filter: drop-shadow(0 38px 40px rgba(0,0,0,.24)); animation: food-breathe 5.5s ease-in-out infinite; }
@keyframes food-breathe { 50% { transform: translateY(-11px) rotate(.8deg); } }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }
.orbit--one { inset: 23% -12% 4% -5%; transform: rotate(-18deg); }
.orbit--two { inset: 34% -1% 15% -18%; transform: rotate(19deg); }
.ingredient { position: absolute; z-index: 1; display: grid; place-items: center; width: 98px; aspect-ratio: 1; border-radius: 50%; background: var(--cream); color: var(--teal-deep); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ingredient--a { top: 13%; left: 8%; transform: translateY(calc(var(--hero-progress) * -24vh)) rotate(calc(var(--hero-progress) * -30deg)); }
.ingredient--b { top: 4%; right: 2%; background: #ff7367; color: var(--ink); transform: translateY(calc(var(--hero-progress) * -18vh)) rotate(calc(var(--hero-progress) * 40deg)); }
.ingredient--c { bottom: 13%; right: 5%; background: var(--lime); color: var(--ink); transform: translateX(calc(var(--hero-progress) * 12vw)) rotate(calc(var(--hero-progress) * 28deg)); }

.hero-picker { position: absolute; z-index: 5; right: 20px; bottom: 24px; width: 39%; height: 280px; display: flex; gap: 10px; align-items: end; overflow: hidden; }
.mini-card { flex: 0 0 190px; height: 218px; padding: 106px 18px 15px; background: white; color: var(--ink); border-radius: 24px; border: 0; transform: translateY(42px) scale(.94); opacity: .58; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s; }
.mini-card.is-active { height: 260px; transform: none; opacity: 1; }
.mini-card__visual { position: absolute; width: 156px; height: 124px; margin: -90px 0 0 0; overflow: hidden; border-radius: 18px; background: #e0e9d5; }
.mini-card__visual img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.mini-card__visual--sunset { background: var(--pink); }
.mini-card__visual--garden { background: var(--lime); }
.mini-card > span { color: #909090; font-size: 10px; font-weight: 800; }
.mini-card h2 { margin: 5px 0; font-size: 17px; }
.mini-card p { margin: 0 0 7px; color: #676767; font-size: 11px; line-height: 1.35; }
.mini-card strong { color: var(--teal-deep); }
.picker-arrow { flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; color: var(--ink); border: 0; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; transition: background .25s ease, transform .25s ease; }
.picker-arrow:last-child { background: white; }
.picker-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.picker-arrow:hover { transform: translateY(-2px); }
.picker-arrow:first-of-type:hover svg { transform: translateX(-3px); }
.picker-arrow:last-of-type:hover svg { transform: translateX(3px); }
.scroll-meter { position: absolute; z-index: 5; left: 24px; bottom: 24px; display: none; }

/* Hero cinematica: il layout resta live DOM mentre un orologio di
   scroll reversibile guida monitor, prodotto e card. */
.site-header { opacity: 1; transform: translateY(0); transition: color .35s ease, background .35s ease, height .35s ease, opacity .28s ease, transform .28s ease; }
.site-header.is-cinematic { opacity: 0; transform: translateY(-24px); pointer-events: none; }
.hero { height: 620vh; height: 620svh; min-height: 4200px; background: #a8c095; }
.hero-sticky { min-height: 680px; perspective: 1500px; isolation: isolate; background: radial-gradient(circle at 50% 42%, #cfdfc0 0, #a8c095 52%, #8aa873 100%); }
.cinema-backdrop { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(145deg, #c2d6b1, #8aa873 65%, #cfdfc0); }
.cinema-backdrop::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, transparent 28%, rgba(66, 86, 48, .2)); }
.float-produce { position: absolute; width: clamp(80px, 9vw, 150px); aspect-ratio: 1; border-radius: 50%; opacity: .64; box-shadow: inset -18px -20px 35px rgba(0,0,0,.12), 0 24px 55px rgba(66, 86, 48, .18); will-change: transform; }
.float-produce--one { left: 5%; top: 14%; background: radial-gradient(circle at 35% 28%, #f8ffb5, #6dbe3e 58%, #28631b); }
.float-produce--two { right: 7%; top: 20%; width: clamp(62px, 7vw, 116px); background: radial-gradient(circle at 35% 28%, #ffc6a4, #f0583f 56%, #992118); }
.float-produce--three { right: 15%; bottom: 5%; width: clamp(90px, 11vw, 180px); background: radial-gradient(circle at 35% 28%, #fff4ff, #b969bd 55%, #642873); }
.monitor-stand { position: absolute; z-index: 1; left: 50%; top: 78%; width: 17vw; height: 19vh; transform: translateX(-50%); transform-origin: top center; will-change: transform, opacity; }
.monitor-stand::before { content: ""; position: absolute; left: 39%; top: 0; width: 22%; height: 74%; background: linear-gradient(90deg, #f4f1e6, white 40%, #d8dfca); }
.monitor-stand::after { content: ""; position: absolute; left: 10%; bottom: 0; width: 80%; height: 24%; border-radius: 50% 50% 18px 18px; background: linear-gradient(#f1eee2, #d2d9c2); box-shadow: 0 24px 30px rgba(66, 86, 48, .18); }
.hero-browser-lift { position: absolute; z-index: 2; inset: 0; transform-origin: 50% 50%; will-change: transform; }
.browser-shadow { position: absolute; z-index: 0; inset: 0; border-radius: 34px; box-shadow: 0 46px 90px rgba(60, 78, 44, .32); pointer-events: none; will-change: opacity; }
.hero-browser { position: absolute; z-index: 1; inset: 0; overflow: hidden; color: white; background: linear-gradient(180deg, #819d69 0%, #7f9b67 72%, #b0c7a0 100%); border-radius: 30px; }
.browser-frame { position: absolute; z-index: 15; inset: 0; border: 12px solid white; border-radius: 32px; pointer-events: none; will-change: opacity; }
.browser-tint { position: absolute; z-index: 0; inset: 0; opacity: 0; pointer-events: none; background: linear-gradient(180deg, #6d8b55 0%, #819d69 62%, #a4bd90 100%); will-change: opacity; }
.browser-black { position: absolute; z-index: 0; inset: 0; opacity: 0; pointer-events: none; background: var(--ink); will-change: opacity; }
.hero-browser::after { content: ""; position: absolute; z-index: 20; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.hero-nav { position: absolute; z-index: 12; top: 18px; left: 22px; right: 22px; height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.hero-nav__brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; font-size: 18px; letter-spacing: -.05em; }
.hero-nav__links { display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; color: var(--ink); background: white; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.hero-nav__links a { min-width: 76px; padding: 11px 15px; border-radius: 999px; font-size: 12px; font-weight: 650; text-align: center; }
.hero-nav__links a:last-child { min-width: 42px; font-size: 20px; }
.hero-nav__links a.is-active { background: var(--butter); }
.hero-nav__cart { position: relative; justify-self: end; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--ink); font-size: 24px; }
.hero-nav__cart i { position: absolute; top: 2px; right: 2px; width: 10px; height: 10px; border-radius: 50%; background: #ff5342; }
.hero-copy { z-index: 5; width: 64%; padding: clamp(118px, 14vh, 150px) 0 42px var(--page-pad); will-change: transform, opacity; }
.display-title { position: relative; max-width: 880px; font-size: clamp(84px, 10.2vw, 164px); line-height: .77; }
.title-mask { display: block; overflow: hidden; width: max-content; padding: .04em .05em .02em 0; }
.title-mask:first-child, .title-mask:nth-child(2) { display: inline-block; }
.title-mask:nth-child(2) { margin-left: .12em; }
.title-mask--indent { margin-left: 1.55em; }
.hero-line { will-change: transform; }
.hero-line--accent { margin-left: 0; }
.hero-lower { grid-template-columns: 142px minmax(280px, 500px); gap: clamp(25px, 4vw, 62px); }
.hero-food { position: absolute; z-index: 4; top: 6%; right: -4%; width: min(50vw, 800px); height: 92%; transform-origin: center; will-change: transform, opacity; }
.sandwich-stack { position: absolute; inset: 0; filter: drop-shadow(0 38px 42px rgba(0,0,0,.24)); transform-origin: center; will-change: transform; }
.hero-food .food-slice { position: absolute; z-index: 2; inset: 0; width: 100%; height: 112%; object-fit: contain; filter: none; animation: none; will-change: transform, opacity; }
.food-slice--top { clip-path: inset(0 0 72% 0); }
.food-slice--greens { clip-path: inset(20% 0 55% 0); }
.food-slice--middle { clip-path: inset(37% 0 37% 0); }
.food-slice--fill { clip-path: inset(54% 0 17% 0); }
.food-slice--base { clip-path: inset(72% 0 0 0); }
.hero-food .orbit { will-change: transform, opacity; }
.hero-food .ingredient { transform: none; will-change: transform, opacity; }
.ingredient-line { position: absolute; z-index: 6; width: 128px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.72); font-size: 8px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: 0; will-change: transform, opacity; }
.ingredient-line--a { left: -4%; top: 31%; }
.ingredient-line--b { right: 2%; top: 48%; text-align: right; }
.ingredient-line--c { right: 8%; bottom: 22%; text-align: right; }
.hero-picker { z-index: 8; right: 18px; bottom: 16px; width: 44%; height: 262px; gap: 9px; will-change: transform, opacity; }
.mini-card { position: relative; flex-basis: 172px; height: 200px; padding: 96px 16px 14px; border-radius: 22px; transform: translateY(36px) scale(.94); opacity: .64; }
.mini-card.is-active { height: 242px; }
.mini-card__visual { width: 140px; height: 112px; margin-top: -82px; border-radius: 16px; }
.hero-transition-copy { position: absolute; z-index: 7; left: 0; right: 0; top: 50%; display: flex; justify-content: center; gap: .18em; transform: translateY(-50%); font: 400 clamp(88px, 13vw, 220px)/.78 Anton, sans-serif; letter-spacing: -.055em; text-transform: uppercase; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.hero-transition-copy span:nth-child(2) { color: var(--butter); font-family: Georgia, serif; font-size: .8em; font-style: italic; }
.hero-exit-wipe { position: absolute; z-index: 18; inset: 0; overflow: hidden; background: var(--ink); transform: translateY(101%); will-change: transform; }
.hero-exit-wipe__inner { position: absolute; inset: 0; display: grid; place-content: center; gap: 18px; text-align: center; will-change: transform; }
.hero-exit-wipe span { color: var(--lime); font: 400 clamp(84px, 13vw, 210px)/.78 Anton, sans-serif; letter-spacing: -.045em; }
.hero-exit-wipe em { font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .24em; }
.marquee-section { position: relative; z-index: 3; margin-top: clamp(-64px, -4vw, -24px); padding: 70px 0; overflow: hidden; color: var(--cream); background: var(--ink); transform: rotate(-2deg) scale(1.03); }
.marquee { display: flex; width: max-content; white-space: nowrap; font: 400 clamp(54px, 8vw, 126px)/.9 Anton, sans-serif; letter-spacing: -.03em; }
.marquee span { animation: marquee-left 19s linear infinite; }
.marquee--right { color: var(--lime); margin-top: 12px; }
.marquee--right span { animation-name: marquee-right; animation-duration: 22s; }
@keyframes marquee-left { to { transform: translateX(-100%); } }
@keyframes marquee-right { from { transform: translateX(-100%); } }

.signature { padding: 180px 0 0; background: var(--cream); }
.section-heading, .story-intro, .ordina-head, .locations-head { padding: 0 var(--page-pad); display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 34px; align-items: end; }
.section-heading h2, .story-intro h2, .ordina-head h2, .locations-head h2 { grid-column: 2; margin: 0; font: 400 clamp(64px, 8.2vw, 132px)/.86 Anton, sans-serif; text-transform: uppercase; letter-spacing: -.04em; }
.section-heading h2 em, .story-intro h2 em, .ordina-head h2 em, .locations-head h2 em { color: var(--teal-field); font-family: Georgia, serif; font-size: .78em; font-weight: 400; text-transform: none; letter-spacing: -.06em; }
.section-heading > p:last-child { grid-column: 3; max-width: 310px; margin: 0 0 12px; line-height: 1.6; }
.signature-scroll { height: 320vh; height: 320svh; margin-top: 110px; }
.signature-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; padding: 20px; background: var(--ink); }
.product-track { --track-progress: 0; display: flex; gap: 16px; width: max-content; height: calc(100svh - 72px); transform: translate3d(calc(var(--track-progress) * -136vw), 0, 0); will-change: transform; }
.product-panel { position: relative; flex: 0 0 calc(78vw - 20px); height: 100%; overflow: hidden; padding: 40px; border-radius: 32px; }
.product-panel--lime { background: var(--lime); }
.product-panel--pink { background: var(--pink); }
.product-panel--cream { background: var(--butter); }
.panel-index { position: absolute; top: 34px; right: 42px; font-size: 12px; font-weight: 800; }
.product-panel__copy { position: absolute; z-index: 2; left: 48px; bottom: 48px; max-width: 420px; }
.product-panel__copy p { margin: 0 0 8px; text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.product-panel__copy h3 { margin: 0 0 18px; font: 400 clamp(72px, 8vw, 142px)/.8 Anton, sans-serif; text-transform: uppercase; letter-spacing: -.04em; }
.product-panel__copy span { display: block; max-width: 290px; font-size: 13px; font-weight: 700; text-transform: uppercase; line-height: 1.5; }
.product-panel img { position: absolute; right: -2%; top: -20%; height: 138%; width: 59%; object-fit: contain; filter: drop-shadow(0 32px 34px rgba(0,0,0,.22)); transform: rotate(3deg); }
.product-panel--pink img { transform: rotate(-4deg) scale(.92); filter: drop-shadow(0 32px 34px rgba(0,0,0,.18)); }
.product-panel--cream img { transform: rotate(5deg) scale(1.02); filter: drop-shadow(0 32px 34px rgba(0,0,0,.18)); }
.round-add { position: absolute; z-index: 3; right: 36px; bottom: 36px; width: 76px; height: 76px; border: 0; border-radius: 50%; background: var(--ink); color: white; font-size: 36px; cursor: pointer; transition: transform .25s ease; }
.round-add:hover { transform: rotate(90deg) scale(1.08); }
.track-progress { position: absolute; left: 40px; right: 40px; bottom: 20px; height: 2px; background: rgba(255,255,255,.22); }
.track-progress span { display: block; height: 100%; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; will-change: transform; }

.story { position: relative; padding: 180px 0 140px; overflow: hidden; background: var(--cream); }
.story-intro { align-items: start; }
.story-intro .eyebrow { grid-column: 1; }
.ingredient-stage { position: relative; min-height: 780px; margin-top: 100px; display: grid; place-items: center; }
.story-center { position: relative; z-index: 2; width: min(640px, 78vw); aspect-ratio: 1; display: grid; place-items: center; text-align: center; border: 1px solid var(--line); border-radius: 50%; }
.huge-number { display: block; margin-top: -54px; color: var(--teal-field); font: 400 clamp(180px, 25vw, 380px)/.78 Anton, sans-serif; letter-spacing: -.09em; }
.story-center > p { max-width: 250px; margin: -80px auto 0; font-weight: 800; text-transform: uppercase; }
.facts { position: absolute; bottom: 42px; display: flex; gap: 8px; }
.facts span { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 700; }
.story-orb { position: absolute; width: clamp(130px, 18vw, 260px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; box-shadow: 0 30px 50px rgba(0,0,0,.12); }
.story-orb span { padding: 8px 12px; border-radius: 999px; background: var(--ink); color: white; text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.story-orb--lettuce { left: 6%; top: 17%; background: radial-gradient(circle at 35% 30%, #e7ff91, #68b83b 65%, #244d1c); transform: rotate(-12deg); }
.story-orb--tomato { right: 8%; top: 10%; background: radial-gradient(circle at 35% 30%, #ffbd95, #ef4736 58%, #941b16); transform: rotate(14deg); }
.story-orb--onion { right: 15%; bottom: 5%; background: radial-gradient(circle at 35% 30%, #fff2ff, #b960b8 55%, #5f246e); transform: rotate(-18deg); }
.story-copy { margin: -40px auto 0; max-width: 650px; padding: 0 var(--page-pad); text-align: center; }
.story-copy > p { font-size: clamp(24px, 3vw, 42px); line-height: 1.22; letter-spacing: -.04em; }
.text-link { display: inline-flex; align-items: center; gap: 30px; padding-bottom: 8px; border-bottom: 1px solid; font-weight: 800; }

.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { border: 1px solid var(--line); border-radius: 999px; background: transparent; padding: 13px 17px; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.choice:hover { transform: translateY(-2px); }
.choice.is-active { background: var(--ink); color: white; }
.locations { padding: 170px var(--page-pad); background: var(--pink); }
.locations-head { padding: 0; }
.locations-head h2 em { color: var(--purple); }
.location-list { margin-top: 90px; border-top: 1px solid var(--ink); }
.location-list a { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; padding: 30px 4px; border-bottom: 1px solid var(--ink); transition: padding .25s, background .25s; }
.location-list a:hover { padding-left: 20px; padding-right: 20px; background: rgba(255,255,255,.25); }
.location-list > a > span { font-size: 11px; font-weight: 800; }
.location-list h3 { margin: 0; font: 400 clamp(42px, 5vw, 76px)/1 Anton, sans-serif; text-transform: uppercase; }
.location-list p { margin: 7px 0 0; }
.location-list .arrow { width: 32px; height: 32px; stroke-width: 1.6; }

.closing { position: relative; min-height: 100svh; padding: 140px var(--page-pad); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; background: var(--teal-field); text-align: center; }
.closing::before { content: ""; position: absolute; width: min(74vw, 940px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.27); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255,255,255,.03), 0 0 0 180px rgba(255,255,255,.025); }
.closing > *:not(.closing-food) { position: relative; z-index: 3; }
.closing h2 { margin: 0 0 40px; font: 400 clamp(88px, 13vw, 220px)/.78 Anton, sans-serif; letter-spacing: -.05em; }
.closing h2 em { color: var(--lime); font-family: Georgia, serif; font-size: .7em; font-weight: 400; }
.closing-food { position: absolute; z-index: 1; right: -4%; bottom: -55%; width: 38vw; transform: rotate(17deg); opacity: .78; }

.site-footer { padding: 70px var(--page-pad) 32px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; color: white; background: var(--ink); }
.brand--footer { font-size: 28px; }
.site-footer > p { margin: 0; max-width: 330px; line-height: 1.6; }
.site-footer > div { display: flex; justify-content: flex-end; gap: 26px; }
.site-footer small { grid-column: 1 / -1; margin-top: 60px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); opacity: .55; }

.cart-toast { position: fixed; z-index: 150; right: 24px; bottom: 24px; width: 270px; padding: 18px 20px; display: flex; flex-direction: column; border-radius: 18px; background: var(--ink); color: white; box-shadow: 0 18px 50px rgba(0,0,0,.25); transform: translateY(160%); opacity: 0; transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .4s; }
.cart-toast.is-visible { transform: translateY(0); opacity: 1; }
.cart-toast span { margin-top: 3px; color: var(--lime); font-size: 12px; }

/* Fade-in immagini prodotto: niente bordi/artefatti di decodifica,
   la foto compare solo quando il file e completamente decodificato. */
img[data-fade] { opacity: 0; transition: opacity .45s ease; }
img[data-fade].is-loaded { opacity: 1; }

/* Modale scelta piattaforma di consegna (Glovo / Deliveroo). */
/* ------------------------------------------------------------------ */
/*  Sezione "Ordina come vuoi" (canali d'ordine, dal 04/10/2026).        */
/*  Sostituisce il builder: l'ordine si compone nella pagina menu.       */
/* ------------------------------------------------------------------ */
.ordina { padding: 150px var(--page-pad); }
.ordina-head { padding: 0; }
.channel-grid { margin-top: 70px; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; }
.channel-card { display: flex; flex-direction: column; gap: 12px; padding: 34px 30px; background: white; border-radius: 28px; box-shadow: 0 18px 50px rgba(0, 0, 0, .06); transition: transform .25s ease, box-shadow .25s ease; }
.channel-card:hover { transform: translateY(-5px); box-shadow: 0 26px 60px rgba(17, 17, 15, .14); }
/* Colori dedicati ai canali (online lime, Glovo butter, Deliveroo teal). */
.channel-card--online,
.channel-card--glovo,
.channel-card--deliveroo { color: var(--ink); background-image: radial-gradient(circle at 84% 10%, rgba(255, 255, 255, .5), transparent 52%); }
.channel-card--online { background-color: var(--lime); }
.channel-card--glovo { background-color: var(--butter); }
.channel-card--deliveroo { background-color: var(--deliveroo); background-image: radial-gradient(circle at 84% 10%, rgba(255, 255, 255, .55), transparent 52%), radial-gradient(circle at 10% 90%, rgba(255, 255, 255, .18), transparent 55%), linear-gradient(140deg, #45e0d1 0%, var(--deliveroo) 52%, #009a8e 100%); }
.channel-kicker { margin: 0; display: flex; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; opacity: .72; }
.channel-card h3 { margin: 0; font: 400 clamp(34px, 3.4vw, 52px)/1 Anton, sans-serif; text-transform: uppercase; letter-spacing: -.02em; }
.channel-card > p { margin: 0; line-height: 1.6; color: rgba(17, 17, 15, .78); }
.channel-card .button { margin-top: auto; justify-content: center; }
.channel-cta-circle { align-self: center; margin-top: 26px; width: clamp(168px, 18vw, 205px); aspect-ratio: 1; display: grid; place-content: center; gap: 10px; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 17px; font-weight: 800; line-height: 1.25; text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.channel-cta-circle:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 18px 40px rgba(17, 17, 15, .3); }
.channel-cta-circle .arrow { width: 26px; height: 26px; margin: 0 auto; }
.channel-dot { display: inline-block; width: 12px; height: 12px; margin-right: 9px; border-radius: 50%; }
.channel-dot--glovo { background: #ffc244; }
.channel-dot--deliveroo { background: #fff; }

@media (max-width: 980px) {
  .channel-grid { grid-template-columns: 1fr; margin-top: 46px; }
  .ordina { padding: 110px 18px; }
}
.reveal { opacity: 0; transform: translateY(60px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .pill-nav a { padding: 12px 15px; }
  .hero-copy { width: 65%; }
  .hero-food { right: -12%; width: 52vw; }
  .hero-picker { width: 44%; }
  .section-heading, .story-intro, .ordina-head, .locations-head { grid-template-columns: 1fr 2fr; }
  .section-heading h2, .story-intro h2, .ordina-head h2, .locations-head h2 { grid-column: 2; }
  .section-heading > p:last-child { display: none; }
  .product-panel { flex-basis: calc(86vw - 20px); }
  .product-track { transform: translate3d(calc(var(--track-progress) * -154vw), 0, 0); }
}

@media (max-width: 760px) {
  .site-header { height: 78px; padding: 14px 18px; grid-template-columns: 1fr auto auto; gap: 10px; }
  .site-header.is-scrolled { height: 70px; }
  .pill-nav { position: absolute; top: 76px; left: 12px; right: 12px; padding: 12px; display: grid; visibility: hidden; opacity: 0; transform: translateY(-12px); border-radius: 20px; transition: .25s; }
  .pill-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .pill-nav a { text-align: center; }
  .cart-button { display: grid; width: 48px; height: 48px; }
  .menu-toggle { display: block; }
  .hero { height: 430vh; height: 430svh; min-height: 2900px; }
  .hero-sticky { min-height: 620px; }
  .hero-browser { border-radius: 22px; }
  .browser-frame { border-width: 7px; }
  .monitor-stand { top: 77%; width: 34vw; height: 16vh; }
  .float-produce--one { left: -9%; }
  .float-produce--two { right: -4%; }
  .float-produce--three { right: 5%; bottom: 4%; }
  .hero-nav { top: 10px; left: 12px; right: 12px; height: 54px; grid-template-columns: 1fr auto; }
  .hero-nav__brand { font-size: 15px; }
  .hero-nav__brand .brand-mark { width: 26px; height: 26px; }
  .hero-nav__links { display: none; }
  .hero-nav__cart { width: 46px; height: 46px; font-size: 19px; }
  .hero-copy { width: 100%; padding: 88px 14px 22px; }
  .hero .eyebrow { display: none; }
  .display-title { font-size: clamp(60px, 19vw, 96px); line-height: .81; }
  .title-mask:first-child, .title-mask:nth-child(2) { display: block; }
  .title-mask:nth-child(2) { position: static; margin: 0; }
  .title-mask--indent { margin-left: .38em; }
  .hero-line--accent { margin-left: 0; }
  .hero-lower { display: block; margin-top: auto; }
  .plant-seal { display: none; }
  .hero-intro { max-width: 88%; }
  .hero-intro p { font-size: 12px; line-height: 1.48; }
  .hero-actions { margin-top: 18px; }
  .button { min-height: 52px; }
  .icon-button { width: 52px; height: 52px; }
  .hero-food { top: 17%; right: -33%; width: 92vw; height: 62%; opacity: .94; }
  .ingredient { width: 60px; font-size: 7px; }
  .ingredient-line { width: 82px; font-size: 6px; }
  .hero-picker { display: none; }
  .hero-transition-copy { flex-direction: column; align-items: center; gap: 0; font-size: clamp(72px, 24vw, 118px); line-height: .68; }
  .marquee-section { padding: 40px 0; }
  .section-heading, .story-intro, .ordina-head, .locations-head { padding: 0 18px; display: block; }
  .section-heading h2, .story-intro h2, .ordina-head h2, .locations-head h2 { font-size: clamp(58px, 18vw, 92px); }
  .signature { padding-top: 110px; }
  .signature-scroll { height: auto; margin-top: 60px; }
  .signature-sticky { position: relative; height: auto; padding: 12px; }
  .product-track { width: 100%; height: auto; display: grid; transform: none !important; }
  .product-panel { min-height: 620px; width: 100%; padding: 24px; }
  .product-panel__copy { left: 24px; bottom: 28px; }
  .product-panel__copy h3 { font-size: 70px; }
  .product-panel img { top: -13%; right: -7%; width: 82%; height: 112%; }
  .round-add { width: 58px; height: 58px; right: 20px; bottom: 20px; }
  .track-progress { display: none; }
  .story { padding: 110px 0 90px; }
  .ingredient-stage { min-height: 630px; margin-top: 50px; }
  .story-center { width: 88vw; aspect-ratio: auto; min-height: 88vw; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8vw 6vw; }
  .huge-number { margin: 0; font-size: 38vw; }
  .story-center > p { margin: 4vw auto 0; font-size: 12px; max-width: min(250px, 76vw); }
  .facts { position: static; margin-top: 5vw; width: auto; }
  .story-orb { width: 105px; }
  .story-orb--lettuce { left: -5%; top: 12%; }
  .story-orb--tomato { right: -4%; top: 9%; }
  .story-orb--onion { right: 5%; bottom: 4%; }
  .story-copy { margin-top: 10px; }
  .locations { padding: 100px 18px; }
  .locations-head { padding: 0; }
  .location-list { margin-top: 50px; }
  .location-list a { grid-template-columns: 40px 1fr auto; }
  .location-list h3 { font-size: 40px; }
  .location-list p { font-size: 12px; }
  .closing { padding: 100px 18px; }
  .closing h2 { font-size: 25vw; }
  .closing-food { width: 68vw; right: -25%; bottom: -20%; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > div { justify-content: flex-start; }
  .site-footer small { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero { height: 100svh; min-height: 680px; }
  .hero-browser-lift { transform: none !important; }
  .browser-shadow, .browser-tint, .browser-frame { display: none; }
  .hero-browser { border: 0; border-radius: 0; }
  .hero-food, .product-track { transform: none !important; }
  .monitor-stand, .cinema-backdrop, .hero-transition-copy, .hero-exit-wipe { display: none; }
  .track-progress span { transform: scaleX(0) !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --- Logo Veggy --- */
img.brand-logo { display: block; width: 32px; height: 32px; object-fit: contain; }
.brand--footer img.brand-logo { width: 42px; height: 42px; }
.hero-nav__brand img.brand-logo { width: 28px; height: 28px; }
@media (max-width: 760px) {
  .hero-nav__brand img.brand-logo { width: 24px; height: 24px; }
}

/* --- Logo header piu grande (senza testo accanto) --- */
.site-header .brand img.brand-logo { width: 58px; height: 58px; }
.site-header.is-scrolled .brand img.brand-logo { width: 46px; height: 46px; }
@media (max-width: 760px) {
  .site-header .brand img.brand-logo { width: 48px; height: 48px; }
  .site-header.is-scrolled .brand img.brand-logo { width: 40px; height: 40px; }
}

/* --- Header sempre visibile: la nav interna al mockup e' ridondante --- */
.hero-nav { display: none !important; }

/* --- Icona SVG nel tasto rotondo della hero --- */
.icon-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* --- Foglia SVG nel sigillo --- */
.seal-leaf svg { width: 42px; height: 42px; display: block; margin: 0 auto; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* --- Frecce custom animate: SVG al posto dei glifi di sistema --- */
.arrow { display: inline-block; vertical-align: -.12em; width: 1em; height: 1em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: arrow-drift 2.6s ease-in-out infinite; }
@keyframes arrow-drift { 50% { transform: translate(2px, -2px); } }
.button:hover .arrow, .text-link:hover .arrow, .location-list a:hover .arrow { animation: arrow-fly .55s cubic-bezier(.3, .7, .2, 1); }
@keyframes arrow-fly {
  45% { transform: translate(7px, -7px); opacity: 0; }
  50% { transform: translate(-7px, 7px); opacity: 0; }
}

/* --- Logo grande nella hero + titolo sopra il testo introduttivo --- */
.hero-logo { display: block; width: min(clamp(260px, 30vw, 500px), 34vh); height: auto; }
.hero-lower .display-title { grid-column: 1 / -1; margin-bottom: clamp(14px, 2.5vh, 30px); }
@media (max-width: 760px) {
  .hero-logo { width: clamp(190px, 58vw, 290px); }
  .hero-lower .display-title { margin-bottom: 18px; }
}

/* ------------------------------------------------------------------ */
/*  FASE 1 — Pagine interne. Componenti nuovi approvati: estensione     */
/*  del design system, nessuna modifica ai componenti esistenti.        */
/* ------------------------------------------------------------------ */

/* Header su fondo chiaro per le pagine interne (variante approvata). */
.site-header--solid { height: 84px; color: var(--ink); background: rgba(248, 241, 223, .86); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .site-header--solid { height: 70px; } }

/* Contenitore base delle pagine interne (sotto l'header fisso). */
.page { padding: 150px var(--page-pad) 90px; }
@media (max-width: 760px) { .page { padding: 108px 18px 70px; } }

/* Card di autenticazione. */
.auth-section { display: grid; justify-items: center; }
.auth-card { width: min(560px, 100%); padding: clamp(26px, 4vw, 46px); background: white; border-radius: 28px; box-shadow: 0 18px 50px rgba(0, 0, 0, .08); }
.auth-title { margin: 0 0 26px; font: 400 clamp(46px, 7vw, 76px)/.9 Anton, sans-serif; text-transform: uppercase; letter-spacing: -.03em; }
.auth-title em { color: var(--teal-field); font-family: Georgia, serif; font-size: .78em; font-weight: 400; text-transform: none; letter-spacing: -.06em; }
.auth-card .button { width: 100%; }
.auth-alt { margin: 22px 0 0; font-size: 14px; }
.auth-alt + .auth-alt { margin-top: 10px; }
.auth-alt a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* Campi form (proposta approvata in Fase 1). */
.field { margin: 0 0 18px; }
.field label, .field legend { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; }
.field input[type="text"], .field input[type="email"], .field input[type="password"] { width: 100%; padding: 15px 16px; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--ink); font: inherit; transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus-visible { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(165, 189, 146, .45); }
.field.is-invalid input { border-color: #b3261e; }
.field-error { margin: 7px 0 0; color: #b3261e; font-size: 13px; font-weight: 700; }
.field-note { margin: 8px 0 0; color: #676767; font-size: 12px; line-height: 1.5; }
.field--choice { margin: 0 0 18px; padding: 0; border: 0; }
.field--check { display: flex; align-items: flex-start; gap: 10px; }
.field--check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal-deep); }
.field--check label { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.5; }
.field--check a, .auth-card .form-message a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* Pillole radio (riuso di .choice con input reali). */
.choice--radio { position: relative; }
.choice--radio input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.choice--radio:has(input:checked) { background: var(--ink); color: white; }
.choice--radio:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }

/* Messaggi di form. */
.form-message { margin: 0 0 18px; padding: 13px 16px; border-radius: 14px; font-size: 14px; font-weight: 700; line-height: 1.45; }
.form-message[hidden] { display: none; }
.form-message--error { background: rgba(179, 38, 30, .08); border: 1px solid rgba(179, 38, 30, .28); color: #8f1f18; }
.form-message--success { background: rgba(165, 189, 146, .18); border: 1px solid rgba(165, 189, 146, .55); color: var(--teal-deep); }
.button:disabled { opacity: .6; pointer-events: none; }

/* Area utente (versione minima di Fase 1, si espande in Fase 6). */
.account-section { display: grid; justify-items: center; }
.account-panel { width: min(720px, 100%); }
.account-panel .auth-card { width: min(680px, 100%); }
.account-list { margin: 22px 0 0; }
.account-row { display: grid; grid-template-columns: minmax(110px, 170px) 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.account-row dt { padding-top: 2px; color: #676767; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.account-row dd { margin: 0; font-weight: 700; overflow-wrap: break-word; }
.account-row[hidden] { display: none; }
.account-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) { .account-row { grid-template-columns: 1fr; gap: 3px; } }

/* Pagine legali (privacy, cookie). */
.legal { width: min(780px, 100%); margin: 0 auto; }
.legal h1 { margin: 0 0 30px; font: 400 clamp(44px, 7vw, 84px)/.9 Anton, sans-serif; text-transform: uppercase; letter-spacing: -.03em; }
.legal h1 em { color: var(--teal-field); font-family: Georgia, serif; font-size: .78em; font-weight: 400; text-transform: none; letter-spacing: -.06em; }
.legal h2 { margin: 46px 0 14px; font: 400 clamp(26px, 3.4vw, 38px)/1.05 Anton, sans-serif; text-transform: uppercase; letter-spacing: -.02em; }
.legal p, .legal li { line-height: 1.7; }
.legal ul { margin: 10px 0; padding-left: 22px; }
.legal a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal-note { margin: 0 0 34px; padding: 15px 18px; border: 1px dashed var(--line); border-radius: 16px; color: #676767; font-size: 13px; }

/* Footer delle pagine interne (i link possono andare a capo). */
.site-footer--inner > div { flex-wrap: wrap; row-gap: 10px; }

/* ------------------------------------------------------------------ */
/*  FASE 2 — Listino. Componenti nuovi approvati: pagina listino        */
/*  (prezzi al pubblico + B2B riservato), prezzi in home, nota di       */
/*  bozza. Nessuna modifica ai componenti esistenti.                    */
/* ------------------------------------------------------------------ */

/* Pagina listino. */
.listino { width: min(1160px, 100%); margin: 0 auto; }
.listino-head { margin-bottom: clamp(30px, 5vw, 54px); }
.listino-title { margin: 0 0 18px; font: 400 clamp(52px, 8vw, 104px)/.9 Anton, sans-serif; text-transform: uppercase; letter-spacing: -.03em; }
.listino-title em { color: var(--teal-field); font-family: Georgia, serif; font-size: .74em; font-weight: 400; text-transform: none; letter-spacing: -.06em; }
.listino-intro { max-width: 640px; margin: 0; font-size: 16px; line-height: 1.6; }
.listino-note { max-width: 640px; margin: 16px 0 0; padding: 13px 16px; border: 1px dashed var(--line); border-radius: 16px; color: #676767; font-size: 13px; line-height: 1.55; }

.listino-status { margin: 0; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .6); border: 1px solid var(--line); font-weight: 700; }

.listino-line { margin-top: clamp(30px, 4.4vw, 50px); padding: clamp(18px, 2.4vw, 30px); border-radius: 34px; background: var(--line-tint, transparent); }

/* Tinte per linea del listino (04/10/2026, dal linguaggio visivo del sito):
   titolo a evidenziatore, pannello e visual delle card nel colore della linea. */
.listino-line[data-line="soia"] { --line-tint: rgba(255, 216, 138, .24); --line-accent: rgba(255, 216, 138, .95); --line-visual-a: rgba(255, 216, 138, .55); --line-visual-b: rgba(201, 244, 90, .3); }
.listino-line[data-line="burger-legumi"] { --line-tint: rgba(255, 185, 231, .22); --line-accent: rgba(255, 185, 231, .95); --line-visual-a: rgba(255, 185, 231, .5); --line-visual-b: rgba(255, 216, 138, .35); }
.listino-line[data-line="burger-verdura"] { --line-tint: rgba(201, 244, 90, .2); --line-accent: rgba(201, 244, 90, .9); --line-visual-a: rgba(201, 244, 90, .42); --line-visual-b: rgba(165, 189, 146, .32); }
.listino-line[data-line="piatti-pronti"] { --line-tint: rgba(122, 54, 236, .08); --line-accent: rgba(122, 54, 236, .25); --line-visual-a: rgba(122, 54, 236, .16); --line-visual-b: rgba(255, 185, 231, .34); }
.listino-line__title { display: inline-block; margin: 0 0 18px; padding: 0 16px 7px 8px; border-radius: 6px 12px 14px 6px; font: 400 clamp(28px, 3.6vw, 44px)/1 Anton, sans-serif; text-transform: uppercase; letter-spacing: -.02em; background: linear-gradient(180deg, transparent 62%, var(--line-accent, transparent) 62%); }
.listino-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 16px; }

.listino-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: white; border-radius: 22px; box-shadow: 0 12px 34px rgba(0, 0, 0, .06); }
.listino-card__visual { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: linear-gradient(160deg, var(--line-visual-a, rgba(165, 189, 146, .28)), var(--line-visual-b, rgba(201, 244, 90, .22))); }
.listino-card__visual img { width: 100%; height: 100%; object-fit: cover; }
.listino-card__initials { font: 400 clamp(40px, 6vw, 64px)/1 Anton, sans-serif; color: rgba(17, 17, 15, .28); letter-spacing: .02em; }
.listino-card--unavailable { background: #efefea; box-shadow: none; }
.listino-card--unavailable .listino-card__visual { filter: grayscale(1); opacity: .6; }
.listino-card__unavailable { margin: auto 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(17, 17, 15, .07); color: #676767; font-size: 13px; font-weight: 800; text-align: center; }
.listino-card__name { margin: 2px 0 0; font: 400 22px/1.05 Anton, sans-serif; text-transform: uppercase; letter-spacing: -.01em; }
.listino-card__desc { margin: 0; color: #676767; font-size: 13.5px; line-height: 1.55; }
.listino-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 2px 0 0; }
.listino-card__price strong { font-size: 20px; font-weight: 800; }
.listino-card__price small { color: #676767; font-size: 12px; font-weight: 700; }
.listino-card__b2b { margin: 0; padding: 9px 12px; border-radius: 12px; background: rgba(165, 189, 146, .18); border: 1px solid rgba(165, 189, 146, .5); color: var(--teal-deep); font-size: 13px; font-weight: 700; }
.listino-card__b2b small { font-weight: 600; }
.listino-card__info { position: relative; margin-top: 2px; }
.listino-card__info summary { cursor: pointer; font-size: 12.5px; font-weight: 800; }
.listino-card__info p { margin: 8px 0 0; color: #676767; font-size: 12.5px; line-height: 1.55; }
.listino-card:has(.listino-card__info[open]) { z-index: 30; }
.listino-card__info[open] .listino-card__panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; padding: 14px 16px; background: white; border-radius: 16px; box-shadow: 0 22px 50px rgba(17, 17, 15, .22); }
.listino-card__info[open] summary { color: var(--teal-deep); }

.listino-meta { margin: 34px 0 0; padding: 13px 16px; border-radius: 14px; background: rgba(165, 189, 146, .15); border: 1px solid rgba(165, 189, 146, .5); color: var(--teal-deep); font-size: 13.5px; font-weight: 700; }
.listino-meta[hidden] { display: none; }

/* Prezzi in home (mini-card hero). */

@media (max-width: 760px) {
  .listino-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .listino-card { padding: 12px; border-radius: 18px; }
}

/* ------------------------------------------------------------------ */
/*  FASE 3 — Carrello e checkout. Componenti nuovi approvati: carrello  */
/*  persistente, pagina carrello, checkout con Stripe, pagina esito,    */
/*  toast non bloccanti. Nessuna modifica ai componenti esistenti.      */
/* ------------------------------------------------------------------ */

/* Badge del carrello quando è vuoto: meno invadente. */
.cart-count.is-zero { opacity: .55; }

/* Link dentro il toast della home. */
.cart-toast a { text-decoration: underline; text-underline-offset: 3px; }

/* Animazione "vola nel carrello" (Fase 3). */
.fly-ghost { position: fixed; z-index: 400; border-radius: 14px; box-shadow: 0 14px 34px rgba(17, 17, 15, .3); pointer-events: none; will-change: transform; }
.cart-button.is-bump { animation: cart-bump .55s cubic-bezier(.2, .8, .25, 1); }
@keyframes cart-bump { 0% { transform: scale(1); } 40% { transform: scale(1.16); } 100% { transform: scale(1); } }

/* Toast generici (stessa famiglia del cart-toast della home). */
.veggy-toasts { position: fixed; z-index: 300; right: 24px; bottom: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; width: min(340px, calc(100vw - 32px)); pointer-events: none; }
.veggy-toast { pointer-events: auto; width: 100%; padding: 16px 18px; display: flex; flex-direction: column; border-radius: 18px; background: var(--ink); color: white; box-shadow: 0 18px 50px rgba(0,0,0,.25); opacity: 0; transform: translateY(18px); transition: opacity .3s ease, transform .35s cubic-bezier(.2,.8,.2,1); cursor: pointer; }
.veggy-toast.is-visible { opacity: 1; transform: none; }
.veggy-toast strong { font-size: 14.5px; line-height: 1.45; }
.veggy-toast a { margin-top: 5px; color: var(--lime); font-size: 12.5px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.veggy-toast--error { background: #8f1f18; }

/* Messaggio informativo nei form (es. pagamento annullato). */
.form-message--info { background: rgba(255, 216, 138, .4); border: 1px solid rgba(17, 17, 15, .16); color: #5c4a12; }

/* Campo telefono: type=tel non era coperto dalle regole Fase 1. */
.field input[type="tel"] { width: 100%; padding: 15px 16px; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--ink); font: inherit; transition: border-color .2s ease, box-shadow .2s ease; }
.field input[type="tel"]:focus-visible { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(165, 189, 146, .45); }
.field.is-invalid input[type="tel"] { border-color: #b3261e; }

/* Titoli delle pagine carrello/checkout (stessa famiglia del listino). */
.cart-page, .checkout { width: min(1160px, 100%); margin: 0 auto; }
.cart-head, .checkout-head { margin-bottom: clamp(26px, 4vw, 44px); }
.cart-title, .checkout-title { margin: 0; font: 400 clamp(52px, 8vw, 104px)/.9 Anton, sans-serif; text-transform: uppercase; letter-spacing: -.03em; }
.cart-title em, .checkout-title em { color: var(--teal-field); font-family: Georgia, serif; font-size: .74em; font-weight: 400; text-transform: none; letter-spacing: -.06em; }

/* Pagina carrello. */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 26px; align-items: start; }
.cart-list { display: grid; gap: 12px; }
.cart-status { margin: 0; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .6); border: 1px solid var(--line); font-weight: 700; }
.cart-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto auto auto; gap: 16px; align-items: center; padding: 14px 16px; background: white; border-radius: 20px; box-shadow: 0 12px 34px rgba(0, 0, 0, .05); }
.cart-row__visual { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: linear-gradient(160deg, rgba(165, 189, 146, .28), rgba(201, 244, 90, .22)); }
.cart-row__visual img { width: 100%; height: 100%; object-fit: cover; }
.cart-row__initials { font: 400 30px/1 Anton, sans-serif; color: rgba(17, 17, 15, .28); }
.cart-row__name { margin: 0; font: 400 20px/1.1 Anton, sans-serif; text-transform: uppercase; letter-spacing: -.01em; }
.cart-row__unit { margin: 6px 0 0; font-size: 14px; font-weight: 800; }
.cart-row__unit small { color: #676767; font-weight: 700; font-size: 11.5px; }
.cart-row__meta { margin: 3px 0 0; color: #676767; font-size: 12.5px; }
.cart-row__qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.cart-row__qty button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; font-size: 18px; font-weight: 800; cursor: pointer; transition: background .2s ease; }
.cart-row__qty button:hover { background: var(--cream); }
.cart-row__qty span { min-width: 26px; text-align: center; font-weight: 800; }
.cart-row__total { margin: 0; min-width: 76px; text-align: right; font-size: 16px; font-weight: 800; }
.cart-row__remove { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--cream); font-size: 18px; line-height: 1; cursor: pointer; transition: transform .25s ease, background .25s ease; }
.cart-row__remove:hover { transform: rotate(90deg); background: var(--pink); }

/* Riepilogo (carrello e checkout). */
.cart-summary, .checkout-summary { position: sticky; top: 110px; padding: 24px; background: white; border-radius: 24px; box-shadow: 0 18px 50px rgba(0, 0, 0, .08); }
.cart-summary[hidden], .checkout-summary[hidden] { display: none; }
.cart-summary__title { margin: 0 0 16px; font: 400 28px/1 Anton, sans-serif; text-transform: uppercase; letter-spacing: -.01em; }
.cart-summary__list { margin: 0; }
.cart-summary__list div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.cart-summary__list dt { font-size: 14px; font-weight: 700; }
.cart-summary__list dt small { color: #676767; font-weight: 600; }
.cart-summary__list dd { margin: 0; font-weight: 800; }
.cart-summary__tot dt, .cart-summary__tot dd { font-size: 17px; }
.cart-summary__note { margin: 14px 0 0; color: #676767; font-size: 12.5px; line-height: 1.55; }
.cart-summary__cta { width: 100%; margin-top: 18px; justify-content: center; }
.cart-summary__clear { display: block; margin: 12px auto 0; padding: 2px 4px; border: 0; background: transparent; color: #676767; font-size: 12.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cart-empty { padding: 40px 30px; background: white; border-radius: 24px; box-shadow: 0 18px 50px rgba(0, 0, 0, .06); text-align: center; }
.cart-empty p { margin: 0 0 8px; }
.cart-empty .button { margin-top: 16px; }

/* Checkout. */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 26px; align-items: start; }
.checkout-form { padding: clamp(22px, 3vw, 34px); background: white; border-radius: 24px; box-shadow: 0 18px 50px rgba(0, 0, 0, .06); }
.checkout-group { margin: 0 0 26px; padding: 0; border: 0; }
.checkout-legend { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 800; }
.checkout-group .field:last-child { margin-bottom: 0; }
.checkout-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 110px; gap: 12px; }
.checkout-pickup { margin: 0; padding: 14px 16px; border-radius: 14px; background: rgba(165, 189, 146, .15); border: 1px solid rgba(165, 189, 146, .5); font-size: 13.5px; line-height: 1.55; }
.checkout-b2b { margin: 0 0 22px; padding: 14px 16px; border-radius: 14px; background: rgba(201, 244, 90, .35); border: 1px solid var(--line); font-size: 14px; }
.checkout-b2b[hidden] { display: none; }
.checkout-b2b p { margin: 0; }
.checkout-b2b p + p { margin-top: 6px; }
.checkout-submit { width: 100%; justify-content: center; }
.checkout-pay-note { margin: 12px 0 0; text-align: center; }
.checkout-lines { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 8px; }
.checkout-lines li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.checkout-lines li span { color: #676767; }
.checkout-lines li strong { font-weight: 800; white-space: nowrap; }
.checkout-summary .cart-empty { box-shadow: none; padding: 0; }

/* Pagina esito ordine. */
.order-done { display: grid; justify-items: center; }
.order-done__card { width: min(640px, 100%); padding: clamp(26px, 4vw, 44px); background: white; border-radius: 28px; box-shadow: 0 18px 50px rgba(0, 0, 0, .08); text-align: center; }
.order-done__title { margin: 0 0 18px; font: 400 clamp(46px, 7vw, 76px)/.9 Anton, sans-serif; text-transform: uppercase; letter-spacing: -.03em; }
.order-done__title em { color: var(--teal-field); font-family: Georgia, serif; font-size: .78em; font-weight: 400; text-transform: none; letter-spacing: -.06em; }
.order-done__card > p { line-height: 1.65; }
.order-done__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Pulsante piccolo nel listino (aggiungi al carrello). */
.button--small { min-height: 46px; padding: 0 18px; gap: 12px; font-size: 13.5px; justify-content: center; }
.listino-card__actions { display: grid; gap: 8px; margin-top: auto; }
.listino-card__actions .button { width: 100%; }
.qty-steps { justify-self: center; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.qty-steps button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; font-size: 16px; font-weight: 800; cursor: pointer; transition: background .2s ease; }
.qty-steps button:hover { background: var(--cream); }
.qty-steps [data-qty-value] { min-width: 26px; text-align: center; font-weight: 800; font-size: 14px; }

@media (max-width: 980px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary, .checkout-summary { position: static; }
}
@media (max-width: 700px) {
  .cart-row { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "visual body remove" "visual qty total"; row-gap: 10px; column-gap: 12px; }
  .cart-row__visual { grid-area: visual; }
  .cart-row__body { grid-area: body; }
  .cart-row__qty { grid-area: qty; justify-self: start; }
  .cart-row__total { grid-area: total; min-width: 0; }
  .cart-row__remove { grid-area: remove; }
  .checkout-row { grid-template-columns: 1fr 1fr; }
  .checkout-row .field:first-child { grid-column: 1 / -1; }
}
