/* =========================================
   Vetrina Attività — stili del sito
   ========================================= */

:root {
  --bg: #0c1614;
  --bg-2: #13221e;
  --ink: #f3efe6;
  --muted: #b7c2bc;
  --accent: #f0a93a;
  --accent-deep: #d4891f;
  --line: rgba(243, 239, 230, 0.14);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --font-brand: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

img.protected {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
}

/* Sfondo atmosfera (non piatto) */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1000px 600px at 12% -10%, rgba(240, 169, 58, 0.18), transparent 55%),
    radial-gradient(900px 700px at 90% 20%, rgba(56, 130, 110, 0.22), transparent 50%),
    linear-gradient(165deg, #0c1614 0%, #10201c 45%, #0a1210 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Barra in alto ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  backdrop-filter: blur(14px);
  background: rgba(12, 22, 20, 0.72);
  border-bottom: 1px solid var(--line);
}

.brand-mini {
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
}

.nav a:not(.nav-cta) {
  color: var(--muted);
}

.nav a:not(.nav-cta):hover {
  color: var(--ink);
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1205;
  font-weight: 700;
}

.nav-contabilita {
  color: var(--accent) !important;
  font-weight: 800 !important;
}

.nav-contabilita[hidden] {
  display: none !important;
}

.contabilita-page-main {
  width: min(1100px, calc(100% - 2rem));
  margin: 1.5rem auto 2.5rem;
}

.contabilita-page-card {
  width: 100%;
}

.contabilita-page-card h1 {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--font-brand);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.contab-azioni {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.contab-azioni .btn-mini {
  text-decoration: none;
  display: inline-block;
}

.contabilita-page .nav .btn-ghost {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

.contabilita-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 1.25rem 1.2rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #17140f;
}

.contabilita-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}

.contabilita-head h2 {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--font-brand);
}

.contabilita-filters {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 1rem;
}

.contabilita-filters .comanda-input {
  margin-bottom: 0;
  color-scheme: dark;
}

.contabilita-filters-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.contabilita-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contabilita-stats > div {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(240, 169, 58, 0.08);
}

.contabilita-stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}

.contabilita-stats strong {
  font-size: 1.35rem;
  color: var(--accent);
  font-family: var(--font-brand);
}

.contabilita-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.contabilita-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.contabilita-table th,
.contabilita-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.contabilita-table th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.03);
}

.contabilita-table td {
  color: #f3efe6;
}

.contabilita-table tr:last-child td {
  border-bottom: none;
}

.contabilita-table .btn-mini {
  border: 1px solid var(--line);
  background: rgba(240, 169, 58, 0.12);
  color: var(--accent);
  border-radius: 8px;
  padding: 0.3rem 0.55rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 760px) {
  .contabilita-filters {
    grid-template-columns: 1fr;
  }

  .contabilita-table th:nth-child(3),
  .contabilita-table td:nth-child(3),
  .contabilita-table th:nth-child(4),
  .contabilita-table td:nth-child(4) {
    display: none;
  }
}

/* ---------- Hero (primo schermo) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 6.5rem 0 4rem;
}

.hero-visual {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: heroDrift 20s ease-in-out infinite alternate;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 12, 11, 0.88) 0%, rgba(7, 12, 11, 0.55) 48%, rgba(7, 12, 11, 0.35) 100%),
    linear-gradient(180deg, rgba(7, 12, 11, 0.35) 0%, rgba(7, 12, 11, 0.15) 40%, rgba(7, 12, 11, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  animation: riseIn 0.9s ease both;
}

.brand {
  margin: 0 0 1.1rem;
  font-family: var(--font-brand);
  font-size: clamp(2.8rem, 9vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.92;
  color: #fff;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: var(--font-brand);
  font-size: clamp(1.35rem, 3.3vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #f7f3ea;
}

.lead {
  margin: 0 0 1.7rem;
  max-width: 38ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.hero-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.hero-link:hover {
  color: #fff;
}

.steps a {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- Prezzi ---------- */
.price-section {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 3rem 0 1rem;
}

.price-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.price-box {
  max-width: none;
  padding: 1.6rem 1.5rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(243, 239, 230, 0.05);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.price-box-featured {
  border-color: rgba(240, 169, 58, 0.55);
  background: rgba(240, 169, 58, 0.1);
}

.price-plan-label {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-amount {
  margin: 0 0 0.7rem;
  font-family: var(--font-brand);
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -0.03em;
}

.price-amount span {
  color: var(--accent);
  font-size: 1.35em;
  font-weight: 800;
}

.price-note {
  margin: 0 0 1.2rem;
  color: var(--muted);
  max-width: 36ch;
  flex: 1;
}

.price-nb {
  margin: 0 0 1.2rem;
  color: var(--ink);
  font-size: 0.95rem;
  max-width: 38ch;
  line-height: 1.45;
}

.price-box .btn {
  align-self: flex-start;
}

@media (max-width: 720px) {
  .price-plans {
    grid-template-columns: 1fr;
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Come funziona ---------- */
.how-section {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0 1rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.steps li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0;
  animation: riseIn 0.8s ease both;
}

.steps li:nth-child(2) { animation-delay: 0.08s; }
.steps li:nth-child(3) { animation-delay: 0.16s; }

.step-num {
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1205;
  font-family: var(--font-brand);
  font-weight: 800;
}

.steps h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-brand);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    align-items: end;
    padding: 5.5rem 0 2.5rem;
  }

  .hero h1 {
    max-width: 20ch;
  }

  .brand {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-section {
    padding-top: 2.5rem;
  }

  .nav a[href="#come-funziona"] {
    display: none;
  }

  .activity-cta .btn {
    width: 100%;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #1a1205;
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: #fff;
}

.btn-ghost {
  background: rgba(243, 239, 230, 0.08);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  background: rgba(243, 239, 230, 0.14);
}

/* ---------- Galleria ---------- */
.gallery-section,
.contact-section {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0 2rem;
}

.section-head {
  margin-bottom: 2rem;
  animation: riseIn 0.8s ease both;
}

.section-head-gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}

.section-head-gallery h2 {
  margin: 0;
}

.city-filter {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.city-filter select {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: #1a1408;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231a1408' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  padding: 0.55rem 2.4rem 0.55rem 1rem;
  cursor: pointer;
  min-width: 11rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.city-filter select option {
  color: #1a1408;
  background-color: #fff;
}

.city-filter select:focus {
  outline: 2px solid rgba(240, 169, 58, 0.65);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-head h2,
.contact-section h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-brand);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
}

.section-head p,
.contact-section p {
  margin: 0;
  max-width: 48ch;
  color: var(--muted);
}

/* ---------- Filtri categorie ---------- */
.category-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.category-filters .cat-btn {
  flex: 0 0 auto;
}

.gallery-count {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.cat-btn {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(243, 239, 230, 0.06);
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cat-btn:hover {
  color: var(--ink);
  border-color: rgba(240, 169, 58, 0.45);
}

.cat-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1205;
}

.gallery-empty {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
}

.cat-label {
  margin: 0 0 0.2rem !important;
  color: var(--accent) !important;
  font-size: 0.78rem !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  margin: 0;
  opacity: 1;
  animation: none;
}

.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  cursor: pointer;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}

.gallery-caption h3 a {
  color: inherit;
  text-decoration: none;
}

.gallery-caption h3 a:hover {
  color: var(--accent);
}

.gallery-open img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-open:hover img,
.gallery-open:focus-visible img {
  transform: scale(1.04);
}

.gallery-caption {
  padding: 0.9rem 0.15rem 0;
}

.gallery-caption h3 {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.gallery-caption p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.credit {
  margin: 0.35rem 0 0;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
}

.credit-note {
  margin: 0.2rem 0 0 !important;
  color: var(--muted);
  font-size: 0.82rem !important;
  font-weight: 500;
  font-style: italic;
}

/* ---------- Contatti ---------- */
.contact-section {
  text-align: center;
  padding-bottom: 4rem;
}

.contact-section p {
  margin: 0 auto 1.4rem;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer p {
  margin: 0.2rem 0;
}

.footer-note {
  opacity: 0.8;
}

/* ---------- Lightbox ---------- */
.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 7, 0.82);
  backdrop-filter: blur(8px);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border-radius: 22px;
  background: #13221e;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: riseIn 0.35s ease both;
}

.lightbox-close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-frame {
  position: relative;
  background: #0a1210;
}

.lightbox-frame img {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.wm-badge {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  pointer-events: none;
}

.lightbox-info {
  padding: 1.1rem 1.2rem 1.35rem;
}

.lightbox-info h3 {
  margin: 0;
  font-family: var(--font-brand);
}

.lightbox-info p {
  margin: 0.35rem 0 1rem;
  color: var(--muted);
}

.lightbox-info .credit {
  margin: -0.4rem 0 0.25rem;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
}

.lightbox-info .credit-note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-style: italic;
}

/* ---------- Animazioni ---------- */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
  }
}

/* ---------- Landing singola attività ---------- */
.activity-page {
  width: min(100% - 2.5rem, 820px);
  margin: 0 auto;
  padding: 2.5rem 0 3.5rem;
  animation: riseIn 0.7s ease both;
}

.activity-title {
  margin: 0.25rem 0 0.45rem;
  font-family: var(--font-brand);
  font-size: clamp(1.9rem, 5vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.activity-address {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.activity-figure {
  margin: 0 0 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-2);
}

.activity-img {
  display: block;
  width: 100%;
  height: auto;
}

.activity-cta {
  margin-top: 1.4rem;
}

/* ---------- Landing business ricca (es. Carmine 2) ---------- */
.biz-page {
  width: min(100% - 2rem, 1100px);
  margin: 0 auto;
  padding: 1.5rem 0 3.5rem;
}

.biz-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.75rem;
  align-items: start;
  margin-bottom: 2.5rem;
  animation: riseIn 0.7s ease both;
}

.biz-hero h1 {
  margin: 0.2rem 0 0.75rem;
  font-family: var(--font-brand);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.biz-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
}

.biz-stars {
  color: var(--accent);
  letter-spacing: 0.08em;
}

.biz-muted {
  color: var(--muted);
}

.biz-price,
.biz-status,
.biz-address {
  margin: 0.25rem 0;
  color: var(--muted);
}

.biz-address {
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.biz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.biz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.biz-chips span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(243, 239, 230, 0.06);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.biz-hero-media {
  margin: 0;
}

.biz-hero-media img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.biz-hero-media figcaption {
  margin-top: 0.7rem;
}

.biz-block {
  margin: 0 0 2.2rem;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}

.biz-block h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-brand);
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.biz-lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.biz-pizzas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.biz-pizzas article {
  padding: 1rem 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(243, 239, 230, 0.04);
}

.biz-pizzas h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-brand);
  color: var(--accent);
}

.biz-pizzas p,
.biz-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.biz-note {
  margin-top: 0.9rem;
}

.biz-menu {
  display: grid;
  gap: 1.5rem;
}

.biz-menu-cat h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-brand);
  font-size: 1.15rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.biz-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(243, 239, 230, 0.04);
}

.biz-menu-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
}

.biz-menu-list li:last-child {
  border-bottom: none;
}

.biz-menu-list .menu-name {
  font-weight: 700;
  color: #f3efe6;
}

.biz-menu-list .menu-ing {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.biz-menu-list .menu-price {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  align-self: start;
}

@media (min-width: 900px) {
  .biz-menu {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .biz-menu-cat--wide {
    grid-column: 1 / -1;
  }

  .biz-menu-cat--wide .biz-menu-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .biz-menu-cat--wide .biz-menu-list li:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
}

.biz-quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.biz-quotes blockquote {
  margin: 0;
  padding: 1rem 1.05rem;
  border-left: 3px solid var(--accent);
  background: rgba(240, 169, 58, 0.08);
  border-radius: 0 14px 14px 0;
  color: #f3efe6;
  font-size: 0.95rem;
  line-height: 1.45;
}

.biz-quotes blockquote footer {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

.biz-info-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
}

.biz-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.biz-list li {
  margin: 0.4rem 0;
}

.biz-list a {
  color: var(--accent);
  font-weight: 700;
}

.biz-cta-final p {
  color: var(--muted);
  max-width: 48ch;
}

@media (max-width: 860px) {
  .biz-hero,
  .biz-pizzas,
  .biz-quotes,
  .biz-info-grid {
    grid-template-columns: 1fr;
  }

  .biz-actions .btn {
    width: 100%;
  }
}

/* ---- Comanda cliccabile + stampa 80mm ---- */

.biz-menu-list li.is-orderable,
.biz-pizzas article.is-orderable {
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}

.biz-menu-list li.is-orderable:hover,
.biz-menu-list li.is-orderable:focus-visible {
  background: rgba(240, 169, 58, 0.14);
  outline: none;
}

.evidenza-card {
  position: relative;
}

.biz-pizzas article.is-orderable:hover,
.biz-pizzas article.is-orderable:focus-visible {
  border-color: var(--accent);
  background: rgba(240, 169, 58, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.evidenza-badge,
.evidenza-rank {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.evidenza-badge {
  color: #1a1408;
  background: var(--accent);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.evidenza-rank {
  color: var(--muted);
}

.evidenza-placeholder {
  grid-column: 1 / -1;
}

/* ---------- Tavoli aperti ---------- */
.tavoli-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.tavoli-head h2 {
  margin: 0 0 0.4rem;
}

.tavoli-head .biz-lead {
  margin: 0;
}

.tavoli-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
}

.tavolo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: auto;
  margin: 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid #e0b000;
  border-radius: 10px;
  background: #ffd400;
  color: #000;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

.tavolo-card:hover,
.tavolo-card:focus-visible {
  border-color: #c9a000;
  background: #ffcc00;
  outline: 2px solid #000;
  outline-offset: 2px;
}

.tavolo-card.is-active {
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25);
  background: #ffd400;
}

.tavolo-num {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  color: #000;
  white-space: nowrap;
  line-height: 1.2;
}

.tavolo-tot {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
}

.tavoli-empty {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.tavolo-nuovo-form {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(240, 169, 58, 0.4);
  border-radius: 16px;
  background: rgba(240, 169, 58, 0.08);
}

.tavolo-nuovo-form .comanda-input {
  margin-bottom: 0.65rem;
}

.tavolo-nuovo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.comanda-row.is-coperto .comanda-row-main strong {
  color: var(--accent);
}

.comanda-row.is-new {
  border-left: 3px solid var(--accent);
  background: rgba(240, 169, 58, 0.1);
}

.comanda-new-badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  vertical-align: middle;
  color: #1a1408;
  background: var(--accent);
}

.comanda-pagato-btn {
  border-color: rgba(90, 200, 120, 0.55) !important;
  color: #9ee6b0 !important;
}

.biz-menu-list li.is-orderable::after {
  content: "+ Aggiungi";
  grid-column: 1 / -1;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.85;
}

.comanda-hint {
  margin: 0 0 1rem;
  padding: 0.75rem 0.95rem;
  border: 1px dashed var(--accent);
  border-radius: 12px;
  color: #f3efe6;
  background: rgba(240, 169, 58, 0.08);
  font-size: 0.92rem;
}

.comanda-hint-ok {
  border-style: solid;
  border-color: rgba(90, 200, 120, 0.55);
  background: rgba(90, 200, 120, 0.1);
}

.menu-pin-box {
  margin: 0 0 1.1rem;
  padding: 1rem 1.05rem;
  border: 2px solid var(--accent);
  border-radius: 14px;
  background: rgba(240, 169, 58, 0.12);
}

.menu-pin-box[hidden],
.menu-filter-wrap[hidden],
.comanda-hint[hidden] {
  display: none !important;
}

.menu-pin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: stretch;
  margin-top: 0.15rem;
}

.menu-pin-input {
  flex: 1 1 10rem;
  margin-bottom: 0 !important;
  font-size: 1.15rem;
  letter-spacing: 0.2em;
  text-align: center;
}

.menu-pin-row .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.menu-filter-wrap {
  margin: 0 0 1.1rem;
}

.menu-filter-wrap .comanda-label {
  margin-bottom: 0.35rem;
}

.menu-filter-input {
  margin-bottom: 0.35rem !important;
  border-color: rgba(240, 169, 58, 0.45);
}

.menu-filter-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(240, 169, 58, 0.25);
}

.menu-filter-empty {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.biz-menu-list li.is-filtered-out,
.biz-menu-cat.is-filtered-out {
  display: none !important;
}

.comanda-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1408;
  font-weight: 800;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.comanda-fab[hidden] {
  display: none !important;
}

.comanda-fab-count {
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #1a1408;
  color: var(--accent);
  display: inline-grid;
  place-items: center;
  font-size: 0.8rem;
}

.comanda {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 380px);
  height: 100%;
  z-index: 70;
  display: flex;
  flex-direction: column;
  background: #17140f;
  border-left: 1px solid var(--line);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
  transform: translateX(105%);
  transition: transform 0.22s ease;
}

.comanda.is-open {
  transform: translateX(0);
}

.comanda-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid var(--line);
}

.comanda-head h2 {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 1.25rem;
}

.comanda-close {
  border: 1px solid var(--line);
  background: transparent;
  color: #f3efe6;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.1rem;
}

.comanda-body {
  flex: 1;
  overflow: auto;
  padding: 0.9rem 1rem 1.2rem;
}

.comanda-label {
  display: block;
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.comanda-input {
  width: 100%;
  margin-bottom: 0.9rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(243, 239, 230, 0.06);
  color: #f3efe6;
  font: inherit;
}

.comanda-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
  cursor: pointer;
}

.comanda-select option {
  color: #1a1408;
  background: #fff;
}

.comanda-cliente-pick {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  align-items: start;
}

.comanda-cliente-pick .comanda-input {
  margin-bottom: 0;
}

.comanda-remove-cliente {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(243, 239, 230, 0.06);
  color: #ffb4a8;
  cursor: pointer;
  font-size: 1rem;
}

.comanda-save-hint {
  margin: -0.35rem 0 0.9rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.comanda-autocomplete {
  position: relative;
  margin-bottom: 0.9rem;
}

.comanda-autocomplete .comanda-input {
  margin-bottom: 0;
}

.comanda-suggerimenti {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0.25rem 0;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #1f1a14;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.comanda-suggerimenti[hidden] {
  display: none !important;
}

.comanda-suggerimenti li {
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comanda-suggerimenti li:last-child {
  border-bottom: none;
}

.comanda-suggerimenti li:hover,
.comanda-suggerimenti li.is-active {
  background: rgba(240, 169, 58, 0.16);
}

.comanda-suggerimenti .sugg-nome {
  display: block;
  color: #f3efe6;
  font-weight: 700;
  font-size: 0.92rem;
}

.comanda-suggerimenti .sugg-indirizzo {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.comanda-optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85em;
}

#comanda-cliente.is-spotlight {
  border-color: #ffd56a;
  background: rgba(255, 200, 60, 0.28);
  box-shadow:
    0 0 0 4px rgba(255, 200, 60, 0.55),
    0 0 28px rgba(255, 190, 40, 0.85),
    0 0 48px rgba(255, 170, 0, 0.55);
  outline: none;
}

#comanda-cliente.is-spotlight-blink {
  animation: comanda-spotlight-blink 0.85s ease-in-out infinite;
}

@keyframes comanda-spotlight-blink {
  0%,
  100% {
    background: rgba(255, 200, 60, 0.22);
    box-shadow:
      0 0 0 3px rgba(255, 200, 60, 0.4),
      0 0 16px rgba(255, 190, 40, 0.45);
  }
  50% {
    background: rgba(255, 220, 80, 0.55);
    box-shadow:
      0 0 0 6px rgba(255, 220, 80, 0.75),
      0 0 36px rgba(255, 200, 40, 1),
      0 0 60px rgba(255, 170, 0, 0.7);
  }
}

.comanda-login {
  margin-bottom: 1rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(240, 169, 58, 0.08);
}

.comanda-login-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-brand);
  font-size: 1.05rem;
  color: #f3efe6;
}

body.comanda-locked .biz-menu-list li.is-orderable,
body.comanda-locked .biz-pizzas article.is-orderable {
  opacity: 0.72;
}

#comanda-print:disabled,
#comanda-clear:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

#comanda-print.is-ready {
  opacity: 1;
  box-shadow:
    0 0 0 3px rgba(240, 169, 58, 0.35),
    0 0 18px rgba(240, 169, 58, 0.45);
  animation: comanda-print-ready 1.2s ease-in-out infinite;
}

@keyframes comanda-print-ready {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(240, 169, 58, 0.3),
      0 0 10px rgba(240, 169, 58, 0.35);
  }
  50% {
    box-shadow:
      0 0 0 4px rgba(240, 169, 58, 0.55),
      0 0 22px rgba(240, 169, 58, 0.7);
  }
}

.comanda-storico-box {
  margin: 0 0 1rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(243, 239, 230, 0.04);
}

.comanda-storico-box[hidden] {
  display: none !important;
}

.comanda-storico-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.comanda-storico {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  max-height: 220px;
  overflow: auto;
}

.comanda-storico-empty {
  color: var(--muted);
  font-size: 0.85rem;
  padding: 0.25rem 0;
}

.comanda-storico-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem 0.6rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.15);
}

.comanda-storico-meta {
  min-width: 0;
}

.comanda-storico-meta strong {
  display: block;
  color: #f3efe6;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.comanda-storico-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 0.15rem;
}

.comanda-storico-actions {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.comanda-storico-actions button {
  border: 1px solid var(--line);
  background: rgba(240, 169, 58, 0.12);
  color: var(--accent);
  border-radius: 8px;
  padding: 0.3rem 0.5rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.comanda-login-error {
  margin: 0.65rem 0 0;
  color: #ffb4a8;
  font-size: 0.88rem;
}

.comanda-logged {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(243, 239, 230, 0.05);
  color: #f3efe6;
  font-size: 0.9rem;
  font-weight: 700;
}

.comanda-logout {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
}

.comanda-clienti-box[hidden],
.comanda-login[hidden] {
  display: none !important;
}

.comanda-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.comanda-empty {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0.4rem 0;
}

.comanda-row {
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(243, 239, 230, 0.04);
}

.comanda-row-main {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.comanda-row-main strong {
  color: #f3efe6;
}

.comanda-row-main span {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.comanda-qty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.comanda-qty-btn,
.comanda-remove {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(243, 239, 230, 0.06);
  color: #f3efe6;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.comanda-remove {
  margin-left: auto;
  color: #ffb4a8;
}

.comanda-foot {
  border-top: 1px solid var(--line);
  padding: 0.9rem 1rem 1.1rem;
  display: grid;
  gap: 0.55rem;
}

.comanda-totals {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.comanda-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.98rem;
  font-weight: 600;
}

.comanda-subtotale-row {
  color: var(--muted);
  font-weight: 600;
}

.comanda-coperto-row {
  color: var(--ink);
  font-weight: 700;
  padding: 0.25rem 0;
  border-top: 1px dashed var(--line);
}

.comanda-totale-row {
  font-size: 1.15rem;
  font-weight: 800;
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}

.comanda-totale-row span:last-child,
.comanda-coperto-row span:last-child {
  color: var(--accent);
}

.comanda-toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  transform: translateX(-50%) translateY(12px);
  z-index: 80;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: #1a1408;
  color: var(--accent);
  border: 1px solid var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.comanda-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Editor menu attività ---------- */
.menu-manage-bar {
  margin: 0 0 1.1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(240, 169, 58, 0.45);
  border-radius: 14px;
  background: rgba(240, 169, 58, 0.1);
}

.menu-manage-bar-locked {
  border-style: dashed;
}

.menu-manage-bar strong {
  display: block;
  font-family: var(--font-brand);
  margin-bottom: 0.25rem;
}

.menu-manage-hint {
  display: block;
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.menu-manage-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.menu-manage-row .comanda-input {
  flex: 1 1 10rem;
  margin: 0 !important;
}

.menu-manage-error {
  margin: 0.55rem 0 0;
  color: #f0a0a0;
  font-size: 0.88rem;
}

.menu-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.menu-cat-actions {
  margin: 0.35rem 0 0.55rem;
}

.menu-edit-btn {
  border: 1px solid var(--line);
  background: rgba(243, 239, 230, 0.06);
  color: var(--ink);
  border-radius: 8px;
  padding: 0.28rem 0.55rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.menu-edit-btn-danger {
  color: #f0a0a0;
  border-color: rgba(220, 80, 80, 0.35);
}

.menu-edit-form {
  margin-top: 0.55rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  gap: 0.45rem;
}

.menu-edit-form[hidden] {
  display: none !important;
}

.menu-edit-form:not([hidden]),
.menu-edit-form.is-open {
  display: grid !important;
}

.menu-edit-form label {
  display: grid;
  gap: 0.2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.menu-edit-form .comanda-input {
  margin: 0 !important;
}

.biz-menu.is-menu-editing .biz-menu-list li {
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed rgba(243, 239, 230, 0.08);
}


/* ---------- Accedi + Area riservata ---------- */
.accedi-main {
  width: min(460px, calc(100% - 2rem));
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.area-grid[hidden],
.area-tile[hidden] {
  display: none !important;
}

.area-tile {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.1rem 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.area-tile:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.area-tile strong {
  font-family: var(--font-brand);
  font-size: 1.1rem;
}

.area-tile span:not(.area-tile-icon) {
  color: var(--muted);
  font-size: 0.92rem;
}

.area-tile-icon {
  font-size: 1.6rem;
}

.nav-accedi {
  color: var(--accent) !important;
}

@media (max-width: 480px) {
  .topbar .nav {
    gap: 0.7rem;
    font-size: 0.92rem;
  }

  .nav a[href="#galleria"] {
    display: none;
  }
}

/* Nota per singola pizza (es. "senza cipolle") */
.comanda-row-nota {
  margin: -0.15rem 0 0.45rem;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffd27a;
  background: rgba(240, 169, 58, 0.14);
  word-break: break-word;
}

.comanda-nota-btn {
  margin-left: auto;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  background: transparent;
  cursor: pointer;
}

.comanda-nota-btn.has-nota {
  color: #1a1408;
  background: var(--accent);
}

.comanda-nota-btn + .comanda-remove {
  margin-left: 0.4rem;
}

/* Prodotto aggiunto dopo la prima stampa del tavolo */
.comanda-row.is-agg {
  border-left: 3px solid #5fb3ff;
}

.comanda-agg-badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  vertical-align: middle;
  color: #06223a;
  background: #5fb3ff;
}

.comanda-row.is-new.is-agg {
  border-left-color: var(--accent);
}

.tavoli-head-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#comanda-tavolo-box[hidden] {
  display: none !important;
}
