/* AFSD — "Karta e pijeve". Variante chiara, OREKO Studio.
   Gloock per i titoli, Hanken Grotesk per i testi, IBM Plex Mono per le etichette tecniche. */
:root {
  --paper: #f6f2eb;
  --paper-2: #ede7dc;
  --card: #fbf9f5;
  --ink: #1a1815;
  --mute: #6a6359;
  --faint: #736c62; /* era #9a9286: troppo chiaro da leggere (contrasto 2.8:1), ora 4.6:1 sulla carta */
  --line: #ddd5c8;
  --line-2: #c9bfb0;
  --accent: #8f1d24;   /* bordeaux, dalla famiglia del rosso del logo */
  --accent-2: #6f151b;
  --red: #b3262d;
  --ff-display: var(--font-display), 'Newsreader', 'Times New Roman', serif;
  --sans: var(--font-sans), 'Hanken Grotesk', system-ui, sans-serif;
  --mono: var(--font-mono), 'IBM Plex Mono', ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 56px);
  --max: 2400px;
  /* bordo comune: tutte le sezioni partono dalla stessa linea */
  --edge: max(var(--pad), calc((100% - var(--max)) / 2));
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
/* le righe scorrevoli a tutta larghezza (filtri, mensola) non devono allargare la pagina; clip non rompe lo sticky */
main { overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografia ---------- */
.display { font: 400 clamp(2.5rem, 4.8vw, 4.6rem)/1.05 var(--ff-display); letter-spacing: -.02em; }
.h2 { font: 400 clamp(1.9rem, 3vw, 2.8rem)/1.12 var(--ff-display); letter-spacing: -.015em; }
.h3 { font: 400 clamp(1.4rem, 2vw, 1.8rem)/1.2 var(--ff-display); letter-spacing: -.01em; }
.display em, .h2 em, .h3 em { font-style: italic; color: var(--accent); }
.label { font: 500 11.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.label b { color: var(--red); font-weight: 500; }
.lead { font-size: 18px; line-height: 1.6; color: var(--mute); max-width: 46ch; }
.mono { font-family: var(--mono); }

/* ---------- Layout ---------- */
.wrap { padding-left: var(--edge); padding-right: var(--edge); }
.section { padding-top: 120px; padding-bottom: 120px; }
.section--tight { padding-top: 72px; padding-bottom: 72px; }
.rule { border-top: 1px solid var(--line); }
/* intestazione di sezione: etichetta | titolo | azione, sempre sulla stessa griglia */
.shead { display: grid; grid-template-columns: 220px 1fr auto; gap: 32px; align-items: end; padding-bottom: 40px; margin-bottom: 48px; border-bottom: 1px solid var(--ink); }
.shead .label { align-self: start; padding-top: .9em; }

/* ---------- Pulsanti e link ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 26px; border-radius: 2px; font: 500 14.5px/1 var(--sans); white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--accent); }
.btn--line { border: 1px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost-light { border: 1px solid rgba(246, 242, 235, .45); color: var(--paper); }
.btn--ghost-light:hover { background: var(--paper); color: var(--ink); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 13.5px; }
.link { display: inline-flex; align-items: center; gap: 10px; font: 500 14.5px/1 var(--sans); padding-bottom: 6px; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.link span { transition: transform .4s var(--ease); }
.link:hover span { transform: translateX(4px); }

/* ---------- Verifica età ---------- */
.gate { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 20px; background: var(--paper); }
.gate.is-open { display: grid; }
.gate__box { width: min(460px, 100%); text-align: center; display: grid; justify-items: center; gap: 22px; }
.gate__logo { height: 40px; width: auto; }
.gate__q { font: 400 clamp(1.8rem, 5vw, 2.4rem)/1.15 var(--ff-display); }
.gate__note { color: var(--mute); font-size: 14.5px; max-width: 34ch; }
.gate__form { display: grid; gap: 14px; width: 100%; }
.gate__dob { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 10px; text-align: left; }
.gate__dob label { display: grid; gap: 6px; }
.gate__dob span { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.gate__dob input { width: 100%; min-width: 0; height: 54px; padding: 0 14px; font: 400 1.25rem/1 var(--sans); background: transparent; color: var(--ink); border: 1px solid var(--line-2); border-radius: 2px; text-align: center; outline: 0; transition: border-color .2s; }
.gate__dob input:focus { border-color: var(--ink); }
.gate__dob input::placeholder { color: var(--faint); font-size: 1rem; }
.gate__form.is-bad .gate__dob input { border-color: var(--accent); }
.gate__form .btn { width: 100%; justify-content: center; }
.gate__note { min-height: 3em; }

/* ---------- Header ---------- */
/* Barra superiore: testo che scorre in continuo (due gruppi identici, -50% = giro perfetto) */
.topbar { background: var(--accent); color: var(--paper); font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; overflow: hidden; position: sticky; top: 0; z-index: 120; }
.topbar__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.topbar:hover .topbar__track { animation-play-state: paused; }
.topbar__item { display: inline-flex; align-items: center; white-space: nowrap; padding: 11px 0; }
.topbar__item::after { content: ''; width: 5px; height: 5px; margin: 0 34px; background: currentColor; opacity: .6; transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .topbar__track { animation: none; width: auto; justify-content: center; }
  .topbar__item:not(:first-child) { display: none; }
  .topbar__item::after { display: none; }
}
.nav { position: sticky; top: var(--topbar-h, 34px); z-index: 100; background: var(--paper); border-bottom: 1px solid var(--line); transition: transform .5s var(--ease); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; }
.nav__left, .nav__right { display: flex; align-items: center; gap: 32px; font-size: 14.5px; font-weight: 500; }
.nav__right { justify-content: flex-end; gap: 24px; }
.nav__left a, .nav__right > a:not(.nav__cart) { position: relative; padding: 4px 0; color: var(--mute); transition: color .3s; }
.nav__left a:hover, .nav__right > a:hover, .nav a.is-active { color: var(--ink); }
.nav a.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ink); }
.nav__logo img { height: 38px; width: auto; }
.lang { display: flex; gap: 6px; font: 500 12px/1 var(--mono); color: var(--faint); }
.lang button.is-on { color: var(--ink); }
.nav__cart { position: relative; display: grid; place-items: center; width: 38px; height: 38px; }
.nav__count { position: absolute; top: 0; right: -2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font: 600 10px/17px var(--sans); text-align: center; }
.nav__count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.nav__burger { display: none; width: 38px; height: 38px; position: relative; }
.nav__burger span { position: absolute; left: 8px; right: 8px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 14px; }
.nav__burger span:last-child { top: 22px; }
.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 90; background: var(--paper); padding: 140px var(--pad) 40px; display: none; }
.menu-open .menu { display: block; }
.menu a { display: flex; justify-content: space-between; align-items: baseline; font: 400 2rem/1.25 var(--ff-display); padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu a small { font: 500 12px/1 var(--mono); color: var(--faint); }
.site-toast { position: fixed; z-index: 200; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; background: var(--ink); color: var(--paper); padding: 14px 22px; border-radius: 2px; font-size: 14px; white-space: nowrap; max-width: calc(100% - 40px); overflow: hidden; text-overflow: ellipsis; transition: transform .5s var(--ease); }
.site-toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Hero: la mensola ---------- */
/* ---------- Hero: testo + pannello bordeaux a tutta altezza ---------- */
.hero2 { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); min-height: max(640px, calc(100svh - 112px)); padding-left: var(--edge); }
.hero2__text { display: flex; flex-direction: column; justify-content: center; gap: 30px; padding: 56px 64px 40px 0; }
.hero2__title { font: 400 clamp(2.8rem, 5.3vw, 5.8rem)/1.02 var(--ff-display); letter-spacing: -.025em; }
.hero2__title em { font-style: italic; color: var(--accent); }
.hero2__sub { font-size: 18px; line-height: 1.6; color: var(--mute); max-width: 44ch; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero2__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--ink); }
.hero2__facts dt { font: 400 clamp(1.7rem, 2.4vw, 2.3rem)/1.1 var(--ff-display); }
.hero2__facts dd { font-size: 13px; line-height: 1.5; color: var(--mute); margin-top: 6px; max-width: 24ch; }
.hero2__panel { position: relative; background: var(--accent); color: var(--paper); overflow: hidden; container-type: inline-size; min-height: 560px; }
.slide { position: absolute; inset: 0 0 112px 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
.slide.is-on { opacity: 1; visibility: visible; transition: opacity .9s var(--ease); }
.slide__ring { position: absolute; left: 50%; top: 52%; width: 74cqw; aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid rgba(246, 242, 235, .2); border-radius: 50%; }
.slide__word { position: absolute; left: 32px; top: 24px; font: italic 400 calc(var(--k) * 1cqw)/1.05 var(--ff-display); letter-spacing: -.02em; color: rgba(246, 242, 235, .16); white-space: nowrap; transform: translateX(-28px); transition: transform 1.4s var(--ease); }
.slide.is-on .slide__word { transform: none; }
/* bottiglia quadrata 2000x2000 con il contenuto a tutta altezza: ancorata alla linea della barra */
.slide__img { position: absolute; left: 50%; bottom: 0; height: 94%; width: auto; aspect-ratio: 1; max-width: none; transform: translate(-50%, 28px); transition: transform 1.3s var(--ease); filter: drop-shadow(0 28px 30px rgba(0, 0, 0, .38)); }
.slide.is-on .slide__img { transform: translate(-50%, 0); }
.slide__cap { position: absolute; left: 0; top: 100%; height: 112px; padding-left: 32px; display: flex; flex-direction: column; justify-content: center; gap: 3px; z-index: 3; }
.slide__cap .label { color: rgba(246, 242, 235, .7); }
.slide__cap b { font: 400 1.7rem/1.15 var(--ff-display); }
.slide__meta { font: 500 12px/1.4 var(--mono); letter-spacing: .04em; color: rgba(246, 242, 235, .78); }
.slide__cap:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.hero2__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 112px; border-top: 1px solid rgba(246, 242, 235, .3); display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-right: 28px; pointer-events: none; z-index: 2; }
.hero2__count { font: 500 12px/1 var(--mono); letter-spacing: .06em; color: rgba(246, 242, 235, .8); margin-right: 8px; }
.hero2__btn { pointer-events: auto; width: 44px; height: 44px; border: 1px solid rgba(246, 242, 235, .45); border-radius: 2px; font-size: 18px; color: var(--paper); transition: background .3s, color .3s; }
.hero2__btn:hover { background: var(--paper); color: var(--accent); }
.shelf { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 64px; }
.shelf__item { display: grid; grid-template-rows: auto auto; }
.shelf__img { height: clamp(260px, 42vh, 440px); display: flex; align-items: flex-end; justify-content: center; border-bottom: 2px solid var(--ink); overflow: hidden; }
.shelf__img img { height: 92%; width: auto; max-width: none; object-fit: contain; margin-bottom: 0; transition: margin-bottom .7s var(--ease); filter: drop-shadow(0 10px 10px rgba(26, 24, 21, .12)); }
.shelf__item:nth-child(3) .shelf__img img { height: 100%; }
.shelf__item:hover .shelf__img img { margin-bottom: 10px; }
.shelf__cap { display: grid; gap: 4px; padding: 16px 20px 0 0; }
.shelf__cap .label { color: var(--faint); }
.shelf__cap b { font: 400 1.2rem/1.25 var(--ff-display); }
.shelf__cap span { font-size: 13.5px; color: var(--mute); }

/* ---------- Indice delle categorie ---------- */
.index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.index a { display: grid; gap: 10px; padding: 28px 24px 30px 0; transition: background .3s; position: relative; }
.index a + a { padding-left: 24px; border-left: 1px solid var(--line); }
.index a:hover { background: var(--paper-2); }
.index__top { display: flex; justify-content: space-between; }
.index__top span:last-child { transition: transform .4s var(--ease); }
.index a:hover .index__top span:last-child { transform: translateX(-4px) translateY(-4px) rotate(-45deg); }
.index h3 { font: 400 1.45rem/1.2 var(--ff-display); }
.index p { font-size: 13.5px; color: var(--mute); min-height: 3em; line-height: 1.5; }

/* ---------- Carta delle bevande (lista allineata per colonne) ---------- */
.list { border-top: 1px solid var(--ink); }
.list__head, .lrow { display: grid; grid-template-columns: 64px minmax(0, 2.4fr) minmax(0, 1fr) 80px 80px 110px 150px; gap: 20px; align-items: center; }
.list__head { padding: 14px 0; border-bottom: 1px solid var(--line); }
.list__head span { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.lrow { position: relative; padding: 16px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.lrow:hover { background: var(--card); }
.lrow__thumb { position: relative; width: 64px; height: 64px; background: var(--paper-2); border-radius: 2px; overflow: hidden; }
.lrow__thumb img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.lrow__thumb img.is-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lrow__name { min-width: 0; }
.lrow__name b { display: block; font: 400 1.2rem/1.3 var(--ff-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow__name span { display: block; font-size: 13.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow__cell { font: 400 13.5px/1.3 var(--mono); color: var(--mute); }
.lrow__price { font: 500 14px/1 var(--mono); color: var(--ink); text-align: right; }
.lrow__act { text-align: right; position: relative; z-index: 2; }
.lrow__link { position: absolute; inset: 0; z-index: 1; }
.list__more { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; }
/* anteprima della bottiglia che segue il mouse sulla lista (solo desktop) */
.peek { position: fixed; z-index: 80; left: 0; top: 0; width: 180px; height: 240px; pointer-events: none; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; opacity: 0; transform: scale(.9); transition: opacity .25s, transform .35s var(--ease); }
.peek.is-on { opacity: 1; transform: scale(1); }
.peek img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.peek img.is-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Griglia prodotti (shop) ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
.card, .bc { min-width: 0; }
.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; aspect-ratio: 4 / 5; background: var(--paper-2); border-radius: 2px; display: grid; place-items: center; overflow: hidden; transition: background .3s; }
.card:hover .card__media { background: #e6dfd2; }
.card__media img { position: absolute; inset: 9% 7%; height: 82%; width: 86%; object-fit: contain; transition: transform .7s var(--ease); filter: drop-shadow(0 10px 10px rgba(26, 24, 21, .12)); }
.card__media img.is-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.card:hover .card__media img { transform: translateY(-6px); }
.card__body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding-top: 16px; }
.card__cat { font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* nome e descrizione sempre su 2 righe: prezzo e bottone restano allineati in ogni fila */
.card__name { font: 400 1.25rem/1.25 var(--ff-display); min-height: 2.4em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.card__sub { overflow-wrap: anywhere; font-size: 13.5px; line-height: 1.5; color: var(--mute); min-height: 1.5em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.card__foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.card__sub { margin-bottom: 14px; }
.card__price { font: 500 14.5px/1 var(--mono); }
.card__add { position: relative; z-index: 2; font: 500 13.5px/1 var(--sans); padding: 8px 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.card__add:hover { color: var(--accent); border-color: var(--accent); }
.card__link { position: absolute; inset: 0; z-index: 1; }

/* Toolbar */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { height: 36px; padding: 0 14px; border-radius: 2px; font-size: 14px; font-weight: 500; color: var(--mute); transition: background .3s, color .3s; white-space: nowrap; }
.tabs button sup { font: 500 10px/1 var(--mono); margin-left: 4px; color: var(--faint); }
.tabs button:hover { color: var(--ink); }
.tabs button.is-on { background: var(--ink); color: var(--paper); }
.tabs button.is-on sup { color: rgba(246, 242, 235, .6); }
.toolbar__right { display: flex; align-items: center; gap: 16px; }
.select { height: 36px; padding: 0 32px 0 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--card) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M1 1l4 4 4-4' fill='none' stroke='%231a1815' stroke-width='1.2'/></svg>") no-repeat right 12px center; appearance: none; font-size: 14px; cursor: pointer; }
.view { display: flex; border: 1px solid var(--line); border-radius: 2px; }
.view button { width: 36px; height: 34px; display: grid; place-items: center; color: var(--faint); }
.view button.is-on { color: var(--ink); background: var(--paper-2); }
.is-hidden { display: none !important; }

/* ---------- Etichetta del mese ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(580px, 88vh, 820px); }
.feature__media { background: var(--accent); position: relative; display: grid; place-items: center; overflow: hidden; min-height: 100%; }
/* immagine assoluta: altezza legata al pannello, non alla sua dimensione naturale */
.feature__media img { position: absolute; top: 9%; left: 0; right: 0; margin: 0 auto; height: 82%; width: auto; max-width: none; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35)); }
.feature__media .label { position: absolute; top: 28px; left: 28px; color: rgba(246, 242, 235, .7); }
.feature__media .feature__ring { position: absolute; width: 70%; aspect-ratio: 1; border: 1px solid rgba(246, 242, 235, .18); border-radius: 50%; }
.feature__body { background: var(--card); padding: 64px clamp(28px, 5vw, 80px); display: grid; align-content: center; gap: 26px; }
.spec { border-top: 1px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { font: 500 11.5px/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.spec dd { font-size: 15px; }

/* ---------- Partner ---------- */
/* colonne di larghezza identica: la linea divisoria sta nello spazio tra le colonne, non dentro al testo */
.cols4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 64px; }
.cols4 > div { position: relative; padding: 0; display: grid; gap: 14px; align-content: start; }
.cols4 > div + div::before { content: ''; position: absolute; left: -32px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.cols4 p, .cols4 h3 { text-wrap: wrap; }
.cols4 h3 { font: 400 1.3rem/1.25 var(--ff-display); min-height: 2.5em; }
.cols4 p { font-size: 14.5px; color: var(--mute); }
.cols4.cols3 { grid-template-columns: repeat(3, 1fr); }
/* colonne affiancate: stessa altezza e link sempre in fondo, così restano allineati anche se i testi hanno lunghezze diverse */
.cols4 > div { display: flex; flex-direction: column; gap: 14px; }
.cols4 > div > a:last-child { margin-top: auto; align-self: flex-start; }

/* Muro dei marchi */
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos div { aspect-ratio: 3 / 2; display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.logos img { max-height: 46%; max-width: 64%; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .4s, opacity .4s; }
.logos div:hover img { filter: none; opacity: 1; }

/* Citazione */
.quote { text-align: center; display: grid; justify-items: center; gap: 28px; }
.quote blockquote { font: italic 400 clamp(1.7rem, 3.2vw, 2.8rem)/1.25 var(--ff-display); letter-spacing: -.01em; max-width: 26ch; }

/* CTA verde */
.cta { background: var(--accent); color: var(--paper); }
.cta__in { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding-top: 110px; padding-bottom: 110px; }
.cta .label { color: rgba(246, 242, 235, .65); margin-bottom: 20px; }
.cta .h2 em { color: #f1d3cf; }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Pagine interne ---------- */
.phead { padding-top: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--ink); }
.phead__grid { display: grid; grid-template-columns: 1fr minmax(280px, 420px); gap: 56px; align-items: end; margin-top: 18px; }
.crumbs { display: flex; gap: 10px; font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.crumbs a:hover { color: var(--ink); }

/* Marchi in righe editoriali */
/* Marchi: logo originale accanto alla bottiglia, testo sotto allineato in ogni fila */

/* Scheda prodotto */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; padding-top: 48px; padding-bottom: 96px; }
.pdp__media { position: sticky; top: 110px; aspect-ratio: 4 / 5; max-height: calc(100vh - 140px); width: 100%; background: var(--paper-2); display: grid; place-items: center; overflow: hidden; border-radius: 2px; }
.pdp__media img { position: absolute; top: 7%; left: 0; right: 0; margin: 0 auto; height: 86%; width: auto; max-width: none; filter: drop-shadow(0 16px 16px rgba(26, 24, 21, .14)); }
.pdp__media .label { position: absolute; top: 20px; left: 22px; }
.pdp__media .label + .label { left: auto; right: 22px; }
.pdp__info { display: grid; gap: 26px; }
.pdp__title { font: 400 clamp(2.3rem, 3.6vw, 3.4rem)/1.05 var(--ff-display); letter-spacing: -.015em; }
.pdp__style { font-size: 17px; color: var(--mute); margin-top: 10px; }
.pdp__price { font: 500 1.4rem/1 var(--mono); }
.pdp__buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 2px; height: 50px; }
.qty button { width: 44px; height: 100%; font-size: 18px; color: var(--mute); }
.qty input { width: 32px; text-align: center; background: none; border: 0; outline: 0; font-family: var(--mono); }
.note { font-size: 14px; color: var(--mute); padding: 16px 18px; background: var(--card); border-left: 2px solid var(--accent); }
.note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc { border-top: 1px solid var(--ink); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-family: var(--mono); transition: transform .6s var(--ease); }
.acc details[open]:not(.is-closing) summary::after { transform: rotate(45deg); }
.acc p { padding-bottom: 20px; color: var(--mute); font-size: 15px; }

/* Chi siamo */
.split { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 32px; align-items: start; }
.split p { color: var(--mute); }
.figure { position: relative; }
.figure img { width: 100%; height: clamp(320px, 62vh, 640px); object-fit: cover; border-radius: 2px; }
.figure figcaption { display: flex; justify-content: space-between; padding-top: 12px; }

/* Contatti */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.info { border-top: 1px solid var(--ink); }
.info div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.info dd { font: 400 1.2rem/1.35 var(--ff-display); }
.info dd a:hover { color: var(--accent); }
.form { display: grid; gap: 22px; padding: 40px; background: var(--card); border: 1px solid var(--line); border-radius: 2px; scroll-margin-top: 110px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 13.5px; font-weight: 500; }
.form input:not([type="radio"]):not([type="checkbox"]), .form textarea { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 2px; background: #fff; font-size: 15px; outline: 0; transition: border-color .3s; }
.form textarea { height: auto; padding: 12px 14px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--ink); }
.form .is-error { border-color: var(--red) !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
.chips legend { font-size: 13.5px; font-weight: 500; margin-bottom: 10px; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-flex; height: 38px; align-items: center; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 2px; font-size: 14px; color: var(--mute); cursor: pointer; }
.chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; color: var(--mute); }
.check input { accent-color: var(--accent); width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; }
.form__ok { display: none; color: var(--accent); font-weight: 500; }
.form.is-sent .form__ok { display: block; }
.map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(1) contrast(.95); display: block; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--ink); background: var(--paper-2); }
.foot__grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.foot__grid > div { display: grid; gap: 10px; align-content: start; font-size: 14.5px; }
.fcol__body { display: grid; gap: 10px; align-content: start; }
.foot__grid h4 { font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.foot__grid a { color: var(--mute); justify-self: start; }
.foot__grid a:hover { color: var(--ink); }
.foot__brand img { height: 36px; width: auto; margin: 0 0 8px -22px; }
.foot__brand p { color: var(--mute); max-width: 34ch; }
.foot__row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--mute); }
.pay { display: flex; gap: 6px; }
.pay span { font: 500 11px/1 var(--mono); padding: 6px 9px; border: 1px solid var(--line-2); border-radius: 2px; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .list__head, .lrow { grid-template-columns: 56px minmax(0, 2fr) minmax(0, 1fr) 70px 100px 140px; }
  .list__head span:nth-child(5), .lrow > :nth-child(5) { display: none; }
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
  .cols4 > div:nth-child(3)::before { display: none; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  body { font-size: 15.5px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .section--tight { padding-top: 56px; padding-bottom: 56px; }
  :root { --topbar-h: 30px; }
  .topbar { font-size: 10px; }
  .topbar__item { padding: 10px 0; }
  .topbar__item::after { margin: 0 24px; }
  .nav__in { grid-template-columns: auto 1fr auto; height: 64px; }
  .nav__left { display: none; }
  .nav__logo { order: -1; }
  .nav__logo img { height: 32px; }
  .nav__right { gap: 10px; }
  .nav__right > a:not(.nav__cart):not(.nav__user) { display: none; }
  .nav__burger { display: block; }
  .shead { grid-template-columns: 1fr; gap: 14px; padding-bottom: 28px; margin-bottom: 32px; }
  .shead .label { padding-top: 0; }
  .shead > :last-child:not(:first-child):not(.h2) { justify-self: start; }
  /* Mobile: all'inizio dell'hero c'è solo il pannello con la bottiglia; titolo, bottoni, descrizione e dati
     seguono sotto. display: contents lascia riordinare i figli. */
  .hero2 { display: flex; flex-direction: column; min-height: 0; padding-left: 0; }
  .hero2__text { display: contents; }
  .hero2__text > * { margin-left: var(--pad); margin-right: var(--pad); }
  .hero2__text > .label { order: 1; margin-top: 32px; }
  .hero2__title { order: 2; margin-top: 12px; font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .hero2__text > .hero__actions { order: 3; margin-top: 22px; }
  .hero2__panel { order: 0; margin: 0; min-height: 0; height: max(440px, calc(100svh - 236px)); }
  .hero2__sub { order: 4; margin-top: 20px; font-size: 16px; }
  .hero2__facts { order: 5; grid-template-columns: 1fr; gap: 0; margin-top: 28px; margin-bottom: 8px; padding-top: 0; }
  .hero2__facts > div { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hero2__facts dt { min-width: 84px; font-size: 1.5rem; }
  .hero2__facts dd { margin-top: 0; max-width: none; }
  .slide { inset: 0 0 76px 0; }
  .slide__word { left: 20px; top: 14px; }
  .slide__img { height: 94%; }
  .slide__cap { height: 76px; padding-left: 20px; }
  .slide__cap .label { display: none; }
  .slide__cap b { font-size: 1.35rem; }
  .hero2__bar { height: 76px; padding-right: 20px; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { padding: 0 12px; }
  .shelf { grid-template-columns: repeat(5, 62%); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); scrollbar-width: none; }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf__item { scroll-snap-align: start; }
  .shelf__img { height: 46vh; }
  .index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index a, .index a + a { padding: 22px 16px 24px 0; border-left: 0; }
  .index a:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .index a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .index h3 { font-size: 1.2rem; }
  .list__head { display: none; }
  .lrow { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "thumb name price" "thumb meta act"; gap: 4px 14px; padding: 14px 0; }
  .lrow__thumb { grid-area: thumb; }
  .lrow__name { grid-area: name; }
  .lrow__price { grid-area: price; }
  .lrow__act { grid-area: act; }
  .lrow > .lrow__cell { display: none; }
  .lrow__meta { grid-area: meta; display: block !important; font: 400 12px/1.4 var(--mono); color: var(--faint); }
  .lrow__name b { font-size: 1.1rem; }
  .lrow__name span { display: none; }
  .list__more { flex-direction: column; align-items: flex-start; gap: 16px; }
  .peek { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 12px; }
  .card__name { font-size: 1.1rem; }
  .card__sub { font-size: 12.5px; }
  .card__foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .card__add { text-align: center; border: 1px solid var(--ink); padding: 11px 0; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 14px; }
  /* il testo della prima voce parte dal margine della pagina (il bottone ha 14px di padding) */
  .tabs { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + var(--pad) * 2); max-width: 100vw; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 0 calc(var(--pad) - 14px); scroll-padding-left: calc(var(--pad) - 14px); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex-shrink: 0; }
  .toolbar__right { justify-content: space-between; }
  .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 62vh; }
  .feature__body { padding: 48px var(--pad); }
  .spec div { grid-template-columns: 110px 1fr; }
  .cols4, .cols4.cols3 { grid-template-columns: 1fr; gap: 0; }
  .cols4 > div, .cols4 > div + div { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .cols4 > div + div::before { display: none; }
  .cols4 h3 { min-height: 0; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta__in { grid-template-columns: 1fr; padding-top: 80px; padding-bottom: 80px; }
  .cta__actions { display: grid; }
  .phead { padding-top: 24px; padding-bottom: 24px; }
  .phead__grid { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
  .pdp { grid-template-columns: 1fr; gap: 36px; padding-top: 28px; }
  .pdp__media { position: relative; top: 0; max-height: none; }
  .split { grid-template-columns: 1fr; gap: 20px; }
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .form { padding: 24px 18px; }
  .form__row { grid-template-columns: 1fr; }
  .info div { grid-template-columns: 90px 1fr; }
  .map iframe { height: 300px; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 56px; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__row { flex-direction: column; align-items: flex-start; }
}
.lrow__meta { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* =====================================================================
   SHOP: filtro laterale
   ===================================================================== */
[hidden] { display: none !important; }
.is-flat { mix-blend-mode: multiply; filter: none !important; }
.shop { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 56px; align-items: start; }
.shop__main { min-width: 0; }
.filters { position: sticky; top: calc(var(--topbar-h, 34px) + 76px + 28px); max-height: calc(100vh - var(--topbar-h, 34px) - 76px - 48px); transition: top .5s var(--ease), max-height .5s var(--ease); overflow-y: auto; padding-right: 10px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.filters__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.filters__title { font: 400 1.5rem/1.2 var(--ff-display); }
.filters__clear { font: 500 13px/1 var(--sans); color: var(--mute); text-decoration: underline; text-underline-offset: 3px; transition: color .3s; }
.filters__clear:hover { color: var(--accent); }
.filters__close, .filters__open, .filters__apply, .shop__scrim { display: none; }
.fgroup { padding: 22px 0; border-bottom: 1px solid var(--line); }
.fgroup__t { font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.flist { list-style: none; display: grid; gap: 1px; }
.fopt { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; width: 100%; padding: 8px 10px; border-left: 2px solid transparent; text-align: left; font-size: 14.5px; color: var(--mute); transition: color .25s, background .25s, border-color .25s; }
.fopt:hover { color: var(--ink); background: var(--paper-2); }
.fopt.is-on { color: var(--ink); font-weight: 600; border-left-color: var(--accent); background: var(--paper-2); }
.fopt i, .fcheck i { font: 500 11.5px/1 var(--mono); font-style: normal; color: var(--faint); }
.is-zero { opacity: .4; }
.fcheck { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 2px; font-size: 14.5px; color: var(--mute); cursor: pointer; position: relative; transition: color .25s; }
.fcheck:hover { color: var(--ink); }
.fcheck input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 0; cursor: pointer; }
.fcheck__box { width: 16px; height: 16px; border: 1px solid var(--line-2); border-radius: 2px; background: #fff; display: grid; place-items: center; transition: background .25s, border-color .25s; }
.fcheck__box::after { content: ''; width: 8px; height: 4px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; transition: opacity .2s; }
.fcheck input:checked ~ .fcheck__box { background: var(--accent); border-color: var(--accent); }
.fcheck input:checked ~ .fcheck__box::after { opacity: 1; }
.fcheck input:checked ~ .fcheck__t { color: var(--ink); font-weight: 600; }
.fcheck input:focus-visible ~ .fcheck__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.fprice { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; }
.fprice input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 2px; background: #fff; font: 400 14px/1 var(--mono); outline: 0; transition: border-color .25s; }
.fprice input:focus { border-color: var(--ink); }
.fprice__dash { color: var(--faint); }
.fquick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.fquick button { height: 32px; padding: 0 11px; border: 1px solid var(--line-2); border-radius: 2px; font: 400 12.5px/1 var(--mono); color: var(--mute); transition: background .25s, color .25s, border-color .25s; }
.fquick button:hover { border-color: var(--ink); color: var(--ink); }
.fquick button.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.toolbar--shop { margin-bottom: 20px; padding: 14px 0; }
.toolbar--shop .toolbar__count { font-size: 13.5px; }
.active { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.active:empty { display: none; }
.achip { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 2px; font-size: 13px; transition: border-color .25s, background .25s; }
.achip i { font-style: normal; font-size: 16px; line-height: 1; color: var(--faint); }
.achip:hover { border-color: var(--ink); background: var(--paper-2); }
.shop .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 22px; }
/* Colonne solo 2, 3, 4 o 6: dividono i 24 prodotti di ogni pagina (inc/shop.php), così ogni riga è piena.
   Con 5 colonne le righe restavano a metà (sul sito, con 9 prodotti per pagina: 5 + 4). */
/* schermi larghi (da 2000px): 6 per riga, così le card non superano ~340px */
@media (min-width: 2000px) {
  .shop .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 44px 20px; }
}
@media (min-width: 981px) and (max-width: 1279px) {
  .shop { grid-template-columns: 216px minmax(0, 1fr); gap: 32px; }
  .shop .grid { gap: 32px 14px; }
  .shop .card__name { font-size: 1.08rem; }
  .shop .card__sub { font-size: 12.5px; }
  .shop .card__cat { font-size: 10px; letter-spacing: .04em; }
  .shop .card__add { font-size: 12.5px; }
}
.empty { display: grid; justify-items: start; gap: 18px; padding: 72px 0; }
.empty__t { font: 400 1.6rem/1.2 var(--ff-display); }
.more { display: grid; justify-items: center; gap: 14px; margin-top: 56px; }
.more__n { font: 500 12px/1 var(--mono); letter-spacing: .06em; color: var(--faint); }
.filters__badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 8px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font: 600 10.5px/1 var(--sans); }

/* ---------- tablet: il filtro diventa un cassetto ---------- */
@media (max-width: 980px) {
  .shop { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .shop .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters { position: fixed; z-index: 160; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); max-height: none; padding: 20px 22px 14px; background: var(--paper); border-right: 1px solid var(--line-2); transform: translateX(-103%); transition: transform .5s var(--ease); }
  .filters-open .filters { transform: none; }
  .shop__scrim { display: block; position: fixed; inset: 0; z-index: 150; background: rgba(26, 24, 21, .45); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
  .filters-open .shop__scrim { opacity: 1; visibility: visible; transition: opacity .4s; }
  .filters__close { display: block; width: 36px; height: 36px; margin-right: -8px; font-size: 28px; line-height: 1; color: var(--ink); }
  .filters__title { margin-right: auto; }
  .filters__open { display: inline-flex; }
  .filters__apply { display: flex; position: sticky; bottom: 14px; width: 100%; margin-top: 18px; height: 52px; box-shadow: 0 0 0 14px var(--paper); }
  .toolbar--shop { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; align-items: center; }
  .toolbar--shop .toolbar__count { justify-self: end; }
  .toolbar--shop .toolbar__right { grid-column: 1 / -1; justify-content: space-between; }
}

/* ---------- mobile ---------- */
@media (max-width: 820px) {
  .shop .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 12px; }
}

/* schermi stretti con il filtro visibile: prezzo sopra, bottone sotto, così nulla si sovrappone */
@media (min-width: 981px) and (max-width: 1130px) {
  .shop .card__foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .shop .card__add { text-align: center; border: 1px solid var(--ink); padding: 10px 0; }
}

/* menu nascosto (scorrendo verso il basso): il filtro sale subito sotto la striscia rossa */
.nav-hidden .filters { top: calc(var(--topbar-h, 34px) + 24px); max-height: calc(100vh - var(--topbar-h, 34px) - 48px); }
@media (max-width: 980px) { .nav-hidden .filters { top: 0; max-height: none; } }

/* =====================================================================
   MARCHI: griglia semplice di logo
   ===================================================================== */
.bgrid2 { --cols: 5; --gx: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 48px var(--gx); }
.bgrid2 > * { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gx)) / var(--cols)); min-width: 0; }
.bt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
/* riquadro con le stesse proporzioni per tutti; sfondo = colore del sito; il logo è scalato in base al contenuto reale */
.bt__tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: transparent; border: 1px solid var(--line-2); border-radius: 2px; transition: border-color .3s, background .3s; }
.bt__tile:hover { border-color: var(--ink); background: var(--paper-2); }
.bt__tile img { mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.bt__tile:hover img { transform: scale(1.04); }
.bt__tile span { position: absolute; inset: 0; display: grid; place-items: center; padding: 8%; font: italic 400 1.5rem/1.2 var(--ff-display); color: var(--accent); text-align: center; }
.bt__meta { margin-top: 14px; font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt__name { font: 400 1.5rem/1.2 var(--ff-display); }
.bt__desc { font-size: 14.5px; line-height: 1.55; color: var(--mute); min-height: 3.1em; margin-bottom: 14px; }
.bt .link { margin-top: auto; align-self: flex-start; }
@media (max-width: 1100px) { .bgrid2 { --cols: 3; } }
@media (max-width: 820px) {
  .bgrid2 { --cols: 2; --gx: 12px; gap: 34px var(--gx); }
  .bt__desc { display: none; }
  .bt__meta { white-space: normal; min-height: 2.8em; margin-top: 12px; } /* su mobile va a capo, mai tagliato */
  .bt__name { font-size: 1.2rem; }
  .bt .link { margin-top: 8px; font-size: 13.5px; }
}

/* =====================================================================
   PAGINA MARCHIO (funnel SEO)
   ===================================================================== */
.bhero { align-items: center; }
.bhero__text { display: grid; gap: 18px; justify-items: start; }
.bhero__text .display { margin: 0; }
.bhero__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.bhero__logo { align-self: center; }
.bfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line-2); }
.bfacts > div { padding: 24px 24px 24px 0; display: grid; gap: 8px; align-content: start; }
.bfacts > div + div { padding-left: 24px; border-left: 1px solid var(--line-2); }
.bfacts dt { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.bfacts dd { margin: 0; font: 400 1.25rem/1.3 var(--ff-display); }
.bsec { padding-top: 80px; padding-bottom: 8px; }
.bsec__grid { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 56px; align-items: start; }
.bsec__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.bprose { display: grid; gap: 22px; max-width: 68ch; font-size: 17px; line-height: 1.7; color: var(--mute); }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 24px; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); transition: transform .6s var(--ease); }
.faq details[open]:not(.is-closing) summary::after { transform: rotate(45deg); }
.faq p { padding-bottom: 22px; max-width: 64ch; color: var(--mute); font-size: 15.5px; line-height: 1.65; }
.brel .bt__name a:hover { color: var(--accent); }
.bcats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.bcats a { font: 500 14.5px/1 var(--sans); border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.bcats a:hover { color: var(--accent); border-color: var(--accent); }
body[data-brand] .cta { margin-top: 96px; }
@media (max-width: 980px) {
  .bsec__grid { grid-template-columns: 1fr; gap: 24px; }
  .bfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bfacts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .bfacts > div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 820px) {
  .bsec { padding-top: 56px; }
  .bsec__head { flex-direction: column; align-items: start; gap: 14px; margin-bottom: 24px; }
  .bhero__logo { max-width: 360px; width: 100%; }
  body[data-brand] .cta { margin-top: 64px; }
}

.breseller { display: grid; grid-template-columns: 1fr minmax(260px, 340px); gap: 48px; align-items: center; padding: 36px 40px; background: var(--paper-2); border: 1px solid var(--line-2); }
.breseller > div { display: grid; gap: 14px; justify-items: start; }
.breseller p:not(.label) { color: var(--mute); max-width: 56ch; line-height: 1.65; }
.breseller__card { display: grid; gap: 6px; font-style: normal; font-size: 15px; color: var(--mute); padding-left: 32px; border-left: 1px solid var(--line-2); }
.breseller__card b { font: 400 1.6rem/1.1 var(--ff-display); color: var(--ink); }
.breseller__card a { color: var(--ink); border-bottom: 1px solid var(--line-2); width: fit-content; }
.breseller__card a:hover { color: var(--accent); }
@media (max-width: 820px) { .breseller { grid-template-columns: 1fr; gap: 24px; padding: 26px 22px; } .breseller__card { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line-2); } }

/* sottocategorie nel filtro */
.fsub { list-style: none; margin: 2px 0 10px 12px; padding: 0 0 0 12px; border-left: 1px solid var(--line-2); }
.fsub .fopt { font-size: .93em; }

/* =====================================================================
   PAGINA "RRETH NESH": sezioni con ritmo e carattere propri
   ===================================================================== */
.band { background: var(--paper-2); }
.band--dark { background: var(--ink); color: var(--paper); }
.band--dark .shead { border-bottom-color: rgba(246, 242, 235, .35); }
.band--dark .label { color: #b9b1a3; }
.band--dark .label b { color: #e58a8f; }
.band--dark .h2 em { color: #e58a8f; }
.band--dark .cols4 > div + div::before { background: rgba(246, 242, 235, .16); }
.band--dark .cols4 > div + div { border-top-color: rgba(246, 242, 235, .16); }
.band--dark .cols4 h3 { color: var(--paper); }
.band--dark .cols4 p { color: #b9b1a3; }
.band--dark .link { border-bottom-color: var(--paper); color: var(--paper); }
.band--dark .link:hover { color: #e58a8f; border-bottom-color: #e58a8f; }
.band--tint .bt__tile { border-color: var(--line-2); }
.band--tint .bt__tile:hover { background: var(--paper); }

/* prodotti: celle uguali, titolo/testo/link sempre sulle stesse linee */
.acards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.acards > div { display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 26px; background: var(--card); border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transition: background .3s; }
.acards > div:hover { background: #fff; }
.acards h3 { font: 400 1.45rem/1.2 var(--ff-display); min-height: 2.4em; }
.acards p { flex: 1; font-size: 14.5px; line-height: 1.6; color: var(--mute); }
.acards .link { margin-top: 8px; align-self: flex-start; }
@media (max-width: 980px) { .acards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .acards h3 { min-height: 0; } }
@media (max-width: 560px) { .acards { grid-template-columns: 1fr; } .acards > div { padding: 22px 20px; } }

/* missione, visione, promessa: frasi grandi */
.mcols .mq { font: 400 clamp(1.15rem, 1.35vw, 1.35rem)/1.4 var(--ff-display); letter-spacing: -.005em; color: var(--ink); text-wrap: wrap; }
.mcols > div { gap: 18px; }

/* Rreth nesh: titoli di sezione più contenuti */
main[data-page="rreth-nesh"] .shead .h2 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
main[data-page="rreth-nesh"] .acards h3 { font-size: 1.25rem; }

/* Rreth nesh, introduzione: etichetta, titolo e testo partono dalla stessa linea di base */
.about-intro { padding-top: 72px; padding-bottom: 72px; }
.about-intro .split { grid-template-columns: 220px minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px 56px; align-items: first baseline; }
.about-intro .split .h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.25; max-width: 24ch; }
.split__text { display: grid; gap: 18px; max-width: 58ch; }
.split__text p { font-size: 16px; line-height: 1.7; }
.about-facts { margin-top: 56px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-2); }
.about-facts dd { font-size: 1.5rem; }
.figure img { object-position: center 36%; }
@media (max-width: 980px) { .about-intro .split { grid-template-columns: 1fr; gap: 18px; } .about-intro .split .h3 { max-width: none; } }

/* fascia "Bëhu partner": foto di birra alla spina in tinta rossa, sfumata verso il testo */
.cta { position: relative; isolation: isolate; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url(./img/ph-beer.jpg) 70% 40% / cover no-repeat; mix-blend-mode: luminosity; opacity: .8; -webkit-mask-image: linear-gradient(90deg, transparent 18%, rgba(0,0,0,.55) 48%, #000 85%); mask-image: linear-gradient(90deg, transparent 18%, rgba(0,0,0,.55) 48%, #000 85%); }
.cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(143,29,36,.96) 0%, rgba(143,29,36,.7) 45%, rgba(143,29,36,.1) 100%); }
.cta__in { position: relative; padding-top: 96px; padding-bottom: 96px; }
@media (max-width: 820px) {
  .cta::before { opacity: .35; -webkit-mask-image: none; mask-image: none; }
  .cta::after { background: rgba(143,29,36,.82); }
}


/* pagine legali */
.legal { padding-top: 40px; padding-bottom: 110px; display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 56px; }
.legal__date { padding-top: .5em; }
.legal__body { max-width: 72ch; display: grid; gap: 14px; }
.legal__body h2 { display: flex; align-items: baseline; gap: 16px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-2); font: 400 1.35rem/1.25 var(--ff-display); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h2 span { font: 500 11px/1 var(--mono); letter-spacing: .08em; color: var(--faint); }
.legal__body p { color: var(--mute); font-size: 15.5px; line-height: 1.75; }
.todo { background: #f3e3a8; color: #5b4a00; padding: 1px 6px; border-radius: 2px; font: 500 .9em var(--mono); }
html[lang="en"] [data-l="sq"], html:not([lang="en"]) [data-l="en"] { display: none; }
@media (max-width: 820px) { .legal { grid-template-columns: 1fr; } .legal__date { padding-bottom: 8px; } .legal__body h2 { margin-top: 24px; } }

/* shop: fascia con foto (pagamento, consegna, shumicë) */
.band--photo { position: relative; isolation: isolate; background: #1a1815 url(./img/ph-pour.jpg) 50% 55% / cover no-repeat; }
.band--photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26,24,21,.94) 0%, rgba(26,24,21,.82) 55%, rgba(26,24,21,.68) 100%); }
.perks { padding-top: 84px; padding-bottom: 84px; }
.band--photo .cols4 h3 { font-size: 1.45rem; }
.band--photo .cols4 .label { color: #e58a8f; }

/* fascia con foto: filtro rosso (come la fascia "Bëhu partner") */
.band--photo { background: var(--accent); }
.band--photo::before { background: url(./img/ph-beer.jpg) 60% 45% / cover no-repeat; mix-blend-mode: luminosity; opacity: .75; }
.band--photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(143,29,36,.9) 0%, rgba(143,29,36,.72) 55%, rgba(143,29,36,.5) 100%); }
.band--photo .cols4 .label { color: #f1d3cf; }
.band--photo .cols4 p { color: rgba(246,242,235,.82); }
.band--photo .cols4 > div + div::before { background: rgba(246,242,235,.28); }
.band--photo .link:hover { color: #f1d3cf; border-bottom-color: #f1d3cf; }

/* contatti: pulsanti rapidi e passi successivi */
.quick { display: flex; flex-wrap: wrap; gap: 10px; }
.csteps { display: grid; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.csteps ol { list-style: none; display: grid; gap: 12px; }
.csteps li { display: grid; grid-template-columns: 34px 1fr; align-items: baseline; font-size: 15px; color: var(--mute); }
.csteps li b { font: 500 11.5px/1 var(--mono); color: var(--accent); letter-spacing: .06em; }
.check a { text-decoration: underline; text-underline-offset: 3px; }

.contact-faq { padding-top: 24px; padding-bottom: 110px; }

/* contatti: marchi sotto il titolo delle domande */
.faq-side { display: grid; gap: 48px; align-content: start; }
.faq-brands { display: grid; gap: 16px; max-width: 420px; }
.bmini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bmini .bt__tile { border-color: var(--line); }
.bmini .bt__tile img { filter: grayscale(1) contrast(1.05); opacity: .7; transition: filter .4s, opacity .4s; }
.bmini .bt__tile:hover img { filter: none; opacity: 1; }
.bmini .bt__tile span { font-size: .95rem; padding: 6%; color: var(--mute); }
@media (max-width: 980px) { .bmini { grid-template-columns: repeat(4, minmax(0, 1fr)); } .faq-brands { max-width: none; } .faq-side { gap: 28px; } }
@media (max-width: 480px) { .bmini { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* contatti: griglia di marchi più piccola, 5 per riga */
.faq-brands { max-width: 400px; }
.bmini { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.bmini .bt__tile span { font-size: .62rem; line-height: 1.15; padding: 4%; }
@media (max-width: 980px) { .bmini { grid-template-columns: repeat(6, minmax(0, 1fr)); } .faq-brands { max-width: 520px; } }
@media (max-width: 480px) { .bmini { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Rreth nesh: marchi più piccoli, 7 per riga (7 + 6 con 13 marchi) */
[data-brand-tiles] { --cols: 7; --gx: 16px; gap: 28px var(--gx); }
[data-brand-tiles] .bt__name { font-size: 1.02rem; line-height: 1.25; margin-top: 2px; }
@media (max-width: 1280px) { [data-brand-tiles] { --cols: 5; } }
@media (max-width: 820px) { [data-brand-tiles] { --cols: 3; --gx: 12px; gap: 24px var(--gx); } }
@media (max-width: 480px) { [data-brand-tiles] { --cols: 2; } }

/* pagina Markat: riquadri più bassi (16:10) e logo più piccolo */
#brandGrid .bt__tile { aspect-ratio: 16 / 10; }

/* shop: 5 schede per riga sugli schermi larghi */
@media (min-width: 1600px) { #shopGrid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 48px 20px; } }

/* =====================================================================
   ZONA E PARTNERËVE
   ===================================================================== */
.nav__user { position: relative; display: grid; place-items: center; width: 38px; height: 38px; color: var(--ink); }
.nav__user.is-in::after { content: ''; position: absolute; top: 4px; right: 3px; width: 8px; height: 8px; border-radius: 50%; background: #2f8f5b; border: 2px solid var(--paper); box-sizing: content-box; }
.pside { display: grid; gap: 28px; align-content: start; }
.psteps { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.psteps li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.psteps li b { font: 500 11.5px/1.9 var(--mono); color: var(--accent); letter-spacing: .06em; }
.psteps h3 { font: 400 1.25rem/1.25 var(--ff-display); margin-bottom: 4px; }
.psteps p { font-size: 14.5px; color: var(--mute); }
.pdemo { font-size: 13px; color: var(--mute); padding: 14px 16px; background: var(--paper-2); border-left: 2px solid var(--accent); }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 2px; padding: 36px 40px 40px; }
.ptabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-2); margin-bottom: 28px; }
.ptabs button { padding: 14px 0; font: 500 14.5px/1 var(--sans); color: var(--mute); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .3s, border-color .3s; }
.ptabs button.is-on { color: var(--ink); border-bottom-color: var(--accent); }
.pform { display: grid; gap: 20px; }
.pform[hidden], .pstate[hidden], #pAuth[hidden] { display: none; }
.pform label { display: grid; gap: 8px; font-size: 13.5px; font-weight: 500; }
.pform input:not([type="checkbox"]) { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 2px; background: #fff; font-size: 15px; outline: 0; transition: border-color .3s; }
.pform input:focus { border-color: var(--ink); }
.pform .is-error { border-color: var(--red) !important; }
.pform .check.is-error { color: var(--red); }
.pform .check a { text-decoration: underline; text-underline-offset: 3px; }
.ferr { font-size: 12.5px; font-weight: 400; color: var(--red); line-height: 1.4; }
.pmsg { color: var(--red); font-size: 14px; }
.pnote { font-size: 13px; color: var(--mute); }
.pstate { display: grid; gap: 16px; justify-items: start; padding: 8px 0; }
.pstate p { color: var(--mute); max-width: 46ch; }
.pstate .pform { width: 100%; max-width: 360px; }
.pstate__ic { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--accent); }
.lockbox { display: grid; gap: 16px; justify-items: start; max-width: 560px; padding: 40px; background: var(--card); border: 1px solid var(--line); border-radius: 2px; }
.lockbox p { color: var(--mute); }
.ptools { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.ptoolbar { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 0 12px; }
.ptoolbar .psearch { flex: 1 1 260px; }
.ptoolbar input, .ptoolbar select { height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 2px; background: #fff; font: 400 14.5px var(--sans); outline: 0; width: 100%; }
.ptoolbar select { width: auto; min-width: 180px; }
.ptoolbar input:focus, .ptoolbar select:focus { border-color: var(--ink); }
.pcount { font-size: 13.5px; color: var(--mute); padding-bottom: 14px; }
.pcount b { color: var(--ink); }
.ptable { overflow: auto; max-height: 70vh; border: 1px solid var(--line-2); background: var(--card); }
.ptable table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ptable th { position: sticky; top: 0; z-index: 1; background: var(--paper-2); text-align: left; font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.ptable td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable td b { display: block; font-weight: 600; }
.ptable td span { display: block; font-size: 13px; color: var(--mute); }
.ptable .num { text-align: right; white-space: nowrap; font-variant-numeric: lining-nums; }
.ptable td.num b { display: inline; }
.ptable .is-muted { color: var(--faint); }
.ptable tbody tr:hover { background: #fff; }
.pempty { padding: 28px; text-align: center; color: var(--mute); }
@media (max-width: 820px) {
  .pcard { padding: 24px 20px 28px; }
  .lockbox { padding: 26px 22px; }
  .ptable table, .ptable tbody, .ptable tr, .ptable td { display: block; }
  .ptable thead { display: none; }
  .ptable tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .ptable td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 16px; }
  .ptable td::before { content: attr(data-l); font: 500 11px/1.8 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
  .ptable td:first-child { display: block; padding-bottom: 6px; }
  .ptable td:first-child::before { display: none; }
  .ptable .num { text-align: right; }
}
.nav__right > a.nav__user { padding: 0; color: var(--ink); }

/* pagine marchio: logo dell'intestazione e "altri marchi" più piccoli */
.bhero__logo { max-width: 380px; width: 100%; justify-self: end; }
.brel { --cols: 6; --gx: 16px; gap: 24px var(--gx); }
.brel .bt__name { font-size: 1rem; line-height: 1.25; margin-top: 2px; }
@media (max-width: 1100px) { .brel { --cols: 4; } }
@media (max-width: 820px) { .brel { --cols: 3; --gx: 12px; } .bhero__logo { justify-self: start; } }
@media (max-width: 480px) { .brel { --cols: 2; } }

/* =====================================================================
   LISTINI: pagina riservata ridisegnata
   ===================================================================== */
.lbar { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 22px 28px; background: var(--ink); color: var(--paper); border-radius: 2px; }
.lbar__who { display: flex; align-items: center; gap: 16px; }
.lbar__av { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); font: 400 1.4rem/1 var(--ff-display); }
.lbar__who b { display: block; font: 400 1.35rem/1.2 var(--ff-display); }
.lbar__who span { font: 500 11.5px/1.6 var(--mono); letter-spacing: .05em; color: #b9b1a3; }
.lbar__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13.5px; color: #b9b1a3; }
.lbar__meta b { color: var(--paper); font-weight: 500; }
.lbar__ok { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); }
.lbar__ok i { width: 8px; height: 8px; border-radius: 50%; background: #3fb37a; box-shadow: 0 0 0 4px rgba(63, 179, 122, .2); }
.lbar__act { display: flex; gap: 10px; }
.lbar .btn--dark { background: var(--paper); color: var(--ink); }
.lbar .btn--dark:hover { background: #fff; }
.lbar .btn--line { border-color: rgba(246, 242, 235, .45); color: var(--paper); }
.lbar .btn--line:hover { background: var(--paper); color: var(--ink); }
.lstats { margin-top: 28px; border-top: 1px solid var(--ink); }
.lfilters { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 32px; }
.lfilters .psearch { flex: 0 1 320px; }
.lfilters input { height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 2px; background: #fff; font: 400 14.5px var(--sans); outline: 0; width: 100%; }
.lfilters input:focus { border-color: var(--ink); }
.lfilters .tabs { flex: 1 1 400px; }
.lbrands { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 0 10px; }
.lchip { position: relative; width: 84px; height: 56px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 2px; background: transparent; transition: border-color .25s, background .25s; }
.lchip img { mix-blend-mode: multiply; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.lchip:hover, .lchip.is-on { border-color: var(--ink); background: var(--card); }
.lchip:hover img, .lchip.is-on img { filter: none; opacity: 1; }
.lchip span { position: absolute; inset: 0; display: grid; place-items: center; padding: 4px; font: italic 400 .72rem/1.1 var(--ff-display); color: var(--mute); text-align: center; }
.lgroup { margin-top: 36px; }
.lgroup__h { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.lgroup__h h3 { font: 400 1.6rem/1.1 var(--ff-display); }
.lgroup__h > span:not(.lgroup__logo) { font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.lgroup__h .link { margin-left: auto; font-size: 13.5px; }
.lgroup__logo { position: relative; width: 64px; height: 44px; overflow: hidden; flex: none; }
.lgroup__logo img { mix-blend-mode: multiply; }
.lrow2 { display: grid; grid-template-columns: 64px minmax(0, 1fr) 150px 120px 150px; gap: 20px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); transition: background .25s; }
.lrow2:hover { background: var(--card); }
.lrow2__img { position: relative; width: 64px; height: 64px; background: var(--paper-2); border-radius: 2px; overflow: hidden; }
.lrow2__img img { filter: drop-shadow(0 4px 4px rgba(26, 24, 21, .15)); }
.lrow2__img img.is-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.lrow2__name b { display: block; font: 400 1.2rem/1.25 var(--ff-display); }
.lrow2__name span { display: block; font-size: 13.5px; color: var(--mute); }
.lrow2__fmt { font-size: 14px; color: var(--mute); }
.lrow2__pub { text-align: right; color: var(--faint); font-variant-numeric: lining-nums; }
.lrow2__pub s { text-decoration-color: rgba(154, 146, 134, .7); }
.lrow2__pp { display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-variant-numeric: lining-nums; }
.lrow2__pp b { font: 600 1.05rem/1 var(--sans); }
.lrow2__pp i { font: 500 11.5px/1 var(--mono); font-style: normal; padding: 5px 7px; background: #e6f2ea; color: #1f6b43; border-radius: 2px; }
.lcta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 64px; padding: 36px 40px; background: var(--accent); color: var(--paper); border-radius: 2px; }
.lcta .label { color: rgba(246, 242, 235, .7); margin-bottom: 8px; }
.lcta .h3 { max-width: 28ch; }
@media (max-width: 1100px) { .lbar { grid-template-columns: 1fr; gap: 16px; } .lrow2 { grid-template-columns: 64px minmax(0, 1fr) 110px 140px; } .lrow2__fmt { display: none; } }
@media (max-width: 720px) {
  .lbar { padding: 20px; }
  .lrow2 { grid-template-columns: 56px minmax(0, 1fr); gap: 4px 14px; padding: 14px 0; }
  .lrow2__img { grid-row: span 3; width: 56px; height: 56px; }
  .lrow2__pub, .lrow2__pp { grid-column: 2; display: flex; justify-content: space-between; text-align: left; }
  .lrow2__pub::before, .lrow2__pp::before { content: attr(data-l); font: 500 11px/1.8 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--faint); text-decoration: none; }
  .lrow2__pp { justify-content: flex-start; gap: 10px; }
  .lrow2__pp::before { margin-right: auto; }
  .lgroup__h { flex-wrap: wrap; }
  .lgroup__h .link { margin-left: 0; width: 100%; }
  .lcta { padding: 26px 22px; }
}

/* listini: ricerca e conteggio sulla stessa riga, categorie su una riga scorrevole, poi i marchi */
.lfilters { display: grid; grid-template-columns: minmax(0, 420px) 1fr; align-items: center; gap: 18px 24px; padding-top: 36px; }
.lfilters .psearch { flex: none; }
.lcount { padding: 0; text-align: right; }
.lfilters .tabs { grid-column: 1 / -1; display: flex; flex-wrap: nowrap; gap: 4px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; border-bottom: 1px solid var(--line-2); }
.lfilters .tabs button { flex: none; white-space: nowrap; }
.lbrands { padding-top: 24px; padding-bottom: 6px; }
@media (max-width: 720px) { .lfilters { grid-template-columns: 1fr; } .lcount { text-align: left; } .lchip { width: 76px; height: 52px; } }

/* listini: categorie con immagini, tutto centrato */
.lfilters { padding-bottom: 4px; }
.lfilters .lsub, .lsub { grid-column: 1 / -1; text-align: center; padding-top: 14px; }
.lbrands + .lsub { margin: 0; }
.lcats { grid-column: 1 / -1; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.lcat { flex: 0 0 90px; display: grid; justify-items: center; gap: 4px; padding: 8px 4px 10px; border: 1px solid transparent; border-radius: 2px; text-align: center; transition: border-color .25s, background .25s; }
.lcat__img { position: relative; width: 72px; height: 72px; display: grid; place-items: center; background: var(--paper-2); border-radius: 2px; overflow: hidden; color: var(--mute); transition: background .25s; }
.lcat__img img { filter: drop-shadow(0 3px 3px rgba(26, 24, 21, .15)); }
.lcat__img img.is-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.lcat b { font: 500 12.5px/1.2 var(--sans); color: var(--ink); min-height: 2.4em; display: grid; align-items: center; }
.lcat i { font: 500 10.5px/1 var(--mono); font-style: normal; color: var(--faint); }
.lcat:hover { border-color: var(--line-2); }
.lcat.is-on { border-color: var(--ink); background: var(--card); }
.lcat.is-on .lcat__img { background: #e6dfd2; }
.lcat.is-zero { opacity: .45; }
.lbrands { justify-content: center; padding-top: 10px; }
.lstats + .lfilters { padding-top: 32px; }
.lfilters .psearch { justify-self: start; }
@media (max-width: 720px) { .lcat { flex-basis: calc((100% - 24px) / 4); } .lcat__img { width: 100%; height: 64px; } }

/* listini: categorie in bianco e nero, a colori al passaggio del mouse e se selezionate */
.lcat__img img { filter: grayscale(1) contrast(1.05) drop-shadow(0 3px 3px rgba(26, 24, 21, .15)); opacity: .72; transition: filter .35s, opacity .35s; }
.lcat:hover .lcat__img img, .lcat.is-on .lcat__img img { filter: drop-shadow(0 3px 3px rgba(26, 24, 21, .15)); opacity: 1; }
.lcat__img img.is-photo { filter: grayscale(1) contrast(1.05); }
.lcat:hover .lcat__img img.is-photo, .lcat.is-on .lcat__img img.is-photo { filter: none; }

/* =====================================================================
   HOME: fascia rivenditore, anteprima zona partner, domande
   ===================================================================== */
.band--photo.band--wh::before { background: url(./img/ph-warehouse.jpg) 50% 36% / cover no-repeat; mix-blend-mode: luminosity; opacity: .8; }
.rs { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 72px; align-items: center; padding-top: 104px; padding-bottom: 104px; }
.rs__text { display: grid; gap: 18px; justify-items: start; }
.rs__text .label { color: rgba(246, 242, 235, .75); }
.rs__text .h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.rs__text .h2 em { color: #f1d3cf; }
.rs__text p:not(.label) { max-width: 52ch; color: rgba(246, 242, 235, .88); line-height: 1.7; }
.rs__facts { display: grid; gap: 0; border-top: 1px solid rgba(246, 242, 235, .35); }
.rs__facts > div { display: flex; align-items: baseline; gap: 22px; padding: 22px 0; border-bottom: 1px solid rgba(246, 242, 235, .35); }
.rs__facts dt { flex: 0 0 120px; font: 400 clamp(2rem, 3vw, 2.8rem)/1 var(--ff-display); }
.rs__facts dd { font-size: 14.5px; color: rgba(246, 242, 235, .85); }
.pzwrap { padding-top: 24px; padding-bottom: 110px; }
.pz { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding: 56px; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 2px; }
.pz__text { display: grid; gap: 18px; justify-items: start; }
.pz__text .h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.pz__text p:not(.label) { max-width: 50ch; color: var(--mute); line-height: 1.7; }
.pz__preview { position: relative; background: var(--card); border: 1px solid var(--line-2); border-radius: 2px; overflow: hidden; box-shadow: 0 24px 40px -28px rgba(26, 24, 21, .35); }
.pz__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.pz__bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.pz__bar b { margin-left: 10px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.pz__row { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); font: 400 1.15rem/1.2 var(--ff-display); }
.pz__row i { font: 600 1rem/1 var(--sans); font-style: normal; color: var(--ink); filter: blur(6px); user-select: none; }
.pz__lock { position: absolute; inset: 44px 0 0; display: grid; place-content: center; justify-items: center; gap: 10px; background: linear-gradient(180deg, rgba(251, 249, 245, .25), rgba(251, 249, 245, .85)); color: var(--accent); font: 500 13px/1.3 var(--sans); }
.home-faq { padding-top: 24px; padding-bottom: 110px; }
.home-faq .faq-side { gap: 20px; }
@media (max-width: 980px) {
  .rs, .pz { grid-template-columns: 1fr; gap: 36px; }
  .rs { padding-top: 72px; padding-bottom: 72px; }
  .pz { padding: 32px 24px; }
}
/* anteprima partner: nomi leggibili, prezzi sfocati, lucchetto in fondo */
.pz__lock { position: static; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 20px; background: var(--paper); border-top: 1px solid var(--line); }
.pz__row:nth-child(5) { border-bottom: 0; }

/* fascia rivenditore: testi sempre chiari e leggibili sopra la foto */
.band--wh, .band--wh .rs, .band--wh .rs__text .h2, .band--wh .rs__facts dt { color: var(--paper); }
.band--photo.band--wh::before { opacity: .55; }
.band--photo.band--wh::after { background: linear-gradient(90deg, rgba(143, 29, 36, .95) 0%, rgba(143, 29, 36, .9) 50%, rgba(143, 29, 36, .78) 100%); }
.band--wh .rs__text p:not(.label), .band--wh .rs__facts dd { color: rgba(246, 242, 235, .95); }
.band--wh .rs__text .label { color: rgba(246, 242, 235, .85); }
.band--wh .rs__facts, .band--wh .rs__facts > div { border-color: rgba(246, 242, 235, .4); }
.band--wh .rs__text .h2 em { color: #ffe3df; }
.band--wh .rs__facts { text-shadow: 0 1px 12px rgba(80, 10, 15, .35); }

/* =====================================================================
   HOME: citazione compatta e recensioni
   ===================================================================== */
.qs { padding-top: 24px; padding-bottom: 96px; }
.qs__in { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 72px; align-items: center; padding: 56px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-2); }
.qs__main { position: relative; display: grid; gap: 22px; justify-items: start; padding-left: 8px; }
.qs__mark { position: absolute; left: -6px; top: -36px; font: italic 400 8rem/1 var(--ff-display); color: var(--accent); opacity: .16; pointer-events: none; }
.qs__main blockquote { font: italic 400 clamp(1.7rem, 2.9vw, 2.6rem)/1.25 var(--ff-display); letter-spacing: -.01em; max-width: 24ch; }
.qs__pts { list-style: none; display: grid; gap: 0; border-left: 1px solid var(--line-2); padding-left: 56px; }
.qs__pts li { display: grid; grid-template-columns: 34px 1fr; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font: 400 1.15rem/1.3 var(--ff-display); }
.qs__pts li:last-child { border-bottom: 0; }
.qs__pts b { font: 500 11.5px/1 var(--mono); letter-spacing: .06em; color: var(--accent); }
.reviews { padding-top: 24px; padding-bottom: 96px; }
.rv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rv__card { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 32px 30px 28px; background: var(--card); border: 1px solid var(--line); border-radius: 2px; transition: border-color .3s, transform .5s var(--ease); }
.rv__card:hover { border-color: var(--ink); }
.rv__tag { align-self: flex-start; }
.rv__tag mark { font-size: 11px; }
.rv__card blockquote { flex: 1; font: 400 1.3rem/1.4 var(--ff-display); color: var(--ink); }
.rv__card figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.rv__av { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); color: var(--mute); font: 400 1.1rem/1 var(--ff-display); flex: none; }
.rv__card figcaption b { display: block; font: 600 14.5px/1.3 var(--sans); }
.rv__card figcaption span:not(.rv__av) { display: block; font-size: 13px; color: var(--mute); }
.rv__note { margin-top: 18px; font-size: 13px; color: var(--mute); }
@media (max-width: 980px) {
  .qs__in { grid-template-columns: 1fr; gap: 36px; padding: 40px 0; }
  .qs__pts { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-2); }
  .qs__mark { font-size: 6rem; top: -22px; }
  .rv { grid-template-columns: 1fr; }
}

/* home: proporzioni di bottiglia e sezioni dopo la pulizia */
.feature { min-height: clamp(520px, 78vh, 700px); }
.feature__media img { top: 11%; height: 78%; }
.home-cats { padding-top: 72px; padding-bottom: 8px; }

/* recensioni: scheda con avatar, nome, stelle e data */
.rv__card { gap: 14px; }
.rv__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.rv__head .rv__av { color: #fff; font: 500 1.1rem/1 var(--sans); }
.rv__head b { display: block; font: 600 15px/1.3 var(--sans); }
.rv__head div span { display: block; font-size: 13px; color: var(--mute); }
.rv__head mark { font-size: 11px; align-self: start; }
.rv__meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--mute); }
.rv__stars { display: inline-flex; gap: 2px; color: #e0a526; }
.rv__card blockquote { font: 400 1.18rem/1.5 var(--ff-display); }

/* checkout */
.co { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.co__left { display: grid; gap: 28px; }
.cobox { display: grid; gap: 20px; padding: 32px 36px; background: var(--card); border: 1px solid var(--line); border-radius: 2px; }
.citems { display: grid; }
.citem { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto auto 28px; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.citem:first-child { border-top: 1px solid var(--ink); }
.citem__img { position: relative; width: 72px; height: 72px; background: var(--paper-2); border-radius: 2px; overflow: hidden; }
.citem__img img { filter: drop-shadow(0 4px 4px rgba(26, 24, 21, .15)); }
.citem__img img.is-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.citem__name b { display: block; font: 400 1.2rem/1.25 var(--ff-display); }
.citem__name span { display: block; font-size: 13.5px; color: var(--mute); }
.citem__qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 2px; height: 38px; }
.citem__qty button { width: 34px; height: 100%; font-size: 17px; color: var(--mute); }
.citem__qty button:hover { color: var(--ink); background: var(--paper-2); }
.citem__qty span { min-width: 28px; text-align: center; font: 500 14px var(--mono); }
.citem__price { text-align: right; font: 600 1rem/1.2 var(--sans); min-width: 96px; font-variant-numeric: lining-nums; }
.citem__price small { display: block; font: 400 12px/1.4 var(--sans); color: var(--faint); }
.citem__rm { font-size: 22px; line-height: 1; color: var(--faint); }
.citem__rm:hover { color: var(--red); }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: flex !important; align-items: center; gap: 14px !important; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 2px; background: #fff; cursor: pointer; font-weight: 400 !important; transition: border-color .25s, background .25s; }
.pay-opt input { accent-color: var(--accent); width: 18px; height: 18px; }
.pay-opt.is-on { border-color: var(--ink); background: var(--card); }
.pay-opt b { display: block; font: 600 14.5px/1.3 var(--sans); }
.pay-opt small { display: block; font-size: 13px; color: var(--mute); }
.cosum { position: sticky; top: calc(var(--topbar-h, 34px) + 96px); display: grid; gap: 18px; padding: 28px 28px 30px; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 2px; }
.cosum dl { display: grid; }
.cosum dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.cosum dd { font-variant-numeric: lining-nums; font-weight: 500; text-align: right; }
.cosum__total { font: 600 1.1rem/1.3 var(--sans); border-bottom: 0 !important; padding-top: 18px !important; }
.cdone { display: grid; gap: 22px; justify-items: start; max-width: 720px; padding: 8px 0 40px; }
.cdone > p { color: var(--mute); }
.cdone__rows { list-style: none; width: 100%; border-top: 1px solid var(--ink); }
.cdone__rows li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cdone__tot { font-size: 15px; }
.cdone .psteps { width: 100%; }
@media (max-width: 980px) { .co { grid-template-columns: 1fr; } .cosum { position: static; } }
@media (max-width: 640px) {
  .cobox { padding: 22px 18px; }
  .citem { grid-template-columns: 56px minmax(0, 1fr) 28px; gap: 6px 12px; }
  .citem__img { width: 56px; height: 56px; grid-row: span 2; }
  .citem__qty { grid-column: 2; justify-self: start; }
  .citem__price { grid-column: 2; text-align: left; }
  .citem__rm { grid-row: 1; grid-column: 3; }
}
/* checkout: i pulsanti radio restano piccoli (la regola dei campi di testo non li riguarda) */
.pform .pay-opt input[type="radio"] { width: 18px; height: 18px; flex: none; padding: 0; border: 0; background: none; }
.pay-opt > span { min-width: 0; }

/* footer: pulsante zona partner sotto i contatti, piccola griglia di marchi sotto la descrizione */
.foot__grid a.foot__partner { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 11px 16px; border: 1px solid var(--ink); border-radius: 2px; color: var(--ink); font-weight: 500; transition: background .3s, color .3s; }
.foot__grid a.foot__partner:hover { background: var(--ink); color: var(--paper); }

/* home: categorie con foto, fondo a bande per variare il ritmo */
.home-cats { padding-top: 72px; padding-bottom: 64px; }
.index { gap: 0; border-top: 0; border-bottom: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 20px; }
.index a, .index a + a { padding: 0 0 22px; border: 0; gap: 8px; align-content: start; }
.index a + a { padding-left: 0; }
.index__img { position: relative; aspect-ratio: 1.64; background: var(--paper-2); border-radius: 2px; overflow: hidden; margin-bottom: 8px; transition: background .3s; }
.index__img img { filter: drop-shadow(0 8px 8px rgba(26, 24, 21, .16)); transition: transform .6s var(--ease); }
.index a:hover { background: transparent; }
.index a:hover .index__img { background: #e6dfd2; }
.index a:hover .index__img img { transform: translateY(-4px) scale(1.03); }
.index h3 { font: 400 1.6rem/1.15 var(--ff-display); }
.index p { font-size: 14px; color: var(--mute); }
@media (max-width: 980px) { .index { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
.index a:nth-child(n) { border: 0 !important; padding-left: 0 !important; }

/* home pulita: ritmo verticale uniforme tra le sezioni */
main[data-page="home"] .home-cats { padding-top: 96px; padding-bottom: 96px; }
main[data-page="home"] .band--tint > .wrap { padding-top: 104px !important; padding-bottom: 104px !important; }
main[data-page="home"] .rs { padding-top: 112px; padding-bottom: 112px; }
main[data-page="home"] .pzwrap { padding-top: 104px; padding-bottom: 104px; }

/* =====================================================================
   HOME: nuova hero "mensola" (titolo editoriale, bottiglie, arco bordeaux)
   ===================================================================== */
.hx { position: relative; padding-top: clamp(40px, 6vh, 72px); overflow: hidden; }
.hx__top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px 72px; align-items: end; }
.hx__head { display: grid; gap: 22px; }
.hx__title { font: 300 clamp(3rem, 6.4vw, 6.6rem)/.98 var(--ff-display); letter-spacing: -.035em; }
.hx__title em { font-style: italic; font-weight: 300; color: var(--accent); }
.hx__side { display: grid; gap: 26px; justify-items: start; padding-bottom: 10px; }
.hx__side p { font-size: 17px; line-height: 1.65; color: var(--mute); max-width: 44ch; }
.hx__stage { position: relative; margin-top: clamp(28px, 5vh, 56px); }
.hx__arch { position: absolute; left: 50%; bottom: 74px; width: min(44vw, 720px); height: calc(100% - 74px - 24px); transform: translateX(-50%); background: radial-gradient(120% 90% at 50% 100%, #a3262e 0%, var(--accent) 55%, #761820 100%); border-radius: 999px 999px 0 0; }
.hx__arch::after { content: ''; position: absolute; inset: 16px 16px 0; border: 1px solid rgba(246, 242, 235, .22); border-bottom: 0; border-radius: inherit; }
.lineup { --slot: clamp(140px, 12.5vw, 200px); --gap: 14px; position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.lineup::after { content: ''; position: absolute; left: 0; right: 0; bottom: 74px; height: 1px; background: var(--ink); }
/* il movimento (verso destra, opposto alla striscia dei loghi) e il trascinamento sono in HeroLineup/Track.tsx */
.lineup__track { display: flex; gap: 0 var(--gap); width: max-content; will-change: transform; cursor: grab; user-select: none; -webkit-user-select: none; }
.lineup__track:active { cursor: grabbing; }
.lineup__track img { -webkit-user-drag: none; }
.wx__stage:has(.wx__cycle) { cursor: grab; user-select: none; -webkit-user-select: none; }
.wx__stage:has(.wx__cycle) img { -webkit-user-drag: none; }
.lineup__slot { flex: 0 0 var(--slot); display: grid; grid-template-rows: auto 74px; color: var(--ink); }
.lineup__bottle { position: relative; display: block; aspect-ratio: .5; transition: transform .6s var(--ease); }
.lineup__bottle img { filter: drop-shadow(0 18px 14px rgba(26, 24, 21, .22)); }
.lineup__bottle::after { content: ''; position: absolute; left: 22%; right: 22%; bottom: -5px; height: 10px; border-radius: 50%; background: radial-gradient(closest-side, rgba(26, 24, 21, .28), transparent); }
.lineup__slot:hover .lineup__bottle { transform: translateY(-12px); }
.lineup__cap { display: grid; justify-items: center; align-content: start; gap: 3px; padding-top: 16px; text-align: center; }
.lineup__cap b { font: 400 1.05rem/1.2 var(--ff-display); white-space: nowrap; } /* nome sempre su una riga */
.lineup__cap i { font: 500 10.5px/1 var(--mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.lineup__slot:hover .lineup__cap b { color: var(--accent); }
.hx__facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 8px; border-top: 1px solid var(--line-2); }
.hx__facts li { display: flex; align-items: baseline; gap: 12px; padding: 22px 24px 26px 0; }
.hx__facts li + li { padding-left: 24px; border-left: 1px solid var(--line-2); }
.hx__facts b { font: 400 1.7rem/1 var(--ff-display); white-space: nowrap; }
.hx__facts span { font-size: 13.5px; color: var(--mute); line-height: 1.35; }
@media (max-width: 1100px) {
  .hx__top { grid-template-columns: 1fr; gap: 24px; }
  .hx__arch { width: 62vw; }
  .hx__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx__facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hx__facts li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 720px) {
  .hx__title { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .hx__side p { font-size: 16px; }
  .lineup { --slot: 34vw; --gap: 10px; }
  /* su telefono il carattere segue la larghezza: "Mastri Birrai Umbri" sta in una riga anche a 320px */
  .lineup__cap b { font-size: min(.875rem, 3.6vw); }
  .hx__arch { width: 86vw; }
  .hx__facts li { padding: 16px 12px 18px 0; flex-direction: column; gap: 4px; }
  .hx__facts li + li { padding-left: 12px; }
  .hx__facts b { font-size: 1.4rem; }
}

/* =====================================================================
   PASSATA "ELEGANTE": titoli più contenuti, sezioni più basse, meno peso
   (in fondo al file: vale per tutte le pagine)
   ===================================================================== */
.display { font-size: clamp(2.3rem, 3.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.025em; }
.h2 { font-size: clamp(1.65rem, 2.3vw, 2.25rem); }
.h3 { font-size: clamp(1.3rem, 1.7vw, 1.55rem); }
.lead { font-size: 16.5px; line-height: 1.65; }
.section { padding-top: 88px; padding-bottom: 88px; }
.section--tight { padding-top: 56px; padding-bottom: 56px; }
.shead { padding-bottom: 24px; margin-bottom: 32px; }
.phead { padding-top: 28px; padding-bottom: 28px; }
.phead__grid { margin-top: 14px; gap: 48px; }
.bsec { padding-top: 64px; }
.cta__in { padding-top: 72px !important; padding-bottom: 72px !important; }
.cta .h2 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); }
.figure img { height: clamp(240px, 40vh, 420px); }
.band--tint > .section, .band--dark > .section { padding-top: 80px; padding-bottom: 80px; }
.perks { padding-top: 64px; padding-bottom: 64px; }

/* home */
main[data-page="home"] .home-cats { padding-top: 80px; padding-bottom: 80px; }
main[data-page="home"] .band--tint > .wrap { padding-top: 80px !important; padding-bottom: 88px !important; }
main[data-page="home"] .pzwrap { padding-top: 80px; padding-bottom: 88px; }
.home-cats .index { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-2); }
.home-cats .index a { padding: 26px 28px 30px !important; gap: 10px; }
.home-cats .index a:first-child { padding-left: 0 !important; }
.home-cats .index a + a { border-left: 1px solid var(--line-2) !important; }
.home-cats .index h3 { font: 400 1.45rem/1.15 var(--ff-display); }
.home-cats .index p { font-size: 13.5px; }
.home-cats .index a:hover { background: transparent; }
.home-cats .index a:hover h3 { color: var(--accent); }
.pz { padding: 44px 48px; gap: 56px; }
.pz__row { padding: 14px 18px; font-size: 1.05rem; }

/* pagine marchio */
.bhero__logo { max-width: 300px; }
#produktet .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 18px; }
.bfacts > div { padding-top: 18px; padding-bottom: 18px; }
.bfacts dd { font-size: 1.12rem; }

/* rreth nesh */
.about-intro { padding-top: 56px; padding-bottom: 56px; }
.about-facts { margin-top: 40px; }
.acards > div { padding: 24px 24px 22px; }

/* checkout e aree riservate */
.cobox { padding: 26px 28px; gap: 16px; }
.co__left { gap: 20px; }
.citem { padding: 12px 0; grid-template-columns: 60px minmax(0, 1fr) auto auto 28px; }
.citem__img { width: 60px; height: 60px; }
.pay-opt { padding: 12px 16px; }
.pcard { padding: 30px 34px 34px; }
.psteps li { padding: 16px 0; }
.lbar { padding: 18px 24px; }
.lcta { margin-top: 48px; padding: 28px 32px; }

@media (max-width: 1100px) { #produktet .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .home-cats .index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-cats .index a:nth-child(3) { padding-left: 0 !important; border-left: 0 !important; }
  .home-cats .index a:nth-child(n+3) { border-top: 1px solid var(--line-2) !important; }
}
@media (max-width: 820px) {
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section--tight { padding-top: 44px; padding-bottom: 44px; }
  .bsec { padding-top: 48px; }
  .cta__in { padding-top: 56px !important; padding-bottom: 56px !important; }
  #produktet .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pz { padding: 28px 22px; }
}
@media (max-width: 640px) { .citem { grid-template-columns: 56px minmax(0, 1fr) 28px; } }
.hx__title { font-size: clamp(2.7rem, 5.3vw, 5.4rem); }

/* pagina 404 */
.nf { display: grid; gap: 22px; justify-items: start; min-height: 56vh; align-content: center; }

/* scheda prodotto più compatta */
.pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding-top: 32px; padding-bottom: 64px; }
.pdp__media { aspect-ratio: 1 / 1; max-height: min(560px, calc(100vh - 160px)); }
.pdp__title { font-size: clamp(2.1rem, 3vw, 2.9rem); }
.pdp__info { gap: 20px; }
.pdp__info > .link { justify-self: start; }
@media (max-width: 820px) { .pdp__media { position: relative; top: 0; max-height: 420px; } }

/* scheda prodotto su tablet e telefono: una colonna, immagine a tutta larghezza */
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 28px; padding-top: 16px; padding-bottom: 48px; }
  .pdp__media { position: relative; top: 0; width: 100%; aspect-ratio: 1 / 1; max-height: 440px; }
  .pdp__info { gap: 18px; }
  .pdp__title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .pdp__buy { grid-template-columns: auto minmax(0, 1fr); }
  .pdp__buy .btn { width: 100%; justify-content: center; }
  .spec div { grid-template-columns: 110px minmax(0, 1fr); }
}

/* header mobile pulito: logo a sinistra, carrello e menu a destra; lingua e area partner dentro il menu */
@media (max-width: 820px) {
  .nav__in { height: 60px; }
  .nav__logo img { height: 30px; }
  .nav__right { gap: 4px; }
  .nav__right > .lang, .nav__right > a.nav__user { display: none !important; }
  .nav__cart, .nav__burger { width: 42px; height: 42px; }
  .nav__count { top: 3px; right: 1px; }
  .menu { padding-top: 120px; display: none; flex-direction: column; }
  .menu-open .menu { display: flex; }
  .menu a { font-size: 1.75rem; }
  .menu__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 28px; }
  .menu__foot .lang { font-size: 14px; gap: 10px; }
  .menu__foot a.menu__tel { display: inline; border: 0; padding: 0; font: 500 14px/1 var(--sans); color: var(--mute); }
}
@media (min-width: 821px) { .menu__foot { display: none; } }

/* footer a tendina su telefono (Faqet, Shop, Ligjore); i contatti restano sempre aperti */
@media (min-width: 821px) { .fcol > h4 { cursor: default; } }
@media (max-width: 820px) {
  .foot__grid { grid-template-columns: 1fr !important; gap: 0 !important; padding-top: 44px !important; }
  .foot__brand { padding-bottom: 28px; }
  .foot__grid > .fcol { gap: 0; border-top: 1px solid var(--line-2); }
  .fcol > h4 { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 18px 0; cursor: pointer; color: var(--ink); font-size: 12px; }
  .fcol > h4::after { content: '+'; font: 400 18px/1 var(--sans); color: var(--mute); transition: transform .6s var(--ease); }
  .fcol.is-open > h4::after { transform: rotate(45deg); }
  /* i link restano visibili durante l'animazione di chiusura (is-shown la toglie alla fine) */
  .fcol > .fcol__body { display: none; gap: 0; }
  .fcol.is-shown > .fcol__body { display: grid; }
  .fcol__body > a { display: block; padding: 6px 0; }
  .fcol__body > a:last-child { padding-bottom: 18px; }
  .foot__grid > div:last-child { gap: 10px; padding-top: 22px; border-top: 1px solid var(--line-2); }
  .foot__grid > div:last-child h4 { margin-bottom: 6px; }
}

/* fascia scura "Vlerësojmë lidhjet": foto della birra alla spina sotto un velo scuro, più visibile a destra */
.band--beer { position: relative; isolation: isolate; overflow: hidden; }
.band--beer::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url(./img/ph-beer.jpg) 62% 38% / cover no-repeat; filter: saturate(.85); }
.band--beer::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26, 24, 21, .94) 0%, rgba(26, 24, 21, .8) 40%, rgba(26, 24, 21, .42) 100%); }
.band--beer .cols4 > div + div::before { background: rgba(246, 242, 235, .22); }
.band--beer .cols4 p { color: rgba(246, 242, 235, .82); }
@media (max-width: 820px) { .band--beer::after { background: rgba(26, 24, 21, .88); } }

/* "Vlerësojmë lidhjet": foto della birra con filtro rosso (come le altre fasce) */
.band--beer.band--dark { background: var(--accent); }
.band--beer::before { filter: none; mix-blend-mode: luminosity; opacity: .78; }
.band--beer::after { background: linear-gradient(90deg, rgba(143, 29, 36, .94) 0%, rgba(143, 29, 36, .8) 45%, rgba(143, 29, 36, .5) 100%); }
.band--beer .label { color: rgba(246, 242, 235, .8); }
.band--beer .label b, .band--beer .h2 em { color: #ffe3df; }
.band--beer .cols4 p { color: rgba(246, 242, 235, .9); }
.band--beer .cols4 > div + div::before { background: rgba(246, 242, 235, .32); }
.band--beer .shead { border-bottom-color: rgba(246, 242, 235, .4); }
@media (max-width: 820px) { .band--beer::after { background: rgba(143, 29, 36, .84); } }

/* "Vlerësojmë lidhjet": rosso più scuro e meno intenso, testi ad alto contrasto */
.band--beer.band--dark { background: #5a0f15; }
.band--beer::before { opacity: .42; }
.band--beer::after { background: linear-gradient(90deg, rgba(74, 12, 18, .96) 0%, rgba(86, 14, 20, .9) 50%, rgba(96, 16, 23, .78) 100%); }
.band--beer .h2, .band--beer .cols4 h3 { color: #fff; }
.band--beer .cols4 p { color: #f6f2eb; font-weight: 450; }
.band--beer .label { color: rgba(246, 242, 235, .92); }
.band--beer .cols4 > div + div::before { background: rgba(246, 242, 235, .28); }
@media (max-width: 820px) { .band--beer::after { background: rgba(74, 12, 18, .92); } }

/* "Vlerësojmë lidhjet": via di mezzo, stesso bordeaux (#8f1d24) delle altre fasce, foto visibile e testi leggibili */
.band--beer.band--dark { background: var(--accent); }
.band--beer::before { opacity: .6; }
.band--beer::after { background: linear-gradient(90deg, rgba(120, 21, 28, .95) 0%, rgba(128, 23, 30, .84) 48%, rgba(143, 29, 36, .6) 100%); }
@media (max-width: 820px) { .band--beer::after { background: rgba(122, 21, 28, .86); } }

/* riepilogo ordine: righe, totale, pulsante e rassicurazioni */
.cosum { padding: 24px 24px 26px; gap: 16px; }
.cosum__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.cosum__n { font: 500 12px/1 var(--mono); letter-spacing: .05em; color: var(--mute); }
.cosum__lines { list-style: none; display: grid; gap: 10px; max-height: 220px; overflow-y: auto; padding-right: 4px; }
.cosum__lines li { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; line-height: 1.4; color: var(--mute); }
.cosum__lines li b { color: var(--ink); font-weight: 500; white-space: nowrap; font-variant-numeric: lining-nums; }
.cosum dl > div { padding: 10px 0; font-size: 14px; }
.cosum__total { font: 600 1.15rem/1.3 var(--sans); }
.cosum__total dd { font-size: 1.15rem; }
.cosum__btn { width: 100%; justify-content: center; margin-top: 4px; }
.cosum__trust { list-style: none; display: grid; gap: 8px; padding-top: 4px; }
.cosum__trust li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--mute); }
.cosum__trust svg { color: var(--accent); flex: none; }
.cosum__trust b { display: inline-grid; place-items: center; min-width: 22px; height: 16px; padding: 0 3px; border: 1px solid var(--accent); border-radius: 2px; font: 600 10px/1 var(--sans); color: var(--accent); }
.cosum .pnote { padding-top: 12px; border-top: 1px solid var(--line-2); }
.cosum .link { justify-self: start; font-size: 14px; }
@media (max-width: 980px) { .cosum__lines { max-height: none; } }

/* header tra tablet e desktop piccolo: voci più vicine perché ci stanno tutte */
@media (min-width: 821px) and (max-width: 1100px) {
  .nav__left { gap: 20px; }
  .nav__right { gap: 12px; }
  .nav__left, .nav__right { font-size: 13.5px; }
  .nav__logo img { height: 34px; }
}

/* =====================================================================
   HOME (parte bassa): parete di loghi + fascia per le aziende
   ===================================================================== */
.bw { padding-top: 96px; padding-bottom: 96px; }
.bw__head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 40px; }
.bw__head > div { display: grid; gap: 16px; }
.bw__head > p { color: var(--mute); font-size: 15.5px; line-height: 1.65; max-width: 40ch; justify-self: end; }
.bw__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line-2); }
.bw__cell { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transition: background .35s; }
.bw__cell img { mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.bw__cell:hover { background: var(--card); }
.bw__cell:hover img { transform: translateY(-6px); }
.bw__word { position: absolute; inset: 0; display: grid; place-items: center; padding: 10%; font: italic 400 1.05rem/1.2 var(--ff-display); color: var(--accent); text-align: center; }
.bw__name { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font: 500 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.bw__cell:hover .bw__name { opacity: 1; transform: none; }
.bw__all { display: grid; place-content: center; justify-items: center; gap: 8px; background: var(--ink); color: var(--paper); }
.bw__all span { font: 400 1.15rem/1.2 var(--ff-display); }
.bw__all i { font-style: normal; transition: transform .3s var(--ease); }
.bw__all:hover { background: var(--accent); }
.bw__all:hover i { transform: translateX(4px); }

.biz { position: relative; isolation: isolate; overflow: hidden; background: var(--accent); color: var(--paper); }
.biz > .sec-bg { position: absolute; inset: 0; z-index: -2;  mix-blend-mode: luminosity; opacity: .6; }
.biz::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(120, 21, 28, .95) 0%, rgba(128, 23, 30, .86) 50%, rgba(143, 29, 36, .62) 100%); }
.biz__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.biz__text { display: grid; gap: 24px; justify-items: start; }
.biz .label { color: rgba(246, 242, 235, .85); }
.biz .label b, .biz .h2 em { color: #ffe3df; }
.biz .h2 { color: #fff; max-width: 20ch; }
.biz__steps { list-style: none; display: grid; width: 100%; max-width: 520px; border-top: 1px solid rgba(246, 242, 235, .35); }
.biz__steps li { display: grid; grid-template-columns: 40px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(246, 242, 235, .25); font-size: 15.5px; color: #f6f2eb; }
.biz__steps b { font: 500 11.5px/1 var(--mono); letter-spacing: .06em; color: #ffe3df; }
.biz__tel { font-size: 14px; color: rgba(246, 242, 235, .85); }
.biz__tel a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.biz__card { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
main[data-page="home"] .cta { display: none; }
@media (max-width: 1100px) {
  .bw__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .bw__head { grid-template-columns: 1fr; }
  .bw__head > p { justify-self: start; }
  .biz__in { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 640px) {
  .bw { padding-top: 56px; padding-bottom: 56px; }
  .bw__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bw__name { display: none; }
  .biz::after { background: rgba(122, 21, 28, .88); }
}
.biz__card { color: var(--ink); }

/* home: per chi lavoriamo */
.seg { padding-top: 88px; padding-bottom: 32px; }
.seg__cols { border-top: 1px solid var(--ink); padding-top: 28px; }
.seg__cols h3 { min-height: 0; font-size: 1.4rem; }
.seg__cols p { flex: 1; }
.seg__cols > div { display: flex; flex-direction: column; gap: 12px; }
.seg__cols .link { align-self: flex-start; margin-top: 6px; font-size: 14px; }
main[data-page="home"] .bw { padding-top: 72px; }

/* parete dei loghi: l'ultima casella è un rimando discreto, non un blocco nero */
.bw__all { background: transparent; color: var(--ink); gap: 10px; }
.bw__all span { font: italic 400 1.2rem/1.2 var(--ff-display); }
.bw__all i { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--accent); }
.bw__all:hover { background: var(--card); color: var(--accent); }
.bw__all:hover i { border-color: var(--accent); background: var(--accent); color: var(--paper); }
@media (max-width: 640px) { .seg { padding-top: 56px; } }

/* home: categorie più vicine alla fascia beige "Për kë punojmë" */
main[data-page="home"] .home-cats { padding-bottom: 48px; }
.seg-band .seg { padding-top: 72px; padding-bottom: 80px; }
.seg-band .seg__cols > div + div::before { background: var(--line-2); }
@media (max-width: 640px) { .seg-band .seg { padding-top: 52px; padding-bottom: 56px; } }

/* home: categorie su 5 colonne; la cifra "90" della hero con lo stesso carattere delle altre */
.home-cats .index { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hx__facts b span { font: inherit; color: inherit; letter-spacing: inherit; }

/* home: carta dei vini */
.wl { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.wl__shelf { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 6px; padding: 48px 32px 0; background: var(--paper-2); border-radius: 2px; }
.wl__shelf::after { content: ''; position: absolute; left: 32px; right: 32px; bottom: 0; height: 1px; background: var(--ink); }
.wl__bottle { position: relative; display: block; aspect-ratio: .42; }
.wl__bottle img { filter: drop-shadow(0 16px 12px rgba(26, 24, 21, .2)); }
.wl__body { display: grid; gap: 20px; justify-items: start; }
.wl__lead { color: var(--mute); font-size: 15.5px; line-height: 1.65; max-width: 52ch; }
.wl__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; width: 100%; border-top: 1px solid var(--ink); }
.wl__list ul { list-style: none; }
.wl__list a { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.wl__list span { font: 400 1.08rem/1.3 var(--ff-display); }
.wl__list i { flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); }
.wl__list b { font: 500 13px/1 var(--mono); color: var(--mute); white-space: nowrap; font-variant-numeric: lining-nums; }
.wl__list a:hover span, .wl__list a:hover b { color: var(--accent); }
@media (max-width: 1100px) { .home-cats .index { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .wl { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; padding-bottom: 64px; }
  .wl__shelf { max-width: 420px; }
  .home-cats .index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) { .wl__list { grid-template-columns: 1fr; } }
/* categorie a 3 e 2 colonne: inizio riga senza bordo a sinistra, righe successive con linea sopra */
@media (min-width: 981px) and (max-width: 1100px) {
  .home-cats .index a:nth-child(4) { padding-left: 0 !important; border-left: 0 !important; }
  .home-cats .index a:nth-child(n+4) { border-top: 1px solid var(--line-2) !important; }
}
@media (max-width: 980px) {
  .home-cats .index a:nth-child(5) { padding-left: 0 !important; border-left: 0 !important; }
  .home-cats .index a:nth-child(n+3) { border-top: 1px solid var(--line-2) !important; }
}

/* carta dei vini: bottiglie intrecciate, una più in alto e una più in basso, leggermente sovrapposte */
.wl__shelf { display: flex; justify-content: center; align-items: center; gap: 0; padding: 72px 20px; overflow: hidden; }
.wl__shelf::after { content: none; }
.wl__bottle { position: relative; display: block; flex: 0 0 17%; aspect-ratio: .34; margin: 0 -2.6%; transition: transform .6s var(--ease); }
.wl__bottle:nth-child(odd) { transform: translateY(-13%); z-index: 2; }
.wl__bottle:nth-child(even) { transform: translateY(13%); z-index: 1; }
.wl__bottle:nth-child(odd):hover { transform: translateY(-17%); }
.wl__bottle:nth-child(even):hover { transform: translateY(9%); }
.wl__bottle img { filter: drop-shadow(0 14px 12px rgba(26, 24, 21, .24)); }
@media (max-width: 980px) { .wl__shelf { max-width: 520px; padding: 56px 16px; } }
.wl__bottle { flex-basis: 19.5%; margin: 0 -3.2%; }
.wl__shelf { padding: 64px 12px; }

/* =====================================================================
   HOME: sezione vini (testo · bottiglie incrociate · schede con frecce)
   ===================================================================== */
.wx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.wx__text { display: grid; gap: 22px; justify-items: start; }
.wx__title { font: 300 clamp(2.2rem, 3.4vw, 3.4rem)/1.05 var(--ff-display); letter-spacing: -.025em; }
.wx__title em { font-style: italic; color: var(--accent); }
.wx__text > p:not(.label):not(.wx__count) { color: var(--mute); font-size: 15.5px; line-height: 1.65; max-width: 40ch; }
.wx__text .hero__actions { align-items: center; gap: 22px; }
.wx__count { display: flex; align-items: baseline; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--mute); }
.wx__count b { font: 400 2rem/1 var(--ff-display); color: var(--ink); }
.wx__stage { position: relative; height: clamp(380px, 46vw, 560px); }
.wx__disc { position: absolute; left: 50%; top: 50%; width: 78%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 50% 45%, #f1e8dc 0%, var(--paper-2) 62%, transparent 63%); }
.wx__disc::after { content: ''; position: absolute; inset: 7%; border: 1px solid rgba(143, 29, 36, .18); border-radius: 50%; }
.wx__bottle { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: .3; transition: transform .7s var(--ease); }
.wx__bottle img { filter: drop-shadow(0 22px 18px rgba(26, 24, 21, .28)); }
.wx__bottle--up { transform: translate(-72%, -52%) rotate(-24deg); z-index: 2; }
.wx__bottle--down { transform: translate(-28%, -48%) rotate(204deg); z-index: 1; }
.wx__stage:hover .wx__bottle--up { transform: translate(-76%, -55%) rotate(-27deg); }
.wx__stage:hover .wx__bottle--down { transform: translate(-24%, -45%) rotate(207deg); }
.wx__rail { display: grid; gap: 18px; }
.wx__list { display: grid; border-top: 1px solid var(--ink); }
.wx__item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.wx__item[hidden] { display: none; }
.wx__img { position: relative; width: 84px; height: 104px; background: var(--paper-2); border-radius: 2px; overflow: hidden; }
.wx__img img { filter: drop-shadow(0 6px 6px rgba(26, 24, 21, .18)); transition: transform .5s var(--ease); }
.wx__item:hover .wx__img img { transform: translateY(-4px); }
.wx__txt { display: grid; gap: 4px; }
.wx__txt b { font: 400 1.25rem/1.2 var(--ff-display); }
.wx__txt small { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.wx__txt em { font: 600 15px/1.2 var(--sans); font-style: normal; color: var(--accent); font-variant-numeric: lining-nums; }
.wx__item:hover .wx__txt b { color: var(--accent); }
.wx__nav { display: flex; align-items: center; justify-content: space-between; }
.wx__btn { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; font-size: 15px; transition: background .3s, color .3s, border-color .3s; }
.wx__btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.wx__dots { display: flex; gap: 6px; }
.wx__dots i { width: 14px; height: 2px; background: var(--line-2); cursor: pointer; transition: width .3s, background .3s; }
.wx__dots i.is-on { width: 28px; background: var(--accent); }
@media (max-width: 1100px) {
  .wx { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .wx__rail { grid-column: 1 / -1; }
  .wx__list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
}
@media (max-width: 720px) {
  .wx { grid-template-columns: 1fr; gap: 28px; padding-top: 52px; padding-bottom: 60px; }
  .wx__stage { height: 380px; }
  .wx__list { grid-template-columns: 1fr; }
}

/* vini: due bottiglie distese in diagonale, una davanti all'altra (riferimento) */
.wx__stage--lay { height: clamp(360px, 40vw, 520px); }
.wx__lay { position: absolute; left: 50%; top: 50%; width: 27%; aspect-ratio: .3; transition: transform .7s var(--ease); }
.wx__lay img { filter: drop-shadow(18px 26px 22px rgba(26, 24, 21, .26)); }
.wx__lay--back { transform: translate(-82%, -66%) rotate(-58deg); z-index: 1; }
.wx__lay--front { transform: translate(-22%, -36%) rotate(-58deg); z-index: 2; }
.wx__stage--lay:hover .wx__lay--back { transform: translate(-86%, -70%) rotate(-60deg); }
.wx__stage--lay:hover .wx__lay--front { transform: translate(-18%, -32%) rotate(-56deg); }

/* pije alkoolike: bottiglia grande al centro */
.wx--spirits { padding-top: 88px; }
.wx__solo { position: absolute; left: 50%; top: 50%; height: 92%; aspect-ratio: .34; transform: translate(-50%, -50%); transition: transform .7s var(--ease); }
.wx__solo img { filter: drop-shadow(0 26px 20px rgba(26, 24, 21, .3)); }
.wx__stage:hover .wx__solo { transform: translate(-50%, -52%); }
/* schede raggruppate (una per linea): freccia a destra, niente prezzo */
.wx__nav[hidden] { display: none; }
.wx__item--group { grid-template-columns: 84px minmax(0, 1fr) auto; }
.wx__item--group .wx__txt { gap: 7px; }
.wx__go { font-size: 17px; color: var(--faint); transition: transform .4s var(--ease), color .3s; }
.wx__item--group:hover .wx__go { transform: translateX(5px); color: var(--accent); }
/* bottiglia grande che cambia da sola: dissolvenza con una leggera salita */
.wx__cycle { position: absolute; inset: 0; }
.wx__slide { opacity: 0; visibility: hidden; transform: translate(-50%, -46%); transition: opacity .8s var(--ease), transform .9s var(--ease), visibility 0s .8s; }
.wx__slide.is-on { opacity: 1; visibility: visible; transform: translate(-50%, -50%); transition: opacity .8s var(--ease), transform .9s var(--ease), visibility 0s; }
.wx__stage:hover .wx__slide.is-on { transform: translate(-50%, -52%); }
@media (max-width: 720px) { .wx__stage--lay { height: 320px; } .wx__lay { width: 30%; } }

/* home: striscia dei marchi (circa 90 px) */
.bstrip { padding-top: 40px; padding-bottom: 40px; }
.bstrip__row { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)) auto; align-items: center; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.bstrip__logo { position: relative; aspect-ratio: 1.1; overflow: hidden; }
.bstrip__logo img { mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05); opacity: .62; transition: filter .35s, opacity .35s, transform .5s var(--ease); }
.bstrip__logo:hover img { filter: none; opacity: 1; transform: translateY(-3px); }
.bstrip__logo span { position: absolute; inset: 0; display: grid; place-items: center; padding: 6px; font: italic 400 .82rem/1.1 var(--ff-display); color: var(--mute); text-align: center; transition: color .3s; }
.bstrip__logo:hover span { color: var(--accent); }
.bstrip__all { display: flex; align-items: center; gap: 10px; padding-left: 24px; margin-left: 8px; border-left: 1px solid var(--line-2); height: 48px; white-space: nowrap; font: italic 400 1.05rem/1 var(--ff-display); color: var(--ink); }
.bstrip__all i { font-style: normal; color: var(--accent); transition: transform .3s var(--ease); }
.bstrip__all:hover { color: var(--accent); }
.bstrip__all:hover i { transform: translateX(4px); }
@media (max-width: 1100px) {
  .bstrip__row { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .bstrip__row::-webkit-scrollbar { display: none; }
  .bstrip__logo { flex: 0 0 96px; scroll-snap-align: start; }
  .bstrip__all { flex: none; padding-right: 8px; }
}
@media (max-width: 640px) { .bstrip { padding-top: 28px; padding-bottom: 28px; } .bstrip__logo { flex-basis: 84px; } }

/* ---------- striscia dei loghi in scorrimento continuo (marquee) ---------- */
.bstrip__row--marquee { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.bstrip__viewport {
  min-width: 0; overflow: hidden;
  /* bordi sfumati: i loghi entrano ed escono senza taglio netto */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
/* i loghi usano mix-blend-mode: multiply per far sparire il loro fondo bianco; il nastro animato e la maschera
   creano un gruppo a parte, quindi il nastro deve avere lo stesso colore della fascia che lo contiene,
   altrimenti il bianco dei loghi resta visibile (--bstrip-bg: colore della pagina o della fascia colorata) */
.bstrip { --bstrip-bg: var(--paper); }
.band .bstrip { --bstrip-bg: var(--paper-2); }
.bstrip__track { display: flex; width: max-content; background: var(--bstrip-bg); animation: bstrip-slide calc(var(--n, 13) * 2.8s) linear infinite; }
.bstrip__group { display: flex; flex: none; }
.bstrip__row--marquee .bstrip__logo { flex: 0 0 128px; }
/* pausa con il mouse sopra o con un logo selezionato da tastiera */
.bstrip__viewport:hover .bstrip__track, .bstrip__viewport:focus-within .bstrip__track { animation-play-state: paused; }
.bstrip__row--marquee .bstrip__logo:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
@keyframes bstrip-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 1100px) {
  .bstrip__row--marquee { display: grid; overflow: visible; scroll-snap-type: none; }
  .bstrip__row--marquee .bstrip__logo { flex: 0 0 104px; }
}
@media (max-width: 640px) {
  .bstrip__row--marquee { grid-template-columns: minmax(0, 1fr); }
  .bstrip__row--marquee .bstrip__logo { flex-basis: 88px; }
  .bstrip__row--marquee .bstrip__all { justify-self: end; height: 44px; margin: 0; padding: 0 2px; border-left: 0; }
  .bstrip__track { animation-duration: calc(var(--n, 13) * 2.3s); }
}
/* meno animazioni: striscia ferma come prima, scorrevole a mano, senza la copia */
@media (prefers-reduced-motion: reduce) {
  .bstrip__track { animation: none; }
  .bstrip__group[aria-hidden] { display: none; }
  .bstrip__viewport { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
  .bstrip__viewport::-webkit-scrollbar { display: none; }
}

/* vini: stessa idea dei liquori ma con layout diverso
   bottiglie a sinistra su un piano beige, testo a destra, schede in orizzontale sotto il testo */
.wx--wine { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "stage text" "stage rail"; gap: 36px 64px; align-items: stretch; }
.wx--wine .wx__stage { grid-area: stage; height: auto; min-height: 560px; background: var(--paper-2); border-radius: 2px; overflow: hidden; }
.wx--wine .wx__text { grid-area: text; align-self: end; }
.wx--wine .wx__rail { grid-area: rail; align-self: start; }
.wx--wine .wx__lay { width: 24%; }
.wx--wine .wx__list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; border-top: 0; }
.wx--wine .wx__item { grid-template-columns: 1fr; gap: 12px; padding: 0 0 4px; border-bottom: 0; }
.wx--wine .wx__img { width: 100%; height: auto; aspect-ratio: .62; }
.wx--wine .wx__txt b { font-size: 1.08rem; }
.wx--wine .wx__nav { padding-top: 14px; border-top: 1px solid var(--line-2); }
@media (max-width: 980px) {
  .wx--wine { grid-template-columns: 1fr; grid-template-areas: "text" "stage" "rail"; }
  .wx--wine .wx__stage { min-height: 380px; }
}
@media (max-width: 520px) { .wx--wine .wx__list { column-gap: 10px; } .wx--wine .wx__txt b { font-size: .95rem; } }
.wx--wine .wx__img { aspect-ratio: .82; }
.wx--wine .wx__text { gap: 18px; }
.wx--wine .wx__count { padding-top: 14px; }
.wx--wine .wx__stage { min-height: 0; }
.wx--wine .wx__lay { width: 26%; }
.wx--wine .wx__lay--back { transform: translate(-66%, -64%) rotate(-58deg); }
.wx--wine .wx__lay--front { transform: translate(-8%, -34%) rotate(-58deg); }
.wx--wine .wx__stage:hover .wx__lay--back { transform: translate(-70%, -68%) rotate(-60deg); }
.wx--wine .wx__stage:hover .wx__lay--front { transform: translate(-4%, -30%) rotate(-56deg); }
.wx--wine .wx__lay { width: 23%; }
.wx--wine .wx__lay--back { transform: translate(-80%, -64%) rotate(-58deg); }
.wx--wine .wx__lay--front { transform: translate(-22%, -34%) rotate(-58deg); }
.wx--wine .wx__stage:hover .wx__lay--back { transform: translate(-84%, -68%) rotate(-60deg); }
.wx--wine .wx__stage:hover .wx__lay--front { transform: translate(-18%, -30%) rotate(-56deg); }
@media (max-width: 980px) { .wx--wine .wx__stage { height: 380px; } }
@media (max-width: 520px) { .wx--wine .wx__stage { height: 320px; } .wx--wine .wx__lay { width: 28%; } }
/* ===== MOCKUP VINI (mockup-vini.html) ===== */
.mk-note { margin-top: 120px; padding: 14px 18px; background: #fff6d6; border: 1px solid #ecd98a; font-size: 13.5px; }
.mk-tag { margin-top: 56px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* A: griglia, bottiglie distese in diagonale come nella foto */
.va { padding-top: 32px; padding-bottom: 88px; }
.va__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 44px; }
.va__head > div:first-child { display: grid; gap: 20px; }
.va__side { display: grid; gap: 22px; justify-items: start; }
.va__side > p { color: var(--mute); font-size: 15.5px; line-height: 1.65; max-width: 46ch; }
.va__side .hero__actions { align-items: center; gap: 22px; }
.va__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 28px 14px; }
.va__item { display: grid; gap: 12px; }
.va__shot { position: relative; aspect-ratio: 1; background: var(--paper-2); border-radius: 2px; overflow: hidden; filter: drop-shadow(0 0 0 transparent); }
.va__b { position: absolute; left: 50%; top: 50%; width: 24%; aspect-ratio: .3; transform: translate(-50%, -50%) rotate(-56deg); transition: transform .6s var(--ease); }
.va__b img { filter: drop-shadow(14px 6px 8px rgba(26, 24, 21, .22)); }
.va__item:nth-child(even) .va__b { transform: translate(-50%, -50%) rotate(-62deg); }
.va__item:hover .va__b { transform: translate(-50%, -54%) rotate(-50deg); }
.va__txt { display: grid; gap: 4px; }
.va__txt b { font: 400 1.05rem/1.2 var(--ff-display); }
.va__txt em { font: 600 13.5px/1 var(--sans); font-style: normal; color: var(--accent); font-variant-numeric: lining-nums; }
.va__item:hover .va__txt b { color: var(--accent); }
@media (max-width: 1100px) { .va__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .va__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
  .va__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
}

/* B: fascia scura bordeaux, tutte le bottiglie distese una accanto all'altra su un "tavolo", scorrimento laterale */
.vb { margin-top: 24px; background: #2a1517; color: #f6efe6; }
.vb__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 40px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.vb__text { display: grid; gap: 20px; justify-items: start; }
.vb .label, .vb .label b { color: rgba(246, 239, 230, .7); }
.vb .wx__title { color: #f6efe6; }
.vb .wx__title em { color: #e8a0a0; }
.vb__text > p:not(.label) { color: rgba(246, 239, 230, .72); font-size: 15.5px; line-height: 1.65; max-width: 40ch; }
.vb__now { display: grid; gap: 6px; width: 100%; padding: 18px 0; border-top: 1px solid rgba(246, 239, 230, .2); border-bottom: 1px solid rgba(246, 239, 230, .2); }
.vb__now small { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(246, 239, 230, .55); }
.vb__now b { font: 400 1.6rem/1.15 var(--ff-display); }
.vb__now em { font: 600 15px/1 var(--sans); font-style: normal; color: #e8a0a0; }
.vb .hero__actions { align-items: center; gap: 20px; }
.vb .btn--light { background: #f6efe6; color: #2a1517; }
.vb__nav { display: flex; gap: 8px; }
.vb .wx__btn { border-color: rgba(246, 239, 230, .3); color: #f6efe6; }
.vb .wx__btn:hover { background: #f6efe6; color: #2a1517; }
/* overflow-y hidden: le bottiglie inclinate sono più alte della fila; senza, su telefono la fila scorreva anche in verticale */
.vb__table { display: flex; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; padding: 30px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 90%, transparent); }
.vb__table::-webkit-scrollbar { display: none; }
.vb__item { position: relative; flex: 0 0 150px; height: 340px; margin-right: -40px; scroll-snap-align: center; }
.vb__item:first-child { margin-left: 30px; }
.vb__b { position: absolute; left: 50%; top: 50%; height: 88%; aspect-ratio: .3; transform: translate(-50%, -50%) rotate(-38deg); transition: transform .6s var(--ease), opacity .4s; opacity: .55; }
.vb__b img { filter: drop-shadow(0 18px 14px rgba(0, 0, 0, .45)); }
.vb__item.is-on .vb__b { opacity: 1; transform: translate(-50%, -56%) rotate(-34deg) scale(1.06); }
.vb__item.is-on { z-index: 2; }
@media (max-width: 980px) { .vb__in { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 60px; } .vb__item { flex-basis: 120px; height: 280px; } }

/* home: la fascia dei vini attaccata alle sezioni vicine */
main[data-page="home"] > .vb { margin-top: 0; }

/* fascia vini: lo sfondo cambia con il vino scelto */
.vb { transition: background-color .9s var(--ease); }
.vb__item { cursor: pointer; }
.vb__b { transition: transform .5s var(--ease), opacity .35s; }

/* ===== fascia vini: impaginazione definitiva ===== */
.vb__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; padding-top: 104px; padding-bottom: 104px; }
.vb__text { gap: 0; align-content: center; }
.vb__text .label { margin-bottom: 22px; }
.vb .wx__title { font-size: clamp(2.2rem, 3.1vw, 3.2rem); max-width: 13ch; margin-bottom: 20px; }
.vb__lead { margin-bottom: 36px; }
.vb__now { gap: 8px; margin-bottom: 32px; padding: 22px 0; min-height: 132px; align-content: center; }
.vb__now b { font-size: 1.75rem; line-height: 1.1; }
.vb__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.vb__see { font-size: 13.5px; color: rgba(246, 239, 230, .78); border-bottom: 1px solid rgba(246, 239, 230, .3); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.vb__see:hover { color: #fff; border-color: #fff; }
.vb__stage { display: grid; gap: 28px; min-width: 0; }
.vb__table { padding: 24px 0 8px; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 0, #000 86%, transparent); }
.vb__item { flex: 0 0 132px; height: 380px; margin-right: -30px; }
.vb__item:first-child { margin-left: 0; }
.vb__item:last-child { margin-right: 160px; }
.vb__b { height: 92%; transform: translate(-50%, -50%) rotate(-36deg); opacity: .5; }
.vb__item.is-on .vb__b { transform: translate(-50%, -53%) rotate(-36deg); opacity: 1; }
.vb__bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.vb__count { font: 500 12px/1 var(--mono); letter-spacing: .08em; color: rgba(246, 239, 230, .55); font-variant-numeric: tabular-nums; }
.vb__count b { color: #f6efe6; font-weight: 500; }
.vb__prog { position: relative; height: 1px; background: rgba(246, 239, 230, .2); }
.vb__prog i { position: absolute; left: 0; top: -0.5px; height: 2px; width: 7.14%; background: #e8a0a0; transition: width .5s var(--ease); }
@media (max-width: 980px) {
  .vb__in { grid-template-columns: 1fr; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
  .vb .wx__title { max-width: 16ch; }
  .vb__now { min-height: 0; margin-bottom: 24px; }
  .vb__item { flex-basis: 110px; height: 300px; margin-right: -26px; }
  .vb__item:last-child { margin-right: 60px; }
}
/* fascia vini su mobile: le bottiglie subito dopo il testo, poi il vino scelto e il pulsante */
@media (max-width: 980px) {
  .vb__in { gap: 0; }
  .vb__text { display: contents; }
  .vb__text .label { order: 1; }
  .vb .wx__title { order: 2; }
  .vb__lead { order: 3; margin-bottom: 8px; }
  .vb__stage { order: 4; margin: 0 -16px 8px; }
  .vb__stage .vb__bar { padding: 0 16px; }
  .vb__table { padding-left: 16px; }
  .vb__now { order: 5; }
  .vb__text > .btn { order: 6; justify-self: start; }
}
/* fascia vini: spazio a sinistra perché la prima bottiglia inclinata non venga tagliata */
.vb__table .vb__item:first-child { margin-left: 84px; }
@media (max-width: 980px) { .vb__table .vb__item:first-child { margin-left: 64px; } }

/* fascia vini rossa come il prefooter */
.vb { background-color: #7a151d; }
.vb .wx__title em, .vb__now em { color: #ffe3df; }
.vb .label, .vb .label b, .vb__now small, .vb__count { color: rgba(255, 240, 236, .78); }
.vb__text > p:not(.label), .vb__lead { color: rgba(255, 244, 240, .86); }
.vb__now { border-color: rgba(255, 240, 236, .28); }
.vb__prog { background: rgba(255, 240, 236, .28); }
.vb__prog i { background: #fff; }
.vb__see { color: #fff; border-color: rgba(255, 255, 255, .5); }
.vb__b img { filter: drop-shadow(0 18px 16px rgba(40, 0, 6, .5)); }
.vb .btn--light { color: #7a151d; }
.vb .btn--light:hover { background: #fff; }
/* striscia dei loghi subito sotto la hero */
.hx + .bstrip { padding-top: 8px; padding-bottom: 8px; }
/* sul rosso le bottiglie non attive si scuriscono invece di diventare trasparenti (niente effetto rosato) */
.vb__b { opacity: 1; filter: brightness(.6) saturate(.85); transition: transform .5s var(--ease), filter .4s; }
.vb__item.is-on .vb__b { opacity: 1; filter: none; }
/* fascia vini: cantina con botti appena visibile sotto il rosso (Unsplash, photo-1783443799503) */
.vb { position: relative; isolation: isolate; overflow: hidden; }
.vb > .sec-bg { position: absolute; inset: 0; z-index: -1;  mix-blend-mode: luminosity; opacity: .2; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.45) 0%, #000 55%); mask-image: linear-gradient(90deg, rgba(0,0,0,.45) 0%, #000 55%); pointer-events: none; }
@media (max-width: 980px) { .vb > .sec-bg { opacity: .16; -webkit-mask-image: none; mask-image: none; } }
/* fascia vini: quando le bottiglie scorrono oltre il bordo sinistro, sfumano invece di essere tagliate di netto */
@property --vb-fade { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.vb__table { --vb-fade: 0%; transition: --vb-fade .45s var(--ease); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--vb-fade), #000 86%, transparent); mask-image: linear-gradient(90deg, transparent 0, #000 var(--vb-fade), #000 86%, transparent); }
.vb__table.is-scrolled { --vb-fade: 16%; }
.vb__table.is-end { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--vb-fade), #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 var(--vb-fade), #000 100%); }
/* ===== fascia vini in beige (filtro come lo sfondo del sito al posto del rosso) ===== */
.vb { background-color: #ece4d7; color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vb > .sec-bg { mix-blend-mode: multiply; opacity: .14; filter: grayscale(1) sepia(.35) contrast(1.1); }
@media (max-width: 980px) { .vb > .sec-bg { opacity: .1; } }
.vb .label, .vb__now small, .vb__count { color: var(--mute); }
.vb .label b, .vb__count b { color: var(--accent); }
.vb .wx__title { color: var(--ink); }
.vb .wx__title em, .vb__now em { color: var(--accent); }
.vb__text > p:not(.label), .vb__lead { color: var(--mute); }
.vb__now { border-color: var(--line-2); }
.vb__now b { color: var(--ink); }
.vb__see { color: var(--ink); border-color: var(--line-2); }
.vb__see:hover { color: var(--accent); border-color: var(--accent); }
.vb__prog { background: var(--line-2); }
.vb__prog i { background: var(--accent); }
.vb .wx__btn { border-color: var(--line-2); color: var(--ink); }
.vb .wx__btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.vb .btn--light { background: var(--ink); color: var(--paper); }
.vb .btn--light:hover { background: var(--accent); color: #fff; }
.vb__b img { filter: drop-shadow(0 18px 14px rgba(26, 24, 21, .26)); }
.vb__b { filter: none; opacity: .42; transition: transform .5s var(--ease), opacity .4s; }
.vb__item.is-on .vb__b { opacity: 1; }


/* variante rossa (come il prefooter) */
.vb.vb--red { background-color: #7a151d; color: #f6efe6; border-color: transparent; }
.vb.vb--red > .sec-bg { mix-blend-mode: luminosity; opacity: .2; filter: none; }
@media (max-width: 980px) { .vb.vb--red > .sec-bg { opacity: .16; } }
.vb.vb--red .label, .vb.vb--red .vb__now small, .vb.vb--red .vb__count { color: rgba(255, 240, 236, .78); }
.vb.vb--red .label b, .vb.vb--red .vb__count b { color: #fff; }
.vb.vb--red .wx__title, .vb.vb--red .vb__now b { color: #f6efe6; }
.vb.vb--red .wx__title em, .vb.vb--red .vb__now em { color: #ffe3df; }
.vb.vb--red .vb__lead { color: rgba(255, 244, 240, .86); }
.vb.vb--red .vb__now { border-color: rgba(255, 240, 236, .28); }
.vb.vb--red .vb__see { color: #fff; border-color: rgba(255, 255, 255, .5); }
.vb.vb--red .vb__see:hover { border-color: #fff; }
.vb.vb--red .vb__prog { background: rgba(255, 240, 236, .28); }
.vb.vb--red .vb__prog i { background: #fff; }
.vb.vb--red .wx__btn { border-color: rgba(246, 239, 230, .35); color: #f6efe6; }
.vb.vb--red .wx__btn:hover { background: #f6efe6; color: #7a151d; border-color: #f6efe6; }
.vb.vb--red .btn--light { background: #f6efe6; color: #7a151d; }
.vb.vb--red .btn--light:hover { background: #fff; color: #7a151d; }
.vb.vb--red .vb__b { opacity: 1; filter: brightness(.6) saturate(.85); transition: transform .5s var(--ease), filter .4s; }
.vb.vb--red .vb__item.is-on .vb__b { filter: none; }
.vb.vb--red .vb__b img { filter: drop-shadow(0 18px 16px rgba(40, 0, 6, .5)); }
/* fascia vini: bottiglie più visibili (quelle non selezionate restano leggibili, quella attiva più luminosa) */
.vb__b { opacity: .8; filter: saturate(.9) brightness(1.04); }
.vb__item.is-on .vb__b { opacity: 1; filter: brightness(1.1) contrast(1.04); }
.vb.vb--red .vb__b { opacity: 1; filter: brightness(.9) saturate(.92); }
.vb.vb--red .vb__item.is-on .vb__b { filter: brightness(1.18) contrast(1.05); }
.vb.vb--red .vb__b img { filter: drop-shadow(0 18px 16px rgba(40, 0, 6, .38)); }

/* ===== prefooter (solo rosso) ===== */
.biz > .sec-bg, .biz::after { transition: opacity .6s var(--ease), background .6s var(--ease); }
.biz { transition: background-color .6s var(--ease), color .6s var(--ease); }
/* variante beige */
/* rreth nesh: le marche come la striscia della homepage (grigie, a colori al passaggio del mouse) */
.about-strip { margin-top: 8px; }
.about-strip .bstrip__all { display: none; } /* il link "Të gjitha markat" è già accanto al titolo */

/* =====================================================================
   PASSAGGIO TRA LE PAGINE: velo color carta con il logo
   - all'arrivo il velo copre la pagina e sfuma via (solo CSS, niente lampi)
   - all'uscita (js/layout.js aggiunge .pt-leave) il velo torna e poi si cambia pagina
   ===================================================================== */
html::after, html::before { content: ''; position: fixed; inset: 0; z-index: 10000; pointer-events: none; background: var(--paper) url(./img/logo-dark.png) 50% 50% / 132px auto no-repeat; }
html::after { animation: ptIn .5s .12s var(--ease) both; }
html::before { opacity: 0; transition: opacity .24s ease; }
html.pt-leave::before { opacity: 1; pointer-events: auto; }
@keyframes ptIn { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { html::after { animation: none; display: none; } html::before { display: none; } }

/* =====================================================================
   HOME: categorie in parallelo (una riga sola) con effetto slide
   - computer: tutte affiancate; entrano scivolando da destra, una dopo l'altra
   - telefono/tablet: carosello da scorrere col dito, la scheda a fuoco è piena,
     le altre leggermente rimpicciolite; barra di avanzamento sotto
   - descrizione sempre su una riga sola (stessa lunghezza visiva per tutte)
   ===================================================================== */
.home-cats { timeline-scope: --cats; }
.home-cats .index { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.home-cats .index p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 0; }
.index__progress { display: none; }
@keyframes catSlideIn { from { transform: translateX(64px); opacity: .2; } to { transform: none; opacity: 1; } }
@keyframes catFocus {
  0% { transform: translateX(22px) scale(.9); opacity: .45; }
  38%, 66% { transform: none; opacity: 1; }
  100% { transform: scale(.94); opacity: .55; }
}
@keyframes catBar { from { transform: scaleX(.18); } to { transform: scaleX(1); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 981px) {
    .home-cats .index a { animation: catSlideIn linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .home-cats .index a:nth-child(2) { animation-range: entry 6% entry 76%; }
    .home-cats .index a:nth-child(3) { animation-range: entry 12% entry 82%; }
    .home-cats .index a:nth-child(4) { animation-range: entry 18% entry 88%; }
    .home-cats .index a:nth-child(5) { animation-range: entry 24% entry 94%; }
    .home-cats .index a:nth-child(n+6) { animation-range: entry 30% entry 100%; }
  }
}
@media (max-width: 980px) {
  .home-cats .index {
    display: flex; gap: 14px; row-gap: 0;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 8px; scroll-padding-inline: var(--pad);
    scrollbar-width: none; scroll-timeline: --cats inline;
  }
  .home-cats .index::-webkit-scrollbar { display: none; }
  .home-cats .index a, .home-cats .index a + a {
    flex: 0 0 44%; scroll-snap-align: start; gap: 8px;
    padding: 20px 18px 22px !important; border: 0 !important; border-radius: 4px;
    background: var(--paper-2); transition: background .3s;
  }
  .home-cats .index a:first-child { padding-left: 18px !important; }
  /* le schede sono già riquadri: niente linee sopra e sotto il carosello */
  .home-cats .index { border: 0 !important; }
  .home-cats .index h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      .home-cats .index a { animation: catFocus linear both; animation-timeline: view(inline); animation-range: cover 0% cover 100%; }
    }
  }
  @supports (animation-timeline: scroll()) {
    .index__progress { display: block; position: relative; height: 2px; margin-top: 18px; background: var(--line); overflow: hidden; }
    .index__progress::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform-origin: left; animation: catBar linear both; animation-timeline: --cats; }
  }
}
@media (max-width: 600px) {
  .home-cats .index a, .home-cats .index a + a { flex-basis: 76%; }
}

/* fisarmoniche: con meno animazioni il "+" non ruota in modo animato (l'apertura è già istantanea, vedi Accordions) */
@media (prefers-reduced-motion: reduce) { .acc summary::after, .faq summary::after, .fcol > h4::after { transition: none; } }

/* icone Instagram e Facebook (afsd_social_icons in inc/helpers.php) */
.social { display: inline-flex; align-items: center; gap: 4px; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; color: var(--ink); border-radius: 50%; transition: color .25s, background .25s; }
.social a:hover, .social a:focus-visible { color: var(--accent); background: var(--paper-2); }
.nav__right > .nav__social { margin-right: -8px; }
.nav__right > .nav__social a { padding: 0; }
.foot__grid .foot__social { margin-top: 14px; gap: 8px; justify-self: start; }
.foot__grid .foot__social a { width: 38px; height: 38px; border: 1px solid var(--line-2); color: var(--ink); justify-self: auto; }
.foot__grid .foot__social a:hover { border-color: var(--ink); }
.menu .menu__social a { display: grid; place-items: center; justify-content: center; align-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); font: inherit; }
@media (max-width: 980px) { .nav__right > .nav__social { display: none; } }

/* avviso per i visitatori stranieri (assets/js/lang-hint.js) */
.lang-hint { position: fixed; z-index: 95; left: 16px; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; max-width: 380px; padding: 10px 10px 10px 18px; background: var(--ink); color: var(--paper); border-radius: 999px; box-shadow: 0 12px 30px rgba(26, 24, 21, .25); font: 500 14px/1.3 var(--sans); opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); }
.lang-hint.is-on { opacity: 1; transform: none; }
.lang-hint p { margin: 0; }
.lang-hint__go { padding: 9px 16px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 600; white-space: nowrap; }
.lang-hint__x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--paper); font-size: 20px; line-height: 1; cursor: pointer; opacity: .75; }
.lang-hint__x:hover { opacity: 1; }
@media (max-width: 560px) { .lang-hint { right: 90px; max-width: none; font-size: 13px; gap: 8px; padding-left: 14px; } .lang-hint__go { padding: 8px 12px; } }
@media (prefers-reduced-motion: reduce) { .lang-hint { transition: none; } }
/* Computer: la lingua nell'intestazione come interruttore a pillola "SQ | EN" (la lingua attiva in nero) */
@media (min-width: 821px) {
  .nav__right > .lang { display: inline-flex; align-items: center; gap: 0; padding: 2px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 11.5px/1 var(--mono); letter-spacing: .04em; }
  .nav__right > .lang > span { display: none; }
  .nav__right > .lang a { display: grid; place-items: center; min-width: 36px; height: 26px; padding: 0 9px; border-radius: 999px; color: var(--mute); transition: background .25s, color .25s; }
  .nav__right > .lang a:hover { color: var(--ink); }
  .nav__right > .lang a.is-on { background: var(--ink); color: var(--paper); }
}
/* Computer: parti destre dell'intestazione più vicine (testi, icone social, lingua, account, carrello) */
@media (min-width: 981px) {
  .nav__right { gap: 10px; }
  .nav__right > a:not(.nav__user):not(.nav__cart) + a:not(.nav__user):not(.nav__cart) { margin-left: 14px; }
  .nav__right > .nav__social { margin: 0 0 0 10px; gap: 0; }
  .nav__right > .lang { margin-right: 4px; }
}
