(function(){ // Skip ALL processing on checkout page if(window.location.href.indexOf("controller=order")!==-1||window.location.href.indexOf("controller=cart")!==-1){return;} if(window.location.href.indexOf("controller=order")!==-1)return;var isCheckoutPage=false; "use strict"; // IMMEDIATE: Force all images to load instantly - aggressive fix (function fixImagesNow(){ function forceLoad(){ var imgs=document.querySelectorAll("img"); for(var i=0;isection:not([id*=checkout]){display:none!important}", "#sel-checkout-left section[id*=checkout]{display:block!important;visibility:visible!important}", "#sel-checkout-left section[id*=checkout].step--complete .step__content{display:none!important}", "#sel-checkout-left section[id*=checkout].d-none{display:block!important}", "#checkout-personal-information-step .step__title{display:none!important}", "#checkout-personal-information-step .nav-tabs,.checkout-step .nav-tabs{display:none!important}", "#checkout-personal-information-step section .mb-3:nth-child(n+5){display:none!important}", "#checkout-personal-information-step .form-footer{background:transparent!important;padding:0!important}", "body#checkout .btn-primary,body#checkout .continue,body#checkout button[type=submit]:not(.btn-secondary){background:#222!important;color:#fff!important;border:none!important;border-radius:8px!important;padding:16px 24px!important;font-size:14px!important;font-weight:600!important;letter-spacing:1.5px!important;text-transform:uppercase!important;width:100%!important;cursor:pointer!important;transition:background .2s!important}", "body#checkout .btn-primary:hover,body#checkout .continue:hover{background:#000!important}", "#sel-order-summary{background:#fff!important;border-radius:12px!important;border:1px solid #e8e8e8!important;padding:32px 28px!important;position:sticky!important;top:100px!important;box-shadow:none!important;text-align:center!important}", "#sel-order-summary h3{display:none!important}", "#sel-order-summary .sel-summary-item{display:none!important}", "#sel-order-summary .sel-summary-row{display:none!important}", "#sel-order-summary .sel-summary-row.total{display:none!important}", "#sel-total-price{font-size:42px!important;font-weight:800!important;color:#222!important;margin:0 0 12px!important}", "#sel-total-price .sel-currency{font-size:24px!important;font-weight:400!important;color:#666!important;margin-left:4px!important}", "#sel-secure-badge{display:inline-flex!important;align-items:center!important;gap:6px!important;color:#10b981!important;font-size:14px!important;font-weight:500!important}", "#sel-trust-badges{display:none!important}", "body#checkout .radio-inline{border:1px solid #ddd!important;border-radius:8px!important;padding:14px 16px!important;margin-bottom:8px!important;background:#fff!important;transition:all .2s!important}", "body#checkout .radio-inline:hover{border-color:#222!important;background:#fafafa!important}", "body#checkout .form-check{display:none!important}", "body#checkout #footer,body#checkout .footer-container{display:none!important}", "body#checkout label{text-transform:none!important;font-size:14px!important;font-weight:500!important;color:#555!important}", "#sel-checkout-left .sel-section-subtitle{font-size:14px!important;color:#888!important;font-weight:400!important;margin-top:4px!important}", "#sel-checkout-progress .sel-progress-line{min-width:120px!important}", "#sel-checkout-left section[id*=checkout] .step__title .material-icons{display:none!important}", "#sel-checkout-left section[id*=checkout].step--complete .step__title{cursor:pointer!important;padding:18px 28px!important}", "#sel-checkout-left section[id*=checkout].step--complete .step__title-left{color:#888!important;font-size:16px!important}", "body#checkout label[for=field-id_gender]{display:none!important}", "body#checkout label[for=field-id_gender]+div,body#checkout label[for=field-id_gender]~div{display:none!important}", "body#checkout .form-check-inline{display:none!important}", "body#checkout label[for=field-id_gender_1],body#checkout label[for=field-id_gender_2]{display:none!important}", "body#checkout label[for=field-company]{display:none!important}", "body#checkout input[name=company]{display:none!important}", "body#checkout label[for=field-company]+input,body#checkout label[for=field-company]+div{display:none!important}", "body#checkout label[for=field-vat_number]{display:none!important}", "body#checkout input[name=vat_number]{display:none!important}", "body#checkout label[for=field-vat_number]+input,body#checkout label[for=field-vat_number]+div{display:none!important}", "body#checkout .form-control-comment{display:none!important}", "body#checkout .help-block{display:none!important}", "body#checkout small,body#checkout .form-text,body#checkout .form-control-comment{display:none!important}", "body#checkout .mb-3>div:last-child:not(:first-child){display:none!important}", "body#checkout .sel-hide-field{display:none!important}", "@media(max-width:768px){#sel-checkout-layout{grid-template-columns:1fr!important;gap:16px!important}#sel-checkout-progress{padding:20px 10px!important}.sel-progress-line{min-width:40px!important}#sel-order-summary{position:static!important;margin-bottom:16px!important;order:-1!important}#sel-total-price{font-size:32px!important}#sel-checkout-left section[id*=checkout] .step__title{padding:16px 18px 0!important}#sel-checkout-left section[id*=checkout] .step__content{padding:8px 18px 20px!important}body#checkout .container{padding:10px!important}}", "img[loading=lazy]{loading:eager!important}", "body#checkout .custom-checkbox[id*=save],body#checkout label[for*=save_card],body#checkout .save-card,body#checkout input[name*=save]{display:none!important}", "body#checkout [class*=save-card],body#checkout [id*=save-card]{display:none!important}", "body#checkout a[href*=shipping],body#checkout .back-to-shipping,body#checkout a.btn-tertiary{display:none!important}", "body#checkout .step__content a[href*=step]{display:none!important}", "body#checkout img[loading=lazy]{content-visibility:auto!important}", "#custom-hero{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:500px!important;width:100%!important;overflow:hidden!important}", ".hero-bg{position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:0!important;background:linear-gradient(135deg,#0f172a 0%,#1e3a5f 40%,#2563eb 100%)!important;z-index:0!important}", ".hero-content{position:relative!important;z-index:1!important;text-align:center!important;padding:60px 24px!important;max-width:800px!important;width:100%!important}", ".hero-badge{display:inline-flex!important;align-items:center!important;background:rgba(255,255,255,.15)!important;color:#fff!important;padding:8px 20px!important;border-radius:50px!important;font-size:14px!important;font-weight:600!important;letter-spacing:1px!important;text-transform:uppercase!important;margin-bottom:24px!important;backdrop-filter:blur(10px)!important}", ".hero-title{font-size:48px!important;font-weight:800!important;color:#fff!important;line-height:1.2!important;margin-bottom:16px!important;font-family:Plus Jakarta Sans,sans-serif!important}", ".hero-subtitle{color:rgba(255,255,255,.9)!important;font-size:18px!important;line-height:1.6!important;margin-bottom:24px!important}", ".hero-cta{display:inline-flex!important;align-items:center!important;gap:8px!important;background:#fff!important;color:#1a56db!important;padding:14px 32px!important;border-radius:12px!important;font-weight:700!important;font-size:16px!important;text-decoration:none!important;transition:all .3s!important}", ".hero-stats{display:flex!important;justify-content:center!important;gap:0!important;margin-top:40px!important;background:rgba(255,255,255,.1)!important;backdrop-filter:blur(10px)!important;border-radius:16px!important;padding:20px!important;max-width:600px!important;margin-left:auto!important;margin-right:auto!important}", ".hero-stat{flex:1!important;text-align:center!important;padding:0 20px!important;border-right:1px solid rgba(255,255,255,.2)!important}", ".hero-stat:last-child{border-right:none!important}", ".hero-stat-number{font-size:28px!important;font-weight:800!important;color:#fff!important;display:block!important}", ".hero-stat-label{font-size:12px!important;color:rgba(255,255,255,.7)!important;text-transform:uppercase!important;letter-spacing:1px!important;margin-top:4px!important;display:block!important}", "@media(max-width:768px){#custom-hero{min-height:400px!important}.hero-title{font-size:32px!important}.hero-stats{flex-direction:column!important;gap:16px!important}.hero-stat{border-right:none!important;border-bottom:1px solid rgba(255,255,255,.2)!important;padding:10px 0!important}.hero-stat:last-child{border-bottom:none!important}}", ".trust-bar{background:linear-gradient(135deg,#1a56db 0%,#1e40af 100%)!important;padding:20px 0!important;margin-top:-5px!important;position:relative!important;z-index:1!important}", ".trust-bar-inner{display:flex!important;justify-content:center!important;align-items:center!important;gap:40px!important;max-width:1200px!important;margin:0 auto!important;padding:0 20px!important;flex-wrap:wrap!important}", ".trust-item{display:flex!important;align-items:center!important;gap:10px!important;color:#fff!important;font-size:15px!important;font-weight:600!important;font-family:Plus Jakarta Sans,sans-serif!important}", ".trust-icon{font-size:22px!important}", "@media(max-width:768px){.trust-bar-inner{gap:20px!important;flex-direction:column!important;align-items:center!important}.trust-item{font-size:13px!important}}", "a.banner{display:none!important}", "#sel-info-sections{max-width:1200px!important;margin:60px auto!important;padding:0 20px!important}", "#sel-info-sections .sel-section-title{text-align:center!important;font-size:36px!important;font-weight:800!important;color:#0f172a!important;margin-bottom:12px!important;font-family:Plus Jakarta Sans,sans-serif!important}", "#sel-info-sections .sel-section-subtitle{text-align:center!important;font-size:17px!important;color:#64748b!important;margin-bottom:50px!important;max-width:600px!important;margin-left:auto!important;margin-right:auto!important}", ".sel-features-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:28px!important;margin-bottom:60px!important}", "@media(max-width:768px){.sel-features-grid{grid-template-columns:1fr!important;gap:16px!important}}", ".sel-feature-card{background:#fff!important;border-radius:16px!important;padding:36px 28px!important;border:1px solid #e2e8f0!important;transition:all .4s cubic-bezier(.4,0,.2,1)!important;position:relative!important;overflow:hidden!important}", ".sel-feature-card:hover{transform:translateY(-8px)!important;box-shadow:0 20px 40px rgba(15,23,42,.12)!important;border-color:var(--sel-primary)!important}", ".sel-feature-card::before{content:attr(data-num)!important;position:absolute!important;top:-10px!important;right:-10px!important;font-size:100px!important;font-weight:900!important;color:rgba(37,99,235,.06)!important;line-height:1!important}", ".sel-feature-icon{width:56px!important;height:56px!important;border-radius:14px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:26px!important;margin-bottom:20px!important;background:linear-gradient(135deg,var(--sel-primary),var(--sel-primary-dark))!important;color:#fff!important;box-shadow:0 8px 16px rgba(37,99,235,.25)!important}", ".sel-feature-card h3{font-size:19px!important;font-weight:700!important;color:#0f172a!important;margin-bottom:10px!important;font-family:Plus Jakarta Sans,sans-serif!important}", ".sel-feature-card p{font-size:15px!important;color:#64748b!important;line-height:1.7!important;margin:0!important}", ".sel-cta-banner{background:linear-gradient(135deg,#0f172a 0%,#1e3a5f 50%,#2563eb 100%)!important;border-radius:20px!important;padding:60px 40px!important;text-align:center!important;margin-bottom:60px!important;position:relative!important;overflow:hidden!important}", ".sel-cta-banner::before{content:''!important;position:absolute!important;top:-50%!important;left:-50%!important;width:200%!important;height:200%!important;background:radial-gradient(circle,rgba(255,255,255,.08) 0%,transparent 60%)!important;animation:sel-pulse 4s ease-in-out infinite!important}", "@keyframes sel-pulse{0%,100%{transform:scale(1);opacity:.5}50%{transform:scale(1.1);opacity:1}}", ".sel-cta-banner h2{font-size:32px!important;font-weight:800!important;color:#fff!important;margin-bottom:14px!important;position:relative!important;z-index:1!important}", ".sel-cta-banner p{font-size:17px!important;color:rgba(255,255,255,.8)!important;margin-bottom:28px!important;position:relative!important;z-index:1!important}", ".sel-cta-btn{display:inline-flex!important;align-items:center!important;gap:10px!important;background:#fff!important;color:#0f172a!important;font-size:16px!important;font-weight:700!important;padding:16px 36px!important;border-radius:12px!important;text-decoration:none!important;transition:all .3s ease!important;position:relative!important;z-index:1!important;box-shadow:0 4px 15px rgba(0,0,0,.2)!important}", ".sel-cta-btn:hover{transform:translateY(-3px)!important;box-shadow:0 8px 25px rgba(0,0,0,.3)!important;color:#0f172a!important}", ".sel-animate{opacity:0!important;transform:translateY(40px)!important;transition:opacity .8s cubic-bezier(.4,0,.2,1),transform .8s cubic-bezier(.4,0,.2,1)!important}", ".sel-animate.sel-visible{opacity:1!important;transform:translateY(0)!important}", ".sel-animate-left{opacity:0!important;transform:translateX(-50px)!important;transition:opacity .8s cubic-bezier(.4,0,.2,1),transform .8s cubic-bezier(.4,0,.2,1)!important}", ".sel-animate-left.sel-visible{opacity:1!important;transform:translateX(0)!important}", ".sel-animate-right{opacity:0!important;transform:translateX(50px)!important;transition:opacity .8s cubic-bezier(.4,0,.2,1),transform .8s cubic-bezier(.4,0,.2,1)!important}", ".sel-animate-right.sel-visible{opacity:1!important;transform:translateX(0)!important}", ".sel-animate-scale{opacity:0!important;transform:scale(.85)!important;transition:opacity .7s cubic-bezier(.4,0,.2,1),transform .7s cubic-bezier(.4,0,.2,1)!important}", ".sel-animate-scale.sel-visible{opacity:1!important;transform:scale(1)!important}", ".sel-delay-1{transition-delay:.1s!important}", ".sel-delay-2{transition-delay:.2s!important}", ".sel-delay-3{transition-delay:.3s!important}", ".sel-delay-4{transition-delay:.4s!important}", ".sel-delay-5{transition-delay:.5s!important}", ".sel-stats-section{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:24px!important;margin-bottom:60px!important;padding:40px 0!important}", "@media(max-width:768px){.sel-stats-section{grid-template-columns:repeat(2,1fr)!important;gap:16px!important}}", ".sel-stat-card{text-align:center!important;padding:28px 16px!important;background:#fff!important;border-radius:16px!important;border:1px solid #e2e8f0!important;transition:all .3s ease!important}", ".sel-stat-card:hover{transform:translateY(-4px)!important;box-shadow:0 12px 24px rgba(0,0,0,.08)!important}", ".sel-stat-number{font-size:36px!important;font-weight:800!important;color:var(--sel-primary)!important;display:block!important;margin-bottom:4px!important;font-family:Plus Jakarta Sans,sans-serif!important}", ".sel-stat-label{font-size:14px!important;color:#64748b!important;font-weight:500!important}", ".sel-process-section{margin-bottom:60px!important}", ".sel-process-steps{display:flex!important;gap:0!important;position:relative!important;justify-content:center!important}", "@media(max-width:768px){.sel-process-steps{flex-direction:column!important;gap:20px!important}}", ".sel-process-step{flex:1!important;text-align:center!important;padding:30px 20px!important;position:relative!important;max-width:280px!important}", ".sel-process-step::after{content:''!important;position:absolute!important;top:45px!important;right:-30px!important;width:60px!important;height:2px!important;background:linear-gradient(90deg,var(--sel-primary),#93c5fd)!important}", ".sel-process-step:last-child::after{display:none!important}", "@media(max-width:768px){.sel-process-step::after{display:none!important}}", ".sel-step-num{width:48px!important;height:48px!important;border-radius:50%!important;background:linear-gradient(135deg,var(--sel-primary),var(--sel-primary-dark))!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:20px!important;font-weight:800!important;margin:0 auto 16px!important;box-shadow:0 8px 20px rgba(37,99,235,.3)!important}", ".sel-process-step h4{font-size:17px!important;font-weight:700!important;color:#0f172a!important;margin-bottom:8px!important}", ".sel-process-step p{font-size:14px!important;color:#64748b!important;line-height:1.6!important;margin:0!important}", "#_desktop_cart,.blockcart,.cart-preview,.header-block--active .blockcart{display:none!important}", ".product-miniature .product-quantity,.product-miniature .qty,.product-miniature input[name=qty],.product-miniature .product-add-to-cart .d-flex{display:none!important}", ".product-miniature .add-to-cart,.product-miniature [data-button-action=add-to-cart]{width:100%!important;border-radius:var(--sel-radius-sm)!important;padding:12px 20px!important;font-size:15px!important;font-weight:700!important;letter-spacing:.5px!important}", "#sel-quick-buy,.sel-quick-buy,.sel-header-actions,.sel-action-link.sel-cta-btn{display:none!important}", ".product-add-to-cart .product-quantity{display:none!important}", ".product-add-to-cart .add-to-cart,.product-add-to-cart [data-button-action=add-to-cart]{width:100%!important;padding:16px 24px!important;font-size:17px!important}", "body#checkout .form-footer,body#checkout .form-validation{background:transparent!important;padding:16px 0!important}", "body#checkout .form-footer .continue,body#checkout .form-validation .continue,body#checkout .form-footer .btn-primary,body#checkout .form-validation .btn-primary{width:100%!important;max-width:100%!important;padding:14px 24px!important;border-radius:8px!important;font-size:15px!important;height:auto!important;min-height:0!important;line-height:1.4!important;box-sizing:border-box!important}", "body#checkout .password-field .btn-primary,.input-group .btn-primary{width:auto!important;padding:8px 12px!important;min-height:0!important;border-radius:0 8px 8px 0!important}", "body#checkout .step__content a[href*=step]{display:none!important}", "body#checkout footer.form-footer{display:block!important;background:none!important}", "body#checkout .js-back,body#checkout .btn-outline-primary.btn-with-icon{display:none!important}", "body#checkout .step__content a[href*=step],body#checkout a.btn-tertiary{display:none!important}", "body#contact #wrapper .breadcrumb{display:none!important}", "body#contact #content-wrapper,body#contact #left-column{display:none!important}", "#sel-contact-hero{background:linear-gradient(135deg,#0f172a 0%,#1e3a5f 50%,#2563eb 100%)!important;padding:80px 24px 60px!important;text-align:center!important;position:relative!important;overflow:hidden!important;margin-top:-20px!important}", "#sel-contact-hero::before{content:''!important;position:absolute!important;top:-50%!important;left:-50%!important;width:200%!important;height:200%!important;background:radial-gradient(circle,rgba(255,255,255,.05) 0%,transparent 60%)!important}", "#sel-contact-hero h1{font-size:42px!important;font-weight:800!important;color:#fff!important;margin-bottom:12px!important;position:relative!important;z-index:1!important;font-family:Plus Jakarta Sans,sans-serif!important}", "#sel-contact-hero p{font-size:18px!important;color:rgba(255,255,255,.75)!important;max-width:500px!important;margin:0 auto!important;position:relative!important;z-index:1!important}", "#sel-contact-cards{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:24px!important;max-width:900px!important;margin:-50px auto 40px!important;padding:0 20px!important;position:relative!important;z-index:2!important}", "@media(max-width:768px){#sel-contact-cards{grid-template-columns:1fr!important;margin-top:-30px!important}}", ".sel-contact-card{background:#fff!important;border-radius:16px!important;padding:32px 24px!important;text-align:center!important;border:1px solid #e2e8f0!important;box-shadow:0 10px 30px rgba(0,0,0,.08)!important;transition:all .3s ease!important}", ".sel-contact-card:hover{transform:translateY(-6px)!important;box-shadow:0 20px 40px rgba(0,0,0,.12)!important}", ".sel-contact-card-icon{width:56px!important;height:56px!important;border-radius:14px!important;background:linear-gradient(135deg,var(--sel-primary),var(--sel-primary-dark))!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:24px!important;margin:0 auto 16px!important;box-shadow:0 8px 16px rgba(37,99,235,.25)!important}", ".sel-contact-card h3{font-size:17px!important;font-weight:700!important;color:#0f172a!important;margin-bottom:6px!important}", ".sel-contact-card p{font-size:14px!important;color:#64748b!important;margin:0!important;line-height:1.6!important}", "#sel-contact-form-wrap{max-width:700px!important;margin:0 auto 60px!important;padding:0 20px!important}", "#sel-contact-form-box{background:#fff!important;border-radius:20px!important;padding:40px 36px!important;border:1px solid #e2e8f0!important;box-shadow:0 10px 30px rgba(0,0,0,.06)!important}", "#sel-contact-form-box h2{font-size:26px!important;font-weight:800!important;color:#0f172a!important;margin-bottom:6px!important;text-align:center!important}", "#sel-contact-form-box .sel-form-sub{font-size:15px!important;color:#64748b!important;text-align:center!important;margin-bottom:30px!important}", "#sel-contact-form-box label{font-size:13px!important;font-weight:600!important;color:#374151!important;text-transform:uppercase!important;letter-spacing:.5px!important;margin-bottom:6px!important;display:block!important}", "#sel-contact-form-box input,#sel-contact-form-box select,#sel-contact-form-box textarea{width:100%!important;border:2px solid #e5e7eb!important;border-radius:10px!important;padding:12px 16px!important;font-size:15px!important;transition:border-color .3s ease!important;outline:none!important;box-sizing:border-box!important;font-family:inherit!important}", "#sel-contact-form-box input:focus,#sel-contact-form-box select:focus,#sel-contact-form-box textarea:focus{border-color:var(--sel-primary)!important;box-shadow:0 0 0 3px rgba(37,99,235,.1)!important}", "#sel-contact-form-box textarea{min-height:140px!important;resize:vertical!important}", "#sel-contact-form-box .sel-form-group{margin-bottom:20px!important}", "#sel-contact-form-box .sel-form-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important}", "@media(max-width:768px){#sel-contact-form-box .sel-form-row{grid-template-columns:1fr!important}}", "#sel-contact-form-box .sel-submit-btn{width:100%!important;padding:16px!important;background:linear-gradient(135deg,var(--sel-primary),var(--sel-primary-dark))!important;color:#fff!important;border:none!important;border-radius:12px!important;font-size:16px!important;font-weight:700!important;cursor:pointer!important;transition:all .3s ease!important;text-transform:uppercase!important;letter-spacing:1px!important;box-shadow:0 8px 20px rgba(37,99,235,.3)!important;margin-top:10px!important}", "#sel-contact-form-box .sel-submit-btn:hover{transform:translateY(-2px)!important;box-shadow:0 12px 28px rgba(37,99,235,.4)!important}", "#sel-contact-faq{max-width:700px!important;margin:0 auto 60px!important;padding:0 20px!important}", "#sel-contact-faq h2{font-size:28px!important;font-weight:800!important;color:#0f172a!important;text-align:center!important;margin-bottom:30px!important}", ".sel-faq-item{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:12px!important;padding:20px 24px!important;margin-bottom:12px!important;cursor:pointer!important;transition:all .3s ease!important}", ".sel-faq-item:hover{border-color:var(--sel-primary)!important;box-shadow:0 4px 12px rgba(0,0,0,.06)!important}", ".sel-faq-q{font-size:16px!important;font-weight:700!important;color:#0f172a!important;display:flex!important;justify-content:space-between!important;align-items:center!important}", ".sel-faq-a{font-size:14px!important;color:#64748b!important;line-height:1.7!important;max-height:0!important;overflow:hidden!important;transition:max-height .3s ease,margin .3s ease!important;margin-top:0!important}", ".sel-faq-item.open .sel-faq-a{max-height:200px!important;margin-top:12px!important}", ".sel-faq-item.open .sel-faq-arrow{transform:rotate(180deg)!important}", ".sel-faq-arrow{transition:transform .3s ease!important;font-size:18px!important;color:#94a3b8!important}", "#sel-contact-form-box .page-header,#sel-contact-form-box h1,#sel-contact-form-box>form>h3,#sel-contact-form-box>form>.page-header{display:none!important}", "body#contact .page-header{display:none!important}", "body#contact #wrapper>.container{padding:0!important;max-width:100%!important}", "body#checkout #header .header-top,body#checkout #header .header-nav{background:#f7f7f7!important;border:none!important}", "body#checkout .header-nav{display:none!important}", "body#checkout #_desktop_currency_selector,body#checkout #_desktop_cart,body#checkout #_desktop_user_info{display:none!important}", "body#checkout .blockcart,body#checkout .cart-preview{display:none!important}", "body#checkout .checkout__steps,body#checkout .checkout__steps__mobile,body#checkout .step__title{display:none!important}", "body#checkout .checkout-step .step-title{display:none!important}", "body#checkout .form-group-title,body#checkout [for*=id_gender],body#checkout .radio-inline,body#checkout .form-check-inline,body#checkout input[name=id_gender]{display:none!important}", "body#checkout label[for=field-id_gender]{display:none!important}", "body#checkout small,body#checkout .form-text,body#checkout .form-control-comment,body#checkout .form-informations{display:none!important}", "body#checkout .custom-checkbox,body#checkout .form-check{display:none!important}", "body#checkout [for*=company],body#checkout input[name*=company],body#checkout [for*=vat],body#checkout input[name*=vat]{display:none!important}", "body#checkout .sel-hide-field{display:none!important}", "body#checkout .nav-tabs,.checkout-step .nav-inline,body#checkout .tab-content>.tab-pane .nav{display:none!important}", "body#checkout .step__title-left,body#checkout h3.step__title{display:none!important}", "body#checkout .checkout-step{background:#fff!important;border-radius:12px!important;border:1px solid #e8e8e8!important;padding:28px!important;margin-bottom:20px!important;box-shadow:none!important}", "body#checkout .cart-grid-right .cart-summary,.cart-detailed__content{display:none!important}", "body#checkout .form-group input,body#checkout .form-group select,body#checkout .form-group textarea{border:1px solid #ddd!important;border-radius:8px!important;padding:12px 14px!important;font-size:15px!important;width:100%!important;box-sizing:border-box!important}", "body#checkout .form-group input:focus,body#checkout .form-group select:focus{border-color:#3b82f6!important;box-shadow:0 0 0 3px rgba(59,130,246,.1)!important;outline:none!important}", "body#checkout .form-group label{font-size:13px!important;font-weight:600!important;color:#374151!important;text-transform:uppercase!important;letter-spacing:.5px!important;margin-bottom:6px!important}", "body#checkout .btn-primary,body#checkout .continue{background:#222!important;color:#fff!important;border:none!important;border-radius:10px!important;padding:14px 24px!important;font-size:15px!important;font-weight:700!important;text-transform:uppercase!important;width:100%!important;cursor:pointer!important;letter-spacing:.5px!important}", "body#checkout .btn-primary:hover,body#checkout .continue:hover{background:#000!important}", "body#checkout .js-back,body#checkout .btn-outline-primary.btn-with-icon{display:none!important}", "body#checkout .container{max-width:1100px!important;margin:0 auto!important}", "body#checkout .search_widget,body#checkout .currency-selector{display:none!important}", "img{background:#f0f0f0!important}", "footer.form-footer,.form-footer{background:transparent!important;background-color:transparent!important;padding:16px 0!important}", "footer.form-footer .btn-primary,footer.form-footer .btn,footer.form-footer input[type=submit],.form-footer .btn-primary,.form-footer input[type=submit]{width:auto!important;max-width:320px!important;padding:14px 32px!important;border-radius:8px!important;background:#2563eb!important;color:#fff!important;border:none!important;font-size:15px!important;cursor:pointer!important}", ".product-miniature img,.thumbnail-container img,.product-cover img,.js-qv-product-cover img{min-height:200px!important;background:#f0f0f0!important;object-fit:contain!important}" ].join("\n"); } var heroHTML='
Conformit\u00e9 L\u00e9gale Garantie

Vos Affichages Obligatoires
Livr\u00e9s en 24h

Tous les documents l\u00e9gaux obligatoires pour votre entreprise. Conformes au Code du Travail 2025, pr\u00eats \u00e0 afficher.

D\u00e9couvrir nos packs
15 000+Entreprises \u00e9quip\u00e9es
100%Conforme 2025
24hLivraison express
\u2705 Conforme Code du Travail
\ud83d\ude9a Livraison 24h
\ud83d\udd12 Paiement s\u00e9curis\u00e9
\ud83d\udcde Support 7j/7
'; function tryInitHero(n){ if(n>20)return; if(!document.body||!document.body.classList.contains("page-index"))return; var el=document.getElementById("home-slider")||document.querySelector(".carousel")||document.querySelector("[id*=slider]"); if(el){ el.style.display="none"; el.insertAdjacentHTML("beforebegin",heroHTML); }else if(n>10){ var c=document.getElementById("content")||document.querySelector("#wrapper .container"); if(c)c.insertAdjacentHTML("afterbegin",heroHTML); }else{ setTimeout(function(){tryInitHero(n+1);},300); } } function fixHomepage(){ if(!document.body||document.body.id==="checkout")return; var banner=document.querySelector("a.banner"); if(banner)banner.style.display="none"; var ct=document.getElementById("custom-text"); if(!ct||document.getElementById("sel-info-sections"))return; var container=document.createElement("div"); container.id="sel-info-sections"; function mk(tag,cls,txt){var e=document.createElement(tag);if(cls)e.className=cls;if(txt)e.textContent=txt;return e;} var t1=mk("h2","sel-section-title sel-animate","Pourquoi nous choisir ?"); container.appendChild(t1); var sub1=mk("p","sel-section-subtitle sel-animate sel-delay-1","Des professionnels certifi\u00e9s au service de votre conformit\u00e9 et de votre s\u00e9curit\u00e9"); container.appendChild(sub1); var grid=mk("div","sel-features-grid"); var features=[ {icon:"\u2696\uFE0F",title:"Conformit\u00e9 garantie",desc:"Nos experts assurent la conformit\u00e9 de vos documents avec la r\u00e9glementation en vigueur.",num:"01"}, {icon:"\u26A1",title:"Rapidit\u00e9 d\u2019ex\u00e9cution",desc:"Traitement rapide et efficace de toutes vos demandes administratives.",num:"02"}, {icon:"\uD83D\uDD12",title:"S\u00e9curit\u00e9 maximale",desc:"Vos donn\u00e9es sont prot\u00e9g\u00e9es et trait\u00e9es en toute confidentialit\u00e9.",num:"03"}, {icon:"\uD83C\uDF10",title:"Service 100% en ligne",desc:"Acc\u00e9dez \u00e0 nos services o\u00f9 que vous soyez, 24h/24 et 7j/7.",num:"04"}, {icon:"\uD83D\uDCCB",title:"Suivi personnalis\u00e9",desc:"Un accompagnement sur mesure pour chaque \u00e9tape de votre d\u00e9marche.",num:"05"}, {icon:"\u2705",title:"Satisfaction client",desc:"Plus de 2000 clients nous font confiance pour leurs d\u00e9marches.",num:"06"} , "header .navbar-brand{padding:12px 0}", "body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important;color:#1a1a2e!important;background:#fafbfc!important}", "h1,h2,h3,h4,h5,h6{font-weight:700!important;color:#1a1a2e!important;letter-spacing:-0.02em!important}", "#header{background:#fff!important;box-shadow:0 2px 20px rgba(0,0,0,0.06)!important;border-bottom:1px solid #e8ecf1!important;position:sticky!important;top:0!important;z-index:1000!important}", "#header .header-top{padding:8px 0!important}", ".carousel,.slick-slider,[id*=carousel]{border-radius:16px!important;overflow:hidden!important;margin:20px auto!important;max-width:1200px!important;box-shadow:0 8px 30px rgba(0,0,0,0.1)!important}", "#content h2,.featured-products h2,.section-title{font-size:28px!important;font-weight:800!important;color:#1a1a2e!important;text-align:center!important;margin:40px 0 30px!important;position:relative!important}", ".product-miniature{border-radius:16px!important;overflow:hidden!important;box-shadow:0 4px 15px rgba(0,0,0,0.05)!important;transition:all 0.3s ease!important;border:1px solid #eef0f5!important;background:#fff!important}", ".product-miniature:hover{transform:translateY(-6px)!important;box-shadow:0 12px 35px rgba(0,0,0,0.12)!important;border-color:#dde1ea!important}", ".product-miniature .card-body,.product-miniature .product-description{padding:20px!important}", ".product-miniature .product-title a,.product-miniature h3 a,.product-miniature .card-title a{font-size:15px!important;font-weight:600!important;color:#1a1a2e!important;text-decoration:none!important;line-height:1.4!important}", ".product-miniature .product-price-and-shipping .price,.product-miniature .price{font-size:20px!important;font-weight:700!important;color:#2563eb!important}", ".product-miniature .btn.btn-primary.flex-grow-1,.product-miniature button[data-button-action=add-to-cart]{background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%)!important;border-radius:12px!important;padding:12px 24px!important;font-weight:600!important;letter-spacing:0.3px!important;transition:all 0.3s ease!important;box-shadow:0 4px 12px rgba(37,99,235,0.3)!important}", ".product-miniature .btn.btn-primary.flex-grow-1:hover,.product-miniature button[data-button-action=add-to-cart]:hover{background:linear-gradient(135deg,#1d4ed8 0%,#1e40af 100%)!important;box-shadow:0 6px 20px rgba(37,99,235,0.4)!important;transform:translateY(-1px)!important}", ".product-miniature__image,.product-miniature img.card-img-top{border-radius:12px 12px 0 0!important;object-fit:cover!important}", "#footer{background:linear-gradient(180deg,#0f172a 0%,#1e293b 100%)!important;color:#94a3b8!important;padding:50px 0 30px!important}", "#footer .footer__block__title{color:#f1f5f9!important;font-size:16px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:1px!important;margin-bottom:20px!important;padding-bottom:10px!important;border-bottom:2px solid #334155!important}", "#footer a{color:#94a3b8!important;text-decoration:none!important;transition:color 0.2s ease!important;font-size:14px!important}", "#footer a:hover{color:#60a5fa!important}", "#footer li{margin-bottom:8px!important}", "#footer .footer__main{border-bottom:1px solid #334155!important;padding-bottom:30px!important}", "a[href*=tous-les-produits],.all-product-link a,.all-product-link{border:2px solid #2563eb!important;color:#2563eb!important;border-radius:12px!important;padding:12px 30px!important;font-weight:600!important;text-decoration:none!important;transition:all 0.3s ease!important;background:transparent!important}", "a[href*=tous-les-produits]:hover,.all-product-link a:hover,.all-product-link:hover{background:#2563eb!important;color:#fff!important}", "html{scroll-behavior:smooth!important}", "main,#content{max-width:1200px!important;margin:0 auto!important;padding:0 20px!important}", ".footer-before{display:none!important}", ".card{border:none!important;border-radius:16px!important}", "#wrapper .page-content,.page-cms .cms-box,.cms-content{max-width:900px!important;margin:0 auto!important;padding:40px!important;line-height:1.8!important;font-size:15px!important;color:#475569!important}", "#content .cms-page-content,#wrapper .elementor-section,.page-index #content{background:#fff!important;border-radius:16px!important;margin:20px auto!important;max-width:1100px!important}", ".page-index .cms-block,.page-index .block-cms{background:#f8fafc!important;border-radius:20px!important;padding:40px 50px!important;margin:30px auto!important;max-width:1000px!important;border:1px solid #e2e8f0!important}", "#header .header-top .container{display:flex!important;align-items:center!important;justify-content:center!important}", ".notifications-container,.alert,.alert-warning,.alert-danger,.alert-info{display:none!important}", ".breadcrumb{display:none!important}", "hr,hr.separator{border:none!important;height:1px!important;background:linear-gradient(90deg,transparent,#cbd5e1,transparent)!important;margin:30px 0!important}", "#content-wrapper{padding:0!important}", ".products .product-miniature{margin-bottom:24px!important}", "#content a:not(.btn){color:#2563eb!important;text-decoration:none!important}", "#content a:not(.btn):hover{text-decoration:underline!important}", ".product-miniature .product-price-and-shipping{margin:8px 0 12px!important}", ".all-product-link{text-align:center!important;margin:30px 0 40px!important}", "#index .page-content{background:#f8fafc!important;border-radius:20px!important;padding:50px!important;margin:40px auto!important;max-width:1000px!important;border:1px solid #e2e8f0!important;text-align:center!important}", "#index .page-content h2,#index .page-content h3,#index .page-content strong{color:#0f172a!important}", "#index .page-content hr{background:linear-gradient(90deg,transparent,#94a3b8,transparent)!important;height:1px!important;border:none!important;margin:25px auto!important;max-width:200px!important}", ".notifications-container,.alert,.alert-warning,.alert-danger,.alert-info,.alert-success,#notifications,.notification{display:none!important;height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:none!important}", "#header{background:#fff!important;box-shadow:0 1px 15px rgba(0,0,0,0.08)!important;border-bottom:none!important}", "body::before,body::after,#wrapper::before{display:none!important}", ".featured-products{background:#fafbfc!important;padding:40px 20px!important;margin:0!important;border-radius:0!important}", ".product-miniature .product-title a,.product-miniature h3 a,.product-miniature .card-title a{text-transform:none!important}", "#pro-hero{margin:15px auto 0!important}", "#header .cart-preview,.header-top .cart-preview,.blockcart,.block-cart,a[href*=controller\\=cart],a[href*=panier],.cart-products-count{display:none!important}", "#header .user-info{display:none!important}", "a.btn.btn-primary.flex-grow-1,a.flex-grow-1.btn{display:block!important;text-align:center!important;padding:12px 24px!important;border-radius:12px!important;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%)!important;color:#fff!important;text-decoration:none!important;font-size:14px!important;font-weight:600!important;box-shadow:0 4px 12px rgba(37,99,235,0.3)!important}", "a.btn.btn-primary.flex-grow-1 span,a.flex-grow-1.btn span{font-size:14px!important;color:#fff!important}", ".product-quantity .qty,.product-quantity .input-group,.product-quantity .bootstrap-touchspin{display:none!important}", ".social-sharing{display:none!important}", ".product-comments-additional-info,.product-comment-list-header{display:none!important}", ".product-cover img,.product-images img{max-width:100%!important;height:auto!important}", ".product-add-to-cart .add-to-cart{background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%)!important;border:none!important;border-radius:12px!important;padding:14px 32px!important;font-weight:700!important;font-size:16px!important;box-shadow:0 4px 15px rgba(37,99,235,0.3)!important}", ".cart-content,.blockcart-modal,.notifications-container,.alert-success[role=alert]{display:none!important}"]; features.forEach(function(f,i){ var card=mk("div","sel-feature-card sel-animate-scale sel-delay-"+(i%3+1)); card.setAttribute("data-num",f.num); var icon=mk("div","sel-feature-icon",f.icon); card.appendChild(icon); card.appendChild(mk("h3","",f.title)); card.appendChild(mk("p","",f.desc)); grid.appendChild(card); }); container.appendChild(grid); var statsTitle=mk("h2","sel-section-title sel-animate","Nos chiffres parlent"); container.appendChild(statsTitle); var statsSub=mk("p","sel-section-subtitle sel-animate sel-delay-1","La confiance de nos clients est notre meilleure r\u00e9compense"); container.appendChild(statsSub); var statsGrid=mk("div","sel-stats-section"); var stats=[{num:"2000+",label:"Clients satisfaits"},{num:"5000+",label:"Documents trait\u00e9s"},{num:"99%",label:"Taux de conformit\u00e9"},{num:"24/7",label:"Disponibilit\u00e9"}]; stats.forEach(function(s,i){ var card=mk("div","sel-stat-card sel-animate sel-delay-"+(i%4+1)); card.appendChild(mk("span","sel-stat-number",s.num)); card.appendChild(mk("span","sel-stat-label",s.label)); statsGrid.appendChild(card); }); container.appendChild(statsGrid); var procTitle=mk("h2","sel-section-title sel-animate","Comment \u00e7a marche ?"); container.appendChild(procTitle); var procSub=mk("p","sel-section-subtitle sel-animate sel-delay-1","Un processus simple en 3 \u00e9tapes"); container.appendChild(procSub); var procSteps=mk("div","sel-process-steps"); var steps=[{num:"1",title:"Choisissez votre service",desc:"S\u00e9lectionnez le service adapt\u00e9 \u00e0 votre besoin parmi notre catalogue."},{num:"2",title:"Remplissez vos infos",desc:"Compl\u00e9tez le formulaire avec vos informations en toute s\u00e9curit\u00e9."},{num:"3",title:"Recevez votre document",desc:"Obtenez votre document conforme rapidement par email."}]; steps.forEach(function(s,i){ var step=mk("div","sel-process-step sel-animate sel-delay-"+(i+1)); step.appendChild(mk("div","sel-step-num",s.num)); step.appendChild(mk("h4","",s.title)); step.appendChild(mk("p","",s.desc)); procSteps.appendChild(step); }); container.appendChild(procSteps); var cta=mk("div","sel-cta-banner sel-animate-scale"); cta.appendChild(mk("h2","","Pr\u00eat \u00e0 commencer ?")); cta.appendChild(mk("p","","Simplifiez vos d\u00e9marches administratives d\u00e8s maintenant")); var ctaBtn=mk("a","sel-cta-btn","D\u00e9couvrir nos services \u2192"); ctaBtn.href="/2-accueil"; cta.appendChild(ctaBtn); container.appendChild(cta); ct.style.display="none"; ct.parentNode.insertBefore(container,ct.nextSibling); } function initAnimations(){ // Scroll-triggered animations with IntersectionObserver var animClasses=["sel-animate","sel-animate-left","sel-animate-right","sel-animate-scale"]; function setupScrollAnimations(){ var observer=new IntersectionObserver(function(entries){ entries.forEach(function(entry){ if(entry.isIntersecting){ entry.target.classList.add("sel-visible"); observer.unobserve(entry.target); } }); },{threshold:0.15,rootMargin:"0px 0px -50px 0px"}); animClasses.forEach(function(cls){ document.querySelectorAll("."+cls).forEach(function(el){ try{if(!el.classList.contains("sel-visible"))observer.observe(el);}catch(e){} }); }); // Also observe existing page sections var sections=document.querySelectorAll(".featured-products,.product-miniature,#custom-text,#sel-info-sections"); sections.forEach(function(sec){ if(!sec.classList.contains("sel-animate")&&!sec.classList.contains("sel-visible")){ sec.classList.add("sel-animate"); observer.observe(sec); } }); // Observe product cards individually for stagger document.querySelectorAll(".product-miniature").forEach(function(card,i){ card.classList.add("sel-animate-scale"); card.classList.add("sel-delay-"+(i%3+1)); observer.observe(card); }); } // Run after a short delay to let DOM settle setTimeout(setupScrollAnimations,300); // Re-run when new elements added (for dynamic content) var animMut=new MutationObserver(function(){setTimeout(setupScrollAnimations,200);}); animMut.observe(document.body,{childList:true,subtree:true}); // Parallax on hero var hero=document.getElementById("custom-hero"); if(hero){ window.addEventListener("scroll",function(){ var st=window.pageYOffset; if(st<800){ var bg=hero.querySelector(".hero-bg"); if(bg)bg.style.transform="translateY("+st*0.3+"px)"; var content=hero.querySelector(".hero-content"); if(content){content.style.transform="translateY("+st*0.1+"px)";content.style.opacity=1-st/600;} } },{passive:true}); } } function initHeaderScroll(){ var header=document.getElementById("header"); if(!header)return; window.addEventListener("scroll",function(){ if(window.scrollY>50){ header.classList.add("is-scrolled"); }else{ header.classList.remove("is-scrolled"); } }); } function makeProDesign(){ if(document.body&&document.body.id==="checkout")return; try{if(!document.body||document.body.id!=="index")return;if(document.getElementById("pro-hero"))return; var sl=document.getElementById("home-slider");if(sl){sl.style.display="none";var hero=document.createElement("div");hero.id="pro-hero";hero.style.cssText="background:linear-gradient(135deg,#0f172a 0%,#1e3a5f 50%,#2563eb 100%);padding:60px 40px;text-align:center;max-width:1200px;margin:20px auto;border-radius:20px;position:relative;overflow:hidden;";var h1=document.createElement("h1");h1.textContent="Vos affichages obligatoires";h1.style.cssText="color:#fff;font-size:36px;font-weight:800;margin:0 0 12px;letter-spacing:-0.5px;";var sub=document.createElement("p");sub.textContent="Documents conformes, pr\u00eats \u00e0 imprimer, livr\u00e9s en PDF";sub.style.cssText="color:#94a3b8;font-size:18px;margin:0 0 24px;font-weight:400;";var cta=document.createElement("a");cta.href="#content";cta.textContent="D\u00e9couvrir nos packs";cta.style.cssText="display:inline-block;background:#fff;color:#0f172a;padding:14px 32px;border-radius:12px;font-weight:700;font-size:15px;text-decoration:none;transition:all 0.3s ease;box-shadow:0 4px 15px rgba(0,0,0,0.2);";var badge=document.createElement("div");badge.textContent="\u2713 Conformes au Code du travail";badge.style.cssText="color:#60a5fa;font-size:13px;margin-top:16px;font-weight:500;";hero.appendChild(h1);hero.appendChild(sub);hero.appendChild(cta);hero.appendChild(badge);sl.parentNode.insertBefore(hero,sl);} var ct=document.getElementById("custom-text");if(ct&&!ct.dataset.styled){ct.dataset.styled="1";ct.style.cssText="background:#f8fafc;border-radius:20px;padding:50px;margin:40px auto;max-width:1000px;border:1px solid #e2e8f0;text-align:center;line-height:1.8;color:#475569;font-size:15px;";var ctH=ct.querySelectorAll("h2,h3,strong,b");for(var i=0;i-1){ img.src=imgMap[pid]+"-home_default.jpg"; img.srcset=""; } }); }); } function fixProductPage(){ var url=window.location.href; var idx=url.indexOf("id_product="); if(idx===-1)return; var pid=url.substring(idx+11).split("&")[0]; var imgMap={"5":"/img/p/2/6/26","6":"/img/p/2/9/29","7":"/img/p/2/8/28","8":"/img/p/2/7/27","9":"/img/p/2/5/25","10":"/img/p/2/4/24"}; if(!imgMap[pid])return; var imgs=document.querySelectorAll(".carousel-item img, picture img"); imgs.forEach(function(img){ if(img.naturalWidth===0||img.src.indexOf("index.php")>-1){ img.src=imgMap[pid]+"-large_default.jpg"; img.srcset=""; } }); } function fixMenu(){ var nav=document.querySelector("#_desktop_top_menu, .js-top-menu, #top-menu, .top-menu"); if(!nav)return; var ul=nav.querySelector("ul")||nav; if(!ul)return; ul.innerHTML='
  • Accueil
  • '+ '
  • Nos Produits
  • '+ '
  • Pack Complet
  • '+ '
  • Pack Essentiel
  • '+ '
  • Pack S\u00e9curit\u00e9
  • '+ '
  • Contact
  • '; } function fixHeader(){ var header=document.querySelector("#header"); if(!header)return; if(document.getElementById("sel-topbar"))return; var tb=document.createElement("div"); tb.id="sel-topbar"; tb.innerHTML='
    \ud83d\udce6 Exp\u00e9dition sous 24h\u2705 LIVRAISON GRATUITE | Conforme Code du Travail 2025\u260E Support 7j/7
    '; header.insertBefore(tb,header.firstChild); var ht=header.querySelector(".header-top"); if(ht)ht.style.display="none"; var hb=header.querySelector(".header-bottom"); if(!hb)return; var container=hb.querySelector(".container-md"); if(!container)return; var menuClone=null; var menuUl=container.querySelector("#top-menu,ul.main-menu__tree,.top-menu"); if(menuUl)menuClone=menuUl.cloneNode(true); var userLink=""; var cartLink='flash_onAchat rapide'; var mainDiv=document.createElement("div"); mainDiv.className="sel-header-main"; var brandLink=document.createElement("a"); brandLink.className="sel-brand-link"; brandLink.href="/index.php"; brandLink.innerHTML='SERVICEen ligne'; mainDiv.appendChild(brandLink); var sw=document.createElement("div"); sw.className="sel-search-wrap"; var f=document.createElement("form"); f.method="get";f.action="/index.php"; var hi=document.createElement("input"); hi.type="hidden";hi.name="controller";hi.value="search"; f.appendChild(hi); var sb=document.createElement("div"); sb.className="sel-search-box"; var si=document.createElement("input"); si.type="text";si.name="s";si.placeholder="Rechercher un produit...";si.className="sel-search-input"; sb.appendChild(si); var btn=document.createElement("button"); btn.type="submit";btn.className="sel-search-btn";btn.innerHTML="\ud83d\udd0d"; sb.appendChild(btn); f.appendChild(sb); sw.appendChild(f); mainDiv.appendChild(sw); var actDiv=document.createElement("div"); actDiv.className="sel-header-actions"; actDiv.innerHTML=userLink+cartLink; mainDiv.appendChild(actDiv); container.innerHTML=""; container.appendChild(mainDiv); if(menuClone){ var navBar=document.createElement("div"); navBar.id="sel-navbar"; var navInner=document.createElement("div"); navInner.className="sel-navbar-inner"; navInner.appendChild(menuClone); navBar.appendChild(navInner); header.appendChild(navBar); } } function fixFooter(){ var links=document.querySelectorAll("#footer a"); var tr={"Delivery":"Livraison","Legal Notice":"Mentions l\u00e9gales","Terms and conditions of use":"CGV","Promotions":"Promotions","New products":"Nouveaux produits","Best sellers":"Meilleures ventes","Stores":"Magasins","About us":"\u00c0 propos","Secure payment":"Paiement s\u00e9curis\u00e9","My alerts":"Mes alertes","New products":"Nouveaux produits","Best sellers":"Meilleures ventes","Our company":"Notre soci\u00e9t\u00e9","Contact us":"Contactez-nous","Sitemap":"Plan du site","My account":"Mon compte","Order tracking":"Suivi de commande","Sign in":"Connexion","Create account":"Cr\u00e9er un compte","My wishlists":"Mes favoris"}; links.forEach(function(a){ var t=a.textContent.trim(); if(tr[t])a.textContent=tr[t]; }); var heads=document.querySelectorAll("#footer h3,#footer .h3"); heads.forEach(function(h){ var t=h.textContent.trim(); if(t==="Our company")h.textContent="Notre soci\u00e9t\u00e9"; if(t==="Products")h.textContent="Produits"; if(t==="Your account")h.textContent="Votre compte"; }); } function fixDirectCheckout(){ return;/* disabled - causes infinite observer loop */ // Transform all add-to-cart buttons into direct checkout buttons function transformButtons(){ var btns=document.querySelectorAll(".add-to-cart,[data-button-action=add-to-cart]"); btns.forEach(function(btn){ if(btn.dataset.selDirect)return; btn.dataset.selDirect="1"; // Change button text var iconSpan=btn.querySelector("i,.material-icons"); var icon=iconSpan?iconSpan.outerHTML:""; btn.innerHTML=icon+" Commander"; // Hide qty selector near button var qtyWrap=btn.closest("form"); if(qtyWrap){ var qtyEls=qtyWrap.querySelectorAll(".product-quantity,.qty,input[name=qty],.js-touchspin,.input-group"); qtyEls.forEach(function(q){q.style.display="none";}); } // Override click: add to cart via AJAX then redirect to checkout btn.addEventListener("click",function(e){ e.preventDefault(); e.stopPropagation(); e.stopImmediatePropagation(); var form=btn.closest("form"); if(!form)return; var idProduct=form.querySelector("input[name=id_product]"); var token=form.querySelector("input[name=token]"); if(!idProduct)return; btn.disabled=true; btn.innerHTML=icon+" Chargement..."; var fd=new FormData(); fd.append("id_product",idProduct.value); fd.append("qty","1"); fd.append("add","1"); fd.append("action","update"); if(token)fd.append("token",token.value); var idAttr=form.querySelector("input[name=id_product_attribute]"); if(idAttr)fd.append("id_product_attribute",idAttr.value); fetch(form.action,{method:"POST",body:fd}).then(function(){ window.location.href="/index.php?controller=order"; }).catch(function(){ window.location.href="/index.php?controller=order"; }); },true); }); } transformButtons(); // Re-run on DOM changes (dynamic product loading) var dcObs=new MutationObserver(function(){setTimeout(transformButtons,200);}); if(document.body){dcObs.observe(document.body,{childList:true,subtree:true});} // Also hide the "Achat rapide" header button var quickBuy=document.querySelector("#sel-quick-buy,.sel-quick-buy"); if(quickBuy)quickBuy.style.display="none"; // Hide wishlist/favorite buttons var wishBtns=document.querySelectorAll(".wishlist-button-add,.wishlist-btn"); wishBtns.forEach(function(w){w.style.display="none";}); } function fixContact(){ if(!document.body||!document.body.id||document.body.id!=="contact")return; if(document.getElementById("sel-contact-hero"))return; var wrapper=document.getElementById("wrapper"); if(!wrapper)return; function mk(tag,cls,txt){var e=document.createElement(tag);if(cls)e.className=cls;if(txt)e.textContent=txt;return e;} var hero=mk("div");hero.id="sel-contact-hero"; hero.appendChild(mk("h1","sel-animate","Contactez-nous")); hero.appendChild(mk("p","sel-animate sel-delay-1","Notre \u00e9quipe est \u00e0 votre disposition pour r\u00e9pondre \u00e0 toutes vos questions")); wrapper.insertBefore(hero,wrapper.firstChild); var cards=mk("div");cards.id="sel-contact-cards"; var infos=[ {icon:"\uD83D\uDCE7",title:"Email",desc:"contact@service-enligne.fr\nR\u00e9ponse sous 24h"}, {icon:"\uD83D\uDCDE",title:"T\u00e9l\u00e9phone",desc:"Du lundi au vendredi\n9h - 18h"}, {icon:"\u26A1",title:"R\u00e9ponse rapide",desc:"D\u00e9lai moyen de r\u00e9ponse\nMoins de 2 heures"} ]; infos.forEach(function(info,i){ var card=mk("div","sel-contact-card sel-animate-scale sel-delay-"+(i+1)); var iconDiv=mk("div","sel-contact-card-icon",info.icon); card.appendChild(iconDiv); card.appendChild(mk("h3","",info.title)); var lines=info.desc.split("\n"); lines.forEach(function(line){card.appendChild(mk("p","",line));}); cards.appendChild(card); }); wrapper.insertBefore(cards,hero.nextSibling); var formWrap=mk("div");formWrap.id="sel-contact-form-wrap"; var formBox=mk("div","sel-animate");formBox.id="sel-contact-form-box"; formBox.appendChild(mk("h2","","Envoyez-nous un message")); formBox.appendChild(mk("p","sel-form-sub","Remplissez le formulaire ci-dessous et nous vous r\u00e9pondrons dans les plus brefs d\u00e9lais")); var origForm=document.querySelector("#content-wrapper form"); if(origForm){ var newForm=origForm.cloneNode(true); var formH3=newForm.querySelector("h3,.page-header,h1");if(formH3)formH3.style.display="none"; var groups=newForm.querySelectorAll(".form-group,.mb-3"); groups.forEach(function(g){g.className="sel-form-group";}); var labels=newForm.querySelectorAll("label"); labels.forEach(function(l){l.style.textTransform="uppercase";l.style.fontSize="13px";l.style.fontWeight="600";}); var fileGroup=newForm.querySelector("input[type=file]"); if(fileGroup){var fg=fileGroup.closest(".sel-form-group,.form-group,.mb-3");if(fg)fg.style.display="none";} var submitBtn=newForm.querySelector("button[type=submit],input[type=submit],.form-footer .btn-primary"); if(submitBtn){ submitBtn.className="sel-submit-btn"; submitBtn.textContent="Envoyer le message"; var footer=submitBtn.closest(".form-footer,footer"); if(footer){footer.style.background="none";footer.style.padding="0";footer.style.display="block";} } var smalls=newForm.querySelectorAll("small,.form-text,.form-control-comment"); smalls.forEach(function(s){s.style.display="none";}); formBox.appendChild(newForm); } formWrap.appendChild(formBox); wrapper.insertBefore(formWrap,cards.nextSibling); var faqWrap=mk("div","sel-animate");faqWrap.id="sel-contact-faq"; faqWrap.appendChild(mk("h2","","Questions fr\u00e9quentes")); var faqs=[ {q:"Quel est le d\u00e9lai de livraison ?",a:"Nos documents sont livr\u00e9s sous 24h apr\u00e8s validation de votre commande. La livraison est gratuite pour toutes les commandes."}, {q:"Les documents sont-ils conformes \u00e0 la l\u00e9gislation ?",a:"Oui, tous nos documents sont conformes au Code du Travail 2025 et r\u00e9guli\u00e8rement mis \u00e0 jour selon les \u00e9volutions l\u00e9gislatives."}, {q:"Comment puis-je payer ?",a:"Nous acceptons les paiements par carte bancaire (Visa, Mastercard) de mani\u00e8re 100% s\u00e9curis\u00e9e."}, {q:"Puis-je obtenir un remboursement ?",a:"Oui, vous disposez d\u2019un d\u00e9lai de 14 jours pour demander un remboursement si les documents ne correspondent pas \u00e0 vos attentes."} ]; faqs.forEach(function(f){ var item=mk("div","sel-faq-item"); var q=mk("div","sel-faq-q"); q.appendChild(document.createTextNode(f.q)); q.appendChild(mk("span","sel-faq-arrow","\u25BC")); item.appendChild(q); item.appendChild(mk("div","sel-faq-a",f.a)); item.addEventListener("click",function(){item.classList.toggle("open");}); faqWrap.appendChild(item); }); wrapper.insertBefore(faqWrap,formWrap.nextSibling); } function fixCheckout(){ return;/* disabled - causes freeze */ if(!document.body||document.body.id!=="checkout")return; // Guest checkout cleanup - hide unwanted elements dynamically function cleanupCheckout(){ // Hide TITRE/gender document.querySelectorAll("[for*=id_gender],.form-group-title,.radio-inline,.form-check-inline").forEach(function(e){ var p=e.closest(".form-group,.mb-3");if(p)p.style.display="none";else e.style.display="none"; }); // Hide company/vat ["company","vat_number","vat"].forEach(function(n){ document.querySelectorAll("[for*="+n+"],[name*="+n+"]").forEach(function(e){ var p=e.closest(".form-group,.mb-3");if(p)p.style.display="none";else e.style.display="none"; }); }); // Hide help texts document.querySelectorAll("body#checkout small,body#checkout .form-text,body#checkout .form-control-comment,.form-informations").forEach(function(e){e.style.display="none";}); // Hide checkboxes (create account, terms, GDPR) document.querySelectorAll("body#checkout .custom-checkbox,body#checkout .form-check").forEach(function(cb){ // Auto-check required ones var inp=cb.querySelector("input[type=checkbox]");if(inp&&inp.required)inp.checked=true; cb.style.display="none"; }); // Hide nav tabs (guest/login) document.querySelectorAll("body#checkout .nav-tabs,.nav-inline").forEach(function(e){e.style.display="none";}); // Hide original checkout header elements document.querySelectorAll("body#checkout .header-nav,body#checkout #_desktop_currency_selector,body#checkout .currency-selector,body#checkout .search_widget").forEach(function(e){e.style.display="none";}); } cleanupCheckout(); var guestObs=new MutationObserver(function(){cleanupCheckout();}); guestObs.observe(document.body,{childList:true,subtree:true}); if(document.getElementById("sel-checkout-progress"))return; var wizard=document.querySelector(".cart-grid-body"); if(!wizard)return; var rowEl=wizard.parentElement; var container=rowEl.parentElement; var summary=document.getElementById("js-checkout-summary"); function el(tag,cls,txt){var e=document.createElement(tag);if(cls)e.className=cls;if(txt)e.textContent=txt;return e;} var stepsNav=document.querySelector(".checkout__steps"); if(stepsNav)stepsNav.style.display="none"; var mobileNav=document.querySelector(".checkout__steps__mobile"); if(mobileNav)mobileNav.style.display="none"; // Progress bar - 2 steps like vospas.fr var progress=el("div"); progress.id="sel-checkout-progress"; var pLabels=["Infos","Paiement"]; pLabels.forEach(function(lbl,i){ if(i>0){var line=el("div","sel-progress-line");progress.appendChild(line);} var ps=el("div","sel-progress-step"+(i===0?" active":"")); ps.appendChild(el("span","sel-progress-num","")); ps.appendChild(document.createTextNode(" "+lbl)); progress.appendChild(ps); }); container.insertBefore(progress,rowEl); // Layout var layout=el("div"); layout.id="sel-checkout-layout"; var leftCol=el("div"); leftCol.id="sel-checkout-left"; var rightCol=el("div"); rightCol.id="sel-checkout-right"; layout.appendChild(leftCol); layout.appendChild(rightCol); container.insertBefore(layout,rowEl); rowEl.style.display="none"; var allSections=wizard.querySelectorAll("section[id*=checkout]"); allSections.forEach(function(sec){leftCol.appendChild(sec);}); // Auto-check hidden required checkboxes var hiddenCbs=document.querySelectorAll("#checkout-personal-information-step input[type=checkbox][required]"); hiddenCbs.forEach(function(cb){cb.checked=true;}); // Hide Titre (gender) parent .mb-3 var genderLabel=document.querySelector("label[for=field-id_gender]"); if(genderLabel){var gp=genderLabel.closest(".mb-3");if(gp)gp.classList.add("sel-hide-field");} // Hide Société and TVA parent .mb-3 ["field-company","field-vat_number"].forEach(function(fid){ var lab=document.querySelector("label[for="+fid+"]"); if(lab){var p=lab.closest(".mb-3");if(p)p.classList.add("sel-hide-field");} }); // Hide help text under form fields var helpTexts=document.querySelectorAll("body#checkout .mb-3 small, body#checkout .form-control-comment"); helpTexts.forEach(function(ht){ht.style.display="none";}); // Also observe for address step loading to hide Société/TVA there var addrObs=new MutationObserver(function(){ ["field-company","field-vat_number"].forEach(function(fid){ var lab=document.querySelector("label[for="+fid+"]"); if(lab){var p=lab.closest(".mb-3");if(p)p.classList.add("sel-hide-field");} }); var ht2=document.querySelectorAll("body#checkout .mb-3 small, body#checkout .form-control-comment"); ht2.forEach(function(h){h.style.display="none";}); }); addrObs.observe(document.body,{childList:true,subtree:true}); // Hide save payment and back to shipping var payObs=new MutationObserver(function(){ document.querySelectorAll("[id*=save_card],[name*=save],[class*=save-card]").forEach(function(el){var p=el.closest(".form-group,.mb-3,.custom-checkbox,.form-check");if(p)p.style.display="none";else el.style.display="none";}); document.querySelectorAll("a[href*=step],a.btn-tertiary,.back-to-shipping").forEach(function(el){el.style.display="none";}); }); payObs.observe(document.body,{childList:true,subtree:true}); // Build summary sidebar - vospas.fr style (just total + secure badge) var summaryBox=el("div"); summaryBox.id="sel-order-summary"; // Get total price var ttv="--"; if(summary){ var allVals=summary.querySelectorAll(".cart-summary__value"); if(allVals.length>2)ttv=allVals[2].textContent.trim(); else if(allVals.length>0)ttv=allVals[0].textContent.trim(); } // Price display var priceEl=el("div"); priceEl.id="sel-total-price"; // Split price and currency var priceParts=ttv.split(" "); if(priceParts.length>=2){ priceEl.appendChild(document.createTextNode(priceParts[0]+" ")); var curr=el("span","sel-currency",priceParts[1]); priceEl.appendChild(curr); } else { priceEl.textContent=ttv; } summaryBox.appendChild(priceEl); // Secure badge var secureBadge=el("div"); secureBadge.id="sel-secure-badge"; secureBadge.appendChild(document.createTextNode("\uD83D\uDD12 Paiement s\u00e9curis\u00e9")); summaryBox.appendChild(secureBadge); rightCol.appendChild(summaryBox); // Hide original summary if(summary){var sp=summary.closest(".accordion-item,.cart-grid-right,.col-lg-5");if(sp)sp.style.display="none";} // Progress bar update observer var updateP=function(){ var pS=progress.querySelectorAll(".sel-progress-step"); var pL=progress.querySelectorAll(".sel-progress-line"); var ci=0; allSections.forEach(function(s,i){if(s.classList.contains("-current")||s.classList.contains("step--current")||s.classList.contains("js-current-step"))ci=i;}); var mappedStep=ci>=2?1:0; for(var j=0;jAffichages obligatoires";sp.style.cssText="font-size:24px;font-weight:800;color:#0f172a;letter-spacing:-0.5px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;";logo.parentElement.appendChild(sp);}}catch(e){}} function cleanupPS(){try{if(document.body&&document.body.id==="checkout")return; // Translate English footer links var translations={"Delivery":"Livraison","Legal Notice":"Mentions L\u00e9gales","Terms and conditions of use":"Conditions g\u00e9n\u00e9rales","About us":"\u00c0 propos","Secure payment":"Paiement s\u00e9curis\u00e9","Stores":"Magasins","Sitemap":"Plan du site","Contact us":"Contactez-nous"}; var links=document.querySelectorAll("a.cms-page-link, a"); for(var i=0;i