<?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 NBFoody_Customize_Options
{
    public function footer()
    {
        return array(
            'title' => esc_html__('Footer', 'nb-foody'),
            'priority' => 17,
            'options' => array(
                'nbcore_footer_bg_img' => array(
                    'settings' => array(
                        'default' => '',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Image Background', 'nb-foody'),
                        'section' => 'footer',
                        'type' => 'WP_Customize_Cropped_Image_Control',
                        'flex_width'  => true,
                        'flex_height' => true,
                        'width' => 2000,
                        'height' => 1000,
                    ),
                ),
                'nbcore_footer_bg_size' => array(
                    'settings' => array(
                        'default' => 'auto',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Background Size', 'nb-foody'),
                        'section' => 'footer',
                        'type' => 'select',
                        'choices' => array(
                            'cover' => esc_html__('Cover', 'nb-foody'),
                            'contain' => esc_html__('contain', 'nb-foody'),
                            'auto' => esc_html__('Auto', 'nb-foody'),
                        ),
                    ),
                ),
                'nbcore_footer_bg_pos' => array(
                    'settings' => array(
                        'default' => 'center',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Background Position', 'nb-foody'),
                        'section' => 'footer',
                        'type' => 'select',
                        'choices' => array(
                            'center' => esc_html__('Center', 'nb-foody'),
                            'left' => esc_html__('Left', 'nb-foody'),
                            'right' => esc_html__('Right', 'nb-foody'),
                            'top' => esc_html__('Top', 'nb-foody'),
                            'bottom' => esc_html__('Bottom', 'nb-foody'),
                            'top left' => esc_html__('Top Left', 'nb-foody'),
                            'top right' => esc_html__('Top Right', 'nb-foody'),
                            'bottom left' => esc_html__('Bottom Left', 'nb-foody'),
                            'bottom right' => esc_html__('Bottom Right', 'nb-foody'),
                        ),
                    ),
                ),
                'nbcore_footer_bg_repeat' => array(
                    'settings' => array(
                        'default' => 'repeat',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Background Repeat', 'nb-foody'),
                        'section' => 'footer',
                        'type' => 'select',
                        'choices' => array(
                            'repeat' => esc_html__('Repeat', 'nb-foody'),
                            'no-repeat' => esc_html__('No Repeat', 'nb-foody'),
                            'repeat-x' => esc_html__('Repeat-X', 'nb-foody'),
                            'repeat-y' => esc_html__('Repeat-Y', 'nb-foody'),
                        ),
                    ),
                ),
                'nbcore_footer_bg_attachment' => array(
                    'settings' => array(
                        'default' => 'true',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Scroll with Page', 'nb-foody'),
                        'section' => 'footer',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_footer_top_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Footer top section', 'nb-foody'),
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_show_footer_top' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show this section', 'nb-foody'),
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_footer_top_layout' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Columns', 'nb-foody'),
                        'section' => 'footer',
                        'type' => 'NBFoody_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',
                        ),
                    ),
                ),
                'nbcore_footer_bot_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Footer bottom section', 'nb-foody'),
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_show_footer_bot' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show this section', 'nb-foody'),
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_footer_bot_layout' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Columns', 'nb-foody'),
                        'type' => 'NBFoody_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',
                        ),
                    ),
                ),
                'nbcore_footer_abs_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Absolute Footer', 'nb-foody'),
                        'description' => esc_html__('These area take text and HTML code for its content', 'nb-foody'),
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_footer_abs_left_content' => array(
                    'settings' => array(
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Left content', 'nb-foody'),
                        'type' => 'textarea',
                    ),
                ),
                'nbcore_footer_abs_right_content' => array(
                    'settings' => array(
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Right content', 'nb-foody'),
                        'type' => 'textarea',
                    ),
                ),
                'nbcore_footer_abs_padding' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Padding top and bottom', 'nb-foody'),
                        'type' => 'NBFoody_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '5',
                            'max' => '60',
                            'step' => '1',
                        ),
                    ),
                ),
                'nbcore_footer_color_focus' => array(
                    'settings' => array(),
                    'controls' => array(
                        'type' => 'NBFoody_Customize_Control_Focus',
                        'choices' => array(
                            'footer_colors' => esc_html__('Edit color', 'nb-foody'),
                        ),
                    ),
                ),
            ),
        );
    }

    public function blog()
    {
        return array(
            'title' => esc_html__('Blog', 'nb-foody'),
            'priority' => 16,
            'sections' => array(
                'blog_general' => array(
                    'title' => esc_html__('General', 'nb-foody')
                ),
                'blog_archive' => array(
                    'title' => esc_html__('Blog Archive', 'nb-foody'),
                ),
                'blog_single' => array(
                    'title' => esc_html__('Blog Single', 'nb-foody')
                ),
            ),
            'options' => array(
                'nbcore_blog_layout_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Layout', 'nb-foody'),
                        'section' => 'blog_general',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_blog_sidebar' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Sidebar position', 'nb-foody'),
                        'section' => 'blog_general',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'blog_general',
                        'type' => 'NBFoody_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => '%',
                            'min' => '60',
                            'max' => '80',
                            'step' => '1'
                        ),
                    ),
                ),
                'nbcore_blog_meta_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Post meta', 'nb-foody'),
                        'section' => 'blog_general',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_blog_meta_date' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show date', 'nb-foody'),
                        'section' => 'blog_general',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_blog_meta_read_time' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show time to read', 'nb-foody'),
                        'section' => 'blog_general',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_blog_meta_author' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show author', 'nb-foody'),
                        'section' => 'blog_general',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_blog_meta_category' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show categories', 'nb-foody'),
                        'section' => 'blog_general',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_blog_meta_tag' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show Tags', 'nb-foody'),
                        'section' => 'blog_general',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'blog_general',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_blog_sticky_sidebar' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Sticky sidebar', 'nb-foody'),
                        'section' => 'blog_general',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_blog_meta_align' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Meta align', 'nb-foody'),
                        'section' => 'blog_general',
                        'type' => 'NBFoody_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('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Blog Archive Layout', 'nb-foody'),
                        'section' => 'blog_archive',
                        'type' => 'NBFoody_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('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Masonry Columns', 'nb-foody'),
                        'section' => 'blog_archive',
                        'type' => 'NBFoody_Customize_Control_Select',
                        'choices' => array(
                            '2' => esc_html__('2', 'nb-foody'),
                            '3' => esc_html__('3', 'nb-foody'),
                        ),
                        'condition' => array(
                            'element' => 'nbcore_blog_archive_layout',
                            'value'   => 'masonry',
                        )
                    ),
                ),
                'nbcore_blog_archive_post_style' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Archive Post style', 'nb-foody'),
                        'section' => 'blog_archive',
                        'type' => 'NBFoody_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('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show Post summary', 'nb-foody'),
                        'section' => 'blog_archive',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_excerpt_only' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show Excerpt Only', 'nb-foody'),
                        'section' => 'blog_archive',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'blog_archive',
                        'type' => 'NBFoody_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('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show Comments number', 'nb-foody'),
                        'section' => 'blog_archive',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'blog_single',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_blog_single_title_position' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Post title style', 'nb-foody'),
                        'section' => 'blog_single',
                        'type' => 'NBFoody_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_single_title_size' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Font size', 'nb-foody'),
                        'section' => 'blog_single',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'blog_single',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_blog_single_show_thumb' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('featured thumbnail', 'nb-foody'),
                        'description' => esc_html__('Show featured thumbnail of this post on top of its content', 'nb-foody'),
                        'section' => 'blog_single',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    )
                ),
                'nbcore_blog_single_show_social' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show social button', 'nb-foody'),
                        'section' => 'blog_single',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_blog_single_show_author' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show author info', 'nb-foody'),
                        'section' => 'blog_single',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_blog_single_show_nav' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show post navigation', 'nb-foody'),
                        'section' => 'blog_single',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_blog_single_show_comments' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show post comments', 'nb-foody'),
                        'section' => 'blog_single',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                )
            ),
        );
    }

    public function color()
    {
        return array(
            'title' => esc_html__('Color', 'nb-foody'),
            'priority' => 13,
            'sections' => array(
                'general_color' => array(
                    'title' => esc_html__('General', 'nb-foody')
                ),
                'type_color' => array(
                    'title' => esc_html__('Type', 'nb-foody')
                ),
                'header_colors' => array(
                    'title' => esc_html__('Header', 'nb-foody')
                ),
                'footer_colors' => array(
                    'title' => esc_html__('Footer', 'nb-foody')
                ),
                'button_colors' => array(
                    'title' => esc_html__('Buttons', 'nb-foody')
                ),
                'other_colors' => array(
                    'title' => esc_html__('Other', 'nb-foody')
                ),
            ),
            'options' => array(
                'nbcore_main_colors_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Main Colors', 'nb-foody'),
                        'section' => 'general_color',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_primary_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Primary Color', 'nb-foody'),
                        'section' => 'general_color',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_secondary_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Secondary Color', 'nb-foody'),
                        'section' => 'general_color',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_tertiary_color' => array(
                    'settings' => array(
                        'default' => 'rgba(237, 157, 70, 0.3)',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Tertiary Color', 'nb-foody'),
                        'section' => 'general_color',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_background_colors_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Background', 'nb-foody'),
                        'section' => 'general_color',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'general_color',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_inner_background' => array(
                    'settings' => array(
                        'default' => '#f4f4f4',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Inner Background Color', 'nb-foody'),
                        'section' => 'general_color',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_text_colors_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Text', 'nb-foody'),
                        'section' => 'type_color',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_heading_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Heading Color', 'nb-foody'),
                        'section' => 'type_color',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_body_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Body Color', 'nb-foody'),
                        'section' => 'type_color',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_meta_color' => array(
                    'settings' => array(
                        'default' => '#999999',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Meta data Color', 'nb-foody'),
                        'section' => 'type_color',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_link_colors_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Link', 'nb-foody'),
                        'section' => 'type_color',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_link_color' => array(
                    'settings' => array(
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Link Color', 'nb-foody'),
                        'section' => 'type_color',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_link_hover_color' => array(
                    'settings' => array(
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Link Hover Color', 'nb-foody'),
                        'section' => 'type_color',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_divider_colors_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Divider', 'nb-foody'),
                        'section' => 'type_color',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_divider_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Divider Color', 'nb-foody'),
                        'section' => 'type_color',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_top_colors_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Header Top', 'nb-foody'),
                        'section' => 'header_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'header_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'header_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_top_hover_color' => array(
                    'settings' => array(
                        'default' => '#ed9d48',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text hover color', 'nb-foody'),
                        'section' => 'header_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_middle_colors_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Header Middle', 'nb-foody'),
                        'section' => 'header_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'header_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'header_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_middle_hover_color' => array(
                    'settings' => array(
                        'default' => '#ed9d48',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text hover color', 'nb-foody'),
                        'section' => 'header_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_bottom_colors_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Header Bottom', 'nb-foody'),
                        'section' => 'header_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'header_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'header_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_bot_hover_color' => array(
                    'settings' => array(
                        'default' => '#ed9d48',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text hover color', 'nb-foody'),
                        'section' => 'header_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_mainmn_colors_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Main Menu', 'nb-foody'),
                        'section' => 'header_colors',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_header_mainmn_bg' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('background color', 'nb-foody'),
                        'section' => 'header_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_mainmn_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text color', 'nb-foody'),
                        'section' => 'header_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'header_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_header_mainmnhover_bg' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('background hover', 'nb-foody'),
                        'section' => 'header_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'header_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'header_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_footer_top_color_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Footer top', 'nb-foody'),
                        'section' => 'footer_colors',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_footer_bg_color' => array(
                    'settings' => array(
                        'default' => '#f4f4f4',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Footer Background color', 'nb-foody'),
                        'section' => 'footer_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_footer_top_heading' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Heading color', 'nb-foody'),
                        'section' => 'footer_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_footer_top_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text color', 'nb-foody'),
                        'section' => 'footer_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_footer_top_hover_color' => array(
                    'settings' => array(
                        'default' => '#ed9d48',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text hover color', 'nb-foody'),
                        'section' => 'footer_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_footer_top_bg' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Background color', 'nb-foody'),
                        'section' => 'footer_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_footer_top_bor' => array(
                    'settings' => array(
                        'default' => '#f4f4f4',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Border color', 'nb-foody'),
                        'section' => 'footer_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_footer_bot_color_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Footer bottom', 'nb-foody'),
                        'section' => 'footer_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'footer_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'footer_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_footer_bot_hover_color' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text color', 'nb-foody'),
                        'section' => 'footer_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'footer_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_footer_bot_bor' => array(
                    'settings' => array(
                        'default' => '#e6e6e6',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Border color', 'nb-foody'),
                        'section' => 'footer_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_footer_abs_color_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Footer Absolute Bottom', 'nb-foody'),
                        'section' => 'footer_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'footer_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_footer_abs_hover_color' => array(
                    'settings' => array(
                        'default' => '#ed9d48',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text hover color', 'nb-foody'),
                        'section' => 'footer_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'footer_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_footer_abs_bor' => array(
                    'settings' => array(
                        'default' => '#e6e6e6',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Border color', 'nb-foody'),
                        'section' => 'footer_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_pb_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Primary button', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_pb_background' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Background', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_pb_text' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_pb_border' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Border', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_sb_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Secondary button', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_sb_background' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Background', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_sb_text' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_sb_border' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Border', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_tb_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Tertiary button', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_tb_background' => array(
                    'settings' => array(
                        'default' => 'rgba(255, 255, 255, 0.85)',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Background', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_tb_background_hover' => array(
                    'settings' => array(
                        'default' => 'rgba(237, 157, 70, 0.85)',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Background Hover', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_tb_text' => array(
                    'settings' => array(
                        'default' => '#444444',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_tb_text_hover' => array(
                    'settings' => array(
                        'default' => '#ffffff',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text hover', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_tb_border' => array(
                    'settings' => array(
                        'default' => 'rgba(255, 255, 255, 0.85)',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Border', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_tb_border_hover' => array(
                    'settings' => array(
                        'default' => 'rgba(237, 157, 70, 0.85)',
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Border hover', 'nb-foody'),
                        'section' => 'button_colors',
                        'type' => 'NBFoody_Customize_Control_Color',
                    ),
                ),
                'nbcore_page_title_color_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Page title', 'nb-foody'),
                        'section' => 'other_colors',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'other_colors',
                        'type' => 'NBFoody_Customize_Control_Color'
                    ),
                ),
            ),
        );
    }

    public function elements()
    {
        return array(
            'title' => esc_html__('Elements', 'nb-foody'),
            'priority' => 12,
            'sections' => array(
                'title_section_element' => array(
                    'title' => esc_html__('Title Section', 'nb-foody')
                ),
                'button_element' => array(
                    'title' => esc_html__('Button', 'nb-foody')
                ),
                'share_buttons_element' => array(
                    'title' => esc_html__('Social Share', 'nb-foody')
                ),
                'pagination_element' => array(
                    'title' => esc_html__('Pagination', 'nb-foody')
                ),
                'back_top_element' => array(
                    'title' => esc_html__('Back to Top Button', 'nb-foody')
                ),
                'preloading_element' => array(
                    'title' => esc_html__('Preloading', 'core-wp')
                ),
            ),
            'options' => array(
                'show_title_section' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show title section', 'nb-foody'),
                        'section' => 'title_section_element',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'home_page_title_section' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show Homepage title', 'nb-foody'),
                        'description' => esc_html__('Turn this off to not display the title section for only homepage', 'nb-foody'),
                        'section' => 'title_section_element',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_page_title_size' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Font size', 'nb-foody'),
                        'section' => 'title_section_element',
                        'type' => 'NBFoody_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '16',
                            'max' => '70',
                            'step' => '1'
                        ),
                    ),
                ),
                'nbcore_page_title_padding' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Padding top and bottom', 'nb-foody'),
                        'section' => 'title_section_element',
                        'type' => 'NBFoody_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '15',
                            'max' => '105',
                            'step' => '1'
                        ),
                    ),
                ),
                'nbcore_page_title_image' => array(
                    'settings' => array(
                        'sanitize_callback' => 'absint',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Image Background', 'nb-foody'),
                        'section' => 'title_section_element',
                        'type' => 'WP_Customize_Cropped_Image_Control',
                        'flex_width'  => true,
                        'flex_height' => true,
                        'width' => 2000,
                        'height' => 1000,
                    ),
                ),
                'nbcore_page_title_image_size' => array(
                    'settings' => array(
                        'default' => 'auto',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Background Size', 'nb-foody'),
                        'section' => 'title_section_element',
                        'type' => 'select',
                        'choices' => array(
                            'cover' => esc_html__('Cover', 'nb-foody'),
                            'contain' => esc_html__('Contain', 'nb-foody'),
                            'auto' => esc_html__('Auto', 'nb-foody'),
                        ),
                    ),
                ),
                'nbcore_page_title_image_pos' => array(
                    'settings' => array(
                        'default' => 'center',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Background Position', 'nb-foody'),
                        'section' => 'title_section_element',
                        'type' => 'select',
                        'choices' => array(
                            'center' => esc_html__('Center', 'nb-foody'),
                            'left' => esc_html__('Left', 'nb-foody'),
                            'right' => esc_html__('Right', 'nb-foody'),
                            'top' => esc_html__('Top', 'nb-foody'),
                            'bottom' => esc_html__('Bottom', 'nb-foody'),
                            'top left' => esc_html__('Top Left', 'nb-foody'),
                            'top right' => esc_html__('Top Right', 'nb-foody'),
                            'bottom left' => esc_html__('Bottom Left', 'nb-foody'),
                            'bottom right' => esc_html__('Bottom Right', 'nb-foody'),
                        ),
                    ),
                ),
                'nbcore_page_title_image_repeat' => array(
                    'settings' => array(
                        'default' => 'repeat',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Background Repeat', 'nb-foody'),
                        'section' => 'title_section_element',
                        'type' => 'select',
                        'choices' => array(
                            'repeat' => esc_html__('Repeat', 'nb-foody'),
                            'no-repeat' => esc_html__('No Repeat', 'nb-foody'),
                            'repeat-x' => esc_html__('Repeat-X', 'nb-foody'),
                            'repeat-y' => esc_html__('Repeat-Y', 'nb-foody'),
                        ),
                    ),
                ),
                'nbcore_page_title_image_attachment' => array(
                    'settings' => array(
                        'default' => true,
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Scroll with Page', 'nb-foody'),
                        'section' => 'title_section_element',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_page_title_color_focus' => array(
                    'settings' => array(),
                    'controls' => array(
                        'section' => 'title_section_element',
                        'type' => 'NBFoody_Customize_Control_Focus',
                        'choices' => array(
                            'other_colors' => esc_html__('Edit color', 'nb-foody')
                        ),
                    ),
                ),
                'nbcore_button_padding' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Padding left & right', 'nb-foody'),
                        'section' => 'button_element',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'button_element',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'button_element',
                        'type' => 'NBFoody_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '1',
                            'max' => '10',
                            'step' => '1'
                        ),
                    ),
                ),
                'share_buttons_style' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Style','nb-foody'),
                        'section' => 'share_buttons_element',
                        'type' => 'NBFoody_Customize_Control_Select',
                        'choices' => array(
                            'style-1' => esc_html__('Style 1', 'nb-foody'),
                            'style-2' => esc_html__('Style 2', 'nb-foody'),
                        ),
                    ),
                ),
                'share_buttons_position' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Buttons position','nb-foody'),
                        'section' => 'share_buttons_element',
                        'type' => 'NBFoody_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('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Style', 'nb-foody'),
                        'section' => 'pagination_element',
                        'type' => 'NBFoody_Customize_Control_Select',
                        'choices' => array(
                            'pagination-style-1' => esc_html__('Style 1','nb-foody'),
                            'pagination-style-2' => esc_html__('Style 2','nb-foody'),
                        ),
                    ),
                ),
                'show_back_top' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show button', 'nb-foody'),
                        'section' => 'back_top_element',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'back_top_shape' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show button', 'nb-foody'),
                        'section' => 'back_top_element',
                        'type' => 'NBFoody_Customize_Control_Select',
                        'choices' => array(
                            'circle' => esc_html__('Circle','nb-foody'),
                            'square' => esc_html__('Square','nb-foody'),
                        ),
                    ),
                ),
                'back_top_style' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show button', 'nb-foody'),
                        'section' => 'back_top_element',
                        'type' => 'NBFoody_Customize_Control_Select',
                        'choices' => array(
                            'light' => esc_html__('Light','nb-foody'),
                            'dark' => esc_html__('Dark','nb-foody'),
                        ),
                    ),
                ),
                'nbcore_header_preloading' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show Preloading', 'core-wp'),
                        'section' => 'preloading_element',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_header_style_preloading' => array(
                    'settings' => array(
                        'transport' => 'refresh',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Choose style preloading', 'core-wp'),
                        'section' => 'preloading_element',
                        'type' => 'NBFoody_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', 'nb-foody'),
            'description' => esc_html__('header description', 'nb-foody'),
            'priority' => 11,
            'sections' => array(
                'header_presets' => array(
                    'title' => esc_html__('Presets', 'nb-foody'),
                ),
                'header_general' => array(
                    'title' => esc_html__('Sections', 'nb-foody'),
                ),
                'header_social' => array(
                    'title' => esc_html__('Social', 'nb-foody'),
                ),
            ),
            'options' => array(
                'header_heading' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Header style', 'nb-foody'),
                        'description' => esc_html__('Quickly select a preset to change your header layout.', 'nb-foody'),
                        'type' => 'NBFoody_Customize_Control_Heading',
                        'section' => 'header_presets',
                    ),
                ),
                'nbcore_header_style' => array(
                    'settings' => array(
                        'default' => 'mid-stack',
                        'transport' => 'refresh',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'section' => 'header_presets',
                        'type' => 'NBFoody_Customize_Control_Radio_Image',
                        'choices' => array(
                            'mid-stack-2' => get_template_directory_uri() . '/assets/images/options/headers/mid-stack-2.png',
                            'mid-inline-2' => get_template_directory_uri() . '/assets/images/options/headers/mid-inline-2.png',
                            'left-inline_1' => get_template_directory_uri() . '/assets/images/options/headers/left-inline_1.png',
                            'left-inline' => get_template_directory_uri() . '/assets/images/options/headers/left-inline.png',
                            'header-1' => get_template_directory_uri() . '/assets/images/options/headers/left-inline.png',
                        ),
                    ),
                ),
                'nbcore_general_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('General', 'nb-foody'),
                        'section' => 'header_general',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_logo_upload' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_file_image')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Site Logo', 'nb-foody'),
                        'section' => 'header_general',
                        'description' => esc_html__('If you don\'t upload logo image, your site\'s logo will be the Site Title ', 'nb-foody'),
                        'type' => 'WP_Customize_Upload_Control'
                    ),
                ),
                'nbcore_logo_upload2' => array(
                    'settings' => array(
                        'default' => '',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_file_image')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Site Logo (optional)', 'nb-foody'),
                        'section' => 'header_general',
                        'type' => 'WP_Customize_Upload_Control'
                    ),
                ),
                'nbcore_logo_width' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Logo Area Width', 'nb-foody'),
                        'section' => 'header_general',
                        'type' => 'NBFoody_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '100',
                            'max' => '600',
                            'step' => '10',
                        ),
                    ),
                ),
                'nbcore_menu_resp' => array(
                    'settings' => array(
                        'default' => '768',
                        'transport' => 'postMessage',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Menu Responsive', 'nb-foody'),
                        'section' => 'header_general',
                        'type' => 'select',
                        'choices' => array(
                            '576' => esc_html__('576 px', 'nb-foody'),
                            '768' => esc_html__('768 px', 'nb-foody'),
                            '992' => esc_html__('992 px', 'nb-foody'),
                            '1200' => esc_html__('1200 px', 'nb-foody'),
                        ),
                    ),
                ),
                'nbcore_header_fixed' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Fixed header', 'nb-foody'),
                        'section' => 'header_general',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_header_text_section' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Text section', 'nb-foody'),
                        'section' => 'header_general',
                        'type' => 'textarea',
                    ),
                ),
                'nbcore_header_top_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Header topbar', 'nb-foody'),
                        'section' => 'header_general',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_top_section_padding' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Top & bottom padding', 'nb-foody'),
                        'section' => 'header_general',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'header_general',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_middle_section_padding' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Top & bottom padding', 'nb-foody'),
                        'section' => 'header_general',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'header_general',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_bot_section_padding' => array(
                    'settings' => array(
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'absint',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Top & bottom padding', 'nb-foody'),
                        'section' => 'header_general',
                        'type' => 'NBFoody_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' => 'NBFoody_Customize_Control_Focus',
                        'choices' => array(
                            'header_colors' => esc_html__('Edit color', 'nb-foody'),
                        ),
                    ),
                ),
                'nbcore_header_facebook' => array(
                    'settings' => array(
                        'transport' => 'refresh',
                        'sanitize_callback' => 'esc_url_raw'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Facebook', 'nb-foody'),
                        'section' => 'header_social',
                        'type' => 'url',
                    ),
                ),
                'nbcore_header_facebook' => array(
                    'settings' => array(
                        'transport' => 'refresh',
                        'sanitize_callback' => 'esc_url_raw'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Facebook', 'nb-foody'),
                        'section' => 'header_social',
                        'type' => 'url',
                    ),
                ),
                'nbcore_header_twitter' => array(
                    'settings' => array(
                        'transport' => 'refresh',
                        'sanitize_callback' => 'esc_url_raw'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Twitter', 'nb-foody'),
                        'section' => 'header_social',
                        'type' => 'url',
                    ),
                ),
                'nbcore_header_linkedin' => array(
                    'settings' => array(
                        'transport' => 'refresh',
                        'sanitize_callback' => 'esc_url_raw'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Linkedin', 'nb-foody'),
                        'section' => 'header_social',
                        'type' => 'url',
                    ),
                ),
                'nbcore_header_instagram' => array(
                    'settings' => array(
                        'transport' => 'refresh',
                        'sanitize_callback' => 'esc_url_raw'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Instagram', 'nb-foody'),
                        'section' => 'header_social',
                        'type' => 'url',
                    ),
                ),
                'nbcore_header_blog' => array(
                    'settings' => array(
                        'transport' => 'refresh',
                        'sanitize_callback' => 'esc_url_raw'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Blog', 'nb-foody'),
                        'section' => 'header_social',
                        'type' => 'url',
                    ),
                ),
                'nbcore_header_pinterest' => array(
                    'settings' => array(
                        'transport' => 'refresh',
                        'sanitize_callback' => 'esc_url_raw'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Pinterest', 'nb-foody'),
                        'section' => 'header_social',
                        'type' => 'url',
                    ),
                ),
                'nbcore_header_ggplus' => array(
                    'settings' => array(
                        'transport' => 'refresh',
                        'sanitize_callback' => 'esc_url_raw'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Google Plus', 'nb-foody'),
                        'section' => 'header_social',
                        'type' => 'url',
                    ),
                ),
                'nbcore_header_trip' => array(
                    'settings' => array(
                        'transport' => 'refresh',
                        'sanitize_callback' => 'esc_url_raw'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Trip Advisor', 'nb-foody'),
                        'section' => 'header_social',
                        'type' => 'url',
                    ),
                ),
            ),
        );
    }

    public function typo()
    {
        return array(
            'title' => esc_html__('Typography', 'nb-foody'),
            'priority' => 14,
            'options' => array(
                'body_font_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Body Font', 'nb-foody'),
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'body_font_family' => array(
                    'settings' => array(
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label'   => esc_html__( 'Font Family', 'nb-foody' ),
                        'dependency' => 'body_font_style',
                        'type'    => 'NBFoody_Customize_Control_Typography',
                    ),
                ),
                'body_font_style' => array(
                    'settings' => array(
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Font Styles', 'nb-foody'),
                        'type'    => 'NBFoody_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', 'nb-foody'),
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'typography',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'heading_font_family' => array(
                    'settings' => array(
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label'   => esc_html__( 'Heading font', 'nb-foody' ),
                        'dependency' => 'heading_font_style',
                        'type'    => 'NBFoody_Customize_Control_Typography',
                    ),
                ),
                'heading_font_style' => array(
                    'settings' => array(
                        'sanitize_callback' => 'wp_filter_nohtml_kses',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Font Styles', 'nb-foody'),
                        'type'    => 'NBFoody_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', 'nb-foody'),
                        'type' => 'NBFoody_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => 'px',
                            'min' => '10',
                            'max' => '40',
                            'step' => '1',
                        ),
                    ),
                ),
                'subset_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Font subset', 'nb-foody'),
                        'description' => esc_html__('Turn these settings on if you have to support these scripts', 'nb-foody'),
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'subset_cyrillic' => array(
                    'settings' => array(
                        'transport' => 'refresh',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox'),
                    ),
                    'controls' => array(
                        'label'   => esc_html__( 'Cyrillic subset', 'nb-foody' ),
                        'type'    => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'subset_greek' => array(
                    'settings' => array(
                        'transport' => 'refresh',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox'),
                    ),
                    'controls' => array(
                        'label'   => esc_html__( 'Greek subset', 'nb-foody' ),
                        'type'    => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'subset_vietnamese' => array(
                    'settings' => array(
                        'transport' => 'refresh',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox'),
                    ),
                    'controls' => array(
                        'label'   => esc_html__( 'Vietnamese subset', 'nb-foody' ),
                        'type'    => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'font_color_focus' => array(
                    'settings' => array(),
                    'controls' => array(
                        'type'    => 'NBFoody_Customize_Control_Focus',
                        'choices' => array(
                            'type_color' => esc_html__('Edit font color', 'nb-foody'),
                        ),
                    ),
                ),
            ),
        );
    }

    public function woocommerce()
    {
        return array(
            'title' => esc_html__('Shop', 'nb-foody'),
            'priority' => 15,
            'sections' => array(
                'product_category' => array(
                    'title' => esc_html__('Product Category', 'nb-foody'),
                ),
                'product_details' => array(
                    'title' => esc_html__('Product Details', 'nb-foody'),
                ),
                'other_wc_pages' => array(
                    'title' => esc_html__('Other Pages', 'nb-foody'),
                ),
                'woocommerce_product_catalog' => array(
                    'title' => esc_html__('Product Catalog', 'nb-foody'),
                ),
            ),
            'options' => apply_filters('attribute_hook', array(
                'nbcore_product_catalog_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Product Catalog?', 'nb-foody'),
                        'section' => 'woocommerce_product_catalog',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_product_addtocart' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Product Catalog?', 'nb-foody'),
                        'section' => 'woocommerce_product_catalog',
                        'description' => esc_html__('This options also effect for product add to Cart', 'nb-foody'),
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_pa_title_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Product category title', 'nb-foody'),
                        'section' => 'product_category',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_shop_title' => array(
                    'settings' => array(
                        'default' => esc_html__('Shop', 'nb-foody'),
                        'transport' => 'postMessage',
                        'sanitize_callback' => 'wp_filter_nohtml_kses'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Shop page title', 'nb-foody'),
                        'section' => 'product_category',
                        'type' => 'text',
                    ),
                ),
                'nbcore_wc_breadcrumb' => array(
                    'settings' => array(
                        'default' => true,
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show breadcrumb ?', 'nb-foody'),
                        'section' => 'product_category',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_pa_layout_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Product category layout', 'nb-foody'),
                        'section' => 'product_category',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_shop_sidebar' => array(
                    'settings' => array(
                        'default' => 'right-sidebar',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Sidebar Layout', 'nb-foody'),
                        'section' => 'product_category',
                        'description' => esc_html__('Sidebar Position for product category and shop page', 'nb-foody'),
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'description' => esc_html__('This options also effect Cart page', 'nb-foody'),
                        'section' => 'product_category',
                        'type' => 'NBFoody_Customize_Control_Slider',
                        'choices' => array(
                            'unit' => '%',
                            'min' => '60',
                            'max' => '80',
                            'step' => '1'
                        ),
                    ),
                ),
                'shop_sticky_sidebar' => array(
                    'settings' => array(
                        'default' => 'right-sidebar',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Sticky Sidebar', 'nb-foody'),
                        'section' => 'product_category',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_product_list' => array(
                    'settings' => array(
                        'default' => 'grid-type',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Product List Style', 'nb-foody'),
                        'section' => 'product_category',
                        'type' => 'NBFoody_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',
                            'menu' => get_template_directory_uri() . '/assets/images/options/productmenu.png',
                            'grid-type1' => get_template_directory_uri() . '/assets/images/options/product2.png',
                            'grid-type_1' => get_template_directory_uri() . '/assets/images/options/product1.png',
                            'menu2' => get_template_directory_uri() . '/assets/images/options/productmenu2.png',
                            'grid-type-2' => get_template_directory_uri() . '/assets/images/options/productmenu2.png',
                        ),
                    ),
                ),
                //TODO nbcore_product_list depencies
                'nbcore_grid_product_description' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Product Description', 'nb-foody'),
                        'section' => 'product_category',
                        'type' => 'NBFoody_Customize_Control_Switch',
                        'condition' => array(
                            'element' => 'nbcore_product_list',
                            'value'   => 'grid-type',
                        )
                    ),
                ),

                'nbcore_loop_columns_xl' => array(
                    'settings' => array(
                        'default' => false,
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Products per row (Large Desktops)', 'nb-foody'),
                        'section' => 'product_category',
                        'type' => 'NBFoody_Customize_Control_Radio_Image',
                        'choices' => array(
                            '2' => get_template_directory_uri() . '/assets/images/options/2-columns.png',
                            '3' => get_template_directory_uri() . '/assets/images/options/3-columns.png',
                            '4' => get_template_directory_uri() . '/assets/images/options/4-columns.png',
                        ),
                        'condition' => array(
                            'element' => 'nbcore_product_list',
                            'value'   => 'grid-type',
                        )
                    ),
                ),
                'nbcore_loop_columns_lg' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Products per row (Desktops)', 'nb-foody'),
                        'section' => 'product_category',
                        'type' => 'NBFoody_Customize_Control_Radio_Image',
                        'choices' => array(
                            '2' => get_template_directory_uri() . '/assets/images/options/2-columns.png',
                            '3' => get_template_directory_uri() . '/assets/images/options/3-columns.png',
                            '4' => get_template_directory_uri() . '/assets/images/options/4-columns.png',
                        ),
                        'condition' => array(
                            'element' => 'nbcore_product_list',
                            'value'   => 'grid-type',
                        )
                    ),
                ),
                'nbcore_loop_columns_md' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Products per row (Tablets)', 'nb-foody'),
                        'section' => 'product_category',
                        'type' => 'NBFoody_Customize_Control_Radio_Image',
                        'choices' => array(
                            '2' => get_template_directory_uri() . '/assets/images/options/2-columns.png',
                            '3' => get_template_directory_uri() . '/assets/images/options/3-columns.png',
                            '4' => get_template_directory_uri() . '/assets/images/options/4-columns.png',
                        ),
                        'condition' => array(
                            'element' => 'nbcore_product_list',
                            'value'   => 'grid-type',
                        )
                    ),
                ),
                'nbcore_loop_columns_sm' => array(
                    'settings' => array(
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Products per row (Mobile Landscape)', 'nb-foody'),
                        'section' => 'product_category',
                        'type' => 'NBFoody_Customize_Control_Radio_Image',
                        'choices' => array(
                            '2' => get_template_directory_uri() . '/assets/images/options/2-columns.png',
                            '3' => get_template_directory_uri() . '/assets/images/options/3-columns.png',
                            '4' => get_template_directory_uri() . '/assets/images/options/4-columns.png',
                        ),
                        'condition' => array(
                            'element' => 'nbcore_product_list',
                            'value'   => 'grid-type',
                        )
                    ),
                ),
                'nbcore_pa_other_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Other', 'nb-foody'),
                        'section' => 'product_category',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_shop_banner' => array(
                    'settings' => array(
                        'default' => '',
                    ),
                    'controls' => array(
                        'label' => esc_html__('Shop Banner', 'nb-foody'),
                        '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('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show shop action', 'nb-foody'),
                        'section' => 'product_category',
                        'type' => 'NBFoody_Customize_Control_Switch'
                    ),
                ),
                'nbcore_products_per_page' => array(
                    'settings' => array(
                        'default' => '12',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Products per Page', 'nb-foody'),
                        'section' => 'product_category',
                        'type' => 'NBFoody_Customize_Control_Number',
                        'input_attrs' => array(
                            'min'   => 1,
                            'step'  => 1,
                        ),
                    ),
                ),
                'nbcore_wc_sale' => array(
                    'settings' => array(
                        'default' => 'style-1',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Choose sale tag style', 'nb-foody'),
                        'section' => 'product_category',
                        'type' => 'NBFoody_Customize_Control_Select',
                        'choices' => array(
                            'style-1' => esc_html__('Style 1', 'nb-foody'),
                            'style-2' => esc_html__('Style 2', 'nb-foody'),
                        ),
                    ),
                ),
                'product_category_wishlist' => array(
                    'settings' => array(
                        'default' => false,
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Wishlist button', 'nb-foody'),
                        'description' => esc_html__('This feature need YITH Woocommerce Wishlist plugin to be installed and activated', 'nb-foody'),
                        'section' => 'product_category',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'product_category_quickview' => array(
                    'settings' => array(
                        'default' => false,
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Quickview button', 'nb-foody'),
                        'description' => esc_html__('This feature need YITH Woocommerce Quick View plugin to be installed and activated', 'nb-foody'),
                        'section' => 'product_category',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_pd_layout_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Layout', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_pd_details_title' => array(
                    'settings' => array(
                        'default' => true,
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Enable Product title', 'nb-foody'),
                        'description' => esc_html__('Default product title is not display if the Page title is showing. Enable this to displaying both.', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_pd_details_sidebar' => array(
                    'settings' => array(
                        'default' => 'right-sidebar',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Product details sidebar', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_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('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Sticky sidebar', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_pd_meta_layout' => array(
                    'settings' => array(
                        'default' => 'left-images',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Product meta layout', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_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('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Add to cart input style', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_Customize_Control_Select',
                        'choices' => array(
                            'style-1' => esc_html__('Style 1', 'nb-foody'),
                            'style-2' => esc_html__('Style 2', 'nb-foody'),
                        ),
                    ),
                ),
                'nbcore_pd_show_social' => array(
                    'settings' => array(
                        'default' => true,
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show social share?', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_pd_gallery_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Product Gallery', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_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('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Featured Images Autoplay', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_pd_thumb_pos' => array(
                    'settings' => array(
                        'default' => 'bottom-thumb',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Small thumb position', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_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', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_info_style' => array(
                    'settings' => array(
                        'default' => 'accordion-tabs',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Tabs style', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_Customize_Control_Select',
                        'choices' => array(
                            'horizontal-tabs' => esc_html__('Horizontal', 'nb-foody'),
                            'accordion-tabs' => esc_html__('Accordion', 'nb-foody'),
                        ),
                    ),
                ),
                'nbcore_reviews_form' => array(
                    'settings' => array(
                        'default' => 'split',
                        'transport' => 'postMessage',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Reviews form style', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_Customize_Control_Select',
                        'choices' => array(
                            'split' => esc_html__('Split', 'nb-foody'),
                            'full-width' => esc_html__('Full Width', 'nb-foody'),
                        ),
                    ),
                ),
                'nbcore_reviews_round_avatar' => array(
                    'settings' => array(
                        'default' => false,
                        'transport' => 'postMessage',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Round reviewer avatar', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_other_products_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Related & Cross-sells products', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_Customize_Control_Heading',
                    ),
                ),
                'nbcore_show_upsells' => array(
                    'settings' => array(
                        'default' => true,
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show upsells products?', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_pd_upsells_columns' => array(
                    'settings' => array(
                        'default' => '3',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Upsells Products per row', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_Customize_Control_Select',
                        'choices' => array(
                            '2' => esc_html__('2 Products', 'nb-foody'),
                            '3' => esc_html__('3 Products', 'nb-foody'),
                            '4' => esc_html__('4 Products', 'nb-foody'),
                        ),
                    ),
                ),
                'nbcore_upsells_limit' => array(
                    'settings' => array(
                        'default' => '6',
                        'sanitize_callback' => 'absint'
                    ),
                    'controls' => array(
                        'label' => esc_html__('Upsells Products limit', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_Customize_Control_Number',
                        'input_attrs' => array(
                            'min' => '2',
                            'step' => '1'
                        ),
                    ),
                ),
                'nbcore_show_related' => array(
                    'settings' => array(
                        'default' => true,
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show related product?', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_pd_related_columns' => array(
                    'settings' => array(
                        'default' => '3',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Related Products per row', 'nb-foody'),
                        'section' => 'product_details',
                        'type' => 'NBFoody_Customize_Control_Select',
                        'choices' => array(
                            '2' => esc_html__('2 Products', 'nb-foody'),
                            '3' => esc_html__('3 Products', 'nb-foody'),
                            '4' => esc_html__('4 Products', 'nb-foody'),
                        ),
                    ),
                ),
                'nbcore_cart_intro' => array(
                    'settings' => array(),
                    'controls' => array(
                        'label' => esc_html__('Cart', 'nb-foody'),
                        'section' => 'other_wc_pages',
                        'type' => 'NBFoody_Customize_Control_Heading'
                    ),
                ),
                'nbcore_cart_layout' => array(
                    'settings' => array(
                        'default' => 'cart-layout-1',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Cart page layout', 'nb-foody'),
                        'section' => 'other_wc_pages',
                        'type' => 'NBFoody_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('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show Continue shopping button', 'nb-foody'),
                        'section' => 'other_wc_pages',
                        'type' => 'NBFoody_Customize_Control_Switch',
                    ),
                ),
                'nbcore_show_cross_sells' => array(
                    'settings' => array(
                        'default' => true,
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_checkbox')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Show cross sells', 'nb-foody'),
                        'section' => 'other_wc_pages',
                        'type' => 'NBFoody_Customize_Control_Switch'
                    ),
                ),
                'nbcore_cross_sells_per_row' => array(
                    'settings' => array(
                        'default' => '4',
                        'sanitize_callback' => array('NBFoody_Customize_Sanitize', 'sanitize_selection')
                    ),
                    'controls' => array(
                        'label' => esc_html__('Products per row', 'nb-foody'),
                        'section' => 'other_wc_pages',
                        'type' => 'NBFoody_Customize_Control_Select',
                        'choices' => array(
                            '3' => esc_html__('3 products', 'nb-foody'),
                            '4' => esc_html__('4 products', 'nb-foody'),
                            '5' => esc_html__('5 products', 'nb-foody'),
                        ),
                        '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', 'nb-foody'),
                        'section' => 'other_wc_pages',
                        'type' => 'NBFoody_Customize_Control_Number',
                        'input_attrs' => array(
                            'min' => '3',
                            'step' => '1'
                        ),
                        'condition' => array(
                            'element' => 'nbcore_show_cross_sells',
                            'value'   => 1,
                        )
                    ),
                ),
            )),
        );
    }
}