.tata img {
  border-radius: 5px;
}

.markite-banner-shop {
    display: none !important;
}

.page__title  {
    display: none !important;
}
.entry-title  {
    display: none !important;
}

.product__proprietor-name > a {
     pointer-events: none;
    cursor: default;
}
.product__proprietor-name h5 a {
    pointer-events: none;
    cursor: default;
}
.product-action-box .d-block-block,
.product-action-box > a:not(:first-child) {
    display: none !important;
}

/* ==========================================================================
   1. FORCER L'AFFICHAGE EN 2 COLONNES SUR DESKTOP (Écrans larges)
   ========================================================================== */
@media (min-width: 992px) {
    /* On force le conteneur row à se comporter comme un Flexbox propre */
    .row > li.product-category.product {
        display: block !important;
        float: left !important;
        width: 48% !important; /* Presque la moitié de la largeur */
        margin-right: 4% !important; /* Espace entre les deux colonnes */
        margin-bottom: 30px !important;
        clear: none !important;
    }

    /* On supprime la marge de droite pour le deuxième élément de chaque ligne */
    .row > li.product-category.product:nth-child(2n) {
        margin-right: 0 !important;
    }

    /* On réinitialise l'alignement pour le premier élément de la ligne suivante */
    .row > li.product-category.product:nth-child(2n+1) {
        clear: both !important;
    }
}

/* ==========================================================================
   2. COMPORTEMENT SUR MOBILE (Maintien sur 1 colonne, centré)
   ========================================================================== */
@media (max-width: 991px) {
    .row > li.product-category.product {
        display: block !important;
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 25px !important;
    }
}

/* ==========================================================================
   3. RÉDUCTION DE LA TAILLE DES TITRES DE CATÉGORIES (Divisé par 2)
   ========================================================================== */
.product-category.product .woocommerce-loop-category__title {
    font-size: 100% !important; /* Réduit la taille actuelle de moitié */
    line-height: 1.3 !important;
    margin-top: 15px !important;
    text-align: center !important; /* Aligne proprement le titre sous l'image */
}

/* Optionnel : Si le thème utilise une taille fixe en pixels (ex: 24px) 
   et que le 50% ne s'applique pas bien, utilisez cette alternative :
.product-category.product .woocommerce-loop-category__title {
    font-size: 14px !important; 
}
*/

/* Assurer un affichage propre des liens et des images au sein de la grille */
.product-category.product a {
    display: block !important;
    text-decoration: none !important;
}

.product-category.product img {
    margin: 0 auto !important; /* Centre l'image si elle est plus petite */
}


/* Masquer sur mobile (largeur ≤ 768px) */
@media (max-width: 768px) {
    .hidemobile {
        display: none !important;
    }
}

/* Masquer sur desktop (largeur ≥ 769px) */
@media (min-width: 769px) {
    .hidedesktop {
        display: none !important;
    }
}
.product__price{
        display: none !important;
    }
    
    .product__prorietor-info .woocommerce-Price-amount {
    display: none !important;
}


.sidebar__banner {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    position: relative !important;
}

.sidebar__banner-title {
    display: none !important;
}

.sidebar__banner .m-btn-white {
    position: absolute !important;
    bottom: 10px !important;
    left: 10px !important;
    width: calc(100% - 20px) !important;
}

////SIMPLE CSSS ///
/* Correction du centrage des images pour Elementor */
.elementor .elementor-widget-image figure,
.elementor .elementor-widget:not(.elementor-widget-text-editor) figure.aligncenter {
    margin-left: auto !important;
    margin-right: auto !important;
}

.elementor-widget-image .elementor-image img,
.elementor-widget-image img {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

/* Cache l'image search-box.jpg uniquement */
.hero__search-thumb > img:first-child {
    visibility: hidden;
    display: block !important;
    position: relative;
    z-index: 0;
}

/* L'iframe se superpose exactement sur l'image */
.hero__search-thumb iframe.yt-replace {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    z-index: 1;
    pointer-events: none;
}

/* Tous les éléments flottants passent au dessus */
.hero__search-thumb .hero-search-sm,
.hero__search-thumb form,
.hero__search-thumb .hero__search-shape,
.hero__search-thumb .hero__search-input,
.hero__search-thumb .hero__search-input-2 {
    position: relative;
    z-index: 10 !important;
}

/* Remonte les éléments flottants sous la vidéo - mobile */
@media (max-width: 767px) {
    .hero__search-thumb .hero__search-shape {
        margin-top: -80px;
    }
    .hero__client {
        margin-top: -50px;
    }
}

/* Desktop - on garde ce qui marche */
@media (min-width: 768px) {
    .hero__search-thumb .hero__search-shape {
        margin-top: -50px;
    }
    .hero__client {
        margin-top: -30px;
    }
}

/* Remonte légèrement sur desktop */
@media (min-width: 768px) {
    .hero__search-thumb .hero__search-shape {
        margin-top: -50px;
    }
    .hero__client {
        margin-top: -30px;
    }
}


/* Réduit la hauteur de la section hero sur mobile */
@media (max-width: 767px) {
    .hero__area.hero__height-2 {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 30px !important;
    }
}

@media (max-width: 767px) {
    .hero__area.hero__height-2 {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 30px !important;
    }
    
    /* Remonte le bloc Featured pour coller à la section hero */
   @media (max-width: 767px) {
    .elementor-element-13e9383 {
        margin-top: -80px !important;
    }
}
  div.hero__search-input.hero__search-input-2 {
    display: none !important;
}
    .hero__search-box .hero__search-thumb form {
    display: none !important;
}

.hero__search-box .hero__search-thumb form * {
    display: none !important;
}
   .hero__search-box form,
.hero__search-box .hero__search-input,
.hero__search-box .hero__search-input-2,
.hero__search-box input[type="search"],
.hero__search-box span i.far.fa-search {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

//// FORMULAIRE DE CONTACT



