/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


add_action('admin_head', function () {
	
	$font_url = 'https://shop.frontbaz.ir/wp-content/uploads/2025/11/YekanBakhFaNum-Regular.woff2';
    $font_name = 'YekanBakh';
    
    echo '<style>
        @font-face {
            font-family: "' . $font_name . '";
            src: url("' . $font_url . '") format("woff2");
            font-weight: normal;
            font-style: normal;
			font-display: swap;
        }
        body, 
		#wpwrap, 
		#wpadminbar, 
		#wpadminbar *:not(.ab-icon),
        .wp-core-ui, 
		.media-menu, 
		.media-frame-title,
        h1, h2, h3, h4, h5, h6, 
		.components-notice__content,
		.wp-switch-editor,
		.wc-metaboxes-wrapper .wc-metabox h3 select {
            font-family: "' . $font_name . '", sans-serif !important;
        }
    </style>';
});