/* Nuvola e Cotto - design system di lorenzofortuna.it
   Generato dal DESIGN.md attivo. Modificare li' prima che qui. */

/* ---------- Font ospitati localmente ---------- */

@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/familjen-grotesk-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/familjen-grotesk-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Familjen Grotesk';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/familjen-grotesk-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/instrument-sans-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/instrument-sans-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/instrument-sans-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Bodoni Moda e Archivo: sono i caratteri del redesign approvato.
   Le dichiarazioni stanno qui perche Elementor senza Pro non ha un gestore
   di caratteri personalizzati. Il resto della grafica si fa con i widget. */

@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/bodoni-moda-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/bodoni-moda-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/bodoni-moda-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/bodoni-moda-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/archivo-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/archivo-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Token ---------- */

:root {
  --lf-bg: #F5F0E8;
  --lf-surface: #EAE3D7;
  --lf-ink: #14100D;
  --lf-accent: #A6381C;
  --lf-accent-scuro: #14100D;
  --lf-accent-chiaro: #C97A5C;
  --lf-deep: #14100D;
  --lf-muted: #6B6560;
  --lf-muted-scuro: #9B9690;
  --lf-testo-scuro: #C9C4BC;
  --lf-testo-secondario: #4A443F;
  --lf-line: #D5CEC2;
  --lf-line-scuro: #3C3834;

  --lf-display: 'Bodoni Moda', Georgia, serif;
  --lf-body: 'Archivo', system-ui, sans-serif;

  --lf-xs: 8px;
  --lf-sm: 16px;
  --lf-md: 32px;
  --lf-lg: 64px;
  --lf-xl: 120px;

  --lf-larghezza: 1280px;
}

/* ---------- Base ---------- */

body {
  background-color: var(--lf-bg);
  color: var(--lf-ink);
  font-family: var(--lf-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--lf-display);
  font-weight: 700;
  color: var(--lf-ink);
  letter-spacing: -0.015em;
  text-transform: none;
}

h1 { line-height: 1.02; }
h2 { line-height: 1.05; }
h3, h4 { line-height: 1.15; }

p { max-width: 66ch; }

a { color: var(--lf-accent); text-underline-offset: 3px; }
a:hover { color: var(--lf-accent-scuro); }

img { border-radius: 0; }

/* ---------- Etichette ---------- */

.lf-etichetta {
  font-family: var(--lf-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lf-muted);
}

/* ---------- Bottoni ---------- */

.elementor-button,
.wp-element-button,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  font-family: var(--lf-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  border-radius: 0;
  box-shadow: none;
  text-transform: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce button.button.alt {
  background-color: var(--lf-accent);
  color: #FFFFFF;
  padding: 18px 36px;
  line-height: 1.2;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce button.button.alt:hover {
  background-color: var(--lf-accent-scuro);
  color: #FFFFFF;
}

/* ---------- Moduli ---------- */

input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], input[type="password"], input[type="search"],
select, textarea {
  font-family: var(--lf-body);
  font-size: 16px;
  color: var(--lf-ink);
  background-color: var(--lf-surface);
  border: 1px solid var(--lf-line);
  border-radius: 0;
  padding: 14px 16px;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--lf-accent);
  outline-offset: 1px;
  border-color: var(--lf-accent);
}

::placeholder { color: var(--lf-muted); opacity: 1; }

/* ---------- Aiuti di composizione ---------- */

.lf-filetto { border-top: 1px solid var(--lf-line); }

.lf-scura,
.lf-scura h1, .lf-scura h2, .lf-scura h3, .lf-scura h4 { color: var(--lf-bg); }
.lf-scura { background-color: var(--lf-deep); }

/* ---------- Intestazione e pie di pagina ---------- */

/* L'intestazione va resa fissa sul contenitore di UAE: il figlio Elementor
   resterebbe agganciato a un genitore alto quanto se stesso. */
.site > header {
  position: sticky !important;
  top: 0;
  z-index: 40;
}

.admin-bar .site > header { top: 32px; }

@media (max-width: 782px) {
  .admin-bar .site > header { top: 46px; }
}

/* Il colore delle voci e degli stati e gestito dai widget.
   Qui resta solo cio che Elementor senza Pro non sa fare. */

.lf-footer p { max-width: none; }

/* Il menù ha la barra dei filtri sotto l'intestazione fissa */
.lf-menu-barra { top: 86px; }
.admin-bar .lf-menu-barra { top: 118px; }

@media (max-width: 767px) {
  .lf-menu-barra { top: 72px; }
  .admin-bar .lf-menu-barra { top: 118px; }
}

/* ---------- Eroe ---------- */

.lf-hero {
  min-height: calc(100vh - 86px);
}

.admin-bar .lf-hero { min-height: calc(100vh - 118px); }

@media (max-width: 1400px) and (min-width: 1025px) {
  .lf-hero .elementor-widget-heading .elementor-heading-title { font-size: 62px !important; }
}

@media (max-width: 767px) {
  .lf-hero, .admin-bar .lf-hero { min-height: 0; }
}

.lf-hero-media { align-self: stretch; }

.lf-hero-media > .elementor-widget,
.lf-hero-media .elementor-widget-image,
.lf-hero-media .elementor-widget-container,
.lf-hero-media figure,
.lf-hero-media figure > a {
  height: 100%;
  display: block;
  margin: 0;
}

.lf-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 74%;
  display: block;
}

@media (max-width: 767px) {
  .lf-hero-media img { height: 420px; }
}

/* ---------- Aiuti di composizione della home ---------- */

.lf-lista-due ul {
  columns: 2;
  column-gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lf-lista-due li {
  break-inside: avoid;
  padding: 6px 0;
  border-bottom: 1px solid var(--lf-line);
}

@media (max-width: 767px) {
  .lf-lista-due ul { columns: 1; }
}

.lf-centrata p { max-width: 52ch; margin-left: auto; margin-right: auto; }

/* Le fotografie in verticale vanno ritagliate, non lasciate correre */
.lf-foto-alta img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center 78%;
  display: block;
}

/* Elenco dei premi con filetti, come le voci di menu */
.lf-elenco-premi ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #454A3E;
}

.lf-elenco-premi li {
  padding: 14px 0;
  border-bottom: 1px solid #454A3E;
}

.lf-elenco-premi li strong {
  display: inline-block;
  min-width: 62px;
  font-weight: 700;
  color: #FFFFFF;
}

/* ---------- Menu della pizzeria ---------- */

.lf-menu { max-width: 900px; }

/* Da dove cominciare: il primo appiglio per chi deve scegliere */

.lf-menu-apertura { margin-bottom: var(--lf-md); }

.lf-menu-apertura-titolo {
  font-family: var(--lf-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lf-accent);
  margin: 0 0 var(--lf-sm);
}

.lf-menu-apertura-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--lf-line);
}

.lf-menu-suggerita {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 3px 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--lf-line);
  text-decoration: none;
  color: var(--lf-ink);
  transition: background-color 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.lf-menu-suggerita:hover,
.lf-menu-suggerita:focus-visible {
  background-color: var(--lf-surface);
  color: var(--lf-ink);
}

.lf-menu-suggerita-nome {
  font-family: var(--lf-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lf-menu-suggerita-motivo {
  grid-column: 1;
  font-size: 12.5px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: var(--lf-accent);
}

.lf-menu-suggerita-prezzo {
  grid-row: 1;
  grid-column: 2;
  font-size: 15px;
  color: var(--lf-muted);
}

/* La barra dei controlli: in alto al desktop, sotto il pollice al telefono */

.lf-menu-barra {
  position: sticky;
  /* Sotto l'intestazione fissa, non dietro: vale l'altezza dichiarata in cima al foglio */
  top: 86px;
  z-index: 5;
  background-color: var(--lf-bg);
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--lf-line);
  margin-bottom: var(--lf-lg);
}


.lf-menu-chip-riga {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lf-menu .lf-menu-chip {
  font-family: var(--lf-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--lf-ink);
  background-color: transparent;
  background-image: none;
  border: 1px solid var(--lf-line);
  border-radius: 0;
  padding: 13px 16px;
  cursor: pointer;
  box-shadow: none;
  text-transform: none;
  letter-spacing: 0;
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
}

.lf-menu .lf-menu-chip:hover { border-color: var(--lf-ink); background-color: transparent; color: var(--lf-ink); }

.lf-menu .lf-menu-chip.is-attiva,
.lf-menu .lf-menu-chip.is-attiva:hover {
  background-color: var(--lf-ink);
  border-color: var(--lf-ink);
  color: var(--lf-bg);
}


/* Il gruppo si annuncia: chi filtra su Pizze deve leggere Pizze */
.lf-menu-gruppo {
  border-top: 2px solid var(--lf-ink);
  padding-top: var(--lf-sm);
  margin: var(--lf-lg) 0 var(--lf-md);
}

.lf-menu-gruppo[hidden] { display: none; }

.lf-menu-gruppo-titolo {
  font-family: var(--lf-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

.lf-menu-sezione { margin-bottom: var(--lf-lg); }
.lf-menu-gruppo + .lf-menu-sezione .lf-menu-titolo { margin-top: 0; }
.lf-menu-sezione, .lf-menu-voce, .lf-menu-gruppo { scroll-margin-top: 104px; }

.lf-menu-titolo {
  font-family: var(--lf-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 6px;
}

.lf-menu-intro {
  font-size: 17px;
  color: var(--lf-testo-secondario);
  margin: 0 0 var(--lf-sm);
  max-width: 62ch;
}

.lf-menu-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--lf-line);
}

.lf-menu-voce {
  padding: 20px 0;
  border-bottom: 1px solid var(--lf-line);
}

.lf-menu-voce[hidden] { display: none; }

/* La consigliata si annuncia prima del nome, come le altre etichette */
.lf-menu-voce.is-evidenza::before {
  content: "consigliata";
  display: block;
  font-family: var(--lf-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lf-accent);
  margin-bottom: 7px;
}

.lf-menu-riga {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.lf-menu-nome {
  font-family: var(--lf-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Il prezzo informa, non guida la scelta: sta sotto il nome per peso e colore */
.lf-menu-prezzo {
  font-family: var(--lf-body);
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  color: var(--lf-muted);
}

.lf-menu-ingredienti,
.lf-menu-nota,
.lf-menu-abbinamento {
  margin: 6px 0 0;
  max-width: 62ch;
}

.lf-menu-ingredienti { font-size: 17px; line-height: 1.5; color: var(--lf-testo-secondario); }
.lf-menu-nota { font-size: 16px; line-height: 1.5; color: var(--lf-ink); }
.lf-menu-abbinamento { font-size: 15px; line-height: 1.5; color: var(--lf-accent); }

/* ---------- Allergeni ---------- */

/* I quattordici disegni stanno depositati una volta sola nella pagina: ogni
   voce li richiama con <use> invece di ripeterli. */
.lf-al-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.lf-al {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

/* I simboli chiudono la riga degli ingredienti invece di aprire una riga propria:
   l'occhio ci arriva gia leggendo, e la voce resta alta come prima. Restano uniti
   fra loro, ma il gruppo va a capo insieme se la riga e piena. */
.lf-menu-allergeni-segni {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: 11px;
  vertical-align: -0.24em;
  white-space: nowrap;
  color: var(--lf-ink);
}

/* Dove gli ingredienti non ci sono, i simboli ne prendono il posto sotto il nome */
.lf-menu-allergeni-soli { margin: 7px 0 0; }

.lf-menu-allergeni-soli .lf-menu-allergeni-segni {
  margin-left: 0;
  vertical-align: 0;
}

/* Si legge, non si vede: senza, uno screen reader attaccherebbe i nomi degli
   allergeni in coda agli ingredienti come se ne facessero parte. */
.lf-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* La legenda: senza questa i simboli non vogliono dire niente */
.lf-menu-legenda-allergeni {
  background-color: var(--lf-surface);
  padding: var(--lf-md);
  margin-top: var(--lf-lg);
}

.lf-menu-legenda-titolo {
  font-family: var(--lf-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lf-accent);
  margin: 0 0 var(--lf-sm);
}

.lf-menu-legenda-intro {
  font-size: 16px;
  line-height: 1.5;
  color: var(--lf-testo-secondario);
  margin: 0 0 var(--lf-md);
  max-width: 62ch;
}

.lf-menu-legenda-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 15px 24px;
}

.lf-menu-legenda-voce {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--lf-ink);
}

.lf-al-grande { width: 26px; height: 26px; flex: 0 0 26px; }

/* Il rimando in sala non e un allergene: in legenda sta sotto, staccato dai
   quattordici da un filetto, per non farlo passare per il quindicesimo. */
.lf-menu-legenda-chiedi {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--lf-ink);
  margin: var(--lf-md) 0 0;
  padding-top: var(--lf-sm);
  border-top: 1px solid var(--lf-line);
}

.lf-al-chiedi { color: var(--lf-accent); }

.lf-menu-legenda {
  border-top: 1px solid var(--lf-line);
  padding-top: var(--lf-md);
  font-size: 15px;
  color: var(--lf-muted);
}

.lf-menu-legenda p { margin: 0 0 8px; max-width: 70ch; }

@media (max-width: 767px) {
  .lf-menu-titolo { font-size: 25px; }
  .lf-menu-gruppo-titolo { font-size: 38px; }
  .lf-menu-gruppo { margin-top: var(--lf-md); }
  .lf-menu-nome { font-size: 18px; }
  .lf-menu-riga { gap: 12px; }
  .lf-menu-suggerita-nome { font-size: 19px; }
  .lf-menu-legenda-allergeni { padding: var(--lf-sm); }
  .lf-menu-legenda-lista { grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
  .lf-menu-legenda-voce { font-size: 15px; gap: 9px; }

  /* Lo spazio che la barra in fondo occupa, perche lultima voce resti leggibile */
  .lf-menu { padding-bottom: 92px; }

  .lf-menu-barra,
  .admin-bar .lf-menu-barra {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    gap: 0;
    margin: 0;
    padding: 0 0 env(safe-area-inset-bottom);
    background-color: var(--lf-ink);
    border-bottom: 0;
    border-top: 1px solid var(--lf-line-scuro);
  }


  .lf-menu-chip-riga {
    flex: 1 1 auto;
    /* Senza questo un figlio flex non scende sotto la larghezza del proprio
       contenuto, e la riga scorrevole sfonda la pagina in orizzontale. */
    min-width: 0;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .lf-menu-chip-riga::-webkit-scrollbar { display: none; }

  .lf-menu .lf-menu-chip {
    flex: 0 0 auto;
    min-height: 70px;
    padding: 0 19px;
    font-size: 16px;
    color: var(--lf-testo-scuro);
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
  }

  .lf-menu .lf-menu-chip:hover { border-color: transparent; color: var(--lf-bg); }

  /* Dove si sta leggendo, quando nessun filtro e attivo */
  .lf-menu .lf-menu-chip.is-qui { color: var(--lf-bg); }

  .lf-menu .lf-menu-chip.is-attiva,
  .lf-menu .lf-menu-chip.is-attiva:hover {
    background-color: transparent;
    color: var(--lf-bg);
    border-bottom-color: var(--lf-accent);
  }


}

/* Riapre le preferenze cookie dal pie di pagina: e un bottone perche CookieYes
   intercetta il click senza fermarlo, e un href="#" farebbe saltare in cima.

   La classe e ripetuta apposta. Il kit globale di Elementor veste ogni <button>
   del sito da bottone primario con `.elementor-kit-12 button`, che ha specificita
   (0,1,1): una classe sola perde, e questo comando compariva come un bottone
   terracotta in mezzo alla riga legale. Ripeterla porta a (0,2,0) e vince senza
   !important e senza legare il foglio al numero del kit, che puo cambiare. */
.lf-cookie-link.lf-cookie-link {
  font: inherit;
  /* Non eredita il grigio della riga legale: #7E7973 su inchiostro da 4,44:1, sotto
     la soglia AA per un testo di 12px. Questo comando revoca il consenso ai cookie
     e deve restare leggibile, quindi sale al grigio delle bande scure, 6,5:1. */
  color: var(--lf-muted-scuro);
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: inherit;
  text-transform: none;
}

.lf-cookie-link.lf-cookie-link:hover { color: var(--lf-accent-chiaro); background: none; }

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