/* ================================
   GÉNÉRAL / HEADER
================================= */
.fafani-main {
    width: 100%;                   
    background: #fff;
    display: flex;
    justify-content: center;       
    font-family: 'Quicksand', sans-serif !important;
    padding: 0;
}

.f-header {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
    gap: 40px;
}

/* LOGO */
.f-logo-h {
    flex: 0 0 auto;
}

.f-logo-h img {
    height: 100px;
    width: auto;
}

/* Logo CartFlows checkout instant - conteneur et image pour éviter le flash */
.main-header--site-logo {
    height: 48px !important;
    overflow: hidden;
}
.main-header--site-logo img {
    height: 48px !important;
    width: auto !important;
}

/* MENU PRINCIPAL DESKTOP */
.f-nav-h {
    flex: 1;
    display: flex;
    justify-content: center;  
    align-items: center;
}

/* UL menu primary (ID WordPress) */
.f-nav-h ul#menu-primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;       /* horizontal */
    gap: 20px;
    text-transform: uppercase;
}

/* LI menu primary */
.f-nav-h ul#menu-primary-menu li {
    margin: 0;
}

/* LI a menu primary */
.f-nav-h ul#menu-primary-menu li a {
    text-decoration: none;
    color: #27ae60;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* MON COMPTE + PANIER DESKTOP */
.f-desktop-right {
    flex: 0 0 auto;
    display: flex;
    gap: 15px;
    align-items: center;
}

.f-desktop-right a,
.f-account-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    color: #27ae60;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.f-desktop-right a:hover,
.f-account-link:hover {
    color: #1e8449;
}

.f-user-icon {
    display: inline-block;
    color: #27ae60 !important;
    font-size: 24px;
    cursor: pointer;
    text-decoration: none !important;
    filter: invert(48%) sepia(79%) saturate(413%) hue-rotate(97deg) brightness(95%) contrast(92%);
}

/* HAMBURGER DESKTOP HIDDEN */
.f-hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* CACHE MOBILE RIGHT SUR DESKTOP */
.f-mobile-right {
    display: none;
}

/* ================================
   MOBILE RESPONSIVE
================================= */
@media (max-width: 991px) {
    /* Hamburger visible */
    .f-hamburger {
        display: block;
    }

    /* Menu desktop caché par défaut */
    .f-nav-h ul#menu-primary-menu {
        display: none;
        flex-direction: column;
        gap: 15px;
    }

    /* Menu mobile ouvert via .active */
    .f-nav-h.active ul#menu-primary-menu {
        display: flex;
    }

    /* Mon compte + panier desktop caché */
    .f-desktop-right {
        display: none;
    }

    /* Mon compte + panier mobile */
    .f-mobile-right {
        display: none; /* desktop : invisible */
        flex-direction: column;
        margin-top: 15px;
        gap: 10px;
    }

    /* Styles des liens dans le menu mobile */
    .f-mobile-right {
        display: flex; /* visible sur mobile */
        flex-direction: column;
        margin-top: 15px;
        gap: 15px;
        margin-left: 0px;
        margin-bottom: 0;
    }

    /* Liens mobiles ont la même police et style que desktop */
    .f-mobile-right li {
        list-style: none;
    }

    .f-mobile-right li a {
        text-decoration: none !important;
        color: #27ae60;
        font-weight: 600;
        font-size: 14px;
        letter-spacing: 0.5px;
        font-family: 'Quicksand', sans-serif !important;
        transition: 0.3s;
        display: block;
    }

    .f-mobile-right li a:hover {
        color: #1e8449;
    }

    /* Menu mobile container */
    .f-nav-h {
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        width: 250px;
        flex-direction: column;
        padding: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        display: none;
        z-index: 999;
    }

    .f-nav-h.active {
        display: flex;
    }

    .f-logo-h img {
      height: 60px;
      width: auto;
    }

    .main-header--site-logo {
      height: 48px !important;
      overflow: hidden;
    }
    .main-header--site-logo img {
      height: 48px !important;
      width: auto !important;
    }

    .f-foot-logo{
        width: 100%;
    }

    .f-foot-logo img{
        margin: 0 auto;
    }

    .f-foot-socials{
        margin: 0 auto;
    }
}

/* ================================
   RESTE DU CSS (Sections / Footer)
================================= */

/* NETTOYAGE RADICAL */
#secondary, .sidebar, footer, #colophon, .site-footer, .urban-jungle-image, 
.entry-header, .custom-header-image,
.edit-link, .post-edit-link { 
    display: none !important; 
}

html, body, #page, #content, .site-content, article { 
    background-color: #ffffff !important; 
}

/* Intro / Reassurance / Grid / Cards */
.f-intro-section { text-align: center; margin: 40px 0; }
.f-intro-section h1 { color: #27ae60; font-size: 32px; margin-bottom: 15px; font-weight: 700; }
.f-intro-section p { color: #666; font-size: 17px; max-width: 850px; margin: 0 auto 40px auto; line-height: 1.6; font-weight: 400; }

.f-reassurance { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 50px; }
.f-reassurance-item { flex: 1; background: #fdfdfd; padding: 25px 15px; border-radius: 15px; display: flex; flex-direction: column; align-items: center; text-align: center; border: 1px solid #eee; }
.f-reassurance-item img { height: 45px !important; width: auto; margin-bottom: 15px; }
.f-reassurance-item h3 { font-size: 15px; margin: 0; color: #333; font-weight: 700; text-transform: uppercase; }

.f-grid { display: flex; flex-wrap: wrap; gap: 20px; margin: 40px 0; justify-content: space-between; }
.f-card { border: 1px solid #eee; border-radius: 20px; text-align: center; padding: 15px; background: #fff; box-sizing: border-box; text-decoration: none !important; transition: 0.3s; color: inherit; }
.f-card:hover { border-color: #27ae60; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.f-card img { width: 100%; height: 250px; object-fit: contain; }
.f-card b { display: block; color: #27ae60; font-size: 18px; margin-top: 15px; font-weight: 700; }

.f-banner-mid { width: 100%; margin: 40px 0; border-radius: 20px; overflow: hidden; }
.f-banner-mid img { width: 100%; display: block; height: auto; }

/* FOOTER */
.fafani-global-footer {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto 0 auto !important;
    padding: 40px 20px !important;
    border-top: 1px solid #eee !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #fff !important;
    font-family: 'Quicksand', sans-serif !important;
    flex-wrap: wrap;
    gap: 30px;
}
.f-foot-logo img { height: 80px; width: auto; }
.f-foot-links { display: flex; gap: 20px; flex: 1; justify-content: center; }
.f-foot-links a { color: #27ae60; text-decoration: none; font-weight: 700; font-size: 14px; }
.f-foot-socials { display: flex; gap: 20px; justify-content: center; align-items: center; }
.f-foot-socials img { height: 30px !important; width: auto !important; display: inline-block !important; }
.f-copy { color: #aaa; font-size: 12px; width: 100%; text-align: center; margin-top: 20px; border-top: 1px solid #eee; padding-top: 20px; }

.f-foot-links {
    list-style: none; /* supprime les puces */

}


.f-foot-links li a {
    text-transform: uppercase; /* camel case sur le texte si voulu */
}

.storefront-sorting:first-child{
    display:none;
}

.woocommerce-ordering{
    display: none;
}

.woocommerce-result-count{
    display: none;
}

.woocommerce-pagination{
    float: inherit !important;
}

.hentry .entry-content a.button {
  text-decoration: none;
  background: #07802c;
  color: white !important;
  border-radius: 4px;
  font-weight: 600;
}

/* recherche block */

.search-submit, .single_add_to_cart_button, .product_type_variable, #wpforms-submit-8425  {
    padding: 12px 25px !important;
    background-color: #27ae60 !important;
    color: white !important;
    border: 0 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
}

.search-field, .aws-search-field{
    flex: 1 !important;
    padding: 12px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 14px !important;
}

/* grid produit et categorie poage acceuil */

.f-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.f-card {
    display: block;
    text-align: center;
    text-decoration: none;
}

.f-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 1024px) {
    .f-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* 📱 Mobile */
@media (max-width: 768px) {
    .f-grid {
        grid-template-columns: 1fr;
    }
}

.f-card {
    transition: transform 0.3s ease;
}

.f-card:hover {
    transform: translateY(-5px);
}

/* block reassurance */

.f-reassurance {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    margin: 40px 0;
}

.f-reassurance-item img {
    height: auto;
    margin-bottom: 10px;
}

.f-reassurance-item h3 {
    font-size: 16px;
    margin: 0;
}

/* 📱 Mobile */
@media (max-width: 768px) {
    .f-reassurance {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.f-reassurance-item {
    padding: 20px;
    border-radius: 12px;
    background: #f9f9f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.f-reassurance-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* page produits */

.type-product{
    border: 1px solid #eee;
    border-radius: 20px;
    overflow: hidden;
}


.type-product:hover{
  border-color: #27ae60;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* annuler les animation sur la page produits */
div.product-type-variable{
    border: 0;
}

div.product-type-variable:hover{
  border-color: none;
  box-shadow: initial;
}


.woocommerce-LoopProduct-link{
    padding-top: 5px;
}

.value{
    background-color: white !important;
}

td.value {
    text-align: center;
}

.cfvsw-swatches-container {
    width: 100% !important;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.single-product .cfvsw-swatches-container{
	justify-content: left;
}

/* Supprime uniquement le trait qui apparaît au clic */
/* Supprime le trait/focus sur la div CFVSW */
.cfvsw_variations_form.variations_form:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Facultatif : pour éviter que le focus apparaisse même si l'utilisateur clique dedans */
.woocommerce-LoopProduct-link:focus {
  outline: none;
}

.reset_variations{
    display: none !important;
}

h1.entry-title, #tab-additional_information > h2, .related > h2, .fourohfour-columns-2 > section > h2{
    color:#27ae60;
}

a, .green {
    color:#27ae60 !important;
}

.wpforms-submit-container{
    text-align: center;
}

#wpforms-8425-field_3 {
  resize: none;
}

.center{
    text-align: center;
}

#moderncart-slide-out .moderncart-slide-out-footer .moderncart-cart-total a.checkout-button {
  color: white !important;
}

.woocommerce-products-header > h1{
    color: #27ae60;
}

.search-field{
    width: 250px;
}

.f-search-wrapper .aws-container{
    display: none;
}

.aws-search-field{
	padding: .6180469716em;
	background-color: #f2f2f2;
	color: #43454b;
	border: 0;
	-webkit-appearance: none;
	box-sizing: border-box;
	font-weight: 400;
	box-shadow: inset 0 1px 1px rgba(0,0,0,.125);
}

.aws-container{
	padding-top: 27px;
}

.aws-container .aws-search-form .aws-form-btn {
	background: #27ae60;
	border: 1px solid #27ae60;
}

.aws-container .aws-search-form .aws-search-btn_icon {
  color: white;
}

.aws-container .aws-search-form .aws-form-btn:hover {
  background: #27ae60;
}

