/* W5b: da telefono i prodotti devono comparire subito (prima il primo prodotto stava a 1688 px). Solo sotto i 768 px. */

/* Hero dello shop piu' corto: stesso testo, meno aria. */
body.nando-m5b.nando-archive .nando-hero { padding: 28px 20px 64px; }
body.nando-m5b.nando-archive .nando-crumbs ol { margin-bottom: 14px; }
body.nando-m5b.nando-archive .nando-hero-title { font-size: clamp(2rem, 9vw, 2.6rem); }
body.nando-m5b.nando-archive .nando-hero-intro {
  margin-top: 12px; font-size: 14px; line-height: 1.6;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
body.nando-m5b.nando-archive .nando-hero-wave { height: 28px; }

/* Card delle macro-categorie: fasce basse invece di tre schermate. */
body.nando-m5b.nando-archive #Content .section_wrapper.default-woo-list { padding-top: 24px; }
body.nando-m5b .nando-macro-grid { gap: 10px; margin-bottom: 32px; }
body.nando-m5b .nando-macro-card { aspect-ratio: auto; min-height: 104px; }
body.nando-m5b .nando-macro-card::before { inset: 6px; }
body.nando-m5b .nando-macro-text { top: 0; bottom: 0; left: 20px; right: 20px; justify-content: center; gap: 4px; }
body.nando-m5b .nando-macro-name { font-size: 1.35rem; }
body.nando-m5b .nando-macro-name::after { margin-top: 8px; width: 28px; }

/* Barra fissa "Aggiungi al carrello" nella scheda prodotto. */
.nando-buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 62px calc(10px + env(safe-area-inset-bottom, 0px)) 16px; /* a destra resta spazio per l'icona delle preferenze cookie */
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--n-line, #e6dfd3);
  box-shadow: 0 -6px 24px rgba(26, 18, 9, .10);
  transform: translateY(110%); transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.nando-buybar.is-on { transform: none; }
.nando-buybar-info { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.nando-buybar-name { font: 600 14px/1.25 var(--n-serif, 'Playfair Display', serif); color: var(--n-dark, #1a1209); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nando-buybar-price { font: 600 15px/1.2 var(--n-sans, 'Montserrat', sans-serif); color: #8b6635; }
.nando-buybar-price del { color: #6b6355; font-weight: 400; margin-right: 6px; }
.nando-buybar-price ins { text-decoration: none; }
.nando-buybar button {
  flex: 0 0 auto; min-height: 48px; padding: 0 20px; border: 0; border-radius: 3px; cursor: pointer;
  font: 600 12px/1 var(--n-sans, 'Montserrat', sans-serif); letter-spacing: .1em; text-transform: uppercase; color: #1a1209;
  background: linear-gradient(135deg, #d9bd62, #b8943a);
}
.nando-buybar button:focus-visible { outline: 2px solid #8b6635; outline-offset: 2px; }
html.nando-buybar-on body { padding-bottom: 76px; }
/* Il pulsante WhatsApp (Chaty) non deve finire sotto la barra. */
html.nando-buybar-on #chaty-widget-0, html.nando-buybar-on .chaty-widget { bottom: 84px !important; }
.nando-buybar .screen-reader-text { display: none; }
@media (prefers-reduced-motion: reduce) { .nando-buybar { transition: none; } }
