/* Cerea — Forno Artigianale Contemporaneo
   Stile nordico: luce, spazio, un solo accento (il rosso del logo). Nessun font esterno. */

:root {
  --bg: #f7f5f0;
  --sand: #efebe3;
  --paper: #fcfbf8;
  --ink: #1d1d1b;
  --muted: #5e5c55;
  --line: #ddd8cd;
  --accent: #8b2a1c;
  --accent-ink: #6f2014;
  --ok: #3f6b4a;
  --err: #a1261a;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(72px, 11vw, 144px);
  --radius: 2px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--ink); color: var(--bg); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }

/* Tipografia */
.eyebrow {
  font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.h1, .h2, .h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.08; }
.h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); }
.h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.h3 { font-size: 1.35rem; line-height: 1.25; }
.h1 em, .h2 em { font-style: italic; color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.7; color: var(--muted); max-width: 34em; }
.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--muted); max-width: 38em; }
.prose strong { color: var(--ink); font-weight: 600; }
.small { font-size: .875rem; color: var(--muted); }

/* Bottoni e link */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 30px; border: 1px solid var(--ink); border-radius: 10px;
  background: var(--ink); color: var(--bg); font-size: .8125rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--accent { background: var(--accent); border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--ink); border-color: var(--ink); }
.link {
  font-size: .8125rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px;
  transition: color .2s;
}
.link:hover { color: var(--accent); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 245, 240, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav a {
  font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); padding: 8px 0; border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav .nav-cta { border: 1px solid var(--accent); color: var(--accent); padding: 10px 20px; border-radius: 10px; }
.nav .nav-cta:hover { background: var(--accent); color: var(--bg); }
.menu-btn {
  display: none; background: none; border: 0; padding: 12px; margin-right: -12px; cursor: pointer;
}
.menu-btn span { display: block; width: 24px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.menu-btn span + span { margin-top: 6px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-text .h1 { margin-bottom: 28px; }
.hero-text .lead { margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* Fatti */
.facts { border-block: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 32px 24px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1; margin-bottom: 8px; }
.facts span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 112px); align-items: center; }
.split--flip .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split-text .h2 { margin-bottom: 28px; }
.quote { margin-top: 36px; padding-left: 24px; border-left: 1px solid var(--accent); }
.quote p { font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.5; color: var(--ink) !important; }
.quote cite { display: block; margin-top: 10px; font-style: normal; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tags li { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--line); }
.mini-stats li { padding: 22px 16px 0 0; }
.mini-stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1; }
.mini-stats span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Panettone promo */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 112px); align-items: start; }
.flavor-list { border-top: 1px solid var(--line); }
.flavor-list li { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.flavor-list b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.25; display: block; }
.flavor-list span { font-size: .9rem; color: var(--muted); }
.price-row { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.price-row div { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.price-row b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2rem; letter-spacing: 0; text-transform: none; color: var(--ink); line-height: 1.2; }

/* Prodotti */
.section-head { max-width: 40em; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin-top: 20px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.product img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; }
.product .cat { font-size: .6875rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.product .h3 { margin: 6px 0 8px; }
.product p { color: var(--muted); font-size: .95rem; }

/* Galleria */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); }
.gallery img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--radius); }

/* Materie prime */
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid-6 > li { padding: clamp(28px, 3.5vw, 44px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-6 .num { font-size: .75rem; letter-spacing: .16em; color: var(--accent); display: block; margin-bottom: 18px; }
.grid-6 .h3 { margin-bottom: 10px; }
.grid-6 p { color: var(--muted); font-size: .95rem; }

/* Filosofia */
.statement { text-align: center; max-width: 52em; margin-inline: auto; }
.statement .eyebrow { justify-content: center; }
.statement .h2 { margin-bottom: 32px; }
.statement .lead { margin-inline: auto; }

/* Premi */
.award { border: 1px solid var(--line); background: var(--paper); padding: clamp(28px, 4vw, 48px); margin-top: 36px; display: grid; gap: 4px; max-width: 30em; }
.award b { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.25; }
.award span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Contatti */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.contact-grid > div { padding: 28px 24px 0 0; }
.contact-grid dt { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.contact-grid dd { font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; }
.contact-grid dd + dd { margin-top: 14px; font-family: var(--sans); font-size: .8125rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 64px 32px; background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-grid img { height: 48px; width: auto; margin-bottom: 16px; }
.footer-grid h2 { font-family: var(--sans); font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-grid p, .footer-grid li { font-size: .9rem; color: var(--muted); line-height: 1.8; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ───── Pagina panettone ───── */
.page-head { padding-block: clamp(48px, 8vw, 104px) clamp(32px, 5vw, 64px); }
.page-head .h1 { margin-bottom: 24px; }
.facts-inline { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 32px; font-size: .875rem; color: var(--muted); }
.facts-inline li::before { content: "—"; color: var(--accent); margin-right: 10px; }

.shop { padding-block: clamp(48px, 6vw, 88px) var(--section); }
.shop-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.shop-head h2 { font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.flavor-grid { display: grid; grid-template-columns: 1fr; gap: clamp(16px, 2.4vw, 28px); }
.flavor { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .25s; }
.flavor.has-items { border-color: var(--accent); }
.flavor-photo { position: relative; background: var(--sand); min-height: 260px; }
.flavor-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot { position: absolute; inset: 0; display: grid; place-items: center; border-right: 1px dashed var(--line); background: repeating-linear-gradient(135deg, var(--sand) 0 12px, #ebe6dc 12px 24px); }
.photo-slot span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--paper); padding: 8px 14px; border: 1px solid var(--line); }
.flavor-main { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3vw, 36px); }
.flavor .h3 { font-size: 1.55rem; margin-bottom: 8px; }
.flavor p { color: var(--muted); font-size: .95rem; }
.flavor-body { flex: 1; }
.size-picker { border: 0; padding: 0; margin: 0; min-width: 0; }
.size-picker legend { font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--sand); border-radius: 12px; max-width: 100%; }
.seg label { position: relative; display: block; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg .opt { display: flex; align-items: baseline; justify-content: center; gap: 10px; min-height: 44px; align-items: center; padding: 0 26px; border-radius: 9px; color: var(--muted); transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); white-space: nowrap; }
.seg .opt b { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: inherit; }
.seg .opt span { font-size: .875rem; }
.seg label:hover .opt { color: var(--ink); }
.seg input:checked + .opt { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(29, 29, 27, .12), 0 4px 12px rgba(29, 29, 27, .08); }
.seg input:focus-visible + .opt { outline: 2px solid var(--accent); outline-offset: 2px; }
.flavor-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.in-cart { font-size: .8125rem; color: var(--accent); min-height: 1.4em; }

/* Parte alta pagina panettone: solo tipografia */
.pan-top { background: var(--sand); border-bottom: 1px solid var(--line); padding-top: clamp(56px, 9vw, 120px); text-align: center; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 28px; height: 1px; background: var(--accent); }
.pan-top .h1 { font-size: clamp(2.6rem, 6.6vw, 5.5rem); line-height: 1.04; max-width: 11em; margin: 0 auto 28px; }
.pan-top .h1 em { white-space: nowrap; }
.pan-top .lead { margin: 0 auto; max-width: 31em; }
.pan-top-cta { margin: 40px 0 0; padding-bottom: clamp(56px, 8vw, 104px); }

/* Barra carrello */
.cart-bar {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90;
  width: min(720px, calc(100% - 2 * var(--gutter) + 16px)); transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 24px; background: var(--ink); color: var(--bg); border-radius: 14px;
  box-shadow: 0 12px 40px rgba(29, 29, 27, .28);
}
.cart-bar small { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
.cart-bar b { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.2; }
.cart-bar .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); min-height: 44px; padding: 0 22px; }
.cart-bar .btn:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
body.has-cart { padding-bottom: 96px; }

/* Checkout: pannello a passi */
dialog.sheet {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink);
  width: min(520px, 100vw); max-width: 100vw; height: 100vh; height: 100dvh; max-height: none;
  box-shadow: -16px 0 60px rgba(29, 29, 27, .18);
}
dialog.sheet[open] { display: flex; flex-direction: column; animation: sheet-in .35s var(--ease); }
dialog.sheet::backdrop { background: rgba(29, 29, 27, .5); }
@keyframes sheet-in { from { transform: translateX(32px); opacity: 0; } to { transform: none; opacity: 1; } }
body.modal-open { overflow: hidden; }

.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); flex: none; }
.sheet-head h2 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.icon-btn { width: 44px; height: 44px; margin-right: -10px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; font-size: 1.6rem; line-height: 1; color: var(--ink); }
.icon-btn:hover { color: var(--accent); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px 24px 0; flex: none; }
.steps li { border-top: 2px solid var(--line); padding-top: 8px; font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.steps li.done { border-top-color: var(--ink); color: var(--ink); }
.steps li[aria-current="step"] { border-top-color: var(--accent); color: var(--accent); }
.sheet form { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.sheet-body { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 24px; overscroll-behavior: contain; }
.sheet-foot { flex: none; display: flex; gap: 12px; padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.sheet-foot .btn { flex: 1; padding: 0 14px; letter-spacing: .08em; text-align: center; }
.sheet-foot .btn--ghost { flex: 0 0 auto; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.2; margin-bottom: 14px; }
.step h3:focus { outline: none; }
.step > .small { margin: -6px 0 16px; }

.cart-empty { padding: 24px 0; color: var(--muted); display: grid; gap: 16px; justify-items: start; }
.cart-lines { border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name total" "size qty"; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line .name { grid-area: name; font-family: var(--serif); font-size: 1.1rem; line-height: 1.3; }
.cart-line .size { grid-area: size; font-size: .8125rem; color: var(--muted); }
.cart-line .line-total { grid-area: total; font-family: var(--serif); font-size: 1.1rem; text-align: right; }
.cart-line .qty { grid-area: qty; justify-self: end; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.qty button { width: 44px; height: 44px; border-radius: 9px; font-family: var(--sans); background: none; border: 0; cursor: pointer; font-size: 1.15rem; }
.qty button:hover:not(:disabled) { color: var(--accent); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty output { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0 0; }
.cart-total span { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cart-total b { font-family: var(--serif); font-weight: 400; font-size: 2rem; }

.fields { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); transition: border-color .2s;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(139, 42, 28, .12); }
.field .hint { font-size: .8125rem; color: var(--muted); }
.field .error { font-size: .8125rem; color: var(--err); }
.field.invalid input, .field.invalid select { border-color: var(--err); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; color: var(--muted); line-height: 1.5; }
.check input { margin-top: 3px; width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.check a { color: var(--ink); }
.error.block { display: block; font-size: .8125rem; color: var(--err); margin-top: 8px; }
.form-note { font-size: .8125rem; color: var(--muted); line-height: 1.55; }
.alert { padding: 14px 16px; border: 1px solid var(--err); color: var(--err); font-size: .9rem; border-radius: var(--radius); margin-top: 16px; }
.review { padding: 8px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 16px; display: grid; font-size: .875rem; }
.review > div { padding: 2px 0; }
.review div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.review dt { color: var(--muted); }
.review dd { text-align: right; }
.review button { background: none; border: 0; padding: 8px 0 8px 12px; cursor: pointer; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.done { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.done .sheet-body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.25; margin-bottom: 10px; }
.done .summary { margin: 20px 0 0; padding: 16px; background: var(--bg); border: 1px solid var(--line); white-space: pre-line; font-size: .875rem; line-height: 1.65; border-radius: var(--radius); }
.done .sheet-foot { flex-direction: column; }

.faq { max-width: 50em; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--sans); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 14px; color: var(--muted); max-width: 40em; }

/* Pagine legali */
.legal { max-width: 46em; padding-bottom: var(--section); }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 48px 0 12px; line-height: 1.25; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 1em; }
.legal ul { list-style: disc; padding-left: 1.3em; margin-top: 1em; }
.legal li + li { margin-top: .4em; }
.legal a { color: var(--accent); }
.legal .updated { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 20px; }

/* 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.nf .h1 { margin-bottom: 16px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .promo-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .split--flip .split-media { order: 0; }
  .split-media img { aspect-ratio: 4 / 3; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid > div { padding-bottom: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
        .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .8125rem; }
  .nav .nav-cta { margin-top: 16px; text-align: center; border: 1px solid var(--accent); }
  .gallery { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .product-grid, .grid-6, .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .flavor { grid-template-columns: 1fr; }
  .flavor-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .photo-slot { border-right: 0; }
  dialog.sheet { width: 100vw; box-shadow: none; }
  .cart-bar { width: calc(100% - 24px); padding-left: 18px; }
  .cart-bar b { font-size: 1.2rem; }
  .mini-stats { grid-template-columns: 1fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}

/* Utilità */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 36px; }
.mb-lg { margin-bottom: 32px; }
.mx-auto { margin-inline: auto; }
.crumb { margin-bottom: 28px; }
.crumb a { text-decoration: none; border-bottom: 1px solid var(--line); }
.flush { margin: 0; }
.pull-up { margin-top: -10px; }
.link-btn { background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; justify-self: center; margin-top: 8px; color: var(--ink); }
.h2 + .prose, .h1 + .prose { margin-top: 24px; }

.note-toggle summary { cursor: pointer; font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); list-style: none; padding: 8px 0; }
.note-toggle summary::-webkit-details-marker { display: none; }
.note-toggle summary::before { content: "+ "; }
.note-toggle[open] summary::before { content: "– "; }
.note-toggle summary span { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400; }
.note-toggle .field { margin-top: 6px; }

.btn--pill { background: var(--accent); border-color: var(--accent); color: #fff; text-transform: none; letter-spacing: .02em; font-size: .975rem; font-weight: 500; padding: 0 28px; box-shadow: 0 6px 16px rgba(139, 42, 28, .22); transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .15s var(--ease); }
.btn--pill:hover { background: var(--accent-ink); border-color: var(--accent-ink); box-shadow: 0 8px 20px rgba(139, 42, 28, .28); }
.btn--pill:active { transform: translateY(1px); }
.btn--pill.is-added { background: var(--ok); border-color: var(--ok); box-shadow: 0 6px 16px rgba(63, 107, 74, .25); }
