<?php

$farming_store_tp_theme_css = '';

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

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

// related post
$farming_store_related_post_mob = get_theme_mod('farming_store_related_post_mob', true);
$farming_store_related_post = get_theme_mod('farming_store_remove_related_post', true);
$farming_store_tp_theme_css .= '.related-post-block {';
if ($farming_store_related_post == false) {
    $farming_store_tp_theme_css .= 'display: none;';
}
$farming_store_tp_theme_css .= '}';
$farming_store_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($farming_store_related_post == false || $farming_store_related_post_mob == false) {
    $farming_store_tp_theme_css .= '.related-post-block { display: none; }';
}
$farming_store_tp_theme_css .= '}';

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

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

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


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

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

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

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

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

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

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

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

$farming_store_woocommerce_sale_font_size = get_theme_mod('farming_store_woocommerce_sale_font_size');
if($farming_store_woocommerce_sale_font_size != false){
    $farming_store_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $farming_store_tp_theme_css .='font-size: '.esc_attr($farming_store_woocommerce_sale_font_size).'px;';
    $farming_store_tp_theme_css .='}';
}

$farming_store_woocommerce_sale_padding_top_bottom = get_theme_mod('farming_store_woocommerce_sale_padding_top_bottom');
if($farming_store_woocommerce_sale_padding_top_bottom != false){
    $farming_store_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $farming_store_tp_theme_css .='padding-top: '.esc_attr($farming_store_woocommerce_sale_padding_top_bottom).'px; padding-bottom: '.esc_attr($farming_store_woocommerce_sale_padding_top_bottom).'px;';
    $farming_store_tp_theme_css .='}';
}

$farming_store_woocommerce_sale_padding_left_right = get_theme_mod('farming_store_woocommerce_sale_padding_left_right');
if($farming_store_woocommerce_sale_padding_left_right != false){
    $farming_store_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $farming_store_tp_theme_css .='padding-left: '.esc_attr($farming_store_woocommerce_sale_padding_left_right).'px !Important; padding-right: '.esc_attr($farming_store_woocommerce_sale_padding_left_right).'px !important;';
    $farming_store_tp_theme_css .='}';
}

$farming_store_woocommerce_sale_border_radius = get_theme_mod('farming_store_woocommerce_sale_border_radius', 100);
if($farming_store_woocommerce_sale_border_radius != false){
    $farming_store_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $farming_store_tp_theme_css .='border-radius: '.esc_attr($farming_store_woocommerce_sale_border_radius).'% !important;';
    $farming_store_tp_theme_css .='}';
}

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

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

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

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

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

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

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

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

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

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

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

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

    // Slider Height
    $farming_store_slider_img_height      = get_theme_mod('farming_store_slider_img_height');
    $farming_store_slider_img_height_resp = get_theme_mod('farming_store_slider_img_height_responsive');

    // Desktop height
    $farming_store_tp_theme_css .= '@media screen and (min-width: 768px) {';
    $farming_store_tp_theme_css .= '#slider .slider-border img {';
    if ( $farming_store_slider_img_height ) {
        $farming_store_tp_theme_css .= 'height: ' . esc_attr( $farming_store_slider_img_height ) . ';';
    }
    $farming_store_tp_theme_css .= 'width: 100%;';
    $farming_store_tp_theme_css .= '}';
    $farming_store_tp_theme_css .= '}';

    // Mobile height
    $farming_store_tp_theme_css .= '@media screen and (max-width: 767px) {';
    $farming_store_tp_theme_css .= '#slider .slider-border img {';
    if ( $farming_store_slider_img_height_resp ) {
        $farming_store_tp_theme_css .= 'height: ' . esc_attr( $farming_store_slider_img_height_resp ) . ' !important;';
    }
    $farming_store_tp_theme_css .= 'width: 100%;';
    $farming_store_tp_theme_css .= '}';
    $farming_store_tp_theme_css .= '}';

    // header
    $farming_store_slider_arrows = get_theme_mod('farming_store_slider_arrows', true);
    if($farming_store_slider_arrows == false){
    $farming_store_tp_theme_css .='.page-template-front-page .main-header{';
        $farming_store_tp_theme_css .='position:static; background: var(--color-primary2)';
    $farming_store_tp_theme_css .='}';
    }

    //First Cap ( Blog Post )
    $farming_store_show_first_caps = get_theme_mod('farming_store_show_first_caps', 'false');
    if($farming_store_show_first_caps == 'true' ){
    $farming_store_tp_theme_css .='.blog .page-box p:nth-of-type(1)::first-letter{';
    $farming_store_tp_theme_css .=' font-size: 55px; font-weight: 600;';
    $farming_store_tp_theme_css .=' margin-right: 6px;';
    $farming_store_tp_theme_css .=' line-height: 1;';
    $farming_store_tp_theme_css .='}';
    }elseif($farming_store_show_first_caps == 'false' ){
    $farming_store_tp_theme_css .='.blog .page-box p:nth-of-type(1)::first-letter {';
    $farming_store_tp_theme_css .='display: none;';
    $farming_store_tp_theme_css .='}';
    }

    // Menu hover effect
    $farming_store_menus_item = get_theme_mod( 'farming_store_menus_item_style','None');
    if($farming_store_menus_item == 'None'){
        $farming_store_tp_theme_css .='.main-navigation a:hover{';
            $farming_store_tp_theme_css .='';
        $farming_store_tp_theme_css .='}';
    }else if($farming_store_menus_item == 'Zoom In'){
        $farming_store_tp_theme_css .='.main-navigation a:hover{';
            $farming_store_tp_theme_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
        $farming_store_tp_theme_css .='}';
    }

    // footer widget letter case
    $farming_store_footer_widget_title_text_tranform = get_theme_mod( 'farming_store_footer_widget_title_text_tranform','');
    if($farming_store_footer_widget_title_text_tranform == 'Uppercase'){
    $farming_store_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 {';
        $farming_store_tp_theme_css .='text-transform: uppercase;';
    $farming_store_tp_theme_css .='}';
    }else if($farming_store_footer_widget_title_text_tranform == 'Lowercase'){
    $farming_store_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 {';
        $farming_store_tp_theme_css .='text-transform: lowercase;';
    $farming_store_tp_theme_css .='}';
    }
    else if($farming_store_footer_widget_title_text_tranform == 'Capitalize'){
    $farming_store_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 {';
        $farming_store_tp_theme_css .='text-transform: capitalize;';
    $farming_store_tp_theme_css .='}';
    }

    //Footer Font Weight
    $farming_store_footer_widget_title_font_weight = get_theme_mod( 'farming_store_footer_widget_title_font_weight','');
    if($farming_store_footer_widget_title_font_weight == '100'){
    $farming_store_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 {';
        $farming_store_tp_theme_css .='font-weight: 100;';
    $farming_store_tp_theme_css .='}';
    }else if($farming_store_footer_widget_title_font_weight == '200'){
    $farming_store_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 {';
        $farming_store_tp_theme_css .='font-weight: 200;';
    $farming_store_tp_theme_css .='}';
    }else if($farming_store_footer_widget_title_font_weight == '300'){
    $farming_store_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 {';
        $farming_store_tp_theme_css .='font-weight: 300;';
    $farming_store_tp_theme_css .='}';
    }else if($farming_store_footer_widget_title_font_weight == '400'){
    $farming_store_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 {';
        $farming_store_tp_theme_css .='font-weight: 400;';
    $farming_store_tp_theme_css .='}';
    }else if($farming_store_footer_widget_title_font_weight == '500'){
    $farming_store_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 {';
        $farming_store_tp_theme_css .='font-weight: 500;';
    $farming_store_tp_theme_css .='}';
    }else if($farming_store_footer_widget_title_font_weight == '600'){
    $farming_store_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 {';
        $farming_store_tp_theme_css .='font-weight: 600;';
    $farming_store_tp_theme_css .='}';
    }else if($farming_store_footer_widget_title_font_weight == '700'){
    $farming_store_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 {';
        $farming_store_tp_theme_css .='font-weight: 700;';
    $farming_store_tp_theme_css .='}';
    }else if($farming_store_footer_widget_title_font_weight == '800'){
    $farming_store_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 {';
        $farming_store_tp_theme_css .='font-weight: 800;';
    $farming_store_tp_theme_css .='}';
    }else if($farming_store_footer_widget_title_font_weight == '900'){
    $farming_store_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 {';
        $farming_store_tp_theme_css .='font-weight: 900;';
    $farming_store_tp_theme_css .='}';
    }

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

    // Slider animation
    $farming_store_slider_sec_animation = get_theme_mod( 'farming_store_slider_sec_animation', true );
    if ( $farming_store_slider_sec_animation ) {
        $farming_store_tp_theme_css .= '#slider { animation: bounceInDown 3s; animation-fill-mode: both; }';
    }

    // About Section ANimation
    $farming_store_about_sec_animation = get_theme_mod( 'farming_store_about_sec_animation', true );
    if ( $farming_store_about_sec_animation ) {
        $farming_store_tp_theme_css .= '#service-section { animation: bounceInDown 3s; animation-fill-mode: both; }';
    }

    // footer Section ANimation
    $farming_store_footer_animation = get_theme_mod( 'farming_store_footer_animation', true );
    if ( $farming_store_footer_animation ) {
        $farming_store_tp_theme_css .= '#footer { animation: bounceInDown 3s; animation-fill-mode: both; }';
    }

    // Output the complete CSS
    if ( ! empty( $farming_store_tp_theme_css ) ) {
        echo '<style id="farming-store-dynamic-css">' . $farming_store_tp_theme_css . '</style>';
    }
    ?>