/* ==========================================================================
   Quarantotto — Menu digitale
   Palette, tipografia, layout
   ========================================================================== */

/* ---- Font self-hosted (CSP font-src 'self') ---- */

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-400-italic-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Restyle sfondo bianco 2026-06-22: palette invertita (era tema scuro #12100F).
     --sand/--sand-soft = oro scuro: su bianco passano WCAG AA come testo e come filetto. */
  --bg: #FAF8F4;
  --surface-1: #F2ECE2;
  --surface-2: #EDE6DA;
  --text: #1F1B17;
  --text-muted: #5C544B;
  --text-faint: #6B6258;
  --red: #C32222;
  --red-hover: #A81C1C;
  --sand: #7C5E1C;
  --sand-soft: #876722;
  --border: #E4DCCF;
  --badge-gold-bg: #F1E8CF;
  --badge-gold-text: #6B5320;
  --badge-red-bg: #FBE4E0;
  --badge-red-text: #A8201C;

  --font-serif: "Instrument Serif", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;

  --max-w: 960px;
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);
  --nav-h: 56px;

  --radius: 16px;
  --radius-sm: 8px;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-right: var(--safe-right);
  padding-left: var(--safe-left);
}

input, select, textarea, button { font-size: 16px; }

img, picture { display: block; max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color .18s ease;
}

@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--sand-soft); }
}
@media (hover: none) {
  a:active { opacity: .7; }
}

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

/* ---- Tipografia ---- */

h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: .01em; }

.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.01em;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1.05;
  color: var(--text);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text-faint);
}

/* ---- Language switcher ---- */

.lang {
  position: absolute;
  top: .75rem;
  right: calc(var(--pad-x) - .5rem);
  display: flex;
  gap: .15rem;
  z-index: 40;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.lang a {
  color: var(--text-muted);
  padding: .65rem .55rem;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color .15s ease, background-color .15s ease;
}
.lang a:hover { color: var(--text); background: rgba(0,0,0,.05); }
.lang a[aria-current="true"] { color: var(--text); border-bottom: 1px solid var(--sand); border-radius: 0; }

/* ---- Language suggestion banner ---- */

.lang-suggest {
  position: fixed;
  top: env(safe-area-inset-top, 0);
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem;
  padding: .55rem .85rem;
  background: #FBF6EC;
  color: var(--text);
  font-size: .9rem;
  line-height: 1.3;
  border-bottom: 1px solid rgba(187, 169, 122, .3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  transform: translateY(-100%);
  transition: transform .26s ease, opacity .26s ease;
  opacity: 0;
}
.lang-suggest[data-visible="true"] { transform: translateY(0); opacity: 1; }
.lang-suggest[data-visible="false"] { transform: translateY(-100%); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .lang-suggest { transition: opacity .15s ease; transform: none; }
  .lang-suggest[data-visible="false"] { transform: none; }
}
.lang-suggest__text { flex: 0 1 auto; }
.lang-suggest__cta {
  flex: 0 0 auto;
  max-width: calc(100vw - 5.5rem);
  color: var(--bg);
  background: var(--sand);
  padding: .5rem .85rem;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  white-space: normal;
  text-align: center;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.lang-suggest__cta:hover { background: var(--sand-soft); }

/* Reload variant: bottom-positioned, persistent (no auto-hide), distinct dismiss flow. */
.lang-suggest--reload {
  top: auto;
  bottom: env(safe-area-inset-bottom, 0);
  border-top: 1px solid rgba(187, 169, 122, .3);
  border-bottom: 0;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, .25);
  transform: translateY(100%);
}
.lang-suggest--reload[data-visible="true"] { transform: translateY(0); opacity: 1; }
.lang-suggest--reload[data-visible="false"] { transform: translateY(100%); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .lang-suggest--reload { transform: none; }
  .lang-suggest--reload[data-visible="false"] { transform: none; }
}
.lang-suggest__close {
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  padding: .25rem .5rem;
  cursor: pointer;
  min-width: 36px;
  min-height: 36px;
}
.lang-suggest__close:hover { color: var(--text); }
@media (max-width: 480px) {
  .lang-suggest { font-size: .82rem; padding: .55rem .65rem; gap: .5rem; }
  .lang-suggest__cta { padding: .45rem .7rem; font-size: .85rem; }
}

/* ---- Hero ---- */

.hero {
  position: relative;
  padding: 4rem var(--pad-x) 3rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background:
    radial-gradient(circle at 50% 40%, rgba(212, 43, 43, .06), transparent 55%),
    radial-gradient(circle at 50% 40%, rgba(187, 169, 122, .06), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero__logo {
  width: clamp(54px, 9vw, 84px);
  height: auto;
  margin: 0 auto 1.2rem;
  opacity: .95;
}

.hero__wordmark {
  display: block;
  width: clamp(240px, 42vw, 420px);
  height: auto;
  margin: 0 auto .9rem;
}

.hero__tagline {
  margin: .5rem auto 0;
  max-width: 32ch;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.3vw, 1.55rem);
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.3;
}

.hero__meta {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.hero__meta .dot {
  width: 4px; height: 4px;
  background: var(--sand);
  display: inline-block;
}

.hero__image {
  margin: 2.5rem auto 0;
  max-width: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface-1);
}
.hero__image img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Sticky nav ---- */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 248, 244, .85);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  padding-top: var(--safe-top);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav__inner::-webkit-scrollbar { display: none; }

.nav a {
  flex: 0 0 auto;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: .5rem .35rem;
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav a.is-active { color: var(--text); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--sand);
}

/* ---- Chi siamo ---- */

.about {
  padding: 3rem var(--pad-x) 3.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 720px) {
  .about { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
}

.about__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface-1);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.9) saturate(.92); }
.about__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(31,27,23,.22));
  pointer-events: none;
}

.about__text p {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.about__text p:first-of-type {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.35;
}

.about__award {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: .5rem;
  padding: .5rem .9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sand-soft);
}

/* ---- Sezioni ---- */

main { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

.section {
  padding: 4rem 0 1rem;
  border-top: 1px solid var(--border);
  content-visibility: auto;
  contain-intrinsic-size: 1200px;
}
.section:first-child { border-top: 0; }

.section__head {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.section__intro {
  color: var(--text-muted);
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.6;
}

/* ---- Foto pausa ---- */

.visual {
  margin: 1.5rem auto 2.5rem;
  max-width: 780px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--surface-1);
}
.visual img { width: 100%; height: 100%; object-fit: cover; }

.visual--section {
  margin-bottom: 2.5rem;
  aspect-ratio: 4 / 5;
  max-width: 520px;
}

/* ---- Lista piatti ---- */

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-column-gap: 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px dashed var(--border);
}
.item:last-child { border-bottom: 0; }

.item__head {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  flex-wrap: wrap;
}

.item__name {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: .005em;
}

.item__price {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: start;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding-top: .1rem;
}

.item__desc {
  grid-column: 1;
  margin: .35rem 0 0;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.item__meta {
  grid-column: 1;
  margin-top: .55rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
}

.allergens {
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--text-faint);
  font-style: italic;
}

/* ---- Sub-category headings (pala/tonda/padellino, bollicine/bianchi...) ---- */

.subhead {
  margin: 2.5rem 0 .3rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.subhead:first-child { margin-top: 0; }

.subhead__title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.7vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -.005em;
  color: var(--sand);
}
/* Risalto tipologie (In pala / Tonda contemporanea / Il padellino): filetto oro sotto */
.subhead__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin-top: .6rem;
  background: var(--sand);
}

.subhead__intro {
  font-size: .9rem;
  color: var(--text-muted);
  max-width: 56ch;
}

.subhead__region {
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 1.6rem 0 .2rem;
  padding-bottom: .25rem;
  border-bottom: 1px solid var(--border);
}

/* ---- Chips (filtro interno pizze) ---- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1.2rem 0 .8rem;
}
.chips a {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: .55rem .9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
@media (hover: hover) and (pointer: fine) {
  .chips a:hover { border-color: var(--sand); color: var(--text); }
}

/* ---- Badge system ---- */

.badge {
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .22em .55em;
  border-radius: 3px;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.4;
}
.badge--signature { background: var(--badge-gold-bg); color: var(--badge-gold-text); }
.badge--month    { background: var(--badge-red-bg); color: var(--badge-red-text); }
.badge--veg      { background: transparent; color: #3E6B45; border: 1px solid #CBE0C6; }
.badge--gf       { background: transparent; color: var(--sand-soft); border: 1px solid var(--border); }
.badge--abruzzo  { background: transparent; color: var(--sand); border: 1px solid var(--sand); }
.badge--grande   { background: var(--badge-gold-bg); color: var(--badge-gold-text); }

/* ---- Sold Out — minimal badge v2 (2026-05-14) ---- */
/* Sostituisce SVG rubber stamp con badge testuale destra. Editoriale, premium, no rumore. */

.item--sold-out .item__price { display: none; }

.item__badge--soldout {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: start;
  padding-top: .1rem;
  color: #C42B22;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: nowrap;
  text-align: right;
}

.item--sold-out .item__desc,
.item--sold-out .item__meta .allergens {
  color: var(--text-faint);
  color: color-mix(in srgb, var(--text-muted) 72%, transparent);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 359px) {
  .item__badge--soldout { font-size: 0.8125rem; }
}

html[lang="de"] .item__badge--soldout { font-size: 0.82rem; }

@media print {
  .item--sold-out { background: none !important; border-bottom: 1px solid #bbb !important; }
  .item__badge--soldout { color: #B42318 !important; }
}

/* ============================================================
   Sezione "Oggi" — piatto del giorno.
   Layout "scheda del maitre": card incorniciata, centrata, con
   angoli decorati e fregio. Markup dedicato: partials/oggi_card.html.
   Le altre categorie NON sono toccate.
   ============================================================ */

.section--oggi { margin-bottom: 3rem; }

/* Titolo "Oggi": resta nel DOM per accessibilita + ancora di nav,
   nascosto visivamente (l'occhiello dentro la card fa da titolo). */
.section-title--sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* --- Card incorniciata --- */
.oggi-card {
  position: relative;
  max-width: 460px;
  margin-inline: auto;
  padding: 2rem 1.6rem;
  text-align: center;
  background: var(--surface-2);
  border: 1px solid var(--sand);
  border-radius: 14px;
}

/* Seconda linea interna = cornice doppia */
.oggi-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--sand);
  opacity: .38;
  border-radius: 9px;
  pointer-events: none;
}

/* Angoli decorati: 4 staffe a L sugli spigoli della cornice interna */
.oggi-card__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--sand);
}
.oggi-card__corner--tl { top: 7px;    left: 7px;  border-right: 0; border-bottom: 0; border-top-left-radius: 9px; }
.oggi-card__corner--tr { top: 7px;    right: 7px; border-left: 0;  border-bottom: 0; border-top-right-radius: 9px; }
.oggi-card__corner--bl { bottom: 7px; left: 7px;  border-right: 0; border-top: 0;    border-bottom-left-radius: 9px; }
.oggi-card__corner--br { bottom: 7px; right: 7px; border-left: 0;  border-top: 0;    border-bottom-right-radius: 9px; }

/* Occhiello dentro la cornice */
.oggi-card__eyebrow {
  margin: 0 0 1.1rem;
  font-family: var(--font-sans);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sand);
}

/* --- Piatto (centrato) --- */
.oggi-dish__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 1.1;
  font-weight: 400;
  color: var(--text);
}
@media (min-width: 640px) {
  .oggi-dish__name { font-size: 1.85rem; }
}

/* Fregio: rombo con due hairline ai lati */
.oggi-dish__flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin: .85rem 0;
  color: var(--sand);
  font-size: .6rem;
}
.oggi-dish__flourish::before,
.oggi-dish__flourish::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--sand);
  opacity: .55;
}

.oggi-dish__price {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--sand-soft);
  font-variant-numeric: tabular-nums;
}

.oggi-dish__desc {
  margin: 1rem auto 0;
  max-width: 34ch;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Allergeni: separatore tratteggiato sopra + label (info sanitaria/legale, leggibile) */
.oggi-dish__allergens {
  position: relative;
  margin: 1.2rem auto 0;
  padding-top: 1.1rem;
  font-family: var(--font-sans);
  font-size: .82rem;
  color: var(--text-muted);
}
.oggi-dish__allergens::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 46%;
  border-top: 1px dotted var(--border);
}
.oggi-dish__allergens-label { color: var(--text-faint); }

/* 2+ piatti del giorno: separatore tra le portate */
.oggi-dish--next {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

@media print {
  .oggi-card { background: none; }
}

/* ---- Accordion cantina/drink ---- */

details {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}
details:last-of-type { border-bottom: 1px solid var(--border); }

details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  min-height: 48px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--text);
}
details summary::-webkit-details-marker { display: none; }

details summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--sand);
  transition: transform .2s ease;
}
details[open] summary::after { content: "−"; }

details .group-count {
  font-family: var(--font-sans);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-left: auto;
  margin-right: .8rem;
}

details > .menu-list { padding-top: 1rem; }

/* ---- Footer ---- */

.footer {
  max-width: var(--max-w);
  margin: 4rem auto 0;
  padding: 3rem var(--pad-x) calc(2.5rem + var(--safe-bottom));
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-faint);
  font-size: .85rem;
  line-height: 1.8;
}
.footer p { margin: 0 0 .6rem; }
.footer strong { color: var(--text-muted); font-weight: 500; }
.footer .sep {
  display: block;
  width: 40px; height: 1px;
  background: var(--sand);
  margin: 1.2rem auto;
}

/* ---- Print ---- */

@media print {
  :root {
    --bg: #fff; --surface-1: #fff; --surface-2: #f7f3ec;
    --text: #111; --text-muted: #333; --text-faint: #666;
    --border: #ddd;
  }
  body { background: #fff; color: #111; font-size: 11pt; }
  .nav, .hero__image, .visual, .lang, .lang-suggest, .about__photo { display: none !important; }
  .hero { padding: 0 0 1rem; text-align: left; }
  .hero__wordmark { margin-left: 0; }
  details { border: none; padding: .5rem 0; }
  details summary::after { content: ""; }
  details:not([open]) > *:not(summary) { display: block !important; }
  .section { page-break-inside: auto; border-top: 1px solid #999; }
  .item { break-inside: avoid; }
  .badge { border: 1px solid #999 !important; color: #333 !important; background: #fff !important; }
}

/* ---- Reduced motion ---- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---- Blocco contatti (telefono/WhatsApp/social, icone oro) ---- */
/* svg width/height OBBLIGATORI: senza, l'SVG (solo viewBox) si espande a tutta la larghezza del flex. */
.contacts{display:flex;flex-direction:column;align-items:center;gap:.7rem;margin:1.4rem 0 .4rem;}
.contacts__item{display:inline-flex;align-items:center;gap:.6rem;color:var(--sand);
  text-decoration:none;font-size:1.05rem;}
.contacts__item svg{width:26px;height:26px;flex:none;fill:var(--sand);}
.contacts__item:hover{text-decoration:underline;}
