/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
/* Huntley - formulaire questions produits : contenu entier visible. */
/* Première bannière : style Elementor original restauré. */
/* Ajustements uniquement sur mobile. */
@media(max-width:767px){
 body.home .elementor-element-d09c8630 {background-position:left top !important;}
 body.home .huntley-trustbar .huntley-trustbar__grid {grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:16px 8px !important;}
 body.home .huntley-trustbar .huntley-trustbar__item:last-child {grid-column:auto !important;}
 body.home .huntley-trustbar .huntley-trustbar__icon :is(img,svg) {width:42px !important;height:42px !important;object-fit:contain;}
 body.home .huntley-trustbar .huntley-trustbar__item h3 {font-size:12px !important;line-height:1.3;overflow-wrap:break-word;}
 body.home .huntley-trustbar .huntley-trustbar__item p {font-size:11px !important;line-height:1.3;}
 body.home .huntley-trustbar .huntley-trustbar__grid {grid-template-columns:repeat(6,minmax(0,1fr)) !important;gap:14px 4px !important;}
 body.home .huntley-trustbar .huntley-trustbar__item {display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:flex-start !important;grid-column:span 2 !important;border:0 !important;padding:4px !important;gap:4px !important;text-align:center !important;}
 body.home .huntley-trustbar .huntley-trustbar__item:nth-child(4){grid-column:2 / span 2 !important;}
 body.home .huntley-trustbar .huntley-trustbar__item:nth-child(5){grid-column:4 / span 2 !important;}
 body.home .huntley-trustbar .huntley-trustbar__icon {width:44px !important;height:44px !important;min-width:0 !important;margin:0 auto !important;display:flex !important;align-items:center;justify-content:center;}
 body.home .huntley-trustbar .huntley-trustbar__icon :is(img,svg){width:36px !important;height:36px !important;max-width:36px !important;}
 body.home .huntley-trustbar .huntley-trustbar__item :is(h3,p){margin:0 !important;text-align:center !important;}
 body.home #slide-27345 .wd-slide-bg {background-position: right center !important;}
 body.home #slide-27345 .wd-slide-bg img {object-position:right center !important;}
 body.home #slide-27345 .elementor-element-e33faa0 .wd-text-block {font-size:29px !important;max-width:190px !important;}
 body.home #slide-27345 .wd-btn-text {font-size:11px !important;}
 body.home #slide-27345 .wd-button-wrapper .btn {padding:10px 12px !important;}
 body.home #slider-73 .wd-slider-arrows {display:none !important;}
 body.home #slide-27354 .wd-slide-bg {background-position:left center !important;}
 body.home #slide-27354 .wd-slide-bg img {object-position:left center !important;}
 body.home #slide-27354 .wd-slide-container {--wd-justify-content:right;}
 body.home #slide-27354 .wd-slide-inner {max-width:190px !important;}
 body.home #slide-27354 .elementor-element-e33faa0 .wd-text-block {font-size:29px !important;max-width:190px !important;}
 body.home #slide-27363 .wd-slide-bg {background-position:right center !important;}
 body.home #slide-27363 .wd-slide-bg img {object-position:right center !important;}
 body.home #slide-27363 .elementor-element-e33faa0 .wd-text-block {font-size:29px !important;max-width:190px !important;}
 body.home #slider-73 :is(#slide-27354,#slide-27363) .wd-btn-text {font-size:11px !important;}
 body.home #slider-73 :is(#slide-27354,#slide-27363) .wd-button-wrapper .btn {padding:10px 12px !important;}
}

@media(max-width:767px){
 body.home .elementor-element-681da9ca .elementor-element-08e1ce20 {width:calc(100vw - 4px)!important;max-width:none!important;align-self:center!important;margin-inline:0!important;padding-inline:0!important;}
 body.home .elementor-element-08e1ce20 > .elementor-widget-container,body.home .elementor-element-08e1ce20 .wd-cats-element{padding:0!important;margin:0!important;}
 body.home .elementor-element-08e1ce20 .wd-cats{--wd-gap:3px!important;--wd-gap-sm:3px!important;--wd-gap-lg:3px!important;column-gap:3px!important;row-gap:3px!important;}
 body.home .elementor-element-a373d88c{width:calc(100vw - 4px)!important;max-width:none!important;align-self:center!important;}
 body.home .elementor-element-c21a384c{overflow:visible!important;}
 body.home .elementor-element-08e1ce20 .wd-cats{--wd-gap-sm:4px!important;--wd-gap-lg:4px!important;gap:4px!important;}
 body.home .elementor-element-c21a384c{--padding-left:5px!important;--padding-right:5px!important;padding-inline:5px!important;}
}
@media(max-width:767px){
 body.home .elementor-1038 :is(.elementor-element-681da9ca,.elementor-element-a701ed16,.elementor-element-c21a384c){--padding-left:0px!important;--padding-right:0px!important;padding-inline:0!important;}
 body.home .elementor-1038 :is(.elementor-element-681da9ca,.elementor-element-a701ed16) > .e-con-inner{padding-inline:0!important;max-width:100%!important;width:100%!important;}
 body.home .elementor-1038 :is(.elementor-element-08e1ce20,.elementor-element-8e3627b4,.elementor-element-a373d88c){width:calc(100vw - 4px)!important;max-width:none!important;margin-left:calc((100% - 100vw + 4px)/2)!important;margin-right:0!important;padding:0!important;align-self:flex-start!important;}
 body.home .elementor-1038 :is(.elementor-element-08e1ce20,.elementor-element-8e3627b4) :is(.wd-cats,.wd-products,.elements-grid){--wd-gap-lg:3px!important;--wd-gap-sm:3px!important;--wd-gap:3px!important;gap:3px!important;}
}
/* Finitions mobiles Huntley */
@media(max-width:767px){
 body.home .elementor-1038 .elementor-element-a373d88c{margin-left:calc((100% - 100vw + 4px)/2)!important;width:calc(100vw - 4px)!important;--width:calc(100vw - 4px)!important;}
 body.home .elementor-1038 .elementor-element-08e1ce20 .wd-cats{--wd-gap-sm:2px!important;--wd-gap-lg:2px!important;gap:2px!important;}
 body.home .elementor-1038 .elementor-element-8e3627b4 :is(.wd-products,.elements-grid){column-gap:2px!important;row-gap:12px!important;}
}
/* Rendu ordinateur précédemment validé */
@media(min-width:1025px){
 body.home .elementor-1038 .elementor-element-c21a384c{width:101.276%!important;--width:101.276%!important;max-width:none!important;--padding-left:0px!important;--padding-right:0px!important;padding-inline:0!important;margin-inline:0!important;}
 body.home .elementor-1038 .elementor-element-c21a384c > .e-con-inner{padding-inline:0!important;max-width:none!important;width:100%!important;}
 body.home .elementor-1038 .elementor-element-a373d88c{width:100%!important;--width:100%!important;max-width:100%!important;margin-inline:0!important;padding-inline:0!important;}
 body.home .elementor-1038 .elementor-element-08e1ce20 :is(.wd-cats,.elements-grid,.wd-grid-g){--wd-gap:2px!important;--wd-gap-lg:2px!important;--wd-gap-sm:2px!important;gap:2px!important;}
 body.home .elementor-1038 .elementor-element-8e3627b4 :is(.wd-products,.elements-grid,.wd-grid-g){--wd-gap:2px!important;--wd-gap-lg:2px!important;column-gap:2px!important;row-gap:6px!important;}
 body.home .elementor-1038 .elementor-element-a373d88c :is(.wd-carousel,.wd-carousel-inner){--wd-gap:2px!important;--wd-gap-lg:2px!important;}
 body.home .elementor-1038 .elementor-element-d09c8630{width:101.276%!important;--width:101.276%!important;max-width:none!important;margin-inline:0!important;}
}
@media(max-width:767px){
 body.home .elementor-1038 .elementor-element-d09c8630{width:100vw!important;--width:100vw!important;max-width:none!important;margin-left:calc((100% - 100vw)/2)!important;margin-right:0!important;}
}
/* Masquage réversible de la galerie Instagram sur l'accueil */
body.home .elementor-1038 :is(.elementor-element-b194e1fd,.elementor-element-8d08f6b7){display:none!important;}
/* Quatre bannières : même séparation que les catégories, largeur conservée */
@media(min-width:1025px){
 body.home .elementor-1038 .elementor-element-a373d88c :is(.wd-carousel,.wd-carousel-inner,.wd-carousel-wrap){--wd-gap:1px!important;--wd-gap-lg:1px!important;column-gap:1px!important;}
}
/* Espacement maximalement réduit sur ordinateur */
@media(min-width:1025px){
 body.home .elementor-1038 .elementor-element-08e1ce20 :is(.wd-cats,.elements-grid,.wd-grid-g){--wd-gap:1px!important;--wd-gap-lg:1px!important;--wd-gap-sm:1px!important;gap:1px!important;}
 body.home .elementor-1038 .elementor-element-8e3627b4 :is(.wd-products,.elements-grid,.wd-grid-g){--wd-gap:1px!important;--wd-gap-lg:1px!important;column-gap:1px!important;row-gap:4px!important;}
}
/* Bord à bord mobile, sans marge latérale */
@media(max-width:767px){
 body.home .elementor-1038 :is(.elementor-element-08e1ce20,.elementor-element-8e3627b4,.elementor-element-a373d88c){width:100vw!important;--width:100vw!important;max-width:none!important;margin-left:calc((100% - 100vw)/2)!important;margin-right:0!important;padding-inline:0!important;}
}
/* Huntley : adaptation des visuels de la page d'accueil aux petits écrans. */
@media(max-width:767px){
 body.home .elementor-1038 :is(.elementor-element-33e341e2,.elementor-element-c21a384c,.elementor-element-a373d88c){max-width:100% !important;width:100% !important;--width:100%;}
 body.home .elementor-element-a373d88c .banner-image img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;display:block;}
 body.home .elementor-element-08e1ce20 .wd-cat-thumb img{width:100%;height:auto;display:block;}
 body.home .elementor-element-8e3627b4 .wd-product-thumb img{width:100%;aspect-ratio:2/3;object-fit:contain;display:block;}
 body.home .elementor-element-0b3d1afc{--flex-direction:column !important;flex-direction:column !important;}
 body.home .elementor-element-0b3d1afc :is(.elementor-element-a67c3a1a,.elementor-element-1b3a0db8){--width:100% !important;width:100% !important;max-width:100% !important;}
 body.home .elementor-element-ae0fccd7 .wd-insta-item img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;object-position:center;display:block;}
}
/* Dernieres finitions bord a bord mobile */
@media(max-width:767px){
 body.home .elementor-1038 .elementor-element-d09c8630,
 body.home .elementor-1038 .elementor-element-a373d88c{box-sizing:border-box!important;width:100vw!important;--width:100vw!important;max-width:none!important;min-width:100vw!important;align-self:center!important;margin-left:0!important;margin-right:0!important;}
 body.home .elementor-1038 .elementor-element-a373d88c > .elementor-widget-container{padding-inline:0!important;margin-inline:0!important;}
 body.home .elementor-1038 .elementor-element-a373d88c .banner-image img{width:100%!important;aspect-ratio:4/3;object-fit:cover;}
}
/* Bouton inscription de la page d'accueil : texte noir sur fond doré. */
body.home .elementor-element-136b4a6b a.wd-open-popup,
body.home .elementor-element-136b4a6b a.wd-open-popup .wd-btn-text {
  color: #000000 !important;
}
body.home .elementor-element-136b4a6b a.wd-open-popup {
  background-color: #BEA163 !important;
}
/* Huntley : bandeaux de catalogue panoramiques, sans recadrage vertical. */
body.post-type-archive-product .wd-page-title,
body.tax-product_cat .wd-page-title {
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 3 / 1;
  position: relative;
  background-position: center center !important;
  background-size: 100% 100% !important;
}
body.post-type-archive-product .wd-page-title-bg,
body.tax-product_cat .wd-page-title-bg {
  background-size: 100% 100% !important;
  background-position: center center !important;
}
@media (max-width: 767px) {
  body.post-type-archive-product .wd-page-title,
  body.tax-product_cat .wd-page-title { aspect-ratio: 3 / 1; }
}

.single-product .huntley-product-question textarea {
    min-height: 105px;
    height: 115px;
    resize: vertical;
}
.single-product .wd-accordion-item:has(.huntley-product-question) .wd-accordion-content,
.single-product .wd-accordion-item:has(.huntley-product-question) .wd-accordion-content-inner,
.single-product .wd-accordion-item:has(.huntley-product-question) .wd-scroll-content {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
}
.single-product .huntley-product-question .wpcf7-form p {
    margin-bottom: 12px;
}
.single-product .huntley-product-question .wpcf7-acceptance {
    display: block;
    margin: 10px 0 14px;
}

