/*
Theme Name: édition 1.6.9
Author: Raphael MICHEL
Author URI: https://www.from-scratch.fr
Template: hello-elementor
Version: 1.1
Text Domain: e169
*/
/* body top margin */
.elementor-883,
#content { margin-top:96px;}

/* shrink sticky header */
header.sticky-header {
    --header-height: 96px;
    --shrink-me: 0.70;
    --transition: .3s ease-in-out;

    transition: background-color var(--transition),
                background-image var(--transition),
                backdrop-filter var(--transition),
                opacity var(--transition);
}
header.sticky-header > .elementor-container {
    transition: min-height var(--transition);
}
header.sticky-header.elementor-sticky--effects > .elementor-container {
    min-height: calc(var(--header-height) * var(--shrink-me))!important;
    height: calc(var(--header-height) * var(--shrink-me));
}
header.sticky-header .elementor-nav-menu .elementor-item {
    transition: padding var(--transition);
}
header.sticky-header.elementor-sticky--effects .elementor-nav-menu .elementor-item {
    padding-bottom: 10px !important;
    padding-top: 10px !important;
}
header.sticky-header > .elementor-container img {
    transition: max-width var(--transition);
}
header.sticky-header.elementor-sticky--effects img {
    max-width: calc(100% * var(--shrink-me));
}

.elementor-nav-menu a,
.elementor-nav-menu a:focus,
.elementor-nav-menu a:hover{padding-top:5px; padding-bottom:5px;}

/* Home slider */
body .flexslider { border:0; margin:0; overflow: hidden; border-radius:0; min-height:height:calc(100vh - 96px - 74px - 32px);}
body .flex-control-nav { text-align:right; bottom:18px; max-width:300px; right:0; z-index:999; }
body .flex-control-paging li a{text-indent:9999px; width:13px; height:13px; background:#E4E4E4; box-shadow:none;}
body .flex-control-nav li:last-child { margin-right:0;}
body .flexslider .slides li a.img { display:block;}
body .flexslider .slides li .img { height:calc(100vh - 96px - 74px); background-position:center center; background-size:cover; }
body.admin-bar .flexslider .slides li .img { height:calc(100vh - 96px - 74px - 32px);}
body .flexslider .slides li .bottom { display: flex; height:74px; width:100%;}
body .flexslider .slides li .bottom div {line-height:74px;width:43%; display: none;}
body .flexslider .slides li .bottom div.caption { font-weight:600; font-size:26px;}
body .flexslider .slides li .bottom div.caption a { text-decoration:none;}
body .flexslider .slides li .bottom div.caption a:hover{font-weight:600;}
body .flexslider .slides li .bottom div.link {width:19%;  font-weight:400; font-size:16px; text-align: center;}
/* version petit titre + grand bouton */
body .flexslider .slides li .bottom.long_button div {width:33%;}
body .flexslider .slides li .bottom.long_button div.link {width:33%;}


body .flexslider .slides li .bottom div.link a { text-decoration: underline;}
body .flexslider .slides li .bottom div.link a:hover { font-weight: 500;}
body .flexslider .slides li .bottom_mobile{display:none; padding-top:10px; height:100px;}
body .flexslider .slides li .bottom_mobile div.flex_inner{display:flex; height:50px; width:100%;}
body .flexslider .slides li .bottom_mobile div {line-height:24px; width:70%;}
body .flexslider .slides li .bottom_mobile div.caption { font-weight:600; font-size:18px;}
body .flexslider .slides li .bottom_mobile div.caption a { text-decoration:none;}
body .flexslider .slides li .bottom_mobile div.link {width:100%;  font-weight:400; font-size:15px; line-height:50px; text-align: center;}
body .flexslider .slides li .bottom_mobile div.link a { text-decoration: underline;}
body .flexslider .slides li .bottom_mobile div.link a:hover { font-weight: 500;}
body .flexslider .slides li .bottom_mobile div.fake_nav{width:30%;}
@media screen and (max-width:1280px) {
  body .flexslider .slides li .img{height:calc(100vh - 110px - 100px); background-position:center center; background-size:cover;}
  body.admin-bar .flexslider .slides li .img { height:calc(100vh - 110px - 100px - 32px);}
  body .flexslider .slides li .bottom{display:none;}
  body .flexslider .slides li .bottom_mobile{display:block;}
  body .flexslider .slides li .bottom_mobile div.flex_inner{height:45px;}
  body .flex-control-nav{bottom:60px; max-width:30%;}
}

/* Contacts */
.contacts_section a{text-decoration:underline;}
a.contacts_infos:hover{font-weight:600 !important;}

/* Formulaire de création de compte */
.select2 { border: 1px solid rgb(102, 102, 102); border-width: 0px 0px 1px 0px;min-height: 40px !important;max-height: 40px !important;height: 40px !important;}
.select2-container--default .select2-selection--single {   background-color: transparent;  border-width: 0px;  border-radius: 0px;}
.select2-container .select2-selection--single .select2-selection__rendered { padding-left:200px;}

/* Mon compte */
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border:0; padding: 0; margin: 0; border-radius:0;}
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit { float:inherit; display:block; margin-top:15px;}
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  background-color:transparent; border:1px solid #000; border-radius:100px; color:#000; font-weight: 500; font-size: 16px;}
.woocommerce-page .col2-set .col-1 { position: relative;padding-right: 7%;}
.woocommerce-page .col2-set .col-2 { position: relative;padding-left: 7%;}
.woocommerce-page .col2-set .col-2::before { border-left:2px solid #000; left: -4%; position:absolute; height:100%; content:"";}
@media screen and (max-width:767px) {
  .woocommerce-page .col2-set .col-1 { position: relative;padding-right: 0;}
  .woocommerce-page .col2-set .col-2 { position: relative;padding-left: 0;}
}
fieldset { border:0; padding:0;}

/* formulaire */
/*form:not(.jet-color-image-list-wrapper) label:not(.woocommerce-form__label-for-checkbox) { position: absolute;}*/
.fs_col_filters .elementor-element .jet-radio-list__row:not(:last-child) { margin-bottom:3px !important;}
.woocommerce form .form-row input.input-text { padding-left:200px;}


/* Archive product - 4 products */
.jet-listing-not-found { margin: 200px 0;}
.jet-smart-filters-search .jet-search-filter__input{padding-left:0px;}
.apply-filters__button{width:45px; height:41px; background-image:url(images/loupe.svg); background-position:left 4px bottom 2px; background-size:18px 18px; background-repeat:no-repeat;}
[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover{background-color:#ffffff !important;}
.apply-filters__button .fa-search{display:none;}
.jet-filter-items-dropdown__label{padding-left:24px !important; background-image:url(images/flechebas.svg); background-position:right 24px center; background-size:15px 15px; background-repeat:no-repeat; cursor:pointer;}
.jet-filter-items-dropdown__label:after{display:none;}
.jet-checkboxes-list-wrapper{background-color:#FFFFFF;}
.fs_section_fullwidth,
.fs_section_fullwidth .elementor-widget-wrap{padding-left:0px !important; padding-right:0px !important;}
.jet-sorting-select{text-decoration:underline; cursor:pointer;}

h2.woocommerce-loop-product__title {  font-size: 16px;  font-weight: 500; margin:0;}
.woocommerce div.fs_products div.fs_product > a .collection {
  position: absolute;
  bottom: 0px;
  background-color: #fff;
  color: #8D8D8D;
  display: block;
  width: 100%;
  font-weight: 500;
}

.woocommerce div.fs_products .elementor-widget-shortcode { width:100%;}
.woocommerce div.fs_products div.fs_product { position: relative; }
.woocommerce div.fs_products div.fs_product > a { height:calc((((100vw - 40px - 30vw) / 4) * 1.2749) + 55px); position: relative; }
.woocommerce div.fs_products div.fs_product > a picture {  max-height: 100%;}
.woocommerce div.fs_products div.fs_product > a h2 { position:absolute; bottom:16px; background-color: #fff; display: block; width:100%;}
.woocommerce div.fs_products div.fs_product > a .collection { position:absolute; bottom:0px; background-color: #fff; display: block; width:100%; font-weight:500;}
.woocommerce div.fs_products div.fs_product > a .fs_images { width:100%; height:calc(((100vw - 40px - 30vw) / 4) * 1.2749); position: relative;}
.woocommerce div.fs_products div.fs_product > a .fs_images > div { position: absolute; top:0; left:0; width:100%; height:100%; background-size:contain; background-position: center center; background-color: #fff; background-repeat: no-repeat; overflow: hidden;}
.elementor-widget-woocommerce-products.elementor-wc-products div.fs_products div.fs_product .woocommerce-loop-product__title,
.elementor-widget-woocommerce-products.elementor-wc-products div.fs_products div.fs_product .woocommerce-loop-category__title{font-weight:500 !important;}

/*@media screen and (max-width:767px) {
  .woocommerce div.fs_products div.fs_product > a { height:calc((((100vw - 40px) / 2) * 1.2749) + 55px); }
  .woocommerce div.fs_products div.fs_product > a .fs_images { height:calc(((100vw - 40px) / 2) * 1.2749);}
  body.term-shop .fs_row_total_sort { display: none;}
}*/

/* Plus util depuis 09/2024 (filtre en colonne à droite) */
@media screen and (max-width:1100px) {
  .woocommerce ul.products li.product > a { height:calc((((100vw - 32px - 60px) / 4) * 1.2749) + 55px); }
  .woocommerce ul.products li.product > a .fs_images { height:calc(((100vw - 32px - 60px) / 4) * 1.2749);}
}

@media screen and (max-width:1024px) {
  .woocommerce ul.products li.product > a { height:calc((((100vw - 32px - 40px) / 3) * 1.2749) + 55px); }
  .woocommerce ul.products li.product > a .fs_images { height:calc(((100vw - 32px - 40px) / 3) * 1.2749);}
}

@media screen and (max-width:767px) {
  .woocommerce ul.products li.product > a { height:calc((((100vw - 32px - 20px) / 2) * 1.2749) + 55px); }
  .woocommerce ul.products li.product > a .fs_images { height:calc(((100vw - 32px - 20px) / 2) * 1.2749);}
}

/* Archive product - 3 products */
/*.woocommerce div.fs_products.columns-3 div.fs_product > a { height:calc((((100vw - 32px - 200px - 40px) / 3) * 1.2749) + 55px); position: relative; }
.woocommerce div.fs_products.columns-3 div.fs_product > a .fs_images { width:100%; height:calc(((100vw - 32px - 200px - 40px) / 3) * 1.2749); position: relative;}
@media screen and (max-width:1100px) {
  .woocommerce div.fs_products.columns-3 div.fs_product > a { height:calc((((100vw - 32px - 40px) / 3) * 1.2749) + 55px); }
  .woocommerce div.fs_products.columns-3 div.fs_product > a .fs_images { height:calc(((100vw - 32px - 40px) / 3) * 1.2749);}
}
@media screen and (max-width:1024px) {
  .woocommerce div.fs_products.columns-3 div.fs_product > a { height:calc((((100vw - 32px - 40px) / 3) * 1.2749) + 55px); }
  .woocommerce div.fs_products.columns-3 div.fs_product > a .fs_images { height:calc(((100vw - 32px - 40px) / 3) * 1.2749);}
}
@media screen and (max-width:767px) {
  .woocommerce div.fs_products.columns-3 div.fs_product > a { height:calc((((100vw - 32px - 20px) / 2) * 1.2749) + 55px); }
  .woocommerce div.fs_products.columns-3 div.fs_product > a .fs_images { height:calc(((100vw - 32px - 20px) / 2) * 1.2749);}
}*/

/* ---------------- Image hover on Woocommerce archive ------------------------ */

/* Cas Collection Grand pièce : Image 2 (normal) > Image 1 (en hover) */
/*.woocommerce div.fs_products div.fs_product a .fs_images .image1 { visibility: hidden;opacity: 0;  transition: visibility 0s, opacity 0.3s linear; display:block;}
.woocommerce div.fs_products div.fs_product a .fs_images .image2 { visibility:visible;opacity: 1;  transition: visibility 0s, opacity 0.3s linear; display:block;background-size:cover;}
.woocommerce div.fs_products div.fs_product a:hover .fs_images .image1 { visibility: visible;opacity: 1;display:block;}
.woocommerce div.fs_products div.fs_product a:hover .fs_images .image2 { visibility: hidden;opacity: 0;display:block;}*/
.woocommerce div.fs_products div.fs_product a .fs_images .image2 { visibility: hidden;opacity: 0;  transition: visibility 0s, opacity 0.3s linear; display:block;background-size:cover;}
.woocommerce div.fs_products div.fs_product a .fs_images .image1 { visibility:visible;opacity: 1;  transition: visibility 0s, opacity 0.3s linear; display:block;}
.woocommerce div.fs_products div.fs_product a:hover .fs_images .image2 { visibility: visible;opacity: 1;display:block;}
.woocommerce div.fs_products div.fs_product a:hover .fs_images .image1 { visibility: hidden;opacity: 0;display:block;}

/* Cas Collection Echantillon : Image 1 zoomé (normal) > Image 2 (en hover) */
/*.woocommerce div.fs_products div.fs_product.product_cat-echantillons a .fs_images .image2 { display:block; background-size:250%;}
.woocommerce div.fs_products div.fs_product.product_cat-echantillons a .fs_images .image1 { display:none;}
.woocommerce div.fs_products div.fs_product.product_cat-echantillons a:hover .fs_images .image2 { display:none;}
.woocommerce div.fs_products div.fs_product.product_cat-echantillons a:hover .fs_images .image1 { display:block;background-size:contain;}*/
.woocommerce div.fs_products div.fs_product.product_cat-echantillons a .fs_images .image2 { visibility: hidden;opacity: 0;display:block;}
.woocommerce div.fs_products div.fs_product.product_cat-echantillons a .fs_images .image1 { visibility: visible;opacity: 1;display:block; background-size:110%;}
.woocommerce div.fs_products div.fs_product.product_cat-echantillons a:hover .fs_images .image2 { visibility:visible;opacity: 1;  transition: visibility 0s, opacity 0.3s linear; display:block; background-size:250%;}
.woocommerce div.fs_products div.fs_product.product_cat-echantillons a:hover .fs_images .image1 { visibility: hidden;opacity: 0;  transition: visibility 0s, opacity 0.3s linear; display:block; background-size:contain !important;}

/* Cas Collection Textures Hand-Tuft : */
.woocommerce div.fs_products div.fs_product.product_cat-textures-hand-tuft a .fs_images .image1 { visibility: visible;opacity: 1;display:block; background-size:140%;}

/* Cas Collection Textures Artisanales : */
.woocommerce div.fs_products div.fs_product.product_cat-textures-artisanales a .fs_images .image1 { visibility: visible;opacity: 1;display:block; background-size:105%;}


/* Agra */
.woocommerce div.fs_products div.fs_product.post-7372.product_cat-echantillons a:hover .fs_images .image1,
.woocommerce div.fs_products div.fs_product.post-7368.product_cat-echantillons a:hover .fs_images .image1,
.woocommerce div.fs_products div.fs_product.post-7364.product_cat-echantillons a:hover .fs_images .image1,
.woocommerce div.fs_products div.fs_product.post-7360.product_cat-echantillons a:hover .fs_images .image1,
.woocommerce div.fs_products div.fs_product.post-7357.product_cat-echantillons a:hover .fs_images .image1,
.woocommerce div.fs_products div.fs_product.post-7353.product_cat-echantillons a:hover .fs_images .image1 { display:block; background-size:100%;}

/* Tabriz */
.woocommerce div.fs_products div.fs_product.post-7380.product_cat-echantillons a:hover .fs_images .image1,
.woocommerce div.fs_products div.fs_product.post-7376.product_cat-echantillons a:hover .fs_images .image1 { display:block; background-size:140%;}

/* Ecorce - shop */
.woocommerce div.fs_products div.fs_product.post-8083.product_cat-shop a .fs_images .image1 { background-size:90%;}

/* Janack */
.woocommerce div.fs_products div.fs_product.post-7555 a .fs_images .image2,
.woocommerce div.fs_products div.fs_product.post-7562 a .fs_images .image2 { background-size:350%;}


/* Suesca */
/*.woocommerce div.fs_products div.fs_product.post-5990.product_cat-echantillons a:hover .fs_images .image2,
.woocommerce div.fs_products div.fs_product.post-5986.product_cat-echantillons a:hover .fs_images .image2,
.woocommerce div.fs_products div.fs_product.post-5982.product_cat-echantillons a:hover .fs_images .image2,
.woocommerce div.fs_products div.fs_product.post-5978.product_cat-echantillons a:hover .fs_images .image2 { display:block; background-size:120%}*/

/* Cas Shop : Image 2 (normal) > Image 1 (en hover) */
body.logged-in .woocommerce div.fs_products div.fs_product.product_cat-shop a .fs_images .image1 { visibility:visible;opacity: 1;  transition: visibility 0s, opacity 0.3s linear; display:block;background-size:contain;}
body.logged-in .woocommerce div.fs_products div.fs_product.product_cat-shop a .fs_images .image2 { visibility: hidden;opacity: 0;  transition: visibility 0s, opacity 0.3s linear; display:block;}
body.logged-in .woocommerce div.fs_products div.fs_product.product_cat-shop a:hover .fs_images .image1 { visibility: hidden;opacity: 0;display:block;}
body.logged-in .woocommerce div.fs_products div.fs_product.product_cat-shop a:hover .fs_images .image2 { visibility: visible;opacity: 1;display:block;}
/* Cas Shop (déconnecté) : Image 2 (normal) > Image 2 (en hover) */
body:not(.logged-in) .woocommerce div.fs_products div.fs_product.product_cat-shop a .fs_images .image1 { visibility:visible;opacity: 1;  transition: visibility 0s, opacity 0.3s linear; display:block;background-size:contain;}
body:not(.logged-in) .woocommerce div.fs_products div.fs_product.product_cat-shop a .fs_images .image2 { visibility: hidden;opacity: 0;  transition: visibility 0s, opacity 0.3s linear; display:block;}
body:not(.logged-in) .woocommerce div.fs_products div.fs_product.product_cat-shop a:hover .fs_images .image1 { visibility:visible;opacity: 1;  transition: visibility 0s, opacity 0.3s linear; display:block;background-size:contain;}
body:not(.logged-in) .woocommerce div.fs_products div.fs_product.product_cat-shop a:hover .fs_images .image2 { visibility: hidden;opacity: 0;  transition: visibility 0s, opacity 0.3s linear; display:block;}

/* Cas Tissus : Image 1 uniquement */
.woocommerce div.fs_products div.fs_product.product_cat-tissus a .fs_images .image1 { visibility:visible;opacity: 1;  transition: visibility 0s, opacity 0.3s linear; display:block;background-size:cover;}
.woocommerce div.fs_products div.fs_product.product_cat-tissus a .fs_images .image2 { visibility: hidden;opacity: 0;  transition: visibility 0s, opacity 0.3s linear; display:block;}
.woocommerce div.fs_products div.fs_product.product_cat-tissus a:hover .fs_images .image1 { visibility: visible;opacity: 1;display:block;background-size:cover;}
.woocommerce div.fs_products div.fs_product.product_cat-tissus a:hover .fs_images .image2 { visibility: hidden;opacity: 0;display:block;}

/* ---------------- /Image hover on Woocommerce archive ------------------------ */

/* ---------------- Image hover on Woocommerce archive  (ancienne version) ------------------------ */
.woocommerce ul.products li.product { position: relative; }
.woocommerce ul.products li.product > a { height:calc((((100vw - 32px - 200px - 60px) / 4) * 1.2749) + 55px); position: relative; }
.woocommerce ul.products li.product > a picture {  max-height: 100%;}
.woocommerce ul.products li.product > a h2 { position:absolute; bottom:16px; background-color: #fff; display: block; width:100%;}
.woocommerce ul.products li.product > a .collection { position:absolute; bottom:0px; background-color: #fff; display: block; width:100%; font-weight:500;}
.woocommerce ul.products li.product > a .fs_images { width:100%; height:calc(((100vw - 32px - 200px - 60px) / 4) * 1.2749); position: relative;}
.woocommerce ul.products li.product > a .fs_images > div { position: absolute; top:0; left:0; width:100%; height:100%; background-size:contain; background-position: center center; background-color: #fff; background-repeat: no-repeat; overflow: hidden;}
.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title,
.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{font-weight:500 !important;}

@media screen and (max-width:1100px) {
  .woocommerce ul.products li.product > a { height:calc((((100vw - 32px - 60px) / 4) * 1.2749) + 55px); }
  .woocommerce ul.products li.product > a .fs_images { height:calc(((100vw - 32px - 60px) / 4) * 1.2749);}
}

@media screen and (max-width:1024px) {
  .woocommerce ul.products li.product > a { height:calc((((100vw - 32px - 40px) / 3) * 1.2749) + 55px); }
  .woocommerce ul.products li.product > a .fs_images { height:calc(((100vw - 32px - 40px) / 3) * 1.2749);}
}

@media screen and (max-width:767px) {
  .woocommerce ul.products li.product > a { height:calc((((100vw - 32px - 20px) / 2) * 1.2749) + 55px); }
  .woocommerce ul.products li.product > a .fs_images { height:calc(((100vw - 32px - 20px) / 2) * 1.2749);}
}

/* Archive product - 3 products */
.woocommerce ul.products.columns-3 li.product > a { height:calc((((100vw - 32px - 200px - 40px) / 3) * 1.2749) + 55px); position: relative; }
.woocommerce ul.products.columns-3 li.product > a .fs_images { width:100%; height:calc(((100vw - 32px - 200px - 40px) / 3) * 1.2749); position: relative;}
@media screen and (max-width:1100px) {
  .woocommerce ul.products.columns-3 li.product > a { height:calc((((100vw - 32px - 40px) / 3) * 1.2749) + 55px); }
  .woocommerce ul.products.columns-3 li.product > a .fs_images { height:calc(((100vw - 32px - 40px) / 3) * 1.2749);}
}
@media screen and (max-width:1024px) {
  .woocommerce ul.products.columns-3 li.product > a { height:calc((((100vw - 32px - 40px) / 3) * 1.2749) + 55px); }
  .woocommerce ul.products.columns-3 li.product > a .fs_images { height:calc(((100vw - 32px - 40px) / 3) * 1.2749);}
}
@media screen and (max-width:767px) {
  .woocommerce ul.products.columns-3 li.product > a { height:calc((((100vw - 32px - 20px) / 2) * 1.2749) + 55px); }
  .woocommerce ul.products.columns-3 li.product > a .fs_images { height:calc(((100vw - 32px - 20px) / 2) * 1.2749);}
}

/* ---------------- Image hover on Woocommerce archive ------------------------ */

/* Cas Collection Grand pièce : Image 2 (normal) > Image 1 (en hover) */
/*.woocommerce ul.products li.product a .fs_images .image1 { visibility: hidden;opacity: 0;  transition: visibility 0s, opacity 0.3s linear; display:block;}
.woocommerce ul.products li.product a .fs_images .image2 { visibility:visible;opacity: 1;  transition: visibility 0s, opacity 0.3s linear; display:block;background-size:cover;}
.woocommerce ul.products li.product a:hover .fs_images .image1 { visibility: visible;opacity: 1;display:block;}
.woocommerce ul.products li.product a:hover .fs_images .image2 { visibility: hidden;opacity: 0;display:block;}*/
.woocommerce ul.products li.product a .fs_images .image2 { visibility: hidden;opacity: 0;  transition: visibility 0s, opacity 0.3s linear; display:block;background-size:cover;}
.woocommerce ul.products li.product a .fs_images .image1 { visibility:visible;opacity: 1;  transition: visibility 0s, opacity 0.3s linear; display:block;}
.woocommerce ul.products li.product a:hover .fs_images .image2 { visibility: visible;opacity: 1;display:block;}
.woocommerce ul.products li.product a:hover .fs_images .image1 { visibility: hidden;opacity: 0;display:block;}

/* Cas Collection Echantillon : Image 1 zoomé (normal) > Image 2 (en hover) */
/*.woocommerce ul.products li.product.product_cat-echantillons a .fs_images .image2 { display:block; background-size:250%;}
.woocommerce ul.products li.product.product_cat-echantillons a .fs_images .image1 { display:none;}
.woocommerce ul.products li.product.product_cat-echantillons a:hover .fs_images .image2 { display:none;}
.woocommerce ul.products li.product.product_cat-echantillons a:hover .fs_images .image1 { display:block;background-size:contain;}*/
.woocommerce ul.products li.product.product_cat-echantillons a .fs_images .image2 { visibility: hidden;opacity: 0;display:block;}
.woocommerce ul.products li.product.product_cat-echantillons a .fs_images .image1 { visibility: visible;opacity: 1;display:block; background-size:110%;}
.woocommerce ul.products li.product.product_cat-echantillons a:hover .fs_images .image2 { visibility:visible;opacity: 1;  transition: visibility 0s, opacity 0.3s linear; display:block; background-size:250%;}
.woocommerce ul.products li.product.product_cat-echantillons a:hover .fs_images .image1 { visibility: hidden;opacity: 0;  transition: visibility 0s, opacity 0.3s linear; display:block; background-size:contain !important;}

/* Cas Collection Textures Hand-Tuft : */
.woocommerce ul.products li.product.product_cat-textures-hand-tuft a .fs_images .image1 { visibility: visible;opacity: 1;display:block; background-size:140%;}

/* Cas Collection Textures Artisanales : */
.woocommerce ul.products li.product.product_cat-textures-artisanales a .fs_images .image1 { visibility: visible;opacity: 1;display:block; background-size:105%;}


/* Agra */
.woocommerce ul.products li.product.post-7372.product_cat-echantillons a:hover .fs_images .image1,
.woocommerce ul.products li.product.post-7368.product_cat-echantillons a:hover .fs_images .image1,
.woocommerce ul.products li.product.post-7364.product_cat-echantillons a:hover .fs_images .image1,
.woocommerce ul.products li.product.post-7360.product_cat-echantillons a:hover .fs_images .image1,
.woocommerce ul.products li.product.post-7357.product_cat-echantillons a:hover .fs_images .image1,
.woocommerce ul.products li.product.post-7353.product_cat-echantillons a:hover .fs_images .image1 { display:block; background-size:100%;}

/* Tabriz */
.woocommerce ul.products li.product.post-7380.product_cat-echantillons a:hover .fs_images .image1,
.woocommerce ul.products li.product.post-7376.product_cat-echantillons a:hover .fs_images .image1 { display:block; background-size:140%;}

/* Ecorce - shop */
.woocommerce ul.products li.product.post-8083.product_cat-shop a .fs_images .image1 { background-size:90%;}

/* Janack */
.woocommerce ul.products li.product.post-7555 a .fs_images .image2,
.woocommerce ul.products li.product.post-7562 a .fs_images .image2 { background-size:350%;}


/* Suesca */
/*.woocommerce ul.products li.product.post-5990.product_cat-echantillons a:hover .fs_images .image2,
.woocommerce ul.products li.product.post-5986.product_cat-echantillons a:hover .fs_images .image2,
.woocommerce ul.products li.product.post-5982.product_cat-echantillons a:hover .fs_images .image2,
.woocommerce ul.products li.product.post-5978.product_cat-echantillons a:hover .fs_images .image2 { display:block; background-size:120%}*/

/* Cas Shop : Image 2 (normal) > Image 1 (en hover) */
body.logged-in .woocommerce ul.products li.product.product_cat-shop a .fs_images .image1 { visibility:visible;opacity: 1;  transition: visibility 0s, opacity 0.3s linear; display:block;background-size:contain;}
body.logged-in .woocommerce ul.products li.product.product_cat-shop a .fs_images .image2 { visibility: hidden;opacity: 0;  transition: visibility 0s, opacity 0.3s linear; display:block;}
body.logged-in .woocommerce ul.products li.product.product_cat-shop a:hover .fs_images .image1 { visibility: hidden;opacity: 0;display:block;}
body.logged-in .woocommerce ul.products li.product.product_cat-shop a:hover .fs_images .image2 { visibility: visible;opacity: 1;display:block;}
/* Cas Shop (déconnecté) : Image 2 (normal) > Image 2 (en hover) */
body:not(.logged-in) .woocommerce ul.products li.product.product_cat-shop a .fs_images .image1 { visibility:visible;opacity: 1;  transition: visibility 0s, opacity 0.3s linear; display:block;background-size:contain;}
body:not(.logged-in) .woocommerce ul.products li.product.product_cat-shop a .fs_images .image2 { visibility: hidden;opacity: 0;  transition: visibility 0s, opacity 0.3s linear; display:block;}
body:not(.logged-in) .woocommerce ul.products li.product.product_cat-shop a:hover .fs_images .image1 { visibility:visible;opacity: 1;  transition: visibility 0s, opacity 0.3s linear; display:block;background-size:contain;}
body:not(.logged-in) .woocommerce ul.products li.product.product_cat-shop a:hover .fs_images .image2 { visibility: hidden;opacity: 0;  transition: visibility 0s, opacity 0.3s linear; display:block;}

/* Cas Tissus : Image 1 uniquement */
.woocommerce ul.products li.product.product_cat-tissus a .fs_images .image1 { visibility:visible;opacity: 1;  transition: visibility 0s, opacity 0.3s linear; display:block;background-size:cover;}
.woocommerce ul.products li.product.product_cat-tissus a .fs_images .image2 { visibility: hidden;opacity: 0;  transition: visibility 0s, opacity 0.3s linear; display:block;}
.woocommerce ul.products li.product.product_cat-tissus a:hover .fs_images .image1 { visibility: visible;opacity: 1;display:block;background-size:cover;}
.woocommerce ul.products li.product.product_cat-tissus a:hover .fs_images .image2 { visibility: hidden;opacity: 0;display:block;}

/* ---------------- /Image hover on Woocommerce archive (ancienne version) ------------------------ */

/* ---------------- Single des produits ------------------------ */
.woocommerce div.product div.images img{width:auto !important;display: -webkit-box;margin-left: auto;}
table.shop_attributes th{padding-left:0px !important;}
.elementor-popup-modal .dialog-close-button{width:35px; height:35px; background-image:url(images/croix.svg); background-position:center; background-size:30px 30px; background-repeat:no-repeat; cursor:pointer;}
.elementor-popup-modal .dialog-close-button .eicon-close{display:none;}
.elementor-location-popup input[type=date],
.elementor-location-popup input[type=email],
.elementor-location-popup input[type=number],
.elementor-location-popup input[type=password],
.elementor-location-popup input[type=search],
.elementor-location-popup input[type=tel],
.elementor-location-popup input[type=text],
.elementor-location-popup input[type=url],
.elementor-location-popup select,
.elementor-location-popup textarea{padding-left:0px; padding-right:0px;}
/*.elementor-field-group .elementor-select-wrapper{background-image:url(images/flechebas.svg); background-position:right 1px center; background-size:15px 15px; background-repeat:no-repeat; cursor:pointer;}*/
.elementor-field-group .elementor-select-wrapper:before{display:none;}
.elementor-location-popup .elementor-field-type-submit{margin-top:10px;}
.elementor-button:hover,
.elementor-button-link:hover,
.elementor-location-popup .elementor-field-type-submit button:hover{background-color:#f7f7f7 !important;}

/* ---------------- Wishlist ------------------------ */
body.page-id-1398 div.fs_products{display:grid; margin:0; grid-column-gap:20px; grid-row-gap:40px; --flex-direction:initial;
    --flex-wrap: initial;
    --justify-content: initial;
    --align-items: initial;
    --align-content: initial;
    --gap: initial;
    --flex-basis: initial;
    --flex-grow: initial;
    --flex-shrink: initial;
    --order: initial;
    --align-self: initial;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: var(--flex-direction);
    flex-direction: var(--flex-direction);
    -ms-flex-wrap: var(--flex-wrap);
    flex-wrap: var(--flex-wrap);
    -webkit-box-pack: var(--justify-content);
    -ms-flex-pack: var(--justify-content);
    justify-content: var(--justify-content);
    -webkit-box-align: var(--align-items);
    -ms-flex-align: var(--align-items);
    align-items: var(--align-items);
    -ms-flex-line-pack: var(--align-content);
    align-content: var(--align-content);
    gap: var(--gap);
    -ms-flex-preferred-size: var(--flex-basis);
    flex-basis: var(--flex-basis);
    -webkit-box-flex: var(--flex-grow);
    -ms-flex-positive: var(--flex-grow);
    flex-grow: var(--flex-grow);
    -ms-flex-negative: var(--flex-shrink);
    flex-shrink: var(--flex-shrink);
    -webkit-box-ordinal-group: var(--order);
    -ms-flex-order: var(--order);
    order: var(--order);
    -ms-flex-item-align: var(--align-self);
    align-self: var(--align-self);}
.woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce div.fs_products::after, .woocommerce div.fs_products::before{display:none;}
.woocommerce div.fs_products li{margin:0px !important; padding:0 !important; float:none !important; width:auto !important;}
.woocommerce div.fs_products div.fs_product a{display:block;}
/*.jet-checkboxes-list__row:hover { background-color:#fafafa;}*/
.jet-filters-pagination__item.jet-filters-pagination__current { font-weight: 600;}
.jet-filters-pagination__item:hover > div { text-decoration: underline;}
.elementor-products-nothing-found { text-align: center; padding:50px 0;}

div.fs_acc_content,
div.elementor-widget-jet-smart-filters-radio:not(.no_label) .jet-radio-list,
div.elementor-widget-jet-smart-filters-checkboxes:not(.no_label) .jet-checkboxes-list,
.jet-color-image-list {    display: none;}
.fs_acc_label {cursor:pointer;}
div.elementor-widget-jet-smart-filters-radio.no_label .jet-filter-label { display:none;}


/* Archives product > Filter > Tissus */
.jet-color-image-list-wrapper { max-width:170px;}
.elementor-666 .elementor-element.elementor-element-06df220 .jet-color-image-list__row { width:30%;}
.elementor-666 .elementor-element.elementor-element-06df220 .jet-filters-counter,
.elementor-666 .elementor-element.elementor-element-8330f32 .jet-filters-counter { padding-top:12px;}


body.parent-pageid-126 div.product div.images{ width:100%;}
body.parent-pageid-126 div.product div.summary,
body.parent-pageid-126 .woocommerce-tabs,
body.parent-pageid-126 .related.products{display:none;}
.fs_mt_mb_30{margin-top:30px; margin-bottom:67px;}
.fs_mb_30{margin-bottom:30px;}
.fs_custom_single_product .elementor-widget-wrap.fs_no_pad{padding:0px !important;}
.fs_custom_single_product .elementor-heading-title{font-family: "EuclidCircularA", Sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height:38px; clear:both;}
.fs_custom_single_product table.shop_attributes{margin-bottom: 1.618em;    border: 0;
    width: 100%;}
.fs_custom_single_product table.shop_attributes tr {
    border-bottom: 1px solid #000;
}
.fs_custom_single_product table.shop_attributes th {    background-color: #fff;
    border: 0;
    font-weight: 400;
    text-align: left;
    font-size: 16px;    width: 150px;
    padding: 8px; padding-left:0px;
    margin: 0;
    line-height: 1.5;
}
.fs_custom_single_product table.shop_attributes td {    background-color: #fff;
    border: 0;
    font-style: normal;
    font-size: 16px;    padding: 0;
    margin: 0;
    line-height: 1.5;
}
.fs_custom_single_product table.shop_attributes td p{
    margin: 0;
    padding: 8px 0;
}
.fs_jcfe{justify-content:flex-end;}
.fs_dlft .elementor-widget-wrap,
.fs_jcfe{padding-left:0px !important; padding-right:0px !important;}
.fs_dlft a,
.fs_jcfe a,
.fs_underline_link a{text-decoration:underline;}
.fs_w_auto{width:auto !important;}
.fs_custom_single_product .fs_custom_askinfo,
.fs_custom_single_product .fs_custom_askinfo:hover{font-family: "EuclidCircularA", Sans-serif;
    font-size: 16px;
    font-weight: 400 !important;
    text-decoration: none;
    fill: var( --e-global-color-primary );
    color: var( --e-global-color-primary );
    background-color: var( --e-global-color-b5f40a2 );
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var( --e-global-color-primary );
    border-radius: 100px 100px 100px 100px;
    padding: 5px 20px 5px 20px;}

body.page-id-1398 input#form-field-field_7818962,
body.page-id-909 input#form-field-field_7818962,
body:not(.page-id-1398,.page-id-909) input#form-field-field_596daf3{display:none;}
body.page-id-1398 div.fs_products li{margin:20px 10px !important;}

body.page-id-909 div.fs_products li{margin:20px 10px !important;}

.woocommerce-product-gallery__trigger { display:none;}


/* Footer */
.menu_footer_links a span{text-decoration:underline;}

@media (min-width: 1025px) {
  body.page-id-1398 div.fs_products{grid-template-columns:repeat(4,1fr);}
}
@media (max-width: 1100px) {
  .fs_gallery .gallery{margin:0px !important;}
}
@media (max-width: 767px) {
  .jet-sorting--flex-row{margin-bottom:50px;}
  body.page-id-1398 ul.products{grid-template-columns:repeat(2,1fr);}

  .woocommerce div.product div.images .flex-control-thumbs{top:15px !important; right:-24px !important;}
  .woocommerce .elementor-widget__width-auto.elementor-widget-shortcode{width:100%;}
  .woocommerce .elementor-widget-woocommerce-product-title .elementor-widget-container{margin-top:15px !important; margin-bottom:15px !important;}
  .fs_mt_mb_30{margin-top:15px; margin-bottom:45px;}
  .fs_jcfe{justify-content:flex-start;}
}
@media (max-width: 479px) {
  .fs_gallery .gallery .gallery-item{padding-right:0px !important;}
}

/* Réalisations */
body.tax-categorie_realisations .elementor-widget-archive-posts a { cursor:auto;}

.fs-no-banner #fs_row_miseenavant {
    display: none;
}

/* Single produit > Galerie custom */

/* Wrapper de la galerie */
.wcg-wrap { display: grid; gap: 100px; }

/* 1 image: grille 1 colonne */
.wcg-wrap.count-1 { grid-template-columns: 1fr; }

/* 2 ou 3 images: deux colonnes */
.wcg-wrap.count-2,
.wcg-wrap.count-3 { grid-template-columns: repeat(2, 1fr); }

/* 4+ images: deux colonnes par défaut (ajuste si besoin) */
.wcg-wrap.count-4plus { grid-template-columns: repeat(2, 1fr); }

.wcg-item { position: relative; }
.wcg-img { display: block; width: 100%; height: auto; }

/* Paysage = pleine largeur (prioritaire) */
.wcg-item.is-landscape { grid-column: 1 / -1; }

/* --- NOUVEAU : centrage à 50% --- */
/* Cas 1 seule photo */
.wcg-wrap.count-1 .wcg-item.center-half {
  width: 50%;
  justify-self: center; /* centre l'item dans la grille */
}

/* Cas 3 photos: la 3e (center-half) doit prendre la ligne entière,
   puis être centrée à 50% */
.wcg-wrap.count-3 .wcg-item.center-half {
  grid-column: 1 / -1;
  width: 50%;
  justify-self: center;
}

/* Centrage vertical et horizontal du contenu dans figure */
.wcg-item {
  display: flex;
  align-items: center;     /* centre verticalement */
  justify-content: center; /* centre horizontalement */
}

/* Pour éviter que les images débordent */
.wcg-item .wcg-img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* Optionnel: légende discrète */
.wcg-caption { font-size: 0.9rem; opacity: 0.75; margin-top: 6px; }

/* Petits écrans: 100% de largeur pour éviter une image trop petite */
@media (max-width: 768px) {
  .wcg-wrap.count-2,
  .wcg-wrap.count-3,
  .wcg-wrap.count-4plus { grid-template-columns: 1fr; }

  .wcg-wrap.count-1 .wcg-item.center-half,
  .wcg-wrap.count-3 .wcg-item.center-half {
    width: 100%;
  }
}
