<?php

$optical_glasses_tp_theme_css = '';

$optical_glasses_theme_lay = get_theme_mod( 'optical_glasses_tp_body_layout_settings','Full');
if($optical_glasses_theme_lay == 'Container'){
$optical_glasses_tp_theme_css .='body{';
$optical_glasses_tp_theme_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
$optical_glasses_tp_theme_css .='}';
$optical_glasses_tp_theme_css .='@media screen and (max-width:575px){';
$optical_glasses_tp_theme_css .='body{';
	$optical_glasses_tp_theme_css .='max-width: 100%; padding-right:0px; padding-left: 0px';
$optical_glasses_tp_theme_css .='} }';
$optical_glasses_tp_theme_css .='.scrolled{';
$optical_glasses_tp_theme_css .='width: auto; left:0; right:0;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_theme_lay == 'Container Fluid'){
$optical_glasses_tp_theme_css .='body{';
$optical_glasses_tp_theme_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
$optical_glasses_tp_theme_css .='}';
$optical_glasses_tp_theme_css .='@media screen and (max-width:575px){';
$optical_glasses_tp_theme_css .='body{';
	$optical_glasses_tp_theme_css .='max-width: 100%; padding-right:0px; padding-left:0px';
$optical_glasses_tp_theme_css .='} }';
$optical_glasses_tp_theme_css .='.scrolled{';
$optical_glasses_tp_theme_css .='width: auto; left:0; right:0;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_theme_lay == 'Full'){
$optical_glasses_tp_theme_css .='body{';
$optical_glasses_tp_theme_css .='max-width: 100%;';
$optical_glasses_tp_theme_css .='}';
}

$optical_glasses_scroll_position = get_theme_mod( 'optical_glasses_scroll_top_position','Right');
if($optical_glasses_scroll_position == 'Right'){
$optical_glasses_tp_theme_css .='#return-to-top{';
$optical_glasses_tp_theme_css .='right: 20px;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_scroll_position == 'Left'){
$optical_glasses_tp_theme_css .='#return-to-top{';
$optical_glasses_tp_theme_css .='left: 20px;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_scroll_position == 'Center'){
$optical_glasses_tp_theme_css .='#return-to-top{';
$optical_glasses_tp_theme_css .='right: 50%;left: 50%;';
$optical_glasses_tp_theme_css .='}';
}

// related post
$optical_glasses_related_post_mob = get_theme_mod('optical_glasses_related_post_mob', true);
$optical_glasses_related_post = get_theme_mod('optical_glasses_remove_related_post', true);
$optical_glasses_tp_theme_css .= '.related-post-block {';
if ($optical_glasses_related_post == false) {
    $optical_glasses_tp_theme_css .= 'display: none;';
}
$optical_glasses_tp_theme_css .= '}';
$optical_glasses_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($optical_glasses_related_post == false || $optical_glasses_related_post_mob == false) {
    $optical_glasses_tp_theme_css .= '.related-post-block { display: none; }';
}
$optical_glasses_tp_theme_css .= '}';

// slider btn
$optical_glasses_slider_buttom_mob = get_theme_mod('optical_glasses_slider_buttom_mob', true);
$optical_glasses_slider_button = get_theme_mod('optical_glasses_slider_button', true);
$optical_glasses_tp_theme_css .= '#main-slider .more-btn {';
if ($optical_glasses_slider_button == false) {
    $optical_glasses_tp_theme_css .= 'display: none;';
}
$optical_glasses_tp_theme_css .= '}';
$optical_glasses_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($optical_glasses_slider_button == false || $optical_glasses_slider_buttom_mob == false) {
    $optical_glasses_tp_theme_css .= '#main-slider .more-btn { display: none; }';
}
$optical_glasses_tp_theme_css .= '}';

//return to header mobile               
$optical_glasses_return_to_header_mob = get_theme_mod('optical_glasses_return_to_header_mob', true);
$optical_glasses_return_to_header = get_theme_mod('optical_glasses_return_to_header', true);
$optical_glasses_tp_theme_css .= '.return-to-header{';
if ($optical_glasses_return_to_header == false) {
    $optical_glasses_tp_theme_css .= 'display: none;';
}
$optical_glasses_tp_theme_css .= '}';
$optical_glasses_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($optical_glasses_return_to_header == false || $optical_glasses_return_to_header_mob == false) {
    $optical_glasses_tp_theme_css .= '.return-to-header{ display: none; }';
}
$optical_glasses_tp_theme_css .= '}';

//blog description              
$optical_glasses_mobile_blog_description = get_theme_mod('optical_glasses_mobile_blog_description', true);
$optical_glasses_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($optical_glasses_mobile_blog_description == false) {
    $optical_glasses_tp_theme_css .= '.blog-description{ display: none; }';
}
$optical_glasses_tp_theme_css .= '}';


$optical_glasses_footer_widget_image = get_theme_mod('optical_glasses_footer_widget_image');
if($optical_glasses_footer_widget_image != false){
$optical_glasses_tp_theme_css .='#footer{';
$optical_glasses_tp_theme_css .='background: url('.esc_attr($optical_glasses_footer_widget_image).');';
$optical_glasses_tp_theme_css .='}';
}

//Social icon Font size
$optical_glasses_social_icon_fontsize = get_theme_mod('optical_glasses_social_icon_fontsize');
$optical_glasses_tp_theme_css .='.social-media a i{';
$optical_glasses_tp_theme_css .='font-size: '.esc_attr($optical_glasses_social_icon_fontsize).'px;';
$optical_glasses_tp_theme_css .='}';

// site title and tagline font size option
$optical_glasses_site_title_font_size = get_theme_mod('optical_glasses_site_title_font_size', ''); {
$optical_glasses_tp_theme_css .='.logo h1 a, .logo p a{';
$optical_glasses_tp_theme_css .='font-size: '.esc_attr($optical_glasses_site_title_font_size).'px !important;';
$optical_glasses_tp_theme_css .='}';
}

$optical_glasses_site_tagline_font_size = get_theme_mod('optical_glasses_site_tagline_font_size', '');{
$optical_glasses_tp_theme_css .='.logo p{';
$optical_glasses_tp_theme_css .='font-size: '.esc_attr($optical_glasses_site_tagline_font_size).'px;';
$optical_glasses_tp_theme_css .='}';
}

$optical_glasses_related_product = get_theme_mod('optical_glasses_related_product',true);
if($optical_glasses_related_product == false){
$optical_glasses_tp_theme_css .='.related.products{';
	$optical_glasses_tp_theme_css .='display: none;';
$optical_glasses_tp_theme_css .='}';
}

//menu font size
$optical_glasses_menu_font_size = get_theme_mod('optical_glasses_menu_font_size', '');{
$optical_glasses_tp_theme_css .='.main-navigation a, .main-navigation li.page_item_has_children:after, .main-navigation li.menu-item-has-children:after{';
	$optical_glasses_tp_theme_css .='font-size: '.esc_attr($optical_glasses_menu_font_size).'px;';
$optical_glasses_tp_theme_css .='}';
}

// menu text transform
$optical_glasses_menu_text_tranform = get_theme_mod( 'optical_glasses_menu_text_tranform','');
if($optical_glasses_menu_text_tranform == 'Uppercase'){
$optical_glasses_tp_theme_css .='.main-navigation a {';
	$optical_glasses_tp_theme_css .='text-transform: uppercase;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_menu_text_tranform == 'Lowercase'){
$optical_glasses_tp_theme_css .='.main-navigation a {';
	$optical_glasses_tp_theme_css .='text-transform: lowercase;';
$optical_glasses_tp_theme_css .='}';
}
else if($optical_glasses_menu_text_tranform == 'Capitalize'){
$optical_glasses_tp_theme_css .='.main-navigation a {';
	$optical_glasses_tp_theme_css .='text-transform: capitalize;';
$optical_glasses_tp_theme_css .='}';
}

//sale position
$optical_glasses_scroll_position = get_theme_mod( 'optical_glasses_sale_tag_position','right');
if($optical_glasses_scroll_position == 'right'){
$optical_glasses_tp_theme_css .='.woocommerce ul.products li.product .onsale{';
    $optical_glasses_tp_theme_css .='right: 25px !important;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_scroll_position == 'left'){
$optical_glasses_tp_theme_css .='.woocommerce ul.products li.product .onsale{';
    $optical_glasses_tp_theme_css .='left: 25px !important; right: auto !important;';
$optical_glasses_tp_theme_css .='}';
}

//Font Weight
$optical_glasses_menu_font_weight = get_theme_mod( 'optical_glasses_menu_font_weight','');
if($optical_glasses_menu_font_weight == '100'){
$optical_glasses_tp_theme_css .='.main-navigation a{';
    $optical_glasses_tp_theme_css .='font-weight: 100;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_menu_font_weight == '200'){
$optical_glasses_tp_theme_css .='.main-navigation a{';
    $optical_glasses_tp_theme_css .='font-weight: 200;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_menu_font_weight == '300'){
$optical_glasses_tp_theme_css .='.main-navigation a{';
    $optical_glasses_tp_theme_css .='font-weight: 300;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_menu_font_weight == '400'){
$optical_glasses_tp_theme_css .='.main-navigation a{';
    $optical_glasses_tp_theme_css .='font-weight: 400;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_menu_font_weight == '500'){
$optical_glasses_tp_theme_css .='.main-navigation a{';
    $optical_glasses_tp_theme_css .='font-weight: 500;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_menu_font_weight == '600'){
$optical_glasses_tp_theme_css .='.main-navigation a{';
    $optical_glasses_tp_theme_css .='font-weight: 600;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_menu_font_weight == '700'){
$optical_glasses_tp_theme_css .='.main-navigation a{';
    $optical_glasses_tp_theme_css .='font-weight: 700;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_menu_font_weight == '800'){
$optical_glasses_tp_theme_css .='.main-navigation a{';
    $optical_glasses_tp_theme_css .='font-weight: 800;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_menu_font_weight == '900'){
$optical_glasses_tp_theme_css .='.main-navigation a{';
    $optical_glasses_tp_theme_css .='font-weight: 900;';
$optical_glasses_tp_theme_css .='}';
}

/*------------- Blog Page------------------*/
$optical_glasses_post_image_round = get_theme_mod('optical_glasses_post_image_round', 0);
if($optical_glasses_post_image_round != false){
    $optical_glasses_tp_theme_css .='.blog .box-image img{';
        $optical_glasses_tp_theme_css .='border-radius: '.esc_attr($optical_glasses_post_image_round).'px;';
    $optical_glasses_tp_theme_css .='}';
}

$optical_glasses_post_image_width = get_theme_mod('optical_glasses_post_image_width', '');
if($optical_glasses_post_image_width != false){
    $optical_glasses_tp_theme_css .='.blog .box-image img{';
        $optical_glasses_tp_theme_css .='Width: '.esc_attr($optical_glasses_post_image_width).'px;';
    $optical_glasses_tp_theme_css .='}';
}

$optical_glasses_post_image_length = get_theme_mod('optical_glasses_post_image_length', '');
if($optical_glasses_post_image_length != false){
    $optical_glasses_tp_theme_css .='.blog .box-image img{';
        $optical_glasses_tp_theme_css .='height: '.esc_attr($optical_glasses_post_image_length).'px;';
    $optical_glasses_tp_theme_css .='}';
}

// footer widget title font size
$optical_glasses_footer_widget_title_font_size = get_theme_mod('optical_glasses_footer_widget_title_font_size', '');{
$optical_glasses_tp_theme_css .='#footer h3, #footer h2.wp-block-heading{';
    $optical_glasses_tp_theme_css .='font-size: '.esc_attr($optical_glasses_footer_widget_title_font_size).'px;';
$optical_glasses_tp_theme_css .='}';
}

// Copyright text font size
$optical_glasses_footer_copyright_font_size = get_theme_mod('optical_glasses_footer_copyright_font_size', '');{
$optical_glasses_tp_theme_css .='#footer .site-info p{';
    $optical_glasses_tp_theme_css .='font-size: '.esc_attr($optical_glasses_footer_copyright_font_size).'px;';
$optical_glasses_tp_theme_css .='}';
}

// copyright padding
$optical_glasses_footer_copyright_top_bottom_padding = get_theme_mod('optical_glasses_footer_copyright_top_bottom_padding', '');
if ($optical_glasses_footer_copyright_top_bottom_padding !== '') { 
    $optical_glasses_tp_theme_css .= '.site-info {';
    $optical_glasses_tp_theme_css .= 'padding-top: ' . esc_attr($optical_glasses_footer_copyright_top_bottom_padding) . 'px;';
    $optical_glasses_tp_theme_css .= 'padding-bottom: ' . esc_attr($optical_glasses_footer_copyright_top_bottom_padding) . 'px;';
    $optical_glasses_tp_theme_css .= '}';
}

// copyright position
$optical_glasses_copyright_text_position = get_theme_mod( 'optical_glasses_copyright_text_position','Center');
if($optical_glasses_copyright_text_position == 'Center'){
$optical_glasses_tp_theme_css .='#footer .site-info p{';
$optical_glasses_tp_theme_css .='text-align:center;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_copyright_text_position == 'Left'){
$optical_glasses_tp_theme_css .='#footer .site-info p{';
$optical_glasses_tp_theme_css .='text-align:left;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_copyright_text_position == 'Right'){
$optical_glasses_tp_theme_css .='#footer .site-info p{';
$optical_glasses_tp_theme_css .='text-align:right;';
$optical_glasses_tp_theme_css .='}';
}

// Header Image title font size
$optical_glasses_header_image_title_font_size = get_theme_mod('optical_glasses_header_image_title_font_size', '40');{
$optical_glasses_tp_theme_css .='.box-text h2{';
    $optical_glasses_tp_theme_css .='font-size: '.esc_attr($optical_glasses_header_image_title_font_size).'px;';
$optical_glasses_tp_theme_css .='}';
}

/*--------------------------- banner image Opacity -------------------*/
    $optical_glasses_theme_lay = get_theme_mod( 'optical_glasses_header_banner_opacity_color','0.5');
        if($optical_glasses_theme_lay == '0'){
            $optical_glasses_tp_theme_css .='.single-page-img, .featured-image{';
                $optical_glasses_tp_theme_css .='opacity:0';
            $optical_glasses_tp_theme_css .='}';
        }else if($optical_glasses_theme_lay == '0.1'){
            $optical_glasses_tp_theme_css .='.single-page-img, .featured-image{';
                $optical_glasses_tp_theme_css .='opacity:0.1';
            $optical_glasses_tp_theme_css .='}';
        }else if($optical_glasses_theme_lay == '0.2'){
            $optical_glasses_tp_theme_css .='.single-page-img, .featured-image{';
                $optical_glasses_tp_theme_css .='opacity:0.2';
            $optical_glasses_tp_theme_css .='}';
        }else if($optical_glasses_theme_lay == '0.3'){
            $optical_glasses_tp_theme_css .='.single-page-img, .featured-image{';
                $optical_glasses_tp_theme_css .='opacity:0.3';
            $optical_glasses_tp_theme_css .='}';
        }else if($optical_glasses_theme_lay == '0.4'){
            $optical_glasses_tp_theme_css .='.single-page-img, .featured-image{';
                $optical_glasses_tp_theme_css .='opacity:0.4';
            $optical_glasses_tp_theme_css .='}';
        }else if($optical_glasses_theme_lay == '0.5'){
            $optical_glasses_tp_theme_css .='.single-page-img, .featured-image{';
                $optical_glasses_tp_theme_css .='opacity:0.5';
            $optical_glasses_tp_theme_css .='}';
        }else if($optical_glasses_theme_lay == '0.6'){
            $optical_glasses_tp_theme_css .='.single-page-img, .featured-image{';
                $optical_glasses_tp_theme_css .='opacity:0.6';
            $optical_glasses_tp_theme_css .='}';
        }else if($optical_glasses_theme_lay == '0.7'){
            $optical_glasses_tp_theme_css .='.single-page-img, .featured-image{';
                $optical_glasses_tp_theme_css .='opacity:0.7';
            $optical_glasses_tp_theme_css .='}';
        }else if($optical_glasses_theme_lay == '0.8'){
            $optical_glasses_tp_theme_css .='.single-page-img, .featured-image{';
                $optical_glasses_tp_theme_css .='opacity:0.8';
            $optical_glasses_tp_theme_css .='}';
        }else if($optical_glasses_theme_lay == '0.9'){
            $optical_glasses_tp_theme_css .='.single-page-img, .featured-image{';
                $optical_glasses_tp_theme_css .='opacity:0.9';
            $optical_glasses_tp_theme_css .='}';
        }else if($optical_glasses_theme_lay == '1'){
            $optical_glasses_tp_theme_css .='#main-slider img{';
                $optical_glasses_tp_theme_css .='opacity:1';
            $optical_glasses_tp_theme_css .='}';
        }

    $optical_glasses_header_banner_image_overlay = get_theme_mod('optical_glasses_header_banner_image_overlay', true);
    if($optical_glasses_header_banner_image_overlay == false){
        $optical_glasses_tp_theme_css .='.single-page-img, .featured-image{';
            $optical_glasses_tp_theme_css .='opacity:1;';
        $optical_glasses_tp_theme_css .='}';
    }

    $optical_glasses_header_banner_image_ooverlay_color = get_theme_mod('optical_glasses_header_banner_image_ooverlay_color', true);
    if($optical_glasses_header_banner_image_ooverlay_color != false){
        $optical_glasses_tp_theme_css .='.box-image-page{';
            $optical_glasses_tp_theme_css .='background-color: '.esc_attr($optical_glasses_header_banner_image_ooverlay_color).';';
        $optical_glasses_tp_theme_css .='}';
    }

    // Slider Height
    $optical_glasses_slider_img_height      = get_theme_mod('optical_glasses_slider_img_height');
    $optical_glasses_slider_img_height_resp = get_theme_mod('optical_glasses_slider_img_height_responsive');

    // Desktop height
    $optical_glasses_tp_theme_css .= '@media screen and (min-width: 768px) {';
    $optical_glasses_tp_theme_css .= '#slider {';
    if ( $optical_glasses_slider_img_height ) {
        $optical_glasses_tp_theme_css .= 'height: ' . esc_attr( $optical_glasses_slider_img_height ) . ';';
    }
    $optical_glasses_tp_theme_css .= 'width: 100%; object-fit: cover;';
    $optical_glasses_tp_theme_css .= '}';
    $optical_glasses_tp_theme_css .= '}';

    // Mobile height
    $optical_glasses_tp_theme_css .= '@media screen and (max-width: 767px) {';
    $optical_glasses_tp_theme_css .= '#slider {';
    if ( $optical_glasses_slider_img_height_resp ) {
        $optical_glasses_tp_theme_css .= 'height: ' . esc_attr( $optical_glasses_slider_img_height_resp ) . ' !important;';
    }
    $optical_glasses_tp_theme_css .= 'width: 100%; object-fit: cover;';
    $optical_glasses_tp_theme_css .= '}';
    $optical_glasses_tp_theme_css .= '}';

    

// footer widget letter case
$optical_glasses_footer_widget_title_text_tranform = get_theme_mod( 'optical_glasses_footer_widget_title_text_tranform','');
if($optical_glasses_footer_widget_title_text_tranform == 'Uppercase'){
$optical_glasses_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $optical_glasses_tp_theme_css .='text-transform: uppercase;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_footer_widget_title_text_tranform == 'Lowercase'){
$optical_glasses_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $optical_glasses_tp_theme_css .='text-transform: lowercase;';
$optical_glasses_tp_theme_css .='}';
}
else if($optical_glasses_footer_widget_title_text_tranform == 'Capitalize'){
$optical_glasses_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $optical_glasses_tp_theme_css .='text-transform: capitalize;';
$optical_glasses_tp_theme_css .='}';
}

//Footer Font Weight
$optical_glasses_footer_widget_title_font_weight = get_theme_mod( 'optical_glasses_footer_widget_title_font_weight','');
if($optical_glasses_footer_widget_title_font_weight == '100'){
$optical_glasses_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $optical_glasses_tp_theme_css .='font-weight: 100;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_footer_widget_title_font_weight == '200'){
$optical_glasses_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $optical_glasses_tp_theme_css .='font-weight: 200;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_footer_widget_title_font_weight == '300'){
$optical_glasses_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $optical_glasses_tp_theme_css .='font-weight: 300;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_footer_widget_title_font_weight == '400'){
$optical_glasses_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $optical_glasses_tp_theme_css .='font-weight: 400;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_footer_widget_title_font_weight == '500'){
$optical_glasses_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $optical_glasses_tp_theme_css .='font-weight: 500;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_footer_widget_title_font_weight == '600'){
$optical_glasses_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $optical_glasses_tp_theme_css .='font-weight: 600;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_footer_widget_title_font_weight == '700'){
$optical_glasses_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $optical_glasses_tp_theme_css .='font-weight: 700;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_footer_widget_title_font_weight == '800'){
$optical_glasses_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $optical_glasses_tp_theme_css .='font-weight: 800;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_footer_widget_title_font_weight == '900'){
$optical_glasses_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $optical_glasses_tp_theme_css .='font-weight: 900;';
$optical_glasses_tp_theme_css .='}';
}

// footer widget position
$optical_glasses_footer_widget_title_position = get_theme_mod( 'optical_glasses_footer_widget_title_position','');
if($optical_glasses_footer_widget_title_position == 'Right'){
$optical_glasses_tp_theme_css .='#footer aside.widget-area{';
$optical_glasses_tp_theme_css .='text-align: right;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_footer_widget_title_position == 'Left'){
$optical_glasses_tp_theme_css .='#footer aside.widget-area{';
$optical_glasses_tp_theme_css .='text-align: left;';
$optical_glasses_tp_theme_css .='}';
}else if($optical_glasses_footer_widget_title_position == 'Center'){
$optical_glasses_tp_theme_css .='#footer aside.widget-area{';
$optical_glasses_tp_theme_css .='text-align: center;';
$optical_glasses_tp_theme_css .='}';
}
