jQuery(function(){jQuery(".menudefiltros h2.open-filters").click(function(){jQuery(".menudefiltros .filters-list").slideToggle("slow")});jQuery(window).scroll(function(){202 li:has(ul.sub-menu-mob)").addClass("parent-mob");jQuery("ul.sub-menu-mob > li:has(ul.sub-menu-mob) > a").addClass("parent-mob");jQuery("#menu-toggle-mob").click(function(){jQuery("#main-menu-mob").slideToggle(300); return!1});jQuery(window).resize(function(){768 li:has").addClass("parent-mob2");jQuery("#menu-toggle-mob2").click(function(){jQuery("#main-menu-mob2").slideToggle(300);return!1});jQuery(window).resize(function(){768 div:nth-child(3)").append(jQuery(".banner-showcase-full")); jQuery.each(jQuery(".comparador .link-comparar-produto"),function(a,b){jQuery(this).html(''+jQuery(this).html());jQuery(this).click(function(){jQuery(this).parents(".comparador").find(".link-remover-comparacao").show();jQuery(this).hide()})});jQuery.each(jQuery(".comparador .link-remover-comparacao"),function(a,b){jQuery(this).html(''+jQuery(this).html());jQuery(this).hide();jQuery(this).click(function(){jQuery(this).parents(".comparador").find(".link-comparar-produto").show(); jQuery(this).hide()})});jQuery(document).ready(function(){jQuery('[data-toggle="tooltip"]').tooltip()});jQuery(".showMenu").click(function(){jQuery("html").toggleClass("menu-open")});jQuery(".item-level1").click(function(){jQuery(this).find(jQuery(".level2"))&&!jQuery(".back-category").hasClass("back-level1")&&(jQuery(".level1").css("transform","translateX(-100%)"),jQuery(this).find(jQuery(".level2")).show(),jQuery(".back-category").show(),jQuery(".back-category").addClass("back-level1"))});jQuery(".item-level2").click(function(){jQuery(this).find(jQuery(".level3"))&& jQuery(".back-category").hasClass("back-level1")&&(jQuery(".level1").css("display","block"),jQuery(this).find(jQuery(".level3")).toggle(),jQuery(this).find(jQuery("i.icon-arrow")).toggleClass("click"),jQuery(".back-category").addClass("back-level2"))});jQuery(".back-category").click(function(){jQuery(this).hasClass("back-level1")&&(jQuery(".level1").css("transform","translateX(0)"),jQuery(this).removeClass("back-level1"),jQuery(".level2").hide(),jQuery(this).hide());jQuery(this).hasClass("back-level1")&& (jQuery(".level1").css("transform","translateX(0)"),jQuery(this).removeClass("back-level2"),jQuery(".level3").hide())});jQuery(".close-menu-mobile").click(function(){jQuery("html").removeClass("menu-open")});jQuery(".foneTopo.loginblb #login-button").click(function(a){a.preventDefault();jQuery("tray-login").show()});jQuery(".rastreio").append(jQuery("Rastreie seu pedido
Digite o c\u00f3digo de rastreio do seu pedido:
")); jQuery(".rastrear").click(function(a){a.preventDefault();a="http://rastreie.me/"+jQuery(".form-rastreio input").val();window.open(a,"blank")});jQuery.getJSON("/mvc/store/cart/count?loja={{ store.id }}",function(a){var b,c="",d=a.cart.Products.length;for(b=0;b
  • '+a.cart.Products[b].name+'
    Quantidade: '+a.cart.Products[b].quantity+ 'R$ '+a.cart.Products[b].price+"
  • ";jQuery(".cart .list .divitens").prepend(c)});navigator.userAgent.match(/iPhone/)&&jQuery("html").addClass("iphone");jQuery(".abrefecha .tituloaba-fechada").click(function(){jQuery(this).parents(".aba").hasClass("abaAberta")?(jQuery(this).parents(".aba").removeClass("abaAberta"),jQuery(this).parents(".aba").find(".conteudoaba").slideToggle(100),jQuery(this).parents(".aba").find("div.tituloaba").addClass("tituloaba-fechada"), jQuery(this).parents(".aba").find("div.tituloaba").removeClass("tituloaba")):(jQuery.each(jQuery(".abrefecha .aba"),function(a,b){jQuery(this).find("div.tituloaba").addClass("tituloaba-fechada");jQuery(this).find("div.tituloaba").removeClass("tituloaba");jQuery(this).removeClass("abaAberta");jQuery(this).find(".conteudoaba").hide()}),jQuery(this).parents(".aba").addClass("abaAberta"),jQuery(this).parents(".aba").find(".conteudoaba").slideToggle(100),jQuery(this).parents(".aba").find("div.tituloaba-fechada").addClass("tituloaba"), jQuery(this).parents(".aba").find("div.tituloaba-fechada").removeClass("tituloaba-fechada"))})}); var theme={msgmtopbar:function(){"1.6.2"!=jQuery.fn.jQuery&&jQuery(document).ready(function(a){a(".mensagemtopo").slick({dots:!1,lazyLoad:"ondemand",infinite:!0,speed:500,autoplay:!0,autoplaySpeed:5E3,slidesToShow:1,slidesToScroll:1,fade:!0,cssEase:"linear"})})},slidehome:function(){"1.6.2"!=jQuery.fn.jQuery&&jQuery(document).ready(function(a){a("#owl-demo").owlCarousel({autoPlay:5E3,stopOnHover:!0,navigation:!1,lazyLoad:!0,paginationSpeed:1E3,goToFirstSpeed:2E3,singleItem:!0,autoHeight:!0,slideSpeed:300,transitionStyle:"fadeUp"}); a(".container-home .slider").slick({dots:!1,infinite:!0,speed:500,autoplay:!1,autoplaySpeed:5E3,slidesToShow:4,slidesToScroll:4,lazyLoad:"ondemand",lazyLoadBuffer:0,cssEase:"linear",responsive:[{breakpoint:1140,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:768,settings:{dots:!0,arrows:!1,slidesToShow:2,slidesToScroll:2}},{breakpoint:319,settings:{dots:!0,arrows:!1,slidesToShow:1,slidesToScroll:1}}]});a(".namidia").slick({dots:!1,infinite:!0,speed:500,slidesToShow:6,slidesToScroll:1,autoplay:!0, autoplaySpeed:2E3,responsive:[{breakpoint:1200,settings:{slidesToShow:5,slidesToScroll:1}},{breakpoint:1024,settings:{slidesToShow:4,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:380,settings:{slidesToShow:1,slidesToScroll:1}}]});a(".container-home .bannerregua").slick({dots:!1,infinite:!0,speed:500,autoplay:!0,autoplaySpeed:5E3,slidesToShow:4,slidesToScroll:4,lazyLoad:"ondemand",lazyLoadBuffer:0, cssEase:"linear",responsive:[{breakpoint:900,settings:{arrows:!0,slidesToShow:3,slidesToScroll:3}},{breakpoint:768,settings:{arrows:!0,slidesToShow:2,slidesToScroll:2}},{breakpoint:380,settings:{slidesToShow:1,slidesToScroll:1}}]});a(".container-home .imgsrightcat").slick({dots:!0,arrows:!1,infinite:!0,speed:500,autoplay:!0,autoplaySpeed:5E3,slidesToShow:2,slidesToScroll:2,lazyLoad:"ondemand",lazyLoadBuffer:0,cssEase:"linear",responsive:[{breakpoint:380,settings:{slidesToShow:1,slidesToScroll:1}}]})})}, abastab:function(){jQuery(".abasProdutosHome .item a").click(function(a){var b=jQuery(this).attr("data-categoria");a.preventDefault();jQuery(".abasProdutosHome .item").removeClass("aba-active");jQuery(".box-prod-cat").attr("style","opacity: 0; visibility: hidden;height: 0;");jQuery(".abasProdutosHome .item a").each(function(){jQuery(this).attr("data-categoria")==b&&(jQuery(this).parent().addClass("aba-active"),jQuery(b).attr("style","opacity: 1; visibility: visible;height: auto;"))})})},fretebox:function(){jQuery(document).ready(function(){function a(b, c){null!=document.querySelector(b)?jQuery(".shipping-result").html(jQuery(".page-simula-frete")):setTimeout(function(){a(b,c)},c)}jQuery(".botao-simular-frete, #shippingSimulatorButton").click(function(){jQuery(".shipping-result").html("");a(".page-simula-frete",1E3)})})},minusplus:function(){jQuery(document).ajaxComplete(function(){jQuery("#quantidade").append(" "); jQuery("#quantidade #minus ~ #minus").remove();jQuery("#quantidade").append(" ");jQuery("#quantidade #plus ~ #plus").remove();jQuery(".floating-box-buy #quantidade").append(" "); jQuery(".floating-box-buy #quantidade #minus ~ #minus").remove();jQuery(".floating-box-buy #quantidade").append(" ");jQuery(".floating-box-buy #quantidade #plus ~ #plus").remove();jQuery('.floating-box-buy #produto_nao_disp span:contains("N\u00e3o dispon\u00edvel")').closest("body").addClass("prodnaodisp")})}, avalie:function(){jQuery("#avalieagora, .hreview-aggregate").click(function(){jQuery("html,body").animate({scrollTop:jQuery("#blbcoment").offset().top},1500)})},placeholdercep:function(){jQuery(document).ready(function(){jQuery(".produto-calcular-frete #cepbox").length&&(jQuery("input#cep1").attr("placeholder",""),jQuery("input#cep2").attr("placeholder",""))})},floatingbox:function(){jQuery(document).ajaxComplete(function(){if(void 0!=jQuery("#form_comprar #variacaoPreco").html()){var a=jQuery(".floating-box-buy"), b=jQuery(window),c=!0;jQuery(".btn-closer").click(function(){var d=jQuery("#form_comprar #variacaoPreco").html();jQuery(".floating-box-buy").hasClass("closed")?void 0==d?jQuery(".btn-closer").hide():(jQuery(".floating-box-buy").removeClass("closed"),c=!0):(jQuery(".floating-box-buy").addClass("closed"),c=!1)});jQuery(".btn-fixed-buy").click(function(){0Enviar')})}};jQuery(document).ready(function(){theme.msgmtopbar();jQuery("html").hasClass("page-product")&&(theme.minusplus(),theme.avalie(),theme.fretebox(),theme.floatingbox(),theme.placeholdercep());jQuery("html").hasClass("page-home")&&(theme.slidehome(),theme.abastab());jQuery("html").hasClass("page-contact")&&theme.btnenviar()});