<?php

/**
 * Sidebar Theme Options
 *
 * @package carpenter-wood-works
 */
$wp_customize->add_section('carpenter_wood_works_sidebar_section', array(

	'title'      => esc_html__('Sidebar Section', 'carpenter-wood-works'),
	'capability' => 'edit_theme_options',
	'panel' => 'carpenter_wood_works_theme_section_panel'

));

// ///////// Button Bg Text Color
$wp_customize->add_setting('sidebar_heading_text_color', array(
    'default'   => '#4A3F35',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'sidebar_heading_text_color', array(
    'section' => 'carpenter_wood_works_sidebar_section',
    'label'      => esc_html__('Heading Text Color', 'carpenter-wood-works'),
    )));

    // ///////// Button Bg Text Color
$wp_customize->add_setting('sidebar_text_color', array(
    'default'   => '#363636',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'sidebar_text_color', array(
    'section' => 'carpenter_wood_works_sidebar_section',
    'label'      => esc_html__('Text Color', 'carpenter-wood-works'),
    )));

    // ///////// Text Icon Color
$wp_customize->add_setting('sidebar_text_icon_color', array(
    'default'   => '#C69453',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'sidebar_text_icon_color', array(
    'section' => 'carpenter_wood_works_sidebar_section',
    'label'      => esc_html__('Text Icon Color', 'carpenter-wood-works'),
    )));

    // ///////// Button Bg Color
$wp_customize->add_setting('sidebar_search_btn_bg_color', array(
    'default'   => '#C69453',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'sidebar_search_btn_bg_color', array(
    'section' => 'carpenter_wood_works_sidebar_section',
    'label'      => esc_html__('Search Button Bg Color', 'carpenter-wood-works'),
    )));

    // ///////// Button Text Color
$wp_customize->add_setting('sidebar_search_btn_text_color', array(
    'default'   => '#fff',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'sidebar_search_btn_text_color', array(
    'section' => 'carpenter_wood_works_sidebar_section',
    'label'      => esc_html__('Search Button Text Color', 'carpenter-wood-works'),
    )));

   