/* ==========================================================================
   BIRRA DI NAON — Shared Design System
   ========================================================================== */

/* Il font di brand in uso è 'shrbitov' (public/fonts/shrbitov.ttf); 'naon' è il
   secondo della lista --naon e serve solo se un giorno i file NAON.woff2/NAON.woff
   verranno copiati in public/fonts/. Le URL di ripiego verso birradinaon.com
   (tema WordPress) sono state tolte il 30/09/2026: quel server sparisce con il
   cambio di dominio e la Relazione SEO settembre 2026 (§3.6, §5.1) chiede che
   nulla dipenda più dal vecchio sito. */
@font-face {
  font-family: 'naon';
  src: url('/fonts/NAON.woff2') format('woff2'),
       url('/fonts/NAON.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'shrbitov';
  src: url('/fonts/shrbitov.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --white:#fff; --black:#0d0d0d; --ink:#1a1a1a;
  --accent:#8B6914; --accent-l:#a67d1a; --accent-d:#6d5210; --gold:#D4A820; --gold-l:#F5D04E;
  --gray:#555; --gray-l:#767676; --gray-xl:#a8a8a8;
  --border:#e5e5e5; --border-d:rgba(255,255,255,.08);
  --bg:#f8f7f4; --bg-warm:#f2efe8; --bg-dark:#0d0d0d;
  --naon:'shrbitov','naon',serif;
  --body:var(--font-dm-sans),'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --ease:cubic-bezier(.25,.46,.45,.94);
  --ease-out:cubic-bezier(.16,1,.3,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);
  --container: 1240px;
  --radius: 24px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ============= GRAIN OVERLAY ============= */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9998; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============= CURSOR GLOW ============= */
.cursor-glow {
  position: fixed; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,105,20,.07) 0%, transparent 70%);
  pointer-events: none; z-index: 9999; transform: translate(-50%,-50%);
  transition: opacity .3s; opacity: 0;
}
body:hover .cursor-glow { opacity: 1; }

/* ============= NAVBAR ============= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 110px; display: flex; align-items: center;
  transition: top .6s var(--ease-out), left .6s var(--ease-out), right .6s var(--ease-out),
              height .6s var(--ease-out), border-radius .6s var(--ease-out);
}
.navbar::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: rgba(255,255,255,.88); backdrop-filter: blur(32px) saturate(1.8);
  -webkit-backdrop-filter: blur(32px) saturate(1.8);
  border: 1px solid transparent; opacity: 0;
  transition: all .6s var(--ease);
}
.navbar.scrolled { height: 60px; top: 14px; left: 32px; right: 32px; border-radius: 100px; }
.navbar.scrolled::before {
  opacity: 1; border-color: rgba(0,0,0,.06);
  box-shadow: 0 12px 48px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.03), inset 0 1px 0 rgba(255,255,255,.8);
}
.navbar.solid::before { opacity: 1; border-color: rgba(0,0,0,.06); }

.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 32px;
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 2;
}
.nav-logo { display: flex; align-items: center; gap: 14px; transition: all .4s var(--ease); }
.nav-logo:hover { opacity: .82; transform: scale(.97); }
.nav-logo .logo-mark {
  font-family: var(--naon); font-size: 1.5rem; line-height: 1; color: #fff;
  letter-spacing: .02em; transition: all .4s var(--ease);
}
.navbar.scrolled .nav-logo .logo-mark, .navbar.solid .nav-logo .logo-mark { color: var(--black); }
.nav-logo .logo-sub {
  font-size: .58rem; font-weight: 700; letter-spacing: .25em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
  margin-top: 3px; transition: color .4s var(--ease);
}
.navbar.scrolled .nav-logo .logo-sub, .navbar.solid .nav-logo .logo-sub { color: var(--gray-l); }

.nav-links { display: flex; align-items: center; gap: 2px; position: relative; }
.nav-item { position: relative; }
.nav-links a, .nav-trigger, .nav-plain {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .73rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 100px;
  color: rgba(255,255,255,.78); transition: all .35s var(--ease);
  background: transparent; border: 0; font-family: inherit; cursor: pointer;
}
.navbar.scrolled .nav-links a, .navbar.solid .nav-links a,
.navbar.scrolled .nav-trigger, .navbar.solid .nav-trigger,
.navbar.scrolled .nav-plain, .navbar.solid .nav-plain { color: var(--gray); }
.nav-links a:hover, .nav-trigger:hover, .nav-plain:hover { color: #fff; }
.navbar.scrolled .nav-links a:hover, .navbar.solid .nav-links a:hover,
.navbar.scrolled .nav-trigger:hover, .navbar.solid .nav-trigger:hover,
.navbar.scrolled .nav-plain:hover, .navbar.solid .nav-plain:hover { color: var(--black); }
.nav-links a.active {
  color: #fff;
}
.navbar.scrolled .nav-links a.active, .navbar.solid .nav-links a.active {
  color: var(--accent); font-weight: 700;
}
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; width: 18px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: translateX(-50%); border-radius: 2px;
}
.nav-trigger svg { width: 11px; height: 11px; transition: transform .4s var(--ease); }
.nav-item.open .nav-trigger svg { transform: rotate(180deg); }

/* Dot "spina aperta": pulsa accanto a Naon Pub solo quando il pub è aperto
   adesso (calcolato client-side su lib/openingHours). Oro, non verde: in palette. */
.pub-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); vertical-align: middle;
  flex-shrink: 0; animation: pubPulse 2.2s ease infinite;
}
@keyframes pubPulse {
  0%   { box-shadow: 0 0 0 0 rgba(212,168,32,.45); }
  70%  { box-shadow: 0 0 0 6px rgba(212,168,32,0); }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) { .pub-dot { animation: none; } }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 260px; background: rgba(255,255,255,.98);
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(0,0,0,.06); border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.04);
  padding: 8px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: all .4s var(--ease-out);
}
.nav-item.open .nav-dropdown { opacity: 1; visibility: visible; pointer-events: all; transform: translateX(-50%) translateY(0); }
.nav-dropdown a {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 14px; border-radius: 12px;
  color: var(--gray); font-size: .82rem; font-weight: 600;
  letter-spacing: .02em; text-transform: none; line-height: 1.35;
  transition: all .25s var(--ease);
}
.nav-dropdown a:hover { background: var(--bg); color: var(--black); }
.nav-dropdown a .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0;
  margin-top: 6px;
}
/* Voce a due righe: label + micro-descrizione che qualifica il click. */
.nav-dropdown .dd-text { display: flex; flex-direction: column; gap: 1px; }
.nav-dropdown .dd-desc {
  font-size: .72rem; font-weight: 500; letter-spacing: 0;
  color: var(--gray-l); transition: color .25s var(--ease);
}
.nav-dropdown a:hover .dd-desc { color: var(--gray); }
/* Footer-row del dropdown B2B: la promessa commerciale vive nel menu. */
.nav-dropdown .drop-foot {
  margin: 6px -8px -8px; padding: 8px;
  border-top: 1px solid rgba(0,0,0,.06);
  background: rgba(212,168,32,.08);
  border-radius: 0 0 18px 18px;
}
.nav-dropdown .drop-foot a { color: var(--accent-d); font-weight: 700; }
.nav-dropdown .drop-foot a:hover { background: rgba(212,168,32,.14); }
.nav-dropdown .drop-foot a .dot { background: var(--gold); }
.nav-dropdown .drop-foot a .dd-desc { color: var(--gray); }

.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-social { display: flex; gap: 4px; }
.nav-social a {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); transition: all .35s var(--ease);
}
.navbar.scrolled .nav-social a, .navbar.solid .nav-social a { color: var(--gray-l); }
.nav-social a:hover { color: var(--accent); background: rgba(255,255,255,.08); transform: translateY(-2px); }
.navbar.scrolled .nav-social a:hover, .navbar.solid .nav-social a:hover { background: rgba(139,105,20,.08); }
.nav-social svg { width: 16px; height: 16px; }

/* Zona cassa: account + carrello, icone tonde coerenti con la barra. */
.nav-account, .nav-cart {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.82); transition: all .35s var(--ease);
  position: relative;
}
.navbar.scrolled .nav-account, .navbar.solid .nav-account,
.navbar.scrolled .nav-cart, .navbar.solid .nav-cart { color: var(--gray); }
.nav-account:hover, .nav-cart:hover { color: #fff; background: rgba(255,255,255,.1); }
.navbar.scrolled .nav-account:hover, .navbar.solid .nav-account:hover,
.navbar.scrolled .nav-cart:hover, .navbar.solid .nav-cart:hover {
  color: var(--black); background: rgba(139,105,20,.08);
}
.nav-account svg { width: 19px; height: 19px; }
.nav-cart svg { width: 20px; height: 20px; }
.cart-badge {
  position: absolute; top: 0; right: -2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  color: #fff; border-radius: 999px; padding: 1px 5px;
  font-size: .64rem; font-weight: 700; min-width: 16px; text-align: center;
  line-height: 1.5; box-shadow: 0 2px 8px rgba(139,105,20,.35);
  animation: capPop .35s var(--ease-spring);
}
@keyframes capPop {
  0%   { transform: scale(.6); }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { .cart-badge { animation: none; } }

.nav-cta {
  padding: 10px 22px; border-radius: 100px;
  font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  border: 0; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-l));
  box-shadow: 0 4px 18px rgba(139,105,20,.3);
  transition: all .4s var(--ease); position: relative; overflow: hidden;
}
.nav-cta:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 8px 28px rgba(139,105,20,.4); }

.hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 8px;
  background: 0; border: 0; width: 40px; height: 40px;
  align-items: center; justify-content: center; border-radius: 50%;
  transition: background .3s var(--ease);
}
.hamburger:hover { background: rgba(255,255,255,.1); }
.navbar.scrolled .hamburger:hover, .navbar.solid .hamburger:hover { background: rgba(0,0,0,.05); }
.hamburger span {
  display: block; width: 22px; height: 1.5px; background: #fff;
  transition: all .4s var(--ease-out); border-radius: 2px;
}
.navbar.scrolled .hamburger span, .navbar.solid .hamburger span { background: var(--black); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* A mobile menu aperto la barra sopra l'overlay bianco diventa scura. */
body.menu-open .nav-logo img { filter: none; }
body.menu-open .hamburger span { background: var(--black); }
body.menu-open .nav-cart, body.menu-open .nav-account { color: var(--gray); }

/* Mobile menu: gruppi semantici + barra commerce sticky in fondo. */
.mobile-menu {
  position: fixed; inset: 0; background: rgba(255,255,255,.98);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  z-index: 999; display: flex; flex-direction: column;
  justify-content: flex-start; align-items: center;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s .5s;
  padding: 120px 24px 0; overflow-y: auto;
}
.mobile-menu.open {
  opacity: 1; pointer-events: all; visibility: visible;
  transition: opacity .5s var(--ease), visibility 0s;
}
.mobile-menu a {
  font-family: var(--naon); font-size: 1.9rem; padding: 8px 0;
  color: var(--black); transition: all .5s var(--ease);
  transform: translateY(20px); opacity: 0;
}
.mobile-menu.open a { transform: translateY(0); opacity: 1; }
.mobile-menu a:hover { color: var(--accent); }
.mm-group {
  display: flex; flex-direction: column; align-items: center;
  width: 100%; max-width: 460px; flex-shrink: 0;
}
.mm-eyebrow {
  font-size: .68rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
  margin: 24px 0 4px;
}
/* Le voci raggruppate (birrificio, B2B) scendono a formato utility. */
.mm-group.small a {
  font-family: var(--body); font-size: 1rem; font-weight: 600; padding: 7px 0;
}
/* Stagger per gruppo: regge qualunque numero di voci. */
.mobile-menu.open .mm-group:nth-child(1) a { transition-delay: .05s; }
.mobile-menu.open .mm-group:nth-child(2) a { transition-delay: .15s; }
.mobile-menu.open .mm-group:nth-child(3) a { transition-delay: .25s; }
.mobile-menu.open .m-commerce a { transition-delay: .35s; }
.mobile-menu .pub-dot { margin-left: 10px; }
/* Barra commerce: Shop sempre visibile all'apertura del menu. */
.m-commerce {
  position: sticky; bottom: 0; margin-top: auto;
  width: calc(100% + 48px); flex-shrink: 0;
  background: var(--bg); border-top: 1px solid rgba(0,0,0,.08);
  padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.mobile-menu .mob-cta {
  padding: 15px 38px; border-radius: 100px;
  background: linear-gradient(135deg, var(--accent), var(--accent-l));
  color: #fff; font-family: var(--body); font-size: .85rem;
  font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(139,105,20,.3);
  width: 100%; max-width: 420px; text-align: center;
}
.mobile-menu .mob-cta:hover { color: #fff; }
.m-utility {
  display: flex; align-items: center; gap: 20px;
}
.m-utility a {
  font-family: var(--body); font-size: .85rem; font-weight: 600;
  color: var(--gray); padding: 6px 0;
}
.m-utility a svg { width: 17px; height: 17px; vertical-align: -3px; }

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 36px; border-radius: 100px;
  font-weight: 600; font-size: .86rem; letter-spacing: .03em;
  cursor: pointer; transition: all .4s var(--ease);
  border: 2px solid transparent; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn-primary { background: var(--black); color: #fff; border-color: var(--black); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.18); }
.btn-outline { background: 0; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; transform: translateY(-3px); }
.btn-outline-light { background: 0; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-outline-light:hover { background: #fff; color: var(--black); border-color: #fff; transform: translateY(-3px); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-d); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(139,105,20,.3); }
.btn-white { background: #fff; color: var(--black); border-color: #fff; }
.btn-white:hover { background: 0; color: #fff; border-color: #fff; transform: translateY(-3px); }
.btn-lg { padding: 19px 46px; font-size: .92rem; }
.btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease-spring); }
.btn:hover svg { transform: translateX(4px); }

/* ============= HERO (variants) ============= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  overflow: hidden; background: var(--black);
}
.hero-sm { min-height: 70vh; }
.hero-md { min-height: 80vh; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  animation: heroZoom 22s ease alternate infinite;
}
@keyframes heroZoom {
  0%   { transform: scale(1);    opacity: .55; }
  100% { transform: scale(1.06); opacity: .45; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.9) 100%);
}
.hero-vignette { position: absolute; inset: 0; box-shadow: inset 0 0 200px rgba(0,0,0,.4); }
.hero-content {
  position: relative; z-index: 2; width: 100%; padding: 140px 0 90px;
}
.hero-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 32px;
  width: 100%;
}
.hero-text { max-width: 760px; }
.hero-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .72rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 28px;
}
.hero-label::before {
  content: ''; width: 48px; height: 1px; background: var(--accent);
  animation: labelLine 1s var(--ease-out) .6s both;
}
@keyframes labelLine { from { width: 0; } to { width: 48px; } }
.hero h1 {
  font-family: var(--naon); font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.06; color: #fff; margin-bottom: 26px;
  word-break: keep-all; overflow-wrap: normal;
}
.hero h1 em { color: var(--gold-l); font-style: normal; }
.hero-desc {
  font-size: 1.13rem; color: rgba(255,255,255,.7);
  line-height: 1.75; margin-bottom: 42px; max-width: 600px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stagger > * { opacity: 0; transform: translateY(40px); animation: heroIn .9s var(--ease-out) forwards; }
.hero-stagger > *:nth-child(1) { animation-delay: .25s; }
.hero-stagger > *:nth-child(2) { animation-delay: .42s; }
.hero-stagger > *:nth-child(3) { animation-delay: .58s; }
.hero-stagger > *:nth-child(4) { animation-delay: .74s; }
.hero-stagger > *:nth-child(5) { animation-delay: .9s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero-scroll span {
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.scroll-mouse {
  width: 20px; height: 32px; border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 12px; position: relative;
}
.scroll-mouse::after {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 2px; height: 6px; background: rgba(255,255,255,.5); border-radius: 2px;
  animation: mouseScroll 1.8s ease infinite;
}
@keyframes mouseScroll {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(10px); opacity: 0; }
}

/* ============= MARQUEE ============= */
.marquee {
  padding: 32px 0; border-bottom: 1px solid var(--border);
  overflow: hidden; position: relative;
}
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 100px; z-index: 2;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.marquee::after  { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.marquee.dark { background: var(--black); border-color: rgba(255,255,255,.06); }
.marquee.dark::before { background: linear-gradient(to right, var(--black), transparent); }
.marquee.dark::after  { background: linear-gradient(to left, var(--black), transparent); }
.marquee-track {
  display: flex; gap: 36px; align-items: center; width: max-content;
  animation: slide 38s linear infinite;
}
.marquee-track span {
  font-family: var(--naon); font-size: 1.05rem; color: var(--gray-l); white-space: nowrap;
}
.marquee.dark .marquee-track span { color: rgba(255,255,255,.45); }
.marquee-track .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============= SECTIONS ============= */
.section { padding: 130px 0; }
.section-sm { padding: 90px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--black); color: #fff; }
.section-warm { background: var(--bg-warm); }

.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .7rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.section-label::before {
  content: ''; width: 32px; height: 1.5px; background: var(--accent);
}
.section-title {
  font-family: var(--naon); font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  color: var(--black); line-height: 1.08; margin-bottom: 20px;
}
.section-dark .section-title { color: #fff; }
.section-desc {
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
  color: var(--gray); line-height: 1.85; max-width: 560px;
}
.section-dark .section-desc { color: rgba(255,255,255,.55); }
.section-header { margin-bottom: 76px; }
.section-header-c { text-align: center; margin-bottom: 76px; }
.section-header-c .section-label { justify-content: center; }
.section-header-c .section-label::before { display: none; }
.section-header-c .section-desc { margin: 0 auto; }

/* Reveal */
.r {
  opacity: 0; transform: translateY(40px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.r.v { opacity: 1; transform: translateY(0); }
.r-d1 { transition-delay: .08s; }
.r-d2 { transition-delay: .16s; }
.r-d3 { transition-delay: .24s; }
.r-d4 { transition-delay: .32s; }
.r-d5 { transition-delay: .4s; }
.r-left { transform: translateX(-50px) translateY(0); }
.r-left.v { transform: translateX(0); }
.r-right { transform: translateX(50px) translateY(0); }
.r-right.v { transform: translateX(0); }
.r-scale { transform: scale(.94); transform-origin: center; }
.r-scale.v { transform: scale(1); }

/* Decorative rule */
.deco-rule {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 80px auto; max-width: 400px;
}
.deco-rule::before, .deco-rule::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.section-dark .deco-rule::before, .section-dark .deco-rule::after { background: rgba(255,255,255,.08); }
.deco-rule .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

/* ============= GENERIC CARDS ============= */
.card-grid { display: grid; gap: 24px; }
.cg-2 { grid-template-columns: repeat(2, 1fr); }
.cg-3 { grid-template-columns: repeat(3, 1fr); }
.cg-4 { grid-template-columns: repeat(4, 1fr); }

.feature-card {
  padding: 44px 28px; border-radius: 20px;
  background: var(--white); border: 1px solid var(--border);
  transition: all .6s var(--ease-out); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,.07);
  border-color: transparent;
}
.feature-card .ic {
  width: 56px; height: 56px; margin-bottom: 22px;
  background: var(--bg); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all .5s var(--ease-spring);
}
.feature-card:hover .ic { transform: scale(1.08) rotate(-3deg); background: var(--accent); color: #fff; }
.feature-card .ic svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.6; transition: stroke .4s; }
.feature-card:hover .ic svg { stroke: #fff; }
.feature-card h3 {
  font-family: var(--naon); font-size: 1.15rem;
  color: var(--black); margin-bottom: 10px; line-height: 1.3;
}
.feature-card p { font-size: .87rem; color: var(--gray); line-height: 1.7; }

/* Dark feature card variant */
.section-dark .feature-card {
  background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.07);
}
.section-dark .feature-card:hover {
  background: rgba(255,255,255,.06); border-color: rgba(139,105,20,.2);
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
}
.section-dark .feature-card .ic { background: rgba(255,255,255,.05); }
.section-dark .feature-card h3 { color: #fff; }
.section-dark .feature-card p { color: rgba(255,255,255,.55); }

/* ============= SPLIT LAYOUT ============= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.split.rev { direction: rtl; }
.split.rev > * { direction: ltr; }
.split-img {
  border-radius: var(--radius); overflow: hidden;
  position: relative; aspect-ratio: 4/3;
}
.split-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.split-img:hover img { transform: scale(1.05); }
.split-content h2 {
  font-family: var(--naon); font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1; margin-bottom: 16px;
}
.section-dark .split-content h2 { color: #fff; }
.split-content .lead {
  font-size: clamp(.92rem, 1.1vw, 1rem);
  color: var(--gray); line-height: 1.85; margin-bottom: 32px;
}
.section-dark .split-content .lead { color: rgba(255,255,255,.6); }
.split-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.split-list .row { display: flex; gap: 16px; align-items: flex-start; transition: transform .3s var(--ease); }
.split-list .row:hover { transform: translateX(6px); }
.split-list .row .ic {
  flex-shrink: 0; width: 42px; height: 42px;
  background: var(--bg); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: all .4s var(--ease-spring);
}
.section-dark .split-list .row .ic { background: rgba(255,255,255,.05); }
.split-list .row:hover .ic { background: var(--accent); transform: rotate(-4deg); }
.split-list .row .ic svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.7; transition: stroke .3s; }
.split-list .row:hover .ic svg { stroke: #fff; }
.split-list .row h4 { font-size: .92rem; font-weight: 700; margin-bottom: 3px; color: var(--black); }
.section-dark .split-list .row h4 { color: #fff; }
.split-list .row p { font-size: .84rem; color: var(--gray); line-height: 1.65; }
.section-dark .split-list .row p { color: rgba(255,255,255,.55); }
.split-stats { display: flex; gap: 52px; margin: 4px 0 34px; }
.split-stat .num {
  font-family: var(--naon); font-size: clamp(2.6rem, 4.2vw, 3.6rem);
  line-height: 1; color: var(--black); display: block; margin-bottom: 4px;
}
.section-dark .split-stat .num { color: #fff; }
.split-stat .lab {
  font-size: .76rem; color: var(--gray);
  letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
}

/* ============= NUMBERS / STATS ============= */
.numbers {
  position: relative; padding: 110px 0; overflow: hidden;
  background: var(--black); color: #fff;
}
.numbers-bg { position: absolute; inset: 0; }
.numbers-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.numbers-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,13,.85), rgba(13,13,13,.95)); }
.numbers-inner { position: relative; z-index: 1; text-align: center; }
.numbers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}
.num-item { position: relative; }
.num-item:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255,255,255,.08);
}
.num-item .num {
  font-family: var(--naon); font-size: clamp(3.4rem, 6vw, 5.2rem);
  color: #fff; line-height: 1; margin-bottom: 8px; display: inline-block;
}
.num-item .num .suffix { font-size: .5em; color: var(--accent); margin-left: 4px; }
.num-item .lab {
  font-size: .78rem; color: rgba(255,255,255,.5);
  letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
}

/* ============= BEER CARD (dark glass) ============= */
.beers-section { padding: 120px 0 100px; background: var(--black); position: relative; overflow: hidden; }
.beers-section::before {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,105,20,.08) 0%, transparent 65%);
  pointer-events: none; animation: beerGlow 8s ease infinite alternate;
}
@keyframes beerGlow {
  0% { opacity: .5; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.beers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
  position: relative; z-index: 1;
}
.beer-card {
  text-align: left; padding: 0; border-radius: 24px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: all .6s var(--ease-out); cursor: pointer;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  --card-accent: #F5D04E;
}
.beer-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 65%;
  background: linear-gradient(170deg, rgba(255,255,255,.04) 0%, transparent 100%);
  transition: all .7s var(--ease-out);
}
.beer-card::after {
  content: ''; position: absolute; bottom: -60px; left: 50%; transform: translateX(-50%);
  width: 240px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, var(--card-accent) 0%, transparent 60%);
  opacity: 0; transition: opacity .8s var(--ease-out); filter: blur(40px);
}
.beer-card:hover::after { opacity: .15; }
.beer-card:hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow: 0 32px 80px rgba(0,0,0,.3), 0 0 60px rgba(139,105,20,.08);
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.06);
}
.beer-card .card-top {
  position: relative; z-index: 2; padding: 22px 20px 0;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 8px;
}
.beer-card .style-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.5); background: rgba(255,255,255,.06);
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.08);
  transition: all .4s var(--ease);
}
.beer-card .style-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--card-accent); flex-shrink: 0;
  box-shadow: 0 0 8px var(--card-accent);
}
.beer-card:hover .style-tag { color: #fff; border-color: var(--card-accent); background: rgba(255,255,255,.1); }
.beer-card .abv-badge {
  font-size: .68rem; font-weight: 700; color: var(--accent);
  background: rgba(139,105,20,.12);
  padding: 5px 12px; border-radius: 100px; transition: all .4s var(--ease);
}
.beer-card:hover .abv-badge { background: var(--accent); color: #fff; transform: scale(1.06); }
.beer-card .card-bottle {
  position: relative; z-index: 2; padding: 14px 12px 0;
  flex: 1; display: flex; align-items: flex-end; justify-content: center;
  min-height: 230px;
}
.beer-card .card-bottle img {
  height: 240px; width: auto; object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,.4));
  transition: all .7s var(--ease-spring);
}
.beer-card:hover .card-bottle img {
  transform: translateY(-18px) scale(1.06) rotate(-2deg);
  filter: drop-shadow(0 35px 60px rgba(0,0,0,.5)) drop-shadow(0 0 20px rgba(139,105,20,.15));
}
.beer-card .card-info { position: relative; z-index: 2; padding: 16px 22px 6px; }
.beer-card h3 {
  font-family: var(--naon); font-size: 1.18rem; color: #fff;
  margin-bottom: 6px; line-height: 1.2; transition: color .4s;
}
.beer-card:hover h3 { color: var(--gold-l); }
.beer-card .card-desc {
  font-size: .76rem; color: rgba(255,255,255,.45);
  line-height: 1.6; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 12px; transition: color .3s;
}
.beer-card:hover .card-desc { color: rgba(255,255,255,.7); }
.beer-card .card-stats {
  position: relative; z-index: 2; display: flex;
  padding: 0 22px 14px;
}
.beer-card .card-stat { flex: 1; }
.beer-card .card-stat:not(:last-child) { border-right: 1px solid rgba(255,255,255,.07); }
.beer-card .card-stat-val { font-size: .82rem; font-weight: 700; color: #fff; }
.beer-card .card-stat-lab {
  font-size: .56rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
}
.beer-card .srm-strip {
  height: 3px; border-radius: 0 0 24px 24px;
  background: linear-gradient(90deg, var(--card-accent), rgba(245,208,78,.4));
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease-out);
}
.beer-card:hover .srm-strip { transform: scaleX(1); }

/* Per-beer color themes */
.beer-card[data-color="straw"]  { --card-accent: #F5D04E; }
.beer-card[data-color="gold"]   { --card-accent: #E8B826; }
.beer-card[data-color="amber"]  { --card-accent: #C67318; }
.beer-card[data-color="red"]    { --card-accent: #B85C1A; }
.beer-card[data-color="brown"]  { --card-accent: #8B6842; }
.beer-card[data-color="dark"]   { --card-accent: #5C3A1F; }
.beer-card[data-color="pale"]   { --card-accent: #F8E799; }
.beer-card[data-color="hazy"]   { --card-accent: #E89C3C; }
.beer-card[data-color="ruby"]   { --card-accent: #8B2B1C; }
.beer-card[data-color="black"]  { --card-accent: #4A2C1A; }

/* ============= TIMELINE ============= */
.timeline {
  position: relative; padding: 40px 0; max-width: 880px; margin: 0 auto;
}
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(180deg, transparent, var(--accent), transparent);
  transform: translateX(-50%);
}
.tl-item {
  position: relative; padding: 32px 0;
  display: grid; grid-template-columns: 1fr 80px 1fr;
  gap: 24px; align-items: center;
}
.tl-year {
  font-family: var(--naon); font-size: 1.4rem; color: var(--accent);
  text-align: center; position: relative;
}
.tl-year::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); transform: translate(-50%,-50%);
  box-shadow: 0 0 0 6px rgba(139,105,20,.15), 0 0 0 12px rgba(139,105,20,.05);
  z-index: 1;
}
.tl-year span {
  position: relative; z-index: 2; background: var(--bg);
  padding: 10px 18px; border-radius: 100px;
  border: 1px solid var(--border); display: inline-block;
}
.section-dark .tl-year span { background: var(--black); border-color: rgba(255,255,255,.1); }
.tl-card {
  padding: 24px 28px; background: var(--white);
  border: 1px solid var(--border); border-radius: 16px;
  transition: all .4s var(--ease);
}
.section-dark .tl-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.07); }
.tl-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.06); }
.tl-card h4 {
  font-family: var(--naon); font-size: 1.08rem;
  margin-bottom: 6px; color: var(--black);
}
.section-dark .tl-card h4 { color: #fff; }
.tl-card p { font-size: .87rem; color: var(--gray); line-height: 1.65; }
.section-dark .tl-card p { color: rgba(255,255,255,.55); }
.tl-item:nth-child(odd) > .tl-card:nth-child(1) { display: block; }
.tl-item:nth-child(odd) > .tl-card:nth-child(3) { visibility: hidden; }
.tl-item:nth-child(even) > .tl-card:nth-child(1) { visibility: hidden; }

/* ============= GALLERY ============= */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px; gap: 14px;
}
.gallery-item {
  border-radius: 16px; overflow: hidden; position: relative; cursor: pointer;
  transition: all .5s var(--ease-out);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.15); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* ============= NEWSLETTER / CTA BANNER ============= */
.cta-banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  padding: 80px 0; color: #fff; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 60%);
}
.cta-banner-inner {
  position: relative; z-index: 1; max-width: var(--container);
  margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: center;
}
.cta-banner h2 {
  font-family: var(--naon); font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1; margin-bottom: 8px;
}
.cta-banner p { font-size: 1rem; opacity: .85; max-width: 560px; }
.cta-banner .btn { background: #fff; color: var(--accent-d); border-color: #fff; }
.cta-banner .btn:hover { background: var(--black); color: #fff; border-color: var(--black); }

/* Newsletter form */
.newsletter-form {
  display: grid; grid-template-columns: 1fr auto; gap: 8px; max-width: 460px;
  background: rgba(255,255,255,.12); padding: 6px;
  border-radius: 100px; border: 1px solid rgba(255,255,255,.2);
}
/* Con la casella di consenso (NewsletterForm) il modulo occupa due righe:
   la griglia manda il consenso a capo (grid-column: 1 / -1) e il pill pieno
   taglierebbe il testo agli angoli, quindi il raggio si ammorbidisce. */
.newsletter-form:has(.newsletter-consenso) { border-radius: 26px; padding: 8px 12px 12px; }
.newsletter-form .form-errore { grid-column: 1 / -1; }
.newsletter-form input {
  flex: 1; background: transparent; border: 0; outline: 0;
  padding: 12px 18px; color: #fff; font-family: inherit;
  font-size: .9rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-form button {
  padding: 12px 26px; border-radius: 100px; border: 0;
  background: #fff; color: var(--accent-d);
  font-weight: 700; font-size: .82rem; letter-spacing: .04em;
  text-transform: uppercase; cursor: pointer;
  transition: all .3s var(--ease);
}
.newsletter-form button:hover { background: var(--black); color: #fff; }

/* ============= FOOTER ============= */
.footer {
  background: var(--black); color: rgba(255,255,255,.55);
  padding: 90px 0 30px; position: relative; overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,105,20,.4), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 56px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand .logo-mark {
  font-family: var(--naon); font-size: 1.8rem;
  color: #fff; line-height: 1; margin-bottom: 6px; display: block;
}
.footer-brand .logo-sub {
  font-size: .58rem; font-weight: 700; letter-spacing: .25em;
  text-transform: uppercase; color: var(--accent);
}
.footer-brand p {
  margin-top: 22px; font-size: .9rem; line-height: 1.75;
  color: rgba(255,255,255,.5); max-width: 320px;
}
.footer h4 {
  font-size: .72rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 22px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a {
  font-size: .87rem; color: rgba(255,255,255,.55);
  transition: color .25s var(--ease);
}
.footer ul a:hover { color: var(--gold-l); }
.footer-contact { font-style: normal; }
.footer-contact .row {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 16px; font-size: .87rem; color: rgba(255,255,255,.55);
  line-height: 1.6;
}
.footer-contact .row svg {
  width: 16px; height: 16px; stroke: var(--accent);
  fill: none; stroke-width: 1.6; flex-shrink: 0; margin-top: 3px;
}
.footer-contact a:hover { color: var(--gold-l); }
.footer-social { display: flex; gap: 8px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: all .3s var(--ease);
}
.footer-social a:hover {
  background: var(--accent); border-color: var(--accent);
  color: #fff; transform: translateY(-3px);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  padding-top: 28px; display: flex; justify-content: space-between; align-items: center;
  font-size: .76rem; color: rgba(255,255,255,.35); flex-wrap: wrap; gap: 20px;
}
.footer-bottom a:hover { color: var(--gold-l); }
.footer-bottom .legal { display: flex; gap: 22px; }

/* ============= FORMS ============= */
.form-grid { display: grid; gap: 18px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.form-field { position: relative; }
.form-field label {
  display: block; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray-l); margin-bottom: 8px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%; padding: 14px 18px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--white);
  font-family: inherit; font-size: .92rem; color: var(--black);
  transition: all .3s var(--ease);
}
/* Il bordo colorato è un rinforzo estetico del focus, non il suo sostituto:
   annullando l'outline chi naviga da tastiera perdeva l'unico indicatore
   percepibile (WCAG 2.4.7). L'outline resta per il focus da tastiera. */
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(139,105,20,.1);
}
.form-field input:focus:not(:focus-visible),
.form-field textarea:focus:not(:focus-visible),
.form-field select:focus:not(:focus-visible) { outline: 0; }
.form-field textarea { resize: vertical; min-height: 130px; }

/* ============= BADGE / PILL ============= */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 100px;
  background: rgba(139,105,20,.1); color: var(--accent);
}
.pill.dark { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ============= PRODUCT/PRICE CARD ============= */
.product-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 24px; overflow: hidden;
  transition: all .55s var(--ease-out);
  display: flex; flex-direction: column;
  position: relative;
  --pc-color: #F5D04E;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--pc-color), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease-out); z-index: 3;
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 70px rgba(0,0,0,.1);
  border-color: transparent;
}
.product-card .img-wrap {
  aspect-ratio: 1/1; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 30px 26px;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-warm) 100%);
}
.product-card .img-wrap::before {
  content: ''; position: absolute; bottom: -40%; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 70%; border-radius: 50%;
  background: radial-gradient(circle, var(--pc-color) 0%, transparent 65%);
  opacity: 0; transition: opacity .7s var(--ease-out);
  filter: blur(28px);
}
.product-card:hover .img-wrap::before { opacity: .5; }
.product-card .img-wrap::after {
  content: ''; position: absolute; bottom: 14%; left: 50%; transform: translateX(-50%);
  width: 60%; height: 12px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.18) 0%, transparent 70%);
  filter: blur(6px); opacity: .55;
  transition: width .6s var(--ease-out), opacity .6s var(--ease-out);
}
.product-card:hover .img-wrap::after { width: 70%; opacity: .8; }
.product-card .img-wrap img {
  width: auto; height: 100%; object-fit: contain;
  transition: transform .8s var(--ease-spring);
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.18));
  position: relative; z-index: 2;
}
.product-card:hover .img-wrap img {
  transform: translateY(-10px) scale(1.06) rotate(-2deg);
  filter: drop-shadow(0 22px 40px rgba(0,0,0,.25)) drop-shadow(0 0 14px var(--pc-color));
}
/* Floating style badge on image */
.product-card .style-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 100px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  font-size: .58rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--black);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.product-card .style-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pc-color);
  box-shadow: 0 0 6px var(--pc-color);
}
/* Status badge (Premiata / Novità / Stagionale) */
.product-card .status-badge {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  padding: 5px 11px; border-radius: 100px;
  font-size: .56rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--black); color: #fff;
}
.product-card .status-badge.gold { background: linear-gradient(135deg,var(--gold),var(--accent)); color: #fff; }
.product-card .status-badge.green { background: #2f8f47; color: #fff; }
/* Relaunch 2026, slide 2 del 09/09/2026: il tag «Senza glutine» passa da verde a
   giallo (lo stesso giallo del pallino Blonde Ale, --gold-l). Testo scuro per il
   contrasto: sul giallo il bianco non si legge. */
.product-card .status-badge.yellow { background: var(--gold-l); color: var(--black); }
.product-card .status-badge.blue { background: #2f6dbf; color: #fff; }

.product-card .info { padding: 26px 26px 28px; }
.product-card .meta-top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .66rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gray-l);
  margin-bottom: 10px;
}
.product-card .meta-top .abv { color: var(--accent); }
.product-card h3 {
  font-family: var(--naon); font-size: 1.35rem; color: var(--black);
  margin-bottom: 8px; line-height: 1.18; transition: color .35s;
}
.product-card:hover h3 { color: var(--accent); }
.product-card p { font-size: .85rem; color: var(--gray); margin-bottom: 18px; line-height: 1.6; min-height: 2.6em; }
.product-card .row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.product-card .price-block { display: flex; flex-direction: column; gap: 2px; }
.product-card .price-from {
  font-size: .58rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gray-l);
}
.product-card .price {
  font-family: var(--naon); font-size: 1.5rem;
  color: var(--accent); line-height: 1;
}
.product-card .formats {
  display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 14px;
}
.product-card .format {
  font-size: .62rem; font-weight: 700; padding: 4px 9px;
  border-radius: 100px; background: var(--bg); color: var(--gray);
  letter-spacing: .04em; transition: all .3s var(--ease);
}
.product-card:hover .format {
  background: rgba(139,105,20,.1); color: var(--accent);
}
.product-card .add-cart {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 100px;
  background: var(--black); color: #fff; border: 0;
  font-family: inherit; font-size: .68rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; transition: all .35s var(--ease);
  text-decoration: none;
}
.product-card .add-cart svg { width: 13px; height: 13px; transition: transform .35s var(--ease-spring); }
.product-card .add-cart:hover {
  background: var(--accent); transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139,105,20,.3);
}
.product-card .add-cart:hover svg { transform: translateX(3px); }
/* Per-card color themes */
.product-card[data-color="straw"]  { --pc-color: rgba(245,208,78,.55); }
.product-card[data-color="pale"]   { --pc-color: rgba(248,231,153,.5); }
.product-card[data-color="gold"]   { --pc-color: rgba(232,184,38,.55); }
.product-card[data-color="amber"]  { --pc-color: rgba(198,115,24,.5); }
.product-card[data-color="red"]    { --pc-color: rgba(184,92,26,.5); }
.product-card[data-color="brown"]  { --pc-color: rgba(139,104,66,.5); }
.product-card[data-color="dark"]   { --pc-color: rgba(92,58,31,.6); }
.product-card[data-color="hazy"]   { --pc-color: rgba(232,156,60,.5); }
.product-card[data-color="liquor"] { --pc-color: rgba(110,60,30,.55); }

/* ============= EVENT CARD ============= */
.event-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 22px; overflow: hidden; display: flex;
  transition: all .5s var(--ease-out);
}
.event-card:hover {
  transform: translateY(-6px); box-shadow: 0 24px 64px rgba(0,0,0,.08);
  border-color: transparent;
}
.event-card .img {
  width: 240px; flex-shrink: 0; overflow: hidden; aspect-ratio: 4/3;
}
.event-card .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease-out);
}
.event-card:hover .img img { transform: scale(1.06); }
.event-card .body { padding: 28px 32px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.event-card .date {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.event-card h3 {
  font-family: var(--naon); font-size: 1.4rem; color: var(--black);
  line-height: 1.2; margin-bottom: 10px;
}
.event-card p { font-size: .9rem; color: var(--gray); line-height: 1.7; }
.event-card .meta {
  display: flex; gap: 16px; margin-top: 14px;
  font-size: .78rem; color: var(--gray-l); flex-wrap: wrap;
}
.event-card .meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ============= PROCESS STEPS ============= */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; counter-reset: step;
}
.step {
  position: relative; padding: 40px 28px 32px;
  border: 1px solid var(--border); border-radius: 20px;
  background: var(--white); transition: all .5s var(--ease);
}
.section-dark .step { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.step::before {
  counter-increment: step; content: counter(step,decimal-leading-zero);
  position: absolute; top: 14px; right: 22px;
  font-family: var(--naon); font-size: 2.5rem; line-height: 1;
  color: rgba(139,105,20,.18);
}
.step:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,.06); border-color: transparent; }
.section-dark .step:hover { background: rgba(255,255,255,.06); border-color: rgba(139,105,20,.25); }
.step .ic {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(139,105,20,.1); margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
}
.step .ic svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.7; }
.step h4 {
  font-family: var(--naon); font-size: 1.1rem;
  margin-bottom: 8px; color: var(--black);
}
.section-dark .step h4 { color: #fff; }
.step p { font-size: .84rem; color: var(--gray); line-height: 1.65; }
.section-dark .step p { color: rgba(255,255,255,.55); }

/* ============= FAQ ============= */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0; cursor: pointer;
  transition: padding .3s var(--ease);
}
.section-dark .faq-item { border-color: rgba(255,255,255,.08); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--naon); font-size: 1.15rem; color: var(--black);
  list-style: none;
}
.section-dark .faq-q { color: #fff; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+'; font-family: var(--body); font-size: 1.4rem;
  color: var(--accent); font-weight: 300;
  transition: transform .4s var(--ease-spring);
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding-top: 14px; font-size: .92rem;
  color: var(--gray); line-height: 1.8;
}
.section-dark .faq-a { color: rgba(255,255,255,.6); }

/* ============= TESTIMONIAL ============= */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  padding: 32px 30px; background: var(--white);
  border: 1px solid var(--border); border-radius: 20px;
  position: relative; transition: all .5s var(--ease);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.06); }
.testimonial::before {
  content: '"'; font-family: var(--naon);
  position: absolute; top: 8px; left: 24px;
  font-size: 4rem; line-height: 1; color: var(--accent); opacity: .25;
}
.testimonial p {
  font-size: .96rem; color: var(--gray); line-height: 1.75;
  margin: 18px 0 22px; position: relative;
}
.testimonial .author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial .author .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  font-family: var(--naon); color: var(--accent); font-size: 1.1rem;
}
.testimonial .author .name { font-weight: 700; font-size: .9rem; color: var(--black); }
.testimonial .author .role { font-size: .78rem; color: var(--gray-l); }

/* ============= MENU TABLE (Pub) ============= */
.menu-block { margin-bottom: 56px; }
.menu-block h3 {
  font-family: var(--naon); font-size: 1.6rem; color: var(--black);
  margin-bottom: 6px;
}
.menu-block .desc { font-size: .9rem; color: var(--gray); margin-bottom: 26px; }
.menu-list { display: flex; flex-direction: column; gap: 14px; }
.menu-row {
  display: grid; grid-template-columns: 1fr auto;
  gap: 18px; align-items: baseline;
  padding-bottom: 14px; border-bottom: 1px dashed var(--border);
}
.menu-row .name { font-weight: 600; color: var(--black); }
.menu-row .name small { display: block; font-weight: 400; color: var(--gray); font-size: .82rem; margin-top: 2px; }
.menu-row .price { font-family: var(--naon); color: var(--accent); font-size: 1.1rem; white-space: nowrap; }

/* ============= BLOG CARD ============= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card {
  background: var(--white); border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border); transition: all .5s var(--ease);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.08); border-color: transparent; }
.blog-card .img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.blog-card:hover .img img { transform: scale(1.06); }
.blog-card .body { padding: 26px 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card .meta {
  display: flex; gap: 14px; font-size: .72rem;
  color: var(--gray-l); margin-bottom: 12px; letter-spacing: .04em;
}
.blog-card .meta .cat { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.blog-card h3 { font-family: var(--naon); font-size: 1.25rem; color: var(--black); line-height: 1.25; margin-bottom: 10px; }
.blog-card p { font-size: .88rem; color: var(--gray); line-height: 1.7; flex: 1; }
.blog-card .read-more {
  margin-top: 18px; font-size: .76rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 6px;
}
.blog-card .read-more svg { width: 14px; transition: transform .35s var(--ease-spring); }
.blog-card:hover .read-more svg { transform: translateX(4px); }

/* ============= MAP / CONTACT ============= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; }
.contact-info .row {
  display: flex; gap: 16px; padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info .row:last-child { border-bottom: 0; }
.contact-info .ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(139,105,20,.1); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info .ic svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.7; }
.contact-info h4 { font-size: .76rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gray-l); margin-bottom: 4px; }
.contact-info p, .contact-info a { font-size: .96rem; color: var(--black); line-height: 1.6; }
.contact-info a:hover { color: var(--accent); }

.map-wrap {
  border-radius: var(--radius); overflow: hidden;
  height: 100%; min-height: 400px;
  border: 1px solid var(--border);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ==========================================================================
   GLOBAL COMPONENTS — Promo bar / Age gate / Cookie banner
   ========================================================================== */

/* Promo bar — sticky strip above navbar */
.promo-bar {
  position: relative; z-index: 1001;
  background: linear-gradient(90deg, var(--accent-d), var(--accent), var(--gold));
  background-size: 200% 100%; animation: promoShift 12s linear infinite;
  color: #fff; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-size: .76rem; font-weight: 600; letter-spacing: .04em;
  overflow: hidden;
}
@keyframes promoShift { 0%{background-position:0 0} 100%{background-position:200% 0} }
.promo-bar.hidden { display: none; }
.promo-bar-track {
  display: flex; gap: 60px; align-items: center;
  width: max-content; animation: promoSlide 50s linear infinite;
  white-space: nowrap;
}
.promo-bar-track span { display: inline-flex; align-items: center; gap: 10px; }
.promo-bar-track .dot {
  width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.6);
}
@keyframes promoSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.promo-bar-close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: 0; border: 0; color: rgba(255,255,255,.7);
  cursor: pointer; padding: 4px; line-height: 0;
  transition: color .25s;
}
.promo-bar-close:hover { color: #fff; }
.promo-bar-close svg { width: 14px; height: 14px; }
/* When promo bar is visible, push the navbar down */
body.has-promo .navbar { top: 38px; }
body.has-promo .navbar.scrolled { top: 14px; }

/* Age gate — full overlay */
.age-gate {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(13,13,13,.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease);
}
.age-gate.show { opacity: 1; pointer-events: all; }
.age-gate.hidden { display: none; }
.cookie-banner.hidden { display: none; }
.age-gate-card {
  max-width: 460px; width: 100%; text-align: center;
  background: var(--white); border-radius: 28px;
  padding: 56px 44px; position: relative;
  transform: scale(.95) translateY(20px);
  transition: transform .6s var(--ease-out);
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
}
.age-gate.show .age-gate-card { transform: scale(1) translateY(0); }
.age-gate-card .logo-mark {
  font-family: var(--naon); font-size: 2.4rem;
  color: var(--black); display: block; line-height: 1;
}
.age-gate-card .logo-sub {
  font-size: .58rem; font-weight: 700; letter-spacing: .25em;
  text-transform: uppercase; color: var(--accent); margin-top: 6px;
  display: block;
}
.age-gate-card h2 {
  font-family: var(--naon); font-size: 2rem;
  margin: 32px 0 12px; color: var(--black);
}
.age-gate-card p { font-size: .94rem; color: var(--gray); line-height: 1.65; margin-bottom: 32px; }
.age-gate-actions { display: flex; gap: 12px; }
.age-gate-actions .btn { flex: 1; }
.age-gate-card small {
  display: block; margin-top: 24px;
  font-size: .72rem; color: var(--gray-l); line-height: 1.6;
}
.age-gate-card small a { color: var(--accent); }
.age-gate-deny-msg {
  position: fixed; inset: 0; background: var(--black); color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 99998; flex-direction: column; gap: 16px;
  font-family: var(--naon); font-size: 1.4rem; padding: 24px; text-align: center;
}

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 24px; left: 24px; right: 24px;
  max-width: 540px; z-index: 9997;
  background: rgba(13,13,13,.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 24px 28px;
  color: rgba(255,255,255,.85);
  transform: translateY(150%); transition: transform .6s var(--ease-out);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner h4 {
  font-family: var(--naon); font-size: 1.2rem;
  color: #fff; margin-bottom: 8px;
}
.cookie-banner p {
  font-size: .82rem; line-height: 1.6; margin-bottom: 16px;
  color: rgba(255,255,255,.6);
}
.cookie-banner p a { color: var(--gold-l); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn-c {
  /* per legge entrambe le scelte hanno pari evidenza: stessa colorazione oro */
  padding: 10px 20px; border-radius: 100px;
  font-family: inherit; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--accent); background: var(--accent);
  color: #fff; cursor: pointer; transition: all .3s var(--ease);
}
.cookie-banner .btn-c:hover { background: var(--accent-l); border-color: var(--accent-l); color: #fff; }

/* ==========================================================================
   HOMEPAGE NEW SECTIONS
   ========================================================================== */

/* HERO — Bottle lineup variant */
.hero-lineup {
  position: relative; min-height: 100vh; background: var(--black);
  display: flex; align-items: center; overflow: hidden;
  padding-top: 110px; padding-bottom: 0;
}
.hero-lineup .hero-bg-img {
  position: absolute; inset: 0; opacity: .35;
  background-position: center 30%; background-size: cover;
  filter: blur(2px) saturate(.85);
  animation: heroZoom 22s ease alternate infinite;
}
.hero-lineup::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(13,13,13,.45) 0%, rgba(13,13,13,.7) 60%, rgba(13,13,13,1) 100%);
  z-index: 1;
}
.hero-lineup .glow-orb {
  position: absolute; top: 30%; left: 50%; transform: translateX(-50%);
  width: 1200px; height: 600px; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse at center, rgba(139,105,20,.18) 0%, transparent 60%);
  filter: blur(40px); animation: bhPulse 9s ease infinite alternate;
}
.hero-lineup-content {
  position: relative; z-index: 2; max-width: var(--container);
  margin: 0 auto; padding: 60px 32px 0; width: 100%;
  text-align: left;
}
.hero-lineup .hero-label {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 26px;
}
.hero-lineup .hero-label::before {
  content: ''; width: 36px; height: 1px; background: var(--accent);
  animation: labelLine 1s var(--ease-out) .6s both;
}
.hero-lineup .hero-label::after { display: none; }

.hero-lineup h1 {
  font-family: var(--naon);
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.04;
  color: #fff;
  margin: 0 0 24px;
  max-width: 720px;
  letter-spacing: -.01em;
  text-align: left;
}
.hero-lineup h1 em { color: var(--gold-l); font-style: normal; }

.hero-lineup .hero-desc {
  font-size: clamp(.98rem, 1.1vw, 1.08rem);
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  max-width: 540px;
  margin: 0 0 36px;
  text-align: left;
  border: 0; padding: 0;
}

.hero-lineup .hero-ctas {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 28px;
}
.hero-lineup .hero-ctas .btn {
  justify-content: center;
  padding: 16px 30px;
}

/* Live status pill — sits on its own line below CTAs */
.hero-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.85);
}
.hero-live .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2ecc71; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(46,204,113,.6);
  animation: livePulse 2s ease infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(46,204,113,.6); }
  70%  { box-shadow: 0 0 0 10px rgba(46,204,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}
.hero-live .label-thin { color: rgba(255,255,255,.55); margin-right: 4px; }
/* Bottle lineup */
.bottle-lineup {
  position: relative; z-index: 2; margin-top: 60px;
  display: flex; align-items: flex-end; justify-content: center;
  gap: 0; padding: 0 32px;
  perspective: 1600px;
}
.bottle-lineup .b {
  position: relative; flex: 1 1 0; min-width: 0;
  max-width: 130px;
  transform-origin: bottom center;
  transition: transform .8s var(--ease-spring), filter .6s var(--ease-out);
  animation: bottleEnter 1s var(--ease-out) forwards;
  opacity: 0;
}
.bottle-lineup .b img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.7))
          drop-shadow(0 0 24px rgba(139,105,20,.18));
  transition: filter .6s var(--ease-out);
}
/* L'arco è tarato sul numero di bottiglie in home: con undici birre il centro è
   la sesta, e le coppie si specchiano attorno a lei. Chi aggiunge o toglie una
   birra dal lineup deve rifare questa scala: senza la regola nth-child la
   bottiglia in eccesso resta piatta, sotto le altre (z-index: auto) ed entra
   fuori tempo, perché la keyframe bottleEnter definisce solo il `from` e lo
   stato finale arriva proprio da qui. */
.bottle-lineup .b:nth-child(1)  { animation-delay: .9s; transform: translateY(20px) rotate(-6deg); z-index: 1; }
.bottle-lineup .b:nth-child(2)  { animation-delay: .82s; transform: translateY(13px) rotate(-4.5deg); z-index: 2; }
.bottle-lineup .b:nth-child(3)  { animation-delay: .74s; transform: translateY(7px) rotate(-3deg); z-index: 3; }
.bottle-lineup .b:nth-child(4)  { animation-delay: .66s; transform: translateY(2px) rotate(-2deg); z-index: 4; }
.bottle-lineup .b:nth-child(5)  { animation-delay: .6s; transform: translateY(-5px) rotate(-1deg); z-index: 5; }
.bottle-lineup .b:nth-child(6)  { animation-delay: .56s; transform: translateY(-12px) rotate(0deg); z-index: 6; }
.bottle-lineup .b:nth-child(7)  { animation-delay: .6s; transform: translateY(-5px) rotate(1deg); z-index: 5; }
.bottle-lineup .b:nth-child(8)  { animation-delay: .66s; transform: translateY(2px) rotate(2deg); z-index: 4; }
.bottle-lineup .b:nth-child(9)  { animation-delay: .74s; transform: translateY(7px) rotate(3deg); z-index: 3; }
.bottle-lineup .b:nth-child(10) { animation-delay: .82s; transform: translateY(13px) rotate(4.5deg); z-index: 2; }
.bottle-lineup .b:nth-child(11) { animation-delay: .9s; transform: translateY(20px) rotate(6deg); z-index: 1; }
@keyframes bottleEnter {
  from { opacity: 0; transform: translateY(80px) scale(.9); }
}
.bottle-lineup:hover .b { filter: brightness(.55) saturate(.85); }
.bottle-lineup .b:hover {
  filter: brightness(1.15) saturate(1.1);
  transform: translateY(-30px) scale(1.08) rotate(0deg) !important;
  z-index: 10;
}
.bottle-lineup .b .label {
  position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%) translateY(8px);
  font-family: var(--naon); font-size: .82rem; color: var(--gold-l);
  white-space: nowrap; opacity: 0; transition: all .4s var(--ease-out);
  pointer-events: none;
}
.bottle-lineup .b:hover .label { opacity: 1; transform: translateX(-50%) translateY(0); }

/* AWARDS strip */
.awards-strip {
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.awards-strip-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; align-items: center;
}
.award-item {
  text-align: center; padding: 0 20px;
  position: relative; transition: transform .4s var(--ease);
}
.award-item:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); width: 1px; height: 60%;
  background: var(--border);
}
.award-item:hover { transform: translateY(-3px); }
.award-item .ic {
  width: 44px; height: 44px; margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.award-item .ic svg { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.award-item .v {
  font-family: var(--naon); font-size: 1.25rem;
  color: var(--black); line-height: 1.1; margin-bottom: 4px;
}
.award-item .l {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gray-l);
}

/* BIRRA DEL MESE */
.birra-mese {
  position: relative; padding: 130px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
  overflow: hidden;
}
.birra-mese::before {
  content: ''; position: absolute; top: 50%; left: -300px;
  transform: translateY(-50%); width: 800px; height: 800px;
  border-radius: 50%; background: radial-gradient(circle, rgba(139,105,20,.06), transparent 65%);
  pointer-events: none;
}
.birra-mese-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px;
  align-items: center; position: relative; z-index: 1;
}
.birra-mese-bottle {
  position: relative; aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
}
.birra-mese-bottle::before {
  content: ''; position: absolute; bottom: 8%; left: 50%;
  transform: translateX(-50%); width: 70%; height: 90%;
  border-radius: 50%; background: radial-gradient(circle, var(--bm-color, rgba(245,208,78,.45)) 0%, transparent 65%);
  filter: blur(40px); z-index: 0;
}
.birra-mese-bottle img {
  position: relative; z-index: 1; height: 90%; width: auto;
  /* Il reset globale impone img{max-width:100%}: in un contenitore 3/4 quel
     limite taglia la larghezza mentre `height: 90%` tiene ferma l'altezza, e
     l'immagine si schiaccia in orizzontale (misurato: 527x631 su un originale
     600x600, -16%). `contain` la fa rientrare in proporzione invece che
     deformarsi. Vale per qualunque bottiglia venga messa qui in futuro. */
  object-fit: contain;
  filter: drop-shadow(0 40px 70px rgba(0,0,0,.18));
  animation: bottleFloat 6s ease-in-out infinite;
}
.bm-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 100px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #fff; font-size: .68rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 0 6px 24px rgba(139,105,20,.25);
}
.birra-mese h2 {
  font-family: var(--naon); font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05; margin-bottom: 12px;
}
.birra-mese .style { font-size: .92rem; color: var(--accent); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 20px; }
.birra-mese .lead { font-size: 1.05rem; color: var(--gray); line-height: 1.85; margin-bottom: 32px; }
.bm-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 32px;
}
.bm-stat { padding: 18px 14px; background: var(--bg); border-radius: 14px; text-align: center; }
.bm-stat .v { font-family: var(--naon); font-size: 1.4rem; color: var(--accent); line-height: 1; }
.bm-stat .l { font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-l); margin-top: 6px; }
.bm-pairings {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px;
}
.bm-pairings .pair {
  padding: 7px 14px; background: var(--white); border: 1px solid var(--border);
  border-radius: 100px; font-size: .76rem; color: var(--gray);
}
.bm-pairings .pair span { margin-right: 4px; }

/* BEER FINDER */
.beer-finder {
  background: var(--black); padding: 130px 0; position: relative; overflow: hidden;
}
.beer-finder::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,105,20,.1), transparent 60%);
  filter: blur(60px); pointer-events: none;
}
.bf-card {
  max-width: 880px; margin: 0 auto; position: relative; z-index: 1;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px; padding: 60px 54px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.bf-progress {
  display: flex; gap: 8px; margin-bottom: 40px; justify-content: center;
}
.bf-progress span {
  width: 36px; height: 4px; border-radius: 4px;
  background: rgba(255,255,255,.1); transition: all .5s var(--ease);
}
.bf-progress span.active { background: var(--gold-l); width: 56px; }
.bf-progress span.done { background: var(--accent); }
.bf-step { display: none; }
.bf-step.active { display: block; animation: bfStepIn .6s var(--ease-out); }
@keyframes bfStepIn { from { opacity: 0; transform: translateY(20px); } }
.bf-q {
  font-family: var(--naon); font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff; line-height: 1.2; text-align: center; margin-bottom: 12px;
}
.bf-sub { font-size: .94rem; color: rgba(255,255,255,.55);
  text-align: center; margin-bottom: 40px; }
.bf-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.bf-options.three { grid-template-columns: repeat(3, 1fr); }
.bf-option {
  padding: 24px 22px; border-radius: 18px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  cursor: pointer; transition: all .35s var(--ease);
  text-align: left; color: rgba(255,255,255,.85);
  display: flex; align-items: center; gap: 14px;
  font-family: inherit;
}
.bf-option:hover {
  background: rgba(139,105,20,.12); border-color: var(--accent);
  transform: translateY(-3px); color: #fff;
}
.bf-option .emoji { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.bf-option .label {
  font-size: .96rem; font-weight: 600; line-height: 1.3;
}
.bf-option .label small {
  display: block; font-size: .72rem; font-weight: 400;
  color: rgba(255,255,255,.5); margin-top: 4px;
}

/* Result */
.bf-result { text-align: center; }
.bf-result .badge {
  display: inline-block; font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-l); margin-bottom: 18px;
}
.bf-result h3 {
  font-family: var(--naon); font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: #fff; margin-bottom: 14px;
}
.bf-result .style {
  font-size: .9rem; color: var(--accent); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px;
}
.bf-result-grid {
  display: grid; grid-template-columns: 240px 1fr; gap: 40px;
  align-items: center; text-align: left; margin: 32px 0;
}
.bf-result-bottle img {
  width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.4));
}
.bf-result p { color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 22px; }
.bf-result .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.bf-restart {
  background: 0; border: 0; color: rgba(255,255,255,.5);
  font-family: inherit; font-size: .78rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 24px; transition: color .3s;
}
.bf-restart:hover { color: var(--gold-l); }

/* MAP — partner locales */
.map-section {
  padding: 130px 0; background: var(--bg); position: relative; overflow: hidden;
}
.map-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: center;
}
.map-text h2 { font-family: var(--naon); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; margin-bottom: 20px; }
.map-text p.lead { font-size: 1rem; color: var(--gray); line-height: 1.8; margin-bottom: 28px; }
.map-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-bottom: 32px;
}
.map-stat {
  padding: 22px; background: var(--white); border: 1px solid var(--border);
  border-radius: 14px;
}
.map-stat .v { font-family: var(--naon); font-size: 2rem; color: var(--accent); line-height: 1; }
.map-stat .l { font-size: .76rem; font-weight: 600; color: var(--gray-l); margin-top: 6px; letter-spacing: .04em; }
.italy-map {
  position: relative; aspect-ratio: 5/6;
  background: var(--white); border-radius: 24px; padding: 40px;
  border: 1px solid var(--border); overflow: hidden;
}
.italy-map svg { width: 100%; height: 100%; }
.italy-map svg path { fill: var(--bg-warm); stroke: var(--border); stroke-width: 1; transition: fill .3s; }
.italy-map svg path:hover { fill: rgba(139,105,20,.12); }
.italy-map svg path.fvg { fill: rgba(139,105,20,.25); stroke: var(--accent); stroke-width: 2; }
/* Dots for partner locations */
.map-dot {
  position: absolute; width: 12px; height: 12px;
  background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(139,105,20,.18), 0 0 0 8px rgba(139,105,20,.08);
  animation: mapPulse 2.4s ease infinite;
  cursor: pointer;
}
@keyframes mapPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(139,105,20,.2), 0 0 0 8px rgba(139,105,20,.08); }
  50%       { box-shadow: 0 0 0 8px rgba(139,105,20,.12), 0 0 0 16px rgba(139,105,20,.04); }
}
.map-dot.brewery {
  width: 16px; height: 16px; background: var(--gold);
  box-shadow: 0 0 0 5px rgba(245,208,78,.25), 0 0 0 12px rgba(245,208,78,.1);
  animation: mapPulse 2s ease infinite;
}
.map-dot::before {
  content: attr(data-name); position: absolute; bottom: 18px; left: 50%;
  transform: translateX(-50%); white-space: nowrap;
  background: var(--black); color: #fff;
  padding: 5px 10px; border-radius: 6px; font-size: .68rem;
  opacity: 0; pointer-events: none; transition: opacity .25s;
  font-weight: 600;
}
.map-dot:hover::before { opacity: 1; }

/* Region list */
.regions-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
  margin-top: 14px;
}
.region-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; font-size: .86rem; transition: all .3s;
}
.region-row:hover { border-color: var(--accent); transform: translateX(4px); }
.region-row .name { color: var(--black); font-weight: 600; }
.region-row .count { color: var(--accent); font-family: var(--naon); font-size: 1.05rem; }

/* TESTIMONIALS — Premium */
.testi-section { padding: 130px 0; background: var(--white); }
.testi-google {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 22px; background: var(--bg); border-radius: 100px;
  margin-bottom: 24px; border: 1px solid var(--border);
}
.testi-google .stars { display: flex; gap: 2px; }
.testi-google .stars svg { width: 16px; height: 16px; fill: var(--gold); }
.testi-google .rating { font-family: var(--naon); font-size: 1.2rem; color: var(--accent); }
.testi-google .text { font-size: .82rem; color: var(--gray); }
.testi-google .text b { color: var(--black); }

.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.testi-card {
  padding: 36px 32px; background: var(--white);
  border: 1px solid var(--border); border-radius: 22px;
  transition: all .5s var(--ease); position: relative; overflow: hidden;
}
.testi-card::before {
  content: '"'; font-family: var(--naon); position: absolute;
  top: -10px; left: 22px; font-size: 7rem; line-height: 1;
  color: var(--accent); opacity: .12; pointer-events: none;
}
.testi-card:hover {
  transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.06);
  border-color: transparent;
}
.testi-card .stars {
  display: flex; gap: 2px; margin-bottom: 14px; position: relative; z-index: 1;
}
.testi-card .stars svg { width: 14px; height: 14px; fill: var(--gold); }
.testi-card p {
  font-size: .96rem; color: var(--ink); line-height: 1.75; position: relative; z-index: 1;
  margin-bottom: 24px; font-weight: 500;
}
.testi-card .author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 22px; border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}
.testi-card .avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--naon); color: #fff; font-size: 1.3rem;
  flex-shrink: 0;
}
.testi-card .author img {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.testi-card .author .info .name { font-weight: 700; font-size: .92rem; color: var(--black); }
.testi-card .author .info .role { font-size: .76rem; color: var(--gray-l); margin-top: 2px; }

/* Responsive — new components */
@media (max-width: 1080px) {
  .hero-lineup-content { padding-top: 40px; }
  .bottle-lineup .b { max-width: 80px; }
  .bottle-lineup { gap: 0; padding: 0 16px; }
  .awards-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .award-item:nth-child(odd)::after { display: none; }
  .award-item:last-child::after { display: none; }
  .birra-mese-grid { grid-template-columns: 1fr; gap: 50px; }
  .birra-mese-bottle { aspect-ratio: 4/3; }
  .map-grid { grid-template-columns: 1fr; gap: 50px; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .bf-card { padding: 40px 30px; }
  .bf-result-grid { grid-template-columns: 1fr; }
  .bf-result-bottle { max-width: 200px; margin: 0 auto; }
}
@media (max-width: 720px) {
  /* Su mobile si tolgono le due bottiglie più esterne per lato: restano le
     sette centrali, simmetriche attorno alla sesta. */
  .bottle-lineup .b { max-width: 60px; }
  .bottle-lineup .b:nth-child(2), .bottle-lineup .b:nth-child(10) { display: none; }
  .bottle-lineup .b:nth-child(1), .bottle-lineup .b:nth-child(11) { display: none; }
  .awards-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .bm-stats { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .bf-options, .bf-options.three { grid-template-columns: 1fr; }
  .regions-list { grid-template-columns: 1fr; }
  .promo-bar { font-size: .68rem; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px 20px; }
  .age-gate-card { padding: 40px 28px; }
}

/* ==========================================================================
   PRODUCT PAGE — Beer detail
   ========================================================================== */

/* Hero — bottiglia gigante */
.beer-hero {
  position: relative; min-height: 100vh; background: var(--black);
  display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden;
}
.beer-hero::before {
  content: ''; position: absolute; top: 50%; left: 70%;
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, var(--bh-color, rgba(245,208,78,.18)) 0%, transparent 60%);
  transform: translate(-50%,-50%); pointer-events: none;
  animation: bhPulse 8s ease infinite alternate; filter: blur(20px);
}
@keyframes bhPulse {
  0%   { transform: translate(-50%,-50%) scale(1);   opacity: .7; }
  100% { transform: translate(-50%,-50%) scale(1.1); opacity: 1; }
}
.beer-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
}
.beer-hero-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 32px;
  width: 100%; display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 60px; align-items: center; position: relative; z-index: 1;
}
.beer-hero-text { color: #fff; }
.beer-hero-text .breadcrumb {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .68rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 22px;
}
.beer-hero-text .breadcrumb a { color: rgba(255,255,255,.5); transition: color .25s; }
.beer-hero-text .breadcrumb a:hover { color: var(--bh-color, var(--gold-l)); }
.beer-hero-text .breadcrumb .sep { opacity: .4; }
.beer-hero-text .style-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--bh-color, var(--gold-l)); margin-bottom: 22px;
}
.beer-hero-text .style-tag::before {
  content: ''; width: 36px; height: 1px; background: var(--bh-color, var(--gold-l));
}
.beer-hero-text h1 {
  font-family: var(--naon); font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 1; margin-bottom: 22px; color: #fff; letter-spacing: -.01em;
}
.beer-hero-text .subtitle {
  font-size: 1.15rem; line-height: 1.7; color: rgba(255,255,255,.65);
  max-width: 540px; margin-bottom: 36px;
}
.beer-hero-text .award {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 100px;
  background: rgba(245,208,78,.12); color: var(--gold-l);
  border: 1px solid rgba(245,208,78,.3); font-size: .72rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 22px;
}
.beer-hero-text .award svg { width: 14px; height: 14px; }
.beer-hero-stats {
  display: flex; gap: 28px; margin-bottom: 36px; flex-wrap: wrap;
}
.beer-hero-stats .v {
  font-family: var(--naon); font-size: 1.8rem;
  color: #fff; line-height: 1;
}
.beer-hero-stats .v .unit { font-size: .55em; color: var(--bh-color, var(--gold-l)); margin-left: 2px; }
.beer-hero-stats .l {
  font-size: .62rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.4); margin-top: 6px;
}

.beer-hero-bottle {
  position: relative; display: flex; justify-content: center; align-items: center;
  height: 600px;
}
.beer-hero-bottle::before {
  content: ''; position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  width: 320px; height: 30px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.6) 0%, transparent 70%);
  filter: blur(10px);
}
.beer-hero-bottle img {
  height: 540px; width: auto; object-fit: contain; position: relative; z-index: 2;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.6))
          drop-shadow(0 0 80px var(--bh-color, rgba(245,208,78,.25)));
  animation: bottleFloat 6s ease-in-out infinite;
}
@keyframes bottleFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-14px) rotate(1deg); }
}

/* Big watermark name */
.beer-hero-bg-name {
  position: absolute; bottom: -40px; left: 0; right: 0;
  font-family: var(--naon); font-size: clamp(8rem, 24vw, 18rem);
  line-height: 1; color: rgba(255,255,255,.025);
  text-align: center; pointer-events: none; white-space: nowrap;
  letter-spacing: -.03em; z-index: 0; user-select: none;
}

/* ============= SHELF / KEY STATS ============= */
.beer-shelf {
  background: var(--bg); padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.beer-shelf-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
}
.beer-shelf-item {
  text-align: center; padding: 8px 14px;
  border-right: 1px solid var(--border);
}
.beer-shelf-item:last-child { border-right: 0; }
.beer-shelf-item .v {
  font-family: var(--naon); font-size: 1.5rem;
  color: var(--accent); line-height: 1;
}
.beer-shelf-item .l {
  font-size: .62rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gray-l); margin-top: 8px;
}

/* ============= TASTING GRID ============= */
.tasting-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  margin-bottom: 60px;
}
.tasting-card {
  padding: 36px 28px; border-radius: 22px;
  background: var(--white); border: 1px solid var(--border);
  transition: all .5s var(--ease); position: relative; overflow: hidden;
}
.tasting-card::before {
  content: ''; position: absolute; top: 0; left: 24px; right: 24px;
  height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .4; transition: opacity .5s;
}
.tasting-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.06); border-color: transparent; }
.tasting-card:hover::before { opacity: 1; }
.tasting-card .ic {
  width: 50px; height: 50px; margin-bottom: 18px;
  background: rgba(139,105,20,.1); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.tasting-card .ic svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.6; }
.tasting-card h4 {
  font-family: var(--naon); font-size: 1.1rem;
  color: var(--black); margin-bottom: 12px;
}
.tasting-card p { font-size: .9rem; color: var(--gray); line-height: 1.65; }

/* Sensory bars */
.sensory {
  display: grid; grid-template-columns: 140px 1fr 30px; gap: 18px;
  align-items: center; padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.sensory:last-child { border-bottom: 0; }
.sensory .lab {
  font-size: .82rem; font-weight: 600; color: var(--black);
}
.sensory .bar {
  position: relative; height: 6px; background: var(--bg-warm);
  border-radius: 6px; overflow: hidden;
}
.sensory .fill {
  position: absolute; top: 0; left: 0; height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 6px;
  transform-origin: left; animation: fillBar 1.4s var(--ease-out) .4s both;
  width: var(--w, 50%);
}
@keyframes fillBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sensory .v {
  font-family: var(--naon); color: var(--accent); font-size: 1.05rem;
}

.section-dark .sensory { border-color: rgba(255,255,255,.07); }
.section-dark .sensory .lab { color: #fff; }
.section-dark .sensory .bar { background: rgba(255,255,255,.05); }

/* ============= INGREDIENTS ============= */
.ingredients-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.ingr-card {
  padding: 32px 24px; border-radius: 18px;
  background: var(--white); border: 1px solid var(--border);
  transition: all .5s var(--ease); text-align: center;
}
.ingr-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,.06); }
.ingr-card .ic {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%; background: linear-gradient(135deg, var(--bg), var(--bg-warm));
  display: flex; align-items: center; justify-content: center;
}
.ingr-card .ic svg { width: 30px; height: 30px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.ingr-card .label {
  font-size: .64rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.ingr-card h4 {
  font-family: var(--naon); font-size: 1.1rem; color: var(--black); margin-bottom: 8px;
}
.ingr-card p { font-size: .82rem; color: var(--gray); line-height: 1.6; }

/* ============= PAIRING ============= */
.pairing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.pair-card {
  padding: 28px 22px; border-radius: 18px;
  background: var(--white); border: 1px solid var(--border);
  transition: all .4s var(--ease); text-align: center;
}
.pair-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.06); border-color: transparent; }
.pair-card .emoji { font-size: 2.4rem; margin-bottom: 12px; line-height: 1; display: block; }
.pair-card h5 {
  font-size: .92rem; font-weight: 700; color: var(--black); margin-bottom: 4px;
}
.pair-card p { font-size: .78rem; color: var(--gray); line-height: 1.55; }

/* ============= SERVICE GUIDE ============= */
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  padding: 40px 32px; border-radius: 22px;
  background: var(--white); border: 1px solid var(--border);
  transition: all .5s var(--ease); text-align: center;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,.06); }
.service-card .ic {
  width: 70px; height: 70px; margin: 0 auto 22px;
  border-radius: 18px; background: rgba(139,105,20,.1);
  display: flex; align-items: center; justify-content: center;
}
.service-card .ic svg { width: 32px; height: 32px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.service-card .label {
  font-size: .64rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gray-l); margin-bottom: 10px;
}
.service-card .v {
  font-family: var(--naon); font-size: 2rem; color: var(--accent); line-height: 1;
}
.service-card .v .unit { font-size: .55em; margin-left: 2px; }
.service-card p { font-size: .85rem; color: var(--gray); line-height: 1.6; margin-top: 14px; }

/* ============= FORMATS / BUY ============= */
.formats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.format-card {
  padding: 32px 24px 26px; border-radius: 22px;
  background: var(--white); border: 2px solid var(--border);
  transition: all .5s var(--ease); position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.format-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(139,105,20,.04), transparent 60%);
  opacity: 0; transition: opacity .5s;
}
.format-card:hover::before { opacity: 1; }
.format-card:hover {
  transform: translateY(-8px); border-color: var(--accent);
  box-shadow: 0 24px 60px rgba(139,105,20,.12);
}
.format-card .img {
  height: 200px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; position: relative; z-index: 1;
}
.format-card .img img {
  height: 100%; width: auto; object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,.15));
  transition: transform .6s var(--ease-spring);
}
.format-card:hover .img img { transform: translateY(-4px) rotate(-2deg) scale(1.04); }
.format-card .size {
  font-family: var(--naon); font-size: 1.5rem; color: var(--black);
  margin-bottom: 4px; position: relative; z-index: 1;
}
.format-card .ml {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gray-l); margin-bottom: 16px;
  position: relative; z-index: 1;
}
.format-card .price {
  font-family: var(--naon); font-size: 1.6rem; color: var(--accent);
  margin-bottom: 16px; line-height: 1; position: relative; z-index: 1;
}
.format-card .add-btn {
  width: 100%; padding: 12px 18px; border-radius: 100px;
  border: 0; background: var(--black); color: #fff;
  font-family: inherit; font-size: .76rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  transition: all .35s var(--ease); position: relative; z-index: 1;
}
.format-card .add-btn:hover { background: var(--accent); transform: translateY(-2px); }

/* ============= RELATED BEERS ============= */
.related-beers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}

/* ============= STORY SECTION ============= */
.beer-story-quote {
  font-family: var(--naon); font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.4; color: var(--black);
  border-left: 3px solid var(--accent);
  padding-left: 28px; margin: 28px 0;
}
.section-dark .beer-story-quote { color: #fff; }

/* ============= RESPONSIVE — product page ============= */
@media (max-width: 1080px) {
  .beer-hero-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .beer-hero-text .style-tag::before { display: none; }
  .beer-hero-stats { justify-content: center; }
  .beer-hero-bottle { height: 420px; }
  .beer-hero-bottle img { height: 380px; }
  .beer-shelf-grid { grid-template-columns: repeat(3, 1fr); }
  .beer-shelf-item { border-right: 0; padding: 14px; border-bottom: 1px solid var(--border); }
  .tasting-grid { grid-template-columns: repeat(2, 1fr); }
  .ingredients-grid { grid-template-columns: repeat(2, 1fr); }
  .pairing-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .formats-grid { grid-template-columns: repeat(2, 1fr); }
  .related-beers { grid-template-columns: repeat(2, 1fr); }
  .sensory { grid-template-columns: 100px 1fr 30px; gap: 14px; }
}
@media (max-width: 720px) {
  .beer-hero-bottle { height: 320px; }
  .beer-hero-bottle img { height: 300px; }
  .tasting-grid { grid-template-columns: 1fr; }
  .ingredients-grid, .pairing-grid, .formats-grid { grid-template-columns: 1fr; }
  .related-beers { grid-template-columns: 1fr; }
  .beer-shelf-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============= UTILITY ============= */
.txt-c { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; } .mt-6 { margin-top: 64px; }
.flex { display: flex; } .gap-2 { gap: 14px; } .wrap { flex-wrap: wrap; }
.divider-soft { height: 1px; background: var(--border); margin: 60px 0; }
.section-dark .divider-soft { background: rgba(255,255,255,.07); }

/* ============= RESPONSIVE ============= */
/* Collapse navbar: con 5 voci + zona cassa serve più respiro di prima. */
@media (max-width: 1200px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-plain, .nav-account { display: none; }  /* vivono nel mobile menu */
  .navbar.scrolled { left: 16px; right: 16px; }
}
@media (max-width: 480px) {
  .nav-cta { padding: 9px 16px; font-size: .66rem; }
  .nav-right { gap: 6px; }
}
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .split { grid-template-columns: 1fr; gap: 50px; }
  .split.rev { direction: ltr; }
  .cg-4 { grid-template-columns: repeat(2, 1fr); }
  .beers-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .timeline::before { left: 22px; }
  .tl-item { grid-template-columns: 60px 1fr; gap: 18px; }
  .tl-year { text-align: left; }
  .tl-item > .tl-card:first-child { display: none; }
  .tl-item > .tl-card:last-child { visibility: visible !important; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .section { padding: 90px 0; }
  .hero-content { padding: 120px 0 70px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .cg-3, .cg-2 { grid-template-columns: 1fr; }
  .beers-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .steps { grid-template-columns: 1fr; }
  .testimonial-grid, .blog-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .event-card { flex-direction: column; }
  .event-card .img { width: 100%; aspect-ratio: 16/9; }
  .cta-banner-inner { grid-template-columns: 1fr; }
  .form-grid.two { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============= LOGO IMAGE (Birra di Naon) ============= */
.nav-logo img {
  height: 44px; width: auto; display: block;
  /* bianco su sfondo scuro + ombra per leggibilità sopra la foto dell'hero */
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0,0,0,.45));
  transition: filter .4s var(--ease);
}
.navbar.scrolled .nav-logo img,
.navbar.solid .nav-logo img {
  filter: none;
}
@media (max-width: 768px) {
  .nav-logo img { height: 36px; }
}
@media (max-width: 480px) {
  .nav-logo img { height: 30px; }
}
.footer-brand .footer-logo-img {
  height: 56px; width: auto; display: block; margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.age-gate-card .age-gate-logo {
  /* proporzioni originali del logo: nessuna altezza forzata */
  height: auto; width: auto; display: block;
  max-width: 170px; max-height: 96px;
  object-fit: contain;
  margin: 0 auto 18px;
}

/* ============= HERO LIVE GROUP (Pub + Vendita Diretta) ============= */
.hero-live-group {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px;
}
.hero-live-group .hero-live { margin-top: 0; }
.hero-live .pulse.pulse-amber { background: #f5a623; box-shadow: 0 0 0 0 rgba(245,166,35,.7); }
@media (max-width: 768px) {
  .hero-live-group { flex-direction: column; align-items: flex-start; }
}

/* ============= MARQUEE WITH RIDER (cavaliere) ============= */
.marquee-with-rider { padding-top: 70px; overflow: hidden; }
.marquee-with-rider .marquee-rider {
  position: absolute;
  top: 0;
  left: 0;
  height: 70px; width: auto;
  pointer-events: none;
  z-index: 3;
  animation: rider-run 38s linear infinite;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,.45));
}
/* Il cavaliere animato corre già verso sinistra: stessa direzione del
   carosello delle ricette, quindi nessun ribaltamento sull'asse X. */
@keyframes rider-run {
  0%   { transform: translateX(calc(100vw + 200px)); }
  100% { transform: translateX(-260px); }
}
@media (max-width: 768px) {
  .marquee-with-rider .marquee-rider { height: 60px; bottom: calc(100% - 66px); }
}

/* ============= CAVALIERE STRIP (carosello cavaliere che corre) ============= */
.cavaliere-strip {
  background: var(--black);
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
  padding: 14px 0;
}
.cavaliere-strip::before,
.cavaliere-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.cavaliere-strip::before { left: 0;  background: linear-gradient(to right, var(--black), transparent); }
.cavaliere-strip::after  { right: 0; background: linear-gradient(to left,  var(--black), transparent); }
.cavaliere-track {
  display: flex;
  gap: 28px;
  align-items: center;
  width: max-content;
  animation: slide 38s linear infinite;
}
.cavaliere-track img {
  height: 70px;
  width: auto;
  flex-shrink: 0;
  opacity: .55;
  filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(212,168,32,.25));
  transition: opacity .3s;
}
.cavaliere-track img:hover { opacity: .9; }
@media (max-width: 768px) {
  .cavaliere-track img { height: 54px; }
  .cavaliere-strip { padding: 10px 0; }
}

/* ============= PLUS FALLBACK (font naon non ha glifo "+") ============= */
.award-item .v .plus,
.hero-meta .plus,
.num .plus,
.numbers .plus,
.bm-stat .v .plus,
.map-stat .v .plus,
.plus {
  font-family: 'DM Sans', Arial, sans-serif !important;
  font-weight: 700;
  font-size: .9em;
  color: currentColor;   /* stesso colore del numero → sempre visibile */
  margin-left: 1px;
  vertical-align: 1px;
  display: inline-block;
}
/* glifi non presenti nel font display (·, +, -): fallback al font di testo */
.glyph-fix {
  font-family: 'DM Sans', Arial, sans-serif !important;
  font-weight: 700;
  color: currentColor;
}

/* ============= BOTANICHE GRID (responsive + text wrap fix) ============= */
.botaniche-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.botaniche-grid .bot-tile figcaption {
  white-space: normal !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.2;
  letter-spacing: 0 !important;
  padding: 8px 6px !important;
  font-size: .68rem !important;
}
/* Con 13 botaniche (assenzio, 16/10/2026) l'ultima tessera resta sola nella
   sua riga a ogni larghezza: la centriamo con la stessa misura delle altre.
   Su due colonne affiancate la sua area vale due colonne più lo spazio fra
   loro (10px), quindi metà area meno 5px è esattamente una colonna. */
.botaniche-grid .bot-tile:last-child:nth-child(4n+1) {
  grid-column: 2 / span 2;
  justify-self: center;
  width: calc(50% - 5px);
}
@media (max-width: 900px) {
  .botaniche-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .botaniche-grid .bot-tile:last-child:nth-child(4n+1) { grid-column: auto; justify-self: stretch; width: auto; }
  .botaniche-grid .bot-tile:last-child:nth-child(3n+1) { grid-column: 2; }
}
@media (max-width: 540px) {
  .botaniche-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .botaniche-grid .bot-tile figcaption { font-size: .72rem !important; }
  .botaniche-grid .bot-tile:last-child:nth-child(3n+1) { grid-column: auto; }
  .botaniche-grid .bot-tile:last-child:nth-child(2n+1) { grid-column: 1 / span 2; justify-self: center; width: calc(50% - 5px); }
}

/* ==========================================================================
   CART DRAWER
   Pannello laterale del carrello. Tutto il movimento è su transform/opacity
   (compositor): niente animazioni in loop su box-shadow, blur o
   background-position, che ridisegnerebbero a ogni frame.
   z-index 10000: il pannello è modale e sta sopra a tutto il resto — banner
   cookie compreso, che su mobile copriva il bottone di checkout, e sopra a
   grain e cursor-glow, che sul bianco del pannello si vedevano come aloni.
   Chiuso il carrello il banner torna in primo piano e resta raggiungibile;
   l'age gate (99999) resta comunque sopra, come deve.
   ========================================================================== */

.cart-drawer {
  --cd-in: 480ms;
  --cd-out: 320ms;
  --cd-pad: 24px;
  position: fixed; inset: 0; z-index: 10000;
  pointer-events: none;
}

/* ---- Velo ---- */
/* Niente backdrop-filter qui: misurato con CPU rallentata 6x, il blur sullo
   sfondo dimezzava il frame rate durante l'apertura (mediana 33ms contro 17ms,
   28 frame lunghi su 42 contro 6 su 68). Il velo scurisce e basta: scorre a
   60fps perché anima solo l'opacità. */
.cd-scrim {
  position: absolute; inset: 0; pointer-events: auto;
  background: rgba(13, 13, 13, .52);
  opacity: 0;
  transition: opacity var(--cd-out) var(--ease);
  will-change: opacity;
}
.cart-drawer.is-open .cd-scrim {
  opacity: 1;
  transition-duration: var(--cd-in);
}

/* ---- Pannello ---- */
/* Inset di 14px come la navbar in stato .scrolled: stesso linguaggio
   "elemento che galleggia" del resto del sito. */
.cd-panel {
  position: absolute; top: 14px; right: 14px; bottom: 14px;
  width: min(440px, calc(100vw - 28px));
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .32), 0 4px 16px rgba(0, 0, 0, .08);
  overflow: hidden;
  pointer-events: auto;
  transform: translate3d(calc(100% + 28px), 0, 0);
  transition: transform var(--cd-out) cubic-bezier(.4, 0, .9, 1);
  will-change: transform;
}
.cart-drawer.is-open .cd-panel {
  transform: translate3d(0, 0, 0);
  transition: transform var(--cd-in) var(--ease-out);
}

/* ---- Testata ---- */
.cd-head {
  flex: 0 0 auto;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 26px var(--cd-pad) 18px;
  border-bottom: 1px solid var(--border);
}
.cd-title {
  font-family: var(--naon); font-size: 1.5rem; line-height: 1;
  color: var(--black); margin: 0; letter-spacing: .01em;
}
.cd-sub {
  margin: 7px 0 0;
  font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gray-l); line-height: 1;
}
.cd-close {
  flex: 0 0 auto;
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--border);
  background: var(--white); color: var(--gray);
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .45s var(--ease-spring);
}
.cd-close svg { width: 17px; height: 17px; }
.cd-close:hover {
  background: var(--black); color: #fff; border-color: var(--black);
  transform: rotate(90deg);
}
.cd-close:active { transform: rotate(90deg) scale(.9); }

/* ---- Corpo scrollabile ---- */
.cd-body {
  flex: 1 1 auto; min-height: 0;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 18px var(--cd-pad) 22px;
  scrollbar-width: thin;
  scrollbar-color: rgba(13, 13, 13, .18) transparent;
}
.cd-body::-webkit-scrollbar { width: 8px; }
.cd-body::-webkit-scrollbar-track { background: transparent; }
.cd-body::-webkit-scrollbar-thumb {
  background: rgba(13, 13, 13, .15); border-radius: 999px;
  border: 2px solid var(--white);
}
.cd-body::-webkit-scrollbar-thumb:hover { background: rgba(13, 13, 13, .28); }

/* ---- Avviso catalogo non raggiungibile ---- */
.cd-alert {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  background: #fdf3dc; border: 1px solid #ecd9a3; color: var(--accent-d);
  border-radius: 14px; padding: 10px 12px; margin-bottom: 14px;
}
.cd-alert p { flex: 1 1 180px; margin: 0; font-size: .76rem; line-height: 1.45; }
.cd-alert-retry {
  flex: 0 0 auto;
  background: var(--accent-d); color: #fff; border: 0;
  padding: 6px 14px; border-radius: 999px;
  font-size: .71rem; font-weight: 700; letter-spacing: .02em;
  transition: transform .28s var(--ease-spring), background .28s var(--ease);
}
.cd-alert-retry:hover { background: var(--black); transform: translateY(-1px); }
.cd-alert-retry:active { transform: translateY(0) scale(.96); }

/* ---- Righe prodotto ---- */
.cd-items { list-style: none; margin: 0; padding: 0; }

/* La riga è una griglia a una traccia: 1fr → 0fr la fa collassare in uscita
   senza altezze fisse. Dove non è supportato resta comunque la dissolvenza. */
.cd-item {
  display: grid; grid-template-rows: 1fr;
  margin-bottom: 10px;
  animation: cdItemIn .5s var(--ease-out) backwards;
  animation-delay: min(calc(var(--i, 0) * 55ms + 90ms), 420ms);
  transition: grid-template-rows var(--cd-out) var(--ease),
              opacity 200ms var(--ease),
              transform var(--cd-out) var(--ease),
              margin-bottom var(--cd-out) var(--ease);
}
.cd-item:last-child { margin-bottom: 0; }
.cd-item.is-leaving {
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateX(28px);
  margin-bottom: 0;
  pointer-events: none;
}
@keyframes cdItemIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cd-item-in {
  min-height: 0; overflow: hidden;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px; align-items: start;
  padding: 14px;
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: 20px;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.cd-item:hover .cd-item-in { background: var(--bg-warm); border-color: rgba(139, 105, 20, .16); }
.cd-item.is-off .cd-item-in { background: #fdf5f5; border-color: rgba(176, 0, 32, .14); }

.cd-thumb {
  width: 64px; height: 64px; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.cd-thumb img {
  width: 100%; height: 100%; object-fit: contain; padding: 6px;
  transition: transform .55s var(--ease-out);
}
.cd-item:hover .cd-thumb img { transform: scale(1.07) rotate(-2deg); }
.cd-thumb-fallback { font-size: 1.5rem; line-height: 1; }

.cd-meta { min-width: 0; }
.cd-name {
  margin: 0; font-size: .95rem; font-weight: 700; line-height: 1.25;
  color: var(--black);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cd-name a {
  color: inherit;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px;
  transition: background-size .35s var(--ease), color .3s var(--ease);
}
.cd-name a:hover { color: var(--accent-d); background-size: 100% 1px; }

.cd-tags {
  margin: 5px 0 0; display: flex; align-items: center; gap: 7px;
  flex-wrap: nowrap; min-width: 0;
}
.cd-chip {
  flex: 0 0 auto;
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  background: rgba(139, 105, 20, .1); color: var(--accent-d);
  font-size: .65rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  line-height: 1.55;
}
.cd-style {
  flex: 0 1 auto; min-width: 0;
  font-size: .71rem; color: var(--gray-l); letter-spacing: .01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cd-warn { margin: 6px 0 0; font-size: .73rem; font-weight: 700; color: #b00020; line-height: 1.4; }
.cd-warn.is-soft { color: var(--accent-d); }

/* Il cestino va all'estremità della riga, sotto al prezzo: prima galleggiava
   a mezz'aria accanto allo stepper. */
.cd-row-actions { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.cd-remove { margin-left: auto; }

/* ---- Stepper quantità ---- */
.cd-stepper {
  display: inline-flex; align-items: center;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 999px; padding: 2px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.cd-item:hover .cd-stepper { border-color: rgba(139, 105, 20, .28); }
.cd-stepper:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139, 105, 20, .14); }
.cd-stepper button {
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent;
  color: var(--gray); font-size: 1rem; font-weight: 700; line-height: 1;
  font-family: 'DM Sans', Arial, sans-serif;
  transition: background .22s var(--ease), color .22s var(--ease), transform .22s var(--ease-spring);
}
.cd-stepper button:hover:not(:disabled) { background: rgba(139, 105, 20, .11); color: var(--accent-d); }
.cd-stepper button:active:not(:disabled) { transform: scale(.85); }
.cd-stepper button:disabled { opacity: .28; cursor: not-allowed; }
.cd-qty {
  min-width: 28px; text-align: center;
  font-size: .88rem; font-weight: 700; color: var(--black);
  font-variant-numeric: tabular-nums;
}
.cd-qty b { display: inline-block; font-weight: 700; animation: cdPop .34s var(--ease-spring); }
@keyframes cdPop {
  0%   { transform: scale(.72); opacity: .4; }
  60%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); }
}

.cd-remove {
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--gray-l);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease-spring);
}
.cd-remove svg { width: 15px; height: 15px; }
.cd-remove:hover { background: rgba(176, 0, 32, .08); color: #b00020; }
.cd-remove:active { transform: scale(.88); }

.cd-amount { text-align: right; }
/* stessa line-height del nome: i due testi restano sulla stessa linea di base */
.cd-line-total {
  margin: 0; line-height: 1.25;
  font-size: .95rem; font-weight: 700; color: var(--black);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.cd-unit {
  margin: 3px 0 0;
  font-size: .69rem; color: var(--gray-xl);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* ---- Piede ---- */
.cd-foot {
  position: relative;
  flex: 0 0 auto;
  padding: 18px var(--cd-pad) 22px;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -18px 26px -22px rgba(0, 0, 0, .5);
}
/* sfumatura sopra al piede: si capisce che la lista prosegue sotto */
.cd-foot::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 26px;
  background: linear-gradient(to top, var(--white), rgba(255, 255, 255, 0));
  pointer-events: none;
}

/* ---- Barra spedizione gratuita ---- */
.cd-ship { margin-bottom: 16px; }
.cd-ship-txt {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 9px;
  font-size: .8rem; color: var(--gray); line-height: 1.4;
}
.cd-ship-txt strong { color: var(--black); font-variant-numeric: tabular-nums; }
.cd-ship-ico { display: inline-flex; color: var(--gray-xl); transition: color .35s var(--ease); }
.cd-ship-ico svg { width: 16px; height: 16px; }
.cd-ship.is-free .cd-ship-txt { color: var(--accent-d); font-weight: 700; }
.cd-ship.is-free .cd-ship-ico {
  color: var(--accent);
  animation: cdTruck .7s var(--ease-spring);
}
@keyframes cdTruck {
  0%   { transform: translateX(-9px); opacity: .3; }
  70%  { transform: translateX(3px); opacity: 1; }
  100% { transform: translateX(0); }
}
.cd-track {
  display: block; position: relative;
  height: 7px; border-radius: 999px;
  background: rgba(13, 13, 13, .08); overflow: hidden;
}
/* fill in position:absolute: cambiare width tocca solo la sua pittura,
   non il layout di ciò che sta intorno. */
.cd-fill {
  position: absolute; top: 0; bottom: 0; left: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width .7s var(--ease-out), background .5s var(--ease);
}
.cd-ship.is-free .cd-fill { background: linear-gradient(90deg, var(--gold), var(--gold-l)); }

/* ---- Totali ---- */
.cd-totals { margin: 0 0 16px; }
.cd-tot-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 5px 0;
}
.cd-tot-row dt { font-size: .84rem; color: var(--gray); }
.cd-tot-row dd { margin: 0; font-size: .88rem; font-weight: 600; color: var(--black); font-variant-numeric: tabular-nums; }
.cd-free { color: var(--accent); font-weight: 700; }
.cd-tot-grand {
  margin-top: 8px; padding-top: 13px;
  border-top: 1px solid var(--border);
}
.cd-tot-grand dt { font-size: .95rem; font-weight: 700; color: var(--black); }
.cd-tot-grand dd {
  font-size: 1.4rem; font-weight: 700; letter-spacing: -.015em; line-height: 1;
  animation: cdPop .38s var(--ease-spring);
}

/* ---- Bottoni ---- */
.cd-actions { display: grid; gap: 9px; }
.cd-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 26px; border: 1.5px solid transparent; border-radius: 100px;
  font-family: var(--body); font-size: .87rem; font-weight: 700; letter-spacing: .02em;
  text-align: center; white-space: nowrap;
  transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease),
              background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.cd-btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease-spring); }
.cd-btn:hover svg { transform: translateX(4px); }

.cd-btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-l));
  color: #fff; border-color: transparent;
  box-shadow: 0 10px 26px -10px rgba(139, 105, 20, .6);
}
/* riflesso: si muove in transform, non ridisegna il gradiente */
.cd-btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 22%, rgba(255, 255, 255, .32) 50%, transparent 78%);
  transform: translateX(-115%);
  transition: transform .85s var(--ease-out);
  pointer-events: none;
}
.cd-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(139, 105, 20, .7);
}
.cd-btn-primary:hover::after { transform: translateX(115%); }
.cd-btn-primary:active { transform: translateY(0) scale(.985); }

.cd-btn-primary.is-disabled {
  background: #e9e6e0; color: var(--gray-xl);
  box-shadow: none; cursor: not-allowed;
}
.cd-btn-primary.is-disabled::after { content: none; }
.cd-btn-primary.is-disabled:hover { transform: none; box-shadow: none; }

.cd-btn-ghost {
  background: transparent; color: var(--gray);
  border-color: var(--border); padding: 13px 26px; font-size: .82rem;
}
.cd-btn-ghost:hover {
  color: var(--black); border-color: var(--black);
  background: rgba(13, 13, 13, .03); transform: translateY(-1px);
}
.cd-btn-ghost:active { transform: translateY(0) scale(.99); }

.cart-drawer :focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

/* ---- Carrello vuoto ---- */
.cd-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px var(--cd-pad);
}
.cd-empty-mark {
  width: 78px; height: 78px; display: grid; place-items: center;
  border-radius: 50%; background: var(--bg); color: var(--gray-xl);
  margin-bottom: 22px;
  animation: cdItemIn .55s var(--ease-out) backwards;
}
.cd-empty-mark svg { width: 31px; height: 31px; }
.cd-empty-title {
  font-family: var(--naon); font-size: 1.45rem; color: var(--black); margin: 0 0 10px;
  animation: cdItemIn .55s var(--ease-out) backwards; animation-delay: 70ms;
}
.cd-empty-txt {
  font-size: .86rem; color: var(--gray); line-height: 1.6; max-width: 30ch; margin: 0 0 26px;
  animation: cdItemIn .55s var(--ease-out) backwards; animation-delay: 130ms;
}
.cd-empty .cd-btn {
  animation: cdItemIn .55s var(--ease-out) backwards; animation-delay: 190ms;
}

/* ---- Scheletro di caricamento ---- */
.cd-skeleton { list-style: none; margin: 0; padding: 0; }
.cd-sk-row {
  display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center;
  padding: 14px; background: var(--bg); border-radius: 20px; margin-bottom: 10px;
}
.cd-sk {
  display: block; border-radius: 8px;
  background: rgba(13, 13, 13, .09);
  animation: cdSk 1.5s var(--ease) infinite;
  animation-delay: calc(var(--i, 0) * 130ms);
}
.cd-sk-img { width: 64px; height: 64px; border-radius: 16px; }
.cd-sk-lines { display: grid; gap: 9px; }
.cd-sk-l1 { height: 12px; width: 68%; }
.cd-sk-l2 { height: 10px; width: 40%; }
@keyframes cdSk { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.cd-loading-txt {
  margin: 16px 0 0; text-align: center;
  font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-xl);
}

/* ---- Mobile: il pannello prende tutto lo schermo ---- */
@media (max-width: 560px) {
  .cd-panel {
    top: 0; right: 0; bottom: 0; left: 0;
    width: 100%; border-radius: 0;
    transform: translate3d(100%, 0, 0);
  }
  .cart-drawer { --cd-pad: 18px; }
  .cd-item-in { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; padding: 12px; }
  .cd-thumb { width: 56px; height: 56px; border-radius: 14px; }
  .cd-title { font-size: 1.3rem; }
  .cd-btn { padding: 15px 22px; }
}

/* ---- Movimento ridotto: stati sì, animazioni no ---- */
@media (prefers-reduced-motion: reduce) {
  .cart-drawer *,
  .cart-drawer *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
  .cd-item.is-leaving { display: none; }
}

/* ==========================================================================
   CONSENSO COOKIE — banner unico, comando di chiusura e pannello granulare
   (Linee guida Garante 10 giugno 2021, n. 231)
   ========================================================================== */

/* La «X» chiude mantenendo le impostazioni di default, senza registrare scelte. */
.cookie-banner-close {
  position: absolute; top: 10px; right: 12px;
  background: none; border: 0; color: rgba(255,255,255,.65);
  font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 2px 6px;
}
.cookie-banner-close:hover { color: #fff; }
.cookie-banner h4 { padding-right: 28px; }

/* Pannello di secondo livello */
.consent-panel-overlay {
  position: fixed; inset: 0; z-index: 100000;
  background: rgba(0,0,0,.62); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.consent-panel {
  position: relative; width: 100%; max-width: 620px; max-height: 88vh; overflow-y: auto;
  background: var(--white, #fff); color: var(--black, #111);
  border-radius: 20px; padding: 36px 34px 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.consent-panel h3 { font-family: var(--naon); font-size: 1.6rem; margin: 0 0 10px; }
.consent-panel-intro { font-size: .86rem; line-height: 1.65; color: var(--gray, #555); margin-bottom: 20px; }
.consent-cat {
  display: flex; gap: 18px; align-items: flex-start; justify-content: space-between;
  padding: 15px 0; border-top: 1px solid var(--border, #e6e6e6);
}
.consent-cat strong { display: block; font-size: .95rem; margin-bottom: 4px; }
.consent-cat span { display: block; font-size: .8rem; line-height: 1.55; color: var(--gray, #555); }
.consent-cat input[type="checkbox"] { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; cursor: pointer; }
.consent-cat-fixed { align-items: center; }
.consent-always {
  flex: 0 0 auto; font-size: .66rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent, #c4961c); white-space: nowrap;
}
.consent-panel-actions {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px;
  padding-top: 20px; border-top: 1px solid var(--border, #e6e6e6);
}
/* Pari evidenza grafica anche qui: stessa base per tutti i comandi. */
.consent-panel .btn-c {
  padding: 10px 18px; border-radius: 100px; font-family: inherit;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--accent, #c4961c); background: var(--accent, #c4961c);
  color: #fff; cursor: pointer;
}
.consent-panel .btn-c:hover { background: var(--accent-l, #d8ab2e); border-color: var(--accent-l, #d8ab2e); }
.consent-panel-close {
  position: absolute; top: 14px; right: 18px; background: none; border: 0;
  font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--gray, #666);
}

/* Segnaposto della mappa mostrato finché manca il consenso */
.map-placeholder {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  justify-content: center; height: 100%; min-height: 320px;
  padding: 34px; background: var(--off-white, #f5f4f0);
  border: 1px solid var(--border, #e6e6e6); border-radius: var(--radius, 16px);
}
.map-placeholder-addr { font-weight: 700; font-size: 1.05rem; margin: 0; }
.map-placeholder-note { font-size: .82rem; line-height: 1.6; color: var(--gray, #555); margin: 0; max-width: 46ch; }
.map-placeholder-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map-placeholder-prefs {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: .78rem; text-decoration: underline; color: var(--gray, #555);
}

/* Link «Preferenze cookie» nel piè di pagina */
.footer .legal button {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: inherit; text-decoration: none;
}
.footer .legal button:hover { text-decoration: underline; }

/* Barra legale per le pagine fuori dal layout principale (landing, 404) */
.legal-bar {
  background: #0d0d0d; color: rgba(255,255,255,.5);
  padding: 26px 0; font-size: .72rem; line-height: 1.7;
}
.legal-bar-light { background: var(--off-white, #f5f4f0); color: var(--gray, #555); border-top: 1px solid var(--border, #e6e6e6); }
.legal-bar-id { margin: 0 0 8px; }
.legal-bar-links { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 16px; }
.legal-bar-links a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.legal-bar-alcol { margin: 0; opacity: .8; }

/* ============================================================================
   Informazioni obbligatorie sugli alimenti (Reg. UE 1169/2011)
   ----------------------------------------------------------------------------
   Il blocco è sempre lo stesso: un'etichetta di sezione in maiuscoletto, la
   riga degli allergeni sempre a schermo, e un <details>/<summary> nativo con
   tutto il resto — lo stesso idioma dell'accordion delle FAQ (.faq-item /
   .faq-q / .faq-a), «+» in --accent che ruota di 45° compreso. Le regole NON
   riusano le classi .faq-*: ritoccare la grafica delle FAQ non deve poter
   cambiare la resa di un'informazione obbligatoria. Il «+» qui è più piccolo
   che nelle FAQ (1.05rem contro 1.4rem) perché accompagna un'etichetta da
   .72rem e non un titolo da 1.15rem: il rapporto resta quello, la scala no.

   Il titolo NON diventa un titolo display. Il sito ha già un linguaggio per le
   etichette subordinate — .section-label, .meta-top, .price-from, .style-badge,
   .product-tab parlano tutte in maiuscoletto piccolo spaziato — ed è quello
   che serve qui: dentro una card, un secondo <h3> in var(--naon) competerebbe
   con il nome del prodotto, che è un <h3> display a 1.35rem venti pixel sopra.

   Cambia solo ciò che serve: sulle undici pagine prodotto restano il riquadro,
   il padding, la larghezza piena del .container e il carattere del titolo che
   ci sono oggi. Dentro le card il riquadro sparisce e resta una hairline: un
   bordo dentro un bordo è quello che il cliente ha chiamato «fa schifo».
   ============================================================================ */
.scheda-etichetta {
  /* Il blocco si adatta alla larghezza della CARD, non della finestra. Lo
     stesso componente vive in un riquadro da 1120px (pagina prodotto), in una
     fascia da 503px (box regalo) e in una colonna da ~100px (card amaro su un
     telefono da 375px): nessuna media query può sapere in quale dei tre si
     trova, perché dipende dalla griglia, non dal viewport.
     `width: 100%` è la metà inseparabile di `container-type`: senza una
     larghezza esplicita, dentro un contenitore flex il contenimento inline può
     risolvere il blocco a zero. */
  container-type: inline-size;
  container-name: etichetta;
  width: 100%;
  border: 1px solid var(--border, #e5e5e5); border-radius: var(--radius, 24px);
  /* Il padding passa da due variabili perché la variante stretta e la variante
     larga lo riscrivono per intero: così la riduzione mobile in fondo tocca
     solo la resa a riquadro e non può scardinare le altre due. */
  --se-pad-y: 26px; --se-pad-x: 28px;
  padding: var(--se-pad-y) var(--se-pad-x);
  /* Era `var(--off-white, …)`, ma --off-white non è un token del :root: il
     fondo è sempre stato il fallback, cioè --bg. Ora è dichiarato per quello
     che è, e si vede che sulle pagine prodotto coincide con quello della
     sezione: il riquadro delimita, non colora. */
  background: var(--bg, #f8f7f4); margin: 32px 0;
}

/* Etichetta di sezione, non titolo di prodotto. Resta un <h3> vero e FUORI dal
   <summary>: dentro, verrebbe con ogni probabilità appiattito nel nome
   accessibile del pulsante e le undici pagine prodotto perderebbero
   un'intestazione che oggi hanno.
   Il tag nel selettore serve a pareggiare `.product-card:hover h3` (0,2,1),
   che altrimenti vincerebbe: da solo il pareggio non basta, vince l'ordine nel
   file — per questo la riga dopo mette la questione fuori discussione. */
.scheda-etichetta h3.scheda-etichetta-titolo {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gray, #555); margin: 0 0 12px; line-height: 1.5;
}
/* Un blocco di legge non si accende d'oro al passaggio del mouse. (0,3,1):
   batte `.product-card:hover h3` per specificità, non per posizione, quindi
   regge anche se un giorno questo blocco risalisse nel foglio. */
.product-card:hover .scheda-etichetta h3.scheda-etichetta-titolo { color: var(--gray, #555); }

/* Gli ALLERGENI: sempre a schermo, fuori dal pannello richiudibile E fuori dal
   controllo. Dentro il <summary> quei caratteri entrerebbero nel nome
   accessibile del pulsante (riletto a ogni focus e a ogni apertura), non si
   potrebbero selezionare col mouse senza aprire o chiudere il pannello, e non
   si stamperebbero a pannello chiuso. È lo stesso pattern che la vetrina usa
   già in RigaObbligatoria. Filetto e rientro sono quelli di .form-informativa,
   con --accent al posto di --border perché questo è il dato di sicurezza. */
.scheda-etichetta p.scheda-etichetta-allergeni {
  margin: 0 0 4px; min-height: 0;   /* min-height azzera `.product-card p` */
  padding-left: 12px; border-left: 2px solid var(--accent, #8B6914);
  font-size: .82rem; line-height: 1.55; color: var(--ink, #1a1a1a);
}
.scheda-etichetta-allergeni strong { font-weight: 700; }

/* Il pannello richiudibile */
.scheda-etichetta-piu { border-top: 1px solid var(--border, #e5e5e5); margin-top: 14px; }
.scheda-etichetta-q {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  /* `center` e non `baseline`: label e «+» sono in due famiglie diverse
     (var(--naon) non c'entra qui, ma il «+» è var(--body) mentre la label è
     maiuscoletto spaziato) e l'etichetta può andare a capo in una colonna da
     100px. Centrare è l'unico allineamento che non va verificato a occhio. */
  align-items: center; column-gap: 14px;
  padding: 12px 0; cursor: pointer; list-style: none;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gray, #555); transition: color .3s var(--ease);
}
.scheda-etichetta-q::-webkit-details-marker { display: none; }
.scheda-etichetta-q:hover { color: var(--ink, #1a1a1a); }
.scheda-etichetta-q::after {
  content: '+'; font-family: var(--body); font-size: 1.05rem; font-weight: 300;
  line-height: 1; color: var(--accent, #8B6914);
  transition: transform .4s var(--ease-spring);
}
.scheda-etichetta-piu[open] .scheda-etichetta-q::after { transform: rotate(45deg); }
/* <summary> non rientra nella regola globale del focus, che copre
   a/button/input/select/textarea/[tabindex] (WCAG 2.4.7). */
.scheda-etichetta-q:focus-visible { outline: 3px solid var(--accent, #8B6914); outline-offset: 2px; }

.scheda-etichetta-a { padding: 4px 0 2px; }
.scheda-etichetta dl { margin: 0; display: grid; gap: 10px; }
.scheda-etichetta dl > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 14px; }
.scheda-etichetta dt { font-size: .78rem; font-weight: 700; color: var(--gray, #555); }
.scheda-etichetta dd { margin: 0; font-size: .88rem; line-height: 1.6; }
/* Allergeni sottolineati nell'elenco ingredienti (art. 21 Reg. UE 1169/2011; deck
   «Relaunch 2026 (6)» dell'08/10/2026, slide 5–15 e 18). */
u.ingr-allergene { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
/* L'elenco per referenza dei box non divide la larghezza con l'etichetta: a
   190px di dt su 503px di fascia se ne andrebbe il 38% dello spazio buono. */
.scheda-etichetta .scheda-etichetta-riga-larga { grid-template-columns: minmax(0, 1fr); gap: 6px; }

/* Ingredienti e gradazione dei box, una riga per bottiglia. Prima era la
   concatenazione cieca di sei frasi (400 caratteri che ripetono sei volte
   «Acqua, malto d'orzo, … luppolo, lievito») più un elenco di gradazioni
   separate da «·»: gli stessi dati, ma non attribuibili a nessuna bottiglia. */
.scheda-etichetta-parti { list-style: none; margin: 0; padding: 0; }
.scheda-etichetta-parti > li {
  display: grid; grid-template-columns: minmax(110px, .32fr) minmax(0, 1fr);
  column-gap: 16px; padding: 9px 0; border-top: 1px dotted var(--border, #e5e5e5);
}
.scheda-etichetta-parti > li:first-child { border-top: 0; padding-top: 2px; }
.scheda-etichetta-parte-nome {
  grid-column: 1; grid-row: 1;
  font-size: .84rem; font-weight: 700; line-height: 1.4; color: var(--ink, #1a1a1a);
}
.scheda-etichetta-parte-abv {
  grid-column: 1; grid-row: 2;
  font-size: .74rem; line-height: 1.45; color: var(--gray, #555);
  /* Le sei gradazioni si leggono incolonnate, quindi si confrontano. */
  font-variant-numeric: tabular-nums;
}
.scheda-etichetta-parte-ing {
  grid-column: 2; grid-row: 1 / span 2;
  font-size: .84rem; line-height: 1.6; color: var(--gray, #555);
}

/* Il tag batte `.product-card p`, che imporrebbe a questa nota il corpo, il
   margine e il min-height di una descrizione commerciale (0,2,1 contro 0,1,1:
   qui la specificità vince davvero, non serve l'ordine). */
.scheda-etichetta p.scheda-etichetta-nota {
  margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--border, #e5e5e5);
  font-size: .78rem; line-height: 1.65; color: var(--gray, #555); min-height: 0;
}

/* --- Le due varianti dentro una card: niente riquadro, solo una hairline ---
   Stessa specificità della base (0,1,0): vincono perché stanno dopo. */
.scheda-etichetta-compatta,
.scheda-etichetta-larga {
  border: 0; border-radius: 0; background: none;
  border-top: 1px solid var(--border, #e5e5e5);
}
/* Colonna stretta di una card (gli amari) */
.scheda-etichetta-compatta { padding: 16px 0 0; margin: 18px 0 0; }
/* Tutta la larghezza di una card (i box regalo): il blocco esce dalla griglia
   immagine|info ed è l'ultima fascia dell'<article>. La hairline arriva ai due
   bordi della card, il testo resta rientrato come il resto della card, e il
   rientro è LO STESSO --box-pad di .info: non può più andare fuori registro a
   un cambio di breakpoint. Il padding-bottom c'è: a pannello chiuso l'ultima
   riga deve avere lo stesso respiro del resto della card, non 20px. */
.scheda-etichetta-larga {
  margin: 0; padding: 22px var(--box-pad, 36px) var(--box-pad, 36px);
}

/* --- Le tre card dei box regalo -------------------------------------------
   La griglia immagine|info stava in uno style inline, cioè irraggiungibile da
   qualunque media query: e siccome .cg-4 scende a repeat(2,1fr) a ≤1080px e lì
   si ferma (nessuna regola la porta mai a una colonna), su un telefono da
   375px la card box restava spezzata in due, con ~100px utili di testo. Il
   requisito «sotto i 640px la card diventa a colonna singola» descriveva un
   comportamento che il sito non aveva: da qui in poi ce l'ha.
   `flex: 1 1 auto` al posto di `height: 100%` perché .product-card è un flex
   column: con height:100% la fascia immagine|info prenderebbe l'intera altezza
   della card e spingerebbe le informazioni obbligatorie sotto il bordo, dove
   overflow:hidden le taglierebbe via. */
.product-card-box {
  --box-pad: 36px;
  /* La card non si allunga per pareggiare la vicina: senza questo, aprire il
     pannello del Box Degustazione stirerebbe la riga della griglia e gonfierebbe
     di qualche centinaio di pixel l'area immagine del Tris Classico accanto.
     Il prezzo è che due card affiancate possono avere altezze diverse. */
  align-self: start;
}
.box-card-split {
  display: grid; grid-template-columns: .9fr 1.2fr;
  flex: 1 1 auto; min-height: 0;
}
.box-card-split > * { min-width: 0; }   /* niente colonne che sfondano */
.box-card-split .img-wrap { aspect-ratio: auto; min-height: 340px; }
.box-card-split .info {
  padding: var(--box-pad, 36px); display: flex; flex-direction: column; justify-content: center;
}

/* Nella card box la colonna info è 1.2fr di ~575px meno 72px di rientro: il
   blocco prezzo scende a ~89px e «24,00 €» si spezzava fra cifra e simbolo.
   Il prezzo non si manda a capo mai; se lo spazio non basta è la riga a
   spezzarsi, con il bottone che va sotto invece di comprimere il prezzo. */
.nowrap { white-space: nowrap; }
.product-card-box .price { white-space: nowrap; }
.product-card-box .row { flex-wrap: wrap; row-gap: 14px; }
.product-card-box .row > .price-block { flex: 0 0 auto; }

/* --- Adattamento alla larghezza della CARD (non della finestra) ------------
   Le soglie sono misurate sul content box del contenitore, con i numeri veri:
   pagina prodotto 1120px, box regalo 503px, box regalo a 640px ~544px, card
   amaro su desktop 222px, card amaro a 375px ~100px.
   Nessuna di queste regole ha .scheda-etichetta come soggetto: un contenitore
   non può essere stilato dalla propria container query, solo i discendenti. */
@container etichetta (max-width: 620px) {
  .scheda-etichetta dl > div { grid-template-columns: 150px minmax(0, 1fr); gap: 12px; }
}
@container etichetta (max-width: 400px) {
  .scheda-etichetta dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .scheda-etichetta-parti > li { grid-template-columns: minmax(0, 1fr); }
  .scheda-etichetta-parte-nome,
  .scheda-etichetta-parte-abv,
  .scheda-etichetta-parte-ing { grid-column: 1; grid-row: auto; }
}
/* Il caso peggiore che resta in pagina: la card amaro su un telefono, dove
   .cg-4 tiene ancora due colonne (vedi «note residue»). L'etichetta si stringe
   invece di andare a capo sei volte. */
@container etichetta (max-width: 260px) {
  .scheda-etichetta h3.scheda-etichetta-titolo,
  .scheda-etichetta-q { font-size: .66rem; letter-spacing: .1em; }
  .scheda-etichetta-q::after { font-size: .95rem; }
  .scheda-etichetta p.scheda-etichetta-allergeni { font-size: .76rem; padding-left: 9px; }
  .scheda-etichetta-parte-ing, .scheda-etichetta dd { font-size: .82rem; }
}

@media (max-width: 640px) {
  .product-card-box { --box-pad: 26px; }
  .box-card-split { grid-template-columns: minmax(0, 1fr); }
  .box-card-split .img-wrap { min-height: 240px; }
  /* Solo le due variabili: la variante compatta e la variante larga hanno un
     padding proprio e non vanno toccate da qui. */
  .scheda-etichetta { --se-pad-y: 22px; --se-pad-x: 20px; }
}

/* Stampa: un <details> chiuso non stampa il proprio contenuto, e in questo
   foglio non esisteva alcuna regola @media print. Sulle cinque card dello shop
   sarebbero spariti dal foglio denominazione, ingredienti, gradazioni, quantità
   netta e operatore. Gli allergeni no: stanno fuori dal pannello e si stampano
   comunque — ed è il motivo per cui stanno fuori.
   Due meccanismi perché i browser ne usano due: il vecchio nasconde i figli,
   il nuovo (Chrome recenti) usa ::details-content con content-visibility. */
@media print {
  .scheda-etichetta { border-color: #999; background: none; break-inside: avoid; }
  .scheda-etichetta-piu > .scheda-etichetta-a { display: block !important; }
  .scheda-etichetta-q::after { content: ''; }
}
@media print {
  .scheda-etichetta-piu::details-content { content-visibility: visible !important; }
}

/* Tab in fondo alla scheda prodotto (components/ProductTabs.jsx) */
.product-tabs { max-width: 900px; margin: 0 auto; }
.product-tabs-list {
  display: flex; flex-wrap: wrap; gap: 4px;
  border-bottom: 1px solid var(--border, #e6e6e6);
}
.product-tab {
  appearance: none; background: none; border: 0; cursor: pointer;
  padding: 14px 22px; margin-bottom: -1px;
  font-family: inherit; font-size: .74rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gray, #555); border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.product-tab:hover { color: var(--ink, #111); }
.product-tab.attiva { color: var(--ink, #111); border-bottom-color: var(--accent, #c8a04a); }
/* Il focus resta visibile: è l'unico modo di sapere dove si è, navigando da
   tastiera fra tab che si somigliano (WCAG 2.4.7). */
.product-tab:focus-visible,
.product-tab-panel:focus-visible {
  outline: 2px solid var(--accent, #c8a04a); outline-offset: 2px;
}
.product-tab-panel { padding: 30px 2px 0; font-size: .93rem; line-height: 1.75; }
.product-tab-panel > p { margin: 0 0 14px; }
.product-tab-panel > p:last-child { margin-bottom: 0; }
.product-tab-panel dl { margin: 0; display: grid; gap: 12px; }
.product-tab-panel dl > div {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 14px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border, #e6e6e6);
}
.product-tab-panel dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.product-tab-panel dt { font-weight: 700; font-size: .8rem; color: var(--gray, #555); }
.product-tab-panel dd { margin: 0; font-size: .9rem; }
@media (max-width: 640px) {
  .product-tab { padding: 12px 14px; letter-spacing: .1em; }
  .product-tab-panel dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* Moduli: consensi, errori, esiti */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.form-consenso {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .84rem; line-height: 1.6; color: var(--gray, #555);
}
.form-consenso input[type="checkbox"] { margin-top: 4px; flex: 0 0 auto; width: 17px; height: 17px; }
.form-consenso a { color: var(--accent, #c4961c); text-decoration: underline; }
.form-informativa {
  font-size: .82rem; line-height: 1.6; color: var(--gray, #555); margin: 0;
  padding-left: 12px; border-left: 2px solid var(--border, #e6e6e6);
}
.form-informativa a { color: var(--accent, #c4961c); text-decoration: underline; }
.form-obbligatori { font-size: .76rem; color: var(--gray-l, #888); margin: 0; }
.form-errore {
  background: #fdecea; border: 1px solid #f5c2bd; color: #8a201a;
  padding: 12px 14px; border-radius: 10px; font-size: .86rem; line-height: 1.6; margin: 0;
}
.form-esito {
  background: var(--off-white, #f7f6f2); border: 1px solid var(--border, #e6e6e6);
  border-radius: var(--radius, 16px); padding: 40px 38px; text-align: center;
}
.form-esito h3 { font-family: var(--naon); font-size: 1.7rem; margin: 0 0 10px; }
.form-esito p { color: var(--gray, #555); line-height: 1.7; margin: 0 0 12px; }
.form-esito-nota { font-size: .82rem; }
.newsletter-consenso {
  display: flex; gap: 9px; align-items: flex-start; margin-top: 12px;
  font-size: .78rem; line-height: 1.55; color: rgba(255,255,255,.85); grid-column: 1 / -1;
}
.newsletter-consenso input[type="checkbox"] { margin-top: 3px; flex: 0 0 auto; }
.newsletter-consenso a { color: rgba(255,255,255,.75); text-decoration: underline; }
.newsletter-esito { font-size: .84rem; line-height: 1.65; color: rgba(255,255,255,.7); }

/* Focus sempre visibile: prima veniva soppresso senza alternativa */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent, #c4961c);
  outline-offset: 2px;
}


/* ==========================================================================
   ACCESSIBILITÀ — riduzione del movimento e collegamento di salto
   ========================================================================== */

/* Prima la preferenza di sistema era rispettata solo dal cassetto del carrello
   e da due animazioni: chi soffre di disturbi vestibolari incontrava comunque
   reveal, contatori e parallasse su ogni pagina (WCAG 2.3.3). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .r { opacity: 1 !important; transform: none !important; }
}

/* Collegamento di salto: primo elemento focalizzabile della pagina, visibile
   solo quando riceve il focus (WCAG 2.4.1). */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100001;
  background: var(--black, #111); color: #fff; padding: 12px 20px;
  border-radius: 0 0 10px 10px; font-size: .85rem; font-weight: 700;
  text-decoration: none; transition: top .18s ease;
}
.skip-link:focus { top: 0; }
