/* =========================================================
   Amore Poké — landing styles
   Palette: teal (brand primario, dal logo) + magenta (accento/CTA, dal menu) + crema
   ========================================================= */

:root {
  color-scheme: light;

  --green-50:  #e0f2f1;
  --green-100: #b2dfdb;
  --green-300: #4db8ac;
  --green-500: #0F766E;   /* primario brand, dal logo */
  --green-600: #00695c;
  --green-700: #004d40;
  --green-800: #00453f;
  --green-900: #003d38;

  --pink-50:  #fdeaf5;
  --pink-100: #f9cfe6;
  --pink-300: #f272b8;
  --pink-500: #ec1c8d;   /* accento/CTA, dalle fasce del menu */
  --pink-600: #d1147a;
  --pink-700: #a80f63;

  --cream:     #ffffff;
  --cream-2:   #f9faf9;
  --sand:      #f0f2f1;

  --ink:       #1f1d1b;
  --ink-2:     #4a3f38;
  --muted:     #8a7e74;
  --line:      rgba(31,29,27,0.10);

  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 28px;
  --radius-xl: 40px;

  --shadow-sm: 0 4px 14px rgba(31,29,27,0.06);
  --shadow-md: 0 14px 40px rgba(236,28,141,0.18);
  --shadow-lg: 0 30px 80px rgba(31,29,27,0.12);

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;

  --container: 1180px;
  --pad-x: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

/* richiami disclaimer (*, **, ***) nei nomi prodotto: più piccoli ed eleganti */
.asterisk {
  font-size: 0.65em;
  opacity: 0.7;
  vertical-align: super;
  line-height: 0;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: #fff;
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--pink-600); }

h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0 0 .4em;
  color: #fff;
}
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 500;
  color: var(--pink-500);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 18px;
}
.eyebrow--pink { color: var(--pink-700); background: var(--pink-50); }
.eyebrow--white { color: #fff; background: rgba(255,255,255,0.18); backdrop-filter: blur(6px); }

/* ----- buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .35; pointer-events: none; }

.btn--primary {
  background: var(--pink-500);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { background: var(--pink-600); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; }

.btn--lg { padding: 16px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ----- decorative leaves ----- */
.leaves {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.leaf {
  position: absolute;
  width: 120px; height: 120px;
  opacity: .35;
  filter: drop-shadow(0 4px 8px rgba(27,94,80,.15));
  animation: float 14s ease-in-out infinite;
}
.leaf-1 { top: 8%;   left: -40px;  transform: rotate(-30deg); animation-delay: 0s; }
.leaf-2 { top: 40%;  right: -50px; transform: rotate(45deg);  animation-delay: -4s; width: 160px; height: 160px; }
.leaf-3 { bottom: 10%; left: 5%;   transform: rotate(80deg);  animation-delay: -8s; width: 90px;  height: 90px; opacity: .25; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-22px) rotate(calc(var(--r, 0deg) + 8deg)); }
}

/* ============== NAV ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center;
  gap: 24px;
  padding: 14px var(--pad-x);
  background: rgba(255, 250, 243, 0.92);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(31,29,27,0.1);
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-right: auto;
}
.nav__brand img {
  border-radius: 50%;
  border: 2px solid var(--green-500);
  padding: 2px;
  background: #fff;
}
.nav__brand b { color: var(--green-500); font-weight: 800; }
.nav__brand span { color: var(--ink); }
.nav__links {
  display: flex; gap: 28px;
  font-weight: 500; font-size: .95rem;
  color: var(--ink);
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  color: var(--ink);
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--pink-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__burger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(31,29,27,0.2);
  background: rgba(31,29,27,0.05); border-radius: 12px;
  cursor: pointer;
}
.nav__burger span {
  display: block; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: sticky; top: 70px; z-index: 49;
  background: rgba(255, 250, 243, 0.95);
  border-bottom: 1px solid rgba(31,29,27,0.1);
  padding: 16px var(--pad-x) 22px;
  display: none;
  flex-direction: column;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
}
.mobile-menu:not([hidden]) { display: flex; }

@media (max-width: 820px) {
  .nav {
    gap: 12px;
  }
  .nav__brand {
    font-size: 1rem;
    gap: 8px;
  }
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__cta {
    padding: 10px 14px;
    font-size: .85rem;
  }
}

/* navbar hide on scroll down */
.nav.is-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.nav {
  transition: transform 0.3s ease;
}

/* ============== HERO ============== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 5vw, 80px);
  align-items: start;
  padding: clamp(40px, 7vw, 100px) var(--pad-x) clamp(60px, 8vw, 130px);
  max-width: 100%;
  background: var(--green-500);
  background-image: radial-gradient(ellipse at 100% 0%, rgba(255,255,255,0.1) 0%, transparent 60%);
}
.hero > * {
  max-width: var(--container);
}
.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.hero__title {
  margin-top: 6px;
  font-weight: 900;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px;
}
.hero__badges {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.hero__badges li {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  box-shadow: none;
  color: #fff;
}

.hero__bowl {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.bowl-img {
  width: min(100%, 480px);
  filter: drop-shadow(0 30px 50px rgba(27,94,80,0.22));
  animation: bowl-bob 6s ease-in-out infinite, bowl-spin 60s linear infinite;
}
.bowl-shadow {
  position: absolute;
  bottom: 6%;
  width: 60%; height: 26px;
  background: radial-gradient(ellipse, rgba(31,29,27,0.18), transparent 65%);
  filter: blur(6px);
  animation: shadow-bob 6s ease-in-out infinite;
}
@keyframes bowl-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes shadow-bob {
  0%, 100% { transform: scale(1); opacity: .6; }
  50%      { transform: scale(.85); opacity: .35; }
}
@keyframes bowl-spin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero__bowl { order: -1; max-width: 360px; margin: 0 auto; }
}

/* ============== ABOUT ============== */
.about {
  background: #fff;
  padding: clamp(60px, 8vw, 110px) var(--pad-x);
  position: relative;
  width: 100%;
}
.about h2 { color: var(--green-500); }
.about__inner { max-width: var(--container); margin: 0 auto; }
.about__inner h2 { max-width: 18ch; margin-bottom: 40px; }
.about__lead {
  font-size: 1.15rem;
  color: var(--ink-2);
  border-left: 4px solid var(--green-500);
  padding-left: 22px;
  max-width: 70ch;
  margin-bottom: clamp(36px, 5vw, 56px);
}

/* ----- galleria piatti (sostituisce le vecchie card valori) ----- */
.about__dishes {
  width: 100%;
}
.about__dishes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.about__dish-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.about__dish-img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about__dish-item:hover .about__dish-img {
  transform: scale(1.06);
  box-shadow: var(--shadow-md);
}
.about__dish-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about__dish-label {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green-500);
  text-align: center;
}

@media (max-width: 820px) {
  .about__dishes {
    overflow: hidden;
  }
  .about__dishes-grid {
    display: flex;
    flex-direction: row;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .about__dish-item {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about__dish-img {
    width: 220px;
    max-width: 60vw;
    margin: 0 auto;
  }
}

/* ============== BOWLS ============== */
.bowls {
  padding: clamp(60px, 8vw, 110px) var(--pad-x);
  max-width: var(--container);
  margin: 0 auto;
}
.bowls__head { text-align: center; margin-bottom: 56px; }
.bowls__head h2 { margin-bottom: 14px; }
.bowls__sub { color: var(--muted); max-width: 50ch; margin: 0 auto; }

.bowls__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bowl-card {
  background: #fff;
  border-radius: var(--radius-l);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.bowl-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, var(--pink-50), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.bowl-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.bowl-card:hover::before { opacity: 1; }
.bowl-card--featured {
  background: linear-gradient(160deg, var(--pink-50), #fff);
  border-color: var(--pink-100);
  transform: translateY(-12px);
}
.bowl-card--featured:hover { transform: translateY(-18px); }
.bowl-card__media {
  width: 100%;
  aspect-ratio: 1;
  max-width: 220px;
  margin-bottom: 18px;
  position: relative;
}
.bowl-card__body { position: relative; z-index: 1; }
.bowl-card__body p { color: var(--muted); font-size: .94rem; margin-bottom: 14px; }

.badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--pink-500);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.tag--teal { background: var(--green-100); color: var(--green-700); }
.tag--pink { background: var(--pink-50); color: var(--pink-700); }

@media (max-width: 900px) {
  .bowls__grid { grid-template-columns: 1fr; }
  .bowl-card--featured { transform: none; }
  .bowl-card--featured:hover { transform: translateY(-8px); }
}

/* ============== FEATURED DISHES ============== */
.featured {
  background: var(--green-500);
  padding: clamp(40px, 6vw, 80px) var(--pad-x);
}
.featured__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.featured__carousel {
  position: relative;
}
.featured__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.featured__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.featured__btn {
  width: 100%;
  aspect-ratio: 1;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.featured__btn:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-md);
}
.featured__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.featured__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  text-align: center;
}

.featured__prev, .featured__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 118, 110, 0.9);
  color: #fff;
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  font-weight: bold;
}
.featured__prev:hover, .featured__next:hover {
  background: var(--green-500);
  transform: translateY(-50%) scale(1.1);
}
.featured__prev { left: -56px; }
.featured__next { right: -56px; }

@media (max-width: 1024px) {
  .featured__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .featured__grid {
    display: none;
  }
}

@media (max-width: 640px) {
  .featured {
    padding: 30px var(--pad-x);
  }
  .featured__grid {
    display: flex !important;
    flex-direction: row;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .featured__item {
    flex: 0 0 100%;
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
  }
  .featured__prev, .featured__next {
    display: none !important;
  }
  .featured__carousel {
    display: flex;
    justify-content: center;
  }
}

/* ============== GALLERY ============== */
.gallery {
  background: var(--cream-2);
  padding: clamp(60px, 9vw, 100px) var(--pad-x);
}
.gallery__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.gallery h2 {
  margin-bottom: clamp(40px, 6vw, 60px);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 3vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.gallery__grid li {
  overflow: hidden;
  border-radius: var(--radius-m);
  aspect-ratio: 1;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery__grid li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.gallery__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }
}

/* ============== BUILDER / ORDINA ============== */
.build {
  background: linear-gradient(135deg, var(--green-500) 0%, var(--green-600) 50%, var(--green-700) 100%);
  color: #fff;
  padding: clamp(70px, 9vw, 130px) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.build::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(236,28,141,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.build::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  pointer-events: none;
}

.build__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
  position: relative;
}
.build__head h2 { color: #fff; }
.build__head h2 em { color: var(--pink-300); }
.build__sub { color: rgba(255,255,255,.9); }
.build__disclaimer {
  max-width: 700px;
  margin: 28px auto 0;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.65);
}

/* ----- tab switcher: builder vs menu ----- */
.ordina__tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto 24px;
  flex-wrap: wrap;
}
.ordina__tab {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: .95rem;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ordina__tab:hover { border-color: #fff; }
.ordina__tab.is-active {
  background: var(--pink-500);
  border-color: var(--pink-500);
  color: #fff;
}
.ordina__panel { display: none; }
.ordina__panel.is-active { display: block; }

/* shared layout: tab content on the left, persistent cart summary on the right */
.ordina__body {
  display: grid;
  grid-template-columns: 1fr 320px;
  grid-template-areas: "main summary";
  gap: 28px 36px;
  max-width: 980px;
  margin: 0 auto;
  align-items: start;
}
.ordina__main {
  grid-area: main;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
}

.builder,
.menu-browser {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.builder__size-label {
  display: block;
  font-weight: 600;
  font-size: .85rem;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.builder__size-note {
  margin: 8px 0 0;
  font-size: .8rem;
  color: var(--ink-2);
}
.builder__steps {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.builder__steps li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.builder__steps li.is-active {
  background: var(--pink-50);
  color: var(--pink-700);
}
.builder__steps li.is-done .step-num {
  background: var(--green-500);
  color: #fff;
}
.step-num {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  font-size: .8rem;
  font-weight: 700;
}
.is-active .step-num {
  background: var(--pink-500);
  color: #fff;
}

.builder__panes { min-height: 200px; position: relative; }
.builder__pane {
  display: none;
  animation: fadeIn .35s ease;
}
.builder__pane.is-active { display: block; }
.builder__pane h3,
.builder__ready h3 {
  margin-top: 20px;
  margin-bottom: 18px;
  color: var(--ink);
  font-weight: 700;
}
.builder__pane h3 small {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .85rem;
  color: var(--muted);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chips {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.chip {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: .95rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: all .18s ease;
}
.chip:hover { border-color: var(--pink-500); transform: translateY(-2px); }
.chip.is-selected {
  background: var(--pink-500);
  border-color: var(--pink-500);
  color: #fff;
  box-shadow: 0 6px 16px rgba(236,28,141,.35);
}

.chip--selected {
  background: var(--pink-500);
  border-color: var(--pink-500);
  color: #fff;
  box-shadow: 0 6px 16px rgba(236,28,141,.35);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}
.chip--selected .chip__dec,
.chip--selected .chip__inc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  color: #fff;
  transition: background .15s ease;
}
.chip--selected .chip__dec:hover,
.chip--selected .chip__inc:hover {
  background: rgba(255,255,255,.35);
}
.chip--selected .chip__label {
  flex: 1;
  display: inline-block;
  min-width: 80px;
}
.chip--selected .chip__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  font-weight: 700;
  font-size: .9rem;
}

/* ----- modal ----- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
}
.modal[hidden] { display: none !important; }
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(31,29,27,0.4);
  backdrop-filter: blur(2px);
}
.modal__dialog {
  position: relative; z-index: 101;
  background: #fff;
  border-radius: var(--radius-l);
  padding: 32px;
  max-width: 380px;
  width: 90vw;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.modal__title {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 1.35rem;
}
.modal__message {
  color: var(--ink);
  margin: 0 0 20px;
  font-size: .95rem;
  line-height: 1.6;
}
.modal__hours {
  background: var(--sand);
  border-radius: var(--radius-s);
  padding: 16px;
  margin: 0 0 24px;
  color: var(--ink);
  font-size: .9rem;
  text-align: left;
  line-height: 1.8;
}
.modal__hours strong { display: block; margin-bottom: 8px; }
.modal__actions {
  display: flex; gap: 12px; justify-content: center;
}
.modal__actions .btn {
  flex: 1; min-width: 100px;
}

.modal__dialog--image {
  padding: 16px;
  max-width: 480px;
}
.modal__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 0;
  background: var(--sand);
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease;
}
.modal__close:hover { background: var(--line); }
.modal__image {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  border-radius: var(--radius-s);
  display: block;
}
.modal__image-title {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 1.15rem;
}

.builder__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.ordina__summary {
  grid-area: summary;
  background: #fff;
  border-radius: var(--radius-l);
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.1);
  position: sticky;
  top: 90px;
  align-self: start;
}
.ordina__summary h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 16px;
  color: #000;
  font-weight: 800;
}
.summary-list {
  list-style: none; margin: 0 0 18px; padding: 0;
}
.summary-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .92rem;
}
.summary-list li:last-child { border-bottom: 0; }
.summary-list span { color: var(--ink-2); font-weight: 500; }
.summary-list b {
  color: var(--ink);
  text-align: right;
  max-width: 60%;
  font-weight: 700;
}
.summary-list b.is-empty { color: var(--muted); font-weight: 400; }

/* ----- cart inside shared summary ----- */
.ordina__summary [data-add-cart] {
  margin-bottom: 18px;
}

.cart {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.cart__title {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  color: var(--ink);
}
.cart__count {
  display: inline-grid; place-items: center;
  min-width: 24px; height: 24px; padding: 0 8px;
  background: var(--pink-500);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
}
.cart__list {
  list-style: none; margin: 0 0 16px; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.cart__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 12px 14px;
}
.cart__item-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}
.cart__item-head b {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
}
.cart__item-price {
  font-size: .78rem;
  color: var(--muted);
  font-weight: 600;
  margin-right: auto;
  padding-left: 8px;
}
.cart__remove {
  width: 26px; height: 26px;
  border: 0; border-radius: 50%;
  background: var(--cream-2);
  color: var(--muted);
  font-size: 1.1rem; line-height: 1;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cart__remove:hover { background: var(--pink-500); color: #fff; }
.cart__item-details {
  list-style: none; margin: 0 0 10px; padding: 0;
  font-size: .82rem;
}
.cart__item-details li {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 3px 0;
}
.cart__item-details span { color: var(--muted); flex: 0 0 auto; }
.cart__item-details b {
  text-align: right; font-weight: 600;
  word-break: break-word;
  color: var(--ink);
}
.cart__qty {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cream-2);
  border-radius: 999px;
  padding: 4px 6px;
}
.qty-btn {
  width: 26px; height: 26px;
  border: 0; border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1rem; font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.qty-btn:hover { background: var(--pink-500); color: #fff; }
.qty-val {
  min-width: 18px; text-align: center;
  font-weight: 700; font-size: .9rem;
}

.cart__total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0;
  border-top: 1px dashed var(--line);
  font-family: var(--font-display);
}
.cart__total span { font-size: .9rem; color: var(--muted); font-family: var(--font-sans); }
.cart__total b { font-size: 1.3rem; color: var(--pink-600); }
.cart__total-note {
  margin: 0 0 16px;
  font-size: .76rem;
  color: var(--muted);
}

.cart__form {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 14px;
}
.field {
  display: flex; flex-direction: column; gap: 4px;
  font-size: .82rem;
  color: var(--muted);
}
.field span small { font-weight: 400; }
.field input,
.field textarea {
  font-family: inherit;
  font-size: .92rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  padding: 10px 12px;
  resize: vertical;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--pink-500);
  box-shadow: 0 0 0 3px rgba(236,28,141,.15);
}
.field input.is-invalid {
  border-color: var(--pink-600);
  background: #fff5f5;
}
.field .required {
  color: var(--pink-600);
  font-weight: 700;
  margin-left: 2px;
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37,211,102,.28);
}
.btn--whatsapp:hover { background: #1fbb59; color: #fff; }
.btn--whatsapp.is-disabled {
  opacity: .35;
  pointer-events: none;
}

.cart__hint {
  margin: 10px 0 0;
  font-size: .76rem;
  color: var(--muted);
  text-align: center;
}

/* ----- menu browser (tab: scegli dal menu) ----- */
.menu-browser__categories {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.menu-browser__categories button {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .88rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .18s ease;
}
.menu-browser__categories button.is-active {
  background: var(--green-500);
  border-color: var(--green-500);
  color: #fff;
}
.menu-browser__items {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 14px;
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.menu-item:last-child { border-bottom: 0; }
.menu-item__img {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  border-radius: var(--radius-s);
  object-fit: cover;
  cursor: pointer;
}
.menu-item__main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.menu-item__info { flex: 1 1 auto; min-width: 0; }
.menu-item__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  overflow-wrap: break-word;
  color: var(--ink);
}
.menu-item__desc {
  margin: 2px 0 0;
  font-size: .84rem;
  color: var(--ink-2);
  overflow-wrap: break-word;
}
.menu-item__price {
  flex: 0 0 auto;
  font-weight: 700;
  color: var(--green-600);
  font-size: .95rem;
  min-width: 64px;
  text-align: right;
}
.menu-item__add {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--pink-500);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.menu-item__add:hover { background: var(--pink-600); transform: scale(1.06); }

@media (max-width: 880px) {
  .ordina__body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "main" "summary";
  }
  .ordina__summary { position: static; }
  .menu-browser__categories { overflow-x: auto; flex-wrap: nowrap; }
}

/* menu items: row layout (name/desc + price + add button all inline) breaks
   down on narrow screens with long dish names; stack name/desc on their own
   line, price and button on a second line below */
@media (max-width: 480px) {
  .ordina__main { padding: 20px 16px; }
  .menu-item {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .menu-item__main { flex: 1 1 100%; }
  .menu-item__price { text-align: left; min-width: 0; }
  .menu-item__add { margin-left: auto; }
}

/* ----- cart item details: stacked layout on phones ----- */
/* on narrow screens a row layout (label — value side by side) breaks down
   for long values like the ingredients list, which wrap awkwardly and eat
   vertical space; stack label above value instead */
@media (max-width: 480px) {
  .cart__item-details li {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 6px 0;
  }
  .cart__item-details span {
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .04em;
  }
  .cart__item-details b {
    text-align: left;
  }
}

/* ============== CONTACT ============== */
.contact {
  background: #fff;
  padding: clamp(60px, 8vw, 110px) var(--pad-x);
  width: 100%;
  color: var(--ink);
  overflow: hidden;
}
.contact__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.contact h2 { color: var(--green-500); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: stretch;
}
.contact__lead { color: var(--ink-2); margin-bottom: 30px; max-width: 40ch; }
.contact__list { list-style: none; padding: 0; margin: 0 0 30px; }
.contact__list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.contact__list li:last-child { border-bottom: 0; }
.contact__list a { color: var(--green-500); font-weight: 600; }
.ci {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px;
  background: var(--green-50);
  border-radius: 12px;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.muted { color: var(--muted); display: block; font-size: .82rem; margin-top: 2px; }
.contact__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.contact__map {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(31,29,27,0.1);
  border: 1px solid var(--line);
  min-height: 420px;
}
.contact__map iframe {
  width: 100%; height: 100%; min-height: 420px;
  border: 0;
}

@media (max-width: 880px) {
  .contact__inner { grid-template-columns: 1fr; }
}

/* ============== FOOTER ============== */
.footer {
  background: var(--ink);
  color: #fff;
  padding: clamp(50px, 6vw, 80px) var(--pad-x) 30px;
}
.footer__inner { max-width: var(--container); margin: 0 auto; }
.footer__brand {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 40px;
}
.footer__brand img {
  border-radius: 50%;
  border: 2px solid var(--green-500);
}
.footer__brand b {
  font-family: var(--font-display);
  font-size: 1.4rem;
  display: block;
}
.footer__brand p { margin: 0; color: rgba(255,255,255,.55); font-size: .9rem; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 24px;
}
.footer__cols h5 {
  font-family: var(--font-sans);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pink-300);
  margin: 0 0 14px;
  font-weight: 700;
}
.footer__cols ul { list-style: none; padding: 0; margin: 0; }
.footer__cols li { padding: 5px 0; color: rgba(255,255,255,.78); font-size: .92rem; }
.footer__cols a:hover { color: var(--pink-300); }

.app-logo {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: text-bottom;
}

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}
.footer__bottom a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 720px) {
  .footer__cols { grid-template-columns: 1fr; gap: 22px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .powered-by {
    align-self: flex-end;
    font-size: 0.68rem;
    gap: 6px;
  }
  .powered-by img { height: 24px; }
}

/* ============== POWERED BY ============== */
.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  line-height: 1.4;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.powered-by:hover {
  color: rgba(255, 255, 255, 0.75);
}
.powered-by img {
  height: 38px;
  width: auto;
  opacity: 0.85;
}
.powered-by__text strong { color: rgba(255, 255, 255, 0.6); }

/* ============== motion preferences ============== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
