/*
Theme Name: Elite Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.5.1769607358
Updated: 2026-01-28 08:35:58

*/

    body.elementor-page-295:not(.elementor-motion-effects-element-type-background), body.elementor-page-295 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-attachment: fixed !important;
    }


.hover-container {
  position: relative;
  overflow: hidden !important;
}

.bg-zoom {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
  z-index: 1;
}

.content-move {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  transition: all 0.35s ease;
  z-index: 2;
}

.mini-menu-hover {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s ease;
}

.hover-container:hover .content-move {
  bottom: -10px;
}

.hover-container:hover .mini-menu-hover {
  opacity: 1;
  transform: translateY(0);
}

.hover-container:hover .bg-zoom {
  transform: scale(1.05);
}


/* État Forcé par défaut (Haut de page) */
.nav-sticky {
    background-color: rgba(0,0,0,0) !important; /* Force la transparence */
    background-image: none !important; /* Enlève les dégradés si présents */
    transition: background-color 0.5s ease-in-out !important;
}

/* État Forcé au Scroll */
.nav-sticky.elementor-sticky--effects {
    background-color: #000000 !important; /* Devient noir */
}


.hide-overflow{
    overflow: hidden !important;
}

@media screen and (max-width: 1024px){
    .hide-list-text .elementor-icon-list-text{
        display: none;
    }
}

.margin-bottom-zero p{
    margin-bottom: 0px !important;
}


.elementor-13 .elementor-element.elementor-element-6ac4af5 .swiper-slide > .elementor-element{
    border-bottom: 5px solid #01A0DD !important;
}



/* On s'assure que le conteneur ne montre qu'une ligne */
.woocommerce-product-gallery--columns-4 .flex-control-thumbs {
    display: flex !important;
    overflow-x: auto; /* Permet le défilement horizontal si le JS ne charge pas */
    flex-wrap: nowrap !important;
    padding: 10px 0;
    scrollbar-width: none; /* Cache la barre sur Firefox */
}

.woocommerce-product-gallery--columns-4 .flex-control-thumbs::-webkit-scrollbar {
    display: none; /* Cache la barre sur Chrome/Safari */
}

.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
    flex: 0 0 33.33%; /* Affiche exactement 3 miniatures (100% / 3) */
    list-style: none;
}

.woocommerce-product-gallery--columns-4 .flex-control-thumbs li img {
    cursor: pointer;
    padding: 2px;
}




/* Espacement des champs */
#gform_wrapper_1 .gform_fields,
#gform_wrapper_2 .gform_fields,
#gform_wrapper_3 .gform_fields,
#gform_wrapper_4 .gform_fields {
    gap: 20px !important;
}

/* Style des champs (Bordure basse bleue) */
#gform_wrapper_1 :is(input[type="text"], input[type="email"], input[type="tel"], textarea),
#gform_wrapper_3 :is(input[type="text"], select, input[type="email"], input[type="tel"], textarea),
#gform_wrapper_4 :is(input[type="text"], input[type="email"], input[type="tel"], textarea) {
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 2px solid #00A0DD !important;
}

/* Cas particulier pour le #2 : pas de bordure du tout */
#gform_wrapper_2 :is(input[type="text"], input[type="email"], input[type="tel"], textarea) {
    border: none !important;
    border-radius: 0 !important;
    border-bottom: none !important;
}

/* Checkboxes pour le 1 et le 4 (si besoin sur le 4 aussi) */
#gform_wrapper_1 input[type="checkbox"],
#gform_wrapper_4 input[type="checkbox"] {
    border-radius: 0 !important;
    border: 1px solid #00A0DD !important;
}

/* Focus pour tous les formulaires */
#gform_wrapper_1 :is(input, textarea):focus,
#gform_wrapper_2 :is(input, textarea):focus,
#gform_wrapper_3 :is(input, select, textarea):focus,
#gform_wrapper_4 :is(input, textarea):focus {
    outline: 2px solid #000 !important;
}

/* Style des boutons Submit */
#gform_wrapper_1 input[type="submit"],
#gform_wrapper_2 input[type="submit"],
#gform_wrapper_3 input[type="submit"],
#gform_wrapper_4 input[type="submit"] {
    border: none !important;
    border-radius: 0 !important;
    background-color: #00A0DD !important;
    transition: box-shadow 0.3s ease-in-out !important;
    box-shadow: inset 0 0 0 transparent;
    font-family: "Plus Jakarta Sans" !important;
    font-weight: bold !important;
}

/* Hover des boutons Submit */
#gform_wrapper_1 input[type="submit"]:hover,
#gform_wrapper_2 input[type="submit"]:hover,
#gform_wrapper_3 input[type="submit"]:hover,
#gform_wrapper_4 input[type="submit"]:hover {
    box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset !important;
}


/*Distance pour les loop items*/

.loop-chariot-neuf .e-con-inner{
    justify-content: space-between !important;
}
.e-loop-item .loop-chariot-neuf{
    height: 100%;
}

.e-con.e-flex > .e-con-inner{

}
.neuf-cat-item.is-current-term > a {
    color: #01a0dd;
}
.neuf-cat-item.is-current-ancestor > a { font-weight: 700; }
.hrsplit {
	margin-top: 2em !important;
	margin-bottom: 1em !important;
	color: #00a0dd;
}
.neuf-filter-option {
	width: 100%;
}

.filterbutton {
	background-color: #009fdc;
	border: 0;
	/* border-radius: 3px; */
	color: #fff;
	display: inline-block;
	font-size: 1rem;
	font-weight: 400;
	padding: .5rem 1rem;
	text-align: center;
	transition: all .3s;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	white-space: nowrap;
	font-weight: bold;
}
.neuf-filter-clear
{

	background-color: #fff;
	border: 1px solid #009fdc;
	/* border-radius: 3px; */
	color: #009fdc;
	display: inline-block;
	font-size: 1rem;
	font-weight: 400;
	padding: .5rem 1rem;
	text-align: center;
	transition: all .3s;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	white-space: nowrap;
	font-weight: bold;
	float:right;

}
.swiper-slide .card{
    max-width: 400px !important;
}
.img-cote-gauche {
    margin-left: calc(50% - 50vw);
    width: calc(55vw) !important;
}

/* LES TEMPLATES... */
.container-neuf, .container-usages, .container-pieces { display: none !important; }
/* Forcer affichage dans Elementor Editor parce qu'on le perd ?%%$?% */
.elementor-editor-active .container-neuf,
.elementor-editor-active .container-usages,
.elementor-editor-active .container-pieces {
    display: flex !important;
}
body.template-neuf2 .container-neuf { display: flex !important; }
body.template-usages .container-usages { display: flex !important; }
body.template-pieces .container-pieces { display: flex !important; }

/* Container principal mega menu */
.mega-menu {
    padding: 40px 50px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* Supprimer les styles par défaut */
.neuf-cat-tree ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* === NIVEAU 1 EN GRILLE 3 COLONNES === */
.e-n-menu-content .neuf-cat-level-1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 40px;
}

/* Chaque bloc catégorie */
.neuf-cat-level-1 > .neuf-cat-item {
    padding-right: 10px;
}

/* ===== TITRES PRINCIPAUX ===== */
.neuf-cat-level-1 > .neuf-cat-item > .neuf-cat-link {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #0f2b3a;
    margin-bottom: 5px;
    text-decoration: none;
    position: relative;
    padding-left: 14px;
}

/* Barre verticale premium */
.neuf-cat-level-1 > .neuf-cat-item > .neuf-cat-link::before, .sidebar-cat .depth-2 > a.neuf-cat-link:before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: 18px;
    background: #01A0DD;
    border-radius: 2px;
}
.sidebar-cat .depth-2 > a.neuf-cat-link:before {
	top:7px;
	width: 3px;
}

/* Hover titre */
.neuf-cat-level-1 > .neuf-cat-item > .neuf-cat-link:hover {
    color: #01A0DD;
}

/* Compteur */
.neuf-cat-count {
    display: none;
}

/* ===== SOUS-CATEGORIES ===== */
.neuf-cat-level-2 {
    margin-top: 5px;
    padding-left: 13px !important;
}

/* Liens sous catégories */
.neuf-cat-level-2 .neuf-cat-link {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #4a5b66;
    padding: 6px 0;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Hover sous catégorie */
.neuf-cat-level-2 .neuf-cat-link:hover {
    color: #01A0DD;
    padding-left: 6px;
}

/* Supprimer compteur sur sous-catégories si tu veux */
.neuf-cat-level-2 .neuf-cat-count {
    display: none;
}
.e-n-menu-content.e-active {
    display: flex;
    align-items: center;
}
.sidebar-cat ul.neuf-cat-level.neuf-cat-level-3 {
    padding-left: 15px;
}
.sidebar-cat .depth-2 > a.neuf-cat-link {
    font-weight: 700;
    padding-left: 15px;
	position:relative;
}
.sidebar-cat li.neuf-cat-item .depth-2:not(:first-child) {
    padding-top: 15px;
    border-top: 1px solid #d2d1d17d;
    margin-top: 15px;
}
@media screen and (max-width:1200px){
    .elementor-widget-n-menu .e-n-menu[data-layout=dropdown] .e-n-menu-title:not(.e-current) .e-n-menu-title-container .e-n-menu-title-text {
        color: #1d1d1d !important;
    }
    ul.e-n-menu-heading li {
        margin-bottom: -1px !important;
    }
    .elementor-widget-n-menu .e-n-menu[data-layout=dropdown] .e-n-menu-title:not(.e-current) .e-n-menu-dropdown-icon svg {
        fill: black;
    }
}
@media screen and (max-width:992px){
    .e-n-menu-content .neuf-cat-level-1 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }
}

@media screen and (max-width:768px){
    .img-cote-gauche {
        margin-left: 0;
        width: 100% !important
    }
    .e-n-menu-content .neuf-cat-level-1 {
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }
}






/* 1. On cache les deux par défaut */
.card-neuf, .card-usager { 
    display: none !important; 
}

/* 2. SI c'est un usager, on affiche la carte noire */
/* Note : Assure-toi que c'est bien 'usages' avec un s */
.product_cat-usages .card-usager { 
    display: flex !important; 
    justify-content: space-between;
}

/* 3. POUR TOUS LES AUTRES (Le Neuf), on affiche la carte bleue */
/* On dit : si le parent n'a PAS la classe usager, montre le neuf */
.e-loop-item:not(.product_cat-usages) .card-neuf {
    display: flex !important;
    justify-content: space-between;
}