@font-face {
  font-family: 'Bellefair';
  src: url('/wp-content/themes/divi-child/fonts/Bellefair.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Besser für Performance und visuelles Laden */
}

/*---------------------------------------------------------------------------------

 Theme Name:   Divi Child
 Theme URI:    https://authenticsicily.it
 Description:  Child Theme für individuelle Anpassungen im Divi Theme – sicher updatesicher
 Author:       Authentic Sicily UG (haftungsbeschränkt)
 Author URI:   https://authenticsicily.it
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

/* Hauptpreis (z. B. 8,00 €) */
body.archive.woocommerce ul.products li.product .woocommerce-Price-amount {
  font-size: 18px !important;
  font-family: 'Bellefair' !important;
  color: #000 !important;
  font-weight: normal !important;
  display: block !important;
}

/* "Produkt enthält: xx g" */
body.archive.woocommerce ul.products li.product .product_meta,
body.archive.woocommerce ul.products li.product .product_meta span {
  font-size: 14px !important;
  color: #666 !important;
  font-family: 'Bellefair' !important;
  display: block !important;
  margin-top: 4px !important;
}

/* Schrift global auf Bellefair setzen */
body {
  font-family: 'Bellefair' !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
  backface-visibility: hidden !important;
  transform: scale(1.001) !important;
}

/* Inline-Stil-Überschreibungen (z. B. aus dem Divi Builder) */
span[style*="font-family: bellefair"],
p[style*="font-family: bellefair"] {
  font-family: 'Bellefair' !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
  backface-visibility: hidden !important;
  transform: scale(1.001) !important;
}

/* Erweiterter Chrome-Fix für Inline-Styling in Divi */
.et_pb_text_inner span[style*="font-family: bellefair"],
.et_pb_module span[style*="font-family: bellefair"],
.et_pb_module p[style*="font-family: bellefair"],
.et_pb_text_inner p[style*="font-family: bellefair"] {
  font-family: 'Bellefair' !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
  backface-visibility: hidden !important;
  transform: scale(1.001) !important;
}

/* Erzwingt Bellefair für alle Module – höchste Spezifität */
body *,
.et_pb_module *,
.et_pb_text_inner *,
.woocommerce-loop-product__title,
.et_pb_tab_content {
  font-family: 'Bellefair' !important;

}
