/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

h1, h3, h4 h5, h3 a, h4 a, h4 a, li a {
	color: #6f9a8f;
}

h3 a:hover, h4 a:hover, h4 a:hover, li a:hover {
	color: #304540 !important;
}

body {
	color: #919191 !important;
}

div.button_show {
	background : #6f9a8f !important;
}

div.button_show:hover {
	background : #304540 !important;
}

div.button_show a {
	color : #fffffd !important;
}

/* ---------- ----------------------------------------------------------------HEADER NAV ------------- */
#header .header-nav {
	background: #6f9b8f !important;
}
.header-nav .dropdown .expand-more, .header-nav a {
   color: #fffffd !important;
}

#header .header-top, #header .header-top .container {
	background: #fffffd !important;
}
#_desktop_cart_ft span.cart-products-count {
	color: #fffffd !important;
}


/* ------------------------------------------------------------------------------ MEGA MENU -------------- */
#header_menu.fieldmegamenu-sticky {
	background: #fffffd !important;
}
#fieldmegamenu-main.fieldmegamenu > ul > li .root-item .title {
	color : #6f9b8f !important;
}
#fieldmegamenu-main.fieldmegamenu > ul > li .root-item .title :hover {
	color : #304540 !important;
}
#header_menu .fieldmegamenu .menu-items {
	background: #fffffd !important;
}
#header_menu .fieldmegamenu .menu-items li .category {
	color : #6f9b8f !important;
}
#header .fieldmegamenu .menu-item.depth-1 > .title a{
	color: #6f9b8f !important;
}
#header .fieldmegamenu .menu-item.depth-1 > .title a:hover, .fieldmegamenu .submenu .title:hover a{
    color: #304540 !important;
}
#fieldmegamenu-main ul.submenu-depth-2 li .title a {
	color : #6f9b8f !important;
}
#fieldmegamenu-main ul.submenu-depth-2 li .title a:hover {
	color : #304540 !important;
}

#fieldmegamenu-mobile {
    background: #fffffd !important;
}
#header_mobile_menu {
	background: #6f9b8f !important;
}


/* -------------------------------------------------------------------------------- SLIDESHOW -------- */
.large-slide-title, .big-slide-title {
	color: #6f9b8f !important;
}
.box-slider .small-slide-title p {
	color: #bacfc9 !important;
	
}
/*--------------------------------------------------------------------------------- ONE CATE MODULE ----------------*/

/* Cible le .block_fullwidth uniquement s'il contient #onecate_products_block */
.block_fullwidth.fieldFullWidth.block:has(> .container > #onecate_products_block) {
    background: 
       linear-gradient(90deg, rgba(111, 155, 143, 0.9) 15%, rgba(213, 226, 222, 0.3) 70%, rgba(213, 226, 222, 0) 100%),
       url('../../../../img/cms/cactus-home.jpg') !important;	
    background-size: cover !important;     
    background-position: center !important; 
    background-repeat: no-repeat !important;   
}

.pro-des-info h5 {
    color: #fffffd !important;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}


/*--------------------------------------------------------------------------------- MODULES DE ACCUEIL -----------------*/

p.sub_title {
	color: #6f9b8f !important;
}

h4.title_block {
	color: #6f9b8f !important;
}

/* ---------------------------------------------------------------------------------- FIELTHEME HTML BLOCK ---------- */

.hover_banner .content_banner { 
	color: #6f9b8f !important;
    text-shadow: 0 1px 1px rgba(255, 255, 253, 0.5);
}
.content_banner p.cross { 
	background-color: #6f9b8f !important;
    box-shadow: 0 1px 1px rgba(255, 255, 253, 0.5);
}


.block_fullwidth.fieldFullWidth {
background: #6f9b8f !important;
}

       /* banniere numero 9*/

.hover-banner-top .hover_banner a::before {	
	border-bottom: 1px solid #fffffd !important;
	border-top: 1px solid #fffffd !important;  
}

.hover-banner-top .hover_banner a::after {	
	border-color: #fffffd !important;
}

/* Style pour le conteneur d'image avec texte superposé */
#bannerCasa2 .re_hover.position-relative {
  position: relative;
  overflow: hidden;
  border-radius: 5px; /* Optionnel pour arrondir les coins */
}

/* Overlay pour le texte - TOUJOURS VISIBLE */
#bannerCasa2 .image-text-overlay.visible-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 15%, rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0.3) 100%);
  color: #fff;
  padding: 25px 20px 25px 40px; /* Padding-left accentué (40px) */
  display: flex;
  align-items: center;
  box-sizing: border-box;
  opacity: 1; /* Toujours visible */
  transition: all 0.3s ease;
}

/* Effet au survol pour améliorer la lisibilité */
#bannerCasa2 .image-text-overlay.visible-overlay:hover {
  background: rgba(0, 0, 0, 0.85);
  padding-left: 45px; /* Légère augmentation au survol */
}

/* Contenu du texte */
#bannerCasa2 .overlay-content {
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  max-height: 100%;
  overflow-y: auto;
  padding-right: 15px;
  font-weight: 300;
  letter-spacing: 0.3px;
}

/* Style pour les liens forts dans le texte */
#bannerCasa2 .overlay-content strong {
  font-weight: 500;
  color: #f8f9fa;
  font-size: 15px;
  display: block;
  margin-top: 10px;
  padding-left: 10px;
  border-left: 3px solid #28a745; /* Accent vert pour le texte fort */
}

/* Custom scrollbar pour le texte */
#bannerCasa2 .overlay-content::-webkit-scrollbar {
  width: 6px;
}

#bannerCasa2 .overlay-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
}

#bannerCasa2 .overlay-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments avec padding-left adaptatif */
@media (max-width: 1199px) {
  #bannerCasa2 .overlay-content {
    font-size: 12px;
  }
  
  #bannerCasa2 .image-text-overlay.visible-overlay {
    padding: 20px 15px 20px 35px;
  }
}

@media (max-width: 991px) {
 #bannerCasa2  .overlay-content {
    font-size: 8px;
  }
  
  #bannerCasa2 .image-text-overlay.visible-overlay {
    padding: 18px 12px 18px 30px;
  }
  
 #bannerCasa2  .overlay-content strong {
    font-size: 9px;
    padding-left: 8px;
  }
}

@media (max-width: 767px) {
  #bannerCasa2 .overlay-content {
    font-size: 11px;
    line-height: 1.5;
  }
  
 #bannerCasa2  .image-text-overlay.visible-overlay {
    padding: 15px 10px 15px 25px;
  }
  
  #bannerCasa2 .overlay-content strong {
    font-size: 12px;
    padding-left: 5px;
    border-left-width: 2px;
  }
}

@media (max-width: 575px) {
 #bannerCasa2  .overlay-content {
    font-size: 11px;
    line-height: 1.3;
  }
  
 #bannerCasa2  .image-text-overlay.visible-overlay {
    padding: 12px 8px 12px 20px;
    background: rgba(0, 0, 0, 0.85); /* Plus opaque sur mobile */
  }
  
  #bannerCasa2 .overlay-content strong {
    font-size: 11px;
  }
}

/* ------------------------------------------------------------------- FIELDTHEME PS_EMAILSUBSCRIPTION ---------- */

@media (max-width: 767.98px) {
    .newsletter-form-wrapper .d-flex {
        flex-wrap: wrap !important;
    }
    
    .newsletter-form-wrapper .input-wrapper {
        min-width: 100% !important;
        margin-bottom: 10px;
    }
    
    .newsletter-form-wrapper .title_newsletter h4 {
        font-size: 1.1rem;
        text-align: center;
    }
}

/* Pour les très petits écrans */
@media (max-width: 575.98px) {
    .newsletter-form-wrapper .d-flex {
        flex-direction: column;
    }
    
    .newsletter-form-wrapper .input-wrapper,
    .newsletter-form-wrapper .button-newletter {
        width: 100% !important;
    }
    
    .newsletter-form-wrapper .button-newletter {
        margin-top: 5px;
    }
}

/*------------------------------------------------------------------------------------------------ FOOTER ------------------*/

.block_footer_main {
    background:  linear-gradient(90deg, rgba(0, 0, 0, 0.7) 15%, rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0.3) 100%),
    #6f9b8f !important;

}

.ft_bottom p > a {
	color: #84a99f !important;
}
.ft_bottom p > a:hover {
	color: #bacfc9 !important;
}

.footer-center {
  box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

#footer .title-top h3.title_block, #footer .title-top h4.title_block {
	color: #fffffd !important;
}

#footer_contact li .text { 
	color: #fffffd !important;
}

/*------------------------------------------------------------------------------------------------  CATEGORIE --------------*/

.right-product .product_name a {
    color: #6f9b8f !important;
}

ul.category-sub-menu li a {
	color: #6f9b8f !important;
}

/* Style pour le lien actif */
.active-subcategory, .active-category {
   color: #304540 !important;
   font-weight: 700 !important;
}

.price {
	color: #6f9b8f !important;
}

.click-product-list-grid > div {
   color: #6f9b8f !important;
}
.products-selection .sort-by {
   color: #6f9b8f !important;
}

.products-selection, .block-categories, .pagination { 
	background: #fffffd !important;
}

body[id*="category"] #wrapper .breadcrumb li a {
  color: #fffffd !important;
  text-shadow: none !important;
}
body[id*="category"] #wrapper .breadcrumb li::after {
  color: #fffffd !important;
  text-shadow: none !important;
}
body[id*="category"] .breadcrumb li:last-child a span {
  color: #fffffd !important;
  text-shadow: none !important;
  font-size: 1.8em !important;
}
/*------------------------------------------------------------------------------------------------ PRODUIT ------------------*/

#wrapper .breadcrumb li a, #wrapper .breadcrumb li::after {
 color: #6f9b8f !important;
 text-shadow: 0 1px 1px rgba(255, 255, 253, 0.5);
}



#product h1.h1[itemprop="name"] {
	color : #6f9b8f !important;
}

div.product-description .product_name[itemprop="name"] a {
	color : #6f9b8f !important;
}

div.product-description .product_name[itemprop="name"] a:hover {
	color: #304540 !important;
}

div.product-description span.price {
	color : #6f9b8f !important;
}

div.product-description div.comments_note div.star_content div.star {
	color : #6f9b8f !important;
}

div.star::after {
	color : #6f9b8f !important;
}

.products-selection { 
	background: #fffffd !important;
}


/* Pour les écrans au-dessus de 990px uniquement */
@media (min-width: 991px) {
    body[id*="product"] .bn-top.fieldFullWidth,
    body.product .bn-top.fieldFullWidth {
        height: 100px !important;
        min-height: 60px !important;
    }
}

body[id*="product"] #wrapper .breadcrumb li a {
  line-height: 30px;
  font-size: 1em !important;
  text-transform: none !important;
}

.tabs .tab-content {
	background: #fffffd !important;
}