/* ===== TOKENS ===== */
:root {
  --bg: #faf8f5;
  --bg-alt: #f1ede7;
  --ink: #1a1a1a;
  --ink-soft: #5c5852;
  --line: #e3ddd4;
  --accent: #c8442f;        /* rosso ciliegia / shoyu */
  --accent-dark: #a8351f;
  --gold: #e7b34a;          /* oro: header landing sopra l'hero scuro */
  --gold-deep: #cf9a2f;
  --white: #ffffff;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Jost", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.container { width: 90%; max-width: var(--container); margin-inline: auto; }
.section { padding: clamp(5rem, 11vw, 9rem) 0; }

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.section__head { max-width: 620px; margin-bottom: 3.5rem; }
.section__head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.section__lead { color: var(--ink-soft); margin-top: 1.1rem; font-size: 1.05rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 2rem;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500; border-radius: var(--radius);
  transition: all 0.4s var(--ease); cursor: pointer; border: 1px solid transparent;
}
.btn--solid { background: var(--accent); color: var(--white); }
.btn--solid:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--whatsapp { background: #25d366; color: #fff; gap: 0.55rem; }
.btn--whatsapp:hover { background: #1da851; transform: translateY(-2px); }
.btn--whatsapp svg { flex-shrink: 0; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.5rem 0; transition: all 0.4s var(--ease);
}
.nav.scrolled {
  padding: 0.9rem 0;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__logo {
  font-family: "Playfair Display", serif; font-size: 1.5rem; font-weight: 600;
  display: flex; align-items: center; gap: 0.5rem; letter-spacing: 0.05em;
}
.nav__logo span { font-size: 1.05rem; letter-spacing: 0.25em; }
.nav__logo-img { height: 32px; width: auto; display: block; }
/* landing sopra l'hero scuro: logo in chiaro */
body:not(.is-subpage) .nav:not(.scrolled) .nav__logo-img { filter: invert(1); }
.nav__links { display: flex; align-items: center; gap: 2.4rem; }
.nav__links a {
  font-size: 0.82rem; letter-spacing: 0.06em; color: var(--ink-soft);
  transition: color 0.3s; position: relative;
}
.nav__links a:not(.nav__cta):hover { color: var(--ink); }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px;
  background: var(--accent); transition: width 0.3s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  border: 1px solid var(--ink); padding: 0.6rem 1.4rem; border-radius: var(--radius);
  color: var(--ink) !important; transition: all 0.3s;
}
.nav__cta:hover { background: var(--accent); border-color: var(--accent); color: var(--white) !important; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); transition: all 0.3s var(--ease); }
/* Landing: header in oro sopra l'hero scuro (stato non scrollato) per più contrasto */
body:not(.is-subpage) .nav:not(.scrolled) .nav__logo,
body:not(.is-subpage) .nav:not(.scrolled) .nav__links a { color: var(--gold); }
body:not(.is-subpage) .nav:not(.scrolled) .nav__links a:not(.nav__cta):hover { color: #fff; }
body:not(.is-subpage) .nav:not(.scrolled) .nav__links a:not(.nav__cta)::after { background: var(--gold); }
body:not(.is-subpage) .nav:not(.scrolled) .nav__cta { border-color: var(--gold); color: var(--gold) !important; }
body:not(.is-subpage) .nav:not(.scrolled) .nav__cta:hover { background: var(--gold); border-color: var(--gold); color: #2a2007 !important; }
body:not(.is-subpage) .nav:not(.scrolled) .nav__toggle span { background: var(--gold); }

.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  overflow: hidden; background: var(--ink);
}
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 16, 14, 0.82) 0%, rgba(18, 16, 14, 0.55) 45%, rgba(18, 16, 14, 0.35) 100%),
    linear-gradient(0deg, rgba(18, 16, 14, 0.55) 0%, transparent 40%);
}
.hero__inner {
  position: relative; z-index: 2;
  padding-top: 8rem; padding-bottom: 7rem; width: 90%; max-width: var(--container);
}
.hero__content { max-width: 720px; }
.hero__eyebrow {
  font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: #f0a99c; margin-bottom: 1.8rem; font-weight: 500;
}
.hero__title { font-size: clamp(2.8rem, 6.5vw, 5.4rem); color: var(--bg); }
.hero__sub {
  margin-top: 1.8rem; max-width: 520px; font-size: 1.1rem; color: rgba(250, 248, 245, 0.82);
}
.hero__actions { margin-top: 2.6rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.btn--on-dark { border-color: rgba(250, 248, 245, 0.7); color: var(--bg); }
.btn--on-dark:hover { background: var(--bg); border-color: var(--bg); color: var(--ink); }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 5%; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(250, 248, 245, 0.7);
}
.hero__line { width: 1px; height: 48px; background: rgba(250, 248, 245, 0.5); position: relative; overflow: hidden; }
.hero__line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--accent); animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine { 0% { top: -50%; } 100% { top: 100%; } }

/* ===== MARQUEE ===== */
.marquee {
  background: var(--ink); color: var(--bg); overflow: hidden; padding: 1.1rem 0;
  white-space: nowrap;
}
.marquee__track { display: inline-flex; animation: marquee 26s linear infinite; }
.marquee__track span {
  font-family: "Playfair Display", serif; font-size: 1.4rem; font-style: italic;
  letter-spacing: 0.04em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== CONCEPT ===== */
.concept { background: var(--bg); }
.concept__text { max-width: 720px; }
.concept__text h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1.5rem; }
.concept__text p { color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 60ch; }

/* ===== MENU / PLANS ===== */
.menu { background: var(--bg-alt); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.plan {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.6rem 2rem; position: relative; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(26,26,26,0.18); }
.plan--featured { border-color: var(--accent); background: var(--ink); color: var(--bg); }
.plan--featured .plan__days, .plan--featured .plan__note { color: rgba(255,255,255,0.6); }
.plan--featured .plan__list li { border-color: rgba(255,255,255,0.12); }
.plan__badge {
  position: absolute; top: -12px; left: 2rem; background: var(--accent); color: var(--white);
  font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.4rem 0.9rem;
  border-radius: 2px;
}
.plan__top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.4rem; }
.plan__top h3 { font-size: 1.8rem; }
.plan__days { font-size: 0.78rem; letter-spacing: 0.06em; color: var(--ink-soft); text-transform: uppercase; }
.plan__price { font-family: "Playfair Display", serif; font-size: 4rem; font-weight: 600; line-height: 1; margin-bottom: 1.6rem; }
.plan__price span { font-size: 1.6rem; vertical-align: super; margin-right: 0.1rem; }
.plan__price small { font-size: 1.5rem; }
.plan__list li { font-size: 0.92rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.plan__list li:first-child { padding-top: 0; }
.plan__note { font-size: 0.78rem; letter-spacing: 0.05em; color: var(--ink-soft); margin-top: 1.4rem; text-transform: uppercase; }
.menu__disclaimer { text-align: center; margin-top: 2.6rem; font-size: 0.88rem; color: var(--ink-soft); }
.menu__cta { text-align: center; margin-top: 2.6rem; }
.data-error { text-align: center; color: var(--ink-soft); grid-column: 1 / -1; }
.data-error a { color: var(--accent); }

/* ===== SOTTOPAGINA (nav solida + intestazione) ===== */
.nav--solid {
  background: rgba(250, 248, 245, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav__links a.is-current { color: var(--ink); }
.nav__links a.is-current::after { width: 100%; }

.page-hero {
  padding: clamp(8rem, 14vw, 11rem) 0 clamp(2.5rem, 6vw, 4rem);
  background: var(--bg-alt); border-bottom: 1px solid var(--line);
}
.page-hero__title { font-size: clamp(2.4rem, 6vw, 4rem); margin-top: 0.4rem; }
.page-hero__lead { color: var(--ink-soft); margin-top: 1.2rem; max-width: 60ch; font-size: 1.05rem; }
.page-hero__actions { margin-top: 2.2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== MENÙ ALLA CARTA ===== */
.carta { background: var(--bg); }
.carta__list { display: flex; flex-direction: column; gap: 3.4rem; }
.carta__cat-name {
  font-size: 1.7rem; padding-bottom: 0.8rem; margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--line); position: relative;
}
.carta__cat-name::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 2px; background: var(--accent);
}
.carta__items {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 3rem;
}
.dish { padding-bottom: 1.1rem; border-bottom: 1px dashed var(--line); }
.dish--has-img { display: flex; gap: 1rem; align-items: flex-start; }
.dish__media { flex: 0 0 auto; }
.dish__img {
  width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-alt);
}
.dish__body { flex: 1 1 auto; min-width: 0; }
.dish__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.dish__name { font-weight: 500; font-size: 1.02rem; }
.dish__code {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.06em 0.42em;
  border: 1px solid var(--accent);
  border-radius: 0.35rem;
  color: var(--accent);
  background: #fbeae6;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  vertical-align: 0.08em;
  white-space: nowrap;
}
.dish__price { font-family: "Playfair Display", serif; color: var(--accent); white-space: nowrap; }
.dish__price span { font-size: 0.8rem; vertical-align: super; }
.dish__price small { font-size: 0.85rem; }
.dish__desc { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.25rem; }
.dish__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.dish__tag {
  font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.18rem 0.5rem; border-radius: 999px; background: var(--bg-alt); color: var(--ink-soft);
  border: 1px solid var(--line);
}
.dish__tag--crudo { color: #b5651d; border-color: #e6c79a; background: #faf1e2; }
.dish__tag--piccante { color: var(--accent); border-color: #e8b3a8; background: #fbeae6; }
.dish__tag--veg { color: #4f6f52; border-color: #bcd1bd; background: #eef4ee; }
.dish__allergens { font-size: 0.74rem; color: var(--ink-soft); margin-top: 0.4rem; font-style: italic; }
.carta__legend { text-align: center; margin-top: 2.8rem; font-size: 0.82rem; color: var(--ink-soft); }

/* ===== GALLERY ===== */
.gallery { background: var(--bg-alt); }
.gallery__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  width: 90%; max-width: var(--container); margin: 0 auto;
}
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery__item .ph { aspect-ratio: 4 / 3; transition: transform 0.7s var(--ease); }
.gallery__item[style*="--h: 2"] .ph { aspect-ratio: 4 / 5; }
.gallery__item:hover .ph { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute; left: 1rem; bottom: 1rem; color: var(--white);
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(0,0,0,0.35); padding: 0.4rem 0.8rem; border-radius: 2px;
  backdrop-filter: blur(4px); opacity: 0; transform: translateY(8px); transition: all 0.4s var(--ease);
}
.gallery__item:hover figcaption { opacity: 1; transform: translateY(0); }
.ph { background-size: cover; background-position: center; }
.ph--1 { background: linear-gradient(135deg, #d98b7a, #c8442f); }
.ph--2 { background: linear-gradient(135deg, #2b2b2b, #555); }
.ph--3 { background: linear-gradient(135deg, #e0a96d, #b5651d); }
.ph--4 { background: linear-gradient(135deg, #8aa17d, #4f6f52); }
.ph--5 { background: linear-gradient(135deg, #e8c07d, #c8442f); }
.ph--6 { background: linear-gradient(135deg, #3a3a3a, #1a1a1a); }

/* ===== RECENSIONI ===== */
.reviews { background: var(--bg); }
.reviews__head { max-width: 720px; }
.reviews__rating {
  display: inline-flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
  margin-top: 1.6rem; padding: 0.7rem 1.1rem; border: 1px solid var(--line);
  border-radius: 999px; background: var(--white); transition: border-color 0.3s, transform 0.3s var(--ease);
}
.reviews__rating:hover { border-color: var(--accent); transform: translateY(-2px); }
.reviews__score { font-family: "Playfair Display", serif; font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.reviews__stars { color: #e8a33d; letter-spacing: 0.08em; font-size: 1.05rem; }
.reviews__count { font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.03em; }
.reviews__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
}
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: 1rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.review:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -22px rgba(26,26,26,0.18); }
.review__stars { color: #e8a33d; letter-spacing: 0.1em; font-size: 1.05rem; }
.review__text {
  font-size: 0.98rem; color: var(--ink); line-height: 1.7; font-style: italic;
  position: relative; flex: 1 1 auto;
}
.review__text::before {
  content: "“"; font-family: "Playfair Display", serif; color: var(--accent);
  font-size: 2.6rem; line-height: 0; position: absolute; top: 0.5rem; left: -0.35rem; opacity: 0.18;
}
.review__author { display: flex; flex-direction: column; gap: 0.15rem; margin-top: 0.2rem; }
.review__name { font-weight: 500; font-size: 0.95rem; }
.review__meta { font-size: 0.76rem; color: var(--ink-soft); letter-spacing: 0.04em; }
.reviews__cta { text-align: center; margin-top: 3rem; }

/* ===== INFO ===== */
.info { background: var(--ink); color: var(--bg); }
.info .kicker { color: var(--accent); }
.info__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 0.92rem; }
.hours li span:first-child { color: rgba(255,255,255,0.65); }
.info__addr { display: block; font-size: 1.05rem; line-height: 1.8; transition: color 0.3s; }
.info__addr:hover { color: var(--accent); }
.info__contact { margin-top: 1.4rem; }
.info__contact a { color: var(--bg); transition: color 0.3s; }
.info__contact a:hover { color: var(--accent); }
.social li { padding: 0.5rem 0; }
.social a { position: relative; transition: color 0.3s; }
.social a:hover { color: var(--accent); }

/* ===== RESERVE ===== */
.reserve { background: var(--bg-alt); }
.reserve__cta { max-width: 640px; margin-inline: auto; text-align: center; }
.reserve__cta h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.reserve__cta .section__lead { margin-inline: auto; }
.reserve__contacts {
  margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}
.reserve__note {
  margin-top: 1.6rem; font-size: 0.8rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* ===== FOOTER ===== */
.footer { background: var(--bg); padding: 3rem 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; text-align: center; }
.footer__logo { font-family: "Playfair Display", serif; font-size: 1.4rem; font-weight: 600; letter-spacing: 0.12em; }
.footer__logo-img { height: 84px; width: auto; display: block; }
.footer__copy, .footer__credit { font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0.04em; }

/* ===== REVEAL ANIM ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero__inner { padding-top: 7rem; padding-bottom: 6rem; }
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(18, 16, 14, 0.55) 0%, rgba(18, 16, 14, 0.45) 40%, rgba(18, 16, 14, 0.7) 100%);
  }
  .plans { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .info__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}
@media (max-width: 680px) {
  /* Niente backdrop-filter su mobile: creerebbe un containing block
     per il menu fixed, facendolo collassare all'altezza della navbar. */
  .nav.scrolled, .nav--solid { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(250, 248, 245, 0.96); }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); height: 100vh;
    background: var(--bg); flex-direction: column; align-items: flex-start;
    justify-content: center; padding: 3rem 2.4rem; gap: 1.8rem; z-index: 105;
    transform: translateX(100%); transition: transform 0.45s var(--ease);
    border-left: 1px solid var(--line); box-shadow: -20px 0 60px -30px rgba(0,0,0,0.3);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 1.05rem; }
  .nav__toggle { display: flex; z-index: 110; }
  .hero__scroll { display: none; }

  /* Menù alla carta: colonna singola su mobile */
  .carta__items { grid-template-columns: 1fr; gap: 1.2rem; }

  /* Card formula: layout compatto e leggibile su mobile */
  .plans { gap: 1.1rem; max-width: 440px; }
  .plan { padding: 1.9rem 1.5rem; }
  .plan:hover { transform: none; box-shadow: none; }
  .plan--featured:hover { box-shadow: 0 20px 40px -24px rgba(26, 26, 26, 0.4); }
  .plan__badge { left: 1.5rem; top: -11px; font-size: 0.62rem; }
  .plan__top { margin-bottom: 1rem; }
  .plan__top h3 { font-size: 1.55rem; }
  .plan__days { font-size: 0.7rem; }
  .plan__price { font-size: 3.1rem; margin-bottom: 1.1rem; }
  .plan__price span { font-size: 1.25rem; }
  .plan__price small { font-size: 1.2rem; }
  .plan__list li { padding: 0.6rem 0; font-size: 0.88rem; }
  .plan__note { margin-top: 1.1rem; font-size: 0.72rem; }
  .menu__disclaimer { margin-top: 2rem; font-size: 0.82rem; }
}
@media (max-width: 460px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== ORDINE ONLINE ===== */
body.no-scroll { overflow: hidden; }
.btn--sm { padding: 0.5rem 0.95rem; font-size: 0.85rem; }

.order__grid { display: grid; grid-template-columns: 1fr 340px; gap: 2.4rem; align-items: start; }
.order__grid > * { min-width: 0; }   /* i grid item devono potersi restringere su mobile */
.order__bar { position: sticky; top: 72px; z-index: 5; background: var(--bg); padding: 0.6rem 0 1rem; }
.order__search { display: block; }
.order__search input {
  width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); font: inherit; color: var(--ink);
}
.order__search input:focus { outline: none; border-color: var(--accent); }

.ocat { margin-bottom: 2.2rem; }
.ocat__name {
  font-family: "Playfair Display", serif; font-size: 1.4rem; font-weight: 500;
  padding-bottom: 0.5rem; border-bottom: 2px solid var(--line); margin-bottom: 0.4rem;
}
.ocat__items { display: flex; flex-direction: column; }

.oitem {
  display: flex; gap: 1rem; align-items: center; justify-content: space-between;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
}
.oitem__media { flex-shrink: 0; width: 60px; height: 60px; border-radius: 6px; overflow: hidden; background: var(--bg-alt); }
.oitem__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oitem__info { flex: 1; min-width: 0; }
.oitem__name { display: block; font-weight: 500; }
.oitem__desc { display: block; color: var(--ink-soft); font-size: 0.88rem; margin-top: 0.15rem; }
.oitem__right { display: flex; align-items: center; gap: 0.9rem; flex-shrink: 0; }
.oitem__price { font-family: "Playfair Display", serif; color: var(--accent); white-space: nowrap; min-width: 3.4rem; text-align: right; }

.stepper { display: flex; align-items: center; gap: 0.55rem; min-width: 7.2rem; justify-content: flex-end; }
.qbtn {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--accent);
  background: var(--white); color: var(--accent); font-size: 1.1rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center; transition: background 0.15s, color 0.15s;
}
.qbtn:hover { background: var(--accent); color: #fff; }
.qnum { min-width: 1.2rem; text-align: center; font-weight: 600; }

/* Carrello (sidebar) */
.cart {
  position: sticky; top: 96px; background: var(--white); border: 1px solid var(--line);
  border-radius: 8px; padding: 1.3rem; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.cart__title { font-family: "Playfair Display", serif; font-size: 1.3rem; font-weight: 500; margin-bottom: 0.9rem; }
.cart__items { display: flex; flex-direction: column; gap: 0.55rem; max-height: 46vh; overflow-y: auto; }
.cart__empty { color: var(--ink-soft); font-size: 0.92rem; padding: 0.4rem 0 0.2rem; }
.citem { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.6rem; font-size: 0.92rem; }
.citem__rm {
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--bg); color: var(--accent); cursor: pointer; line-height: 1;
}
.citem__rm:hover { border-color: var(--accent); }
.citem__main { min-width: 0; display: flex; gap: 0.35rem; align-items: baseline; }
.citem__qta { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.citem__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.citem__price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart__foot { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.9rem; }
.cart__total strong { font-family: "Playfair Display", serif; font-size: 1.35rem; color: var(--accent); }
.cart__note { color: var(--ink-soft); font-size: 0.8rem; margin-top: 0.7rem; text-align: center; }

/* Barra carrello mobile */
.cartbar {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 40;
  display: none; align-items: center; gap: 0.8rem; width: auto;
  padding: 0.95rem 1.2rem; border: none; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(200,68,47,0.35);
}
.cartbar__count { background: rgba(255,255,255,0.25); border-radius: 999px; padding: 0.1rem 0.6rem; font-weight: 600; }
.cartbar__label { flex: 1; text-align: left; font-weight: 500; }
.cartbar__total { font-weight: 600; }

/* ===== MODAL (pagine pubbliche) ===== */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20,18,16,0.55); }
.modal__card {
  position: relative; width: min(520px, 100%); max-height: 90vh; overflow: auto;
  background: var(--white); border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.modal__card--center { width: min(420px, 100%); text-align: center; }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); }
.modal__head h3 { font-family: "Playfair Display", serif; font-weight: 500; }
.modal__x { background: none; border: none; font-size: 1.1rem; cursor: pointer; color: var(--ink-soft); }
.modal__body { padding: 1.3rem; }
.modal__foot { display: flex; justify-content: flex-end; gap: 0.7rem; padding: 1rem 1.3rem; border-top: 1px solid var(--line); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.85rem; color: var(--ink-soft); }
.form-grid input {
  padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; color: var(--ink); background: var(--white);
}
.form-grid input:focus { outline: none; border-color: var(--accent); }
.seg { display: flex; gap: 0.6rem; }
.seg__opt {
  flex: 1; flex-direction: row !important; align-items: center; gap: 0.5rem !important;
  padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; color: var(--ink) !important; font-size: 0.9rem !important;
}
.seg__opt:has(input:checked) { border-color: var(--accent); background: #fbeae6; }
.checkout__summary { font-size: 0.92rem; color: var(--ink-soft); padding-top: 0.2rem; }
.msg { font-size: 0.88rem; }
.msg--err {
  color: var(--accent-dark); font-weight: 500;
  background: #fbeae6; border: 1px solid #e8b3a8; border-radius: var(--radius);
  padding: 0.6rem 0.8rem;
}
.form-grid input.is-invalid {
  border-color: var(--accent); background: #fdf2ef;
  box-shadow: 0 0 0 3px rgba(200, 68, 47, 0.14);
}

.done { padding: 2rem 1.5rem; }
.done__mark {
  width: 56px; height: 56px; border-radius: 50%; background: #e7f4ec; color: #2e7d4f;
  font-size: 1.6rem; display: grid; place-items: center; margin: 0 auto 1rem;
}
.done h3 { font-family: "Playfair Display", serif; font-weight: 500; margin-bottom: 0.6rem; }
.done p { color: var(--ink-soft); margin-bottom: 1.3rem; }

@media (max-width: 880px) {
  .order__grid { grid-template-columns: 1fr; }
  .cart { position: static; order: 2; }
  .order__menu { order: 1; }
  .cart { display: none; }            /* su mobile uso la barra + modale */
  .cartbar { display: flex; }
  .order__bar { top: 60px; }
}
@media (max-width: 560px) {
  .oitem { gap: 0.7rem; }
  .oitem__right { gap: 0.5rem; }
  .oitem__price { min-width: 0; font-size: 0.95rem; }
  .stepper { min-width: 0; gap: 0.4rem; }
  .qbtn { width: 32px; height: 32px; }         /* tocco comodo ma compatto */
  .oitem__media { width: 52px; height: 52px; }
  .oitem__desc { font-size: 0.82rem; }
  .ocat__name { font-size: 1.25rem; }
}
@media (max-width: 480px) {
  .form-grid { grid-template-columns: 1fr; }
  .seg { flex-direction: column; }
}

/* ===== ACCOUNT ===== */
.account__wrap { max-width: 760px; margin: 0 auto; }
.account__wrap--narrow { max-width: 560px; }
.seg__opt.is-active { border-color: var(--accent); background: #fbeae6; color: var(--accent) !important; font-weight: 500; }
.auth-card, .track-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 1.6rem; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.track-card--solo { margin-top: 0; }
.track-form { display: flex; gap: 0.6rem; }
.track-form input {
  flex: 1; min-width: 0; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.18em; text-align: center;
}
@media (max-width: 420px) {
  .track-form input { letter-spacing: 0.1em; font-size: 1rem; }
  .track-form .btn { padding-left: 1.1rem; padding-right: 1.1rem; }
}
.track-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,68,47,0.12); }
#trackResult { margin-top: 1rem; }
.track-hint { margin-top: 1.1rem; font-size: 0.9rem; color: var(--ink-soft); text-align: center; }

/* Sezioni pagina "Il tuo ordine" */
.tsec__title { font-family: "Playfair Display", serif; font-weight: 500; font-size: 1.25rem; margin-bottom: 0.3rem; }
.tsec__title--inCard { margin-bottom: 0.2rem; }
.tsec__sub { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 0.9rem; }
#userOrders, #deviceOrders { margin-bottom: 2rem; }
.dorder {
  display: grid; grid-template-columns: 1fr auto; gap: 0.4rem 1rem; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 0.9rem 1rem;
}
.dorder__info { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; font-size: 0.95rem; }
.dorder__info .muted { font-size: 0.82rem; }
.dorder__result { grid-column: 1 / -1; }
.dorder__result .myorder { margin-top: 0.5rem; }

/* --- Auth card (accedi / registrati) --- */
.auth-card--pretty { max-width: 480px; margin: 0 auto; padding: 2.2rem 2rem; }
.auth-brand { text-align: center; margin-bottom: 1.4rem; }
.auth-brand__kanji {
  display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  background: #121210; color: var(--gold, #e7b34a); font-family: Georgia, serif; font-size: 1.7rem;
  margin-bottom: 0.7rem;
}
.auth-brand__title { font-family: "Playfair Display", serif; font-weight: 500; font-size: 1.55rem; }
.auth-brand__sub { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.35rem; }

.auth-tabs {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg-alt); border-radius: 999px; padding: 4px; margin-bottom: 1.5rem;
}
.auth-tab {
  position: relative; z-index: 1; border: none; background: none; cursor: pointer;
  padding: 0.6rem 0; font: inherit; font-size: 0.9rem; color: var(--ink-soft);
  transition: color 0.25s;
}
.auth-tab.is-active { color: var(--ink); font-weight: 500; }
.auth-tabs__ink {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  background: var(--white); border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s var(--ease);
}
.auth-tabs.is-register .auth-tabs__ink { transform: translateX(100%); }

.auth-form2 { display: flex; flex-direction: column; gap: 0.95rem; }
.auth-form2[hidden] { display: none; }
.afield { display: flex; flex-direction: column; gap: 0.35rem; }
.afield__lbl { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--ink-soft); }
.afield input {
  padding: 0.8rem 0.95rem; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; color: var(--ink); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.afield input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,68,47,0.12); }
.afield input::placeholder { color: #b9b3aa; }
.afield__hint { font-size: 0.78rem; color: var(--ink-soft); }
.afield-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.auth-form2 .btn--block { margin-top: 0.4rem; padding: 0.95rem; }
.auth-alt { text-align: center; font-size: 0.88rem; color: var(--ink-soft); }
.lnk-btn { border: none; background: none; padding: 0; font: inherit; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.auth-guest { margin-top: 1.3rem; text-align: center; font-size: 0.9rem; color: var(--ink-soft); }
.auth-guest a { color: var(--accent); }

@media (max-width: 480px) {
  .auth-card--pretty { padding: 1.6rem 1.2rem; }
  .afield-row { grid-template-columns: 1fr; }
}

.acc-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.acc-head h2 { font-family: "Playfair Display", serif; font-weight: 500; }
.acc-cards { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem; margin-bottom: 2rem; }
.acc-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 1.3rem;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.acc-card__lbl { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.acc-card__val { font-family: "Playfair Display", serif; font-size: 2.2rem; color: var(--accent); line-height: 1; }
.acc-card__hint { font-size: 0.82rem; color: var(--ink-soft); }
.acc-card--form label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.5rem; }
.acc-card--form input { padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; }
.acc-card--form input:focus { outline: none; border-color: var(--accent); }
.acc-card--form .btn { margin-top: 0.9rem; align-self: start; }

.acc-orders__title { font-family: "Playfair Display", serif; font-weight: 500; margin-bottom: 1rem; }
.acc-orders { display: flex; flex-direction: column; gap: 0.9rem; }
.myorder {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--line);
  border-radius: 8px; padding: 1.1rem;
}
.myorder--nuovo { border-left-color: var(--accent); }
.myorder--confermato { border-left-color: #1d8a6b; }
.myorder--rifiutato { border-left-color: #8a2f24; }
.myorder--in_preparazione { border-left-color: #c98a1e; }
.myorder--pronto { border-left-color: #2e7d32; }
.myorder--in_consegna { border-left-color: #2a72b5; }
.myorder--consegnato, .myorder--annullato { border-left-color: #9aa0a6; }
.myorder__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.myorder__when { color: var(--ink-soft); font-size: 0.85rem; }
.myorder__meta { margin-top: 0.4rem; font-size: 0.92rem; }
.myorder__meta code, #trackResult code { background: var(--bg-alt); padding: 0.05em 0.4em; border-radius: 4px; letter-spacing: 0.05em; }
.myorder__items { list-style: none; margin: 0.7rem 0 0; padding: 0.7rem 0 0; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.9rem; }
.myorder__items .oq { display: inline-block; min-width: 1.6rem; color: var(--ink-soft); }
.account__cta { margin-top: 2.2rem; text-align: center; }

/* notifiche avanzamento ordine */
.track-watch { margin-top: 1rem; display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.track-watch__hint { font-size: 0.82rem; color: var(--ink-soft); }
.notifbtn {
  display: inline-flex; align-items: center; gap: 0.55rem; cursor: pointer;
  font: inherit; font-size: 0.88rem; font-weight: 500;
  padding: 0.6rem 1.15rem; border-radius: 999px;
  border: 1px solid var(--accent); color: var(--accent); background: #fdf3f1;
  box-shadow: 0 6px 16px -10px rgba(200,68,47,0.6); transition: all 0.2s;
}
.notifbtn:hover:not(:disabled) { background: var(--accent); color: #fff; transform: translateY(-1px); }
.notifbtn__ico { display: inline-grid; place-items: center; animation: bellRing 2.4s ease infinite; transform-origin: 50% 0; }
.notifbtn.is-on {
  border-color: #bcd9bc; color: #2e7d32; background: #eaf4ea;
  cursor: default; box-shadow: none;
}
.notifbtn.is-on .notifbtn__ico { animation: none; }
.notifbtn.is-on #notifBtnTxt::after, .notifbtn.is-on .notifbtn__txt::after { content: " ✓"; }
@keyframes bellRing {
  0%, 60%, 100% { transform: rotate(0); }
  64% { transform: rotate(14deg); } 68% { transform: rotate(-12deg); }
  72% { transform: rotate(9deg); } 76% { transform: rotate(-6deg); } 80% { transform: rotate(0); }
}
@keyframes badgeFlash { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.25); } }
.badge-flash { animation: badgeFlash 0.7s ease 3; }

/* badge stato ordine (lato pubblico) */
.badge--ostato { display: inline-block; padding: 0.2em 0.6em; border-radius: 999px; color: #fff; font-size: 0.74rem; font-weight: 600; }
.badge--nuovo { background: var(--accent); }
.badge--confermato { background: #1d8a6b; }
.badge--rifiutato { background: #8a2f24; }
.badge--in_preparazione { background: #c98a1e; }
.badge--pronto { background: #2e7d32; }
.badge--in_consegna { background: #2a72b5; }
.badge--consegnato, .badge--annullato { background: #9aa0a6; }

@media (max-width: 560px) {
  .acc-cards { grid-template-columns: 1fr; }
}

/* ===== Pagina "Scarica l'app" ===== */
.appdl__wrap { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.6rem; }
.appdl__cta { text-align: center; display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
.appdl__ctaHint { font-size: 0.88rem; color: var(--ink-soft); }
.howto { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem 1.5rem; }
.howto--mine { border-color: var(--accent); box-shadow: 0 10px 30px -20px rgba(200,68,47,0.5); }
.howto--mine .howto__title::after { content: " — il tuo telefono"; color: var(--accent); font-size: 0.8rem; font-family: "Jost", sans-serif; }
.howto__title { font-family: "Playfair Display", serif; font-weight: 500; font-size: 1.3rem; margin-bottom: 1rem; }
.howto__sub { font-size: 0.85rem; color: var(--ink-soft); font-family: "Jost", sans-serif; }
.howto__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.hstep { display: flex; gap: 0.9rem; align-items: flex-start; }
.hstep__n {
  flex: 0 0 auto; width: 1.8rem; height: 1.8rem; display: grid; place-items: center;
  background: var(--ink); color: var(--paper, #faf8f5); border-radius: 50%; font-size: 0.85rem; font-weight: 500;
}
.hstep__body { padding-top: 0.15rem; line-height: 1.5; }
.hstep__icon {
  display: inline-grid; place-items: center; vertical-align: -0.4em; margin-left: 0.35rem;
  width: 2rem; height: 2rem; border: 1px solid var(--line); border-radius: 8px; color: #1d6fb8; background: var(--bg-alt);
}
.appdl__why { text-align: center; padding: 0.5rem 0 1rem; }
.appdl__whyTitle { font-family: "Playfair Display", serif; font-weight: 500; margin-bottom: 0.8rem; }
.appdl__perks { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; color: var(--ink-soft); }

/* ===== Pannello consegna/ritiro (gate) ===== */
.dgate {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.2rem 1.3rem; margin-bottom: 1.2rem;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.dgate__title { font-family: "Playfair Display", serif; font-weight: 500; font-size: 1.25rem; }
.dgate__addr input {
  width: 100%; padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: 8px; font: inherit;
}
.dgate__addr input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,68,47,0.12); }
.dgate__status { font-size: 0.92rem; color: var(--ink-soft); min-height: 1.2em; }
.dgate__status strong { color: var(--ink); }
.dgate--attn { animation: dgatePulse 1.2s ease; }
@keyframes dgatePulse {
  0%, 100% { box-shadow: none; border-color: var(--line); }
  25%, 60% { box-shadow: 0 0 0 4px rgba(200,68,47,0.25); border-color: var(--accent); }
}

/* minimo di zona e omaggi nel carrello */
.cart__min {
  background: #fdf0ee; border: 1px solid #efc4bc; color: #a8351f;
  border-radius: 8px; padding: 0.55rem 0.75rem; font-size: 0.85rem; margin-bottom: 0.7rem;
}
.cart__gift {
  background: #eef7ef; border: 1px solid #c4dfc6; color: #2e7d32;
  border-radius: 8px; padding: 0.55rem 0.75rem; font-size: 0.85rem; margin-bottom: 0.7rem;
}
.cart__gift--soon { background: var(--bg-alt); border-color: var(--line); color: var(--ink-soft); }
.summary__warn { color: #a8351f; }

/* ===== Poke personalizzabile ===== */
.modal__card--poke { width: min(640px, 100%); }
.pkg { border: none; margin: 0 0 1.3rem; padding: 0; }
.pkg__title { font-weight: 600; font-size: 0.98rem; margin-bottom: 0.6rem; }
.pkg__hint { font-weight: 400; font-size: 0.8rem; color: var(--ink-soft); margin-left: 0.35rem; }
.pkg__opts { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pkopt input { position: absolute; opacity: 0; pointer-events: none; }
.pkopt { position: relative; cursor: pointer; }
.pkopt__lbl {
  display: inline-block; padding: 0.42rem 0.8rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.86rem; background: var(--white); transition: all 0.15s;
}
.pkopt__lbl b { font-weight: 600; color: var(--accent); }
.pkopt input:checked + .pkopt__lbl { border-color: var(--accent); background: var(--accent); color: #fff; }
.pkopt input:checked + .pkopt__lbl b { color: #fff; }
.pkopt input:disabled + .pkopt__lbl { opacity: 0.4; cursor: not-allowed; }
.pkopt input:focus-visible + .pkopt__lbl { box-shadow: 0 0 0 3px rgba(200,68,47,0.25); }
.modal__foot--poke { justify-content: space-between; align-items: center; }
.poke__price { font-family: "Playfair Display", serif; font-size: 1.4rem; color: var(--accent); }

/* selettore fasce orarie nel checkout */
.oslot { display: flex; flex-direction: column; gap: 0.5rem; }
.oslot__lbl { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
.oslot__list { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.oslot__opt {
  font: inherit; font-size: 0.86rem; cursor: pointer;
  padding: 0.48rem 0.9rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--ink); transition: all 0.15s;
}
.oslot__opt:hover { border-color: var(--accent); color: var(--accent); }
.oslot__opt.is-active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 12px -6px rgba(200,68,47,0.6); }
.oslot__closed { font-size: 0.85rem; color: #a8351f; }

/* riepilogo piatti con note nel checkout */
.recap { display: flex; flex-direction: column; gap: 0.5rem; max-height: 240px; overflow-y: auto; }
.ritem { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.ritem__name { flex: 1 1 180px; font-size: 0.9rem; min-width: 0; }
.ritem__nota {
  flex: 1 1 200px; font: inherit; font-size: 0.85rem;
  padding: 0.42rem 0.65rem; border: 1px dashed var(--line); border-radius: 8px; background: var(--bg);
}
.ritem__nota:focus { outline: none; border-color: var(--accent); border-style: solid; background: var(--white); }
.citem__nota { color: #b5651d; font-style: italic; }

/* dettagli poke nel carrello */
.citem__det { display: block; font-size: 0.75rem; color: var(--ink-soft); line-height: 1.35; margin-top: 0.15rem; }
