/**
 * Theme Name:     Energiewacht
 * Author:         TOOL2MATCH
 * Template:       Divi
 * Text Domain:	   energiewacht
 * Description:    Smart. Flexible. Beautiful. 
 * Theme URI:      https://tool2match.nl
 * Author URI:     http://TOOL2MATCH
 * Version:        1.0
 * License:        MIT
 */

/* 1) Font inladen */
@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit-Medium.woff2') format('woff2'),
       url('fonts/Outfit-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* 2) Variabele voor gemak */
:root { 
	--heading-font: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
}

/* 3) Globale headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font) !important;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 4) Divi specifieke heading-classes en contexten */
.et_pb_module_header,
.et_pb_text h1, .et_pb_text h2, .et_pb_text h3, .et_pb_text h4, .et_pb_text h5, .et_pb_text h6,
.et_pb_fullwidth_header .header-content h1,
.et_pb_title_container h1.entry-title,
.et_pb_post .entry-title,
.et_pb_slider .et_pb_slide_description .et_pb_slide_title,
.et_pb_fullwidth_slider .et_pb_slide_description .et_pb_slide_title,
.et_pb_blurb .et_pb_module_header,
.et_pb_toggle .et_pb_toggle_title,
.et_pb_pricing_heading h2,
.et_pb_number_counter .percent-value,
.et_pb_circle_counter .percent,
.et_pb_countdown_timer .title,
.et_pb_portfolio_item h2,
.et_pb_filterable_portfolio .et_pb_portfolio_item h2,
.et_pb_team_member .et_pb_team_member_name {
  font-family: var(--heading-font) !important;
  font-weight: 500 !important;
}

/* 5) WooCommerce titels (optioneel) */
.woocommerce div.product .product_title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--heading-font) !important;
  font-weight: 500 !important;
}

/* 6) Optioneel: iets strakkere letterspatiëring op grote koppen */
h1, h2 { letter-spacing: -0.01em; }