/* Pagine del sito (storia, qualità, benessere e salute, gallery, dove siamo)
   e menu in alto, condiviso con il negozio online.
   Stessa grafica del negozio: titoli condensati in maiuscolo, bordeaux del logo. */

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 16px; }
.salta { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.salta:focus { left: 8px; }

/* ---------- Intestazione e menu ---------- */
.pg .top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.pg .top .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.pg .logo { display: block; flex-shrink: 0; }
.pg .logo img { height: 44px; width: auto; }
.top-cta { margin-left: auto; }

.menu { display: none; }
.menu a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 0.95rem; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.menu a:hover { color: var(--ink); background: var(--surface-2); }
.menu a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px;
  border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: 0.92rem;
}
.menu-ic, .menu-ic::before, .menu-ic::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 1px; position: relative; }
.menu-ic::before, .menu-ic::after { content: ""; position: absolute; left: 0; }
.menu-ic::before { top: -5px; }
.menu-ic::after { top: 5px; }
.menu-btn[aria-expanded="true"] .menu-ic { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-ic::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-ic::after { top: 0; transform: rotate(-45deg); }

/* Telefono: il menu si apre sotto l'intestazione */
@media (max-width: 1079px) {
  .menu.open {
    display: grid; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(28, 20, 22, 0.12);
    padding: 8px 16px 14px;
  }
  .menu.open a { font-size: 1.05rem; padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu.open a:last-child { border-bottom: 0; }
  .menu.open a[aria-current="page"] { box-shadow: none; }
  .top .wrap { position: relative; }
}
@media (max-width: 420px) { .top-cta { display: none; } .menu-btn { margin-left: auto; } }
/* Computer: menu in riga */
@media (min-width: 1080px) {
  .menu { display: flex; gap: 2px; margin-left: 20px; }
  .pg .menu a:first-child { display: none; } /* c'è già il pulsante "Ordina online" */
  .menu-btn { display: none; }
}

/* ---------- Testata delle pagine ---------- */
.testa { padding-block: 40px 8px; }
.testa h1 { font-size: clamp(2.4rem, 8vw, 4.4rem); text-transform: uppercase; letter-spacing: -0.01em; }
.testa .lead { margin: 14px 0 0; font-size: 1.12rem; color: var(--ink-2); max-width: 36em; }
.testa-foto { display: grid; gap: 24px; }
.testa-img { margin: 0; border-radius: 18px; overflow: hidden; background: var(--brand-tint); }
.testa-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .testa { padding-block: 64px 16px; }
  .testa-foto { grid-template-columns: minmax(0, 1fr) 520px; gap: 56px; align-items: end; }
}
.salti { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.salti a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.salti a:hover { border-color: var(--ink-2); }

/* ---------- Storia: le tappe ---------- */
.linea { padding-block: 40px 16px; }
.tappe { list-style: none; margin: 0; padding: 0; display: grid; }
.tappe li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 26px 0 28px 26px; border-left: 3px solid var(--line-2); position: relative; }
.tappe li::before { content: ""; position: absolute; left: -9px; top: 36px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 3px solid var(--brand); }
.tappe li:last-child { border-left-color: var(--brand); }
.tappe li:last-child::before { background: var(--brand); }
.quando { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 11vw, 5.2rem); line-height: 0.95; color: var(--brand); letter-spacing: -0.02em; }
.tappe h2 { font-size: 1.35rem; text-transform: uppercase; }
.tappe p { margin: 6px 0 0; color: var(--ink-2); font-size: 1.05rem; max-width: 34em; }
.epoca { margin: 16px 0 0; }
.epoca figcaption { margin-top: 8px; font-size: 0.88rem; color: var(--ink-3); font-weight: 600; }
.epoca img { width: auto; max-width: min(100%, 486px); height: auto; border-radius: 6px; filter: sepia(0.15); box-shadow: 0 10px 24px rgba(28, 20, 22, 0.16); }
@media (min-width: 900px) {
  .tappe li { grid-template-columns: 320px minmax(0, 1fr); gap: 40px; align-items: baseline; padding-left: 40px; }
  .tappe li::before { top: 46px; }
}

/* ---------- Testo lungo ---------- */
.prosa { padding-block: 24px 40px; }
.prosa > * { max-width: 680px; }
.prosa h2 { font-size: 1.7rem; text-transform: uppercase; margin: 34px 0 12px; }
.prosa > h2:first-child { margin-top: 0; }
.prosa p, .prosa li { font-size: 1.08rem; line-height: 1.68; color: #2d2326; }
.prosa p { margin: 0 0 1.05em; }
.prosa ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.prosa li { margin-bottom: 0.3em; }
.prosa li::marker { color: var(--brand); }
.prosa blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--brand); }
.prosa blockquote p { font-size: 1.22rem; line-height: 1.5; color: var(--ink); margin: 0; }
.prosa cite { display: block; margin-top: 10px; font-style: normal; font-size: 0.9rem; color: var(--ink-3); font-weight: 600; }

/* ---------- Qualità ---------- */
.prodotto { display: grid; gap: 22px; padding-block: 36px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.testa + .prodotto { border-top: 0; }
.prodotto-img { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.prodotto-img img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.prodotto h2 { font-size: clamp(2rem, 6vw, 3rem); text-transform: uppercase; }
.punti { margin: 18px 0 0; display: grid; gap: 16px; }
.punti div { padding-left: 16px; border-left: 3px solid var(--brand-tint); }
.punti dt { font-weight: 800; font-size: 1.05rem; }
.punti dd { margin: 4px 0 0; color: var(--ink-2); line-height: 1.55; }
@media (min-width: 900px) {
  .prodotto { grid-template-columns: 440px minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 56px; }
  .prodotto.rov { grid-template-columns: minmax(0, 1fr) 440px; }
  .prodotto.rov .prodotto-img { order: 2; }
}

/* ---------- Benessere e salute ---------- */
.articoli { display: grid; gap: 4px; padding-block: 24px 48px; }
.art { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.art-img { display: block; border-radius: 12px; overflow: hidden; background: var(--brand-tint); }
.art-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.art time { font-size: 0.85rem; color: var(--ink-3); font-weight: 600; }
.art h2 { font-size: 1.3rem; text-transform: uppercase; margin-top: 4px; }
.art h2 a { color: var(--ink); text-decoration: none; }
.art h2 a:hover { color: var(--brand); }
.art p { margin: 6px 0 0; color: var(--ink-2); }
.art.primo { grid-template-columns: minmax(0, 1fr); border-top: 0; padding-top: 0; gap: 14px; }
.art.primo .art-img img { aspect-ratio: 3 / 2; }
.art.primo h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
@media (min-width: 700px) {
  .art { grid-template-columns: 240px minmax(0, 1fr); gap: 28px; padding: 26px 0; }
  .art h2 { font-size: 1.55rem; }
}
@media (min-width: 900px) {
  .art.primo { grid-template-columns: 600px minmax(0, 1fr); gap: 40px; align-items: center; padding-bottom: 32px; }
}

.articolo { padding-top: 32px; }
.articolo .prosa { padding-inline: 0; }
.briciole { margin: 0 0 14px; font-weight: 700; font-size: 0.92rem; }
.briciole a { text-decoration: none; }
.briciole a::before { content: "‹ "; }
.articolo h1 { font-size: clamp(2rem, 6.5vw, 3.4rem); text-transform: uppercase; max-width: 20em; }
.art-meta { margin: 12px 0 22px; color: var(--ink-3); font-weight: 600; font-size: 0.95rem; }
/* Le foto degli articoli si mostrano alla loro grandezza vera (alcune sono piccole): mai ingrandite. */
.art-copertina { margin: 0 0 28px; }
.art-copertina img { width: auto; max-width: 100%; height: auto; max-height: 560px; border-radius: 16px; }
.art-foto { margin: 1.4em 0; }
.art-foto img { width: auto; max-width: 100%; height: auto; border-radius: 14px; }
.altri { padding-block: 8px 48px; }
.altri > * { max-width: 680px; }
.altri h2 { font-size: 1.3rem; text-transform: uppercase; margin-bottom: 8px; }
.altri ul { list-style: none; margin: 0; padding: 0; }
.altri li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); align-items: baseline; }
.altri a { font-weight: 700; color: var(--ink); text-decoration: none; }
.altri a:hover { color: var(--brand); }
.altri time { font-size: 0.85rem; color: var(--ink-3); white-space: nowrap; }

/* ---------- Gallery ---------- */
.galleria { padding-block: 16px 48px; }
.galleria h2 { font-size: 1.5rem; text-transform: uppercase; margin: 28px 0 14px; }
.g-prodotti { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.g-prodotti li { display: grid; gap: 8px; }
.g-prodotti span { font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.g-foto { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 10px; }
.g-foto li { break-inside: avoid; margin-bottom: 10px; }
.g-apri { display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--brand-tint); cursor: zoom-in; }
.g-apri img { width: 100%; height: auto; }
.g-prodotti .g-apri img { aspect-ratio: 1; object-fit: cover; }
@media (min-width: 700px) { .g-prodotti { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } .g-foto { columns: 3; column-gap: 14px; } .g-foto li { margin-bottom: 14px; } }
@media (min-width: 1000px) { .g-foto { columns: 4; } }

.lb { position: fixed; inset: 0; z-index: 80; background: rgba(18, 12, 14, 0.94); }
.lb-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.lb-track::-webkit-scrollbar { display: none; }
.lb figure { flex: 0 0 100%; height: 100%; margin: 0; display: grid; place-items: center; scroll-snap-align: center; scroll-snap-stop: always; padding: 56px 12px 40px; }
.lb img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lb figcaption { color: #fff; font-weight: 700; margin-top: 10px; text-align: center; }
.lb-x { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 1.7rem; line-height: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 2rem; line-height: 1; padding-bottom: 4px; display: none; }
.lb-nav.prev { left: 14px; }
.lb-nav.next { right: 14px; }
.lb-nav:disabled { opacity: 0.25; }
@media (hover: hover) { .lb-nav { display: block; } }
.lb-n { position: absolute; top: calc(20px + env(safe-area-inset-top, 0px)); left: 16px; color: rgba(255, 255, 255, 0.8); font-weight: 700; font-size: 0.9rem; }

/* ---------- Dove siamo ---------- */
.dove { display: grid; gap: 28px; padding-block: 16px 48px; }
.dove address { font-style: normal; font-size: 1.25rem; line-height: 1.45; }
.dove address strong { display: block; font-family: var(--display); font-size: 2rem; text-transform: uppercase; line-height: 1; margin-bottom: 8px; }
/* Indicazioni, Chiama e WhatsApp: uno sotto l'altro, centrati, della stessa larghezza */
.dove-btn { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 22px 0 30px; max-width: 440px; }
.dove-btn .btn { width: 100%; max-width: 340px; }
.dove h2 { font-size: 1.4rem; text-transform: uppercase; margin-bottom: 10px; }
.orari { width: 100%; max-width: 440px; border-collapse: collapse; font-size: 1.02rem; }
.orari td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.orari td:last-child { text-align: right; font-weight: 700; }
.orari tr.chiuso td:last-child { color: var(--ink-3); font-weight: 600; }
.orari tr.oggi td { color: var(--brand); font-weight: 800; }
.dove .nota { color: var(--ink-3); font-size: 0.9rem; margin-top: 12px; }
.mappa { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); min-height: 340px; }
.mappa iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }
@media (min-width: 900px) { .dove { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; } .mappa, .mappa iframe { min-height: 520px; } }

/* ---------- Invito al negozio online ---------- */
.invito { background: var(--brand); color: #fff; margin-top: 24px; }
.invito-in { display: grid; gap: 18px; padding-block: 36px; align-items: center; }
.invito h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); text-transform: uppercase; }
.invito p { margin: 8px 0 0; color: rgba(255, 255, 255, 0.86); max-width: 36em; }
.invito .btn-primary { background: #fff; color: var(--brand); justify-self: start; }
.invito .btn-primary:hover { background: var(--brand-tint); }
@media (min-width: 900px) { .invito-in { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; padding-block: 44px; } }

/* ---------- Piè di pagina ---------- */
.pg footer.site { background: var(--ink); color: #e9e0e2; padding-block: 40px calc(36px + env(safe-area-inset-bottom, 0px)); }
.pg footer.site .wrap { display: grid; gap: 28px; }
.pg footer.site h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; margin-bottom: 10px; }
.pg footer.site a { color: #fff; }
.pg footer.site p { margin: 0 0 6px; }
.pg .hours { width: 100%; max-width: 360px; border-collapse: collapse; font-size: 0.95rem; }
.pg .hours td { padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.pg .hours td:last-child { text-align: right; }
.pg .hours tr.oggi td { color: #fff; font-weight: 700; }
.pg .fine { color: #b6a8ab; font-size: 0.82rem; }
.f-menu { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 14px !important; font-size: 0.9rem; }
@media (min-width: 800px) { .pg footer.site .wrap { grid-template-columns: 1.2fr 1fr 1fr; } .pg footer.site .wrap > .fine { grid-column: 1 / -1; } }

/* Testi lasciati vuoti nell'editor: non si vedono */
[data-ed]:empty { display: none; }
.tappe .ed-agg::before { display: none; }

/* ---------- Pagina Arrosticini ---------- */
.arr-cta { margin: 22px 0 0; }
.arr-prodotti, .arr-perche, .arr-dove { padding-block: 28px; border-top: 1px solid var(--line); }
.arr-prodotti h2, .arr-perche h2, .arr-dove h2 { font-size: 1.7rem; text-transform: uppercase; margin: 0 0 16px; }
.arr-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .arr-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.arr-p { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); scroll-margin-top: 90px; }
.arr-p.off { opacity: 0.75; }
.arr-img { display: block; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--brand-tint); }
.arr-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arr-t h3 { margin: 0; font-size: 1.15rem; }
.arr-t p { margin: 6px 0 0; color: var(--ink-2); line-height: 1.5; }
.arr-t .btn { margin-top: 12px; }
.arr-prezzo { font-size: 0.95rem; }
.arr-prezzo b { color: var(--brand); font-size: 1.1rem; }
.arr-tag { display: inline-block; vertical-align: middle; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: var(--brand-tint); color: var(--brand); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.arr-tag.off { background: var(--surface-2); color: var(--ink-3); border: 1px solid var(--line-2); }
.arr-prodotti .nota { margin: 14px 0 0; color: var(--ink-3); font-size: 0.92rem; }
.arr-perche .punti { max-width: 760px; }
@media (min-width: 900px) { .arr-perche .punti { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; gap: 20px 40px; } }
.arr-perche > p { margin: 18px 0 0; font-weight: 700; }
.arr-cottura, .arr-faq { border-top: 1px solid var(--line); padding-top: 28px; }
.arr-leggi { font-size: 0.98rem !important; color: var(--ink-2) !important; }
.faq { padding: 14px 0; border-bottom: 1px solid var(--line); }
.faq h3 { margin: 0 0 6px; font-size: 1.12rem; }
.faq p { margin: 0 !important; }
.arr-dove p { margin: 0; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 420px) { .arr-p { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 12px; } }
.epoca-video video { display: block; width: 100%; max-width: 486px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #1c1416; box-shadow: 0 10px 24px rgba(28, 20, 22, 0.16); }
.mappa-vuota { min-height: inherit; height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center; background: linear-gradient(135deg, #eef1ea, #e4e9df); }
.mappa-vuota p { margin: 0; font-weight: 700; }
.mappa-vuota small { color: var(--ink-3); }
.mappa { display: grid; }
