/* ==========================================================
   1. VARIABILI: colori e misure in un posto solo.
   I nomi descrivono il RUOLO (accento), non il colore:
   così puoi cambiare il colore senza rinominare nulla.
   ========================================================== */
:root {
  --crema: #fbf3e4;
  --sabbia: #f3e4c8;
  --caldo: #f8e7cb;         /* sfondo sezioni "calde" */
  --marrone: #3b2314;       /* testo e sfondi scuri */
  --marrone-chiaro: #6b4a35;
  --carbone: #24150c;
  --accento: #b93c0a;       /* colore principale: bottoni, titoli in evidenza */
  --accento-scuro: #8f2d06; /* hover */
  --oro: #f0b04a;
  --verde: #4ade80;         /* "aperto ora" su sfondo scuro */
  --rosso: #f87171;         /* "chiuso" su sfondo scuro */

  --font-titoli: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-testo: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --raggio: 16px;
  --ombra: 0 8px 28px rgba(59, 35, 20, 0.13);
  --ombra-forte: 0 18px 50px rgba(36, 21, 12, 0.35);
}

/* ==========================================================
   2. RESET E BASE
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-testo);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--marrone);
  background: var(--crema);
}

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

h1, h2, h3 { font-family: var(--font-titoli); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--accento); }
a:hover { color: var(--accento-scuro); }

.container { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--marrone-chiaro); }
.small { font-size: .9rem; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--marrone); color: #fff; padding: .6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; }

.kicker {
  text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 700;
  color: var(--accento); margin-bottom: .6rem;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 2.6rem; }
.section-head p:last-child { margin-bottom: 0; }

/* ==========================================================
   3. BOTTONI
   ========================================================== */
.btn {
  display: inline-block; padding: .9rem 1.9rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; text-align: center;
  transition: transform .15s, background .15s, color .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accento); color: #fff; box-shadow: 0 6px 18px rgba(185, 60, 10, .35); }
.btn-primary:hover { background: var(--accento-scuro); color: #fff; }
.btn-ghost { border: 2px solid rgba(255,255,255,.85); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--marrone); }
.btn-small { padding: .6rem 1.3rem; font-size: .95rem; }

/* ==========================================================
   4. HEADER E MENÙ
   ========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(36, 21, 12, .96);
  backdrop-filter: blur(8px);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 4px 22px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }

.logo {
  font-family: var(--font-titoli); font-size: 1.5rem; font-weight: 700;
  color: var(--crema); text-decoration: none; display: flex; align-items: center; gap: .45rem;
}
.logo:hover { color: var(--crema); }
.logo-text span { color: var(--oro); }
.logo-img { width: 40px; height: 40px; flex: none; }

.main-nav ul { display: flex; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: var(--crema); text-decoration: none; font-weight: 500; }
.main-nav a:hover { color: var(--oro); }
.main-nav .nav-cta {
  background: var(--accento); color: #fff; padding: .5rem 1.2rem; border-radius: 999px; font-weight: 700;
}
.main-nav .nav-cta:hover { background: var(--accento-scuro); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--crema); margin: 5px 0; border-radius: 2px; }

/* ==========================================================
   5. HERO
   ========================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff; text-align: center;
  padding: clamp(4.5rem, 12vw, 8.5rem) 0 clamp(5rem, 11vw, 8rem);
  background: var(--carbone);
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero::after {            /* velo scuro sopra la foto: rende il testo leggibile */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(36,21,12,.78) 0%, rgba(36,21,12,.62) 45%, rgba(36,21,12,.92) 100%);
}
.hero-inner { max-width: 820px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; color: var(--oro); font-size: .85rem; font-weight: 700; }
.hero h1 { font-size: clamp(2.5rem, 7.5vw, 4.6rem); text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero h1 em { color: var(--oro); font-style: italic; display: block; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); max-width: 620px; margin-inline: auto; opacity: .96; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.hero-facts {
  list-style: none; padding: 0; margin: 2.2rem 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; font-size: .95rem; opacity: .92;
}
.hero-facts li::before { content: "✓ "; color: var(--oro); font-weight: 700; }

/* Pillola "Aperto ora / Chiuso" (il testo lo scrive il JavaScript) */
.badge-open {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem 1rem; border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  margin-bottom: 1.2rem;
}
.badge-open .dot { width: .65rem; height: .65rem; border-radius: 50%; background: #9ca3af; }
.badge-open[data-stato="aperto"] .dot { background: var(--verde); box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
.badge-open[data-stato="chiuso"] .dot { background: var(--rosso); }
.badge-inline { background: #fff; border-color: #e8d6b5; color: var(--marrone); margin: .4rem 0 0; }
.badge-inline[data-stato="aperto"] .dot { background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.2); }
.badge-inline[data-stato="chiuso"] .dot { background: #dc2626; }

/* ==========================================================
   6. INFO RAPIDE (sovrapposte all'hero)
   ========================================================== */
.quick { margin-top: -3.2rem; position: relative; z-index: 2; }
.quick-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.quick-card {
  display: flex; gap: 1rem; align-items: center;
  background: #fff; border-radius: var(--raggio); padding: 1.2rem 1.4rem; box-shadow: var(--ombra);
}
.quick-icon { font-size: 1.8rem; }
.quick-card h2 { font-family: var(--font-testo); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--marrone-chiaro); margin: 0 0 .15rem; }
.quick-card p { margin: 0; font-size: 1rem; }
.quick-card a { text-decoration: none; font-weight: 600; }
.quick-card a:hover { text-decoration: underline; }

/* ==========================================================
   7. SEZIONI GENERICHE
   ========================================================== */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--sabbia); }
.section-warm { background: var(--caldo); }
.section-dark { background: var(--marrone); color: var(--crema); }
.on-dark-muted { color: #e6d3ba; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
.split-photo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--ombra-forte); transform: rotate(1.2deg); }
.split-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.highlights {
  list-style: none; padding: 0; margin: 1.8rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .9rem;
}
.highlights li {
  background: #fff; border-radius: 14px; padding: 1rem; box-shadow: var(--ombra);
  display: flex; flex-direction: column; gap: .2rem; border-top: 4px solid var(--oro);
}
.highlights strong { color: var(--accento); font-family: var(--font-titoli); font-size: 1.05rem; }
.highlights span { font-size: .92rem; color: var(--marrone-chiaro); }

/* Come ordinare */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; }
.steps li { background: #fff; border-radius: var(--raggio); padding: 1.8rem 1.5rem; box-shadow: var(--ombra); text-align: center; }
.step-num {
  display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--accento); color: #fff; font-family: var(--font-titoli); font-size: 1.4rem; font-weight: 700; margin-bottom: .8rem;
}
.steps h3 { margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--marrone-chiaro); }

/* ==========================================================
   8. MENÙ
   ========================================================== */
.menu-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.menu-card {
  background: #fff; border-radius: var(--raggio); padding: 1.8rem 1.6rem; box-shadow: var(--ombra);
  border-top: 5px solid var(--accento);
}
.menu-card-wide { grid-column: 1 / -1; }
.menu-card h3 { color: var(--accento); font-size: 1.5rem; margin-bottom: .8rem; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; align-items: flex-start; gap: .6rem; padding: .6rem 0; border-bottom: 1px solid #f1e4cd; }
.price-list li:last-child { border-bottom: 0; }
.item-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; min-width: 0; }
.item-main > span { font-weight: 600; }
.item-main small { flex-basis: 100%; color: var(--marrone-chiaro); font-size: .86rem; line-height: 1.35; }
.tag {
  background: var(--oro); color: var(--marrone); font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; padding: .15rem .55rem; border-radius: 999px;
}
.dots { flex: 1; min-width: .8rem; border-bottom: 2px dotted #cbb79b; margin-top: 1.1rem; }
.price-list strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.allergeni { margin-top: 1.6rem; }

/* ==========================================================
   9. GALLERIA
   ========================================================== */
.gallery {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
}
.g-item { margin: 0; border-radius: var(--raggio); overflow: hidden; box-shadow: var(--ombra); position: relative; }
.g-big { grid-column: span 2; grid-row: span 2; }
.g-wide { grid-column: span 3; }
.g-open { all: unset; display: block; cursor: zoom-in; position: relative; width: 100%; height: 100%; }
.g-open:focus-visible { outline: 4px solid var(--oro); outline-offset: -4px; }
.g-open img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; transition: transform .5s; }
.g-wide .g-open img { aspect-ratio: 21 / 8; min-height: 0; }
.g-open:hover img { transform: scale(1.05); }
.g-open figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem .8rem;
  color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.7));
}

/* Foto ingrandita */
.lightbox {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(20, 11, 6, .96); color: #fff;
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem; padding: 1rem; }
.lightbox::backdrop { background: rgba(0,0,0,.8); }
.lightbox figure { margin: 0; text-align: center; min-width: 0; }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { margin-top: .8rem; font-size: 1.05rem; }
.lb-close, .lb-nav {
  all: unset; cursor: pointer; color: #fff; text-align: center;
  width: 48px; height: 48px; line-height: 44px; font-size: 2rem; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-close:focus-visible, .lb-nav:focus-visible { outline: 3px solid var(--oro); }
.lb-close { position: absolute; top: 1rem; right: 1rem; z-index: 2; }

/* ==========================================================
   10. EVENTI, FAQ
   ========================================================== */
.cta-band {
  background:
    linear-gradient(rgba(36,21,12,.88), rgba(36,21,12,.92)),
    radial-gradient(circle at 15% 20%, rgba(240,176,74,.25), transparent 55%),
    var(--marrone);
}
.cta-band h2 { margin-bottom: .4em; }
.cta-band .btn { margin-top: .6rem; }

.faq details { background: #fff; border-radius: 14px; box-shadow: var(--ombra); margin-bottom: .8rem; overflow: hidden; }
.faq summary {
  cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--accento); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--marrone-chiaro); }

/* ==========================================================
   11. DOVE SIAMO
   ========================================================== */
.location { display: grid; gap: 2rem; grid-template-columns: 1fr 1.1fr; align-items: stretch; }
.info-box { background: #fff; padding: 1.9rem; border-radius: var(--raggio); box-shadow: var(--ombra); }
address { font-style: normal; margin-bottom: 1rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th { text-align: left; font-weight: 600; padding: .55rem .6rem .55rem 0; vertical-align: top; }
.hours td { padding: .55rem 0; }
.hours tr + tr { border-top: 1px solid #f1e4cd; }
.hours tr.oggi { background: #fff4de; }
.hours tr.oggi th::after { content: " · oggi"; font-weight: 700; color: var(--accento); }

.map { display: flex; flex-direction: column; gap: .5rem; }
.map iframe { width: 100%; flex: 1; min-height: 380px; border: 0; border-radius: var(--raggio); box-shadow: var(--ombra); }

/* ==========================================================
   12. FOOTER
   ========================================================== */
.site-footer { background: var(--carbone); color: #d8c6ad; padding: 3rem 0 1.4rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.site-footer h2 { font-family: var(--font-testo); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--oro); margin-bottom: .7rem; }
.site-footer a { color: #f1dfc4; }
.site-footer a:hover { color: var(--oro); }
.footer-logo { font-family: var(--font-titoli); font-size: 1.6rem; color: var(--crema); margin-bottom: .4rem; }
.footer-logo span { color: var(--oro); }
.footer-logo { display: flex; align-items: center; gap: .55rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.1rem; text-align: center; }
.footer-bottom p { margin: 0; }

/* ==========================================================
   13. ORDINE ONLINE (carrello)
   ========================================================== */
.add-btn {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: var(--accento); color: #fff; font-size: 1.5rem; line-height: 1;
  cursor: pointer; transition: transform .15s, background .15s; margin-block: -5px;
}
.add-btn:hover { background: var(--accento-scuro); transform: scale(1.1); }

.cart-fab {
  position: fixed; bottom: 1rem; right: 1rem; z-index: 60;
  display: flex; align-items: center; gap: .7rem;
  padding: .85rem 1.4rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--carbone); color: var(--crema); font: inherit; font-weight: 700;
  box-shadow: var(--ombra-forte);
}
.cart-fab[hidden] { display: none; }
.cart-fab:hover { background: #3a2415; }
.cart-badge {
  min-width: 1.7rem; height: 1.7rem; padding: 0 .4rem; border-radius: 999px;
  background: var(--oro); color: var(--marrone);
  display: inline-grid; place-items: center; font-weight: 800;
}

.cart-dialog {
  width: min(520px, 100% - 1.5rem); max-height: 92vh; padding: 0; border: 0;
  border-radius: 20px; background: var(--crema); color: var(--marrone);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.cart-dialog::backdrop { background: rgba(36, 21, 12, .65); }
.cart-inner { padding: 1.4rem; }
.cart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.cart-head h2 { font-size: 1.6rem; margin: 0; }
.cart-close { border: 0; background: none; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--marrone); width: 44px; height: 44px; }

.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-lines li {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .8rem;
  padding: .7rem 0; border-bottom: 1px solid var(--sabbia);
}
.cart-qty { display: inline-flex; align-items: center; gap: .5rem; }
.cart-qty button {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--accento);
  background: #fff; color: var(--accento); font-size: 1.2rem; line-height: 1; cursor: pointer;
}
.cart-qty button:hover { background: var(--accento); color: #fff; }
.cart-qty span { min-width: 1.4rem; text-align: center; font-weight: 600; }

.cart-total { display: flex; justify-content: space-between; font-size: 1.3rem; margin: 1rem 0 .2rem; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accento); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; }

.order-form { margin-top: 1.2rem; display: grid; gap: .9rem; }
.order-form label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; }
.order-form input, .order-form textarea {
  font: inherit; font-size: 1rem; padding: .65rem .8rem; border: 2px solid #d9c6a6;
  border-radius: 10px; background: #fff; color: var(--marrone);
}
.order-form input:focus, .order-form textarea:focus { outline: 3px solid var(--oro); border-color: var(--marrone); }
.order-form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.order-form .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ==========================================================
   14. ANIMAZIONI ALLO SCORRIMENTO
   Attive solo se JavaScript è attivo (classe .js): senza, tutto è visibile.
   ========================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   15. RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-photo { transform: none; order: -1; }
  .location { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .g-big { grid-column: span 2; grid-row: span 1; }
  .g-wide { grid-column: span 2; }
}

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--carbone); display: none; padding: 1rem 1.2rem 1.4rem;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: .4rem; }
  .main-nav a { display: block; padding: .6rem 0; }
  .main-nav .nav-cta { text-align: center; margin-top: .5rem; }
  .cart-fab { left: 1rem; right: 1rem; justify-content: center; }
  .quick { margin-top: -2.4rem; }
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .g-big, .g-wide { grid-column: span 1; }
  .g-wide .g-open img { aspect-ratio: 4 / 3; }
  .lightbox[open] { grid-template-columns: 1fr; align-content: center; }
  .lb-nav { position: absolute; top: 50%; z-index: 2; }
  .lb-prev { left: .5rem; }
  .lb-next { right: .5rem; }
}

/* Chi ha disattivato le animazioni nel sistema non le vede */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   16. PAGINE DI SERVIZIO (privacy, 404)
   ========================================================== */
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.3rem; }
.legal-warning {
  background: #fff4de; border-left: 5px solid var(--oro); padding: 1rem 1.2rem;
  border-radius: 10px; margin: 1.4rem 0;
}

.notfound {
  min-height: 100vh; display: grid; align-content: center; justify-items: center;
  text-align: center; padding: 2rem; gap: .4rem; max-width: 560px; margin: 0 auto;
}
.notfound-emoji { font-size: 4rem; margin: 0; }
.notfound h1 { font-size: clamp(2rem, 6vw, 3rem); }

/* ==========================================================
   17. BANNER "SITO DIMOSTRATIVO"
   ========================================================== */
.demo-bar {
  background: var(--oro); color: var(--marrone); text-align: center;
  font-size: .85rem; font-weight: 700; padding: .45rem 1rem; line-height: 1.35;
}

/* ==========================================================
   18. MIGLIORAMENTI: ordine, accessibilità
   ========================================================== */
.quick-label {
  font-family: var(--font-testo); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--marrone-chiaro); margin: 0 0 .15rem; font-weight: 700;
}

.order-form select {
  font: inherit; font-size: 1rem; padding: .65rem .8rem; border: 2px solid #d9c6a6;
  border-radius: 10px; background: #fff; color: var(--marrone); width: 100%;
}
.order-form select:focus { outline: 3px solid var(--oro); border-color: var(--marrone); }
.order-form label[hidden] { display: none; }
.form-help { font-weight: 400; font-size: .85rem; color: var(--marrone-chiaro); }
.form-error {
  margin: 0; padding: .7rem .9rem; border-radius: 10px;
  background: #fdecea; color: #8a1c10; border: 1px solid #f3b8b0; font-weight: 600; font-size: .95rem;
}
.form-error[hidden] { display: none; }
.btn-secondary { background: transparent; color: var(--accento); border: 2px solid var(--accento) !important; }
.btn-secondary:hover { background: var(--accento); color: #fff; }
.form-esito { margin: 0; font-size: .9rem; color: var(--marrone-chiaro); white-space: pre-line; }
.form-esito:empty { display: none; }

/* Link più facili da toccare (almeno 24px di altezza, meglio 44 su telefono) */
.quick-card a, .info-box a:not(.btn), .site-footer a, .map a {
  display: inline-block; padding-block: .3rem;
}
.site-footer p a { padding-block: .35rem; }
@media (max-width: 800px) {
  .quick-card a, .info-box a:not(.btn), .site-footer p a, .map a { padding-block: .6rem; }
}

.notfound-logo { width: 96px; height: 96px; margin: 0 auto .4rem; }
