<?php
// Add plugin-specific colors and fonts to the custom CSS
if ( ! function_exists( 'integro_woocommerce_extensions_get_css' ) ) {
	add_filter( 'integro_filter_get_css', 'integro_woocommerce_extensions_get_css', 10, 2 );
	function integro_woocommerce_extensions_get_css( $css, $args ) {

		if ( isset( $css['fonts'] ) && isset( $args['fonts'] ) ) {
			$fonts         = $args['fonts'];
			$css['fonts'] .= <<<CSS

.woocommerce-accordion.integro_accordion .woocommerce-accordion-title {
	{$fonts['h5_font-family']}
	{$fonts['h5_font-weight']}
	{$fonts['h5_text-transform']}
	{$fonts['h5_letter-spacing']}
}
.single_product_custom_text_style {
	{$fonts['h5_font-family']}
}
.single_product_custom_text_style .r-info{
	{$fonts['p_font-family']}
}

CSS;
		}

		return $css;
	}
}