<?php
/**
 * Theme Typography Settings.
 *
 * @package pawfect
 */

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

/**
 * Theme Typography Settings.
 */
if ( ! class_exists( 'Pawfect_Options_Theme_Typography' ) ) :

    class Pawfect_Options_Theme_Typography extends pawfect_Customize_Base_Option {

        public function elements() {

            // Font options - Popular Google Fonts
            $font_choices = array(
                // System Fonts
                'System Font Stack' => 'System Font Stack',
                '-apple-system' => 'Apple System',
                'Arial' => 'Arial',
                'Helvetica' => 'Helvetica',
                'Georgia' => 'Georgia',
                'Times New Roman' => 'Times New Roman',

                // Popular Google Fonts
                'Bricolage Grotesque' => 'Bricolage Grotesque',
                'Inter' => 'Inter',
                'Poppins' => 'Poppins',
                'Roboto' => 'Roboto',
                'Open Sans' => 'Open Sans',
                'Lato' => 'Lato',
                'Montserrat' => 'Montserrat',
                'Source Sans Pro' => 'Source Sans Pro',
                'Nunito' => 'Nunito',
                'Raleway' => 'Raleway',
                'Playfair Display' => 'Playfair Display',
                'Merriweather' => 'Merriweather',
                'Oswald' => 'Oswald',
                'PT Sans' => 'PT Sans',
                'Ubuntu' => 'Ubuntu',
                'Libre Baskerville' => 'Libre Baskerville',
                'Crimson Text' => 'Crimson Text',
                'Work Sans' => 'Work Sans',
                'Fira Sans' => 'Fira Sans',
                'DM Sans' => 'DM Sans',
                'Manrope' => 'Manrope',
                'Space Grotesk' => 'Space Grotesk',
                'Plus Jakarta Sans' => 'Plus Jakarta Sans',
            );

            // Font weight options
            $font_weights = array(
                '100' => '100 (Thin)',
                '200' => '200 (Extra Light)',
                '300' => '300 (Light)',
                '400' => '400 (Regular)',
                '500' => '500 (Medium)',
                '600' => '600 (Semi Bold)',
                '700' => '700 (Bold)',
                '800' => '800 (Extra Bold)',
                '900' => '900 (Black)',
            );

            // Text transform options
            $text_transforms = array(
                'none' => 'None',
                'uppercase' => 'Uppercase',
                'lowercase' => 'Lowercase',
                'capitalize' => 'Capitalize',
            );

            // Font size options
            $font_sizes = array();
            for ($i = 10; $i <= 72; $i++) {
                $font_sizes[$i] = $i . 'px';
            }

            // Line height options
            $line_heights = array(
                '1' => '1.0',
                '1.1' => '1.1',
                '1.2' => '1.2',
                '1.3' => '1.3',
                '1.4' => '1.4',
                '1.5' => '1.5',
                '1.6' => '1.6',
                '1.7' => '1.7',
                '1.8' => '1.8',
                '2' => '2.0',
            );

            // Letter spacing options
            $letter_spacings = array(
                '-0.05em' => '-0.05em (Tighter)',
                '-0.025em' => '-0.025em (Tight)',
                '0' => '0 (Normal)',
                '0.025em' => '0.025em (Wide)',
                '0.05em' => '0.05em (Wider)',
                '0.1em' => '0.1em (Widest)',
            );

            return array(

                // =======================================================
                // == BODY TYPOGRAPHY HEADING
                // =======================================================

                // Body Font Family
                'pawfect_body_font_family' => array(
                    'setting' => array(
                        'default' => 'Bricolage Grotesque',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 10,
                        'is_default_type' => true,
                        'label' => esc_html__( 'Body Font Family', 'pawfect' ),
                        'description' => esc_html__( 'Choose the font family for body text.', 'pawfect' ),
                        'section' => 'pawfect_body_typography',
                        'choices' => $font_choices,
                    ),
                ),

                // Body Font Size - Responsive
                'pawfect_body_font_size' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 14,
                            'tablet' => 15,
                            'mobile' => 14,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 20,
                        'section' => 'pawfect_body_typography',
                        'label' => esc_html__('Body Font Size', 'pawfect'),
                        'description' => esc_html__('Set the font size for body text across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => 'px',
                        'input_attrs' => array(
                            'min' => 10,
                            'max' => 30,
                            'step' => 1,
                        ),
                    ),
                ),

                // Body Font Weight
                'pawfect_body_font_weight' => array(
                    'setting' => array(
                        'default' => '400',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 30,
                        'is_default_type' => true,
                        'label' => esc_html__( 'Body Font Weight', 'pawfect' ),
                        'description' => esc_html__( 'Choose the font weight for body text.', 'pawfect' ),
                        'section' => 'pawfect_body_typography',
                        'choices' => $font_weights,
                    ),
                ),

                // Body Line Height - Responsive
                'pawfect_body_line_height' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 1.6,
                            'tablet' => 1.6,
                            'mobile' => 1.5,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 40,
                        'section' => 'pawfect_body_typography',
                        'label' => esc_html__('Body Line Height', 'pawfect'),
                        'description' => esc_html__('Set the line height for body text across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => '',
                        'input_attrs' => array(
                            'min' => 1.0,
                            'max' => 3.0,
                            'step' => 0.1,
                        ),
                    ),
                ),

                // Body Letter Spacing - Responsive
                'pawfect_body_letter_spacing' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 0,
                            'tablet' => 0,
                            'mobile' => 0,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 50,
                        'section' => 'pawfect_body_typography',
                        'label' => esc_html__('Body Letter Spacing', 'pawfect'),
                        'description' => esc_html__('Adjust letter spacing for body text across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => 'em',
                        'input_attrs' => array(
                            'min' => -0.1,
                            'max' => 0.2,
                            'step' => 0.01,
                        ),
                    ),
                ),

                // === H1 TYPOGRAPHY SECTION ===

                // H1 Typography Section Label
                'pawfect_h1_typography_heading' => array(
                    'setting' => array(),
                    'control' => array(
                        'type' => 'heading',
                        'priority' => 9,
                        'label' => esc_html__('H1 Typography', 'pawfect'),
                        'section' => 'pawfect_heading_typography',
                        
                    ),
                ),

                // H1 Font Size - Responsive
                'pawfect_h1_font_size' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 36,
                            'tablet' => 32,
                            'mobile' => 28,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 10,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H1 Font Size', 'pawfect'),
                        'description' => esc_html__('Set the font size for H1 headings across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => 'px',
                        'input_attrs' => array(
                            'min' => 20,
                            'max' => 72,
                            'step' => 2,
                        ),
                    ),
                ),

                // H1 Line Height - Responsive
                'pawfect_h1_line_height' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 1.1,
                            'tablet' => 1.1,
                            'mobile' => 1.1,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 11,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H1 Line Height', 'pawfect'),
                        'description' => esc_html__('Set the line height for H1 headings across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => '',
                        'input_attrs' => array(
                            'min' => 0.8,
                            'max' => 3.0,
                            'step' => 0.1,
                        ),
                    ),
                ),

                // H1 Letter Spacing - Responsive
                'pawfect_h1_letter_spacing' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => -0.025,
                            'tablet' => -0.025,
                            'mobile' => -0.025,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 12,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H1 Letter Spacing', 'pawfect'),
                        'description' => esc_html__('Adjust letter spacing for H1 headings across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => 'em',
                        'input_attrs' => array(
                            'min' => -0.1,
                            'max' => 0.2,
                            'step' => 0.01,
                        ),
                    ),
                ),

                // H1 Font Family
                'pawfect_h1_font_family' => array(
                    'setting' => array(
                        'default' => 'Bricolage Grotesque',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 13,
                        'is_default_type' => true,
                        'label' => esc_html__( 'H1 Font Family', 'pawfect' ),
                        'description' => esc_html__( 'Choose the font family for H1 headings.', 'pawfect' ),
                        'section' => 'pawfect_heading_typography',
                        'choices' => $font_choices,
                    ),
                ),

                // H1 Font Weight
                'pawfect_h1_font_weight' => array(
                    'setting' => array(
                        'default' => '700',
                        'sanitize_callback' => 'sanitize_text_field',
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 14,
                        'is_default_type' => true,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H1 Font Weight', 'pawfect'),
                        'description' => esc_html__('Choose the font weight for H1 headings.', 'pawfect'),
                        'choices' => $font_weights,
                    ),
                ),

                // H1 Text Transform
                'pawfect_h1_text_transform' => array(
                    'setting' => array(
                        'default' => 'none',
                        'sanitize_callback' => 'sanitize_text_field',
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 15,
                        'is_default_type' => true,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H1 Text Transform', 'pawfect'),
                        'description' => esc_html__('Transform the case of H1 heading text.', 'pawfect'),
                        'choices' => array(
                            'none' => esc_html__('None', 'pawfect'),
                            'uppercase' => esc_html__('UPPERCASE', 'pawfect'),
                            'lowercase' => esc_html__('lowercase', 'pawfect'),
                            'capitalize' => esc_html__('Capitalize', 'pawfect'),
                        ),
                    ),
                ),

                // === H2 TYPOGRAPHY SECTION ===

                // H2 Typography Section Label
                'pawfect_h2_typography_heading' => array(
                    'setting' => array(),
                    'control' => array(
                        'type' => 'heading',
                        'priority' => 19,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H2 Typography', 'pawfect'),
                       
                    ),
                ),

                // H2 Font Size - Responsive
                'pawfect_h2_font_size' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 30,
                            'tablet' => 28,
                            'mobile' => 24,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 20,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H2 Font Size', 'pawfect'),
                        'description' => esc_html__('Set the font size for H2 headings across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => 'px',
                        'input_attrs' => array(
                            'min' => 18,
                            'max' => 60,
                            'step' => 2,
                        ),
                    ),
                ),

                // H2 Line Height - Responsive
                'pawfect_h2_line_height' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 1.2,
                            'tablet' => 1.2,
                            'mobile' => 1.2,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 21,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H2 Line Height', 'pawfect'),
                        'description' => esc_html__('Set the line height for H2 headings across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => '',
                        'input_attrs' => array(
                            'min' => 0.8,
                            'max' => 3.0,
                            'step' => 0.1,
                        ),
                    ),
                ),

                // H2 Letter Spacing - Responsive
                'pawfect_h2_letter_spacing' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => -0.025,
                            'tablet' => -0.025,
                            'mobile' => -0.025,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 22,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H2 Letter Spacing', 'pawfect'),
                        'description' => esc_html__('Adjust letter spacing for H2 headings across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => 'em',
                        'input_attrs' => array(
                            'min' => -0.1,
                            'max' => 0.2,
                            'step' => 0.01,
                        ),
                    ),
                ),

                // H2 Font Family
                'pawfect_h2_font_family' => array(
                    'setting' => array(
                        'default' => 'Bricolage Grotesque',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 23,
                        'is_default_type' => true,
                        'label' => esc_html__( 'H2 Font Family', 'pawfect' ),
                        'description' => esc_html__( 'Choose the font family for H2 headings.', 'pawfect' ),
                        'section' => 'pawfect_heading_typography',
                        'choices' => $font_choices,
                    ),
                ),

                // H2 Font Weight
                'pawfect_h2_font_weight' => array(
                    'setting' => array(
                        'default' => '700',
                        'sanitize_callback' => 'sanitize_text_field',
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 24,
                        'is_default_type' => true,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H2 Font Weight', 'pawfect'),
                        'description' => esc_html__('Choose the font weight for H2 headings.', 'pawfect'),
                        'choices' => $font_weights,
                    ),
                ),

                // H2 Text Transform
                'pawfect_h2_text_transform' => array(
                    'setting' => array(
                        'default' => 'none',
                        'sanitize_callback' => 'sanitize_text_field',
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 25,
                        'is_default_type' => true,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H2 Text Transform', 'pawfect'),
                        'description' => esc_html__('Transform the case of H2 heading text.', 'pawfect'),
                        'choices' => array(
                            'none' => esc_html__('None', 'pawfect'),
                            'uppercase' => esc_html__('UPPERCASE', 'pawfect'),
                            'lowercase' => esc_html__('lowercase', 'pawfect'),
                            'capitalize' => esc_html__('Capitalize', 'pawfect'),
                        ),
                    ),
                ),

                // === H3 TYPOGRAPHY SECTION ===

                // H3 Typography Section Label
                'pawfect_h3_typography_heading' => array(
                    'setting' => array(),
                    'control' => array(
                        'type' => 'heading',
                        'priority' => 29,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H3 Typography', 'pawfect'),
                    ),
                ),

                // H3 Font Size - Responsive
                'pawfect_h3_font_size' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 24,
                            'tablet' => 22,
                            'mobile' => 20,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 30,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H3 Font Size', 'pawfect'),
                        'description' => esc_html__('Set the font size for H3 headings across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => 'px',
                        'input_attrs' => array(
                            'min' => 16,
                            'max' => 48,
                            'step' => 2,
                        ),
                    ),
                ),

                // H3 Line Height - Responsive
                'pawfect_h3_line_height' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 1.3,
                            'tablet' => 1.3,
                            'mobile' => 1.3,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 31,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H3 Line Height', 'pawfect'),
                        'description' => esc_html__('Set the line height for H3 headings across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => '',
                        'input_attrs' => array(
                            'min' => 0.8,
                            'max' => 3.0,
                            'step' => 0.1,
                        ),
                    ),
                ),

                // H3 Letter Spacing - Responsive
                'pawfect_h3_letter_spacing' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => -0.025,
                            'tablet' => -0.025,
                            'mobile' => -0.025,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 32,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H3 Letter Spacing', 'pawfect'),
                        'description' => esc_html__('Adjust letter spacing for H3 headings across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => 'em',
                        'input_attrs' => array(
                            'min' => -0.1,
                            'max' => 0.2,
                            'step' => 0.01,
                        ),
                    ),
                ),

                // H3 Font Family
                'pawfect_h3_font_family' => array(
                    'setting' => array(
                        'default' => 'Bricolage Grotesque',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 33,
                        'is_default_type' => true,
                        'label' => esc_html__( 'H3 Font Family', 'pawfect' ),
                        'description' => esc_html__( 'Choose the font family for H3 headings.', 'pawfect' ),
                        'section' => 'pawfect_heading_typography',
                        'choices' => $font_choices,
                    ),
                ),

                // H3 Font Weight
                'pawfect_h3_font_weight' => array(
                    'setting' => array(
                        'default' => '700',
                        'sanitize_callback' => 'sanitize_text_field',
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 34,
                        'is_default_type' => true,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H3 Font Weight', 'pawfect'),
                        'description' => esc_html__('Choose the font weight for H3 headings.', 'pawfect'),
                        'choices' => $font_weights,
                    ),
                ),

                // H3 Text Transform
                'pawfect_h3_text_transform' => array(
                    'setting' => array(
                        'default' => 'none',
                        'sanitize_callback' => 'sanitize_text_field',
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 35,
                        'is_default_type' => true,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H3 Text Transform', 'pawfect'),
                        'description' => esc_html__('Transform the case of H3 heading text.', 'pawfect'),
                        'choices' => array(
                            'none' => esc_html__('None', 'pawfect'),
                            'uppercase' => esc_html__('UPPERCASE', 'pawfect'),
                            'lowercase' => esc_html__('lowercase', 'pawfect'),
                            'capitalize' => esc_html__('Capitalize', 'pawfect'),
                        ),
                    ),
                ),



                // === H4 TYPOGRAPHY SECTION ===

                // H4 Typography Section Label
                'pawfect_h4_typography_heading' => array(
                    'setting' => array(),
                    'control' => array(
                        'type' => 'heading',
                        'priority' => 39,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H4 Typography', 'pawfect'),
                        
                    ),
                ),

                // H4 Font Size - Responsive
                'pawfect_h4_font_size' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 20,
                            'tablet' => 18,
                            'mobile' => 16,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 40,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H4 Font Size', 'pawfect'),
                        'description' => esc_html__('Set the font size for H4 headings across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => 'px',
                        'input_attrs' => array(
                            'min' => 14,
                            'max' => 36,
                            'step' => 1,
                        ),
                    ),
                ),

                // H4 Line Height - Responsive
                'pawfect_h4_line_height' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 1.4,
                            'tablet' => 1.4,
                            'mobile' => 1.4,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 41,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H4 Line Height', 'pawfect'),
                        'description' => esc_html__('Set the line height for H4 headings across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => '',
                        'input_attrs' => array(
                            'min' => 0.8,
                            'max' => 3.0,
                            'step' => 0.1,
                        ),
                    ),
                ),

                // H4 Letter Spacing - Responsive
                'pawfect_h4_letter_spacing' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 0,
                            'tablet' => 0,
                            'mobile' => 0,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 42,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H4 Letter Spacing', 'pawfect'),
                        'description' => esc_html__('Adjust letter spacing for H4 headings across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => 'em',
                        'input_attrs' => array(
                            'min' => -0.1,
                            'max' => 0.2,
                            'step' => 0.01,
                        ),
                    ),
                ),

                // H4 Font Family
                'pawfect_h4_font_family' => array(
                    'setting' => array(
                        'default' => 'Bricolage Grotesque',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 43,
                        'is_default_type' => true,
                        'label' => esc_html__( 'H4 Font Family', 'pawfect' ),
                        'description' => esc_html__( 'Choose the font family for H4 headings.', 'pawfect' ),
                        'section' => 'pawfect_heading_typography',
                        'choices' => $font_choices,
                    ),
                ),

                // H4 Font Weight
                'pawfect_h4_font_weight' => array(
                    'setting' => array(
                        'default' => '600',
                        'sanitize_callback' => 'sanitize_text_field',
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 44,
                        'is_default_type' => true,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H4 Font Weight', 'pawfect'),
                        'description' => esc_html__('Choose the font weight for H4 headings.', 'pawfect'),
                        'choices' => $font_weights,
                    ),
                ),

                // H4 Text Transform
                'pawfect_h4_text_transform' => array(
                    'setting' => array(
                        'default' => 'none',
                        'sanitize_callback' => 'sanitize_text_field',
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 45,
                        'is_default_type' => true,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H4 Text Transform', 'pawfect'),
                        'description' => esc_html__('Transform the case of H4 heading text.', 'pawfect'),
                        'choices' => array(
                            'none' => esc_html__('None', 'pawfect'),
                            'uppercase' => esc_html__('UPPERCASE', 'pawfect'),
                            'lowercase' => esc_html__('lowercase', 'pawfect'),
                            'capitalize' => esc_html__('Capitalize', 'pawfect'),
                        ),
                    ),
                ),

                // === H5 TYPOGRAPHY SECTION ===

                // H5 Typography Section Label
                'pawfect_h5_typography_heading' => array(
                    'setting' => array(),
                    'control' => array(
                        'type' => 'heading',
                        'priority' => 49,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H5 Typography', 'pawfect'),
                        
                    ),
                ),

                // H5 Font Size - Responsive
                'pawfect_h5_font_size' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 18,
                            'tablet' => 16,
                            'mobile' => 14,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 50,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H5 Font Size', 'pawfect'),
                        'description' => esc_html__('Set the font size for H5 headings across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => 'px',
                        'input_attrs' => array(
                            'min' => 12,
                            'max' => 30,
                            'step' => 1,
                        ),
                    ),
                ),

                // H5 Line Height - Responsive
                'pawfect_h5_line_height' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 1.5,
                            'tablet' => 1.5,
                            'mobile' => 1.5,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 51,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H5 Line Height', 'pawfect'),
                        'description' => esc_html__('Set the line height for H5 headings across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => '',
                        'input_attrs' => array(
                            'min' => 0.8,
                            'max' => 3.0,
                            'step' => 0.1,
                        ),
                    ),
                ),

                // H5 Letter Spacing - Responsive
                'pawfect_h5_letter_spacing' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 0,
                            'tablet' => 0,
                            'mobile' => 0,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 52,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H5 Letter Spacing', 'pawfect'),
                        'description' => esc_html__('Adjust letter spacing for H5 headings across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => 'em',
                        'input_attrs' => array(
                            'min' => -0.1,
                            'max' => 0.2,
                            'step' => 0.01,
                        ),
                    ),
                ),

                // H5 Font Family
                'pawfect_h5_font_family' => array(
                    'setting' => array(
                        'default' => 'Bricolage Grotesque',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 53,
                        'is_default_type' => true,
                        'label' => esc_html__( 'H5 Font Family', 'pawfect' ),
                        'description' => esc_html__( 'Choose the font family for H5 headings.', 'pawfect' ),
                        'section' => 'pawfect_heading_typography',
                        'choices' => $font_choices,
                    ),
                ),

                // H5 Font Weight
                'pawfect_h5_font_weight' => array(
                    'setting' => array(
                        'default' => '600',
                        'sanitize_callback' => 'sanitize_text_field',
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 54,
                        'is_default_type' => true,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H5 Font Weight', 'pawfect'),
                        'description' => esc_html__('Choose the font weight for H5 headings.', 'pawfect'),
                        'choices' => $font_weights,
                    ),
                ),

                // H5 Text Transform
                'pawfect_h5_text_transform' => array(
                    'setting' => array(
                        'default' => 'none',
                        'sanitize_callback' => 'sanitize_text_field',
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 55,
                        'is_default_type' => true,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H5 Text Transform', 'pawfect'),
                        'description' => esc_html__('Transform the case of H5 heading text.', 'pawfect'),
                        'choices' => array(
                            'none' => esc_html__('None', 'pawfect'),
                            'uppercase' => esc_html__('UPPERCASE', 'pawfect'),
                            'lowercase' => esc_html__('lowercase', 'pawfect'),
                            'capitalize' => esc_html__('Capitalize', 'pawfect'),
                        ),
                    ),
                ),

                // === H6 TYPOGRAPHY SECTION ===

                // H6 Typography Section Label
                'pawfect_h6_typography_heading' => array(
                    'setting' => array(),
                    'control' => array(
                        'type' => 'heading',
                        'priority' => 59,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H6 Typography', 'pawfect'),
                        
                    ),
                ),

                // H6 Font Size - Responsive
                'pawfect_h6_font_size' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 16,
                            'tablet' => 14,
                            'mobile' => 12,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 60,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H6 Font Size', 'pawfect'),
                        'description' => esc_html__('Set the font size for H6 headings across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => 'px',
                        'input_attrs' => array(
                            'min' => 10,
                            'max' => 24,
                            'step' => 1,
                        ),
                    ),
                ),

                // H6 Line Height - Responsive
                'pawfect_h6_line_height' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 1.6,
                            'tablet' => 1.6,
                            'mobile' => 1.6,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 61,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H6 Line Height', 'pawfect'),
                        'description' => esc_html__('Set the line height for H6 headings across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => '',
                        'input_attrs' => array(
                            'min' => 0.8,
                            'max' => 3.0,
                            'step' => 0.1,
                        ),
                    ),
                ),

                // H6 Letter Spacing - Responsive
                'pawfect_h6_letter_spacing' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 0,
                            'tablet' => 0,
                            'mobile' => 0,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 62,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H6 Letter Spacing', 'pawfect'),
                        'description' => esc_html__('Adjust letter spacing for H6 headings across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => 'em',
                        'input_attrs' => array(
                            'min' => -0.1,
                            'max' => 0.2,
                            'step' => 0.01,
                        ),
                    ),
                ),

                // H6 Font Family
                'pawfect_h6_font_family' => array(
                    'setting' => array(
                        'default' => 'Bricolage Grotesque',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 63,
                        'is_default_type' => true,
                        'label' => esc_html__( 'H6 Font Family', 'pawfect' ),
                        'description' => esc_html__( 'Choose the font family for H6 headings.', 'pawfect' ),
                        'section' => 'pawfect_heading_typography',
                        'choices' => $font_choices,
                    ),
                ),

                // H6 Font Weight
                'pawfect_h6_font_weight' => array(
                    'setting' => array(
                        'default' => '600',
                        'sanitize_callback' => 'sanitize_text_field',
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 64,
                        'is_default_type' => true,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H6 Font Weight', 'pawfect'),
                        'description' => esc_html__('Choose the font weight for H6 headings.', 'pawfect'),
                        'choices' => $font_weights,
                    ),
                ),

                // H6 Text Transform
                'pawfect_h6_text_transform' => array(
                    'setting' => array(
                        'default' => 'none',
                        'sanitize_callback' => 'sanitize_text_field',
                        'transport' => 'refresh',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 65,
                        'is_default_type' => true,
                        'section' => 'pawfect_heading_typography',
                        'label' => esc_html__('H6 Text Transform', 'pawfect'),
                        'description' => esc_html__('Transform the case of H6 heading text.', 'pawfect'),
                        'choices' => array(
                            'none' => esc_html__('None', 'pawfect'),
                            'uppercase' => esc_html__('UPPERCASE', 'pawfect'),
                            'lowercase' => esc_html__('lowercase', 'pawfect'),
                            'capitalize' => esc_html__('Capitalize', 'pawfect'),
                        ),
                    ),
                ),

                // Menu Font Family
                'pawfect_menu_font_family' => array(
                    'setting' => array(
                        'default' => 'Bricolage Grotesque',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 10,
                        'is_default_type' => true,
                        'label' => esc_html__( 'Menu Font Family', 'pawfect' ),
                        'description' => esc_html__( 'Choose the font family for navigation menus.', 'pawfect' ),
                        'section' => 'pawfect_menu_typography',
                        'choices' => $font_choices,
                    ),
                ),

                // Menu Font Weight
                'pawfect_menu_font_weight' => array(
                    'setting' => array(
                        'default' => '500',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 20,
                        'is_default_type' => true,
                        'label' => esc_html__( 'Menu Font Weight', 'pawfect' ),
                        'description' => esc_html__( 'Choose the font weight for menu items.', 'pawfect' ),
                        'section' => 'pawfect_menu_typography',
                        'choices' => $font_weights,
                    ),
                ),

                // Menu Font Size - Responsive
                'pawfect_menu_font_size' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 16,
                            'tablet' => 15,
                            'mobile' => 14,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 30,
                        'section' => 'pawfect_menu_typography',
                        'label' => esc_html__('Menu Font Size', 'pawfect'),
                        'description' => esc_html__('Set the font size for menu items across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => 'px',
                        'input_attrs' => array(
                            'min' => 10,
                            'max' => 24,
                            'step' => 1,
                        ),
                    ),
                ),

                // Menu Letter Spacing
                'pawfect_menu_letter_spacing' => array(
                    'setting' => array(
                        'default' => '0',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 40,
                        'is_default_type' => true,
                        'label' => esc_html__( 'Menu Letter Spacing', 'pawfect' ),
                        'description' => esc_html__( 'Adjust letter spacing for menu items.', 'pawfect' ),
                        'section' => 'pawfect_menu_typography',
                        'choices' => $letter_spacings,
                    ),
                ),

                // Menu Text Transform
                'pawfect_menu_text_transform' => array(
                    'setting' => array(
                        'default' => 'none',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 50,
                        'is_default_type' => true,
                        'label' => esc_html__( 'Menu Text Transform', 'pawfect' ),
                        'description' => esc_html__( 'Transform the case of menu text.', 'pawfect' ),
                        'section' => 'pawfect_menu_typography',
                        'choices' => $text_transforms,
                    ),
                ),



                // Button Font Family
                'pawfect_button_font_family' => array(
                    'setting' => array(
                        'default' => 'Bricolage Grotesque',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 10,
                        'is_default_type' => true,
                        'label' => esc_html__( 'Button Font Family', 'pawfect' ),
                        'description' => esc_html__( 'Choose the font family for buttons.', 'pawfect' ),
                        'section' => 'pawfect_button_typography',
                        'choices' => $font_choices,
                    ),
                ),

                // Button Font Size - Responsive
                'pawfect_button_font_size' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 14,
                            'tablet' => 13,
                            'mobile' => 12,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 20,
                        'section' => 'pawfect_button_typography',
                        'label' => esc_html__('Button Font Size', 'pawfect'),
                        'description' => esc_html__('Set the font size for buttons across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => 'px',
                        'input_attrs' => array(
                            'min' => 10,
                            'max' => 20,
                            'step' => 1,
                        ),
                    ),
                ),

                // Button Font Weight
                'pawfect_button_font_weight' => array(
                    'setting' => array(
                        'default' => '600',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 30,
                        'is_default_type' => true,
                        'label' => esc_html__( 'Button Font Weight', 'pawfect' ),
                        'description' => esc_html__( 'Choose the font weight for buttons.', 'pawfect' ),
                        'section' => 'pawfect_button_typography',
                        'choices' => $font_weights,
                    ),
                ),

                // Button Letter Spacing
                'pawfect_button_letter_spacing' => array(
                    'setting' => array(
                        'default' => '0.025em',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 40,
                        'is_default_type' => true,
                        'label' => esc_html__( 'Button Letter Spacing', 'pawfect' ),
                        'description' => esc_html__( 'Adjust letter spacing for buttons.', 'pawfect' ),
                        'section' => 'pawfect_button_typography',
                        'choices' => $letter_spacings,
                    ),
                ),

                // Button Text Transform
                'pawfect_button_text_transform' => array(
                    'setting' => array(
                        'default' => 'none',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 50,
                        'is_default_type' => true,
                        'label' => esc_html__( 'Button Text Transform', 'pawfect' ),
                        'description' => esc_html__( 'Transform the case of button text.', 'pawfect' ),
                        'section' => 'pawfect_button_typography',
                        'choices' => $text_transforms,
                    ),
                ),

                // Blog Post Title Font Family
                'pawfect_blog_title_font_family' => array(
                    'setting' => array(
                        'default' => 'Bricolage Grotesque',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 10,
                        'is_default_type' => true,
                        'label' => esc_html__( 'Blog Title Font Family', 'pawfect' ),
                        'description' => esc_html__( 'Choose the font family for blog post titles.', 'pawfect' ),
                        'section' => 'pawfect_blog_typography',
                        'choices' => $font_choices,
                    ),
                ),

                // Blog Post Title Font Size - Responsive
                'pawfect_blog_title_font_size' => array(
                    'setting' => array(
                        'default' => json_encode(array(
                            'desktop' => 28,
                            'tablet' => 24,
                            'mobile' => 20,
                        )),
                        'sanitize_callback' => array('Pawfect_Responsive_Range_Control', 'sanitize_responsive_range'),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'pawfect-responsive-range',
                        'priority' => 20,
                        'section' => 'pawfect_blog_typography',
                        'label' => esc_html__('Blog Title Font Size', 'pawfect'),
                        'description' => esc_html__('Set the font size for blog post titles across different devices.', 'pawfect'),
                        'media_query' => true,
                        'suffix' => 'px',
                        'input_attrs' => array(
                            'min' => 16,
                            'max' => 48,
                            'step' => 2,
                        ),
                    ),
                ),

                // Blog Post Title Font Weight
                'pawfect_blog_title_font_weight' => array(
                    'setting' => array(
                        'default' => '700',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 30,
                        'is_default_type' => true,
                        'label' => esc_html__( 'Blog Title Font Weight', 'pawfect' ),
                        'description' => esc_html__( 'Choose the font weight for blog post titles.', 'pawfect' ),
                        'section' => 'pawfect_blog_typography',
                        'choices' => $font_weights,
                    ),
                ),

                // Blog Post Meta Font Size
                'pawfect_blog_meta_font_size' => array(
                    'setting' => array(
                        'default' => 12,
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_number_range' ),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 40,
                        'is_default_type' => true,
                        'label' => esc_html__( 'Blog Meta Font Size', 'pawfect' ),
                        'description' => esc_html__( 'Set the font size for blog post meta information.', 'pawfect' ),
                        'section' => 'pawfect_blog_typography',
                        'choices' => $font_sizes,
                    ),
                ),

                // Blog Post Meta Text Transform
                'pawfect_blog_meta_text_transform' => array(
                    'setting' => array(
                        'default' => 'uppercase',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 50,
                        'is_default_type' => true,
                        'label' => esc_html__( 'Blog Meta Text Transform', 'pawfect' ),
                        'description' => esc_html__( 'Transform the case of blog meta text.', 'pawfect' ),
                        'section' => 'pawfect_blog_typography',
                        'choices' => $text_transforms,
                    ),
                ),

                // Blog Post Meta Letter Spacing
                'pawfect_blog_meta_letter_spacing' => array(
                    'setting' => array(
                        'default' => '0.1em',
                        'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_radio' ),
                        'transport' => 'postMessage',
                    ),
                    'control' => array(
                        'type' => 'select',
                        'priority' => 60,
                        'is_default_type' => true,
                        'label' => esc_html__( 'Blog Meta Letter Spacing', 'pawfect' ),
                        'description' => esc_html__( 'Adjust letter spacing for blog meta text.', 'pawfect' ),
                        'section' => 'pawfect_blog_typography',
                        'choices' => $letter_spacings,
                    ),
                ),

            );
        }
    }

    // Remove automatic instantiation - let main customizer class handle this
    // new Pawfect_Options_Theme_Typography();

endif;
