/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.1
 Text Domain:  woodmart
*/

/* Padding haut du bloc principal, uniquement sur la page boutique */
body.post-type-archive-product main#main-content {
	padding-top: 50px;
}

/* Bloc filtre par catégorie (sidebar boutique) : plus de hauteur, pas de scroll */
body.post-type-archive-product #wd-product-category-filter-3.wd-product-category-filter {
	min-height: 520px;
	max-height: none;
	overflow: visible;
}
body.post-type-archive-product #wd-product-category-filter-3 .wd-scroll-content,
body.post-type-archive-product #wd-product-category-filter-3.wd-widget-collapse .wd-scroll {
	max-height: none;
	overflow: visible;
}

/* Bouton panier header : garder le style WoodMart (au cas où un élément personnalisé l’a remplacé) */
.wd-header-cart.wd-tools-element > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s, background-color 0.2s;
}
.wd-header-cart.wd-tools-element > a:hover {
	border-color: rgba(0, 0, 0, 0.2);
	background-color: rgba(0, 0, 0, 0.03);
}
.wd-header-cart .wd-tools-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.wd-header-cart .wd-tools-text {
	white-space: nowrap;
	font-weight: 600;
}
/* Pour ouvrir le panier flottant, l’élément Cart du header doit avoir la position « Side » dans le Header Builder */
.wd-header-cart.cart-widget-opener {
	cursor: pointer;
}


/* ===== Home Elementor : corrections ===== */
/* 1) Supprime le bandeau blanc en haut (padding du wrapper de contenu sur la home) */
body.home .wd-content-layout.content-layout-wrapper { padding-top: 0 !important; }

/* 2) Aligne le contenu des 4 cartes « Nos Vins de Chablis » (titres en bas) */
body.home [data-id="ab1b89c"],
body.home [data-id="3d236e1"],
body.home [data-id="6d87be2"],
body.home [data-id="b678a2c"] { justify-content: flex-end !important; }
/* Repli robuste : enfants directs de la rangée de cartes */
body.home [data-id="df9d27e"] > .e-con.e-flex { justify-content: flex-end !important; }




/* CHABLIS-HOME-HDR */
html body.home header.elementor-location-header{
  position:absolute !important;
  top:0 !important; left:0 !important; right:0 !important;
  width:100% !important;
  z-index:10000 !important;
  background:transparent !important;
  background-color:transparent !important;
}
html body.home header.elementor-location-header .elementor-element-30965ab,
html body.home header.elementor-location-header .elementor-element-30965ab > .e-con-inner,
html body.home header.elementor-location-header .elementor-element-da0fa84,
html body.home header.elementor-location-header .elementor-element-7feec50{
  background:transparent !important;
  background-color:transparent !important;
}
html body.home header.elementor-location-header .elementor-nav-menu--main .elementor-item{
  color:#fff !important;
  text-shadow:0 1px 12px rgba(0,0,0,.65);
}
html body.home .main-page-wrapper,
html body.home #main-content,
html body.home .wd-content-layout{
  padding-top:0 !important;
  margin-top:0 !important;
}
/* CHABLIS-HOME-HDR-END */
