/* ==========================================================================
   FERMENTO | Pizzeria Contemporanea & Lounge Bar (Termini Imerese)
   Design System Sartoriale Unico: Notte Petrolio & Ambra Fermentata
   Palette Esclusiva: #0B1319 (Notte Petrolio), #E29547 (Ambra), #237A74 (Ottanio)
   Typography: Outfit (Headings) + Plus Jakarta Sans (Body)
   Zero Floating Docks | Zero Horizontal Overflow | Full Mobile Parity (390px)
   ========================================================================== */

/* ==========================================================================
   LOCAL SELF-HOSTED FONTS (Zero External Google Fonts / Zero IP Leaks - GDPR)
   ========================================================================== */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/outfit-latin.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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin.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: 'Playfair Display';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('fonts/playfair-display-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('fonts/playfair-display-normal-latin.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: 'Playfair Display';
  font-style: italic;
  font-weight: 600 700;
  font-display: swap;
  src: url('fonts/playfair-display-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 600 700;
  font-display: swap;
  src: url('fonts/playfair-display-italic-latin.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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/cormorant-garamond-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/cormorant-garamond-normal-latin.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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-latin.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;
}

:root {
  --bg-primary: #0B1319;
  --bg-surface: #132029;
  --bg-surface-elevated: #1A2B37;
  --bg-surface-card: #15242F;
  --bg-surface-glass: rgba(19, 32, 41, 0.88);
  --bg-surface-subtle: rgba(226, 149, 71, 0.05);

  --accent-amber: #E29547;
  --accent-amber-light: #F0AB68;
  --accent-amber-glow: rgba(226, 149, 71, 0.22);
  --accent-amber-subtle: rgba(226, 149, 71, 0.12);

  --accent-teal: #237A74;
  --accent-teal-light: #2FA49C;
  --accent-teal-glow: rgba(35, 122, 116, 0.25);

  --text-main: #F4F7F6;
  --text-muted: #9BB0BC;
  --text-subtle: #677E8C;
  --text-inverse: #0B1319;

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(226, 149, 71, 0.28);
  --border-subtle: rgba(255, 255, 255, 0.05);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-editorial: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px rgba(226, 149, 71, 0.2);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  padding-top: 0; /* Direct zero offset: no demo top shield */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Typography Presets */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  text-wrap: balance;
}

p {
  color: var(--text-muted);
  text-wrap: pretty;
}

/* Utility Layout */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3.5vw, 2.5rem);
  padding-right: clamp(1rem, 3.5vw, 2.5rem);
}

/* Badges & Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--bg-surface-elevated);
  color: var(--accent-amber);
  border: 1px solid var(--border-accent);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-amber);
  box-shadow: 0 0 8px var(--accent-amber);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Buttons System - Flow Only, No Floating Docks */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: normal;
  line-height: 1.35;
  max-width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-amber) 0%, #D48232 100%);
  color: #0B1319;
  box-shadow: 0 4px 18px rgba(226, 149, 71, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(226, 149, 71, 0.45);
  background: linear-gradient(135deg, #EFA458 0%, var(--accent-amber) 100%);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: var(--bg-surface);
  border-color: var(--border-accent);
  color: var(--accent-amber);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-amber);
  border: 1px solid var(--border-accent);
}

.btn-outline:hover {
  background: var(--accent-amber-subtle);
  border-color: var(--accent-amber);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   NAVBAR (Clean Header, No Demo Shield, Sticky Top 0)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent-amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-amber);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* Language Switcher Pill (IT | EN) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-primary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  padding: 2px;
  gap: 2px;
  flex-shrink: 0;
}

.lang-switch-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 0.36rem 0.58rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-width: 30px;
  text-align: center;
}

.lang-switch-btn:hover {
  color: var(--text-main);
}

.lang-switch-btn.active {
  background: linear-gradient(135deg, var(--accent-amber-light) 0%, var(--accent-amber) 100%);
  color: #0B1319;
  box-shadow: 0 2px 8px rgba(226, 149, 71, 0.35);
}

.lang-switch-btn:focus-visible {
  outline: 2px solid var(--accent-amber-light);
  outline-offset: 1px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   HERO SECTION - BISTROT & COCKTAIL BAR ASYMMETRIC SPOTLIGHT
   ========================================================================== */
.hero-section {
  position: relative;
  padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(3.5rem, 8vw, 7rem);
  background: radial-gradient(circle at 85% 20%, rgba(35, 122, 116, 0.16) 0%, transparent 55%),
              radial-gradient(circle at 15% 85%, rgba(226, 149, 71, 0.12) 0%, transparent 60%),
              var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.hero-top-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.hero-headline {
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--text-main);
}

.hero-headline span.accent {
  background: linear-gradient(135deg, var(--accent-amber-light) 0%, var(--accent-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-headline span.teal-accent {
  background: linear-gradient(135deg, var(--accent-teal-light) 0%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--accent-amber);
  flex-shrink: 0;
}

/* Hero Media Spotlight */
.hero-visual-wrapper {
  position: relative;
}

.hero-main-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border: 1px solid var(--border-glass);
  background: var(--bg-surface);
}

.hero-main-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-main-card:hover img {
  transform: scale(1.03);
}

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 19, 25, 0.1) 0%, rgba(11, 19, 25, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
}

.card-signature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(226, 149, 71, 0.2);
  border: 1px solid var(--accent-amber);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--accent-amber-light);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.card-title {
  font-size: 1.35rem;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.card-description {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.floating-pill {
  position: absolute;
  bottom: -22px;
  left: 24px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

.pill-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-amber-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber);
}

.pill-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 700;
}

.pill-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION: IL SEGRETO DELLA FERMENTAZIONE (Dough & Artisan Craft)
   ========================================================================== */
.craft-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section-tag {
  color: var(--accent-amber);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  display: block;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
}

.craft-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  transition: all var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.craft-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md), 0 0 25px rgba(226, 149, 71, 0.12);
}

.craft-icon-box {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 18px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F5F7FA;
  margin-bottom: 1.35rem;
}

.craft-number {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(242, 201, 119, 0.14);
}

.craft-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}

.craft-heading-editorial .accent {
  font-style: italic;
  color: var(--accent-amber-light);
}

.craft-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   SECTION: IL DOPPIO VOLTO (Aperitivo & Lounge Bar vs Pizzeria)
   ========================================================================== */
.dual-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.dual-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.dual-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.dual-media-box {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.dual-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.dual-card:hover .dual-media-box img {
  transform: scale(1.04);
}

.dual-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(11, 19, 25, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-accent);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-amber-light);
  text-transform: uppercase;
}

.dual-body {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dual-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.dual-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.dual-highlights {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.dual-highlights li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-main);
}

.dual-highlights li svg {
  color: var(--accent-amber);
  flex-shrink: 0;
}

/* ==========================================================================
   SECTION: MENU DIGITALE INTERATTIVO (Puro Real Menu Fermento)
   ========================================================================== */
.menu-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

/* Category Chips: flex-wrap: wrap (ZERO horizontal scroll required!) */
.menu-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.menu-chip-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.menu-chip-btn:hover {
  background: var(--bg-surface-card);
  color: var(--text-main);
  border-color: var(--border-accent);
}

.menu-chip-btn.active {
  background: var(--accent-amber);
  color: #0B1319;
  border-color: var(--accent-amber);
  box-shadow: 0 4px 15px rgba(226, 149, 71, 0.35);
}

/* Menu Search Input */
.menu-search-wrapper {
  max-width: 440px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.menu-search-input {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.25rem 0.75rem 2.75rem;
  color: var(--text-main);
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition-fast);
}

.menu-search-input:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 15px var(--accent-amber-glow);
}

.menu-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  pointer-events: none;
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.menu-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
  position: relative;
}

.menu-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.menu-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.menu-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.menu-card-price {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-amber-light);
  white-space: nowrap;
}

.menu-card-ingredients {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.badge-tag-food {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--accent-amber-subtle);
  color: var(--accent-amber);
}

/* ==========================================================================
   SECTION: MODULO PRENOTAZIONE RAPIDA & ASPORTO
   Mandatory: Structured on 2 Columns on Mobile, Never Single Vertical Tower!
   Mandatory: GDPR Consent Checkbox!
   ========================================================================== */
.booking-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.booking-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.booking-container > * {
  min-width: 0;
  max-width: 100%;
}

.booking-container--form-first {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
}

.booking-info-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.booking-direct-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.booking-direct-card h2,
.booking-direct-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.booking-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.booking-contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.booking-contact-item svg {
  color: var(--accent-amber);
  flex-shrink: 0;
}

.booking-contact-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.booking-contact-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Form Styling - 2 COLUMNS COMPACT ON BOTH DESKTOP & MOBILE */
.booking-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-md);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

#bookingForm {
  min-width: 0;
  max-width: 100%;
}

.booking-intro-centered {
  text-align: center;
  align-items: center;
  justify-content: center;
}

.booking-intro-centered .section-title,
.booking-intro-centered .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.booking-form-header {
  margin-bottom: 1.15rem;
}

.booking-form-title {
  font-size: clamp(1.1rem, 4.4vw, 1.5rem);
  margin-bottom: 0.35rem;
}

.booking-form-title--nowrap {
  font-size: clamp(14px, 4.35vw, 23px);
  line-height: 1.2;
  white-space: nowrap;
  margin-bottom: 0;
}

.booking-form-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.booking-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  color: var(--text-main);
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-textarea {
  resize: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 10px var(--accent-amber-glow);
}

.form-select option {
  background: var(--bg-surface);
  color: var(--text-main);
}

/* Mandatory GDPR Checkbox */
.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.45;
  margin: 0.5rem 0 1rem;
}

.form-checkbox-label input[type="checkbox"] {
  margin-top: 0.18rem;
  accent-color: var(--accent-amber);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-checkbox-label a {
  color: var(--accent-amber);
  text-decoration: underline;
}

/* ==========================================================================
   SECTION: DOVE SIAMO & ATMOSFERA (Cortile Maltese, Termini Imerese)
   ========================================================================== */
.location-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.location-card-info {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.location-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.location-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-main);
}

.location-feature svg {
  color: var(--accent-amber);
}

.location-media-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mosaic-img-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-glass);
}

.mosaic-img-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mosaic-img-box:hover img {
  transform: scale(1.05);
}

.mosaic-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(11, 19, 25, 0.9) 0%, transparent 100%);
  padding: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Mandatory Image Disclaimer Badge */
.demo-photo-disclaimer {
  display: block;
  font-size: 0.72rem;
  color: var(--text-subtle);
  font-style: italic;
  text-align: center;
  margin-top: 0.65rem;
}

/* ==========================================================================
   FOOTER AZIENDALE A NORMA ART. 2250 C.C. & GDPR
   ========================================================================== */
.site-footer {
  background: #070D11;
  border-top: 1px solid var(--border-subtle);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  color: var(--text-muted);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--accent-amber);
}

.footer-hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.85rem;
}

.footer-hours-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border-subtle);
  padding-bottom: 0.35rem;
}

.footer-hours-list strong {
  color: var(--text-main);
}

.footer-bottom-bar {
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--text-subtle);
}

.footer-legal-data {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-wrap: balance;
}

.footer-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.15rem;
}

.footer-policy-links {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-policy-links a {
  color: var(--text-muted);
  font-size: 0.74rem;
  transition: color 0.2s ease;
}

.footer-policy-links a:first-child::after {
  content: "·";
  margin-left: 0.65rem;
  color: var(--text-subtle);
  opacity: 0.6;
  pointer-events: none;
}

.footer-policy-links a:hover {
  color: var(--text-main);
}

.footer-credit-wrap {
  display: inline-flex;
  align-items: center;
}

.agency-credit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.1rem 0.2rem;
  color: var(--text-subtle);
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.22s ease, transform 0.22s ease, color 0.22s ease;
}

.agency-credit-link:hover {
  color: var(--text-main);
  opacity: 1;
  transform: translateY(-1px);
}

.agency-credit-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.agency-credit-divider {
  display: none;
}

.agency-credit-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(53, 215, 244, 0.22));
  transition: filter 0.22s ease, transform 0.22s ease;
}

.agency-credit-link:hover .agency-credit-logo {
  filter: drop-shadow(0 0 11px rgba(103, 242, 255, 0.6));
  transform: scale(1.04);
}

/* ==========================================================================
   STORY PAGE SPLIT LAYOUT (chisiamo.html)
   ========================================================================== */
.story-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.story-split-grid--reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.story-split-grid--reverse .story-media-box {
  order: 2;
}

.story-split-grid--reverse .story-text-col {
  order: 1;
}

.story-media-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
}

.story-media-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & PARITY (<= 768px and Viewport 320px–440px)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid, .booking-container, .booking-container--form-first, .location-grid, .story-split-grid, .story-split-grid--reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }
  .craft-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100%;
  }

  /* Mobile Header Strict Constraints (Logo left + IT|EN + Hamburger right) */
  .header-container {
    height: 54px;
    gap: 0.5rem;
  }

  .brand-logo-img {
    height: 32px;
    max-width: 135px;
  }

  .brand-title {
    font-size: 0.95rem;
  }

  .brand-tagline {
    font-size: 0.55rem;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 54px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-accent);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.open {
    display: flex;
  }

  .header-actions {
    gap: 0.45rem;
    flex-shrink: 0;
  }

  .header-actions .btn {
    display: none; /* Keep header compact on mobile */
  }

  .lang-switcher {
    padding: 2px;
  }

  .lang-switch-btn {
    font-size: 0.68rem;
    padding: 0.3rem 0.48rem;
    min-width: 26px;
  }

  /* Story Page: Full-width stacked layout & 240px rounded images */
  .story-split-grid,
  .story-split-grid--reverse {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .story-split-grid--reverse .story-media-box {
    order: 2;
  }

  .story-split-grid--reverse .story-text-col {
    order: 1;
  }

  .story-media-box {
    border-radius: 16px;
    width: 100%;
  }

  .story-media-box img {
    width: 100%;
    height: 240px !important;
    object-fit: cover;
    border-radius: 16px;
  }

  .dual-grid {
    grid-template-columns: 1fr !important;
  }

  /* Menu Page: Clean stacked Aperitivo/Coperto pill & 1-row horizontal category rail */
  .menu-info-pill {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.35rem !important;
    border-radius: var(--radius-md) !important;
    padding: 0.7rem 1.1rem !important;
    width: 100%;
    max-width: 340px;
  }

  .menu-info-dot {
    display: none !important;
  }

  .menu-nav-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
    padding: 0.25rem 0.25rem 0.6rem !important;
    margin-bottom: 1.5rem !important;
    scrollbar-width: none;
  }

  .menu-nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .menu-chip-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.55rem 1rem;
    font-size: 0.84rem;
  }

  .menu-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  /* Booking Form on Mobile: 100% full-width inputs, zero clipping, 16px prevents iOS zoom */
  .booking-grid-2col,
  .form-row,
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px;
    min-height: 44px;
  }

  .hero-main-card img {
    height: 300px;
  }

  .floating-pill {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 0.65rem 0.9rem;
    border-radius: var(--radius-md);
  }

  /* Desktop-faithful typography & layout harmony on Smartphone (320px–440px) */
  .hero-section {
    padding: 2rem 0 2.5rem;
  }

  .hero-top-meta {
    gap: 0.45rem;
  }

  .hero-top-meta .badge {
    font-size: 0.68rem;
    padding: 0.26rem 0.62rem;
  }

  .hero-headline {
    font-size: 1.72rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .hero-subtext {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .hero-ctas .btn {
    padding: 0.65rem 0.75rem;
    font-size: 0.8rem;
    justify-content: center;
  }

  .hero-ctas .btn:nth-child(3) {
    grid-column: 1 / -1;
  }

  .hero-trust-bar {
    gap: 0.65rem;
    padding-top: 1rem;
    margin-top: 0.5rem;
  }

  .trust-item {
    font-size: 0.78rem;
  }

  .section-title {
    font-size: 1.55rem;
    line-height: 1.18;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .location-media-mosaic {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .mosaic-img-box img {
    height: 165px;
  }

  /* Footer: Clean single-column vertical stack + bottom safe-area padding */
  .site-footer {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }

  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .footer-brand > div {
    flex-wrap: wrap;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 0.9rem;
    gap: 0.45rem;
    font-size: 0.72rem;
  }

  .footer-bottom-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
  }

  .agency-credit-logo {
    height: 26px;
  }
}

@media (max-width: 380px) {
  .location-media-mosaic {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   DISH-ONLY MEDIA FRAMING (3:4 1536x2048 & 4:3 Landscape — Zero Half-Cut)
   ========================================================================== */
.menu-card .dish-media,
.dish-card .dish-media,
.menu-item .dish-media {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 3 / 4;
  border-radius: 14px !important;
  overflow: hidden !important;
  margin: 0 0 0.9rem 0 !important;
  background: #0B1319;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.menu-card .dish-media[data-dish-aspect="landscape-4-3"],
.dish-card .dish-media[data-dish-aspect="landscape-4-3"],
.menu-item .dish-media[data-dish-aspect="landscape-4-3"] {
  aspect-ratio: 4 / 3;
}

.menu-card .dish-media[data-dish-format="square"],
.dish-card .dish-media[data-dish-format="square"],
.menu-item .dish-media[data-dish-format="square"] {
  aspect-ratio: 1 / 1 !important;
}

.menu-card .dish-media[data-dish-format="compact"],
.dish-card .dish-media[data-dish-format="compact"],
.menu-item .dish-media[data-dish-format="compact"] {
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
}

.menu-card .dish-media img,
.dish-card .dish-media img,
.menu-item .dish-media img {
  border-radius: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover;
  display: block;
}

.menu-card > img,
.dish-card > img,
.menu-item > img {
  border-radius: 14px !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 0.9rem;
  display: block;
}

@media (min-width: 769px) {
  .menu-section .menu-grid.is-dish-masonry {
    grid-auto-rows: 1px;
    row-gap: 0 !important;
    column-gap: 1.15rem;
    align-items: start;
  }

  .menu-section .menu-grid.is-dish-masonry > .menu-card {
    height: auto;
    align-self: start;
  }
}

@media (max-width: 768px) {
  .menu-section .menu-category-block[data-category-section="bibite"] .menu-grid.is-dish-masonry,
  .menu-section .menu-category-block[data-category-section="birre"] .menu-grid.is-dish-masonry,
  .menu-section .menu-category-block[data-category-section="vini"] .menu-grid.is-dish-masonry,
  .menu-section .menu-category-block[data-category-section="amari"] .menu-grid.is-dish-masonry,
  .menu-section .menu-category-block[data-category-section="cocktail"] .menu-grid.is-dish-masonry {
    grid-auto-rows: 1px;
    row-gap: 0 !important;
    column-gap: 0.62rem !important;
    align-items: start;
  }

  .menu-section .menu-grid.is-dish-masonry > .menu-card {
    height: auto;
    align-self: start;
  }
}

/* ==========================================================================
   CMS VISIBILITY OVERRIDE FOR HIDDEN / SOLDOUT DISHES
   ========================================================================== */
[data-cms-soldout="true"],
[data-cms-hidden="true"] {
  display: none !important;
}

/* Footer a 3 colonne pulite (senza colonna Navigazione ridondante) */
.footer-top-grid {
  grid-template-columns: 1.35fr 1fr 1fr !important;
}

/* Pulsanti affiancati in Chi Siamo (Prenota Tavolo | Scopri i Nostri Piatti) */
.story-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.story-cta-row .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 0.72rem 0.65rem;
  font-size: 0.86rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 1fr !important;
  }
  .story-cta-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  }
  .story-cta-row .btn {
    font-size: 0.78rem !important;
    padding: 0.68rem 0.45rem !important;
  }
  .hero-top-meta {
    gap: 0.22rem !important;
  }
  .hero-top-meta .badge {
    font-size: clamp(0.45rem, 1.85vw, 0.56rem) !important;
    padding: 0.22rem 0.34rem !important;
    overflow: visible !important;
    flex-shrink: 0 !important;
  }
  /* 3 box Filosofia/Impasto su mobile: righe orizzontali compatte e simmetriche (tutte visibili insieme) */
  .craft-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }
  .craft-card {
    padding: 0.9rem 1rem !important;
    border-radius: 14px !important;
    min-width: 0 !important;
  }
  .craft-card:has(.craft-icon-box) {
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    column-gap: 0.85rem !important;
    row-gap: 0.25rem !important;
    align-items: start !important;
  }
  .craft-card:has(.craft-icon-box) .craft-icon-box {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 13px !important;
    margin: 0.1rem 0 0 0 !important;
  }
  .craft-icon-box svg {
    width: 31px !important;
    height: 31px !important;
  }
  .craft-number {
    font-size: 1.25rem !important;
    top: 0.72rem !important;
    right: 0.9rem !important;
  }
  .craft-title {
    font-family: var(--font-display) !important;
    font-size: 1.06rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.28rem !important;
    word-break: break-word !important;
  }
  .craft-card:has(.craft-icon-box) .craft-title {
    grid-column: 2 !important;
    grid-row: 1 !important;
    padding-right: 2rem !important;
    margin-bottom: 0 !important;
  }
  .craft-desc {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
    margin: 0 !important;
  }
  .craft-card:has(.craft-icon-box) .craft-desc {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }
}

/* Icone compatte circolari (Instagram, Facebook, Stella Recensione) sotto Google Maps / Chiama */
.social-icon-strip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.social-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.16s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.social-circle-btn svg {
  width: 19px !important;
  height: 19px !important;
  min-width: 19px !important;
  min-height: 19px !important;
  display: block !important;
}

.social-circle-btn:hover {
  transform: translateY(-2px);
  color: #FFFFFF;
}

.social-circle-btn.social-ig:hover {
  border-color: rgba(225, 48, 108, 0.7);
  background: rgba(225, 48, 108, 0.16);
}

.social-circle-btn.social-fb:hover {
  border-color: rgba(24, 119, 242, 0.7);
  background: rgba(24, 119, 242, 0.16);
}

.social-circle-btn.social-review {
  color: #F6D07A;
  background: rgba(229, 169, 60, 0.14);
  border-color: rgba(229, 169, 60, 0.48);
}

.social-circle-btn.social-review:hover {
  background: rgba(229, 169, 60, 0.26);
  border-color: #E5A93C;
  color: #FFF4D2;
}

.footer-faq-block {
  grid-column: 1 / -1;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Solo su PC/Desktop (index.html): Sede & Dati Fiscali affianco a Orari di Apertura, Info Rapide sotto. Su mobile resta invariato. */
@media (min-width: 769px) {
  .footer-top-grid:has(.footer-faq-block) {
    grid-template-columns: 1.35fr 1fr 1fr !important;
    align-items: start;
  }
  .footer-top-grid:has(.footer-faq-block) > .footer-brand {
    grid-column: 1;
    grid-row: 1;
  }
  .footer-top-grid:has(.footer-faq-block) > .footer-hours-col {
    grid-column: 2;
    grid-row: 1;
  }
  .footer-top-grid:has(.footer-faq-block) > .footer-legal-col {
    grid-column: 3;
    grid-row: 1;
  }
  .footer-top-grid:has(.footer-faq-block) > .footer-faq-block {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

.footer-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.footer-faq-list .faq-item {
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
}

.footer-faq-list .faq-item summary {
  font-size: 0.82rem;
}

.footer-faq-list .faq-item p {
  font-size: 0.78rem;
}

@media (max-width: 768px) {
  .social-icon-strip {
    justify-content: center;
  }
  .footer-faq-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SOCIAL (FACEBOOK & INSTAGRAM) + PULSANTE RECENSIONE GOOGLE
   ========================================================================== */
.social-review-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.16s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.social-pill-btn svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.social-pill-btn:hover {
  transform: translateY(-1px);
  color: #FFFFFF;
}

.social-pill-btn.social-ig:hover {
  border-color: rgba(225, 48, 108, 0.65);
  background: rgba(225, 48, 108, 0.14);
}

.social-pill-btn.social-fb:hover {
  border-color: rgba(24, 119, 242, 0.65);
  background: rgba(24, 119, 242, 0.14);
}

.social-pill-btn.social-review {
  color: #F6D07A;
  background: rgba(229, 169, 60, 0.12);
  border-color: rgba(229, 169, 60, 0.42);
}

.social-pill-btn.social-review:hover {
  background: rgba(229, 169, 60, 0.22);
  border-color: #E5A93C;
  color: #FFF4D2;
}

.footer-social-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.16s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.footer-social-icon svg {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  min-height: 17px !important;
  display: block !important;
}

.footer-social-icon:hover {
  transform: translateY(-1px);
  color: #FFFFFF;
}

.footer-social-icon.social-ig:hover {
  border-color: rgba(225, 48, 108, 0.65);
  background: rgba(225, 48, 108, 0.16);
}

.footer-social-icon.social-fb:hover {
  border-color: rgba(24, 119, 242, 0.65);
  background: rgba(24, 119, 242, 0.16);
}

.footer-social-icon.social-review {
  color: #F6D07A;
  background: rgba(229, 169, 60, 0.14);
  border-color: rgba(229, 169, 60, 0.48);
}

.footer-social-icon.social-review:hover {
  background: rgba(229, 169, 60, 0.26);
  border-color: #E5A93C;
  color: #FFF4D2;
}

@media (max-width: 768px) {
  .social-review-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .social-review-strip .social-review {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   FAQ COMPATTA (LOCAL SEO + GOOGLE AI OVERVIEWS)
   ========================================================================== */
.faq-section {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.faq-header {
  text-align: center;
  margin-bottom: 1.35rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 960px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.85rem 1.05rem;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(229, 169, 60, 0.4);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent-amber);
  font-size: 1.15rem;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0.55rem 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Pillola compatta Aperitivo | Coperto | IVA sempre affiancata su 1 riga (desktop e mobile) */
.menu-info-pill {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  gap: 0.45rem !important;
  padding: 0.42rem 0.9rem !important;
  border-radius: 999px !important;
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(229, 169, 60, 0.28);
  font-size: clamp(0.64rem, 2.75vw, 0.84rem) !important;
  color: var(--text-muted);
  white-space: nowrap !important;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .menu-info-pill {
    gap: 0.26rem !important;
    padding: 0.36rem 0.56rem !important;
    font-size: clamp(9.5px, 2.72vw, 11.8px) !important;
  }
}

.menu-info-sep {
  color: rgba(229, 169, 60, 0.45);
  font-weight: 400;
}

/* ==========================================================================
   SPAZIATURE COMPATTE & MODERN IMAGE LIGHTBOX (PIZZE / LOCATION)
   ========================================================================== */
.hero-section {
  padding-top: clamp(1.75rem, 4vw, 3.25rem) !important;
  padding-bottom: clamp(2rem, 4vw, 3.5rem) !important;
}

.dual-section,
.menu-section,
.booking-section,
.location-section {
  padding-top: clamp(2.25rem, 4.5vw, 3.75rem) !important;
  padding-bottom: clamp(2.25rem, 4.5vw, 3.75rem) !important;
}

.section-header,
.menu-header-bar {
  margin-bottom: clamp(1.35rem, 3vw, 2rem) !important;
}

.site-footer {
  padding-top: clamp(2.25rem, 4vw, 3.25rem) !important;
}

.dish-media img,
.menu-card img,
.mosaic-img-box img,
.hero-main-card img,
.dual-media img,
.dual-media-box img,
.story-media-box img {
  cursor: zoom-in;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.dish-media:hover img,
.mosaic-img-box:hover img,
.story-media-box:hover img {
  transform: scale(1.03);
}

.fermento-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3.5vw, 2.25rem);
  background: rgba(5, 9, 14, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.fermento-lightbox-backdrop.is-open {
  display: flex;
}

.fermento-lightbox-backdrop.is-visible {
  opacity: 1;
}

.fermento-lightbox-frame {
  position: relative;
  max-width: min(92vw, 940px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #101A22;
  border: 1px solid rgba(229, 169, 60, 0.34);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.78), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transform: translateY(14px) scale(0.95);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.fermento-lightbox-backdrop.is-visible .fermento-lightbox-frame {
  transform: translateY(0) scale(1);
}

.fermento-lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  background: radial-gradient(circle at center, #16242E 0%, #0B1218 100%);
  overflow: hidden;
}

.fermento-lightbox-canvas {
  display: block;
  max-width: min(86vw, 900px);
  max-height: 72vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  object-fit: contain;
}

.fermento-lightbox-caption {
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #F8FAFC;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 18, 24, 0.96);
}

.fermento-lightbox-caption.is-dish-detail {
  text-align: left;
  padding: 1rem 1.25rem 1.15rem;
  min-width: min(86vw, 380px);
  max-width: min(90vw, 560px);
}

.fermento-lightbox-caption.is-dish-detail.is-no-image {
  border-top: none;
  padding: 1.5rem 3rem 1.35rem 1.35rem;
}

.fermento-lightbox-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.fermento-lightbox-title {
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 4.4vw, 1.52rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.fermento-lightbox-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  flex-shrink: 0;
}

.fermento-lightbox-price {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 4vw, 1.35rem);
  font-weight: 800;
  color: #F4B96A;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fermento-lightbox-family {
  font-size: 0.78rem;
  font-weight: 700;
  color: #F6C57D;
  background: rgba(226, 149, 71, 0.14);
  border: 1px solid rgba(226, 149, 71, 0.35);
  padding: 0.14rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.fermento-lightbox-ingredients {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.55;
  color: #D2DFE9;
}

.fermento-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 13, 20, 0.78);
  color: #FFFFFF;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.16s ease;
}

.fermento-lightbox-close:hover {
  background: rgba(229, 169, 60, 0.92);
  border-color: #E5A93C;
  color: #080D14;
  transform: scale(1.06);
}

/* ==========================================================================
   ICONIC FLAG SWITCHER, NO-HAMBURGER MOBILE APPBAR & HERO MOBILE POLISH
   ========================================================================== */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.26rem 0.52rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.lang-switch-btn.active {
  background: rgba(229, 169, 60, 0.22);
  color: #F6D07A;
  box-shadow: 0 0 0 1px rgba(229, 169, 60, 0.42) inset;
}

.lang-flag-svg {
  width: 16px !important;
  height: 11px !important;
  min-width: 16px !important;
  min-height: 11px !important;
  display: block !important;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0 !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.btn svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  display: block !important;
  flex-shrink: 0 !important;
}

@media (max-width: 768px) {
  /* Rimuove completamente le 3 lineette hamburger su mobile */
  .menu-toggle {
    display: none !important;
  }

  /* Appbar mobile compatta a 2 livelli: Logo + Bandiere IT/EN sopra, sezioni PC direttamente sotto */
  .site-header {
    height: auto !important;
    min-height: 0 !important;
    padding: 0.45rem 0 0 !important;
  }

  .header-container {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.35rem 0.5rem !important;
    height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    margin-left: auto !important;
  }

  .header-actions .btn {
    display: none !important;
  }

  .main-nav {
    display: flex !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-around !important;
    width: 100% !important;
    order: 3 !important;
    background: transparent !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    padding: 0.42rem 0 0.48rem !important;
    margin: 0.2rem 0 0 !important;
    gap: 0.25rem !important;
  }

  .main-nav .nav-link {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    padding: 0.28rem 0.45rem !important;
    white-space: nowrap !important;
    border-radius: 999px !important;
  }

  .main-nav .nav-link.active {
    background: rgba(229, 169, 60, 0.14) !important;
    color: var(--accent-amber) !important;
  }

  /* Hero Mobile: previene overflow CSS Grid (min-width:0), titolo centrato, 2 badge sulla stessa riga, Prenota + WhatsApp affiancati e Menù sotto */
  .hero-section,
  .hero-grid,
  .hero-grid > *,
  .hero-content,
  .hero-visual-wrapper,
  .hero-main-card {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-content {
    text-align: center !important;
    align-items: center !important;
  }

  .hero-top-meta {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.26rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0.85rem !important;
  }

  .hero-top-meta .badge {
    font-size: clamp(0.45rem, 1.85vw, 0.56rem) !important;
    padding: 0.2rem 0.32rem !important;
    white-space: nowrap !important;
    gap: 0.2rem !important;
    letter-spacing: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
  }

  .hero-top-meta .badge-dot {
    width: 5px !important;
    height: 5px !important;
    flex-shrink: 0 !important;
  }

  .hero-headline {
    text-align: center !important;
    font-size: clamp(1.72rem, 7.2vw, 2.25rem) !important;
    line-height: 1.15 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
  }

  .hero-subtext {
    text-align: center !important;
    font-size: 0.9rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
  }

  .hero-ctas {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 0.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-ctas > .btn {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
    padding: 0.72rem 0.38rem !important;
    gap: 0.34rem !important;
    font-size: clamp(0.72rem, 3.3vw, 0.84rem) !important;
    white-space: nowrap !important;
  }

  .hero-ctas > .btn svg {
    width: 15px !important;
    height: 15px !important;
    flex-shrink: 0 !important;
  }

  .hero-ctas > .btn-secondary {
    background: rgba(15, 25, 36, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .hero-trust-bar {
    justify-content: center !important;
  }
}

/* ==========================================================================
   MENU CATEGORY SUBDIVISION & DUAL PRICE (PICCOLA / FAMILIARE)
   ========================================================================== */
.menu-category-block {
  margin-bottom: 2.75rem;
}

.menu-category-block:last-child {
  margin-bottom: 0;
}

.menu-cat-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  padding-bottom: 0.8rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid rgba(229, 169, 60, 0.28);
  position: relative;
}

.menu-cat-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 68px;
  height: 2px;
  background: var(--accent-amber);
  border-radius: 999px;
}

.menu-cat-title {
  margin: 0;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.menu-cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-amber);
  background: rgba(229, 169, 60, 0.14);
  border: 1px solid rgba(229, 169, 60, 0.32);
  padding: 0.14rem 0.55rem;
  border-radius: 999px;
}

.menu-cat-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.menu-family-price {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-amber);
  background: rgba(229, 169, 60, 0.10);
  border: 1px solid rgba(229, 169, 60, 0.28);
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.menu-footnote {
  margin-top: 2rem;
  padding: 0.85rem 1.15rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   BOOKING COMPACT 2x2 BLOCK, LOCATION SIDE-BY-SIDE & WHATSAPP ICON FIX
   ========================================================================== */
.btn svg {
  flex-shrink: 0;
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex-shrink: 0;
}

.booking-compact-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.75rem;
  margin-bottom: 0.75rem;
}

.booking-compact-2x2.is-asporto #bookTipoGroup {
  grid-column: 1 / -1;
}

.booking-compact-2x2.is-asporto #bookOspitiGroup {
  display: none;
}

.booking-compact-2x2 .form-group {
  margin-bottom: 0;
  min-width: 0;
}

.booking-compact-2x2 .form-label {
  white-space: nowrap;
  font-size: 0.8rem;
  margin-bottom: 0.28rem;
}

.booking-compact-2x2 .form-input,
.booking-compact-2x2 .form-select {
  width: 100%;
  min-width: 0;
  padding: 0.62rem 0.65rem;
  font-size: 0.92rem;
}

.location-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.6rem;
}

.location-cta-row .btn {
  width: 100%;
  justify-content: center;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  white-space: nowrap;
  font-size: 0.88rem;
}

@media (max-width: 768px) {
  .booking-compact-2x2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
  }
  .booking-compact-2x2 .form-input,
  .booking-compact-2x2 .form-select {
    padding: 0.58rem 0.42rem 0.58rem 0.55rem !important;
    font-size: 15px !important;
    min-height: 44px !important;
  }
  .location-cta-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.55rem !important;
  }
  .location-cta-row .btn {
    font-size: 0.82rem !important;
    padding: 0.68rem 0.55rem !important;
  }
}

/* ==========================================================================
   COOKIE CONSENT BANNER (GDPR / GARANTE PRIVACY — DESKTOP & MOBILE)
   ========================================================================== */
.cookie-consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 9990;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-consent-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-consent-inner {
  pointer-events: auto;
  width: 100%;
  max-width: 980px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(13, 22, 28, 0.96);
  border: 1px solid rgba(229, 169, 60, 0.34);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cookie-consent-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.cookie-consent-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: #FFFFFF;
  margin-bottom: 0.28rem;
}

.cookie-consent-text {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.5;
  color: #CBD5E1;
}

.cookie-consent-link {
  color: #E5A93C;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 0.35rem;
  white-space: nowrap;
}

.cookie-consent-link:hover {
  color: #F4C96B;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.58rem 1.05rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.cookie-btn-primary {
  background: linear-gradient(135deg, #E5A93C 0%, #D4922A 100%);
  color: #080D14;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 18px rgba(229, 169, 60, 0.28);
}

.cookie-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

@media (max-width: 768px) {
  .cookie-consent-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  }
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
  }
  .cookie-consent-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }
  .cookie-btn {
    width: 100%;
    text-align: center;
    padding: 0.65rem 0.75rem;
  }
}

/* ==========================================================================
   MICRO-ANIMAZIONI PIATTE & FLUIDE (GPU-ONLY, ZERO BOUNCE, ZERO LAYOUT SHIFT)
   ========================================================================== */
:root {
  --ease-flat: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 1. Ingresso morbido e piatto della Hero al caricamento */
@keyframes flatFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge-row,
.hero-badges,
.hero-top-meta {
  animation: flatFadeUp 0.42s var(--ease-flat) both;
}
.hero-title,
.hero-headline {
  animation: flatFadeUp 0.48s var(--ease-flat) 0.06s both;
}
.hero-desc,
.hero-subtext {
  animation: flatFadeUp 0.48s var(--ease-flat) 0.14s both;
}
.hero-actions,
.hero-ctas {
  animation: flatFadeUp 0.48s var(--ease-flat) 0.22s both;
}
.hero-trust,
.hero-features,
.hero-trust-bar {
  animation: flatFadeUp 0.48s var(--ease-flat) 0.28s both;
}
.hero-visual-card,
.hero-media,
.hero-visual-wrapper {
  animation: flatFadeUp 0.52s var(--ease-flat) 0.12s both;
}

/* ==========================================================================
   SFONDO VIDEO HERO SOLO MOBILE (9:16, ZERO IMPATTO DESKTOP, SYNC SCRITTE)
   ========================================================================== */
.hero-mobile-video-bg {
  display: none;
}

@media (max-width: 768px) {
  .hero-section {
    position: relative !important;
    overflow: hidden !important;
  }

  .hero-section > .container {
    position: relative;
    z-index: 2;
  }

  .hero-mobile-video-bg {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--hero-video-h, 540px);
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.55s var(--ease-flat);
  }

  .hero-mobile-video-bg.is-ready {
    opacity: 1;
  }

  .hero-mobile-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    display: block;
    filter: saturate(1.06) contrast(1.03);
    transform: translateZ(0);
  }

  /* Scrim calibrato: video nitido e d'atmosfera + scritte sempre leggibili + sfumatura in basso */
  .hero-mobile-video-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(8, 13, 20, 0.58) 0%,
      rgba(8, 13, 20, 0.36) 34%,
      rgba(8, 13, 20, 0.44) 70%,
      rgba(8, 13, 20, 0.92) 91%,
      #080D14 100%
    );
  }

  /* Sincronizzazione scritte: in pausa per max 450ms finché il video parte */
  .hero-section.hero-sync-pending .hero-top-meta,
  .hero-section.hero-sync-pending .hero-headline,
  .hero-section.hero-sync-pending .hero-subtext,
  .hero-section.hero-sync-pending .hero-ctas,
  .hero-section.hero-sync-pending .hero-trust-bar {
    animation-play-state: paused;
    opacity: 0;
  }

  /* Dimensione titolo mobile (senza bordi né ombre quando il video non c'è) */
  .hero-section .hero-headline {
    font-size: clamp(1.88rem, 7.8vw, 2.45rem) !important;
    line-height: 1.12 !important;
  }

  /* Contorni scuri nitidi ATTIVI SOLO quando il video è realmente in riproduzione (.has-mobile-video) */
  .hero-section.has-mobile-video .hero-headline {
    text-shadow:
      -1px -1px 0 rgba(8, 13, 20, 0.92),
       1px -1px 0 rgba(8, 13, 20, 0.92),
      -1px  1px 0 rgba(8, 13, 20, 0.92),
       1px  1px 0 rgba(8, 13, 20, 0.92),
       0    3px 14px rgba(0, 0, 0, 0.85);
  }

  /* Su video attivo: colore pieno brillante per gli accenti così text-shadow crea un bordo esterno perfetto */
  .hero-section.has-mobile-video .hero-headline span.accent {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #F2AE63 !important;
    color: #F2AE63 !important;
  }

  .hero-section.has-mobile-video .hero-headline span.teal-accent {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #38C0B6 !important;
    color: #38C0B6 !important;
  }

  .hero-section.has-mobile-video .hero-subtext {
    color: #F4F7FA !important;
    font-weight: 500;
    text-shadow:
      -0.8px -0.8px 0 rgba(8, 13, 20, 0.92),
       0.8px -0.8px 0 rgba(8, 13, 20, 0.92),
      -0.8px  0.8px 0 rgba(8, 13, 20, 0.92),
       0.8px  0.8px 0 rgba(8, 13, 20, 0.92),
       0      2px 10px rgba(0, 0, 0, 0.88);
  }

  .hero-section.has-mobile-video .hero-trust-bar .trust-item {
    color: #EEF3F7 !important;
    font-weight: 500;
    text-shadow:
      -0.7px -0.7px 0 rgba(8, 13, 20, 0.9),
       0.7px -0.7px 0 rgba(8, 13, 20, 0.9),
      -0.7px  0.7px 0 rgba(8, 13, 20, 0.9),
       0.7px  0.7px 0 rgba(8, 13, 20, 0.9),
       0      2px 8px rgba(0, 0, 0, 0.82);
  }

  .hero-section.has-mobile-video .hero-top-meta .badge {
    background: rgba(8, 13, 20, 0.72) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}

/* Tipografia editoriale di carattere (Playfair Display 100% locale) per Hero & Titoli Sezione */
.hero-headline {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
}

.hero-headline .accent,
.hero-headline .teal-accent {
  font-style: italic;
  font-weight: 700;
}

.section-title {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

/* 2. Scroll Reveal piatto (attivato solo quando JS aggiunge .has-reveal su body) */
body.has-reveal .reveal-el {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.48s var(--ease-flat) var(--reveal-delay, 0ms),
    transform 0.48s var(--ease-flat) var(--reveal-delay, 0ms),
    border-color 0.22s ease,
    background-color 0.22s ease;
  will-change: opacity, transform;
}

body.has-reveal .reveal-el.is-revealed {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* 3. Navbar: stacco piatto ed elegante durante lo scroll */
.site-header {
  transition: background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.site-header.is-scrolled {
  background: rgba(8, 13, 20, 0.94);
  border-bottom-color: rgba(229, 169, 60, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

/* 4. Micro-feedback tattile piatto al tap/click (mobile + desktop) */
.btn,
.filter-tab,
.social-circle-btn,
.lang-btn {
  transition:
    transform 0.16s var(--ease-flat),
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

.btn:active,
.filter-tab:active,
.social-circle-btn:active,
.lang-btn:active {
  transform: scale(0.985);
}

/* 5. Hover pulito solo su dispositivi con puntatore (mai appiccicato su mobile touch) */
@media (hover: hover) and (pointer: fine) {
  .craft-card,
  .split-card,
  .menu-card,
  .menu-item-row,
  .bento-card,
  .contact-card,
  .info-card {
    transition:
      transform 0.22s var(--ease-flat),
      border-color 0.22s ease,
      background-color 0.22s ease;
  }

  .craft-card:hover,
  .split-card:hover,
  .menu-card:hover,
  .bento-card:hover {
    transform: translateY(-2px);
    border-color: rgba(229, 169, 60, 0.32);
  }

  .social-circle-btn:hover {
    transform: translateY(-2px);
  }

  .menu-card-img img,
  .hero-visual-card img,
  .split-card img,
  .story-image-frame img {
    transition: transform 0.38s var(--ease-flat);
  }

  .menu-card:hover .menu-card-img img,
  .hero-visual-card:hover img,
  .split-card:hover img,
  .story-image-frame:hover img {
    transform: scale(1.025);
  }
}

/* 6. Apertura fluida dell'accordion Info Rapide nel footer */
details.faq-item[open] > p,
details.faq-item[open] > .faq-answer {
  animation: flatFadeUp 0.24s var(--ease-flat) both;
}

/* 7. Accessibilità: disattiva ogni animazione se l'utente preferisce movimento ridotto */
@media (prefers-reduced-motion: reduce) {
  .hero-badge-row,
  .hero-badges,
  .hero-top-meta,
  .hero-title,
  .hero-headline,
  .hero-desc,
  .hero-subtext,
  .hero-actions,
  .hero-ctas,
  .hero-trust,
  .hero-features,
  .hero-trust-bar,
  .hero-visual-card,
  .hero-media,
  .hero-visual-wrapper,
  details.faq-item[open] > p,
  details.faq-item[open] > .faq-answer {
    animation: none !important;
    opacity: 1 !important;
  }
  .hero-mobile-video-bg {
    display: none !important;
  }
  body.has-reveal .reveal-el {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  * {
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   MENÙ ERGONOMICO & CARTA GOURMET (PILLOLE MODERNE TUTTE VISIBILI, ZERO FORM,
   ZERO ANIMAZIONI, ALTA LEGGIBILITÀ 60+, COMPATIBILE 100% CON STUDIO)
   ========================================================================== */
/* Testata Menù elegante e compatta: zero spazio morto tra intestazione e barra filtri */
.menu-page-hero {
  padding: 0.9rem 0 0.85rem;
  text-align: center;
  background: radial-gradient(ellipse 75% 110% at 50% 0%, rgba(226, 149, 71, 0.13) 0%, rgba(35, 122, 116, 0.08) 48%, transparent 80%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.menu-hero-eyebrow {
  display: block;
  margin: 0 0 0.18rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  opacity: 0.9;
}

.menu-hero-compact-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.8vw, 2.15rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.6rem;
}

.menu-hero-compact-title .accent {
  font-style: italic;
  color: var(--accent-amber-light);
}

.menu-section-compact {
  padding-top: 0.85rem !important;
}

.menu-filter-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.menu-filter-bar .menu-search-wrapper {
  width: 100%;
  max-width: 460px;
  margin: 0;
  position: relative;
}

.menu-filter-bar .menu-search-input {
  width: 100%;
  min-height: 42px;
  background: rgba(19, 32, 41, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 0.55rem 2.5rem 0.55rem 2.55rem;
  color: #FFFFFF;
  font-size: 0.92rem;
}

.menu-filter-bar .menu-search-input::placeholder {
  color: #8FA4B3;
}

.menu-filter-bar .menu-search-input:focus {
  border-color: rgba(226, 149, 71, 0.55);
  background: rgba(19, 32, 41, 0.95);
  box-shadow: 0 0 0 3px rgba(226, 149, 71, 0.14);
}

.menu-search-clear {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-search-clear[hidden] {
  display: none !important;
}

/* Pillole categorie moderne: tutte visibili subito in flex-wrap, zero box ingombranti */
.menu-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
}

.menu-pills-wrap .menu-chip-btn {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0.42rem 0.88rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #DCE6EE;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1.2;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.menu-pills-wrap .menu-chip-btn:hover {
  background: rgba(226, 149, 71, 0.12);
  border-color: rgba(226, 149, 71, 0.42);
  color: #FFFFFF;
}

.menu-pills-wrap .menu-chip-btn.is-drink {
  border-color: rgba(47, 164, 156, 0.25);
}

.menu-pills-wrap .menu-chip-btn.is-drink:hover {
  background: rgba(47, 164, 156, 0.14);
  border-color: rgba(47, 164, 156, 0.55);
}

.menu-pills-wrap .menu-chip-btn.active {
  background: var(--accent-amber);
  border-color: var(--accent-amber);
  color: #0B1319;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(226, 149, 71, 0.3);
}

.menu-pills-wrap .menu-chip-btn.is-drink.active {
  background: var(--accent-teal-light);
  border-color: var(--accent-teal-light);
  color: #071316;
  box-shadow: 0 2px 10px rgba(47, 164, 156, 0.3);
}

/* Stato nessun risultato */
.menu-empty-state {
  text-align: center;
  padding: 2rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 14px;
  background: rgba(19, 32, 41, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-empty-state[hidden] {
  display: none !important;
}

.menu-empty-text {
  font-size: 1rem;
  color: #DCE6EE;
  margin: 0 0 1rem;
}

/* Carta Gourmet: alta leggibilità, zero animazioni sul menù, card cliccabili per dettaglio */
.menu-section .menu-category-block {
  margin-bottom: 2.1rem;
}

.menu-section .menu-cat-heading {
  align-items: center;
  padding-bottom: 0.6rem;
  margin-bottom: 0.95rem;
}

.menu-section .menu-cat-title {
  font-family: var(--font-display);
  font-size: clamp(1.32rem, 3.2vw, 1.74rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.menu-section .menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.15rem;
}

.menu-section .menu-card {
  background: rgba(21, 36, 47, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
  box-shadow: none;
  cursor: pointer;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: none !important;
  transform: none !important;
}

.menu-section .menu-card:hover {
  transform: none !important;
  border-color: rgba(226, 149, 71, 0.36);
  box-shadow: none;
}

.menu-section .menu-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.38rem;
}

.menu-section .menu-card-title {
  font-size: 1.06rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.01em;
  line-height: 1.28;
  overflow-wrap: break-word;
  min-width: 0;
}

.menu-section .menu-card-price {
  font-size: 1.12rem;
  font-weight: 800;
  color: #F4B96A;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-section .menu-card-ingredients {
  font-size: 0.9rem;
  color: #C7D5E0;
  line-height: 1.5;
  margin-bottom: 0;
}

.menu-section .menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

.menu-section .menu-card-footer.is-empty-footer,
.menu-section .badge-tag-food.is-redundant-badge {
  display: none !important;
}

.menu-section .menu-family-price {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.18rem 0.62rem;
  color: #F6C57D;
  background: rgba(226, 149, 71, 0.12);
  border: 1px solid rgba(226, 149, 71, 0.32);
  border-radius: 999px;
}

@media (max-width: 768px) {
  .menu-filter-bar {
    gap: 0.62rem;
    margin-bottom: 1.1rem;
  }

  .menu-filter-bar .menu-search-input {
    font-size: 16px; /* Previene zoom automatico su iPhone/iOS */
    min-height: 42px;
  }

  .menu-pills-wrap {
    gap: 0.44rem 0.24rem !important;
    justify-content: center !important;
  }

  .menu-pills-wrap .menu-chip-btn {
    flex: 1 0 auto !important;
    min-height: 44px !important;
    padding: 0.5rem clamp(0.26rem, 1.1vw, 0.52rem) !important;
    font-size: clamp(10.4px, 2.86vw, 12.8px) !important;
    font-weight: 600;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Vetrina prodotti mobile: 1 colonna pulita come all'inizio */
  .menu-grid,
  .menu-section .menu-grid {
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
  }

  .menu-section .menu-card {
    padding: 0.95rem 1rem;
    border-radius: 14px;
  }

  .menu-section .menu-card-title {
    font-size: 1.02rem;
  }

  .menu-section .menu-card-price {
    font-size: 1.08rem;
  }

  .menu-section .menu-card-ingredients {
    font-size: 0.88rem;
    line-height: 1.48;
  }
}

@media (max-width: 355px) {
  .menu-pills-wrap .menu-chip-btn {
    min-height: 42px !important;
    padding: 0.46rem 0.24rem !important;
    font-size: 9.4px !important;
  }
}

/* ==========================================================================
   LIQUIDI & DRINK IN DUE COLONNE (Solo Bibite, Birre, Vini, Amari, Cocktail)
   ========================================================================== */
.menu-section .menu-category-block[data-category-section="bibite"] .menu-grid,
.menu-section .menu-category-block[data-category-section="birre"] .menu-grid,
.menu-section .menu-category-block[data-category-section="vini"] .menu-grid,
.menu-section .menu-category-block[data-category-section="amari"] .menu-grid,
.menu-section .menu-category-block[data-category-section="cocktail"] .menu-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (min-width: 769px) {
  .menu-section .menu-category-block[data-category-section="bibite"] .menu-grid,
  .menu-section .menu-category-block[data-category-section="birre"] .menu-grid,
  .menu-section .menu-category-block[data-category-section="vini"] .menu-grid,
  .menu-section .menu-category-block[data-category-section="amari"] .menu-grid,
  .menu-section .menu-category-block[data-category-section="cocktail"] .menu-grid {
    gap: 1rem 1.15rem;
  }

  .menu-section .menu-category-block[data-category-section="bibite"] .menu-card,
  .menu-section .menu-category-block[data-category-section="birre"] .menu-card,
  .menu-section .menu-category-block[data-category-section="vini"] .menu-card,
  .menu-section .menu-category-block[data-category-section="amari"] .menu-card,
  .menu-section .menu-category-block[data-category-section="cocktail"] .menu-card {
    padding: 0.92rem 1.1rem;
    border-radius: 15px;
    background: linear-gradient(155deg, rgba(22, 38, 50, 0.88) 0%, rgba(14, 24, 33, 0.92) 100%);
  }

  .menu-section .menu-category-block[data-category-section="bibite"] .menu-card:has(.dish-media),
  .menu-section .menu-category-block[data-category-section="birre"] .menu-card:has(.dish-media),
  .menu-section .menu-category-block[data-category-section="vini"] .menu-card:has(.dish-media),
  .menu-section .menu-category-block[data-category-section="amari"] .menu-card:has(.dish-media),
  .menu-section .menu-category-block[data-category-section="cocktail"] .menu-card:has(.dish-media) {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    column-gap: 1rem;
    row-gap: 0.25rem;
    align-items: center;
    padding: 0.82rem 1rem;
  }

  .menu-section .menu-category-block[data-category-section="bibite"] .menu-card:has(.dish-media) .dish-media,
  .menu-section .menu-category-block[data-category-section="birre"] .menu-card:has(.dish-media) .dish-media,
  .menu-section .menu-category-block[data-category-section="vini"] .menu-card:has(.dish-media) .dish-media,
  .menu-section .menu-category-block[data-category-section="amari"] .menu-card:has(.dish-media) .dish-media,
  .menu-section .menu-category-block[data-category-section="cocktail"] .menu-card:has(.dish-media) .dish-media {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 108px !important;
    margin: 0 !important;
    border-radius: 11px !important;
  }

  .menu-section .menu-category-block[data-category-section="bibite"] .menu-card:has(.dish-media) > div:not(.dish-media),
  .menu-section .menu-category-block[data-category-section="birre"] .menu-card:has(.dish-media) > div:not(.dish-media),
  .menu-section .menu-category-block[data-category-section="vini"] .menu-card:has(.dish-media) > div:not(.dish-media),
  .menu-section .menu-category-block[data-category-section="amari"] .menu-card:has(.dish-media) > div:not(.dish-media),
  .menu-section .menu-category-block[data-category-section="cocktail"] .menu-card:has(.dish-media) > div:not(.dish-media) {
    grid-column: 2;
    min-width: 0;
  }

  .menu-section .menu-category-block[data-category-section="bibite"] .menu-card .menu-card-header,
  .menu-section .menu-category-block[data-category-section="birre"] .menu-card .menu-card-header,
  .menu-section .menu-category-block[data-category-section="vini"] .menu-card .menu-card-header,
  .menu-section .menu-category-block[data-category-section="amari"] .menu-card .menu-card-header,
  .menu-section .menu-category-block[data-category-section="cocktail"] .menu-card .menu-card-header {
    margin-bottom: 0;
  }

  body.lss-edit-mode .menu-category-block[data-category-section="bibite"] .menu-card:has(.dish-media) .menu-card-header,
  body.lss-edit-mode .menu-category-block[data-category-section="birre"] .menu-card:has(.dish-media) .menu-card-header,
  body.lss-edit-mode .menu-category-block[data-category-section="vini"] .menu-card:has(.dish-media) .menu-card-header,
  body.lss-edit-mode .menu-category-block[data-category-section="amari"] .menu-card:has(.dish-media) .menu-card-header,
  body.lss-edit-mode .menu-category-block[data-category-section="cocktail"] .menu-card:has(.dish-media) .menu-card-header {
    padding-right: 44px;
  }
}

@media (max-width: 768px) {
  .menu-section .menu-category-block[data-category-section="bibite"] .menu-grid,
  .menu-section .menu-category-block[data-category-section="birre"] .menu-grid,
  .menu-section .menu-category-block[data-category-section="vini"] .menu-grid,
  .menu-section .menu-category-block[data-category-section="amari"] .menu-grid,
  .menu-section .menu-category-block[data-category-section="cocktail"] .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 0.62rem !important;
    row-gap: 0.62rem !important;
  }

  .menu-section .menu-category-block[data-category-section="bibite"] .menu-card,
  .menu-section .menu-category-block[data-category-section="birre"] .menu-card,
  .menu-section .menu-category-block[data-category-section="vini"] .menu-card,
  .menu-section .menu-category-block[data-category-section="amari"] .menu-card,
  .menu-section .menu-category-block[data-category-section="cocktail"] .menu-card {
    padding: 0.72rem 0.76rem;
    border-radius: 13px;
    justify-content: flex-start;
    background: linear-gradient(155deg, rgba(22, 38, 50, 0.88) 0%, rgba(14, 24, 33, 0.92) 100%);
  }

  .menu-section .menu-category-block[data-category-section="bibite"] .menu-card .dish-media,
  .menu-section .menu-category-block[data-category-section="birre"] .menu-card .dish-media,
  .menu-section .menu-category-block[data-category-section="vini"] .menu-card .dish-media,
  .menu-section .menu-category-block[data-category-section="amari"] .menu-card .dish-media,
  .menu-section .menu-category-block[data-category-section="cocktail"] .menu-card .dish-media {
    margin: 0 0 0.56rem 0 !important;
    border-radius: 10px !important;
  }

  .menu-section .menu-category-block[data-category-section="bibite"] .menu-card .menu-card-header,
  .menu-section .menu-category-block[data-category-section="birre"] .menu-card .menu-card-header,
  .menu-section .menu-category-block[data-category-section="vini"] .menu-card .menu-card-header,
  .menu-section .menu-category-block[data-category-section="amari"] .menu-card .menu-card-header,
  .menu-section .menu-category-block[data-category-section="cocktail"] .menu-card .menu-card-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.24rem;
    margin-bottom: 0;
  }

  .menu-section .menu-category-block[data-category-section="bibite"] .menu-card .menu-card-title,
  .menu-section .menu-category-block[data-category-section="birre"] .menu-card .menu-card-title,
  .menu-section .menu-category-block[data-category-section="vini"] .menu-card .menu-card-title,
  .menu-section .menu-category-block[data-category-section="amari"] .menu-card .menu-card-title,
  .menu-section .menu-category-block[data-category-section="cocktail"] .menu-card .menu-card-title {
    font-size: 0.84rem;
    line-height: 1.24;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .menu-section .menu-category-block[data-category-section="bibite"] .menu-card .menu-card-price,
  .menu-section .menu-category-block[data-category-section="birre"] .menu-card .menu-card-price,
  .menu-section .menu-category-block[data-category-section="vini"] .menu-card .menu-card-price,
  .menu-section .menu-category-block[data-category-section="amari"] .menu-card .menu-card-price,
  .menu-section .menu-category-block[data-category-section="cocktail"] .menu-card .menu-card-price {
    font-size: 0.94rem;
    align-self: flex-start;
  }

  /* Console Edit Mode: titolo full-width sopra e prezzo + ⋮ su seconda riga */
  .menu-category-block[data-category-section="bibite"] .menu-card-header.lss-header-inline-dots,
  .menu-category-block[data-category-section="birre"] .menu-card-header.lss-header-inline-dots,
  .menu-category-block[data-category-section="vini"] .menu-card-header.lss-header-inline-dots,
  .menu-category-block[data-category-section="amari"] .menu-card-header.lss-header-inline-dots,
  .menu-category-block[data-category-section="cocktail"] .menu-card-header.lss-header-inline-dots {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    row-gap: 0.28rem !important;
    column-gap: 0.35rem !important;
  }

  .menu-category-block[data-category-section="bibite"] .menu-card-header.lss-header-inline-dots .menu-card-title,
  .menu-category-block[data-category-section="birre"] .menu-card-header.lss-header-inline-dots .menu-card-title,
  .menu-category-block[data-category-section="vini"] .menu-card-header.lss-header-inline-dots .menu-card-title,
  .menu-category-block[data-category-section="amari"] .menu-card-header.lss-header-inline-dots .menu-card-title,
  .menu-category-block[data-category-section="cocktail"] .menu-card-header.lss-header-inline-dots .menu-card-title {
    flex: 1 0 100% !important;
  }

  .menu-category-block[data-category-section="bibite"] .menu-card-header.lss-header-inline-dots .lss-dots-card-inline,
  .menu-category-block[data-category-section="birre"] .menu-card-header.lss-header-inline-dots .lss-dots-card-inline,
  .menu-category-block[data-category-section="vini"] .menu-card-header.lss-header-inline-dots .lss-dots-card-inline,
  .menu-category-block[data-category-section="amari"] .menu-card-header.lss-header-inline-dots .lss-dots-card-inline,
  .menu-category-block[data-category-section="cocktail"] .menu-card-header.lss-header-inline-dots .lss-dots-card-inline {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
  }

  body.lss-edit-mode .menu-category-block[data-category-section="bibite"] .menu-card .lss-dots-media,
  body.lss-edit-mode .menu-category-block[data-category-section="birre"] .menu-card .lss-dots-media,
  body.lss-edit-mode .menu-category-block[data-category-section="vini"] .menu-card .lss-dots-media,
  body.lss-edit-mode .menu-category-block[data-category-section="amari"] .menu-card .lss-dots-media,
  body.lss-edit-mode .menu-category-block[data-category-section="cocktail"] .menu-card .lss-dots-media {
    top: 6px !important;
    right: 6px !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    font-size: 18px !important;
  }
}

@media (max-width: 355px) {
  .menu-section .menu-category-block[data-category-section="bibite"] .menu-grid,
  .menu-section .menu-category-block[data-category-section="birre"] .menu-grid,
  .menu-section .menu-category-block[data-category-section="vini"] .menu-grid,
  .menu-section .menu-category-block[data-category-section="amari"] .menu-grid,
  .menu-section .menu-category-block[data-category-section="cocktail"] .menu-grid {
    column-gap: 0.48rem !important;
  }

  .menu-section .menu-category-block[data-category-section="bibite"] .menu-card,
  .menu-section .menu-category-block[data-category-section="birre"] .menu-card,
  .menu-section .menu-category-block[data-category-section="vini"] .menu-card,
  .menu-section .menu-category-block[data-category-section="amari"] .menu-card,
  .menu-section .menu-category-block[data-category-section="cocktail"] .menu-card {
    padding: 0.62rem 0.65rem;
  }

  .menu-section .menu-category-block[data-category-section="bibite"] .menu-card .menu-card-title,
  .menu-section .menu-category-block[data-category-section="birre"] .menu-card .menu-card-title,
  .menu-section .menu-category-block[data-category-section="vini"] .menu-card .menu-card-title,
  .menu-section .menu-category-block[data-category-section="amari"] .menu-card .menu-card-title,
  .menu-section .menu-category-block[data-category-section="cocktail"] .menu-card .menu-card-title {
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   SEZIONE LA SQUADRA DI FERMENTO, CORTILE MALTESE & IL NOSTRO METODO (chisiamo.html)
   ========================================================================== */
.story-band-surface {
  padding: clamp(2.8rem, 5vw, 4.2rem) 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.story-band-header {
  margin-bottom: clamp(1.6rem, 3.5vw, 2.5rem);
}

.story-section-heading,
.story-place-heading {
  font-family: var(--font-editorial);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.story-section-heading {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  line-height: 1.06;
  margin-bottom: 0.7rem;
}

.story-section-heading .accent,
.story-place-heading .accent {
  font-style: italic;
  font-weight: 700;
  color: var(--accent-amber-light);
}

.story-section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.94rem, 2vw, 1.04rem);
  line-height: 1.6;
  color: #BDCDD8;
  max-width: 620px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.team-card {
  display: flex;
  align-items: stretch;
  gap: 1.15rem;
  padding: 1.2rem;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(23, 39, 51, 0.94) 0%, rgba(13, 22, 31, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: border-color 0.22s ease, transform 0.22s var(--ease-flat), box-shadow 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .team-card:hover {
    border-color: rgba(226, 149, 71, 0.36);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.36);
  }
}

.team-photo-stage {
  position: relative;
  flex-shrink: 0;
  width: 122px;
  aspect-ratio: 3 / 4;
  align-self: center;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(229, 169, 60, 0.36);
  background: #0B1319;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
}

.team-photo-slide {
  position: absolute;
  inset: 0;
  will-change: opacity, transform;
}

.team-photo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
}

@keyframes teamPhotoCycleA {
  0%, 42%   { opacity: 1; transform: scale(1); }
  50%, 92%  { opacity: 0; transform: scale(1.015); }
  100%      { opacity: 1; transform: scale(1); }
}

@keyframes teamPhotoCycleB {
  0%, 42%   { opacity: 0; transform: scale(1.015); }
  50%, 92%  { opacity: 1; transform: scale(1); }
  100%      { opacity: 0; transform: scale(1.015); }
}

.team-photo-slide.is-pose {
  animation: teamPhotoCycleA 7.6s ease-in-out 0s infinite;
}

.team-photo-slide.is-work {
  animation: teamPhotoCycleB 7.6s ease-in-out 0s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .team-photo-slide.is-pose { animation: none; opacity: 1; }
  .team-photo-slide.is-work { animation: none; opacity: 0; }
}

/* Modalità Modifica Console PWA: affianca Posa e Al Lavoro con entrambi i tasti ⋮ */
body.lss-edit-mode .team-card {
  flex-direction: column;
  align-items: stretch;
}

body.lss-edit-mode .team-photo-stage {
  width: 100%;
  max-width: none;
  aspect-ratio: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

body.lss-edit-mode .team-photo-slide {
  position: relative;
  inset: auto;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(229, 169, 60, 0.36);
}

.team-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
}

.team-role {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  background: rgba(226, 149, 71, 0.11);
  border: 1px solid rgba(226, 149, 71, 0.32);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-amber-light);
  margin-bottom: 0.42rem;
}

.team-role.is-teal {
  background: rgba(47, 164, 156, 0.12);
  border-color: rgba(47, 164, 156, 0.34);
  color: #56D5CA;
}

.team-name {
  margin: 0 0 0.36rem;
  font-family: var(--font-editorial);
  font-size: clamp(1.42rem, 2.2vw, 1.66rem);
  font-weight: 700;
  letter-spacing: -0.005em;
  color: #FFFFFF;
  line-height: 1.12;
}

.team-bio {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.89rem;
  line-height: 1.56;
  color: #C4D4DF;
}

/* Cortile Maltese (spostato sotto Lo Staff) */
.story-place-section {
  padding: clamp(2.8rem, 5vw, 4.2rem) 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.story-place-heading {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 0.85rem;
}

.story-place-text {
  font-family: var(--font-body);
  color: #BDCDD8;
  font-size: clamp(0.92rem, 2vw, 1.01rem);
  line-height: 1.66;
  margin-bottom: 0.85rem;
}

.story-place-text strong {
  color: #F4F7F6;
}

.story-place-text.is-last {
  margin-bottom: 1.25rem;
}

.story-place-media {
  border-color: rgba(229, 169, 60, 0.28);
}

/* Il Nostro Metodo + Icone Gialle in Stile Fermento */
.story-method-section {
  padding: clamp(2.8rem, 5vw, 4.2rem) 0;
  background: var(--bg-surface);
}

.story-method-card {
  background: linear-gradient(155deg, rgba(13, 22, 31, 0.96) 0%, rgba(19, 32, 41, 0.92) 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

.craft-icon-box.craft-icon-box--amber {
  background: rgba(240, 171, 104, 0.09);
  border-color: rgba(240, 171, 104, 0.34);
  color: var(--accent-amber-light);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 20px rgba(226, 149, 71, 0.14);
}

.story-method-title {
  font-family: var(--font-editorial);
  font-size: clamp(1.42rem, 2.3vw, 1.66rem);
  font-weight: 700;
  color: var(--accent-amber-light);
  line-height: 1.15;
  letter-spacing: -0.005em;
}

@media (max-width: 768px) {
  .story-band-surface,
  .story-place-section,
  .story-method-section {
    padding: 1.7rem 0 1.95rem;
  }

  .story-band-header {
    margin-bottom: 1.25rem;
  }

  .story-section-heading {
    font-size: clamp(1.75rem, 6.8vw, 2.15rem);
    margin-bottom: 0.5rem;
  }

  .story-section-subtitle {
    font-size: 0.9rem;
    line-height: 1.54;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .team-card {
    padding: 0.95rem;
    gap: 0.9rem;
    border-radius: 16px;
    align-items: center;
  }

  .team-photo-stage {
    width: 94px;
    border-radius: 12px;
  }

  .team-role {
    font-size: 0.63rem;
    padding: 0.16rem 0.54rem;
    margin-bottom: 0.3rem;
  }

  .team-name {
    font-size: 1.32rem;
    margin-bottom: 0.26rem;
  }

  .team-bio {
    font-size: 0.83rem;
    line-height: 1.48;
  }

  .story-place-heading {
    font-size: clamp(1.62rem, 6.2vw, 1.95rem);
    margin-bottom: 0.65rem;
  }

  .story-place-text {
    font-size: 0.89rem;
    line-height: 1.56;
    margin-bottom: 0.7rem;
  }

  .story-place-text.is-last {
    margin-bottom: 1rem;
  }

  .story-method-section .story-method-title {
    font-family: var(--font-editorial) !important;
    font-size: 1.26rem !important;
    line-height: 1.18 !important;
  }

  .story-method-section .craft-desc {
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 359px) {
  .team-card {
    padding: 0.82rem;
    gap: 0.78rem;
  }

  .team-photo-stage {
    width: 84px;
  }
}

/* Page Hero & Slot Foto Staff Completo (chisiamo.html) */
.story-hero-section {
  padding: clamp(2rem, 4.5vw, 3.35rem) 0 clamp(2rem, 4.5vw, 3.1rem);
  background: radial-gradient(circle at 50% 0%, rgba(226, 149, 71, 0.08) 0%, transparent 62%), var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.story-hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(1.4rem, 4vw, 3.2rem);
  align-items: center;
}

.story-hero-copy {
  text-align: left;
}

.story-hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  background: rgba(226, 149, 71, 0.09);
  border: 1px solid rgba(226, 149, 71, 0.3);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.75rem;
}

.story-hero-title {
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: clamp(2.45rem, 4.8vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.story-hero-title .accent {
  font-style: italic;
  font-weight: 700;
  color: var(--accent-amber-light);
}

.story-hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.94rem, 2vw, 1.04rem);
  line-height: 1.62;
  letter-spacing: 0.004em;
  color: #BDCDD8;
  max-width: 560px;
  margin: 0;
}

.story-staff-hero-media {
  margin: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(229, 169, 60, 0.34);
  background: var(--bg-primary);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.44);
}

.story-staff-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  display: block;
}

@media (max-width: 900px) {
  .story-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .story-hero-copy {
    text-align: center;
  }

  .story-hero-subtitle {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .story-hero-section {
    padding: 1.4rem 0 1.7rem;
  }

  .story-hero-grid {
    gap: 1.05rem;
  }

  .story-hero-tag {
    font-size: 0.69rem;
    padding: 0.24rem 0.76rem;
    margin-bottom: 0.52rem;
  }

  .story-hero-title {
    font-size: clamp(2.15rem, 8.8vw, 2.65rem);
    margin-bottom: 0.5rem;
  }

  .story-hero-subtitle {
    font-size: 0.91rem;
    line-height: 1.56;
  }

  .story-staff-hero-media {
    border-radius: 15px;
    aspect-ratio: 16 / 9;
  }
}

/* Firma editoriale del fondatore e ritratto (chisiamo.html) */
.story-founder-section {
  padding: clamp(2.4rem, 4.5vw, 3.6rem) 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.story-founder-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.story-founder-heading,
.story-text-col h2 {
  font-family: var(--font-editorial);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.story-founder-heading {
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  line-height: 1.12;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}

.founder-note-block {
  margin: 0;
  padding: 0.2rem 0 0.2rem 1.2rem;
  border-left: 2px solid var(--accent-amber);
  display: flow-root;
}

.founder-portrait-float {
  float: right;
  position: relative;
  width: clamp(112px, 34vw, 146px);
  aspect-ratio: 3 / 4;
  margin: 0.15rem 0 0.5rem 1rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(229, 169, 60, 0.34);
  background: var(--bg-surface);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
}

.founder-portrait-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}

.founder-note-text {
  color: #BDCDD8;
  font-size: clamp(0.9rem, 2.1vw, 0.99rem);
  line-height: 1.66;
  margin-bottom: 0.8rem;
}

.founder-note-text.is-last {
  margin-bottom: 0.95rem;
}

.founder-note-signature {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.65rem;
  padding-top: 0.25rem;
}

.founder-sign-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-amber-light);
}

.founder-sign-role {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
}

@media (max-width: 768px) {
  .story-founder-section {
    padding: 1.45rem 0 1.75rem;
  }

  .story-founder-section .section-tag {
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
  }

  .story-founder-heading {
    font-size: clamp(1.52rem, 5.6vw, 1.76rem);
    line-height: 1.12;
    margin-bottom: 0.62rem;
  }

  .founder-note-block {
    padding: 0.1rem 0 0.1rem 0.85rem;
  }

  .founder-portrait-float {
    width: clamp(110px, 34.5vw, 146px);
    margin: 0.14rem 0 0.45rem 0.85rem;
    border-radius: 13px;
  }

  .founder-note-text {
    font-size: 0.86rem;
    line-height: 1.52;
    margin-bottom: 0.55rem;
  }

  .founder-note-text.is-last {
    margin-bottom: 0.65rem;
  }

  .founder-sign-name {
    font-size: 1.04rem;
  }

  .founder-sign-role {
    font-size: 0.72rem;
  }
}

@media (max-width: 359px) {
  .story-founder-section {
    padding: 1.25rem 0 1.5rem;
  }

  .story-founder-heading {
    font-size: 1.24rem;
  }

  .founder-note-block {
    padding-left: 0.72rem;
  }

  .founder-portrait-float {
    width: 98px;
    margin: 0.12rem 0 0.4rem 0.68rem;
  }

  .founder-note-text {
    font-size: 0.82rem;
    line-height: 1.48;
  }
}

/* ==========================================================================
   ACCESSIBILITÀ (WCAG 2.1 AA), NOTE LEGALI MENÙ, TABELLA COOKIE & CHIUSURA BANNER
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -120px;
  left: 1rem;
  z-index: 10000;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--accent-amber);
  color: #080D14;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: top 0.16s ease;
}

.skip-link:focus-visible {
  top: 0.85rem;
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--accent-amber-light);
  outline-offset: 2px;
}

.menu-search-input:focus-visible,
.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
  outline: 2px solid var(--accent-amber-light);
  outline-offset: 1px;
}

.menu-card:focus-visible {
  outline: 2px solid var(--accent-amber-light);
  outline-offset: 2px;
}

.form-inline-error {
  margin: 0 0 0.7rem;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #FCA5A5;
  font-size: 0.82rem;
  line-height: 1.4;
}

.cookie-consent-inner {
  position: relative;
  padding-right: 2.6rem;
}

.cookie-consent-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #CBD5E1;
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.cookie-consent-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

/* Note di legge compatte in fondo al menù (Allergeni 1169/2011 + Alcolici 18+ + IVA) */
.menu-legal-notices {
  margin-top: 2.25rem;
  padding: 1.15rem 1.3rem;
  border-radius: 14px;
  background: rgba(21, 36, 47, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.menu-legal-item {
  font-size: 0.81rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.menu-legal-item strong {
  color: var(--accent-amber-light);
  font-weight: 600;
  margin-right: 0.25rem;
}

/* Tabella tecnica Cookie Policy (cookie.html) */
.legal-table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(21, 36, 47, 0.5);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.legal-table th,
.legal-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.legal-table th {
  color: var(--text-main);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

.legal-table tbody tr:last-child td {
  border-bottom: none;
}

.legal-table code {
  color: var(--accent-amber-light);
  background: rgba(226, 149, 71, 0.12);
  padding: 0.12rem 0.35rem;
  border-radius: 5px;
  font-size: 0.84rem;
}

@media (max-width: 768px) {
  .cookie-consent-inner {
    padding-right: 2.3rem;
  }
  .menu-legal-notices {
    margin-top: 1.65rem;
    padding: 0.95rem 1rem;
    gap: 0.48rem;
  }
  .menu-legal-item {
    font-size: 0.77rem;
    line-height: 1.48;
  }
}

/* ==========================================================================
   OPTIONAL PIZZA-ONLY TAKEAWAY TOGGLE + MODERN SHEET MODAL (#bookingForm)
   ========================================================================== */
body.takeaway-sheet-open {
  overflow: hidden;
}

.takeaway-switch-panel {
  margin: 0.2rem 0 0.85rem;
  padding: 0.82rem 0.9rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(16, 28, 39, 0.88), rgba(10, 18, 27, 0.92));
  border: 1px solid rgba(226, 149, 71, 0.24);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.takeaway-switch-panel[hidden] {
  display: none !important;
}

.takeaway-switch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  min-width: 0;
}

.takeaway-switch-copy {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  min-width: 0;
  flex: 1 1 auto;
}

.takeaway-switch-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.takeaway-switch-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.lss-toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}

.lss-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.lss-toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(148, 163, 184, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  transition: background 0.22s ease, border-color 0.22s ease;
}

.lss-toggle-slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s ease;
}

.lss-toggle-switch input:checked + .lss-toggle-slider {
  background: rgba(226, 149, 71, 0.9);
  border-color: var(--accent-amber-light);
}

.lss-toggle-switch input:checked + .lss-toggle-slider::before {
  transform: translateX(20px);
}

.lss-toggle-switch input:focus-visible + .lss-toggle-slider {
  outline: 2px solid var(--accent-amber-light);
  outline-offset: 2px;
}

.takeaway-selected-summary {
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.takeaway-selected-summary[hidden] {
  display: none !important;
}

.takeaway-selected-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--accent-teal-light);
}

.takeaway-edit-btn {
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 149, 71, 0.42);
  background: rgba(226, 149, 71, 0.12);
  color: var(--accent-amber-light);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.takeaway-selected-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.takeaway-selected-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.2rem;
  font-size: 0.85rem;
  color: var(--text-main);
}

.takeaway-selected-total strong {
  color: var(--accent-teal-light);
  font-size: 0.96rem;
}

/* Confirmation Notice Under Submit Button */
.booking-confirm-notice {
  margin: 0.65rem 0 0;
  padding: 0.58rem 0.72rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.48;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.booking-confirm-notice.is-asporto-warning {
  background: rgba(226, 149, 71, 0.09);
  border-color: rgba(226, 149, 71, 0.34);
  color: var(--text-main);
}

.booking-confirm-notice strong {
  color: var(--accent-amber-light);
}

.booking-confirm-notice a {
  color: var(--accent-amber-light);
  text-decoration: underline;
}

/* Fullscreen Immersive Pizza Selector Modal */
.takeaway-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10200;
  background: #0a121a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: stretch;
  padding: 0;
}

.takeaway-sheet-backdrop[hidden] {
  display: none !important;
}

.takeaway-sheet {
  width: 100%;
  max-width: 720px;
  height: 100dvh;
  background: #0a121a;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.takeaway-sheet-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.takeaway-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: calc(1rem + env(safe-area-inset-top)) 1.15rem 0.65rem;
}

.takeaway-sheet-title {
  margin: 0;
  font-size: 1.32rem;
  color: var(--text-main);
}

.takeaway-sheet-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  font-size: 1.4rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.takeaway-sheet-controls {
  padding: 0.35rem 1.15rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
}

.takeaway-search-input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 16px;
  padding: 0.62rem 0.88rem;
}

.takeaway-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: 100%;
}

.takeaway-cat-chip {
  padding: 0.38rem 0.82rem;
  border-radius: 999px;
  border: 1px solid var(--border-glass);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: 0.79rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.takeaway-cat-chip.active {
  background: rgba(226, 149, 71, 0.2);
  border-color: var(--accent-amber);
  color: var(--accent-amber-light);
}

.takeaway-cat-chip.has-items:not(.active) {
  border-color: rgba(45, 212, 191, 0.45);
  color: var(--accent-teal-light);
}

.takeaway-sheet-body {
  padding: 0.9rem 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.takeaway-item-row {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.78rem 0.88rem;
  border-radius: var(--radius-md);
  background: rgba(20, 32, 44, 0.82);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.takeaway-item-row.is-chosen {
  border-color: rgba(45, 212, 191, 0.45);
  background: rgba(18, 36, 46, 0.9);
}

.takeaway-item-info {
  min-width: 0;
}

.takeaway-item-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.takeaway-item-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 0.18rem;
}

.takeaway-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.takeaway-add-btn {
  padding: 0.44rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(226, 149, 71, 0.38);
  background: rgba(226, 149, 71, 0.1);
  color: var(--accent-amber-light);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.takeaway-add-btn:hover {
  background: rgba(226, 149, 71, 0.22);
  border-color: var(--accent-amber);
}

.takeaway-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.24rem 0.38rem;
  border-radius: 10px;
  background: rgba(45, 212, 191, 0.14);
  border: 1px solid rgba(45, 212, 191, 0.42);
}

.takeaway-step-btn,
.takeaway-mini-btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.78);
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.takeaway-step-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-teal-light);
  padding: 0 0.24rem;
  white-space: nowrap;
}

.takeaway-empty {
  padding: 1.5rem 0.75rem;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.takeaway-sheet-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 1.15rem calc(0.85rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a121a;
}

.takeaway-sheet-total-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.takeaway-sheet-count {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.takeaway-sheet-total {
  font-size: 1.08rem;
  color: var(--accent-teal-light);
}

.takeaway-sheet-footer-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.takeaway-clear-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.25rem;
}

.takeaway-done-btn {
  padding: 0.62rem 1.05rem;
  font-size: 0.86rem;
  white-space: nowrap;
}

.takeaway-cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-main);
  padding-bottom: 0.3rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.takeaway-cart-line-name {
  min-width: 0;
  flex: 1 1 auto;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.takeaway-cart-line-right {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  flex-shrink: 0;
}

.takeaway-cart-line-price {
  font-weight: 600;
  color: var(--accent-amber-light);
  margin-right: 0.15rem;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .booking-form-card {
    padding: 1.15rem 0.95rem;
  }
  .takeaway-sheet-header,
  .takeaway-sheet-controls,
  .takeaway-sheet-body,
  .takeaway-sheet-footer {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }
}

/* Floating Glassmorphism Back-to-Top Button (48px clickable, SafeArea-aware) */
.scroll-top-fab {
  position: fixed;
  right: 14px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 9000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(15, 27, 38, 0.62) 100%);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  color: #FFFFFF;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.32), 0 8px 24px rgba(0, 0, 0, 0.42);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.scroll-top-fab.is-visible {
  opacity: 0.94;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

@media (hover: hover) {
  .scroll-top-fab:hover {
    opacity: 1;
    border-color: rgba(226, 149, 71, 0.68);
    color: var(--accent-amber-light);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.38), 0 10px 28px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
  }
}

.scroll-top-fab:active {
  transform: scale(0.94);
}

body.takeaway-sheet-open .scroll-top-fab {
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (min-width: 769px) {
  .scroll-top-fab {
    right: 24px;
    bottom: 24px;
    width: 50px;
    height: 50px;
  }
}
