/* =========================================================
   Menu pubblico — tre temi: Maiolica, Lido (mare), Notte
   ========================================================= */

@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

@font-face { font-family: "Alfa Slab One"; src: url("../fonts/alfa-slab-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Marcellus"; src: url("../fonts/marcellus-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }

@font-face { font-family: "Shrikhand"; src: url("../fonts/shrikhand-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Anton"; src: url("../fonts/anton-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* ---------- Temi ---------- */

.theme-maiolica {
  --bg: #F5F7FB;
  --surface: #FFFFFF;
  --surface-2: #E9EEF7;
  --ink: #15213A;
  --muted: #59647A;
  --line: #D9E0EC;
  --primary: #1D3F8F;
  --on-primary: #FFFFFF;
  --accent: #E3B23C;
  --soldout: #9AA3B5;
  --display: "DM Serif Display", Georgia, serif;
  --display-weight: 400;
  --display-tracking: 0;
  --radius: 14px;
}

.theme-mare {
  --bg: #FFFFFF;
  --surface: #F1F7F7;
  --surface-2: #E0EEEE;
  --ink: #0C2E33;
  --muted: #4B6669;
  --line: #D3E3E3;
  --primary: #0E6E73;
  --on-primary: #FFFFFF;
  --accent: #F2B33D;
  --soldout: #9DB0B1;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --display-weight: 800;
  --display-tracking: -0.01em;
  --radius: 10px;
}

.theme-notte {
  --bg: #1C1424;
  --surface: #261C30;
  --surface-2: #33263F;
  --ink: #F4EEE7;
  --muted: #B9ABC1;
  --line: #3D2F4A;
  --primary: #E7A65A;
  --on-primary: #1C1424;
  --accent: #C86B85;
  --soldout: #7C6E86;
  --display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --display-weight: 800;
  --display-tracking: -0.02em;
  --radius: 16px;
  color-scheme: dark;
}


.theme-carretto {
  --bg: #FFF7E0;
  --surface: #FFFFFF;
  --surface-2: #FBEBC0;
  --ink: #2A1A12;
  --muted: #6E5A48;
  --line: #EBD9AE;
  --primary: #C8102E;
  --on-primary: #FFFFFF;
  --accent: #F2B705;
  --soldout: #B3A48F;
  --display: "Alfa Slab One", Rockwell, Georgia, serif;
  --display-weight: 400;
  --display-tracking: 0.005em;
  --radius: 8px;
}

.theme-lavagna {
  --bg: #1F2B26;
  --surface: #26352F;
  --surface-2: #2E3F38;
  --ink: #F3F0E6;
  --muted: #B9C2B6;
  --line: #3B4D45;
  --primary: #F4D66B;
  --on-primary: #1F2B26;
  --accent: #EF9C82;
  --soldout: #7F8E87;
  --display: "Caveat", "Segoe Print", cursive;
  --display-weight: 700;
  --display-tracking: 0;
  --radius: 10px;
  color-scheme: dark;
}

.theme-bianco {
  --bg: #FFFFFF;
  --surface: #F7F6F3;
  --surface-2: #EFEDE8;
  --ink: #1C1C1C;
  --muted: #6B6B6B;
  --line: #E4E2DD;
  --primary: #1C1C1C;
  --on-primary: #FFFFFF;
  --accent: #A8873A;
  --soldout: #ABABAB;
  --display: "Cormorant Garamond", Garamond, Georgia, serif;
  --display-weight: 600;
  --display-tracking: 0.01em;
  --radius: 4px;
}

.theme-limone {
  --bg: #FFFCEB;
  --surface: #FFFFFF;
  --surface-2: #FFF3B8;
  --ink: #1F3320;
  --muted: #586A53;
  --line: #EFE5AE;
  --primary: #2F7D32;
  --on-primary: #FFFFFF;
  --accent: #F6CF2E;
  --soldout: #A3AE9C;
  --display: "Fredoka", "Trebuchet MS", sans-serif;
  --display-weight: 600;
  --display-tracking: 0;
  --radius: 18px;
}


.theme-velluto {
  --bg: #23090F;
  --surface: #2D0E16;
  --surface-2: #3A141E;
  --ink: #F4EADD;
  --muted: #C7B19C;
  --line: #4E2A2A;
  --primary: #D8B878;
  --on-primary: #23090F;
  --accent: #D8B878;
  --soldout: #8E7568;
  --display: "Cormorant Garamond", Garamond, Georgia, serif;
  --display-weight: 600;
  --display-tracking: 0.01em;
  --radius: 2px;
  color-scheme: dark;
}

.theme-deco {
  --bg: #F3EEE3;
  --surface: #FBF8F1;
  --surface-2: #EAE2D1;
  --ink: #12261F;
  --muted: #5A6A61;
  --line: #D8CCB2;
  --primary: #0F3B2E;
  --on-primary: #F3EEE3;
  --accent: #A9854E;
  --soldout: #A7A497;
  --display: "Marcellus", "Trajan Pro", Georgia, serif;
  --display-weight: 400;
  --display-tracking: 0.14em;
  --radius: 0px;
}

.theme-marmo {
  --bg: #FAF8F6;
  --surface: #FFFFFF;
  --surface-2: #F1EDE9;
  --ink: #221F1E;
  --muted: #6F6965;
  --line: #E6E0DA;
  --primary: #94584C;
  --on-primary: #FFFFFF;
  --accent: #C6A27C;
  --soldout: #B2ABA6;
  --display: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --display-weight: 500;
  --display-tracking: -0.01em;
  --radius: 0px;
}

.theme-diner {
  --bg: #FFF8EC;
  --surface: #FFFFFF;
  --surface-2: #FDEBD0;
  --ink: #1E1A1A;
  --muted: #6B5E57;
  --line: #F0DFC6;
  --primary: #D7262E;
  --on-primary: #FFFFFF;
  --accent: #2BB3B1;
  --soldout: #B9ADA3;
  --display: "Shrikhand", "Cooper Black", Georgia, serif;
  --display-weight: 400;
  --display-tracking: 0;
  --radius: 14px;
}

.theme-street {
  --bg: #161514;
  --surface: #201F1D;
  --surface-2: #2A2825;
  --ink: #F6F1E7;
  --muted: #B5AC9E;
  --line: #34312C;
  --primary: #FFC414;
  --on-primary: #161514;
  --accent: #E8432E;
  --soldout: #7B746A;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --display-weight: 400;
  --display-tracking: 0.02em;
  --radius: 4px;
  color-scheme: dark;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 116px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.5 "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, select, input { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 640px; margin: 0 auto; padding: 0 18px; }
.cur { font-size: .78em; margin-right: .12em; opacity: .75; }

/* ---------- Testata ---------- */

.hero { position: relative; padding: 0 0 26px; overflow: hidden; }
.band { position: relative; height: 64px; }
.hero-inner { position: relative; max-width: 640px; margin: 0 auto; padding: 22px 18px 0; }
.venue-name {
  margin: 0;
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: clamp(2.4rem, 11vw, 3.4rem);
  line-height: 1;
  text-wrap: balance;
}
.tagline { margin: 10px 0 0; color: var(--muted); font-size: 1.02rem; max-width: 34ch; }
.logo { width: 72px; height: 72px; object-fit: contain; border-radius: 50%; background: var(--surface); margin-bottom: 14px; box-shadow: 0 0 0 1px var(--line); }

.hero-cover { display: block; width: 100%; max-width: 900px; margin: 0 auto; aspect-ratio: 2 / 1; height: auto; object-fit: cover; object-position: center; }
.hero.has-cover .band { height: 18px; }

.hero-tools { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; align-items: center; gap: 8px; }
.text-size {
  display: inline-flex; align-items: baseline; justify-content: center; gap: 1px; min-width: 44px; height: 42px; padding: 0 10px; border: 0; cursor: pointer;
  background: var(--surface); color: var(--ink); border-radius: 999px; box-shadow: 0 0 0 1px var(--line); font-weight: 700; line-height: 1;
}
.text-size .ts-small { font-size: 13px; }
.text-size .ts-big { font-size: 19px; }
.text-size[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 8px 0 12px; border: 0; cursor: pointer;
  background: var(--surface); color: var(--ink); border-radius: 999px; box-shadow: 0 0 0 1px var(--line);
  font: inherit; font-weight: 600; font-size: .92rem;
}
.lang-btn svg { width: 18px; height: 18px; color: var(--primary); }
.lang-code { font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 3px 7px; border-radius: 999px; background: var(--bg); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.lang-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Maiolica: fascia di piastrelle, colorata con i colori del locale */
.theme-maiolica .band { background: var(--surface); border-bottom: 3px solid var(--primary); }
.theme-maiolica .band::before,
.theme-maiolica .band::after { content: ""; position: absolute; inset: 0; }
.theme-maiolica .band::before {
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'><g fill='black'><path d='M32 9c7 7 7 15 0 22c-7-7-7-15 0-22z'/><path d='M32 9c7 7 7 15 0 22c-7-7-7-15 0-22z' transform='rotate(90 32 32)'/><path d='M32 9c7 7 7 15 0 22c-7-7-7-15 0-22z' transform='rotate(180 32 32)'/><path d='M32 9c7 7 7 15 0 22c-7-7-7-15 0-22z' transform='rotate(270 32 32)'/></g><g fill='none' stroke='black' stroke-width='4'><circle cx='0' cy='0' r='13'/><circle cx='64' cy='0' r='13'/><circle cx='0' cy='64' r='13'/><circle cx='64' cy='64' r='13'/></g></svg>") 0 0 / 64px 64px repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'><g fill='black'><path d='M32 9c7 7 7 15 0 22c-7-7-7-15 0-22z'/><path d='M32 9c7 7 7 15 0 22c-7-7-7-15 0-22z' transform='rotate(90 32 32)'/><path d='M32 9c7 7 7 15 0 22c-7-7-7-15 0-22z' transform='rotate(180 32 32)'/><path d='M32 9c7 7 7 15 0 22c-7-7-7-15 0-22z' transform='rotate(270 32 32)'/></g><g fill='none' stroke='black' stroke-width='4'><circle cx='0' cy='0' r='13'/><circle cx='64' cy='0' r='13'/><circle cx='0' cy='64' r='13'/><circle cx='64' cy='64' r='13'/></g></svg>") 0 0 / 64px 64px repeat;
}
.theme-maiolica .band::after {
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'><circle cx='32' cy='32' r='4.5' fill='black'/><circle cx='0' cy='0' r='5' fill='black'/><circle cx='64' cy='0' r='5' fill='black'/><circle cx='0' cy='64' r='5' fill='black'/><circle cx='64' cy='64' r='5' fill='black'/></svg>") 0 0 / 64px 64px repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'><circle cx='32' cy='32' r='4.5' fill='black'/><circle cx='0' cy='0' r='5' fill='black'/><circle cx='64' cy='0' r='5' fill='black'/><circle cx='0' cy='64' r='5' fill='black'/><circle cx='64' cy='64' r='5' fill='black'/></svg>") 0 0 / 64px 64px repeat;
}

/* Lido: tenda a righe con il bordo smerlato */
.theme-mare .band { height: 54px; }
.theme-mare .band::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, var(--primary) 0 22px, var(--surface-2) 22px 44px);
  -webkit-mask:
    linear-gradient(#000 0 0) 0 0 / 100% 42px no-repeat,
    radial-gradient(circle at 11px 0, #000 10.5px, transparent 11px) 0 42px / 22px 12px repeat-x;
          mask:
    linear-gradient(#000 0 0) 0 0 / 100% 42px no-repeat,
    radial-gradient(circle at 11px 0, #000 10.5px, transparent 11px) 0 42px / 22px 12px repeat-x;
}
.theme-mare .hero.has-cover .band { height: 54px; }

/* Notte: sole che tramonta sull'orizzonte */
.theme-notte .band { height: 120px; }
.theme-notte .band::before {
  content: ""; position: absolute; left: 50%; bottom: 26px; width: 150px; height: 75px; transform: translateX(-50%);
  border-radius: 150px 150px 0 0;
  background: linear-gradient(var(--primary), var(--accent));
}
.theme-notte .band::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
  background:
    linear-gradient(var(--line), var(--line)) 0 0 / 100% 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 50% 7px / 110px 3px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 50% 14px / 70px 3px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 50% 21px / 34px 3px no-repeat;
  opacity: .85;
}
.theme-notte .hero-inner { text-align: center; }
.theme-notte .tagline { margin-inline: auto; }
.theme-notte .logo { margin-inline: auto; }
.theme-notte .hero.has-cover .band { display: none; }


/* Carretto: fascia dipinta come le sponde del carretto siciliano */
.theme-carretto .band { height: 58px; background: var(--primary); }
.theme-carretto .band::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 34px;
  background:
    linear-gradient(135deg, var(--accent) 25%, transparent 25%) 0 0 / 34px 34px,
    linear-gradient(225deg, var(--accent) 25%, transparent 25%) 0 0 / 34px 34px,
    repeating-linear-gradient(90deg, #1F7A3A 0 34px, #1E4FA3 34px 68px);
}
.theme-carretto .band::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 10px;
  background: radial-gradient(circle, var(--accent) 3.5px, transparent 4px) 0 50% / 17px 10px repeat-x;
}
.theme-carretto .venue-name { color: var(--primary); }
.theme-carretto .cat-title { color: var(--primary); display: flex; align-items: center; gap: 10px; }
.theme-carretto .cat-title::before { content: ""; width: 12px; height: 12px; flex: none; margin-left: 4px; background: #1F7A3A; transform: rotate(45deg); box-shadow: 0 0 0 3px var(--accent); }
.theme-carretto .price-amount { color: var(--primary); }
.theme-carretto .flag { background: #1F7A3A; color: #fff; }
.theme-carretto .menu-switch a[aria-current] { background: var(--primary); color: #fff; }

/* Lavagna: cornice di legno e scritte a gesso */
.theme-lavagna .band { height: 18px; background: linear-gradient(#8A5A34, #6B4224); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25); }
.theme-lavagna .hero-inner { padding-top: 58px; }
.theme-lavagna .hero { background: radial-gradient(ellipse at 30% 0%, rgba(255, 255, 255, .06), transparent 60%); }
.theme-lavagna .venue-name { font-size: clamp(3.2rem, 15vw, 4.4rem); line-height: .95; color: var(--ink); }
.theme-lavagna .cat-title { font-size: 2.5rem; color: var(--primary); }
.theme-lavagna .cat-title::after { content: ""; display: block; width: 72px; height: 3px; margin-top: 2px; border-radius: 3px; background: var(--primary); opacity: .55; transform: rotate(-1.5deg); }
.theme-lavagna .item + .item { border-top-style: dashed; }
.theme-lavagna .price-amount { color: var(--primary); }
.theme-lavagna .flag { background: var(--accent); color: #2A1712; }
.theme-lavagna .review-title, .theme-lavagna .sheet-title { font-size: 2.1rem; }
.theme-lavagna .tag-vegano, .theme-lavagna .tag-vegetariano { color: #A6DDB6; }
.theme-lavagna .tag-senza_glutine { color: #F0D98A; }
.theme-lavagna .tag-piccante { color: #FF9F8A; }

/* Bianco: essenziale, centrato, da cucina d'autore */
.theme-bianco .band { height: 34px; background: none; }
.theme-bianco .band::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 64px; transform: translateX(-50%); border-top: 1px solid var(--accent); border-bottom: 1px solid var(--accent); height: 4px; }
.theme-bianco .hero-inner { text-align: center; padding-top: 26px; }
.theme-bianco .venue-name { font-size: clamp(2.6rem, 11vw, 3.6rem); text-transform: uppercase; letter-spacing: .08em; }
.theme-bianco .tagline { margin-inline: auto; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500; font-size: 1.2rem; }
.theme-bianco .logo { margin-inline: auto; }
.theme-bianco .cat { padding-top: 40px; }
.theme-bianco .cat-title { text-align: center; font-size: 1.9rem; font-style: normal; display: flex; align-items: center; gap: 14px; }
.theme-bianco .cat-title::before, .theme-bianco .cat-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.theme-bianco .cat-desc { text-align: center; font-style: italic; }
.theme-bianco .item + .item { border-top-color: transparent; }
.theme-bianco .item-name { font-weight: 600; letter-spacing: .01em; }
.theme-bianco .price-amount { font-weight: 600; }
.theme-bianco .flag { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.theme-bianco .cats a.is-active { color: var(--ink); background: var(--surface-2); }
.theme-bianco .review { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.theme-bianco .btn-review { background: var(--ink); color: #fff; }

/* Limone: fresco e solare, con le fette di limone */
.theme-limone .band { height: 60px; background-color: var(--accent);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g transform='translate(30 30)'><circle r='19' fill='%23FFFFFF'/><circle r='16' fill='%23FBE27A'/><g stroke='%23FFFFFF' stroke-width='1.6'><line x1='0' y1='-16' x2='0' y2='16'/><line x1='-16' y1='0' x2='16' y2='0'/><line x1='-11.3' y1='-11.3' x2='11.3' y2='11.3'/><line x1='-11.3' y1='11.3' x2='11.3' y2='-11.3'/></g><circle r='2.5' fill='%23FFFFFF'/></g></svg>");
  background-size: 60px 60px; border-bottom: 4px solid var(--primary); }
.theme-limone .venue-name { color: var(--primary); }
.theme-limone .cat-title { color: var(--primary); }
.theme-limone .cat-title::after { content: ""; display: block; width: 44px; height: 6px; margin-top: 6px; border-radius: 6px; background: var(--accent); }
.theme-limone .flag { background: var(--accent); color: #3B3000; }
.theme-limone .price-amount { color: var(--primary); }
.theme-limone .item-btn { padding: 16px 0; }


/* ====== Stili da locale di lusso ====== */

/* Velluto: bordeaux profondo, filetti color champagne, corsivo */
.theme-velluto .band { height: 46px; }
.theme-velluto .band::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 220px; max-width: 60%; height: 14px; transform: translateX(-50%);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='14' viewBox='0 0 220 14'><g fill='%23D8B878'><rect x='0' y='6.5' width='96' height='1'/><rect x='124' y='6.5' width='96' height='1'/><path d='M110 1l6 6-6 6-6-6z'/><circle cx='100' cy='7' r='1.6'/><circle cx='120' cy='7' r='1.6'/></g></svg>") center / contain no-repeat;
}
.theme-velluto .hero { background: radial-gradient(ellipse at 50% -10%, #4A1622 0%, transparent 70%); }
.theme-velluto .hero-inner { text-align: center; padding-top: 30px; }
.theme-velluto .venue-name { font-style: italic; font-weight: 500; font-size: clamp(3rem, 13vw, 4.2rem); color: var(--ink); }
.theme-velluto .tagline { margin: 14px auto 0; color: var(--accent); letter-spacing: .18em; font-size: .78rem; text-transform: uppercase; }
.theme-velluto .logo { margin-inline: auto; background: transparent; box-shadow: 0 0 0 1px var(--accent); }
.theme-velluto .cat { padding-top: 44px; }
.theme-velluto .cat-title { text-align: center; font-style: italic; font-weight: 500; font-size: 2.2rem; color: var(--accent); }
.theme-velluto .cat-title::after { content: ""; display: block; width: 36px; height: 1px; margin: 12px auto 4px; background: var(--accent); }
.theme-velluto .cat-desc { text-align: center; font-style: italic; }
.theme-velluto .item + .item { border-top-color: transparent; }
.theme-velluto .item-name { font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: .01em; }
.theme-velluto .price-amount { color: var(--accent); font-family: var(--display); font-weight: 600; font-size: 1.3rem; }
.theme-velluto .flag { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); border-radius: 0; font-weight: 600; letter-spacing: .06em; }
.theme-velluto .menu-switch { justify-content: center; }
.theme-velluto .menu-switch a { border-radius: 0; box-shadow: inset 0 0 0 1px var(--line); }
.theme-velluto .menu-switch a[aria-current] { background: var(--accent); color: var(--on-primary); }
.theme-velluto .cats { justify-content: safe center; }
.theme-velluto .cats a.is-active { color: var(--accent); background: transparent; box-shadow: inset 0 -1px 0 var(--accent); border-radius: 0; }
.theme-velluto .review { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--accent); text-align: center; border-radius: 0; }
.theme-velluto .review-title { font-style: italic; color: var(--accent); }
.theme-velluto .btn-review { background: var(--accent); color: var(--on-primary); border-radius: 0; }
.theme-velluto .tag-vegano, .theme-velluto .tag-vegetariano { color: #B9D8B0; }
.theme-velluto .tag-senza_glutine { color: #E8D59A; }
.theme-velluto .tag-piccante { color: #F2A08E; }

.theme-velluto .text-size, .theme-deco .text-size, .theme-marmo .text-size { border-radius: 0; }
.theme-street .text-size { border-radius: 4px; }
.theme-velluto .lang-btn, .theme-velluto .lang-code, .theme-velluto .lang-opt, .theme-velluto .filter-btn, .theme-velluto .soldout,
.theme-deco .lang-btn, .theme-deco .lang-code, .theme-deco .lang-opt, .theme-deco .filter-btn, .theme-deco .soldout,
.theme-marmo .lang-btn, .theme-marmo .lang-code, .theme-marmo .lang-opt, .theme-marmo .filter-btn, .theme-marmo .soldout { border-radius: 0; }

/* Déco: avorio, verde smeraldo e ottone, come un grand hotel degli anni Venti */
.theme-deco .band { height: 64px; background-color: var(--primary); border-bottom: 3px double var(--accent);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'><g fill='none' stroke='%23A9854E' stroke-width='1.2'><path d='M0 64a32 32 0 0 1 64 0'/><path d='M8 64a24 24 0 0 1 48 0'/><path d='M16 64a16 16 0 0 1 32 0'/><path d='M32 64V36M32 64 18 40M32 64 46 40M32 64 9 50M32 64 55 50'/></g></svg>");
  background-size: 64px 64px; background-position: center bottom; }
.theme-deco .hero-inner { text-align: center; padding-top: 34px; }
.theme-deco .venue-name { text-transform: uppercase; font-size: clamp(2.1rem, 9.5vw, 3rem); line-height: 1.12; color: var(--primary); }
.theme-deco .tagline { margin: 14px auto 0; color: var(--accent); font-family: var(--display); letter-spacing: .12em; font-size: .95rem; }
.theme-deco .logo { margin-inline: auto; border-radius: 0; box-shadow: 0 0 0 1px var(--accent); }
.theme-deco .cat { padding-top: 42px; }
.theme-deco .cat-title { text-transform: uppercase; font-size: 1.35rem; text-align: center; color: var(--primary); display: flex; align-items: center; gap: 12px; }
.theme-deco .cat-title::before, .theme-deco .cat-title::after {
  content: ""; flex: 1; height: 7px;
  background: linear-gradient(var(--accent), var(--accent)) 0 0 / 100% 1px no-repeat, linear-gradient(var(--accent), var(--accent)) 0 6px / 100% 1px no-repeat;
}
.theme-deco .cat-desc { text-align: center; }
.theme-deco .item + .item { border-top: 1px solid var(--line); }
.theme-deco .item-name { font-family: var(--display); letter-spacing: .06em; text-transform: uppercase; font-size: .98rem; }
.theme-deco .price-amount { color: var(--primary); font-family: var(--display); font-weight: 400; letter-spacing: .04em; }
.theme-deco .flag { background: var(--primary); color: var(--bg); border-radius: 0; letter-spacing: .08em; }
.theme-deco .menu-switch { justify-content: center; }
.theme-deco .menu-switch a { border-radius: 0; font-family: var(--display); letter-spacing: .1em; text-transform: uppercase; font-weight: 400; font-size: .9rem; }
.theme-deco .menu-switch a[aria-current] { background: var(--primary); color: var(--bg); }
.theme-deco .cats a { font-family: var(--display); letter-spacing: .08em; font-weight: 400; }
.theme-deco .cats a.is-active { color: var(--primary); background: transparent; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.theme-deco .review { background: var(--primary); border-radius: 0; text-align: center; box-shadow: inset 0 0 0 4px var(--primary), inset 0 0 0 5px var(--accent); }
.theme-deco .review-title { text-transform: uppercase; font-size: 1.3rem; color: var(--bg); }
.theme-deco .btn-review { border-radius: 0; background: var(--accent); color: #fff; }

/* Marmo: bianco di Carrara, Bodoni da rivista di moda, oro rosa */
.theme-marmo .band { height: 150px;
  background-color: #F4F1EE;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='520' height='150' viewBox='0 0 520 150'><g fill='none' stroke-linecap='round'><path d='M-10 40C60 20 110 70 170 55S270 10 330 35 430 90 530 60' stroke='%23CFC6BE' stroke-width='1.1'/><path d='M-10 95C50 80 90 120 160 110S260 70 320 95 420 140 530 115' stroke='%23DDD5CE' stroke-width='.8'/><path d='M120 -5C140 30 125 60 150 85S170 130 160 160' stroke='%23D8CFC7' stroke-width='.7'/><path d='M380 -5C360 40 395 60 380 95S390 140 405 160' stroke='%23C9A27C' stroke-opacity='.55' stroke-width='.9'/><path d='M-10 130C80 120 140 140 220 128' stroke='%23E2DBD4' stroke-width='.6'/></g></svg>");
  background-size: 520px 150px; border-bottom: 1px solid var(--accent); }
.theme-marmo .hero-inner { text-align: center; margin-top: -64px; }
.theme-marmo .venue-name { font-size: clamp(2.9rem, 13vw, 4.3rem); font-weight: 500; letter-spacing: -0.02em; background: var(--bg); display: inline-block; padding: 10px 18px 4px; }
.theme-marmo .tagline { margin: 6px auto 0; font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--muted); }
.theme-marmo .logo { margin: 0 auto 8px; border-radius: 0; background: var(--bg); box-shadow: 0 0 0 1px var(--accent); }
.theme-marmo .hero.has-cover .band { display: none; }
.theme-marmo .hero.has-cover .hero-inner { margin-top: 0; }
.theme-marmo .cat { padding-top: 46px; }
.theme-marmo .cat-title { font-style: italic; font-weight: 500; font-size: 2.3rem; text-align: center; }
.theme-marmo .cat-title::after { content: ""; display: block; width: 7px; height: 7px; margin: 14px auto 0; background: var(--accent); transform: rotate(45deg); }
.theme-marmo .cat-desc { text-align: center; font-style: italic; }
.theme-marmo .item + .item { border-top-color: transparent; }
.theme-marmo .item-btn { padding: 18px 0; }
.theme-marmo .item-name { font-family: var(--display); font-weight: 500; font-size: 1.28rem; }
.theme-marmo .price-amount { font-family: var(--display); font-weight: 500; font-size: 1.2rem; color: var(--ink); }
.theme-marmo .cur { opacity: .5; }
.theme-marmo .flag { background: transparent; color: var(--primary); font-family: var(--display); font-style: italic; font-weight: 500; font-size: .9rem; padding: 0; }
.theme-marmo .menu-switch { justify-content: center; }
.theme-marmo .menu-switch a { border-radius: 0; box-shadow: none; font-family: var(--display); font-weight: 500; font-size: 1.05rem; padding: 8px 12px; }
.theme-marmo .menu-switch a[aria-current] { background: transparent; color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); }
.theme-marmo .cats a.is-active { color: var(--primary); background: transparent; box-shadow: inset 0 -1px 0 var(--primary); border-radius: 0; }
.theme-marmo .review { background: var(--surface); color: var(--ink); text-align: center; border-radius: 0; box-shadow: inset 0 0 0 1px var(--line); }
.theme-marmo .review-title { font-style: italic; }
.theme-marmo .btn-review { background: var(--ink); color: #fff; border-radius: 0; }

/* Diner: hamburgeria americana anni '50, scacchi, rosso e turchese */
.theme-diner .band { height: 30px; background: repeating-conic-gradient(#1E1A1A 0 25%, #FFFFFF 0 50%) 0 0 / 30px 30px; border-bottom: 6px solid var(--primary); box-shadow: 0 6px 0 var(--accent); }
.theme-diner .hero-inner { text-align: center; padding-top: 34px; }
.theme-diner .logo { margin-inline: auto; box-shadow: 0 0 0 3px var(--primary); }
.theme-diner .venue-name { color: var(--primary); font-size: clamp(2.6rem, 12vw, 3.8rem); line-height: 1.05; text-shadow: 3px 3px 0 var(--accent); transform: rotate(-3deg); padding: 4px 0 8px; }
.theme-diner .tagline { margin: 12px auto 0; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; color: var(--ink); }
.theme-diner .hero.has-cover .band { height: 30px; }
.theme-diner .cat-title { color: var(--primary); font-size: 2rem; display: flex; align-items: center; gap: 12px; }
.theme-diner .cat-title::after { content: ""; flex: 1; height: 8px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--accent) 0 14px, transparent 14px 22px); opacity: .7; }
.theme-diner .item + .item { border-top-style: dashed; }
.theme-diner .item-name { font-weight: 700; }
.theme-diner .price-amount { color: var(--on-primary); background: var(--primary); padding: 2px 10px; border-radius: 999px; font-weight: 700; }
.theme-diner .flag { background: var(--accent); color: #fff; }
.theme-diner .menu-switch { justify-content: safe center; }
.theme-diner .menu-switch a { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.theme-diner .menu-switch a[aria-current] { background: var(--primary); color: var(--on-primary); box-shadow: inset 0 0 0 2px var(--primary); }
.theme-diner .cats a { border-radius: 999px; }
.theme-diner .cats a.is-active { background: var(--primary); color: var(--on-primary); }
.theme-diner .review { background: var(--primary); color: #fff; }
.theme-diner .review-title { color: #fff; }
.theme-diner .btn-review { background: #fff; color: var(--primary); }

/* Street: panineria e street food, asfalto, senape e ketchup */
.theme-street .band { height: 20px; background: repeating-linear-gradient(-45deg, var(--primary) 0 14px, #161514 14px 28px); }
.theme-street .hero { background: radial-gradient(ellipse at 80% 0%, rgba(255, 196, 20, .10), transparent 60%); }
.theme-street .hero-inner { padding-top: 30px; }
.theme-street .venue-name { text-transform: uppercase; font-size: clamp(3.3rem, 17vw, 5rem); line-height: .92; }
.theme-street .tagline { margin-top: 14px; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; }
.theme-street .logo { border-radius: 4px; box-shadow: 0 0 0 2px var(--primary); }
.theme-street .hero.has-cover .band { height: 20px; }
.theme-street .cat { padding-top: 38px; }
.theme-street .cat-title { display: inline-block; text-transform: uppercase; font-size: 1.7rem; line-height: 1.1; padding: 6px 14px 4px; background: var(--primary); color: var(--on-primary); transform: rotate(-1.5deg); box-shadow: 4px 4px 0 var(--accent); }
.theme-street .cat-desc { margin-top: 12px; }
.theme-street .item-name { font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.theme-street .price-amount { color: var(--primary); font-family: var(--display); font-size: 1.3rem; letter-spacing: .02em; }
.theme-street .flag { background: var(--accent); color: #fff; border-radius: 2px; text-transform: uppercase; letter-spacing: .06em; }
.theme-street .menu-switch a { border-radius: 4px; text-transform: uppercase; letter-spacing: .06em; }
.theme-street .menu-switch a[aria-current] { background: var(--primary); color: var(--on-primary); }
.theme-street .cats a { text-transform: uppercase; letter-spacing: .04em; font-size: .88rem; }
.theme-street .cats a.is-active { color: var(--on-primary); background: var(--primary); border-radius: 4px; }
.theme-street .lang-btn, .theme-street .lang-opt, .theme-street .filter-btn, .theme-street .soldout { border-radius: 4px; }
.theme-street .review { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 2px var(--primary); }
.theme-street .review-title { text-transform: uppercase; color: var(--primary); }
.theme-street .btn-review { background: var(--primary); color: var(--on-primary); }
.theme-street .tag-vegano, .theme-street .tag-vegetariano { color: #9FDCAE; }
.theme-street .tag-senza_glutine { color: #F3D27A; }
.theme-street .tag-piccante { color: #FF9C88; }

/* ---------- Scelta del menu (Cena / Vini / Drink) ---------- */

.menu-switch {
  max-width: 640px; margin: 0 auto 6px; padding: 0 18px;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
}
.menu-switch::-webkit-scrollbar { display: none; }
.menu-switch a {
  flex: none; text-decoration: none; padding: 10px 18px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; color: var(--muted);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.menu-switch a[aria-current] { background: var(--ink); color: var(--bg); box-shadow: none; }

/* ---------- Barra fissa: categorie + filtri ---------- */

.sticky {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.cats {
  max-width: 640px; margin: 0 auto; padding: 10px 18px 8px;
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
}
.cats::-webkit-scrollbar { display: none; }
.cats a {
  flex: none; text-decoration: none; padding: 8px 12px; border-radius: 8px;
  font-weight: 600; font-size: .95rem; color: var(--muted);
}
.cats a.is-active { color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, transparent); }
.theme-notte .cats a.is-active { color: var(--primary); background: color-mix(in srgb, var(--primary) 16%, transparent); }

.filterbar { max-width: 640px; margin: 0 auto; padding: 0 18px 10px; }
.filter-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px;
  padding: 6px 14px 6px 10px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: .9rem; font-weight: 600; color: var(--ink);
}
.filter-btn svg { width: 18px; height: 18px; }
.filter-btn.is-on { background: var(--ink); color: var(--bg); box-shadow: none; }
.filter-count { min-width: 22px; height: 22px; border-radius: 11px; padding: 0 6px; display: inline-grid; place-items: center; background: var(--accent); color: #1a1a1a; font-size: .78rem; }

.filter-notice {
  margin: 18px 0 0; padding: 10px 14px; border-radius: var(--radius);
  background: var(--surface-2); font-size: .92rem;
}
.filter-notice-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.filter-hidden-list { margin: 2px 0 2px; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.filter-notice button { border: 0; background: none; font-weight: 700; color: var(--primary); cursor: pointer; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Categorie e prodotti ---------- */

.cat { padding-top: 30px; }
.cat[hidden] { display: none; }
.cat-title {
  margin: 0 0 4px;
  font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking);
  font-size: 1.9rem; line-height: 1.1;
}
.theme-maiolica .cat-title { color: var(--primary); }
.theme-mare .cat-title { font-size: 1.6rem; display: flex; align-items: center; gap: 12px; }
.theme-mare .cat-title::after { content: ""; flex: 1; height: 2px; background: var(--accent); border-radius: 2px; }
.theme-notte .cat-title { font-size: 1.75rem; }
.cat-desc { margin: 0 0 6px; color: var(--muted); }

.items { list-style: none; margin: 8px 0 0; padding: 0; }
.item + .item { border-top: 1px solid var(--line); }
.item[hidden] { display: none; }
.item-btn {
  width: 100%; display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0; border: 0; background: none; text-align: left; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.item-btn:active { opacity: .7; }
.item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.item-name { font-weight: 600; font-size: 1.07rem; line-height: 1.3; }
.item-desc {
  color: var(--muted); font-size: .94rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 4px; font-size: .8rem; color: var(--muted); }
.tag { font-weight: 600; }
.tag-vegano, .tag-vegetariano { color: #2F7D4F; }
.tag-senza_glutine { color: #8A6A12; }
.tag-piccante { color: #C2412D; }
.tag-novita { color: var(--primary); }
.theme-notte .tag-vegano, .theme-notte .tag-vegetariano { color: #8FD3A7; }
.theme-notte .tag-senza_glutine { color: #F0CF7A; }
.theme-notte .tag-piccante { color: #FF9A86; }
.abv { font-variant-numeric: tabular-nums; }
.allergen-nums { display: inline-flex; gap: 3px; }
.allergen-nums span, .num {
  display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%;
  font-size: .68rem; font-weight: 700; color: var(--muted);
  box-shadow: inset 0 0 0 1.2px currentColor;
}

.flag {
  align-self: flex-start; font-size: .74rem; font-weight: 700; padding: 2px 8px; border-radius: 6px;
  background: var(--accent); color: #2A1E00;
}
.theme-notte .flag { background: var(--accent); color: #fff; }

/* Novità: un'etichetta diversa da "Consigliato", disegnata per ogni stile */
.flags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; align-self: flex-start; }
.flag-new { position: relative; padding-left: 20px; background: var(--primary); color: var(--on-primary); }
.flag-new::before { content: ""; position: absolute; left: 7px; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: currentColor;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.sheet-status.flags { margin-bottom: 10px; }
.theme-maiolica .flag-new { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.theme-mare .flag-new { background: #F2B33D; color: #0C2E33; border-radius: 999px; }
.theme-notte .flag-new { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); border-radius: 999px; }
.theme-carretto .flag-new { background: var(--accent); color: var(--primary); box-shadow: inset 0 0 0 2px var(--primary); border-radius: 4px; }
.theme-lavagna .flag-new { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 2px var(--primary); font-family: "Caveat", cursive; font-size: 1.15rem; font-weight: 700; line-height: 1.1; transform: rotate(-3deg); border-radius: 10px 4px 12px 5px; }
.theme-bianco .flag-new { background: transparent; color: var(--ink); box-shadow: none; padding: 0 0 0 16px; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500; font-size: 1rem; }
.theme-bianco .flag-new::before { left: 2px; color: var(--accent); }
.theme-limone .flag-new { background: var(--primary); color: #fff; border-radius: 999px; }
.theme-velluto .flag-new { background: var(--accent); color: var(--bg); border-radius: 0; letter-spacing: .1em; text-transform: uppercase; font-size: .66rem; padding-top: 3px; padding-bottom: 3px; }
.theme-deco .flag-new { background: var(--accent); color: #fff; border-radius: 0; letter-spacing: .14em; text-transform: uppercase; font-family: var(--display); font-weight: 400; font-size: .7rem; padding-top: 3px; padding-bottom: 3px; }
.theme-marmo .flag-new { background: transparent; color: var(--ink); box-shadow: none; border-bottom: 1px solid var(--accent); border-radius: 0; padding: 0 0 1px 15px; text-transform: uppercase; letter-spacing: .16em; font-size: .64rem; font-weight: 600; }
.theme-marmo .flag-new::before { left: 1px; color: var(--accent); }
.theme-diner .flag-new { background: #FFD23F; color: var(--primary); border-radius: 999px; transform: rotate(-4deg); box-shadow: 2px 2px 0 var(--ink); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.theme-street .flag-new { background: var(--primary); color: var(--on-primary); border-radius: 0; transform: rotate(-2deg); text-transform: uppercase; letter-spacing: .06em; font-weight: 800; box-shadow: 3px 3px 0 var(--accent); }

.item-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.thumb { width: 76px; height: 76px; object-fit: cover; border-radius: calc(var(--radius) - 4px); background: var(--surface-2); }
.prices { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.price { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.price-label { font-size: .8rem; color: var(--muted); }
.price-amount { font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.theme-maiolica .price-amount { color: var(--primary); }
.theme-notte .price-amount { color: var(--primary); }

.is-soldout .item-name, .is-soldout .item-desc { color: var(--soldout); }
.is-soldout .thumb { filter: grayscale(1); opacity: .6; }
.soldout { font-size: .8rem; font-weight: 700; color: var(--soldout); padding: 3px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1.2px var(--line); }

.nothing, .empty-state { padding: 48px 0; text-align: center; color: var(--muted); }

/* ---------- Piede ---------- */

.foot { margin-top: 44px; padding: 30px 0 calc(36px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
.cover-charge { display: flex; justify-content: space-between; margin: 0 0 22px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); font-weight: 600; }

.review {
  padding: 22px 20px; border-radius: var(--radius); margin-bottom: 22px;
  background: var(--primary); color: var(--on-primary);
}
.review-title { margin: 0; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.6rem; line-height: 1.1; letter-spacing: var(--display-tracking); }
.review-text { margin: 6px 0 16px; opacity: .88; }
.btn-review {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: 999px; background: var(--on-primary); color: var(--primary);
  font-weight: 700; text-decoration: none;
}
.btn-review svg { width: 18px; height: 18px; color: var(--accent); }
.theme-notte .btn-review { background: var(--ink); color: var(--bg); }

.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions a {
  flex: 1 1 0; min-width: 120px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; text-decoration: none; font-weight: 600; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line);
}
.actions svg { width: 20px; height: 20px; }
.address { margin: 18px 0 0; color: var(--muted); font-size: .92rem; }
.note { margin: 10px 0 0; color: var(--muted); font-size: .92rem; }

.legend { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.legend summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.legend ol { list-style: none; padding: 0; margin: 10px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-size: .9rem; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend p { font-size: .85rem; color: var(--muted); }
.powered { margin: 26px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }

/* ---------- Schede (prodotto e filtri) ---------- */

.sheet {
  border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 560px; max-height: 88vh;
  border-radius: 22px 22px 0 0; background: var(--bg); color: var(--ink);
  overflow: visible;
}
.sheet::backdrop { background: rgba(10, 12, 20, .55); }
.sheet[open] { animation: sheet-in .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } }
.sheet-body { max-height: 88vh; overflow-y: auto; padding: 26px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: inherit; }
.sheet-close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--surface); box-shadow: 0 0 0 1px var(--line);
}
.sheet-close svg { width: 18px; height: 18px; }
.sheet-photo { margin: -26px -20px 18px; width: calc(100% + 40px); max-width: none; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px 22px 0 0; }
.sheet-title { margin: 0 44px 8px 0; font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: 1.85rem; line-height: 1.1; }
.sheet-hint { margin: 0 0 16px; color: var(--muted); }
.sheet-sub { margin: 22px 0 10px; font-size: 1rem; }
.sheet-text { margin: 0 0 14px; font-size: 1.02rem; line-height: 1.55; }
.sheet-block { margin-top: 16px; }
.sheet-block h3 { margin: 0 0 6px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.sheet-prices { display: grid; gap: 6px; margin: 14px 0 0; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); }
.sheet-prices div { display: flex; justify-content: space-between; gap: 12px; }
.sheet-prices strong { font-variant-numeric: tabular-nums; }
.sheet-allergens { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.sheet-allergens li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: 999px; background: var(--surface); font-size: .9rem; }
.sheet-tags { display: flex; gap: 10px; flex-wrap: wrap; font-size: .9rem; }
.sheet-status { display: inline-block; margin-bottom: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip > span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px 6px 8px; border-radius: 999px; cursor: pointer;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: .92rem; font-weight: 500;
}
.sheet-sub + .chips .chip > span { padding-left: 14px; }
.chip input:checked + span { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip input:checked + span .num { color: var(--bg); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.sheet-actions { display: flex; gap: 10px; margin-top: 26px; }
.btn-primary, .btn-ghost { flex: 1; min-height: 50px; border-radius: 14px; border: 0; font-weight: 700; cursor: pointer; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-ghost { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

@media (min-width: 700px) {
  .sheet { margin: auto; border-radius: 22px; }
  .sheet-photo { border-radius: 22px 22px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sheet[open] { animation: none; }
}

/* ---------- Testo più grande ---------- */
html.text-lg { font-size: 118.75%; }
html.text-lg .item-desc { -webkit-line-clamp: 4; }
html.text-lg .allergen-nums span, html.text-lg .num { width: 23px; height: 23px; }

/* ---------- La mia lista ---------- */
.item.has-add, .items .item { position: relative; }
.items .item:has(.add-btn) { display: flex; align-items: flex-start; gap: 10px; }
.items .item:has(.add-btn) .item-btn { flex: 1; min-width: 0; }
.add-btn {
  position: relative; flex: none; width: 38px; height: 38px; margin-top: 14px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--surface); color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary);
}
.add-btn svg { width: 18px; height: 18px; }
.add-btn.is-in { background: var(--primary); color: var(--on-primary); box-shadow: none; }
.add-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  display: grid; place-items: center; background: var(--ink); color: var(--bg); font-size: .72rem; font-weight: 800;
}
.add-btn.pop { animation: add-pop .3s ease; }
@keyframes add-pop { 50% { transform: scale(1.18); } }
.theme-velluto .add-btn, .theme-deco .add-btn, .theme-marmo .add-btn { border-radius: 0; }
.theme-street .add-btn { border-radius: 4px; }

.list-bar {
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 20;
  display: flex; align-items: center; gap: 12px; width: min(560px, calc(100% - 28px)); min-height: 56px; padding: 8px 18px 8px 10px;
  border: 0; border-radius: 999px; cursor: pointer; background: var(--primary); color: var(--on-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28); font-weight: 700; font-size: 1rem;
}
.list-bar[hidden] { display: none; }
.list-bar-count { min-width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); font-variant-numeric: tabular-nums; }
.list-bar-label { flex: 1; text-align: left; }
.list-bar-total { font-variant-numeric: tabular-nums; }
.theme-velluto .list-bar, .theme-deco .list-bar, .theme-marmo .list-bar { border-radius: 0; }
.theme-velluto .list-bar-count, .theme-deco .list-bar-count, .theme-marmo .list-bar-count { border-radius: 0; }
body.has-list .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }

.list-rows { list-style: none; margin: 6px 0 0; padding: 0; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.list-row-name { font-weight: 600; }
.list-row-label { font-size: .85rem; color: var(--muted); }
.list-row-price { font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.qty { display: flex; align-items: center; gap: 4px; flex: none; }
.qty-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 1.3rem; font-weight: 700; color: var(--ink); line-height: 1; }
.qty-n { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.list-total-row { display: flex; justify-content: space-between; margin: 16px 0 0; font-size: 1.05rem; }
.list-total-row[hidden] { display: none; }
.list-note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }

.sheet-add { display: grid; gap: 8px; margin-top: 16px; }
.sheet-add-btn {
  display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--primary); color: var(--on-primary); font-weight: 700; text-align: left;
}
.sheet-add-plus { font-size: 1.4rem; line-height: 1; }
.sheet-add-qty { margin-left: auto; font-variant-numeric: tabular-nums; }
.sheet-add-btn.is-in { box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35); }

/* Schermata per il cameriere: sempre chiara, grande, in italiano */
.waiter {
  border: 0; padding: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none;
  background: #FFFFFF; color: #111111;
}
.waiter::backdrop { background: #FFFFFF; }
.waiter-body { max-width: 640px; margin: 0 auto; padding: 28px 22px calc(28px + env(safe-area-inset-bottom)); min-height: 100%; display: flex; flex-direction: column; }
.waiter-hint { margin: 0 0 8px; color: #555; font-size: .95rem; }
.waiter-title { margin: 0 0 18px; font-family: system-ui, sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.01em; }
.waiter-rows { list-style: none; margin: 0; padding: 0; }
.waiter-rows li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 2px solid #E6E6E6; font-size: 1.45rem; line-height: 1.25; }
.waiter-qty { flex: none; min-width: 2.4em; font-weight: 800; font-variant-numeric: tabular-nums; }
.waiter-name { font-weight: 700; }
.waiter-label { font-weight: 500; color: #444; }
.waiter-total { margin: 18px 0 24px; font-size: 1.1rem; color: #444; }
.waiter-back { flex: none; margin-top: auto; min-height: 54px; background: #F2F2F2; color: #111; box-shadow: none; }

@media print { .add-btn, .list-bar, .hero-tools { display: none !important; } }

/* ---------- Nome originale, Wi-Fi, frasi utili, servizi ---------- */
.item-orig { margin-top: -2px; font-size: .82rem; font-style: italic; color: var(--muted); }
.sheet-orig { margin: -4px 0 12px; font-style: italic; color: var(--muted); }

.quick { max-width: 640px; margin: -6px auto 12px; padding: 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.quick-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px 6px 11px; border: 0; cursor: pointer;
  border-radius: 999px; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: .92rem;
}
.quick-btn svg { width: 19px; height: 19px; color: var(--primary); }
.theme-velluto .quick-btn, .theme-deco .quick-btn, .theme-marmo .quick-btn { border-radius: 0; }
.theme-street .quick-btn { border-radius: 4px; }
.theme-velluto .quick, .theme-deco .quick, .theme-marmo .quick, .theme-bianco .quick, .theme-notte .quick { justify-content: center; }

.wifi-box { margin: 8px 0 0; display: grid; gap: 4px; }
.wifi-box dt { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.wifi-box dd { margin: 0; font-size: 1.25rem; font-weight: 700; word-break: break-all; }
.wifi-pass { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wifi-pass span { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .02em; }
.wifi-open { font-weight: 500 !important; font-size: 1rem !important; color: var(--muted); }
.copy-btn { min-height: 40px; padding: 0 16px; border: 0; border-radius: 12px; cursor: pointer; background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: .95rem; }

.phrase-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.phrase {
  width: 100%; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 0; border-radius: 14px; cursor: pointer; text-align: left;
  background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
}
.phrase-it { font-weight: 700; font-size: 1.05rem; }
.phrase-tr { font-size: .88rem; color: var(--muted); }
.say-body { justify-content: center; }
.say-it { margin: 24px 0 14px; font-size: clamp(2rem, 9vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.say-tr { margin: 0 0 28px; font-size: 1.1rem; color: #555; }

.services { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.services li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; }
.services svg { width: 22px; height: 22px; flex: none; color: var(--primary); }
@media print { .quick { display: none !important; } }

/* Scelta della lingua */
.lang-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.lang-opt {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; text-decoration: none;
  background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 1.08rem;
}
.lang-opt-code { min-width: 34px; font-size: .76rem; font-weight: 700; letter-spacing: .05em; color: var(--muted); }
.lang-opt-name { flex: 1; }
.lang-opt[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--primary); }
.lang-opt[aria-current="true"] .lang-opt-code { color: var(--primary); }
.lang-check { width: 22px; height: 22px; color: var(--primary); }
.lang-opt:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media print { .lang-btn { display: none !important; } }
