"use strict";function hideControls(o){for(var t=0;t.woocommerce .woocommerce-MyAccount-navigation ul .is-active a,.sidebar-top+.widget-area .sidebar-wrapper,.woocommerce-Reviews #comments .review .comment_container .comment-text .description, .woocommerce-Reviews #review_form_wrapper,.botiga-mstepc-wrapper .woocommerce-billing-fields__field-wrapper, .botiga-mstepc-wrapper .woocommerce-shipping-fields__field-wrapper, .botiga-mstepc-wrapper .woocommerce-account-fields, .botiga-mstepc-wrapper .woocommerce-additional-fields__field-wrapper, .botiga-mstepc-wrapper .botiga-mstepc-tabs-nav .botiga-mstepc-tabs-nav-item .step, .botiga-mstepc-wrapper .botiga-mstep-order-review",color_forms_background:'input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="number"],input[type="tel"],input[type="range"],input[type="date"],input[type="month"],input[type="week"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="color"],textarea,select,.woocommerce .select2-container .select2-selection--single,.woocommerce-page .select2-container .select2-selection--single,.woocommerce-cart .woocommerce-cart-form .actions .coupon input[type="text"]',offcanvas_menu_background:".botiga-offcanvas-menu",mobile_header_background:"#masthead-mobile",button_background_color:'button,a.button,.wp-block-button__link,input[type="button"],input[type="reset"],input[type="submit"],.widget_product_tag_cloud .tag-cloud-link,.widget_price_filter .ui-slider .ui-slider-handle,.botiga-carousel.botiga-carousel-nav2 .botiga-carousel-nav-next, .botiga-carousel.botiga-carousel-nav2 .botiga-carousel-nav-prev',single_product_sale_background_color:".wc-block-grid__product-onsale, span.onsale",shop_product_card_background:"ul.wc-block-grid__products li.wc-block-grid__product, ul.wc-block-grid__products li.product, ul.products li.wc-block-grid__product, ul.products li.product",main_header_bottom_background:".bottom-header-row",main_header_background:".site-header,.header-search-form",scrolltop_bg_color:".back-to-top",topbar_background:".top-bar",footer_credits_background:".site-footer",footer_widgets_background:".footer-widgets",header_top_row_background:".header-top",header_middle_row_background:".header-middle",header_bottom_row_background:".header-bottom",color_body_text:".widget_price_filter .ui-slider .ui-slider-range",single_sticky_add_to_cart_style_color_background:'.botiga-single-sticky-add-to-cart-wrapper, .botiga-single-sticky-add-to-cart-wrapper input[type="number"] ,.botiga-single-sticky-add-to-cart-wrapper select',desktop_offcanvas_menu_background_color:".botiga-desktop-offcanvas, .botiga-desktop-offcanvas .site-header-cart .count-number, .botiga-desktop-offcanvas .header-wishlist-icon .count-number",main_header_sticky_active_background:".sticky-header-active .site-header, .sticky-header-active .header-search-form, .sticky-header-active .site-header-cart .count-number, .sticky-header-active .header-wishlist-icon .count-number",shop_product_wishlist_icon_background_color:".botiga-wishlist-button"},function(o,t){wp.customize(o,function(o){o.bind(function(o){a(t).css("background-color",o)})})});a.each({color_body_text:".site-header-cart .widget_shopping_cart .widgettitle:after, .site-header-cart .widget_shopping_cart .woocommerce-mini-cart__buttons:before,.botiga-mstepc-wrapper .divider"},function(t,e){wp.customize(t,function(o){o.bind(function(o){a("head").find("#botiga-customizer-styles-"+t).remove();o=e+" { background-color:"+hexToRGB(o,.1)+"!important; }";a("head").append('")})})}),a.each({main_header_submenu_color:".main-navigation ul ul a",background_color:".site-header-cart .product_list_widget li a.remove",shop_product_product_title:"ul.wc-block-grid__products li.wc-block-grid__product .wc-block-grid__product-title, ul.wc-block-grid__products li.wc-block-grid__product .woocommerce-loop-product__title, ul.wc-block-grid__products li.product .wc-block-grid__product-title, ul.wc-block-grid__products li.product .woocommerce-loop-product__title, ul.products li.wc-block-grid__product .wc-block-grid__product-title, ul.products li.wc-block-grid__product .woocommerce-loop-product__title, ul.products li.product .wc-block-grid__product-title, ul.products li.product .woocommerce-loop-product__title, ul.products li.product .woocommerce-loop-category__title, .woocommerce-loop-product__title .botiga-wc-loop-product__title",site_description_color:".site-description",site_title_color:".site-header .site-title a",color_body_text:"body,.site-header-cart .count-number, .woocommerce-cart-form .quantity .botiga-quantity-plus, form.cart .quantity .botiga-quantity-plus, .woocommerce-cart-form .quantity .botiga-quantity-minus, form.cart .quantity .botiga-quantity-minus, .wp-block-columns p a, .woocommerce-account.logged-in .entry-content>.woocommerce .woocommerce-MyAccount-navigation ul a,.shop_table.order_details, .shop_table.woocommerce-MyAccount-orders,.mini_cart_item a:nth-child(2),.woocommerce-cart .product-name a,.woocommerce-cart .product-remove a,.widget a:not(.wc-forward),.botiga-related-posts .related-post h3 a, .botiga-mstepc-wrapper a",color_link_default:"a:not(.button):not(.wc-forward):not(.wp-block-button__link):not(.botiga-quantity-plus):not(.botiga-quantity-minus):not(.remove_from_cart_button):not(.botiga-wc-loop-product__title),.woocommerce-account.logged-in .entry-content>.woocommerce .woocommerce-MyAccount-navigation ul .is-active a,.woocommerce-table__product-name.product-name a,.woocommerce-orders-table__cell-order-number a,.woocommerce-MyAccount-content p a,.site-header-cart .widget_shopping_cart .woocommerce-mini-cart__buttons .button:not(.checkout),.botiga-related-posts .related-post .posted-on a",color_heading_1:"h1",color_heading_2:"h2,.wp-block-search .wp-block-search__label",color_heading_3:"h3",color_heading_4:"h4,.product-gallery-summary .product_meta,.product-gallery-summary .product_meta a,.woocommerce-breadcrumb,.woocommerce-breadcrumb a,.woocommerce-tabs ul.tabs li a,.product-gallery-summary .woocommerce-Price-amount,.woocommerce-mini-cart-item .quantity,.woocommerce-mini-cart__total .woocommerce-Price-amount,.order-total .woocommerce-Price-amount",color_heading_5:"h5:not(.sticky-addtocart-title)",color_heading_6:"h6",color_forms_text:'input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="number"],input[type="tel"],input[type="range"],input[type="date"],input[type="month"],input[type="week"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="color"],textarea,select,.woocommerce .select2-container .select2-selection--single,input[type="text"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="password"]:focus,input[type="search"]:focus,input[type="number"]:focus,input[type="tel"]:focus,input[type="range"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="week"]:focus,input[type="time"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="color"]:focus,textarea:focus,select:focus,.woocommerce .select2-container .select2-selection--single:focus,.woocommerce-page .select2-container .select2-selection--single,.select2-container--default .select2-selection--single .select2-selection__rendered',offcanvas_menu_color:".botiga-offcanvas-menu, .botiga-offcanvas-menu a:not(.button)",mobile_header_color:"#masthead-mobile,#masthead-mobile a:not(.button)",button_color:'button,.button:not(.wc-forward),a.button:not(.wc-forward),.checkout-button.button,.wp-block-button__link,input[type="button"],input[type="reset"],input[type="submit"],.widget_product_tag_cloud .tag-cloud-link,.botiga-carousel.botiga-carousel-nav2 .botiga-carousel-nav-next, .botiga-carousel.botiga-carousel-nav2 .botiga-carousel-nav-prev',single_product_sale_color:".wc-block-grid__product-onsale, span.onsale",single_product_title_color:".product-gallery-summary .product_title",single_product_price_color:".product-gallery-summary .price",loop_post_text_color:".posts-archive .entry-content",loop_post_title_color:".posts-archive .entry-title a",loop_post_meta_color:".posts-archive .entry-meta a",single_post_meta_color:".single .entry-meta a",single_post_title_color:".single .entry-header .entry-title",main_header_bottom_color:".bottom-header-row, .bottom-header-row .header-contact a,.bottom-header-row .main-navigation .menu > li > a",main_header_color:".site-header .site-title a,.site-header .main-navigation .menu > li > a, .site-header .header-contact a",scrolltop_color:".back-to-top",topbar_color:".top-bar, .top-bar a",footer_credits_text_color:".site-info",footer_credits_links_color:".site-info a",footer_credits_links_color_hover:".site-info a:hover",footer_widgets_links_color:".widget-column .widget a",footer_widgets_text_color:".widget-column .widget",footer_widgets_title_color:".widget-column .widget .widget-title",single_sticky_add_to_cart_style_color_content:".botiga-single-sticky-add-to-cart-wrapper h5, .botiga-single-sticky-add-to-cart-wrapper .price, .botiga-single-sticky-add-to-cart-wrapper .price del, .botiga-single-sticky-add-to-cart-wrapper form.cart .quantity .botiga-quantity-minus, .botiga-single-sticky-add-to-cart-wrapper form.cart .quantity .botiga-quantity-plus, .botiga-single-sticky-add-to-cart-wrapper .quantity .qty, .botiga-single-sticky-add-to-cart-wrapper .botiga-single-sticky-add-to-cart-wrapper-content .variations_form table.variations .label, .botiga-single-sticky-add-to-cart-wrapper select",desktop_offcanvas_menu_text_color:".botiga-desktop-offcanvas .main-navigation .menu li a, .botiga-desktop-offcanvas .site-title a, .botiga-desktop-offcanvas .site-description, .botiga-desktop-offcanvas .site-header-cart .count-number, .botiga-desktop-offcanvas .header-wishlist-icon .count-number, .botiga-desktop-offcanvas .header-contact a",main_header_sticky_active_color:".sticky-header-active .site-header .site-title a, .sticky-header-active .site-header .site-description, .sticky-header-active .site-header .main-navigation .menu > li > a, .sticky-header-active .site-header .header-contact a, .sticky-header-active .site-header-cart .count-number, .sticky-header-active .header-wishlist-icon .count-number"},function(o,t){wp.customize(o,function(o){o.bind(function(o){a(t).css("color",o)})})});a.each({offcanvas_menu_color:".botiga-offcanvas-menu svg:not(.stroke-based)",mobile_header_color:"#masthead-mobile svg:not(.stroke-based)",main_header_bottom_color:".bottom-header-row .header-item svg:not(.stroke-based),.dropdown-symbol .ws-svg-icon svg",main_header_color:".site-header .header-item svg:not(.stroke-based), .site-header .dropdown-symbol .ws-svg-icon svg",topbar_color:".top-bar svg:not(.stroke-based)",footer_credits_text_color:".site-info .ws-svg-icon svg",desktop_offcanvas_menu_text_color:".botiga-desktop-offcanvas .header-item svg:not(.stroke-based), .botiga-desktop-offcanvas .dropdown-symbol .ws-svg-icon svg, .desktop-menu-close svg",color_body_text:".sidebar-slide .sidebar-open-wrapper .sidebar-open svg, .sidebar-slide+.widget-area .sidebar-wrapper .close-sidebar svg",main_header_sticky_active_color:".sticky-header-active .site-header .header-item svg:not(.stroke-based), .sticky-header-active .site-header .dropdown-symbol .ws-svg-icon svg"},function(o,t){wp.customize(o,function(o){o.bind(function(o){a(t).css("fill",o)})})});a.each({scrolltop_color:".back-to-top svg",color_link_hover:".has-cross-sells-carousel .cross-sells .botiga-carousel-wrapper .botiga-carousel-nav svg path",main_header_color:".site-header .header-item svg.stroke-based",offcanvas_menu_color:".botiga-offcanvas-menu svg.stroke-based",mobile_header_color:"#masthead-mobile svg.stroke-based",main_header_bottom_color:".bottom-header-row .header-item svg.stroke-based",desktop_offcanvas_menu_text_color:".botiga-desktop-offcanvas .header-item svg.stroke-based",main_header_sticky_active_color:".sticky-header-active .site-header .header-item svg.stroke-based"},function(o,t){wp.customize(o,function(o){o.bind(function(o){a(t).css("stroke",o)})})});a.each({color_forms_borders:'input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="number"],input[type="tel"],input[type="range"],input[type="date"],input[type="month"],input[type="week"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="color"],textarea,select,.woocommerce .select2-container .select2-selection--single,.woocommerce-page .select2-container .select2-selection--single,.woocommerce-account fieldset,.woocommerce-account .woocommerce-form-login, .woocommerce-account .woocommerce-form-register,.woocommerce-cart .woocommerce-cart-form .actions .coupon input[type="text"]',link_separator_color:".botiga-offcanvas-menu .main-navigation ul li",button_border_color:'button,a.button,.wp-block-button__link,input[type="button"],input[type="reset"],input[type="submit"]',shop_product_card_border_color:"ul.wc-block-grid__products li.wc-block-grid__product, ul.wc-block-grid__products li.product, ul.products li.wc-block-grid__product, ul.products li.product",footer_credits_divider_color:".site-info,.site-footer",footer_widgets_divider_color:".footer-widgets,.footer-widgets-grid",color_body_text:".woocommerce-cart-form .quantity, form.cart .quantity",color_link_default:".single-product div.product .gallery-vertical .flex-control-thumbs li img:hover, .single-product div.product .gallery-vertical .flex-control-thumbs li img.flex-active",single_sticky_add_to_cart_style_color_border:".botiga-single-sticky-add-to-cart-wrapper",single_sticky_add_to_cart_style_color_content:".botiga-single-sticky-add-to-cart-wrapper form.cart .quantity, .botiga-single-sticky-add-to-cart-wrapper select",main_header_color:".site-header-cart .count-number, .header-wishlist-icon .count-number",desktop_offcanvas_menu_text_color:".botiga-desktop-offcanvas .site-header-cart .count-number, .botiga-desktop-offcanvas .header-wishlist-icon .count-number",main_header_sticky_active_color:".sticky-header-active .site-header-cart .count-number, .sticky-header-active .header-wishlist-icon .count-number"},function(o,t){wp.customize(o,function(o){o.bind(function(o){a(t).css("border-color",o)})})});a.each({color_body_text:".shop_table th, .shop_table td, .shop_table tr,.woocommerce-sorting-wrapper,.widget-area .widget,ul.products li.product"},function(o,t){wp.customize(o,function(o){o.bind(function(o){a(t).css("border-color",hexToRGB(o,.1))})})});a.each({color_link_hover:"a:not(.button):not(.wc-forward):not(.wp-block-button__link):not(.botiga-quantity-plus):not(.botiga-quantity-minus):not(.remove_from_cart_button):not(.category-button):hover,.wp-block-columns p a:hover,.woocommerce-cart .product-name a:hover,.woocommerce-cart .product-remove a:hover,.woocommerce-orders-table__cell-order-number a:hover, .woocommerce-MyAccount-content p a:hover,.widget a:not(.wc-forward):hover,.botiga-related-posts .related-post h3 a:hover,.botiga-related-posts .related-post .posted-on a:hover",button_color_hover:'button:hover,a.button:not(.wc-forward):hover,.a.button.checkout,.wp-block-button__link:hover,input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover,.widget_product_tag_cloud .tag-cloud-link:hover,.woocommerce-pagination li .page-numbers:hover,.botiga-carousel.botiga-carousel-nav2 .botiga-carousel-nav-next:hover, .botiga-carousel.botiga-carousel-nav2 .botiga-carousel-nav-prev:hover',scrolltop_color_hover:".back-to-top:hover",footer_widgets_links_hover_color:".widget-column .widget a:hover",footer_credits_links_color_hover:".site-info a:hover",shop_product_product_title_hover:"ul.wc-block-grid__products li.wc-block-grid__product .wc-block-grid__product-title:hover, ul.wc-block-grid__products li.wc-block-grid__product .woocommerce-loop-product__title:hover, ul.wc-block-grid__products li.product .wc-block-grid__product-title:hover, ul.wc-block-grid__products li.product .woocommerce-loop-product__title:hover, ul.products li.wc-block-grid__product .wc-block-grid__product-title:hover, ul.products li.wc-block-grid__product .woocommerce-loop-product__title:hover, ul.products li.product .wc-block-grid__product-title:hover, ul.products li.product .woocommerce-loop-product__title:hover, ul.products li.product .woocommerce-loop-category__title:hover, .woocommerce-loop-product__title .botiga-wc-loop-product__title:hover"},function(t,e){wp.customize(t,function(o){o.bind(function(o){a("head").find("#botiga-customizer-styles-"+t).remove();o=e+" { color:"+o+"!important; }";a("head").append('")})})});a.each({scrolltop_color_hover:".back-to-top:hover svg",color_link_default:".has-cross-sells-carousel .cross-sells .botiga-carousel-wrapper .botiga-carousel-nav:hover svg path"},function(t,e){wp.customize(t,function(o){o.bind(function(o){a("head").find("#botiga-customizer-styles-"+t).remove();o=e+" { stroke:"+o+"!important; }";a("head").append('")})})});a.each({button_background_color_hover:'button:hover,a.button:hover,.wp-block-button__link:hover,input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover,.widget_product_tag_cloud .tag-cloud-link:hover,.widget_price_filter .ui-slider .ui-slider-handle:hover,.botiga-carousel.botiga-carousel-nav2 .botiga-carousel-nav-next:hover, .botiga-carousel.botiga-carousel-nav2 .botiga-carousel-nav-prev:hover',scrolltop_bg_color_hover:".back-to-top:hover"},function(t,e){wp.customize(t,function(o){o.bind(function(o){a("head").find("#botiga-customizer-styles-"+t).remove();o=e+" { background-color:"+o+"!important; }";a("head").append('")})})});a.each({button_border_color_hover:'button:hover,a.button:hover,.wp-block-button__link:hover,input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover'},function(t,e){wp.customize(t,function(o){o.bind(function(o){a("head").find("#botiga-customizer-styles-"+t).remove();o=e+" { border-color:"+o+"!important; }";a("head").append('")})})}),wp.customize("center_top_bar_contents",function(o){o.bind(function(o){!1===o?(a(".top-bar-inner > .row").css("display","flex"),a(".top-bar-inner .col").css("justify-content","flex-start"),a(".top-bar-inner .col:last-of-type").css("justify-content","flex-end")):(a(".top-bar-inner > .row").css("display","block"),a(".top-bar-inner .col").css("justify-content","center"),a(".top-bar-inner .col").css("text-align","center"))})}),wp.customize("topbar_padding",function(o){o.bind(function(o){a(".top-bar-inner").css({paddingTop:o+"px",paddingBottom:o+"px"})})}),wp.customize("topbar_divider_size",function(o){o.bind(function(o){a(".top-bar,.top-bar-inner").css("border-width",o)})}),wp.customize("topbar_divider_color",function(o){o.bind(function(o){a(".top-bar,.top-bar-inner").css("border-color",o)})}),wp.customize("main_header_padding",function(o){o.bind(function(o){a(".site-header-inner, .top-header-row").css({paddingTop:o+"px",paddingBottom:o+"px"})})}),wp.customize("main_header_bottom_padding",function(o){o.bind(function(o){a(".bottom-header-inner").css({paddingTop:o+"px",paddingBottom:o+"px"})})}),wp.customize("main_header_divider_color",function(o){o.bind(function(o){a(".site-header, .bottom-header-row,.top-header-row,.site-header-inner, .bottom-header-inner").css("border-color",o)})}),wp.customize("mobile_menu_alignment",function(o){o.bind(function(o){a(".botiga-offcanvas-menu .main-navigation ul li").css("text-align",o)})}),wp.customize("mobile_menu_link_spacing",function(o){o.bind(function(o){a(".botiga-offcanvas-menu .main-navigation a").css("padding-top",o/2),a(".botiga-offcanvas-menu .main-navigation a").css("padding-bottom",o/2)})}),wp.customize("mobile_header_padding",function(o){o.bind(function(o){a(".mobile-header").css({paddingTop:o+"px",paddingBottom:o+"px"})})}),wp.customize("mobile_header_separator_width",function(o){o.bind(function(o){a(".botiga-offcanvas-menu .main-navigation ul li").css("border-bottom-width",o+"px")})}),wp.customize("main_header_areas_spacing_l6",function(o){o.bind(function(o){a(".header_layout_6 .botiga-desktop-offcanvas > .row > div").css({"margin-top":o+"px"})})}),wp.customize("main_header_elements_spacing_l6",function(o){o.bind(function(o){a(".header_layout_6 .header-item").css({"margin-bottom":o+"px"}),a(".header_layout_6 .header-item.header-contact a + a").css({"margin-top":o+"px"})})}),wp.customize("main_header_padding",function(o){o.bind(function(o){a(".header_layout_6 .botiga-desktop-offcanvas").css({padding:o+"px"})})}),wp.customize("desktop_offcanvas_padding",function(o){o.bind(function(o){a(".header_layout_7 .botiga-desktop-offcanvas, .header_layout_8 .botiga-desktop-offcanvas").css({padding:o+"px"})})}),wp.customize("desktop_offcanvas_menu_link_spacing",function(o){o.bind(function(o){a(".header_layout_7 .botiga-desktop-offcanvas .main-navigation .menu > li > a, .header_layout_8 .botiga-desktop-offcanvas .main-navigation .menu > li > a").css({"padding-top":o+"px","padding-bottom":o+"px"})})}),wp.customize("desktop_offcanvas_link_separator_color",function(o){o.bind(function(o){window.parent.window.wp.customize.control("desktop_offcanvas_menu_link_separator").setting.get()&&a(".header_layout_7 .botiga-desktop-offcanvas .main-navigation .menu > li + li, .header_layout_8 .botiga-desktop-offcanvas .main-navigation .menu > li + li").css({"border-top":"1px solid "+hexToRGB(o,.1)})})}),wp.customize("desktop_offcanvas_content_areas_spacing",function(o){o.bind(function(o){a(".header_layout_7 .botiga-desktop-offcanvas > .row > div ,.header_layout_8 .botiga-desktop-offcanvas > .row > div").css({"margin-top":o+"px"})})}),wp.customize("header_components_desktop_offcanvas_elements_spacing",function(o){o.bind(function(o){a(".header_layout_7 .botiga-desktop-offcanvas .header-item, .header_layout_8 .botiga-desktop-offcanvas .header-item").css({"margin-bottom":o+"px"}),a(".header_layout_7 .botiga-desktop-offcanvas .header-item.header-contact a + a, .header_layout_8 .botiga-desktop-offcanvas .header-item.header-contact a + a").css({"margin-top":o+"px"})})}),wp.customize("archive_featured_image_size_desktop",function(o){o.bind(function(o){a(".posts-archive .list-image").css("width",o+"%"),a(".posts-archive .list-content").css("width",100-o+"%")})}),wp.customize("archive_featured_image_size_desktop",function(o){o.bind(function(o){a(".posts-archive .list-image").css("width",o+"%"),a(".posts-archive .list-content").css("width",100-o+"%")})}),wp.customize("archive_meta_spacing",function(o){o.bind(function(o){a(".posts-archive .entry-meta").css("margin",o+"px 0")})}),wp.customize("archive_title_spacing",function(o){o.bind(function(o){a(".posts-archive .entry-header").css("margin-bottom",o+"px")})}),wp.customize("single_post_header_spacing",function(o){o.bind(function(o){a(".single .entry-header").css("margin-bottom",o+"px")})}),wp.customize("single_post_image_spacing",function(o){o.bind(function(o){a(".single .post-thumbnail").css("margin-bottom",o+"px")})}),wp.customize("single_post_meta_spacing",function(o){o.bind(function(o){a(".entry-meta-above").css("margin-bottom",o+"px"),a(".entry-meta-below").css("margin-top",o+"px")})}),wp.customize("footer_widgets_column_spacing_desktop",function(o){o.bind(function(o){a(".footer-widgets-grid").css("gap",o+"px")})}),wp.customize("footer_widgets_divider_size",function(o){o.bind(function(o){a(".footer-widgets,.footer-widgets-grid").css("border-width",o)})}),wp.customize("footer_credits_divider_size",function(o){o.bind(function(o){a(".site-info,.site-footer").css("border-width",o)})}),wp.customize("footer_credits_padding_desktop",function(o){o.bind(function(o){a(".site-info").css("padding-top",o+"px")})}),wp.customize("footer_credits_padding_bottom_desktop",function(o){o.bind(function(o){a(".site-info").css("padding-bottom",o+"px")})}),wp.customize("color_heading_4",function(o){o.bind(function(o){var t=hexToRGB(o,.1);a("table, table th, table td, table tr, .woocommerce-tabs ul.tabs,.product-gallery-summary .product_meta").css("border-color",t),a(".site-header-cart .product_list_widget li a.remove").css("background-color",o),a(".woocommerce-tabs ul.tabs li.active a").css("border-color",o)})}),wp.customize("footer_copyright_elements_spacing_desktop",function(o){o.bind(function(o){a(".footer-copyright-elements>div+div").css("margin-top",o+"px")})}),wp.customize("scrolltop_radius",function(o){o.bind(function(o){a(".back-to-top.display").css("border-radius",o+"px")})}),wp.customize("scrolltop_side_offset",function(o){o.bind(function(o){a(".back-to-top.position-right").css("right",o+"px"),a(".back-to-top.position-left").css("left",o+"px")})}),wp.customize("scrolltop_bottom_offset",function(o){o.bind(function(o){a(".back-to-top").css("bottom",o+"px")})}),wp.customize("scrolltop_icon_size",function(o){o.bind(function(o){a(".back-to-top .ws-svg-icon").css("width",o+"px"),a(".back-to-top .ws-svg-icon").css("height",o+"px")})}),wp.customize("scrolltop_padding",function(o){o.bind(function(o){a(".back-to-top").css("padding",o+"px")})}),wp.customize("shop_product_element_spacing",function(o){o.bind(function(o){a("ul.wc-block-grid__products li.wc-block-grid__product .col-md-7>*, ul.wc-block-grid__products li.wc-block-grid__product .col-md-8>*, ul.wc-block-grid__products li.wc-block-grid__product>*, ul.wc-block-grid__products li.product .col-md-7>*, ul.wc-block-grid__products li.product .col-md-8>*, ul.wc-block-grid__products li.product>*, ul.products li.wc-block-grid__product .col-md-7>*, ul.products li.wc-block-grid__product .col-md-8>*, ul.products li.wc-block-grid__product>*, ul.products li.product .col-md-7>*, ul.products li.product .col-md-8>*, ul.products li.product>*").css("margin-bottom",o+"px")})}),wp.customize("shop_sale_tag_radius",function(o){o.bind(function(o){a(".wc-block-grid__product-onsale, span.onsale").css("border-radius",o+"px")})}),wp.customize("shop_product_card_radius",function(o){o.bind(function(o){a("ul.wc-block-grid__products li.wc-block-grid__product, ul.wc-block-grid__products li.product, ul.products li.wc-block-grid__product, ul.products li.product").css("border-radius",o+"px")})}),wp.customize("shop_product_card_thumb_radius",function(o){o.bind(function(o){a("ul.wc-block-grid__products li.wc-block-grid__product .loop-image-wrap, ul.wc-block-grid__products li.product .loop-image-wrap, ul.products li.wc-block-grid__product .loop-image-wrap, ul.products li.product .loop-image-wrap").css("border-radius",o+"px")})}),wp.customize("shop_product_card_border_size",function(o){o.bind(function(o){a("ul.wc-block-grid__products li.wc-block-grid__product, ul.wc-block-grid__products li.product, ul.products li.wc-block-grid__product, ul.products li.product").css("border-width",o+"px")})}),wp.customize("shop_categories_radius",function(o){o.bind(function(o){var t=window.parent.window.wp.customize.control("shop_categories_layout").setting.get();a("ul.products li.product-category > a, ul.products li.product-category > a > img").css("border-radius",o+"px"),"layout4"===t&&a(".product-category-item-layout4 ul.products li.product-category > a h2").css("border-radius","0 0 "+o+"px "+o+"px")})}),wp.customize("color_link_default",function(o){o.bind(function(o){a("head").find("#botiga-customizer-styles-wishlist-color_link_default").remove();var t="";t+=".botiga-wishlist-button svg path { stroke: "+o+"; }",t+=".botiga-wishlist-button.botiga-wishlist-button-tooltip:not(.active):after { border-left-color: "+o+"; }",(t+=".botiga-wishlist-button.botiga-wishlist-button-tooltip:not(.active):before { background-color: "+o+"; }")&&a("head").append('")})}),wp.customize("shop_product_wishlist_icon_active_color",function(o){o.bind(function(o){a("head").find("#botiga-customizer-styles-wishlist-shop_product_wishlist_icon_active_color").remove();var t="";(t+=".botiga-wishlist-button:hover svg path, .botiga-wishlist-button.active svg path { fill: "+o+"; stroke: "+o+"; }")&&a("head").append('")})}),wp.customize("single_product_gallery_styles_background_color",function(o){o.bind(function(o){a("head").find("#botiga-customizer-styles-single_product_gallery_styles_background_color").remove();var t="";(t+=".product-gallery-summary.gallery-showcase:before, .product-gallery-summary.gallery-full-width:before { background-color: "+o+"; }")&&a("head").append('")})}),wp.customize("single_product_gallery_styles_padding_top_bottom",function(o){o.bind(function(o){a(".product-gallery-summary.gallery-showcase, .product-gallery-summary.gallery-full-width").css({paddingTop:o+"px",paddingBottom:o+"px"})})}),wp.customize("single_product_tabs_border_color_active",function(o){o.bind(function(o){var t=window.parent.window.wp.customize.control("single_product_tabs_layout").setting.get();a("head").find("#botiga-customizer-styles-single_product_tabs_border_color_active").remove();var e="";switch(t){case"style1":case"style4":e+=".botiga-tabs-style1 .woocommerce-tabs ul.tabs li.active a, .botiga-tabs-style1 .woocommerce-tabs ul.tabs li:hover a, .botiga-tabs-style4 .woocommerce-tabs ul.tabs li.active a, .botiga-tabs-style4 .woocommerce-tabs ul.tabs li:hover a { border-color: "+o+" !important; }";break;case"style2":e+=".botiga-tabs-style2 .woocommerce-tabs ul.tabs li.active a, .botiga-tabs-style2 .woocommerce-tabs ul.tabs li:hover a { border-top-color: "+o+" !important; }";break;default:e=""}e&&a("head").append('")})}),wp.customize("single_product_tabs_background_color",function(o){o.bind(function(o){var t=window.parent.window.wp.customize.control("single_product_tabs_layout").setting.get();a("head").find("#botiga-customizer-styles-single_product_tabs_background_color").remove();var e="";switch(t){case"style3":e+=".botiga-tabs-style3 .woocommerce-tabs ul.tabs li:not(.active) a, .botiga-tabs-style3 .woocommerce-tabs ul.tabs li:not(.active):hover a { background-color: "+hexToRGB(o,.5)+" !important; }";break;case"style4":e+=".botiga-tabs-style4 .woocommerce-tabs ul.tabs li:not(.active) a { background-color: "+o+" !important; }";break;case"style5":e+=".botiga-tabs-style5 .woocommerce-tabs ul.tabs li:not(.active) a { background-color: "+hexToRGB(o,.4)+" !important; }";break;default:e=""}e&&a("head").append('")})}),wp.customize("single_product_tabs_background_color_active",function(o){o.bind(function(o){var t=window.parent.window.wp.customize.control("single_product_tabs_layout").setting.get();a("head").find("#botiga-customizer-styles-single_product_tabs_background_color_active").remove();var e="";switch(t){case"style3":e+=".botiga-tabs-style3 .woocommerce-tabs ul.tabs li.active a, .botiga-tabs-style3 .woocommerce-tabs ul.tabs li:hover a { background-color: "+o+" !important; }";break;case"style4":e+=".botiga-tabs-style4 .woocommerce-tabs ul.tabs li.active a { background-color: "+o+" !important; }";break;case"style5":e+=".botiga-tabs-style5 .woocommerce-tabs ul.tabs li.active a, .botiga-tabs-style5 .woocommerce-tabs .panel { background-color: "+hexToRGB(o,1)+" !important; }";break;default:e=""}e&&a("head").append('")})}),wp.customize("single_product_tabs_text_color",function(o){o.bind(function(o){a("head").find("#botiga-customizer-styles-single_product_tabs_text_color").remove();o=".woocommerce-tabs ul.tabs li:not(.active) a ,.woocommerce-tabs ul.tabs li:not(.active) a:hover { color: "+o+" !important; }";o&&a("head").append('")})}),wp.customize("single_product_tabs_text_color_active",function(o){o.bind(function(o){a("head").find("#botiga-customizer-styles-single_product_tabs_text_color_active").remove();o=".woocommerce-tabs ul.tabs li.active a,.woocommerce-tabs ul.tabs li.active a:hover { color: "+o+" !important; }";o&&a("head").append('")})}),wp.customize("single_product_tabs_remaining_borders",function(o){o.bind(function(o){var t=window.parent.window.wp.customize.control("single_product_tabs_layout").setting.get();a("head").find("#botiga-customizer-styles-single_product_tabs_remaining_borders").remove();var e="";switch(t){case"style2":e+=".botiga-tabs-style2 .woocommerce-tabs ul.tabs li a, .botiga-tabs-style2 .woocommerce-tabs ul.tabs, .botiga-tabs-style2 .woocommerce-tabs ul.tabs li:not(.active):not(:hover) a { border-color: "+hexToRGB(o,.3)+" !important; }";break;case"style1":case"style3":e+=".botiga-tabs-style1 .woocommerce-tabs ul.tabs, .botiga-tabs-style3 .woocommerce-tabs ul.tabs { border-bottom-color: "+hexToRGB(o,.3)+" !important; }";break;case"style4":e+=".botiga-tabs-style4 .woocommerce-tabs ul.tabs:before { border-color: "+hexToRGB(o,.3)+" !important; } .botiga-tabs-style4 .woocommerce-tabs ul.tabs li:not(.active) a { border-color: "+hexToRGB(o,.3)+" !important; }";break;case"style5":e+=".botiga-tabs-style5 .woocommerce-tabs ul.tabs li a, .botiga-tabs-style5 .woocommerce-tabs .panel { border-color: "+hexToRGB(o,.3)+" !important; } .botiga-tabs-style5 .woocommerce-tabs ul.tabs li:not(.active) a { border-right: 1px solid "+o+" }";break;default:e=""}e&&a("head").append('")})}),wp.customize("single_product_tabs_layout",function(o){o.bind(function(o){switch(a(".site-main").removeClass("botiga-tabs-style1 botiga-tabs-style2 botiga-tabs-style3 botiga-tabs-style4 botiga-tabs-style5"),a(".site-main").addClass("botiga-tabs-"+o),a(window.parent.document).find(".control-section.open .alpha-color-control").each(function(){var o=a(this).closest("li").attr("id"),t=a(this).data("customize-setting-link"),e=a(this).val();void 0!==window.parent.window.wp.customize(t)&&(window.parent.window.wp.customize(t).set(""),window.parent.window.wp.customize(t).set(e),a("#"+o).find(".wp-color-result").css("background-color",e))}),o){case"style1":case"style2":hideControls(["single_product_tabs_background_color","single_product_tabs_background_color_active"]),showControls(["single_product_tabs_border_color_active"]);break;case"style3":hideControls(["single_product_tabs_border_color_active"]),showControls(["single_product_tabs_background_color","single_product_tabs_background_color_active"]);break;case"style4":showControls(["single_product_tabs_border_color_active","single_product_tabs_background_color","single_product_tabs_background_color_active"]);break;case"style5":hideControls(["single_product_tabs_border_color_active"]),showControls(["single_product_tabs_background_color","single_product_tabs_background_color_active"])}})}),wp.customize("single_product_tabs_alignment",function(o){o.bind(function(o){a(".site-main").removeClass("botiga-tabs-align-left botiga-tabs-align-center botiga-tabs-align-right"),a(".site-main").addClass("botiga-tabs-align-"+o),a(".woocommerce-tabs ul.tabs").css("text-align",o)})}),wp.customize("single_sticky_add_to_cart_elements_spacing",function(o){o.bind(function(o){a(".botiga-single-sticky-add-to-cart-wrapper .botiga-single-sticky-add-to-cart-wrapper-content .botiga-single-sticky-add-to-cart-item").css("margin-right",o+"px")})}),wp.customize("shop_cart_show_coupon_form",function(o){o.bind(function(o){o?a(".woocommerce-cart .coupon").css("display","block"):a(".woocommerce-cart .coupon").css("display","none")})});var o={desktop:"(min-width: 992px)",tablet:"(min-width: 576px) and (max-width: 991px)",mobile:"(max-width: 575px)"};a.each({footer_widgets_padding:".footer-widgets-grid"},function(i,c){a.each(o,function(t,e){wp.customize(i+"_"+t,function(o){o.bind(function(o){a("head").find("#botiga-customizer-styles-"+i+"_"+t).remove();o="@media "+e+" {"+c+" { padding-top:"+o+"px;padding-bottom:"+o+"px; } }";a("head").append('")})})})});a.each({site_logo_size:".custom-logo-link img"},function(i,c){a.each(o,function(t,e){wp.customize(i+"_"+t,function(o){o.bind(function(o){a("head").find("#botiga-customizer-styles-"+i+"_"+t).remove();o="@media "+e+" {"+c+" { max-width:"+o+"px; } }";a("head").append('")})})})});a.each({body_font_size:"body",h1_font_size:"h1:not(.site-title)",h2_font_size:"h2",h3_font_size:"h3",h4_font_size:"h4",h5_font_size:"h5",h6_font_size:"h6",single_product_title_size:".product-gallery-summary .entry-title",single_product_price_size:".product-gallery-summary .price",loop_post_text_size:".posts-archive .entry-content",loop_post_meta_size:".posts-archive .entry-meta",loop_post_title_size:".posts-archive .entry-title",single_post_title_size:".single .entry-header .entry-title",single_post_meta_size:".single .entry-meta",footer_widgets_title_size:".widget-column .widget .widget-title"},function(i,c){a.each(o,function(t,e){wp.customize(i+"_"+t,function(o){o.bind(function(o){a("head").find("#botiga-customizer-styles-"+i+"_"+t).remove();o="@media "+e+" {"+c+" { font-size:"+o+"px; } }";a("head").append('")})})})});a.each({shop_archive_columns_gap:"ul.wc-block-grid__products, ul.products"},function(i,c){a.each(o,function(t,e){wp.customize(i+"_"+t,function(o){o.bind(function(o){a("head").find("#botiga-customizer-styles-"+i+"_"+t).remove();o="@media "+e+" {"+c+" { gap:"+o+"px; } }";a("head").append('")})})})}),wp.customize("color_forms_placeholder",function(o){o.bind(function(o){a("head").find("#botiga-customizer-styles-color_forms_placeholder").remove();o="::placeholder {color:"+o+";opacity:1;} :-ms-input-placeholder {color:"+o+";} ::-ms-input-placeholder {color:"+o+";}";a("head").append('")})}),wp.customize("botiga_body_font",function(o){o.bind(function(o){a("head").find("#botiga-preview-google-fonts-body-css").remove(),a("head").append(''),a("#botiga-preview-google-fonts-body-css").attr("href","https://fonts.googleapis.com/css?family="+jQuery.parseJSON(o).font.replace(/ /g,"+")+":"+jQuery.parseJSON(o).regularweight+"&display=swap"),a("body").css("font-family",jQuery.parseJSON(o).font),a("body").css("font-weight",jQuery.parseJSON(o).regularweight)})}),wp.customize("botiga_headings_font",function(o){o.bind(function(o){a("head").find("#botiga-preview-google-fonts-headings-css").remove(),a("head").append(''),a("#botiga-preview-google-fonts-headings-css").attr("href","https://fonts.googleapis.com/css?family="+jQuery.parseJSON(o).font.replace(/ /g,"+")+":"+jQuery.parseJSON(o).regularweight+"&display=swap"),a("h1,h2,h3,h4,h5,h6,.site-title").css("font-family",jQuery.parseJSON(o).font),a("h1,h2,h3,h4,h5,h6,.site-title").css("font-weight",jQuery.parseJSON(o).regularweight)})}),wp.customize("headings_font_style",function(o){o.bind(function(o){a("h1,h2,h3,h4,h5,h6,.site-title").css("font-style",o)})}),wp.customize("headings_line_height",function(o){o.bind(function(o){a("h1,h2,h3,h4,h5,h6,.site-title").css("line-height",o)})}),wp.customize("headings_letter_spacing",function(o){o.bind(function(o){a("h1,h2,h3,h4,h5,h6,.site-title").css("letter-spacing",o+"px")})}),wp.customize("headings_text_transform",function(o){o.bind(function(o){a("h1,h2,h3,h4,h5,h6,.site-title").css("text-transform",o)})}),wp.customize("headings_text_decoration",function(o){o.bind(function(o){a("h1,h2,h3,h4,h5,h6,.site-title").css("text-decoration",o)})}),wp.customize("body_font_style",function(o){o.bind(function(o){a("body").css("font-style",o)})}),wp.customize("body_line_height",function(o){o.bind(function(o){a("body").css("line-height",o)})}),wp.customize("body_letter_spacing",function(o){o.bind(function(o){a("body").css("letter-spacing",o+"px")})}),wp.customize("body_text_transform",function(o){o.bind(function(o){a("body").css("text-transform",o)})}),wp.customize("body_text_decoration",function(o){o.bind(function(o){a("body").css("text-decoration",o)})}),a.each([{option:"shop_archive_header_background_color",selector:".woocommerce-page-header",prop:"background-color"},{option:"shop_archive_header_title_color",selector:".woocommerce-page-header h1",prop:"color"},{option:"shop_archive_header_description_color",selector:".woocommerce-page-header .page-description, .woocommerce-page-header .term-description",prop:"color"},{option:"shop_archive_header_button_color",selector:".woocommerce-page-header .category-button",prop:"color"},{option:"shop_archive_header_button_color_hover",selector:".woocommerce-page-header .category-button:hover",prop:"color",pseudo:!0},{option:"shop_archive_header_button_background_color",selector:".woocommerce-page-header .category-button",prop:"background-color"},{option:"shop_archive_header_button_background_color_hover",selector:".woocommerce-page-header .category-button:hover",prop:"background-color",pseudo:!0},{option:"shop_archive_header_button_border_color",selector:".woocommerce-page-header .category-button",prop:"border-color"},{option:"shop_archive_header_button_border_color_hover",selector:".woocommerce-page-header .category-button:hover",prop:"border-color",pseudo:!0},{option:"shop_archive_header_button_border_radius",selector:".woocommerce-page-header .category-button",prop:"border-radius",unit:"px"},{option:"color_link_default",selector:".botiga-mstepc-wrapper .botiga-mstepc-tabs-nav .botiga-mstepc-tabs-nav-item.current-step:before, .botiga-mstepc-wrapper .botiga-mstepc-tabs-nav .botiga-mstepc-tabs-nav-item.completed:before",prop:"border-top-color",pseudo:!0},{option:"color_link_default",selector:".botiga-mstepc-wrapper .botiga-mstepc-tabs-nav .botiga-mstepc-tabs-nav-item:hover .step, .botiga-mstepc-wrapper .botiga-mstepc-tabs-nav .botiga-mstepc-tabs-nav-item.current-step .step",prop:"border-color",pseudo:!0,optsuffix:"2"},{option:"color_link_default",selector:".botiga-mstepc-wrapper .botiga-mstepc-tabs-nav .botiga-mstepc-tabs-nav-item.current-step .step",prop:"background-color",pseudo:!0,optsuffix:"3"},{option:"color_link_default",selector:".botiga-mstepc-wrapper .botiga-mstepc-tabs-nav .botiga-mstepc-tabs-nav-item.completed .step",prop:["background-color","border-color"],pseudo:!0,optsuffix:"4"},{option:"color_heading_1",selector:".botiga-mstepc-wrapper .botiga-mstepc-tabs-nav .botiga-mstepc-tabs-nav-item:not(.current-step):not(.completed):hover .step .step-number",prop:"color",pseudo:!0,optsuffix:"2"},{option:"color_body_text",selector:".botiga-mstepc-wrapper .botiga-mstepc-tabs-nav .botiga-mstepc-tabs-nav-item:before",prop:"border-top-color",rgba:.1,pseudo:!0},{option:"background_color",selector:".botiga-mstepc-wrapper .botiga-mstepc-tabs-nav .botiga-mstepc-tabs-nav-item .step svg",prop:"fill",pseudo:!0}],function(o,c){var r=void 0!==c.unit?c.unit:"";wp.customize(c.option,function(o){o.bind(function(e){var o,i;r||(e="undefined"!==c.rgba?hexToRGB(e,c.rgba):e),void 0===c.pseudo?"string"==typeof c.prop?a(c.selector).css(c.prop,e+r):a.each(c.prop,function(o,t){a(c.selector).css(t,e+r)}):(o=c.optsuffix||"",a("head").find("#botiga-customizer-styles-misc-"+c.option+o).remove(),i="","string"==typeof c.prop?i+=c.selector+"{ "+c.prop+": "+e+"!important; }":a.each(c.prop,function(o,t){i+=c.selector+"{ "+t+": "+e+"!important; }"}),i&&a("head").append('"))})})})}(jQuery);