/*
 * Fortunato Shop - scala unica dei caratteri (27/11/2026).
 * Caricato per ultimo: porta alla stessa misura i titoli che nelle varie
 * pagine avevano misure diverse (22, 24, 26, 28, 34...) e fa usare Poppins
 * anche dove restava un altro carattere (pagina dell'ordine, testi scritti
 * nell'editor con caratteri e misure proprie).
 *
 * Per cambiare una misura in tutto il sito basta cambiare il numero qui sotto.
 */
:root {
  --fs-t-h1: 28px;     /* titolo della pagina */
  --fs-t-sec: 26px;    /* titolo di una sezione */
  --fs-t-sub: 20px;    /* titolo dentro un testo o un riquadro */
  --fs-t-card: 17px;   /* titolo di una scheda (articolo, guida, banner) */
  --fs-t-body: 15px;   /* testo normale */
}
@media (max-width: 767.98px) {
  :root {
    --fs-t-h1: 22px;
    --fs-t-sec: 20px;
    --fs-t-sub: 18px;
    --fs-t-card: 16px;
  }
}

/* 1. Titolo della pagina */
#wrapper h1.fs-cathead__h1,
#wrapper .fs-buy h1.fs-buy__title,
#wrapper h1.h1,
#wrapper h1.page-title,
#wrapper .page-header h1 {
  font-family: Poppins, sans-serif;
  font-size: var(--fs-t-h1);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
  text-transform: none;
}

/* 2. Titolo di sezione */
#wrapper .fs-home .fs-hhead__title,
#wrapper .fs-reviews .fs-hhead__title,
#wrapper .fs-related h2.fs-related__title,
#wrapper .fs-kit .fsc-bundle__heading-title,
#wrapper .fs-catguide h2,
#content-wrapper .section-title,
#wrapper .block-section > .section-title {
  font-family: Poppins, sans-serif;
  font-size: var(--fs-t-sec);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
  text-transform: none;
}
.fs-hsec--wiz #fsproblemfinder .fspf-intro-title { font-size: var(--fs-t-sec) !important; font-weight: 700 !important; line-height: 1.22 !important; }

/* 3. Titolo di una scheda */
#wrapper .fs-post__title,
#wrapper .fs-guide__title,
#wrapper .fs-home .hc-title { font-size: var(--fs-t-card); font-weight: 600; line-height: 1.3; }

/* 4. Testi scritti nell'editor (descrizione del prodotto, guida di categoria,
      pagine informative): stesso carattere e misure ordinate, anche quando nel
      testo sono rimaste misure o caratteri scritti a mano. */
#wrapper .fs-desc__long,
#wrapper .fs-catguide__text,
body#cms #wrapper .rte-content,
body#cms #wrapper #content { font-size: var(--fs-t-body); line-height: 1.65; }

#wrapper .fs-desc__long :is(p, li, span, div, td, th, strong, b, em, a, font, h1, h2, h3, h4, h5, h6),
#wrapper .fs-desc__short :is(p, li, span, div, td, th, strong, b, em, a, font, h1, h2, h3, h4, h5, h6),
#wrapper .fs-catguide__text :is(p, li, span, div, td, th, strong, b, em, a, font, h3, h4, h5, h6),
body#cms #wrapper .rte-content :is(p, li, span, div, td, th, strong, b, em, a, font, h1, h2, h3, h4, h5, h6) {
  font-family: Poppins, sans-serif !important;
}
#wrapper .fs-desc__long :is(p, li, td, th, span, font, div),
#wrapper .fs-catguide__text :is(p, li, td, th, span, font) { font-size: inherit !important; }

#wrapper .fs-desc__long :is(h1, h2),
#wrapper .fs-catguide__text h3,
body#cms #wrapper .rte-content h2 { font-size: var(--fs-t-sub) !important; font-weight: 700 !important; line-height: 1.3 !important; }
#wrapper .fs-desc__long h3,
body#cms #wrapper .rte-content h3 { font-size: 18px !important; font-weight: 700 !important; line-height: 1.3 !important; }
#wrapper .fs-desc__long :is(h4, h5, h6),
#wrapper .fs-catguide__text :is(h4, h5, h6),
body#cms #wrapper .rte-content :is(h4, h5, h6) { font-size: 16px !important; font-weight: 600 !important; line-height: 1.35 !important; }

/* 5. Pagina dell'ordine: il modulo usa "Open Sans"; qui Poppins come nel resto del sito.
      Le icone (FontAwesome e simili) non vengono toccate. */
body#checkout #wrapper :is(div, span, p, a, label, input, select, textarea, button, h1, h2, h3, h4, h5, li, td, th, strong, small, legend):not(.fa):not(.fas):not(.far):not(.fab):not(.material-icons):not([class^="icon-"]):not([class*=" icon-"]):not([class*="ets_svg"]) {
  font-family: Poppins, sans-serif !important;
}

/* 6. Menu: voci a 14 px come il resto dei comandi */
@media (min-width: 992px) {
  #cbp-hrmenu > ul > li > a .cbp-tab-title { font-size: 14px; }
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-36 > a .cbp-tab-title,
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-39 > a .cbp-tab-title,
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-44 > a .cbp-tab-title,
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-45 > a .cbp-tab-title,
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-47 > a .cbp-tab-title { font-size: 0; }
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-36 > a .cbp-tab-title::before,
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-39 > a .cbp-tab-title::before,
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-44 > a .cbp-tab-title::before,
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-45 > a .cbp-tab-title::before,
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-47 > a .cbp-tab-title::before { font-size: 14px; }
}
@media (min-width: 1200px) and (max-width: 1279.98px) {
  #cbp-hrmenu > ul > li > a .cbp-tab-title { font-size: 13px; }
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-36 > a .cbp-tab-title::before,
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-39 > a .cbp-tab-title::before,
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-44 > a .cbp-tab-title::before,
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-45 > a .cbp-tab-title::before,
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-47 > a .cbp-tab-title::before { font-size: 13px; }
  #cbp-hrmenu > ul > li > a { padding: 0 6px; }
}
/* schermi stretti (tablet in orizzontale, piccoli portatili): caratteri un po' piu'
   piccoli e "Tutte le categorie" con la sola icona, cosi' il menu resta su una riga */
@media (min-width: 992px) and (max-width: 1199.98px) {
  #cbp-hrmenu > ul > li > a .cbp-tab-title { font-size: 12.5px; }
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-36 > a .cbp-tab-title::before,
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-39 > a .cbp-tab-title::before,
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-44 > a .cbp-tab-title::before,
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-45 > a .cbp-tab-title::before,
  #cbp-hrmenu > ul > li.cbp-hrmenu-tab-47 > a .cbp-tab-title::before { font-size: 12.5px; }
  #cbp-hrmenu > ul > li > a { padding: 0 4px; }
  #cbp-hrmenu > ul > li > a .cbp-tab-title i.cbp-submenu-aindicator { display: none; }
  #cbp-hrmenu > ul > li.fs-allcats > a { padding: 0 14px; }
  #cbp-hrmenu > ul > li.fs-allcats > a .cbp-tab-title { font-size: 0; }
  #cbp-hrmenu > ul > li.fs-allcats > a .cbp-tab-title i { font-size: 16px; margin: 0; }
}
