:root {
  --cream: #FAF7F2;
  --paper: #E9E4D6;
  --pistacchio: #8FA372;
  --pistacchio-dark: #5E6E48;
  --arachide: #C9A66B;
  --arancio: #E8743B;
  --arancio-dark: #C85A24;
  --ink: #1F2A12;
  --bg: #B5E655; /* verde pistacchio usato solo per "Zone" nel logo */
  --accent-text: #8F3410;
  --muted: rgba(31, 42, 18, 0.82);
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--pistacchio-dark) !important;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

a {
  color: rgb(0, 0, 0) !important;
  text-decoration: none !important;
}


h1, h2, h3, .display-font {
  font-family: 'Lily Script One', display;
  /*font-family:'Fraunces', serif;*/
  letter-spacing: -0.01em;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-text);
}

/* ---------- NAV ---------- */
.navbar-oradoro {
  background: var(--paper);
  border-bottom: 1px solid rgba(43, 38, 32, 0.08);
}

.navbar-oradoro .navbar-brand {
  font-family: 'Lily Script One', serif;

  font-size: 1.45rem;
  color: var(--ink);
}

.navbar-oradoro .navbar-brand span {
  color: var(--bg);
  -webkit-text-stroke: 1px var(--ink);
  paint-order: stroke fill;
}

.btn-oradoro {
  color: #fff !important;
}

.hc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease;
}

.hc-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
}

.hc-prev { left: 0.8rem; }
.hc-next { right: 0.8rem; }

.hc-dots {
  position: absolute;
  bottom: 1.4rem;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.hc-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.hc-dot.is-active {
  width: 28px;
  border-radius: 10px;
  background: #C8F26B;
}

@media (min-width:768px) {
  .hero-carousel { min-height: 82vh; }
  .hero-carousel h1 { font-size: 3.6rem; }
  .hc-text { padding-bottom: 5.5rem; }
  .hc-arrow { left: auto; }
  .hc-prev { left: 1.5rem; }
  .hc-next { right: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hc-slide.is-active img { animation: none; }
}

.btn-oradoro {
  background: var(--arancio);
  border: none;
  color: #fff !important;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: 100px;
  font-size: 0.95rem;
  transition: transform .15s ease, background .15s ease;
}

.btn-oradoro:hover, .btn-oradoro:focus {
  background: var(--arancio-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-oradoro {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink) !important;
  -webkit-tap-highlight-color: transparent;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 100px;
  font-size: 0.95rem;
}

/* hover solo su dispositivi con mouse: su touch restava il nero dopo il tap */
@media (hover: hover) {
  .btn-outline-oradoro:hover {
    background: var(--ink);
    color: var(--cream) !important;
  }
}

.btn-outline-oradoro:active {
  background: transparent;
}

/* ---------- SECTION LABELS ---------- */
.section {
  padding: 3.2rem 0;
}

.section-title {
  font-size: 1.9rem;
  margin-bottom: 0.3rem;
}

.section-sub {
  color: var(--muted);
  max-width: 38ch;
  margin-bottom: 2rem;
}

@media (min-width:768px) {
  .section {
    padding: 4.5rem 0;
  }

  .section-title {
    font-size: 2.3rem;
  }
}

/* ---------- MENU CARDS ---------- */
.menu-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.4rem 1.3rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(43, 38, 32, 0.06);
  box-shadow: 0 10px 30px -18px rgba(43, 38, 32, 0.25);
  transition: transform .18s ease, box-shadow .18s ease;
}

.menu-card:active {
  transform: scale(0.98);
}

.menu-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.menu-card-top h3 {
  font-size: 1.15rem;
  margin: 0;
}

.menu-price {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--arancio-dark);
  white-space: nowrap;
}

.menu-card p {
  font-size: 0.88rem;
  color: rgba(43, 38, 32, 0.62);
  margin: 0.4rem 0 0.6rem;
}

.tag-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.4rem;
}

.dot-pistacchio {
  background: var(--pistacchio);
}

.dot-arachide {
  background: var(--arachide);
}

.dot-arancio {
  background: var(--arancio);
}

.tag-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(43, 38, 32, 0.55);
}

.menu-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin-bottom: 1.4rem;
  scrollbar-width: none;
}

.menu-tabs::-webkit-scrollbar {
  display: none;
}

.menu-tab {
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid rgba(43, 38, 32, 0.12);
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(43, 38, 32, 0.7);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.menu-tab:hover {
  border-color: rgba(43, 38, 32, 0.3);
}

.menu-tab.active {
  background: var(--pistacchio-dark);
  border-color: var(--pistacchio-dark);
  color: #fff;
}

.menu-card {
  transition: opacity .2s ease;
}

.menu-card.is-hidden {
  display: none;
}

/* ---------- MENU A LISTA (per catalogo esteso) ---------- */
.menu-list-wrap {
  display: none;
}

.menu-list-wrap.is-active {
  display: block;
}

.menu-group-title {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--pistacchio-dark);
  margin: 1.6rem 0 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid rgba(94, 110, 72, 0.15);
}

.menu-group-title:first-child {
  margin-top: 0;
}

.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(43, 38, 32, 0.12);
}

.menu-row:last-child {
  border-bottom: none;
}

.menu-row-name {
  font-size: 0.94rem;
  color: var(--ink);
}

.menu-row-price {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--arancio-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Tablet+: due colonne per le liste lunghe */
@media (min-width:768px) {
  .menu-list-wrap.is-active {
    column-count: 2;
    column-gap: 2.5rem;
  }

  .menu-group-title {
    break-after: avoid;
    break-inside: avoid;
  }

  .menu-row {
    break-inside: avoid;
  }
}

.menu-allergen-note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(43, 38, 32, 0.12);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink);
  opacity: 0.75;
}

/* Tablet+: le card diventano una griglia invece di impilarsi */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.menu-card {
  margin-bottom: 0;
  height: 100%;
}

@media (min-width:768px) {
  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width:992px) {
  .menu-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ---------- LOUNGE + CONTATTI ---------- */
.lounge-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width:768px) {
  .lounge-contact-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
  }
}

.lounge {
  background: var(--pistacchio-dark);
  color: var(--cream);
  border-radius: 28px;
  padding: 2.6rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.lounge::before {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 220px;
  height: 220px;
  background: var(--arachide);
  opacity: 0.25;
  border-radius: 50%;
}

.lounge .eyebrow {
  color: var(--arachide);
}

.lounge h2 {
  color: #fff;
  font-size: 1.7rem;
}

.lounge p {
  color: rgba(250, 247, 242, 0.8);
  font-size: 0.95rem;
}

.lounge-hours {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(250, 247, 242, 0.15);
  font-size: 0.9rem;
}

.lounge-hours:last-child {
  border-bottom: none;
}

.lounge-hours span:first-child {
  color: rgba(250, 247, 242, 0.65);
}

.lounge-hours span:last-child {
  font-weight: 600;
}

/* ---------- CONTACT ---------- */
.contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid rgba(43, 38, 32, 0.06);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(43, 38, 32, 0.07);
  font-size: 0.92rem;
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

footer {
  text-align: center;
  padding: 2rem 1.25rem 2.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}

@media (min-width:576px) {
  .hero h1 {
    font-size: 3.1rem;
  }
}

/* Contenitore: evita che su schermi grandi il testo si allarghi troppo */
.container {
  max-width: 1080px;
}

/* ---------- ICONE MENU (illustrazioni a mano) ---------- */
.menu-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
}

.menu-tab .ico {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.menu-tab.active .ico {
  background: #fff;
  border-radius: 50%;
  padding: 2px;
}

.menu-group-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  border-bottom: 2px dashed rgba(31, 42, 18, 0.3);
}

.menu-group-title .ico {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.menu-row {
  border-bottom-color: rgba(31, 42, 18, 0.28);
}

.menu-row-price {
  color: var(--accent-text);
}

.menu-allergen-note {
  color: var(--ink);
  opacity: 0.9;
}

.lounge-season {
  margin-top: 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--arachide);
}

.lounge-season:first-child {
  margin-top: 0;
}


/* ---------- SEZIONE MENU: pannello come il lounge ---------- */
.menu-panel {
  background: var(--pistacchio-dark);
  color: var(--cream);
  border-radius: 28px;
  padding: 2.6rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.menu-panel::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 220px;
  height: 220px;
  background: var(--arachide);
  opacity: 0.25;
  border-radius: 50%;
  pointer-events: none;
}

.menu-panel > * {
  position: relative;
}

@media (min-width:768px) {
  .menu-panel {
    padding: 3rem 2.5rem;
  }
}

.menu-panel .eyebrow {
  color: var(--arachide);
}

.menu-panel .section-title {
  color: #fff;
}

.menu-panel .section-sub {
  color: rgba(250, 247, 242, 0.8);
}

.menu-panel .menu-tab {
  background: rgba(250, 247, 242, 0.12);
  border-color: rgba(250, 247, 242, 0.25);
  color: var(--cream);
}

.menu-panel .menu-tab .ico {
  background: var(--cream);
  border-radius: 50%;
  padding: 2px;
}

.menu-panel .menu-tab.active {
  background: var(--arancio);
  border-color: var(--arancio);
  color: #fff;
}

.menu-panel .menu-group-title {
  color: var(--arachide);
  border-bottom: 1px solid rgba(250, 247, 242, 0.2);
}

.menu-panel .menu-group-title .ico {
  background: var(--cream);
  border-radius: 50%;
  padding: 3px;
}

.menu-panel .menu-row {
  border-bottom: 1px solid rgba(250, 247, 242, 0.15);
}

.menu-panel .menu-row-name {
  color: var(--cream);
}

.menu-panel .menu-row-price {
  color: var(--arancio);
}

.menu-panel .menu-allergen-note {
  color: rgba(250, 247, 242, 0.8);
  border-top-color: rgba(250, 247, 242, 0.2);
  opacity: 1;
}

/* ---------- DOVE SIAMO: stesso verde delle altre card ---------- */
.contact-card {
  background: var(--pistacchio-dark);
  border: none;
  border-radius: 28px;
  padding: 2.6rem 1.5rem;
  color: #fff;
}

.contact-card .eyebrow {
  color: var(--arachide);
}

.contact-card .section-title,
.contact-card .contact-row,
.contact-card .contact-row a {
  color: #fff !important;
}

.contact-card .contact-row {
  border-bottom-color: rgba(250, 247, 242, 0.18);
}

.contact-card .contact-icon {
  background: var(--cream);
}

/* ---------- CARD FLUTTUANTI (effetto 3D) ---------- */
.menu-panel,
.lounge,
.contact-card {
  background: var(--pistacchio-dark);
  border: 1px solid rgba(250, 247, 242, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 4px rgba(15, 22, 8, 0.25),
    0 14px 24px -6px rgba(15, 22, 8, 0.45),
    0 38px 60px -16px rgba(15, 22, 8, 0.55);
}

/* ---------- ENTRATA DA SINISTRA durante lo scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateX(-90px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

footer {
  color: var(--cream);
}

/* ---------- NAVBAR: verde scuro come "La carta" ---------- */
.navbar-oradoro {
  background: var(--pistacchio-dark);
  border-bottom: none;
}

.navbar-oradoro .navbar-brand {
  color: #fff !important;
}

.navbar-oradoro .navbar-brand span {
  color: var(--bg);
  -webkit-text-stroke: 0;
}

.navbar-oradoro {
  box-shadow: 0 6px 18px -6px rgba(15, 22, 8, 0.5);
}

/* navbar fluttuante, staccata dal carousel */
.navbar-oradoro {
  position: relative;
  z-index: 10;
  width: calc(100% - 1.6rem);
  max-width: 1080px;
  margin: 0.8rem auto 1rem;
  border-radius: 22px;
  border: 1px solid rgba(250, 247, 242, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 4px rgba(15, 22, 8, 0.25),
    0 14px 24px -6px rgba(15, 22, 8, 0.45),
    0 28px 44px -14px rgba(15, 22, 8, 0.55);
}

/* ---------- MENU: le voci compaiono una ad una (all'apertura e mentre scorri) ---------- */
.menu-list-wrap > * {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
}

.menu-list-wrap > .is-in {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .menu-list-wrap > * { opacity: 1; transform: none; transition: none; }
}


/* ---------- SPAZIO navbar -> carousel (come tra le sezioni) ---------- */
.navbar-oradoro {
  margin-bottom: 3.2rem;
}

@media (min-width:768px) {
  .navbar-oradoro {
    margin-bottom: 4.5rem;
  }
}

/* ---------- CAROUSEL A CARD (multi-browse): una grande, una media, una che spunta ---------- */
.hero-carousel {
  margin-bottom: 3.2rem;
  --L: 74%;
  --M: 24%;
  --S: 24%;
  --gap: 12px;
  --r: 28px;
}

@media (min-width:768px) {
  .hero-carousel {
    margin-bottom: 4.5rem;
    --L: 54%;
    --M: 26%;
    --S: calc(20% - 32px);
    --gap: 16px;
    --r: 32px;
  }
}

.hc-stage {
  position: relative;
  display: flex;
  height: clamp(430px, 66vh, 620px);
  /* taglia ai lati ma lascia respirare le ombre sopra e sotto */
  clip-path: inset(-60px 0 -70px 0);
}

.hc-slide {
  position: relative;
  flex: 0 0 var(--S);
  width: var(--S);
  margin-right: var(--gap);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--fallback);
  cursor: pointer;
  border: 1px solid rgba(250, 247, 242, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 4px rgba(15, 22, 8, 0.25),
    0 14px 24px -6px rgba(15, 22, 8, 0.45),
    0 30px 46px -16px rgba(15, 22, 8, 0.5);
  transition: flex-basis .8s cubic-bezier(.65, 0, .25, 1), width .8s cubic-bezier(.65, 0, .25, 1),
              margin .8s cubic-bezier(.65, 0, .25, 1), opacity .8s ease, border-width .8s;
}

.hc-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease-out, filter .8s ease;
  filter: brightness(.8);
}

.hc-slide.is-cur { flex-basis: var(--L); width: var(--L); cursor: default; }
.hc-slide.is-cur img { transform: scale(1.06); filter: none; }
.hc-slide.is-next { flex-basis: var(--M); width: var(--M); }

/* le foto già passate si chiudono a sinistra */
.hc-slide.is-prev {
  flex-basis: 0;
  width: 0;
  margin-right: 0;
  opacity: 0;
  border-width: 0;
}

/* testo sempre sopra la card grande (la prima da sinistra) */
.hc-text-wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--L);
  z-index: 3;
  border-radius: 0 0 var(--r) var(--r);
  padding: 6rem 1.4rem 1.6rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0) 100%);
  color: #fff;
  pointer-events: none;
}

.hc-text-wrap a { pointer-events: auto; }

@media (min-width:768px) {
  .hc-text-wrap { padding: 8rem 2.4rem 2.2rem; }
}

.hero-carousel .eyebrow { color: #D9F58F; }

.hero-carousel h1 {
  font-size: 2rem;
  line-height: 1.05;
  margin: 0.5rem 0 0.8rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-carousel h1 em {
  font-style: italic;
  color: #C8F26B;
}

.hero-carousel p.lead {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34ch;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

@media (min-width:768px) {
  .hero-carousel h1 { font-size: 3.2rem; }
  .hero-carousel p.lead { font-size: 1.05rem; }
}

/* controlli sotto le card */
.hc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.6rem;
}

.hc-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(250, 247, 242, 0.3);
  background: rgba(250, 247, 242, 0.14);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease;
}

@media (hover: hover) {
  .hc-arrow:hover { background: rgba(250, 247, 242, 0.3); }
}

.hc-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 60%;
  flex-wrap: wrap;
  justify-content: center;
}

.hc-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: rgba(250, 247, 242, 0.45);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.hc-dot.is-active {
  width: 26px;
  border-radius: 10px;
  background: var(--arancio);
}

@media (prefers-reduced-motion: reduce) {
  .hc-slide, .hc-slide img { transition: none; }
}

/* spazio ridotto tra carousel e "La carta" */
.hero-carousel,
.hero-carousel {
  margin-bottom: 0;
}

#menu {
  padding-top: 1.2rem;
}

@media (min-width:768px) {
  .hero-carousel { margin-bottom: 0; }
  #menu { padding-top: 1.5rem; }
}


/* ---------- MOBILE: layout da quattro foto (1 grande + 3 piccole) ---------- */
@media (max-width:767.98px) {
  .hc-stage {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    height: auto;
    clip-path: none;
  }

  .hc-slide {
    display: none;
    width: auto !important;
    margin: 0 !important;
    opacity: 1 !important;
    border-width: 1px !important;
    height: 118px;
    grid-column: span 2;
  }

  .hc-slide:nth-child(-n+4) { display: block; }
  .hc-slide:nth-child(1) { grid-column: span 6; height: 380px; }

  .hc-slide img,
  .hc-slide.is-cur img { transform: none; filter: none; }

  .hc-text-wrap {
    top: 0;
    bottom: auto;
    height: 380px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 6rem 1.4rem 1.4rem;
  }

  /* il quarto riquadro apre la galleria con il conteggio delle altre foto */
  .hc-slide:nth-child(4)::after {
    content: "+" attr(data-more);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 22, 8, 0.55);
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
  }

  .hc-controls { display: none; }
}

/* ---------- GALLERIA A SCHERMO INTERO ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  flex-direction: column;
  background: rgba(10, 14, 6, 0.96);
}

.lb.is-open { display: flex; }

.lb-track {
  flex: 1;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior: contain;
}

.lb-track::-webkit-scrollbar { display: none; }

.lb-item {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 0.6rem 3rem;
}

.lb-item img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
}

.lb-close,
.lb-nav {
  position: absolute;
  border: none;
  border-radius: 50%;
  background: rgba(250, 247, 242, 0.16);
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.lb-close {
  top: 0.9rem;
  right: 0.9rem;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
}

.lb-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 2rem;
  display: none;
}

@media (hover: hover) and (min-width:768px) {
  .lb-nav { display: block; }
}

.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

.lb-count {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}


/* ---------- LINGUA DEL MENU ---------- */
.menu-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.lang-picker {
  position: relative;
  flex-shrink: 0;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(250, 247, 242, 0.35);
  background: rgba(250, 247, 242, 0.12);
  color: var(--cream);
  font: 600 0.82rem 'Inter', sans-serif;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .lang-btn:hover { background: rgba(250, 247, 242, 0.22); }
}

.lang-caret { transition: transform .2s ease; }
.lang-picker.is-open .lang-caret { transform: rotate(180deg); }

.lang-list {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  z-index: 20;
  min-width: 170px;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--cream);
  color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 14px 30px -8px rgba(15, 22, 8, 0.55);
}

.lang-list[hidden] { display: none; }

.lang-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.7rem;
  border-radius: 11px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.lang-list li[aria-selected="true"] { background: rgba(94, 110, 72, 0.18); font-weight: 700; }

@media (hover: hover) {
  .lang-list li:hover { background: rgba(94, 110, 72, 0.12); }
}

.lang-short {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 22px;
  border-radius: 6px;
  background: var(--pistacchio-dark);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- ALLERGENI (legenda a tendina) ---------- */
.menu-panel .allergens {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(250, 247, 242, 0.2);
}

.menu-panel .allergens .menu-allergen-note {
  margin: 0.9rem 0 0;
  padding: 0;
  border: none;
}

.allergen-box summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.1rem;
  border-radius: 100px;
  background: var(--arancio);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

.allergen-box summary::-webkit-details-marker { display: none; }

.allergen-box summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}

.allergen-box[open] summary::after { transform: rotate(-135deg) translateY(-2px); }

.allergen-body {
  margin-top: 1rem;
  padding: 1.2rem 1.2rem 1.3rem;
  border-radius: 18px;
  background: rgba(250, 247, 242, 0.1);
  border: 1px solid rgba(250, 247, 242, 0.18);
  font-size: 0.88rem;
  color: rgba(250, 247, 242, 0.9);
  animation: allergenIn .3s ease both;
}

@keyframes allergenIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.allergen-title {
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 0.6rem;
}

.allergen-body p { margin: 0 0 0.6rem; }
.allergen-list-title { font-weight: 600; margin-top: 0.9rem !important; color: var(--arachide); }

.allergen-list {
  list-style: none;
  margin: 0.4rem 0 0.8rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.allergen-list li { display: flex; gap: 0.7rem; align-items: flex-start; }

.allergen-num {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--arancio);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.allergen-foot { font-style: italic; opacity: 0.85; margin: 0 !important; }

/* numeri degli allergeni accanto alle voci del menu */
.menu-panel .alg {
  margin-left: 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--arachide);
  letter-spacing: 0.02em;
}
