<?php

	function health_customize_responsive_tab($wp_customize, $theme_name){
	
		$wp_customize->add_section( 'health_responsive_settings' , array(
		    'title'      => esc_html__( 'Responsive', 'health' ),
		    'priority'   => 35,
		) );

		$wp_customize->add_setting( 'health_general_settings_responsive' , array(
		    'default'     => '',
		    'transport'   => 'refresh',
			'sanitize_callback' => 'sanitize_text_field'
		) );

		$wp_customize->add_setting( 'health_mobile_sticky' , array(
				'default'     => '',
				'transport'   => 'refresh',
				'sanitize_callback' => 'sanitize_text_field'
		) );

		$wp_customize->add_setting( 'health_mobile_topbar' , array(
				'default'     => '',
				'transport'   => 'refresh',
				'sanitize_callback' => 'sanitize_text_field'
		) );

		$wp_customize->add_setting( 'health_tablet_minicart' , array(
				'default'     => '',
				'transport'   => 'refresh',
				'sanitize_callback' => 'sanitize_text_field'
		) );

		$wp_customize->add_setting( 'health_tablet_search' , array(
				'default'     => '',
				'transport'   => 'refresh',
				'sanitize_callback' => 'sanitize_text_field'
		) );

		$wp_customize->add_setting( 'health_tablet_phone' , array(
				'default'     => '',
				'transport'   => 'refresh',
				'sanitize_callback' => 'sanitize_text_field'
		) );

		$wp_customize->add_setting( 'health_tablet_socials' , array(
				'default'     => '',
				'transport'   => 'refresh',
				'sanitize_callback' => 'sanitize_text_field'
		) );

		

		$wp_customize->add_control(
			'health_general_settings_responsive',
			array(
				'label'    => esc_html__( 'Responsive', 'health' ),
				'section'  => 'health_responsive_settings',
				'settings' => 'health_general_settings_responsive',
				'type'     => 'select',
				'choices'  => array(
					'off'  => esc_html__( 'Off', 'health' ),
					'on'   => esc_html__( 'On', 'health' ),
				),
				'priority'   => 5
			)
		);

		$wp_customize->add_control(
            'health_mobile_sticky',
            array(
                'label'    => esc_html__( 'Header Mobile Behavior', 'health' ),
                'description'   => esc_html__( 'Off header sticky or fixed on mobile', 'health' ),
                'section'  => 'health_responsive_settings',
                'settings' => 'health_mobile_sticky',
                'type'     => 'select',
                'choices'  => array(
                    ''  => esc_html__( 'Global', 'health' ),
                    'mobile-no-sticky' => esc_html__( 'No Sticky', 'health' ),
		            'mobile-no-fixed' => esc_html__( 'No Fixed', 'health' ),
                ),
                'priority'   => 10
            )
        );

        $wp_customize->add_control(
            'health_mobile_topbar',
            array(
                'label'    => esc_html__( 'Header Mobile Behavior', 'health' ),
                'description'   => esc_html__( 'Off header top bar on mobile', 'health' ),
                'section'  => 'health_responsive_settings',
                'settings' => 'health_mobile_sticky',
                'type'     => 'select',
                'choices'  => array(
                    ''  => esc_html__( 'Global', 'health' ),
                    'no-mobile-topbar' => esc_html__( 'Off', 'health' ),
                ),
                'priority'   => 20
            )
        );

        $wp_customize->add_control(
            'health_tablet_minicart',
            array(
                'label'    => esc_html__( 'Tablet Minicart', 'health' ),
                'description'   => esc_html__( 'Off header cart on tablet', 'health' ),
                'section'  => 'health_responsive_settings',
                'settings' => 'health_tablet_minicart',
                'type'     => 'select',
                'choices'  => array(
                    ''  => esc_html__( 'Global', 'health' ),
                    'no-tablet-minicart' => esc_html__( 'Off', 'health' ),
                ),
                'priority'   => 30
            )
        );

        $wp_customize->add_control(
            'health_tablet_search',
            array(
                'label'    => esc_html__( 'Tablet Search', 'health' ),
                'description'   => esc_html__( 'Off header search on tablet', 'health' ),
                'section'  => 'health_responsive_settings',
                'settings' => 'health_tablet_search',
                'type'     => 'select',
                'choices'  => array(
                    ''  => esc_html__( 'Global', 'health' ),
                    'no-tablet-search' => esc_html__( 'Off', 'health' ),
                ),
                'priority'   => 40
            )
        );

        $wp_customize->add_control(
            'health_tablet_phone',
            array(
                'label'    => esc_html__( 'Tablet Header Phone', 'health' ),
                'description'   => esc_html__( 'Off header phone on tablet', 'health' ),
                'section'  => 'health_responsive_settings',
                'settings' => 'health_tablet_phone',
                'type'     => 'select',
                'choices'  => array(
                    ''  => esc_html__( 'Global', 'health' ),
                    'no-tablet-phone' => esc_html__( 'Off', 'health' ),
                ),
                'priority'   => 50
            )
        );

        $wp_customize->add_control(
            'health_tablet_socials',
            array(
                'label'    => esc_html__( 'Tablet Socials', 'health' ),
                'description'   => esc_html__( 'Off header social icons on tablet', 'health' ),
                'section'  => 'health_responsive_settings',
                'settings' => 'health_tablet_socials',
                'type'     => 'select',
                'choices'  => array(
                    ''  => esc_html__( 'Global', 'health' ),
                    'no-tablet-socials' => esc_html__( 'Off', 'health' ),
                ),
                'priority'   => 60
            )
        );
		
	}
		
?>