/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
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: 1.0.1
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
/* 2. CSS Hide for Elementor & Pages (Shop Managers) */
add_action('admin_head', 'wb_css_hide_elementor_for_shop_manager');

function wb_css_hide_elementor_for_shop_manager() {
    // Only apply to Shop Managers who are NOT administrators
    if ( current_user_can('shop_manager') && !current_user_can('administrator') ) {
        echo '<style>
            /* Hide the Pages menu */
            #menu-pages, 
            /* Hide the Elementor menu */
            #toplevel_page_elementor, 
            /* Hide the Elementor Templates/Theme Builder menu */
            #menu-posts-elementor_library,
            /* Hide the "Edit with Elementor" top bar button */
            #wp-admin-bar-elementor_inspector,
            #wp-admin-bar-elementor_edit_page { 
                display: none !important; 
            }
        </style>';
    }
}
*/
