/* =========================================================================
   Content design - tipografia e ritmo dei blocchi di contenuto
   GENERATO da content-design/build-css.py -- non modificare a mano.
   Sorgente dei valori: base/site.config.json -> "design"   (gallerydeptitaly.com)
   ========================================================================= */
:root{
  --yb-c-measure: 1100px;
  --yb-c-text:    #000000;
  --yb-c-muted:   #57585B;
  --yb-c-rule:    #E0E0E0;
  --yb-c-h2-gap:  56px;
  --yb-c-h3-gap:  32px;
  --yb-c-h4-gap:  24px;
  --yb-c-p-gap:   18px;
  --yb-c-section-gap: 72px;
}

/* ---- ogni blocco di testo ha la stessa larghezza ed e' centrato --------- */
body .wpb_text_column.wpb_text_column.wpb_text_column,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel,
body .term-description.term-description.term-description,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo,
body .yb-cat-faq.yb-cat-faq.yb-cat-faq{
  max-width: var(--yb-c-measure);
  margin-left: auto;
  margin-right: auto;
}

/* ---- annulla la misura imposta dal tema ai figli diretti --------------- */
body .wpb_text_column.wpb_text_column.wpb_text_column > .wpb_wrapper > h2,
body .wpb_text_column.wpb_text_column.wpb_text_column > h2,
body .wpb_text_column.wpb_text_column.wpb_text_column > .wpb_wrapper > h3,
body .wpb_text_column.wpb_text_column.wpb_text_column > h3,
body .wpb_text_column.wpb_text_column.wpb_text_column > .wpb_wrapper > h4,
body .wpb_text_column.wpb_text_column.wpb_text_column > h4,
body .wpb_text_column.wpb_text_column.wpb_text_column > .wpb_wrapper > p,
body .wpb_text_column.wpb_text_column.wpb_text_column > p,
body .wpb_text_column.wpb_text_column.wpb_text_column > .wpb_wrapper > ul,
body .wpb_text_column.wpb_text_column.wpb_text_column > ul,
body .wpb_text_column.wpb_text_column.wpb_text_column > .wpb_wrapper > ol,
body .wpb_text_column.wpb_text_column.wpb_text_column > ol,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel > .wpb_wrapper > h2,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel > h2,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel > .wpb_wrapper > h3,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel > h3,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel > .wpb_wrapper > h4,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel > h4,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel > .wpb_wrapper > p,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel > p,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel > .wpb_wrapper > ul,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel > ul,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel > .wpb_wrapper > ol,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel > ol,
body .term-description.term-description.term-description > .wpb_wrapper > h2,
body .term-description.term-description.term-description > h2,
body .term-description.term-description.term-description > .wpb_wrapper > h3,
body .term-description.term-description.term-description > h3,
body .term-description.term-description.term-description > .wpb_wrapper > h4,
body .term-description.term-description.term-description > h4,
body .term-description.term-description.term-description > .wpb_wrapper > p,
body .term-description.term-description.term-description > p,
body .term-description.term-description.term-description > .wpb_wrapper > ul,
body .term-description.term-description.term-description > ul,
body .term-description.term-description.term-description > .wpb_wrapper > ol,
body .term-description.term-description.term-description > ol,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text > .wpb_wrapper > h2,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text > h2,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text > .wpb_wrapper > h3,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text > h3,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text > .wpb_wrapper > h4,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text > h4,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text > .wpb_wrapper > p,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text > p,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text > .wpb_wrapper > ul,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text > ul,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text > .wpb_wrapper > ol,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text > ol,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo > .wpb_wrapper > h2,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo > h2,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo > .wpb_wrapper > h3,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo > h3,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo > .wpb_wrapper > h4,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo > h4,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo > .wpb_wrapper > p,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo > p,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo > .wpb_wrapper > ul,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo > ul,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo > .wpb_wrapper > ol,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo > ol{
  max-width: none;
}

/* ---- spazio intorno alle sezioni di contenuto --------------------------- */
body .yb-sec.yb-sec.yb-sec{
  padding-top: var(--yb-c-section-gap);
  padding-bottom: var(--yb-c-section-gap);
}

/* ---- ritmo verticale ---------------------------------------------------- */
body .wpb_text_column.wpb_text_column.wpb_text_column h2,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel h2,
body .term-description.term-description.term-description h2,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text h2,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo h2{
  margin-top: var(--yb-c-h2-gap);
  margin-bottom: 14px;
  letter-spacing: -.01em;
}
body .wpb_text_column.wpb_text_column.wpb_text_column > :first-child,
body .wpb_text_column.wpb_text_column.wpb_text_column > .wpb_wrapper > :first-child,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel > :first-child,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel > .wpb_wrapper > :first-child,
body .term-description.term-description.term-description > :first-child,
body .term-description.term-description.term-description > .wpb_wrapper > :first-child,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text > :first-child,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text > .wpb_wrapper > :first-child,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo > :first-child,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo > .wpb_wrapper > :first-child,
body .yb-cat-faq.yb-cat-faq.yb-cat-faq > :first-child,
body .yb-cat-faq.yb-cat-faq.yb-cat-faq > .wpb_wrapper > :first-child{
  margin-top: 0;
}
body .wpb_text_column.wpb_text_column.wpb_text_column > :last-child,
body .wpb_text_column.wpb_text_column.wpb_text_column > .wpb_wrapper > :last-child,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel > :last-child,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel > .wpb_wrapper > :last-child,
body .term-description.term-description.term-description > :last-child,
body .term-description.term-description.term-description > .wpb_wrapper > :last-child,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text > :last-child,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text > .wpb_wrapper > :last-child,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo > :last-child,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo > .wpb_wrapper > :last-child,
body .yb-cat-faq.yb-cat-faq.yb-cat-faq > :last-child,
body .yb-cat-faq.yb-cat-faq.yb-cat-faq > .wpb_wrapper > :last-child{
  margin-bottom: 0;
}
body .wpb_text_column.wpb_text_column.wpb_text_column h3,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel h3,
body .term-description.term-description.term-description h3,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text h3,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo h3{
  margin-top: var(--yb-c-h3-gap);
  margin-bottom: 10px;
}
body .wpb_text_column.wpb_text_column.wpb_text_column h4,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel h4,
body .term-description.term-description.term-description h4,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text h4,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo h4{
  margin-top: var(--yb-c-h4-gap);
  margin-bottom: 8px;
}
body .wpb_text_column.wpb_text_column.wpb_text_column p,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel p,
body .term-description.term-description.term-description p,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text p,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo p{
  margin-bottom: var(--yb-c-p-gap);
}
body .wpb_text_column.wpb_text_column.wpb_text_column ul,
body .wpb_text_column.wpb_text_column.wpb_text_column ol,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel ul,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel ol,
body .term-description.term-description.term-description ul,
body .term-description.term-description.term-description ol,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text ul,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text ol,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo ul,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo ol{
  margin: 0 0 var(--yb-c-p-gap) 1.15em;
}
body .wpb_text_column.wpb_text_column.wpb_text_column li,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel li,
body .term-description.term-description.term-description li,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text li,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo li{
  margin-bottom: 8px;
}

/* ---- allineamento del testo -------------------------------------------- */
body .wpb_text_column.wpb_text_column.wpb_text_column p,
body .wpb_text_column.wpb_text_column.wpb_text_column li,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel p,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel li,
body .term-description.term-description.term-description p,
body .term-description.term-description.term-description li,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text p,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text li,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo p,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo li,
body .yb-cat-faq.yb-cat-faq.yb-cat-faq p,
body .yb-cat-faq.yb-cat-faq.yb-cat-faq li{
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}

/* ---- link nel testo ----------------------------------------------------- */
body .wpb_text_column.wpb_text_column.wpb_text_column a,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel a,
body .term-description.term-description.term-description a,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text a,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo a{
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
body .wpb_text_column.wpb_text_column.wpb_text_column a:hover,
body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel a:hover,
body .term-description.term-description.term-description a:hover,
body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text a:hover,
body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo a:hover{
  color: var(--yb-c-muted);
}

/* ---- elenco puntato nella scheda prodotto -------------------------------- */
body .woocommerce-product-details__short-description ul{ margin-left: 1.05em; }
body .woocommerce-product-details__short-description li{ margin-bottom: 6px; }

/* ---- mobile ------------------------------------------------------------- */
@media (max-width: 767px){
  :root{ --yb-c-h2-gap: 40px; --yb-c-h3-gap: 26px; --yb-c-measure: 100%; --yb-c-section-gap: 48px; }
  body .wpb_text_column.wpb_text_column.wpb_text_column h2,
  body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel h2,
  body .term-description.term-description.term-description h2,
  body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text h2,
  body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo h2{
    font-size: 22px;
  }
  body .wpb_text_column.wpb_text_column.wpb_text_column h3,
  body .woocommerce-Tabs-panel.woocommerce-Tabs-panel.woocommerce-Tabs-panel h3,
  body .term-description.term-description.term-description h3,
  body .yb-cat-grid-seo__text.yb-cat-grid-seo__text.yb-cat-grid-seo__text h3,
  body .yb-cat-grid-seo.yb-cat-grid-seo.yb-cat-grid-seo h3{
    font-size: 19px;
  }
}
/* ======================= fine content design ============================ */
