<?php

/*
* One value *

'condition' => array(
    'element' => 'element',
    'value'   => 'value',
)

* Array *

'condition' => array(
    'element' => array('element1', 'element2'),
    'value'   => array('value1', 'value2'),
)

* Not Value *

'condition' => array(
    'element' => 'element',
    'value'   => '!value',
)


*/

class Aidoo_Customize_Options
{
    public function footer()
    {
        return array(
            'title' => esc_html__('Footer', 'aidoo'),
            'priority' => 17,
            'options' => array(
                'nbcore_footer_bot_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Footer section', 'aidoo'),
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_show_footer_bot' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show this section', 'aidoo'),
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_footer_bot_layout' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Columns', 'aidoo'),
                        'type' => 'Aidoo_Customize_Control_Radio_Image',
                        'choices' => array(
                            'layout-1' => get_template_directory_uri() . '/assets/images/options/footers/footer-1.png',
                            'layout-2' => get_template_directory_uri() . '/assets/images/options/footers/footer-2.png',
                            'layout-3' => get_template_directory_uri() . '/assets/images/options/footers/footer-3.png',
                            'layout-4' => get_template_directory_uri() . '/assets/images/options/footers/footer-4.png',
                            'layout-5' => get_template_directory_uri() . '/assets/images/options/footers/footer-5.png',
                            'layout-6' => get_template_directory_uri() . '/assets/images/options/footers/footer-6.png',
                            'layout-7' => get_template_directory_uri() . '/assets/images/options/footers/footer-7.png',
                            'layout-8' => get_template_directory_uri() . '/assets/images/options/footers/footer-8.png',
                            'layout-9' => get_template_directory_uri() . '/assets/images/options/footers/footer-9.png',
                            'layout-10' => get_template_directory_uri() . '/assets/images/options/footers/footer-10.png',
                        ),
                    ),
                ),
                'nbcore_footer_bot_padding_top' => array(
                    'settings' => array(
                        'sanitize_callback' => 'absint',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Padding top', 'aidoo'),
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '0',
                            'max' => '100',
                            'step' => '1',
                        ),
                    ),
                ),
                'nbcore_footer_bot_padding_bottom' => array(
                    'settings' => array(
                        'sanitize_callback' => 'absint',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Padding bottom', 'aidoo'),
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '0',
                            'max' => '100',
                            'step' => '1',
                        ),
                    ),
                ),
                'nbcore_footer_bot_border_top_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Border Top Color', 'aidoo'),
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_footer_bot_border_bot_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Border Bottom Color', 'aidoo'),
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_enable_colorful_widget_title' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Enable colorful widget title', 'aidoo'),
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_footer_abs_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Absolute Footer', 'aidoo'),
                        'description' => esc_html__('These area take text and HTML code for its content', 'aidoo'),
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_footer_abs_left_content' => array(
                    'settings' => array(
                        'sanitize_callback' => ''
                    ),
                    'controls' => array(
                        'label' => esc_html__('Left content', 'aidoo'),
                        'type' => 'textarea',
                    ),
                ),
                'nbcore_footer_abs_right_content' => array(
                    'settings' => array(
                        'sanitize_callback' => ''
                    ),
                    'controls' => array(
                        'label' => esc_html__('Right content', 'aidoo'),
                        'type' => 'textarea',
                    ),
                ),
                'nbcore_footer_abs_padding' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Padding top and bottom', 'aidoo'),
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '5',
                            'max' => '60',
                            'step' => '1',
                        ),
                    ),
                ),
                'nbcore_footer_color_focus' => array(
                    'settings' => array(),
                    'controls' => array(
                        'type' => 'Aidoo_Customize_Control_Focus',
                        'choices' => array(
                            'footer_colors' => esc_html__('Edit color', 'aidoo'),
                        ),
                    ),
                ),
            ),
        );
    }

    public function blog()
    {
        return array(
            'title' => esc_html__('Blog', 'aidoo'),
            'priority' => 16,
            'sections' => array(
                'blog_general' => array(
                    'title' => esc_html__('General', 'aidoo')
                ),
                'blog_archive' => array(
                    'title' => esc_html__('Blog Archive', 'aidoo'),
                ),
                'blog_single' => array(
                    'title' => esc_html__('Blog Single', 'aidoo')
                ),
            ),
            'options' => array(
                'nbcore_blog_layout_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Layout', 'aidoo'),
                        'section' => 'blog_general',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_blog_sidebar' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Sidebar position', 'aidoo'),
                        'section' => 'blog_general',
                        'type' => 'Aidoo_Customize_Control_Radio_Image',
                        'choices' => array(
                            'left-sidebar' => get_template_directory_uri() . '/assets/images/options/2cl.png',
                            'no-sidebar' => get_template_directory_uri() . '/assets/images/options/1c.png',
                            'right-sidebar' => get_template_directory_uri() . '/assets/images/options/2cr.png',
                        ),
                    ),
                ),
                'nbcore_blog_width' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Blog width', 'aidoo'),
                        'section' => 'blog_general',
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => '%',
                            'min' => '60',
                            'max' => '80',
                            'step' => '1'
                        ),
                        'condition' => array(
                            'element' => 'nbcore_blog_sidebar',
                            'value'   => '!no-sidebar',
                        )
                    ),
                ),
                'nbcore_blog_meta_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Post meta', 'aidoo'),
                        'section' => 'blog_general',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_blog_meta_date' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show date', 'aidoo'),
                        'section' => 'blog_general',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_blog_meta_read_time' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show time to read', 'aidoo'),
                        'section' => 'blog_general',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_blog_meta_author' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show author', 'aidoo'),
                        'section' => 'blog_general',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_blog_meta_category' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show categories', 'aidoo'),
                        'section' => 'blog_general',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_blog_meta_view' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show View On Hover', 'aidoo'),
                        'section' => 'blog_general',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_blog_meta_tag' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show Tags', 'aidoo'),
                        'section' => 'blog_general',
                        'type' => 'Aidoo_Customize_Control_Switch',
                        'condition' => array(
                            'element' => 'nbcore_blog_archive_layout',
                            'value'   => 'classic',
                        )
                    ),
                ),
                'nbcore_blog_other_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Other', 'aidoo'),
                        'section' => 'blog_general',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_blog_sticky_sidebar' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Sticky sidebar', 'aidoo'),
                        'section' => 'blog_general',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_blog_meta_align' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Meta align', 'aidoo'),
                        'section' => 'blog_general',
                        'type' => 'Aidoo_Customize_Control_Radio_Image',
                        'choices' => array(
                            'left' => get_template_directory_uri() . '/assets/images/options/meta-left.png',
                            'center' =>get_template_directory_uri() . '/assets/images/options/meta-center.png',
                            'right' => get_template_directory_uri() . '/assets/images/options/meta-right.png',
                        ),
                    ),
                ),
                'nbcore_blog_archive_layout' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Blog Archive Layout', 'aidoo'),
                        'section' => 'blog_archive',
                        'type' => 'Aidoo_Customize_Control_Radio_Image',
                        'choices' => array(
                            'classic' => get_template_directory_uri() . '/assets/images/options/classic.png',
                            'masonry' => get_template_directory_uri() . '/assets/images/options/masonry.png',
                        ),
                    ),
                ),
                'nbcore_blog_masonry_columns' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Masonry Columns', 'aidoo'),
                        'section' => 'blog_archive',
                        'type' => 'Aidoo_Customize_Control_Select',
                        'choices' => array(
                            '2' => esc_html__('2', 'aidoo'),
                            '3' => esc_html__('3', 'aidoo'),
                        ),
                        'condition' => array(
                            'element' => 'nbcore_blog_archive_layout',
                            'value'   => 'masonry',
                        )
                    ),
                ),
                'nbcore_blog_archive_post_style' => array(
                    'settings' => array(
                        'default' => '',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection'),
                    ),
                    'controls' => array(
                        'label' => esc_html__('Archive Post style', 'aidoo'),
                        'section' => 'blog_archive',
                        'type' => 'Aidoo_Customize_Control_Radio_Image',
                        'choices' => array(
                            'style-1' => get_template_directory_uri() . '/assets/images/options/post-style-1.png',
                            'style-2' => get_template_directory_uri() . '/assets/images/options/post-style-2.png',
                        ),
                    ),
                ),
                'nbcore_blog_archive_summary' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show Post summary', 'aidoo'),
                        'section' => 'blog_archive',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_blog_display_swipper' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show Post Slide', 'aidoo'),
                        'section' => 'blog_archive',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_excerpt_only' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show Excerpt Only', 'aidoo'),
                        'section' => 'blog_archive',
                        'type' => 'Aidoo_Customize_Control_Switch',
                        'condition' => array(
                            'element' => array('nbcore_blog_archive_layout', 'nbcore_blog_archive_summary'),
                            'value'   => array('classic', 1),
                        )
                    ),
                ),
                'nbcore_excerpt_length' => array(
                    'settings' => array(
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Excerpt Length', 'aidoo'),
                        'section' => 'blog_archive',
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'min' => '20',
                            'max' => '100',
                            'step' => '1',
                        ),
                        'condition' => array(
                            'element' => 'nbcore_excerpt_only',
                            'value'   => 1,
                        )
                    ),
                ),
                'nbcore_blog_archive_comments' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show Comments number', 'aidoo'),
                        'section' => 'blog_archive',
                        'type' => 'Aidoo_Customize_Control_Switch',
                        'condition' => array(
                            'element' => 'nbcore_blog_archive_layout',
                            'value'   => 'classic',
                        )
                    ),
                ),
                'nbcore_blog_single_title_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Post title', 'aidoo'),
                        'section' => 'blog_single',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_blog_single_title_position' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Post title style', 'aidoo'),
                        'section' => 'blog_single',
                        'type' => 'Aidoo_Customize_Control_Radio_Image',
                        'choices' => array(
                            'position-1' => get_template_directory_uri() . '/assets/images/options/post-title-1.png',
                            'position-2' => get_template_directory_uri() . '/assets/images/options/post-title-2.png',
                        ),
                    ),
                ),
                'nbcore_blog_bg_single_title' => array(
                    'settings' => array(
                        'default' => '',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Background Blog Single Title', 'aidoo'),
                        'section' => 'blog_single',
                        'type' => 'WP_Customize_Cropped_Image_Control',
                        'flex_width'  => true,
                        'flex_height' => true,
                        'width' => 2000,
                        'height' => 1000,
                        'condition' => array(
                            'element' => 'nbcore_blog_single_title_position',
                            'value'   => 'position-1',
                        )
                    ),
                ),
                'nbcore_blog_single_title_size' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Font size', 'aidoo'),
                        'section' => 'blog_single',
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '16',
                            'max' => '70',
                            'step' => '1',
                        ),
                    ),
                ),
                'nbcore_blog_single_layout_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Layout', 'aidoo'),
                        'section' => 'blog_single',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_blog_single_show_thumb' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('featured thumbnail', 'aidoo'),
                        'description' => esc_html__('Show featured thumbnail of this post on top of its content', 'aidoo'),
                        'section' => 'blog_single',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    )
                ),
                'nbcore_blog_single_show_social' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show social button', 'aidoo'),
                        'section' => 'blog_single',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_blog_single_show_author' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show author info', 'aidoo'),
                        'section' => 'blog_single',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_blog_single_show_nav' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show post navigation', 'aidoo'),
                        'section' => 'blog_single',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_blog_single_show_comments' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show post comments', 'aidoo'),
                        'section' => 'blog_single',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                )
            ),
        );
    }

    public static function pages()
    {
        return array(
            'title' => esc_html__('Pages', 'aidoo'),
            'priority' => 18,
            'sections' => array(
                'pages_general' => array(
                    'title' => esc_html__('General', 'aidoo')
                ),   
            ),
            'options' => array(
                'nbcore_pages_layout_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Layout', 'aidoo'),
                        'section' => 'pages_general',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_page_title_layout' => array(
                    'settings' => array(
                        'default' => false,
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Page Title Container', 'aidoo'),
                        'section' => 'pages_general',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_page_title_image' => array(
                    'settings' => array(
                        'default'=>''
                        //'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_file_image')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Image Background Title Pages', 'aidoo'),
                        'section' => 'pages_general',
                        'type' => 'WP_Customize_Cropped_Image_Control',
                        'flex_width'  => true,
                        'flex_height' => true,
                        'width' => 2000,
                        'height' => 1000,
                    ),
                ),
                'nbcore_pages_sidebar' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Sidebar position', 'aidoo'),
                        'section' => 'pages_general',
                        'type' => 'Aidoo_Customize_Control_Radio_Image',
                        'choices' => array(
                            'left-sidebar' => get_template_directory_uri() . '/assets/images/options/2cl.png',
                            'no-sidebar' => get_template_directory_uri() . '/assets/images/options/1c.png',
                            'right-sidebar' => get_template_directory_uri() . '/assets/images/options/2cr.png',
                        ),
                    ),
                ),                
                'nbcore_page_content_width' => array(
                    'settings' => array(
                        'default' => '70',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Page content width', 'aidoo'),
                        'section' => 'pages_general',
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => '%',
                            'min' => '60',
                            'max' => '80',
                            'step' => '1'
                        ),
                        'condition' => array(
                            'element' => 'nbcore_pages_sidebar',
                            'value'   => '!no-sidebar',
                        )
                    ),
                ), 
                
            ),
        );
    }

    public function nblayout()
    {
        return array(
            'title' => esc_html__('Layout', 'aidoo'),
            'priority' => 15,
            'sections' => array(
                'site_layout' => array(
                    'title' => esc_html__('Layout', 'aidoo'),
                ),

            ),
            'options' => array(

                'nbcore_container_width' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Container Width', 'aidoo'),
                        'section' => 'site_layout',
                        'type' => 'select',
                        'choices' => array(
                            '1170' => esc_html__('Standard (1170px)', 'aidoo'),
                            '1470' => esc_html__('Wide (1470px)', 'aidoo'),
                            '1790' => esc_html__('Super Wide (1790px)', 'aidoo'),
                        ),
                        'default' => '1170',
                        'description' => 'Wide option only works on screen resolution >= 1920px'
                    ),
                ),
            ),
        );
    }

    public function color()
    {
        return array(
            'title' => esc_html__('Color', 'aidoo'),
            'priority' => 13,
            'sections' => array(
                'general_color' => array(
                    'title' => esc_html__('General', 'aidoo')
                ),
                'type_color' => array(
                    'title' => esc_html__('Type', 'aidoo')
                ),
                'header_colors' => array(
                    'title' => esc_html__('Header', 'aidoo')
                ),
                'footer_colors' => array(
                    'title' => esc_html__('Footer', 'aidoo')
                ),
                'button_colors' => array(
                    'title' => esc_html__('Buttons', 'aidoo')
                ),
                'other_colors' => array(
                    'title' => esc_html__('Other', 'aidoo')
                ),
            ),
            'options' => array(
                'nbcore_main_colors_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Main Colors', 'aidoo'),
                        'section' => 'general_color',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_primary_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Primary Color', 'aidoo'),
                        'section' => 'general_color',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_secondary_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Secondary Color', 'aidoo'),
                        'section' => 'general_color',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_background_colors_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Background', 'aidoo'),
                        'section' => 'general_color',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_background_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Site Background Color', 'aidoo'),
                        'section' => 'general_color',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_inner_background' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Inner Background Color', 'aidoo'),
                        'section' => 'general_color',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_text_colors_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Text', 'aidoo'),
                        'section' => 'type_color',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_heading_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Heading Color', 'aidoo'),
                        'section' => 'type_color',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_body_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Body Color', 'aidoo'),
                        'section' => 'type_color',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_link_colors_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Link', 'aidoo'),
                        'section' => 'type_color',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_link_color' => array(
                    'settings' => array(
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Link Color', 'aidoo'),
                        'section' => 'type_color',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_link_hover_color' => array(
                    'settings' => array(
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Link Hover Color', 'aidoo'),
                        'section' => 'type_color',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_divider_colors_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Divider', 'aidoo'),
                        'section' => 'type_color',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_divider_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Divider Color', 'aidoo'),
                        'section' => 'type_color',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_top_colors_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Header Top', 'aidoo'),
                        'section' => 'header_colors',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_header_top_bg' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('background color', 'aidoo'),
                        'section' => 'header_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_top_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text color', 'aidoo'),
                        'section' => 'header_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_top_color_hover' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text color hover', 'aidoo'),
                        'section' => 'header_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_middle_colors_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Header Middle', 'aidoo'),
                        'section' => 'header_colors',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_header_middle_bg' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('background color', 'aidoo'),
                        'section' => 'header_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_middle_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text color', 'aidoo'),
                        'section' => 'header_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_middle_color_hover' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text color hover', 'aidoo'),
                        'section' => 'header_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_bottom_colors_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Header Bottom', 'aidoo'),
                        'section' => 'header_colors',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_header_bot_bg' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('background color', 'aidoo'),
                        'section' => 'header_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_bot_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text color', 'aidoo'),
                        'section' => 'header_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_mainmn_colors_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Main Menu', 'aidoo'),
                        'section' => 'header_colors',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_main_menu_customize' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Use Main Menu Customize', 'aidoo'),
                        'section' => 'header_colors',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_header_mainmn_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text color', 'aidoo'),
                        'section' => 'header_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_mainmn_head_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text color Heading', 'aidoo'),
                        'section' => 'header_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_mainmn_bor' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Border color', 'aidoo'),
                        'section' => 'header_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_mainmnhover_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text hover', 'aidoo'),
                        'section' => 'header_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_mainmnhover_bor' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('border hover', 'aidoo'),
                        'section' => 'header_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_footer_bot_color_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Footer', 'aidoo'),
                        'section' => 'footer_colors',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_footer_bot_heading' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Heading color', 'aidoo'),
                        'section' => 'footer_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_footer_bot_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text color', 'aidoo'),
                        'section' => 'footer_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_footer_bot_bg' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Background color', 'aidoo'),
                        'section' => 'footer_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_footer_abs_color_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Footer Absolute Bottom', 'aidoo'),
                        'section' => 'footer_colors',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_footer_abs_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text color', 'aidoo'),
                        'section' => 'footer_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_footer_abs_bg' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Background color', 'aidoo'),
                        'section' => 'footer_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_pb_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Primary button', 'aidoo'),
                        'section' => 'button_colors',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_pb_background' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Background', 'aidoo'),
                        'section' => 'button_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_pb_background_hover' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Background Hover', 'aidoo'),
                        'section' => 'button_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_pb_text' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text', 'aidoo'),
                        'section' => 'button_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_pb_text_hover' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text hover', 'aidoo'),
                        'section' => 'button_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_pb_border' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Border', 'aidoo'),
                        'section' => 'button_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_pb_border_hover' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Border hover', 'aidoo'),
                        'section' => 'button_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_pb_mask' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show mask', 'aidoo'),
                        'section' => 'button_colors',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_sb_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Secondary button', 'aidoo'),
                        'section' => 'button_colors',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_sb_background' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Background', 'aidoo'),
                        'section' => 'button_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_sb_background_hover' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Background Hover', 'aidoo'),
                        'section' => 'button_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_sb_text' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text', 'aidoo'),
                        'section' => 'button_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_sb_text_hover' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text hover', 'aidoo'),
                        'section' => 'button_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_sb_border' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Border', 'aidoo'),
                        'section' => 'button_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_sb_border_hover' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Border hover', 'aidoo'),
                        'section' => 'button_colors',
                        'type' => 'Aidoo_Customize_Control_Color',
                    ),
                ),
                'nbcore_page_title_color_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Page title', 'aidoo'),
                        'section' => 'other_colors',
                        'type' => 'Aidoo_Customize_Control_Heading'
                    ),
                ),
                'nbcore_page_title_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text color', 'aidoo'),
                        'section' => 'other_colors',
                        'type' => 'Aidoo_Customize_Control_Color'
                    ),
                ),
            ),
        );
    }

    public function elements()
    {
        return array(
            'title' => esc_html__('Elements', 'aidoo'),
            'priority' => 12,
            'sections' => array(
                'title_section_element' => array(
                    'title' => esc_html__('Title Section', 'aidoo')
                ),
                'button_element' => array(
                    'title' => esc_html__('Button', 'aidoo')
                ),
                'share_buttons_element' => array(
                    'title' => esc_html__('Social Share', 'aidoo')
                ),
                'pagination_element' => array(
                    'title' => esc_html__('Pagination', 'aidoo')
                ),
                'back_top_element' => array(
                    'title' => esc_html__('Back to Top Button', 'aidoo')
                ),
                'preloading_element' => array(
                    'title' => esc_html__('Preloading', 'aidoo')
                )
            ),
            'options' => array(
                'show_title_section' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show title section', 'aidoo'),
                        'section' => 'title_section_element',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'home_page_title_section' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show Homepage title', 'aidoo'),
                        'description' => esc_html__('Turn this off to not display the title section for only homepage', 'aidoo'),
                        'section' => 'title_section_element',
                        'type' => 'Aidoo_Customize_Control_Switch',
                        'condition' => array(
                            'element' => 'show_title_section',
                            'value'   => 1,
                        )
                    ),
                    
                ),
                'nbcore_page_title_size' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Font size', 'aidoo'),
                        'section' => 'title_section_element',
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '16',
                            'max' => '70',
                            'step' => '1'
                        ),
                        'condition' => array(
                            'element' => 'show_title_section',
                            'value'   => 1,
                        )
                    ),
                ),
                'nbcore_page_title_padding' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Padding top and bottom', 'aidoo'),
                        'section' => 'title_section_element',
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '15',
                            'max' => '105',
                            'step' => '1'
                        ),
                        'condition' => array(
                            'element' => 'show_title_section',
                            'value'   => 1,
                        )
                    ),
                ),

                'nbcore_widget_title' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Change widget title', 'aidoo'),
                        'section' => 'title_section_element',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
               
                'nbcore_page_title_color_focus' => array(
                    'settings' => array(),
                    'controls' => array(
                        'section' => 'title_section_element',
                        'type' => 'Aidoo_Customize_Control_Focus',
                        'choices' => array(
                            'other_colors' => esc_html__('Edit color', 'aidoo')
                        ),
                    ),
                ),
                'nbcore_button_padding' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Padding left & right', 'aidoo'),
                        'section' => 'button_element',
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '5',
                            'max' => '60',
                            'step' => '1'
                        ),
                    ),
                ),
                'nbcore_button_border_radius' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Border Radius', 'aidoo'),
                        'section' => 'button_element',
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '0',
                            'max' => '50',
                            'step' => '1'
                        ),
                    ),
                ),
                'nbcore_button_border_width' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Border Width', 'aidoo'),
                        'section' => 'button_element',
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '0',
                            'max' => '10',
                            'step' => '1'
                        ),
                    ),
                ),
                'share_buttons_style' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Style','aidoo'),
                        'section' => 'share_buttons_element',
                        'type' => 'Aidoo_Customize_Control_Select',
                        'choices' => array(
                            'style-1' => esc_html__('Style 1', 'aidoo'),
                            'style-2' => esc_html__('Style 2', 'aidoo'),
                        ),
                    ),
                ),
                'share_buttons_position' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Buttons position','aidoo'),
                        'section' => 'share_buttons_element',
                        'type' => 'Aidoo_Customize_Control_Radio_Image',
                        'choices' => array(
                            'inside-content' => get_template_directory_uri() . '/assets/images/options/ss-inside.png',
                            'floating' => get_template_directory_uri() . '/assets/images/options/ss-floating.png',
                        ),
                    ),
                ),
                'pagination_style' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Style', 'aidoo'),
                        'section' => 'pagination_element',
                        'type' => 'Aidoo_Customize_Control_Select',
                        'choices' => array(
                            'pagination-style-1' => esc_html__('Style 1','aidoo'),
                            'pagination-style-2' => esc_html__('Style 2','aidoo'),
                        ),
                    ),
                ),
                'show_back_top' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show button', 'aidoo'),
                        'section' => 'back_top_element',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'back_top_shape' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show button', 'aidoo'),
                        'section' => 'back_top_element',
                        'type' => 'Aidoo_Customize_Control_Select',
                        'choices' => array(
                            'circle' => esc_html__('Circle','aidoo'),
                            'square' => esc_html__('Square','aidoo'),
                        ),
                    ),
                ),
                'back_top_style' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show button', 'aidoo'),
                        'section' => 'back_top_element',
                        'type' => 'Aidoo_Customize_Control_Select',
                        'choices' => array(
                            'light' => esc_html__('Light','aidoo'),
                            'dark' => esc_html__('Dark','aidoo'),
                        ),
                    ),
                ),
                'nbcore_header_preloading' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show Preloading', 'aidoo'),
                        'section' => 'preloading_element',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_header_style_preloading' => array(
                    'settings' => array(
                        'transport' => 'refresh',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Choose style preloading', 'aidoo'),
                        'section' => 'preloading_element',
                        'type' => 'Aidoo_Customize_Control_Select',
                        'condition' => array(
                            'element' => 'nbcore_header_preloading',
                            'value' => 1,
                        ),
                        'choices' => array(
                            'demo1' => 'Square',
                            'demo2' => 'Square Zoom',
                            'demo3' => 'Square Rotate',
                            'demo4' => 'square Scale',
                            'demo5' => 'Square Shape',
                            'demo6' => 'Square Double Rotate',
                            'demo7' => 'Square Zoom & Rotate',
                            'demo8' => 'Square Dance',
                            'demo9' => 'Square Interleaved',
                            'demo10' => 'Circle Toggle',
                            'demo11' => 'Circle Zoom',
                            'demo12' => 'Circle Scroll',
                            'demo13' => 'Circle Dance',
                            'demo14' => 'Twisted',
                            'demo15' => 'Twisted Sporadic',
                        ),
                        
                    ),
                ),
            ),
        );
    }

    public function header()
    {
        return array(
            'title' => esc_html__('Header Options', 'aidoo'),
            'description' => esc_html__('header description', 'aidoo'),
            'priority' => 11,
            'sections' => array(
                'header_presets' => array(
                    'title' => esc_html__('Presets', 'aidoo'),
                ),
                'header_general' => array(
                    'title' => esc_html__('Sections', 'aidoo'),
                ),
            ),
            'options' => array(
                'header_heading' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Header style', 'aidoo'),
                        'description' => esc_html__('Quickly select a preset to change your header layout.', 'aidoo'),
                        'type' => 'Aidoo_Customize_Control_Heading',
                        'section' => 'header_presets',
                    ),
                ),
                'nbcore_header_style' => array(
                    'settings' => array(
                        'transport' => 'refresh',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'section' => 'header_presets',
                        'type' => 'Aidoo_Customize_Control_Radio_Image',
                        'choices' => array(
                            'aidoo-header-1' => get_template_directory_uri() . '/assets/images/options/headers/left-inline.png',
                            'aidoo-header-2' => get_template_directory_uri() . '/assets/images/options/headers/left-inline.png'
                        ),
                    ),
                ),
                'nbcore_general_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('General', 'aidoo'),
                        'section' => 'header_general',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                
                'nbcore_logo_upload' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_file_image')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Site Logo', 'aidoo'),
                        'section' => 'header_general',
                        'description' => esc_html__('If you don\'t upload logo image, your site\'s logo will be the Site Title ', 'aidoo'),
                        'type' => 'WP_Customize_Upload_Control'
                    ),
                ),
                'nbcore_logo_width' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Logo Area Width', 'aidoo'),
                        'section' => 'header_general',
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '100',
                            'max' => '600',
                            'step' => '10',
                        ),
                    ),
                ),
                'nbcore_logo_currency_width' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Logo Currency', 'aidoo'),
                        'section' => 'header_general',
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '10',
                            'max' => '64',
                            'step' => '1',
                        ),
                    ),
                ),
                'nbcore_menu_resp' => array(
                    'settings' => array(
                        'default' => '768',
                        'transport' => 'postMessage',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Menu Responsive', 'aidoo'),
                        'section' => 'header_general',
                        'type' => 'select',
                        'choices' => array(
                            '576' => esc_html__('576 px', 'aidoo'),
                            '768' => esc_html__('768 px', 'aidoo'),
                            '992' => esc_html__('992 px', 'aidoo'),
                            '1200' => esc_html__('1200 px', 'aidoo'),
                        ),
                    ),
                ),
                'nbcore_header_fixed' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Fixed header', 'aidoo'),
                        'section' => 'header_general',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_header_top_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Header topbar', 'aidoo'),
                        'section' => 'header_general',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_top_section_padding' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Top & bottom padding', 'aidoo'),
                        'section' => 'header_general',
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '0',
                            'max' => '45',
                            'step' => '1'
                        ),
                    ),
                ),
                'nbcore_header_middle_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Header Middle', 'aidoo'),
                        'section' => 'header_general',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_middle_section_padding' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Top & bottom padding', 'aidoo'),
                        'section' => 'header_general',
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '0',
                            'max' => '45',
                            'step' => '1'
                        ),
                    ),
                ),
                'nbcore_header_bot_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Header bottom', 'aidoo'),
                        'section' => 'header_general',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_bot_section_padding' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Top & bottom padding', 'aidoo'),
                        'section' => 'header_general',
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '0',
                            'max' => '45',
                            'step' => '1'
                        ),
                    ),
                ),
                'nbcore_header_color_focus' => array(
                    'settings' => array(),
                    'controls' => array(
                        'section' => 'header_general',
                        'type' => 'Aidoo_Customize_Control_Focus',
                        'choices' => array(
                            'header_colors' => esc_html__('Edit color', 'aidoo'),
                        ),
                    ),
                ),

            ),
        );
    }

    public function typo()
    {
        return array(
            'title' => esc_html__('Typography', 'aidoo'),
            'priority' => 14,
            'options' => array(
                'body_font_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Body Font', 'aidoo'),
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'body_font_family' => array(
                    'settings' => array(
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label'   => esc_html__( 'Font Family', 'aidoo' ),
                        'dependency' => 'body_font_style',
                        'type'    => 'Aidoo_Customize_Control_Typography',
                    ),
                ),
                'body_font_style' => array(
                    'settings' => array(
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Font Styles', 'aidoo'),
                        'type'    => 'Aidoo_Customize_Control_Font_Style',
                        'choices' => array(
                            'italic' => true,
                            'underline' => true,
                            'uppercase' => true,
                            'weight' => true,
                        )
                    ),
                ),
                'body_font_size' => array(
                    'settings' => array(
                        'sanitize_callback' => 'absint',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Font Size', 'aidoo'),
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '8',
                            'max' => '30',
                            'step' => '1',
                        ),
                    ),
                ),
                'heading_font_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Heading Font', 'aidoo'),
                        'section' => 'typography',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'heading_font_family' => array(
                    'settings' => array(
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label'   => esc_html__( 'Heading font', 'aidoo' ),
                        'dependency' => 'heading_font_style',
                        'type'    => 'Aidoo_Customize_Control_Typography',
                    ),
                ),
                'heading_font_style' => array(
                    'settings' => array(
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Font Styles', 'aidoo'),
                        'type'    => 'Aidoo_Customize_Control_Font_Style',
                        'choices' => array(
                            'italic' => true,
                            'underline' => true,
                            'uppercase' => true,
                            'weight' => true,
                        ),
                    ),
                ),
                'heading_base_size' => array(
                    'settings' => array(
                        'sanitize_callback' => 'absint',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Heading base size', 'aidoo'),
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '10',
                            'max' => '40',
                            'step' => '1',
                        ),
                    ),
                ),
                'font_type_scale' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Font type scale', 'aidoo'),
                        'type' => 'select',
                        'choices' => array(
                            'major_second' => esc_html__('1.125 — Major Second', 'aidoo'),
                            'major_third' => esc_html__('1.250 — Major Third', 'aidoo'),
                        ),
                    ),
                ),
                'subset_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Font subset', 'aidoo'),
                        'description' => esc_html__('Turn these settings on if you have to support these scripts', 'aidoo'),
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'subset_cyrillic' => array(
                    'settings' => array(
                        'transport' => 'refresh',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox'),
                    ),
                    'controls' => array(
                        'label'   => esc_html__( 'Cyrillic subset', 'aidoo' ),
                        'type'    => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'subset_greek' => array(
                    'settings' => array(
                        'transport' => 'refresh',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox'),
                    ),
                    'controls' => array(
                        'label'   => esc_html__( 'Greek subset', 'aidoo' ),
                        'type'    => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'subset_vietnamese' => array(
                    'settings' => array(
                        'transport' => 'refresh',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox'),
                    ),
                    'controls' => array(
                        'label'   => esc_html__( 'Vietnamese subset', 'aidoo' ),
                        'type'    => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'font_color_focus' => array(
                    'settings' => array(),
                    'controls' => array(
                        'type'    => 'Aidoo_Customize_Control_Focus',
                        'choices' => array(
                            'type_color' => esc_html__('Edit font color', 'aidoo'),
                        ),
                    ),
                ),
            ),
        );
    }

    public function woocommerce()
    {
        return array(
            'title' => esc_html__('Shop', 'aidoo'),
            'priority' => 15,
            'sections' => array(
                'product_category' => array(
                    'title' => esc_html__('Product Category', 'aidoo'),
                ),
                'product_details' => array(
                    'title' => esc_html__('Product Details', 'aidoo'),
                ),
                'other_wc_pages' => array(
                    'title' => esc_html__('Other Pages', 'aidoo'),
                ),
            ),
            'options' => apply_filters('attribute_hook', array(
                'nbcore_pa_title_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Product category title', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_shop_title' => array(
                    'settings' => array(
                        'default' => esc_html__('Shop', 'aidoo'),
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Shop page title', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'text',
                    ),
                ),
                'nbcore_wc_breadcrumb' => array(
                    'settings' => array(
                        'default' => true,
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show breadcrumb ?', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_pa_layout_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Product category layout', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_shop_sidebar' => array(
                    'settings' => array(
                        'default' => 'right-sidebar',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Sidebar Layout', 'aidoo'),
                        'section' => 'product_category',
                        'description' => esc_html__('Sidebar Position for product category and shop page', 'aidoo'),
                        'type' => 'Aidoo_Customize_Control_Radio_Image',
                        'choices' => array(
                            'left-sidebar' => get_template_directory_uri() . '/assets/images/options/2cl.png',
                            'no-sidebar' => get_template_directory_uri() . '/assets/images/options/1c.png',
                            'right-sidebar' => get_template_directory_uri() . '/assets/images/options/2cr.png',
                        ),
                    ),
                ),
                'nbcore_shop_content_width' => array(
                    'settings' => array(
                        'default' => '70',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Woocommerce content width', 'aidoo'),
                        'description' => esc_html__('This options also effect Cart page', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => '%',
                            'min' => '60',
                            'max' => '80',
                            'step' => '1'
                        ),
                        'condition' => array(
                            'element' => 'nbcore_shop_sidebar',
                            'value'   => '!no-sidebar',
                        )
                    ),
                ),
                'shop_sticky_sidebar' => array(
                    'settings' => array(
                        'default' => 'right-sidebar',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Sticky Sidebar', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),

                'shop_upsells_products' => array(
                    'settings' => array(
                        'default' => false,
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show up sell product', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'Aidoo_Customize_Control_Switch'
                    ),
                ),

                'nbcore_product_meta_align' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Choose product meta align', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'select',
                        'choices' => array(
                            'left' => esc_html__('Left', 'aidoo'),
                            'center' => esc_html__('Center', 'aidoo'),
                            'right' => esc_html__('Right', 'aidoo'),
                        ),
                        'default' => 'left'
                    ),
                ),

                'nbcore_product_price_style' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Choose product price style', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'select',
                        'choices' => array(
                            'default_woo' => esc_html__('Default Woocommerce', 'aidoo'),
                            'space_between' => esc_html__('Space Between', 'aidoo'),
                            'no_strike' => esc_html__('No Strike', 'aidoo'),
                        ),
                        'default' => 'default_woo'
                    ),
                ),

                'nbcore_product_hover' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Choose product hover', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'select',
                        'choices' => array(
                            'image' => esc_html__('Display box shadow only product image', 'aidoo'),
                            'full_block' => esc_html__('Display box shadow whole product block', 'aidoo'),
                        ),
                        'default' => 'horizontal'
                    ),
                ),

                'nbcore_product_list' => array(
                    'settings' => array(
                        'default' => 'grid-type',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Product List Style', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'Aidoo_Customize_Control_Radio_Image',
                        'choices' => array(
                            'grid-type' => get_template_directory_uri() . '/assets/images/options/grid.png',
                            'list-type' => get_template_directory_uri() . '/assets/images/options/list.png',
                        ),
                    ),
                ),


                'nbcore_enable_product_title_bold' => array(
                    'settings' => array(
                        'default' => false,
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Enable Product Title Bold', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'Aidoo_Customize_Control_Switch'
                    ),
                ),
                
                'nbcore_grid_product_description' => array(
                    'settings' => array(
                        'default' => false,
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Product Description', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'Aidoo_Customize_Control_Switch',
                        'condition' => array(
                            'element' => 'nbcore_product_list',
                            'value'   => 'grid-type',
                        )
                    ),
                ),
                'nbcore_loop_columns' => array(
                    'settings' => array(
                        'default' => 'three-columns',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Products per row', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'Aidoo_Customize_Control_Radio_Image',
                        'choices' => array(
                            'two-columns' => get_template_directory_uri() . '/assets/images/options/2-columns.png',
                            'three-columns' => get_template_directory_uri() . '/assets/images/options/3-columns.png',
                            'four-columns' => get_template_directory_uri() . '/assets/images/options/4-columns.png',
                            'five-columns' => get_template_directory_uri() . '/assets/images/options/5-columns.png',
                        ),
                        'condition' => array(
                            'element' => 'nbcore_product_list',
                            'value'   => 'grid-type',
                        )
                    ),
                ),
                'nbcore_pa_other_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Other', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_shop_banner' => array(
                    'settings' => array(
                        'default' => '',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Shop Banner', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'WP_Customize_Cropped_Image_Control',
                        'flex_width'  => true,
                        'flex_height' => true,
                        'width' => 2000,
                        'height' => 1000,
                    ),
                ),
                'nbcore_shop_action' => array(
                    'settings' => array(
                        'default' => true,
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show shop action', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'Aidoo_Customize_Control_Switch'
                    ),
                ),
                'nbcore_product_rating' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show product rating', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'Aidoo_Customize_Control_Switch'
                    ),
                ),

                'nbcore_product_action_style' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Choose product action style', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'select',
                        'choices' => array(
                            //'center' => esc_html__('Center', 'aidoo'),
                            'vertical' => esc_html__('Vertical', 'aidoo'),
                            //'horizontal' => esc_html__('Horizontal', 'aidoo'),
                        ),
                        'default' => 'horizontal'
                    ),
                ),

                'nbcore_products_per_page' => array(
                    'settings' => array(
                        'default' => '12',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Products per Page', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'Aidoo_Customize_Control_Number',
                        'input_attrs' => array(
                            'min'   => 1,
                            'step'  => 1,
                        ),
                    ),
                ),
                'nbcore_wc_sale' => array(
                    'settings' => array(
                        'default' => 'style-1',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Choose sale tag style', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'Aidoo_Customize_Control_Select',
                        'choices' => array(
                            'style-1' => esc_html__('Style 1', 'aidoo'),
                            'style-2' => esc_html__('Style 2', 'aidoo'),
                            'style-3' => esc_html__('Style 3', 'aidoo'),
                        ),
                    ),
                ),
                'product_category_wishlist' => array(
                    'settings' => array(
                        'default' => false,
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Wishlist button', 'aidoo'),
                        'description' => esc_html__('This feature need YITH Woocommerce Wishlist plugin to be installed and activated', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'product_category_compare' => array(
                    'settings' => array(
                        'default' => false,
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Compare button', 'aidoo'),
                        'description' => esc_html__('This feature need YITH Woocommerce Compare plugin to be installed and activated', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'product_category_quickview' => array(
                    'settings' => array(
                        'default' => false,
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Quickview button', 'aidoo'),
                        'description' => esc_html__('This feature need YITH Woocommerce Quick View plugin to be installed and activated', 'aidoo'),
                        'section' => 'product_category',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_pd_layout_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Layout', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_pd_details_title' => array(
                    'settings' => array(
                        'default' => true,
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Enable Product title', 'aidoo'),
                        'description' => esc_html__('Default product title is not display if the Page title is showing. Enable this to displaying both.', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_pd_enable_review_rating' => array(
                    'settings' => array(
                        'default' => false,
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Enable Review Rating', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_pd_details_sidebar' => array(
                    'settings' => array(
                        'default' => 'right-sidebar',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Product details sidebar', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Radio_Image',
                        'choices' => array(
                            'left-sidebar' => get_template_directory_uri() . '/assets/images/options/2cl.png',
                            'no-sidebar' => get_template_directory_uri() . '/assets/images/options/1c.png',
                            'right-sidebar' => get_template_directory_uri() . '/assets/images/options/2cr.png',
                        ),
                    ),
                ),
                'nbcore_pd_details_width' => array(
                    'settings' => array(
                        'default' => '70',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Product details content width', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => '%',
                            'min' => '60',
                            'max' => '80',
                            'step' => '1'
                        ),
                        'condition' => array(
                            'element'   => 'nbcore_pd_details_sidebar',
                            'value'     => '!no-sidebar',
                        )
                    ),
                ),
                'product_sticky_sidebar' => array(
                    'settings' => array(
                        'default' => false,
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Sticky sidebar', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_pd_meta_layout' => array(
                    'settings' => array(
                        'default' => 'left-images',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Product meta layout', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Radio_Image',
                        'choices' => array(
                            'left-images' => get_template_directory_uri() . '/assets/images/options/left-image.png',
                            'right-images' => get_template_directory_uri() . '/assets/images/options/right-image.png',
                            'wide' => get_template_directory_uri() . '/assets/images/options/wide.png',
                        ),
                    ),
                ),
                'nbcore_add_cart_style' => array(
                    'settings' => array(
                        'default' => 'style-1',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Add to cart input style', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Select',
                        'choices' => array(
                            'style-1' => esc_html__('Style 1', 'aidoo'),
                            'style-2' => esc_html__('Style 2', 'aidoo'),
                        ),
                    ),
                ),
                'nbcore_pd_show_social' => array(
                    'settings' => array(
                        'default' => true,
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show social share?', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_pd_gallery_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Product Gallery', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_pd_images_width' => array(
                    'settings' => array(
                        'default' => '50',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Product images width', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => '%',
                            'min' => '30',
                            'max' => '60',
                            'step' => '1'
                        ),
                        'condition' => array(
                            'element' => 'nbcore_pd_meta_layout',
                            'value'   => '!wide',
                        )
                    ),
                ),
                'nbcore_pd_featured_autoplay' => array(
                    'settings' => array(
                        'default' => false,
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Featured Images Autoplay', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_pd_thumb_pos' => array(
                    'settings' => array(
                        'default' => 'bottom-thumb',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Small thumb position', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Radio_Image',
                        'choices' => array(
                            'bottom-thumb' => get_template_directory_uri() . '/assets/images/options/bottom-thumb.png',
                            'left-thumb' => get_template_directory_uri() . '/assets/images/options/left-thumb.png',
                            'inside-thumb' => get_template_directory_uri() . '/assets/images/options/inside-thumb.png',
                        ),
                    ),
                ),
                'nbcore_pd_info_tab_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Information tab', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_info_style' => array(
                    'settings' => array(
                        'default' => 'accordion-tabs',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Tabs style', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Select',
                        'choices' => array(
                            'horizontal-tabs' => esc_html__('Horizontal', 'aidoo'),
                            'accordion-tabs' => esc_html__('Accordion', 'aidoo'),
                        ),
                    ),
                ),
                'nbcore_reviews_form' => array(
                    'settings' => array(
                        'default' => 'split',
                        'transport' => 'postMessage',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Reviews form style', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Select',
                        'choices' => array(
                            'split' => esc_html__('Split', 'aidoo'),
                            'full-width' => esc_html__('Full Width', 'aidoo'),
                        ),
                    ),
                ),
                'nbcore_reviews_round_avatar' => array(
                    'settings' => array(
                        'default' => false,
                        'transport' => 'postMessage',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Round reviewer avatar', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_other_products_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Related & Cross-sells products', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Heading',
                    ),
                ),
                'nbcore_show_upsells' => array(
                    'settings' => array(
                        'default' => true,
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show upsells products?', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_pd_upsells_columns' => array(
                    'settings' => array(
                        'default' => '3',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Upsells Products per row', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Select',
                        'choices' => array(
                            '2' => esc_html__('2 Products', 'aidoo'),
                            '3' => esc_html__('3 Products', 'aidoo'),
                            '4' => esc_html__('4 Products', 'aidoo'),
                        ),
                    ),
                ),
                'nbcore_upsells_limit' => array(
                    'settings' => array(
                        'default' => '6',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Upsells Products limit', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Number',
                        'input_attrs' => array(
                            'min' => '2',
                            'step' => '1'
                        ),
                    ),
                ),
                'nbcore_show_related' => array(
                    'settings' => array(
                        'default' => true,
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show related product?', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_pd_related_columns' => array(
                    'settings' => array(
                        'default' => '3',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Related Products per row', 'aidoo'),
                        'section' => 'product_details',
                        'type' => 'Aidoo_Customize_Control_Select',
                        'choices' => array(
                            '2' => esc_html__('2 Products', 'aidoo'),
                            '3' => esc_html__('3 Products', 'aidoo'),
                            '4' => esc_html__('4 Products', 'aidoo'),
                        ),
                    ),
                ),
                'nbcore_cart_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Cart', 'aidoo'),
                        'section' => 'other_wc_pages',
                        'type' => 'Aidoo_Customize_Control_Heading'
                    ),
                ),
                'nbcore_cart_layout' => array(
                    'settings' => array(
                        'default' => 'cart-layout-1',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Cart page layout', 'aidoo'),
                        'section' => 'other_wc_pages',
                        'type' => 'Aidoo_Customize_Control_Radio_Image',
                        'choices' => array(
                            'cart-layout-1' => get_template_directory_uri() . '/assets/images/options/cart-style-1.png',
                            'cart-layout-2' => get_template_directory_uri() . '/assets/images/options/cart-style-2.png',
                        ),
                    ),
                ),
                'nbcore_show_to_shop' => array(
                    'settings' => array(
                        'default' => true,
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show Continue shopping button', 'aidoo'),
                        'section' => 'other_wc_pages',
                        'type' => 'Aidoo_Customize_Control_Switch',
                    ),
                ),
                'nbcore_show_cross_sells' => array(
                    'settings' => array(
                        'default' => true,
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show cross sells', 'aidoo'),
                        'section' => 'other_wc_pages',
                        'type' => 'Aidoo_Customize_Control_Switch'
                    ),
                ),
                'nbcore_cross_sells_per_row' => array(
                    'settings' => array(
                        'default' => '4',
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Products per row', 'aidoo'),
                        'section' => 'other_wc_pages',
                        'type' => 'Aidoo_Customize_Control_Select',
                        'choices' => array(
                            '3' => esc_html__('3 products', 'aidoo'),
                            '4' => esc_html__('4 products', 'aidoo'),
                            '5' => esc_html__('5 products', 'aidoo'),
                        ),
                        'condition' => array(
                            'element' => 'nbcore_show_cross_sells',
                            'value'   => 1,
                        )
                    ),
                ),
                'nbcore_cross_sells_limit' => array(
                    'settings' => array(
                        'default' => '6',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Cross sells Products limit', 'aidoo'),
                        'section' => 'other_wc_pages',
                        'type' => 'Aidoo_Customize_Control_Number',
                        'input_attrs' => array(
                            'min' => '3',
                            'step' => '1'
                        ),
                        'condition' => array(
                            'element' => 'nbcore_show_cross_sells',
                            'value'   => 1,
                        )
                    ),
                ),
            )),
        );
    }
    public function onlinedesign()
    {
        return array(
            'title' => esc_html__('Online Design', 'aidoo'),
            'priority' => 15,
            'sections' => array(
                'online_design' => array(
                    'title' => esc_html__('Online Design', 'aidoo'),
                ),
            ),
            'options' => array(
                'nbcore_template_designer_style' => array(
                    'settings' => array(
                        'sanitize_callback' => array('Aidoo_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Choose template designer style', 'aidoo'),
                        'section' => 'online_design',
                        'type' => 'select',
                        'choices' => array(
                            'style1' => esc_html__('Style 1', 'aidoo'),
                            'style2' => esc_html__('Style 2', 'aidoo'),
                            'style3' => esc_html__('Style 3', 'aidoo'),
                        ),
                        'default' => 'style1'
                    ),
                ),
            ),
        ); 
    }
}