@media(min-width:1025px){html[lang|="fr"] body.single-product .elementor-1002.elementor-location-single{padding-top:45px!important;}}body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery{position:relative!important;overflow:visible!important}
body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .woocommerce-product-gallery__wrapper{display:block!important;width:100%!important;max-width:100%!important;overflow:visible!important;margin:0!important}
body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-gallery-main{width:100%!important;margin:0 0 12px!important;border-radius:18px;overflow:hidden;background:#fff;border:1px solid rgba(22,50,79,.08);box-shadow:0 14px 34px rgba(22,50,79,.08);position:relative!important}
body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-gallery-main .woocommerce-product-gallery__image{width:100%!important;display:block!important;float:none!important;margin:0!important;height:auto!important}
body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-gallery-main img{display:block!important;width:100%!important;height:auto!important;max-height:620px;object-fit:contain;background:#fff}
body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-main-nav{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border:1px solid rgba(22,50,79,.16);border-radius:999px;background:rgba(255,255,255,.94);color:#16324F!important;box-shadow:0 8px 22px rgba(22,50,79,.13);display:flex;align-items:center;justify-content:center;font-size:26px;line-height:1;cursor:pointer;z-index:8;touch-action:manipulation}
body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-main-nav--prev{left:10px}
body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-main-nav--next{right:10px}
body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-main-nav:disabled{opacity:.28;cursor:default}
body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-thumb-carousel{position:relative;width:100%;display:flex;align-items:center;gap:8px;margin:0 0 12px!important}
body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-thumb-viewport{overflow-x:auto;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;flex:1;min-width:0}
body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-thumb-viewport::-webkit-scrollbar{display:none}
body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-thumb-track{display:flex;flex-wrap:nowrap;gap:10px;align-items:stretch}
body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-thumb{flex:0 0 82px;width:82px;height:82px;border-radius:12px;overflow:hidden;background:#fff;border:1px solid rgba(22,50,79,.10);box-shadow:0 8px 18px rgba(22,50,79,.06);cursor:pointer;opacity:.76;transition:opacity .15s ease,border-color .15s ease,transform .15s ease}
body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-thumb.is-active{opacity:1;border-color:#16324F;transform:translateY(-1px)}
body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-gallery-nav{flex:0 0 34px;width:34px;height:34px;border:1px solid rgba(22,50,79,.14);border-radius:999px;background:rgba(255,255,255,.96);color:#16324F!important;box-shadow:0 8px 20px rgba(22,50,79,.10);display:flex;align-items:center;justify-content:center;font-size:22px;line-height:1;cursor:pointer;z-index:3;touch-action:manipulation}
body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-gallery-nav:disabled{opacity:.28;cursor:default}
@media (max-width:767px){body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-gallery-main{border-radius:14px;margin-bottom:10px!important}body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-thumb{flex-basis:68px;width:68px;height:68px;border-radius:10px}body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-gallery-nav{flex-basis:30px;width:30px;height:30px;font-size:20px}body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery .cdf-main-nav{width:34px;height:34px;font-size:24px}.cdf-main-nav--prev{left:8px}.cdf-main-nav--next{right:8px}}/* 2026-05-12b: thumbnail carousel arrows restored; selected thumbnail now follows WooCommerce variation images using stable source images. */html[lang|="fr"] body.single-product .cdf-guarantee-under-title{color:#4795D7!important}/* PIMAI 2026-06-16: robust CDF product-benefit bullets.
Override older flex list rules so bold labels stay inline with their text. */
body.single-product ul.cdf-product-benefits,
body.single-product .woocommerce-product-details__short-description ul.cdf-product-benefits,
body.single-product .elementor-widget-woocommerce-product-short-description ul.cdf-product-benefits{
list-style:none!important;
padding:0!important;
margin:18px 0 22px!important;
display:grid!important;
gap:10px!important;
}
body.single-product ul.cdf-product-benefits li,
body.single-product .woocommerce-product-details__short-description ul.cdf-product-benefits li,
body.single-product .elementor-widget-woocommerce-product-short-description ul.cdf-product-benefits li{
list-style:none!important;
margin:0!important;
padding:0 0 0 26px!important;
position:relative!important;
display:block!important;
align-items:initial!important;
gap:0!important;
color:#374151!important;
font-family:Poppins,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
font-size:14.5px!important;
line-height:1.45!important;
font-weight:400!important;
}
body.single-product ul.cdf-product-benefits li::marker{content:""!important;font-size:0!important;}
body.single-product ul.cdf-product-benefits .cdf-benefit-icon{display:none!important;}
body.single-product ul.cdf-product-benefits li::before{
content:"✓"!important;
position:absolute!important;
left:0!important;
top:.18em!important;
width:17px!important;
height:17px!important;
min-width:17px!important;
border-radius:999px!important;
background:#1075C9!important;
color:#fff!important;
display:inline-flex!important;
align-items:center!important;
justify-content:center!important;
box-shadow:0 1px 3px rgba(16,117,201,.18)!important;
font-size:12px!important;
line-height:1!important;
font-weight:700!important;
}
body.single-product ul.cdf-product-benefits strong{
display:inline!important;
font-weight:600!important;
color:#1f2937!important;
}.single-product .stock.out-of-stock{display:none!important}.single-product .stock.out-of-stock.pima-restocking-status{display:inline-flex!important;align-items:center;gap:9px;margin:12px 0 18px!important;padding:9px 13px!important;border:1px solid #fed7aa;border-radius:6px;background:#fff7ed;color:#9a4b0b!important;font:500 14px/1.5 Poppins,sans-serif!important;box-shadow:none}.single-product .pima-restocking-status:before{content:"";flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:#ea8a23}.single-product .cdf-delivery-card[hidden],.single-product .elementor-location-single.outofstock .cdf-delivery-card,.single-product .elementor-location-single.onbackorder .cdf-delivery-card{display:none!important}.cdf-post-cart-reassurance__icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.cdf-trust-faq{font-family:Poppins,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;color:#425466;background:#fff;width:100%;clear:both;margin:34px auto 34px;}
.single-product .cdf-trust-faq{margin-top:28px;margin-bottom:36px}.tax-product_cat .cdf-trust-faq{margin-top:38px;margin-bottom:44px}
.cdf-trust-faq *{box-sizing:border-box}.cdf-trust-faq .why-us-section{padding:34px 20px 18px;text-align:center}.cdf-trust-faq .tagline{display:inline-block;background:#E6F4EA;color:#096A2E;padding:5px 15px;border-radius:999px;font-size:.9rem;font-weight:600;margin-bottom:10px}.cdf-trust-faq h2{font-size:clamp(26px,3vw,34px);font-weight:800;margin:0 0 28px;line-height:1.2;color:#212529}.cdf-trust-faq h2 span{background:#C3E6CB;padding:0 8px;border-radius:5px}.cdf-trust-faq .brand-table-container{max-width:800px;margin:0 auto;overflow-x:auto;border:1px solid #DEE2E6;border-radius:12px;box-shadow:0 4px 10px rgba(0,0,0,.05);background:#fff}.cdf-trust-faq .brand-comparison-table{width:100%;border-collapse:separate!important;border-spacing:0!important;background:#fff;margin:0!important}.cdf-trust-faq .brand-comparison-table th,.cdf-trust-faq .brand-comparison-table td{padding:15px;text-align:left;border-bottom:1px solid #DEE2E6!important;border-right:1px solid #DEE2E6!important;font-size:.95rem!important;line-height:1.4;vertical-align:middle;color:#425466}.cdf-trust-faq .brand-comparison-table th:last-child,.cdf-trust-faq .brand-comparison-table td:last-child{border-right:none!important}.cdf-trust-faq .brand-comparison-table tbody tr:last-child td{border-bottom:none!important}.cdf-trust-faq .brand-comparison-table th{font-weight:700;font-size:1.05rem!important;color:#16324F}.cdf-trust-faq .brand-comparison-table thead th:nth-child(2){background:#4795D7;color:#fff;text-align:center}.cdf-trust-faq .brand-comparison-table thead th:nth-child(3){background:#E9ECEF;color:#495057;text-align:center}.cdf-trust-faq .brand-comparison-table tbody td:nth-child(2),.cdf-trust-faq .brand-comparison-table tbody td:nth-child(3){text-align:center}.cdf-trust-faq .check-icon{color:#16a34a!important;font-size:1.45rem!important;font-weight:800}.cdf-trust-faq .cross-icon{color:#DC3545!important;font-size:1.45rem!important;font-weight:800}.cdf-trust-faq small{font-size:.78rem;color:#6E7F92}.cdf-trust-faq .faq-section-container{padding:18px 0 42px}.cdf-trust-faq .faq-section-wrapper{max-width:800px;margin:0 auto;padding:0 20px}.cdf-trust-faq .faq-section-wrapper h2{text-align:center;font-size:clamp(24px,2.5vw,30px);font-weight:700;margin:18px 0 28px;color:#212529}.cdf-trust-faq .faq-accordion{display:grid;gap:15px}.cdf-trust-faq .faq-item{background:#fff;border:none;box-shadow:0 6px 20px rgba(0,0,0,.08);border-radius:12px;overflow:hidden}.cdf-trust-faq .faq-question{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 25px;font-size:1rem;font-weight:600;cursor:pointer;list-style:none;color:#212529;transition:color .2s ease}.cdf-trust-faq .faq-question::-webkit-details-marker{display:none}.cdf-trust-faq .faq-icon-wrapper{flex-shrink:0;color:#1075C9;transition:transform .3s ease}.cdf-trust-faq .faq-icon-svg{width:20px;height:20px;stroke-width:3}.cdf-trust-faq .faq-answer{padding:0 25px 24px}.cdf-trust-faq .faq-answer p{margin:0;color:#333;line-height:1.65;text-align:left}.cdf-trust-faq details[open] .faq-question{color:#4795D7}.cdf-trust-faq details[open] .faq-icon-wrapper{transform:rotate(180deg)}
.single-product .woocommerce-tabs{max-width:1120px;margin:34px auto 0;padding:0 20px}.single-product .woocommerce-tabs ul.tabs{display:flex!important;gap:8px;align-items:flex-end;overflow-x:auto;margin:0!important;padding:0!important;border-bottom:1px solid #DDEAF6!important}.single-product .woocommerce-tabs ul.tabs::before,.single-product .woocommerce-tabs ul.tabs::after{display:none!important}.single-product .woocommerce-tabs ul.tabs li{border:1px solid #DDEAF6!important;border-bottom:0!important;background:#F8FBFF!important;border-radius:14px 14px 0 0!important;margin:0!important;padding:0!important}.single-product .woocommerce-tabs ul.tabs li::before,.single-product .woocommerce-tabs ul.tabs li::after{display:none!important}.single-product .woocommerce-tabs ul.tabs li a{display:block;padding:13px 18px!important;color:#16324F!important;font-weight:600!important;font-size:14px;text-decoration:none!important}.single-product .woocommerce-tabs ul.tabs li.active{background:#fff!important;border-color:#BFDDF4!important}.single-product .woocommerce-tabs .panel{max-width:none!important;background:#fff;border:1px solid #DDEAF6;border-top:0;border-radius:0 0 22px 22px;padding:26px!important;box-shadow:0 14px 34px rgba(16,52,84,.06);color:#425466}.single-product .woocommerce-tabs .panel h2:first-child{display:none!important}.single-product .woocommerce-tabs .panel p,.single-product .woocommerce-tabs .panel li{color:#425466;line-height:1.7}.single-product .woocommerce-tabs .panel h3{color:#16324F;margin-top:0}.single-product section.related.products>h2,.single-product .related.products>h2{color:#16324F!important;font-family:Poppins,sans-serif!important;font-size:clamp(26px,3vw,34px)!important;font-weight:700!important;text-align:center!important;margin:34px auto 24px!important}
.single-product .woocommerce-tabs .wc-tab.cdf-managed-panel{display:none!important}.single-product .woocommerce-tabs .wc-tab.cdf-managed-panel.cdf-active-panel{display:block!important}
@media(max-width:768px){.cdf-trust-faq{margin-top:24px}.cdf-trust-faq .why-us-section{padding:28px 12px 12px}.cdf-trust-faq .brand-comparison-table th,.cdf-trust-faq .brand-comparison-table td{padding:10px 8px;font-size:.82rem!important}.cdf-trust-faq .brand-comparison-table td *,.cdf-trust-faq .brand-comparison-table th *{font-size:.82rem!important;line-height:1.2!important}.cdf-trust-faq h2{font-size:1.55rem}.cdf-trust-faq .faq-question{padding:15px;font-size:.95rem}.cdf-trust-faq .faq-answer{padding:0 15px 18px}.single-product .woocommerce-tabs{padding:0 12px}.single-product .woocommerce-tabs ul.tabs li a{padding:11px 13px!important;font-size:13px}.single-product .woocommerce-tabs .panel{padding:18px!important}}/* Guard: imported Shopify product comparison tables must keep blue headers despite Elementor striped-table defaults */
.single-product #tab-description .article-content table.comparison-table th,
.single-product .woocommerce-tabs .panel .article-content table.comparison-table th,
.single-product .woocommerce-tabs .panel table.comparison-table th{
background:#4795D7!important;
background-color:#4795D7!important;
color:#fff!important;
}
.single-product #tab-description .article-content table.comparison-table tr:first-child th,
.single-product .woocommerce-tabs .panel table.comparison-table tr:first-child th{
background:#4795D7!important;
background-color:#4795D7!important;
color:#fff!important;
}/* Delivery estimate and conditional WooCommerce rating summary */
.single-product .cdf-rating-summary{display:none;align-items:center;gap:8px;margin:6px 0 10px;font-family:Poppins,Arial,sans-serif;color:#425466;font-size:13.5px;line-height:1.35}
.single-product .cdf-rating-summary.cdf-has-rating{display:flex}
.single-product .cdf-rating-stars{letter-spacing:1px;color:#FADB14;font-size:17px;line-height:1;text-shadow:0 1px 1px rgba(0,0,0,.08)}
.single-product .cdf-rating-text{color:#425466;font-weight:400}.single-product .cdf-rating-text strong{color:#425466;font-weight:600}
.single-product .cdf-delivery-estimate{margin:10px 0 14px;color:#425466;font:400 13.5px/1.45 Poppins,Arial,sans-serif;display:flex;align-items:center;gap:7px;clear:both}
.single-product .cdf-delivery-estimate .cdf-delivery-icon{color:#1075C9;font-size:15px;line-height:1}.single-product .cdf-delivery-estimate time,.single-product .cdf-delivery-estimate strong{font-weight:600;color:#425466}
@media(max-width:768px){.single-product .cdf-rating-summary{font-size:13px;margin-top:4px}.single-product .cdf-rating-stars{font-size:16px}.single-product .cdf-delivery-estimate{font-size:13px;margin:9px 0 13px}}
/* Dedicated delivery reassurance card (activated only when present in the product excerpt). */
.single-product.cdf-has-delivery-card .elementor-element-cdfshort1{margin-bottom:16px!important}
.single-product.cdf-has-delivery-card .elementor-element-cdfcart1{margin-top:-8px!important}
.single-product .cdf-delivery-card{margin:12px 0 10px;padding:12px 14px;background:#f0fdf4;border:1px solid #bbf7d0;border-left:4px solid #16a34a;border-radius:8px;color:#166534;font:400 13.5px/1.45 Poppins,Arial,sans-serif;clear:both}
.single-product .cdf-delivery-card__stock{display:flex;align-items:center;gap:9px;color:#166534}
.single-product .cdf-delivery-card__stock strong{font-weight:600;color:#166534}
.single-product .cdf-delivery-card__dot{position:relative;flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 0 rgba(22,163,74,.4);animation:cdf-stock-pulse 1.8s ease-out infinite}
.single-product .cdf-delivery-card .cdf-delivery-estimate{margin:5px 0 0 18px;color:#3f624c;font-size:13px;line-height:1.45;display:block}
.single-product .cdf-delivery-card .cdf-delivery-estimate time{font-weight:600;color:#2f5b3d}
@keyframes cdf-stock-pulse{0%{box-shadow:0 0 0 0 rgba(22,163,74,.42)}70%{box-shadow:0 0 0 7px rgba(22,163,74,0)}100%{box-shadow:0 0 0 0 rgba(22,163,74,0)}}
@media(prefers-reduced-motion:reduce){.single-product .cdf-delivery-card__dot{animation:none}}
@media(max-width:768px){.single-product .cdf-delivery-card{margin:10px 0 10px;padding:11px 12px;font-size:13px}.single-product .cdf-delivery-card .cdf-delivery-estimate{margin-left:18px;font-size:12.5px}}/* cdf-clean-green-check-icons-20260625: green checks; SVG checks keep fill:none to avoid distorted shapes. */
html body .brand-comparison-table td.check-icon {
color: #16a34a !important;
fill: #16a34a !important;
stroke: none !important;
}
html body .brand-comparison-table td.check-icon svg,
html body .brand-comparison-table td.check-icon svg * {
color: #16a34a !important;
stroke: #16a34a !important;
}
html body .brand-comparison-table td.check-icon svg path,
html body .brand-comparison-table td.check-icon .cdf-green-check-svg path {
fill: none !important;
stroke: #16a34a !important;
stroke-linecap: round !important;
stroke-linejoin: round !important;
}
html body .brand-comparison-table td.cross-icon small,
html body .brand-comparison-table td:nth-child(3) small {
color: #6E7F92 !important;
fill: #6E7F92 !important;
stroke: none !important;
}.cdf-home .brand-comparison-table td.check-icon,
.cdf-home .brand-comparison-table td.check-icon svg,
.cdf-trust-faq .brand-comparison-table td.check-icon { color:#16a34a!important; }
.cdf-home .brand-comparison-table td.check-icon svg path,
.cdf-home .brand-comparison-table td.check-icon path,
.cdf-trust-faq .brand-comparison-table td.check-icon svg path,
.cdf-trust-faq .brand-comparison-table td.check-icon path { stroke:#16a34a!important; fill:none!important; }
.cdf-home .brand-comparison-table td.cross-icon small,
.cdf-trust-faq .brand-comparison-table td.cross-icon small { color:#6E7F92!important; }body.single-product .woocommerce-variation-price .price .cdf-variation-price-display{display:flex!important;align-items:baseline!important;flex-wrap:wrap!important;gap:8px 12px!important;margin:4px 0 10px!important;font-family:Poppins,Arial,sans-serif!important;color:#16324F!important}
body.single-product .woocommerce-variation-price .price .cdf-variation-ht{font-size:22px!important;font-weight:700!important;color:#16324F!important;line-height:1.16!important;display:block!important}
body.single-product .woocommerce-variation-price .price .cdf-variation-ht .cdf-variation-label{font-size:.64em!important;font-weight:700!important;color:#425466!important;margin-left:5px!important;margin-right:0!important;text-transform:uppercase!important;letter-spacing:.02em!important}
body.single-product .woocommerce-variation-price .price .cdf-variation-ttc{font-size:15.5px!important;font-weight:550!important;color:#7A8A9A!important;line-height:1.22!important;display:block!important}
body.single-product form.variations_form table.variations,body.single-product form.variations_form table.variations tbody,body.single-product form.variations_form table.variations tr,body.single-product form.variations_form table.variations th,body.single-product form.variations_form table.variations td{background:transparent!important;border:0!important;box-shadow:none!important}
body.single-product form.variations_form table.variations{margin:8px 0 6px!important;border-collapse:separate!important;border-spacing:0 4px!important}
body.single-product form.variations_form table.variations th.label{padding:0 0 6px!important;display:block!important;width:100%!important;text-align:left!important;color:#16324F!important;font-size:14px!important;font-weight:650!important;line-height:1.25!important}
body.single-product form.variations_form table.variations th.label label{display:inline-block!important;text-align:left!important;margin:0!important}
body.single-product form.variations_form table.variations td.value{padding:0!important;display:block!important;width:100%!important;position:relative!important}
body.single-product form.variations_form .single_variation{margin-top:0!important}
body.single-product form.variations_form .woocommerce-variation-price{margin-top:0!important;margin-bottom:8px!important}
body.single-product form.variations_form .woocommerce-variation-price .price{margin:0!important}
body.single-product form.variations_form select{appearance:none!important;-webkit-appearance:none!important;width:100%!important;min-height:48px!important;background-color:#fff!important;background-image:linear-gradient(45deg,transparent 50%,#16324F 50%),linear-gradient(135deg,#16324F 50%,transparent 50%)!important;background-position:calc(100% - 22px) 50%,calc(100% - 16px) 50%!important;background-size:6px 6px,6px 6px!important;background-repeat:no-repeat!important;border:1px solid rgba(22,50,79,.18)!important;border-radius:14px!important;color:#16324F!important;font-size:15.5px!important;font-weight:500!important;padding:12px 48px 12px 16px!important;box-shadow:0 10px 24px rgba(22,50,79,.06)!important;transition:border-color .18s ease,box-shadow .18s ease!important}
body.single-product form.variations_form select:hover{border-color:rgba(71,149,215,.42)!important}
body.single-product form.variations_form select:focus{outline:none!important;border-color:#4795D7!important;box-shadow:0 0 0 3px rgba(71,149,215,.16),0 12px 26px rgba(22,50,79,.08)!important}
body.single-product form.variations_form .reset_variations{display:inline-block!important;position:absolute!important;right:0!important;top:-26px!important;margin:0!important;color:#7A8A9A!important;font-size:13px!important;line-height:1.2!important;text-decoration:none!important}
@media(max-width:768px){body.single-product .woocommerce-variation-price .price .cdf-variation-ht{font-size:20px!important}body.single-product .woocommerce-variation-price .price .cdf-variation-ttc{font-size:14.5px!important}body.single-product form.variations_form select{min-height:46px!important;border-radius:13px!important;font-size:15px!important}}body.single-product .woocommerce-product-gallery__trigger,
body.single-product .woocommerce-product-gallery__trigger::before,
body.single-product .woocommerce-product-gallery__trigger::after{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
body.single-product .woocommerce-product-gallery__image a{cursor:default!important;pointer-events:none!important}
body.single-product .woocommerce-product-gallery__image img{cursor:default!important}
body.single-product .woocommerce-product-gallery__wrapper{overflow:hidden!important}
body.single-product.cdf-gallery-lightbox-disabled .pswp,
body.single-product.cdf-gallery-lightbox-disabled .photoswipe{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}body.single-product .elementor-element-s5675826{padding-top:0!important}
body.single-product .elementor-element-cdfbrd1{margin-top:-8px!important}
body.single-product .woocommerce-breadcrumb{margin-bottom:8px!important;line-height:1.45!important}
body.single-product .woocommerce-product-gallery__image{overflow:hidden!important;position:relative!important}
body.single-product .woocommerce-product-gallery__image .zoomImg{display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:none!important}
body.single-product .woocommerce-product-gallery__image img:not(.zoomImg){transform:none!important;transition:none!important;animation:none!important}
body.single-product .woocommerce-product-gallery__wrapper{transition:none!important;will-change:auto!important}
body.single-product .woocommerce-product-gallery{transition:none!important;will-change:auto!important}
body.single-product .product_meta{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px 22px!important;margin-top:12px!important;color:#64748b!important;font-size:13px!important;line-height:1.45!important}
body.single-product .product_meta>span{display:inline-flex!important;align-items:baseline!important;gap:6px!important;margin:0!important;white-space:normal!important}
body.single-product .product_meta .sku_wrapper::after{content:"";display:none!important}
body.single-product .woocommerce-tabs ul.tabs{border-bottom:1px solid rgba(71,149,215,.18)!important;margin-bottom:18px!important;gap:8px!important}
body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after{display:none!important;border:0!important}
body.single-product .woocommerce-tabs ul.tabs li{border:0!important;background:transparent!important;margin:0 18px 0 0!important;padding:0!important}
body.single-product .woocommerce-tabs ul.tabs li a{padding:0 0 10px!important;color:#64748b!important;font-weight:600!important;font-size:15px!important;line-height:1.2!important}
body.single-product .woocommerce-tabs ul.tabs li.active a{color:#16324F!important;box-shadow:inset 0 -2px 0 #4795D7!important}
body.single-product .woocommerce-tabs .panel{border-top:0!important;padding-top:10px!important}
body.single-product .cdf-post-cart-reassurance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 10px;padding:12px;border:1px solid rgba(71,149,215,.16);border-radius:16px;background:linear-gradient(135deg,rgba(71,149,215,.07),rgba(255,255,255,.96));box-shadow:0 8px 22px rgba(22,50,79,.05)}
body.single-product .cdf-post-cart-reassurance__item{display:flex;align-items:center;gap:8px;color:#29445f;font-size:13px;font-weight:600;line-height:1.25}
body.single-product .cdf-post-cart-reassurance__icon{width:22px;height:22px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#eaf4ff;color:#2d7fbe;font-size:13px;flex:0 0 22px}
@media(max-width:767px){
body.single-product .elementor-element-s5675826{padding-top:0!important}
body.single-product .elementor-element-cdfbrd1{margin-top:-6px!important}
body.single-product .woocommerce-breadcrumb{margin-bottom:6px!important;font-size:12px!important}
body.single-product .product_meta{display:grid!important;gap:5px!important;margin-top:10px!important}
body.single-product .woocommerce-tabs ul.tabs{display:flex!important;overflow-x:auto!important;gap:14px!important;margin-bottom:14px!important;padding-bottom:0!important}
body.single-product .woocommerce-tabs ul.tabs li{margin-right:0!important;white-space:nowrap!important}
body.single-product .woocommerce-tabs ul.tabs li a{font-size:14px!important;padding-bottom:9px!important}
body.single-product .cdf-post-cart-reassurance{grid-template-columns:1fr;gap:7px;padding:11px;margin-top:10px;border-radius:14px}
}
body.single-product .product_meta,body.single-product .elementor-widget:has(.product_meta){display:none!important}body.single-product .woocommerce-product-gallery{position:relative!important}
body.single-product .cdf-gallery-arrow{position:absolute;top:37%;transform:translateY(-50%);z-index:7;width:42px;height:42px;border:1px solid rgba(22,50,79,.12);border-radius:999px;background:rgba(255,255,255,.92);color:#16324F;box-shadow:0 10px 24px rgba(22,50,79,.12);display:flex;align-items:center;justify-content:center;font-size:24px;line-height:1;cursor:pointer;transition:background .18s ease,transform .18s ease,box-shadow .18s ease;color:#16324F!important}
body.single-product .cdf-gallery-arrow:hover{background:#fff;transform:translateY(-50%) scale(1.04);box-shadow:0 14px 30px rgba(22,50,79,.16)}
body.single-product .cdf-gallery-arrow--prev{left:12px}
body.single-product .cdf-gallery-arrow--next{right:12px}
body.single-product .cdf-gallery-arrow[disabled]{opacity:.35;cursor:default;pointer-events:none}
body.single-product .related.products .woocommerce-loop-product__title,body.single-product section.related .woocommerce-loop-product__title{color:#16324F!important;font-weight:650!important}
body.single-product .related.products a:hover .woocommerce-loop-product__title,body.single-product section.related a:hover .woocommerce-loop-product__title{color:#0B6FB8!important}
@media(max-width:767px){body.single-product .cdf-gallery-arrow{width:36px;height:36px;font-size:21px;top:34%}body.single-product .cdf-gallery-arrow--prev{left:8px}body.single-product .cdf-gallery-arrow--next{right:8px}}body.single-product .related.products a.button,body.single-product section.related a.button{background:#4795D7!important;color:#fff!important;border:1px solid #4795D7!important;border-radius:999px!important;font-weight:650!important;text-align:center!important;text-decoration:none!important;box-shadow:0 10px 22px rgba(71,149,215,.16)!important}
body.single-product .related.products a.button:hover,body.single-product section.related a.button:hover{background:#1075C9!important;border-color:#1075C9!important;color:#fff!important;box-shadow:0 12px 26px rgba(16,117,201,.2)!important}body.single-product form.cart .single_add_to_cart_button,body.single-product .single_add_to_cart_button.button.alt{box-shadow:0 2px 6px rgba(16,117,201,.08)!important}
body.single-product form.cart .single_add_to_cart_button:hover,body.single-product .single_add_to_cart_button.button.alt:hover{box-shadow:0 3px 8px rgba(16,117,201,.10)!important}
body.single-product .cdf-post-cart-reassurance{margin-top:14px!important}
body.single-product .woocommerce-product-gallery{padding:1px 2px 2px 1px!important;box-sizing:border-box!important;overflow:visible!important}
body.single-product .woocommerce-product-gallery .flex-viewport{border:1px solid rgba(22,50,79,.10)!important;border-radius:18px!important;box-sizing:border-box!important;overflow:hidden!important;background:#fff!important}
body.single-product .woocommerce-product-gallery__wrapper{box-sizing:border-box!important}
body.single-product .woocommerce-product-gallery__image{box-sizing:border-box!important}body.single-product .woocommerce-product-gallery{padding:0!important;overflow:visible!important}body.single-product .woocommerce-product-gallery .flex-viewport{border:none!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;overflow:hidden!important}
body.single-product .cdf-reassurance{display:none!important}body.single-product .woocommerce-product-gallery,body.single-product .woocommerce-product-gallery *{box-shadow:none!important}body.single-product .woocommerce-product-gallery .flex-viewport,body.single-product .woocommerce-product-gallery__wrapper,body.single-product .woocommerce-product-gallery__image,body.single-product .woocommerce-product-gallery__image a,body.single-product .woocommerce-product-gallery__image img{border:none!important;outline:none!important;border-radius:0!important;background:transparent!important}body.single-product .woocommerce-product-gallery{padding:0!important;background:transparent!important}
body.single-product .woocommerce-product-gallery.cdf-main-thumb-gallery > .cdf-gallery-arrow,body.single-product .woocommerce-product-gallery .cdf-gallery-arrow{display:none!important;visibility:hidden!important;pointer-events:none!important}
(function(){
function srcOf(item){var img=item&&item.querySelector('img');return img?(img.currentSrc||img.src||img.getAttribute('data-src')||''):''}
function hrefOf(item){var a=item&&item.querySelector('a');return a?(a.href||a.getAttribute('href')||srcOf(item)):srcOf(item)}
function enhance(g){
if(!g)return; if(g.dataset.cdfMainThumbs==='1'&&g.querySelector('.cdf-thumb-carousel'))return;
if(g.dataset.cdfSsrGallery==='1'&&g.dataset.cdfMainThumbs!=='1'){var cw=g.querySelector('.woocommerce-product-gallery__wrapper'),ts=[].slice.call(g.querySelectorAll('.cdf-thumb-track > .cdf-thumb'));var original=ts.map(function(t){var n=t.cloneNode(true);n.className='woocommerce-product-gallery__image';return n;});cw.replaceChildren();original.forEach(function(n){cw.appendChild(n);});delete g.dataset.cdfSsrGallery;}
var w=g.querySelector('.woocommerce-product-gallery__wrapper'); if(!w)return;
var items=[].slice.call(w.children).filter(function(el){return el.classList&&el.classList.contains('woocommerce-product-gallery__image')&&el.querySelector('img')});
if(items.length<2)return;
g.dataset.cdfMainThumbs='1'; g.classList.add('cdf-main-thumb-gallery');
var cdfBox=document.createElement('div'); cdfBox.className='cdf-gallery-main';
var first=items[0]; cdfBox.appendChild(first); w.insertBefore(cdfBox,w.firstChild);
var carousel=document.createElement('div'); carousel.className='cdf-thumb-carousel';
var prev=document.createElement('button'), next=document.createElement('button'), viewport=document.createElement('div'), track=document.createElement('div');
var cdfMainPrev=document.createElement('button'), cdfMainNext=document.createElement('button');
prev.type=next.type=cdfMainPrev.type=cdfMainNext.type='button';
prev.className='cdf-gallery-nav cdf-gallery-nav--prev'; next.className='cdf-gallery-nav cdf-gallery-nav--next';
cdfMainPrev.className='cdf-main-nav cdf-main-nav--prev'; cdfMainNext.className='cdf-main-nav cdf-main-nav--next';
prev.setAttribute('aria-label','Photos précédentes'); next.setAttribute('aria-label','Photos suivantes');
cdfMainPrev.setAttribute('aria-label','Photo précédente'); cdfMainNext.setAttribute('aria-label','Photo suivante');
prev.innerHTML=cdfMainPrev.innerHTML='‹'; next.innerHTML=cdfMainNext.innerHTML='›'; viewport.className='cdf-thumb-viewport'; track.className='cdf-thumb-track';
var all=[first].concat(items.slice(1)); var sourceItems=all.map(function(el){return el.cloneNode(true)}); var activeIndex=0;
function updateMainNav(){cdfMainPrev.disabled=activeIndex=all.length-1; var show=all.length>1; cdfMainPrev.style.display=cdfMainNext.style.display=show?'flex':'none'}
function scrollActiveThumb(){
var thumb=track&&track.children&&track.children[activeIndex]; if(!thumb||!viewport)return;
var vLeft=viewport.scrollLeft, vRight=vLeft+viewport.clientWidth;
var tLeft=thumb.offsetLeft, tRight=tLeft+thumb.offsetWidth;
var target=null;
if(tLeftvRight-8) target=Math.max(0,tRight-viewport.clientWidth+10);
if(target!==null) viewport.scrollTo({left:target,behavior:'smooth'});
}
function activate(idx){
if(idx=all.length)idx=all.length-1;
var target=(sourceItems&&sourceItems[idx])||all[idx]; if(!target)return; activeIndex=idx;
var mainLink=first.querySelector('a'), mainImg=first.querySelector('img'), targetImg=target.querySelector('img');
var href=hrefOf(target), src=srcOf(target);
if(mainLink&&href) mainLink.href=href;
if(mainImg&&targetImg){ ['src','srcset','sizes','alt','title','data-src','data-large_image','data-large_image_width','data-large_image_height'].forEach(function(attr){var val=targetImg.getAttribute(attr); if(val!==null) mainImg.setAttribute(attr,val); else mainImg.removeAttribute(attr);}); if(src) mainImg.src=src; }
[].slice.call(track.children).forEach(function(t,i){t.classList.toggle('is-active',i===idx)});
updateMainNav(); scrollActiveThumb();
}
function normUrl(u){
u=(u||'').toString().split('?')[0].replace(/^https?:\/\/[^\/]+/,'');
try{u=decodeURIComponent(u)}catch(e){}
return u.replace(/-\d+x\d+(?=\.(?:jpg|jpeg|png|webp|gif)$)/i,'').toLowerCase();
}
function itemUrls(item){
var img=item&&item.querySelector('img'), a=item&&item.querySelector('a'), arr=[];
if(a){['href'].forEach(function(attr){var v=a.getAttribute(attr); if(v)arr.push(v);});}
if(img){['src','currentSrc','data-src','data-large_image','data-o_src'].forEach(function(attr){var v=(attr==='currentSrc')?img.currentSrc:img.getAttribute(attr); if(v)arr.push(v);});
var ss=img.getAttribute('srcset')||img.getAttribute('data-srcset')||''; ss.split(',').forEach(function(part){var v=part.trim().split(/\s+/)[0]; if(v)arr.push(v);});
}
return arr.filter(Boolean);
}
function activateByImage(urls){
urls=(Array.isArray(urls)?urls:[urls]).filter(Boolean).map(normUrl).filter(Boolean);
if(!urls.length)return false;
var found=-1;
sourceItems.some(function(item,idx){
return itemUrls(item).some(function(u){
var n=normUrl(u);
if(urls.indexOf(n)>-1 || urls.some(function(x){return n.indexOf(x)>-1 || x.indexOf(n)>-1;})){ found=idx; return true; }
return false;
});
});
if(found>-1){ activate(found); return true; }
return false;
}
function syncFromVariation(v){
if(!v||!v.image)return;
var urls=[v.image.src,v.image.full_src,v.image.url,v.image.thumb_src,v.image.gallery_thumbnail_src];
setTimeout(function(){activateByImage(urls)},60);
setTimeout(function(){activateByImage(urls)},260);
}
function findMatchingVariation(form){
if(!form)return null;
var raw=form.getAttribute('data-product_variations'), vars=[];
try{vars=JSON.parse(raw||'[]')}catch(e){return null;}
return vars.filter(function(v){
var attrs=v.attributes||{};
return Object.keys(attrs).every(function(k){var field=form.querySelector('[name="'+k.replace(/"/g,'\"')+'"]'); return field && field.value===attrs[k];});
})[0]||null;
}
document.addEventListener('change',function(e){
var form=e.target&&e.target.closest&&e.target.closest('form.variations_form');
if(!form)return;
setTimeout(function(){syncFromVariation(findMatchingVariation(form));},80);
},true);
if(window.jQuery){
window.jQuery(document).on('found_variation', 'form.variations_form', function(e,variation){syncFromVariation(variation)});
window.jQuery(document).on('reset_data', 'form.variations_form', function(){setTimeout(function(){activate(0)},60)});
}
g.cdfActivateThumbByImage=activateByImage;
all.forEach(function(item,idx){
var thumb=item.cloneNode(true); thumb.className='cdf-thumb'+(idx===0?' is-active':''); thumb.removeAttribute('style');
var a=thumb.querySelector('a'); if(a){a.addEventListener('click',function(e){e.preventDefault(); activate(idx);});}
thumb.addEventListener('click',function(e){e.preventDefault(); activate(idx);});
track.appendChild(thumb);
});
items.slice(1).forEach(function(el){ if(el.parentNode===w) w.removeChild(el); });
cdfMainPrev.addEventListener('click',function(e){e.preventDefault();e.stopPropagation();activate(activeIndex-1)});
cdfMainNext.addEventListener('click',function(e){e.preventDefault();e.stopPropagation();activate(activeIndex+1)});
cdfBox.appendChild(cdfMainPrev); cdfBox.appendChild(cdfMainNext);
viewport.appendChild(track); carousel.appendChild(prev); carousel.appendChild(viewport); carousel.appendChild(next); w.appendChild(carousel);
function upd(){prev.disabled=viewport.scrollLeft=viewport.scrollWidth-4; var show=viewport.scrollWidth>viewport.clientWidth+4; prev.style.display=next.style.display=show?'flex':'none'; updateMainNav()}
prev.addEventListener('click',function(){viewport.scrollBy({left:-Math.max(220,viewport.clientWidth*.75),behavior:'smooth'})});
next.addEventListener('click',function(){viewport.scrollBy({left:Math.max(220,viewport.clientWidth*.75),behavior:'smooth'})});
viewport.addEventListener('scroll',function(){requestAnimationFrame(upd)},{passive:true}); window.addEventListener('resize',upd); setTimeout(upd,120); setTimeout(upd,900); updateMainNav();
}
function run(){document.querySelectorAll('body.single-product .woocommerce-product-gallery').forEach(enhance)}
run(); if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',run);else run(); window.addEventListener('load',run); setTimeout(run,300); setTimeout(run,1200); setTimeout(run,300); setTimeout(run,1200); setTimeout(run,300); setTimeout(run,1200);
})();/* thumb-scroll-sync-20260525 */
Arvustused
Tooteülevaateid veel ei ole.