/*
Theme Name:   Hello Elementor Child
Theme URI:    https://elementor.com/hello-theme/
Description:  Thème enfant vide pour Hello Elementor.
Author:       Arnaud
Author URI:   https://elementor.com/
Template:     hello-elementor
Version:      1.0.0
Text Domain:  hello-elementor-child
*/

:root {
    --couleur-6: #FFF2DA;
    --couleur-2: #F4C994;
    --couleur-1: #DEAD72;
    --couleur-3: #5B3A2A;
    --couleur-4: #441B0D;
    --couleur-5: #C38841;
    --couleur-7: #8CC73F;
    --couleur-8: #008D36;
}

.lien-blog-fixed {
    position: fixed;
    top: 177px;
    right: 0;
    border-radius: 103px 0 0 103px;
    background: #8CC73F;
    width: 112px;
    z-index: 7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'laca';
    text-transform: uppercase;
    color: white;
    font-weight: 500;
    height: 80px;
    transition: all .45s;

}

.lien-blog-fixed img {
    transition: all .45s;
}

.lien-blog-fixed:hover img {
    transform: rotate(20deg);
    transition: all .45s;
}

.lien-blog-fixed:hover {
    background: #008D36;
    color: #FFFFFF;
    transition: all .45s;

}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    width: 1105px;
    max-width: 90%;
    margin: 0 auto 30px;
    background-color: #FFF8F1 !important;
    border: none !important;
    border-radius: 20px;
    color: #000;
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
    color: #8CC73F;
}

.return-to-shop {
    margin-top: 20px;
}

.woocommerce-info a.button,
.woocommerce-error a.button,
.woocommerce-message a.button,
.return-to-shop a.button.wc-backward {
    border: 2px solid #8CC73F !important;
    border-radius: var(--cart-radius) !important;
    background: #8CC73F !important;
    color: white !important;
    padding: 8px 22px !important;
    font-weight: 400 !important;
    font-size: 16px;
    letter-spacing: 0.4px;
    cursor: pointer;
    white-space: nowrap;
    font-family: "laca", Sans-serif !important;
    transition: background 0.2s ease, color 0.2s ease;
    text-transform: uppercase;

}

.woocommerce-info a.button:hover,
.woocommerce-error a.button:hover,
.woocommerce-message a.button:hover,
.return-to-shop a.button.wc-backward:hover {
    background: #008D36 !important;
    color: #FFFFFF !important;
    border-color: #008D36 !important;
}

.added_to_cart.wc-forward {
    display: none !important;
}


/*
.woocommerce-form-login .mdg-login-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;  
    gap: 1rem;
}
*/

/*
.mdg-login-actions .woocommerce-form-login__submit {
    order: 1;
    margin: 0;
}

.mdg-login-actions .mdg-lost-link {
    order: 2;
}
*/

/*
.mdg-login-actions .woocommerce-form-login__rememberme {
    order: 3;
    flex-basis: 100%;  
    margin: 0;
}
*/

.woocommerce-cart .coupon .coupon-error-notice {
    margin-left: 1rem;
}

.nomarge p:last-child {
    margin-bottom: 0;
}

.finlay-home {
    color: #DEAD72;
    font-family: "finlay";
    font-size: 21px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
}

.laca-home {
    color: #C38841;
    font-family: "laca", Sans-serif;
    font-size: 19px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    /* 94.737% */
    text-transform: uppercase;
}

.d-flex {
    display: flex;
}

.col {
    flex-direction: column;
}

.finlay {
    font-family: "finlay";
}

.laca {
    font-family: "laca", Sans-serif;
}

.fz16 {
    font-size: 16px;
}

.finlay.title {
    color: #DEAF76;
    font-size: 52px;
    font-style: normal;
    font-weight: 400;
    line-height: 52px;
}

.laca.title {
    color: #C38841;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
    text-transform: uppercase;
}

.align-center {
    align-items: center;
}

.box-price {
    display: flex;
    gap: 15px;
}

.box-price .old-price {
    color: #DEAF76;
    font-family: "laca", Sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    text-decoration: line-through;
}

.box-price .price {
    color: #000;
    font-family: "laca", Sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    /* 90% */
}

.mdg-deco {
    position: relative;
    width: 100%;
    max-width: 1097px;
    aspect-ratio: 1097 / 725;
}

.mdg-deco__pack {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 1. Règle générique : on passe la transition en 'all' pour animer position et taille au retour */
.mdg-deco img:not(.mdg-deco__pack) {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    transition: all .45s cubic-bezier(.34, 1.56, .64, 1);
}

.mdg-deco img.mdg-deco__badge {
    z-index: 3;
}

.mdg-deco__leaf {
    top: 2%;
    left: 5%;
    transform-origin: 70% 30%;
}

.mdg-deco:hover .mdg-deco__leaf {
    transform: translate(-10px, -15px) rotate(12deg);
}

/* 2. Coeur : la transition 'all' de la règle générale s'applique désormais au retour */
.mdg-deco__heart {
    top: 50%;
    left: 50%;
    width: 0;
    transform-origin: 50% 100%;
}

.mdg-deco:hover .mdg-deco__heart {
    transform: translateY(-40px) rotate(-10deg);
    width: 50px;
    top: 3%;
    left: 37%;
}

/* 3. Fouet : suppression des 'transition:' en doublon ici pour garder une cohérence globale */
.mdg-deco__whisk {
    bottom: 20%;
    left: 50%;
    width: 0px;
    transform-origin: 0% 0%;
}

.mdg-deco:hover .mdg-deco__whisk {
    transform: translate(-14px, 16px) rotate(-9deg);
    width: 168px;
    bottom: 6%;
    left: 1%;
}

.mdg-deco__spatula {
    bottom: 5%;
    right: -7%;
    width: 260px;
    transform-origin: 0% 60%;
}

.mdg-deco:hover .mdg-deco__spatula {
    transform: rotate(14deg);
}

.finlay.light-title {
    color: #FFF2DA;
    font-family: "finlay";
    font-size: 43px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    text-align: left;
}

.laca.light-title {
    color: #F4C994;
    font-family: "laca", Sans-serif;
    font-size: 39px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    text-transform: uppercase;
}

.mdg-deco__badge {
    top: -14%;
    right: 0%;
    width: 124px;
    z-index: 3;
}

.mdg-deco:hover .mdg-deco__badge {
    transform: translate(50px, 0) rotate(20deg);
}

.mdg-papier {
    container-type: inline-size;
    width: 100%;
    /* max-width: 420px; */
    margin-inline: auto;
}

.mdg-deco-fouet {
    position: absolute;
    bottom: 15px;
    left: -10px;
    width: 160px;
}

.mdg-papier__sheet {
    aspect-ratio: 17/14;
    background: url("https://5ey9lj.n0c.world/wp-content/uploads/2026/09/background-papier.webp") no-repeat center / 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mdg-papier__inner {
    width: 100%;
    padding: 60px 94px 60px;
    text-align: center;
    /* aligne le texte sur l'inclinaison de la feuille */
}

/* ---- Titre : une seule h2, deux polices ---- */
.mdg-papier__title {
    margin: 0 0 3.5cqw;
    line-height: 1;
}

.mdg-papier__title-script {
    display: block;
    font-family: "finlay";
    color: #DEAD72;
    font-size: 43px;
    font-style: normal;
    font-weight: 400;
}

.mdg-papier__title-strong {
    display: block;
    font-family: "laca", Sans-serif;
    font-weight: 700;
    font-size: 39px;
    text-transform: uppercase;
    color: #C38841;
}

/* ---- Paragraphe ---- */
.mdg-papier__text {
    margin: 0;
    font-family: "laca", Sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    color: #441B0D;
}

.gourmandise-container {
    width: 877.131px;
    height: 578.198px;
    padding: 170px 100px;
    aspect-ratio: 223/147;
    background: url("https://5ey9lj.n0c.world/wp-content/uploads/2026/09/gourmandise.webp") no-repeat center / 100% 100%;
}

.finlay.title-gourmandise {
    color: var(--couleur-1);
    font-family: "finlay";
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 43px;
}

.laca.title-gourmandise {
    color: var(--couleur-3);
    font-family: "laca", Sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    text-transform: uppercase;
}

.gourmandise-txt {
    color: var(--couleur-4);
    font-family: "laca", Sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    width: 443px;
    margin: 50px 0;
}

.gourmandise-btn {
    background-color: #8CC73F;
    font-family: "laca", Sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-radius: 59px 59px 59px 59px;
    padding: 9px 25px 9px 25px;
    transition: all .3s;
}

.gourmandise-btn:hover {
    color: #ffffff;
    background-color: #008D36;
    transition: all .3s;
}

.entreprise-abso {
    position: absolute;
    top: 20px;
    right: 0;
}

.relative {
    position: relative;
}

.entreprise-abso .pastille {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.entreprise-abso .equipe {
    margin-top: 50px;
    width: 400px;
}

.entreprise-abso .amande {
    position: absolute;
    bottom: 0;
    right: 10px;
}

.entreprise-abso .eclat {
    position: absolute;
    bottom: 125px;
    right: -10px;
}

.entreprise-abso:hover img,
.entreprise-abso img {
    transition: all .45s cubic-bezier(.34, 1.56, .64, 1);
}

.entreprise-abso:hover .pastille {
    transform: scale(1.15) rotate(-3deg);
}

.entreprise-abso:hover .equipe {
    transform: rotate(3deg);
}

.entreprise-abso:hover .amande {
    transform: translate(10px, 0px) rotate(-3deg);
}

.entreprise-abso:hover .eclat {
    transform: translate(30px, -40px) rotate(3deg);
}

.finlay.title-boucle {
    color: var(--couleur-1);
    font-family: "finlay";
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 43px;
    margin: 0;
}

.title-boucle.align-center {
  text-align: center;
}

.laca.title-boucle {
    color: var(--couleur-5);
    font-family: "laca", Sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    text-transform: uppercase;
}

.laca.title-boucle.fz32 {
    font-size: 32px;
}

.elementor-64389 .elementor-element.elementor-element-c78bb62>.e-n-accordion>.e-n-accordion-item>.e-n-accordion-item-title[aria-expanded="true"] {
    border-width: 0px;
}

.elementor-64389 .elementor-element.elementor-element-c78bb62>.e-n-accordion>.e-n-accordion-item>.e-n-accordion-item-title .e-n-accordion-item-title-header {
    max-width: 365px;
}

.recette-slider .recette-card {
    width: 354px;
    height: 504px;
}

.recette-slider .recette-card .recette-card__image {
    height: 100%;
    background-size: cover;
    background-position: center center;
    border-radius: 11px;

}

.recette-slider .recette-card .recette-card__image .recette-card__overlay {
    position: absolute;
    bottom: 0;
    height: 293px;
    width: 100%;
    border-radius: 0px 0px 11px 11px;
    background: linear-gradient(180deg, rgba(99, 56, 20, 0.00) 0%, #492A1A 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.recette-slider .recette-card .recette-card__image .recette-card__overlay .recette-card__title {
    color: #FFF2DA;
    font-family: "laca", Sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-transform: uppercase;
    padding: 0 40px 40px 40px;
    margin: 0;
}

/* Container de navigation aligné sur la grille de 1106px */
.recette-slider-container .recette-slider-nav {
    max-width: 1106px;
    width: 100%;
    margin-top: 24px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    /* Marge de sécurité mobile */
    padding-right: 20px;
    /* Alignement sur le bord droit du container */
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    box-sizing: border-box;
}

/* Style des boutons prev/next */
.recette-slider-nav .swiper-button-prev-custom,
.recette-slider-nav .swiper-button-next-custom {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #DEAF76;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

/* Couleur de la flèche SVG */
.recette-slider-nav .swiper-button-prev-custom svg,
.recette-slider-nav .swiper-button-next-custom svg {
    color: #FFFFFF;
    /* Modifie la couleur de la flèche si besoin */
}

/* Hover & état désactivé */
.recette-slider-nav .swiper-button-prev-custom:hover,
.recette-slider-nav .swiper-button-next-custom:hover {
    background-color: #c99862;
}

.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.review-slider {
    /* zone de respiration pour l'ombre (haut / droite / bas / gauche) */
    padding: 5px 15px 70px 15px !important;
    /* 70px en bas = place pour la pagination */
    margin: -5px -15px 0 -5px;
    /* compense pour garder l'alignement */
}

.review-slider .review-card {
    position: relative;
    isolation: isolate;
    /* garde le ::before derrière le contenu sans passer sous le slider */
    height: 381px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 22px 35px;
    font-family: "laca", sans-serif;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
}

/* Le papier : fond + ombre, seul élément tourné */
.review-slider .review-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url('https://5ey9lj.n0c.world/wp-content/uploads/2026/09/fond-avis.webp') no-repeat center / cover;
    box-shadow: 5px 5px 7.6px 0 rgba(123, 75, 25, 0.25);
    transform: rotate(0.815deg);
}

/* Une carte sur deux dans l'autre sens */
.review-slider .review-card.is-tilt-right::before {
    transform: rotate(-0.889deg);
}

.review-stars svg.is-on {
    fill: #FFBF00;
}

.review-content,
.review-name {
    color: #441B0D;
    font-family: "laca", sans-serif;
    text-align: center;
    font-size: 16px;
    line-height: 18px;
    font-weight: 400;
}

.review-content {
    margin-top: 10px;
}

.review-name {
    margin-top: 4px
}

.review-heart {
    margin-top: auto
}

.review-slider .swiper-pagination {
    bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.review-slider .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    margin: 0 !important;
    /* annule la marge par défaut de Swiper, l'espacement est géré par le gap */
    background: #DEAF76;
    opacity: 1;
    /* Swiper met 0.2 par défaut sur les bullets inactifs */
    transition: background-color .3s ease;
}

.review-slider .swiper-pagination-bullet-active {
    background: #8D5A30;
}


.finlay.title-review {
    color: var(--couleur-1);
    font-family: "finlay";
    font-size: 52px;
    font-style: normal;
    font-weight: 400;
    line-height: 43px;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.laca.title-review {
    color: var(--couleur-5);
    font-family: "laca", Sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    text-transform: uppercase;
}

.slider-medias .swiper-slide.slider-medias__item {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 0 30px;
}

.slider-medias .swiper-wrapper {
    transition-timing-function: linear !important;
}

.slider-medias__item>a {
    display: flex;
    align-items: center;
    height: 100%;
}

.slider-medias__item img {
    display: block;
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.product-loop-categories {
    display: flex;
    justify-content: center;
}

.product-loop-categories a {
    color: #DEAF76;
    text-align: center;
    font-family: "Finlay";
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}

.facetwp-facet-charger_plus {
    margin: 40px auto 0;

}

.facetwp-facet-charger_plus button {
    border-radius: 59px;
    background: #8CC73F;
    font-family: "laca", Sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    border:1px solid #8CC73F;
    text-transform: uppercase;
}

.facetwp-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 0 !important;
    background: none !important;
    color: #000;
    font-family: "laca", Sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 20px !important;
}

/* La case vide */
.facetwp-checkbox::before {
    content: "";
    flex-shrink: 0;
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    border: 1px solid #000;
    border-radius: 3px;
}

/* La case cochée : carré gris avec une marge blanche */
.facetwp-checkbox.checked::before {
    background: #757575;
    box-shadow: inset 0 0 0 1px #fff;
}

.facetwp-facet-recherche .facetwp-icon {
    left: 0;
    right: auto;
}

.facetwp-facet-recherche .facetwp-icon:before {
    background: url("https://5ey9lj.n0c.world/wp-content/uploads/2026/09/loupe.svg") no-repeat;
    background-position: 16px 50%;
    background-size: 20px 20px;
    width: 40px
}

input[type="text"].facetwp-search {
    border-radius: 51px;
    border: 1px solid var(--couleur-7);
    padding-left: 45px;
    color: var(--couleur-7);
    font-family: "laca", Sans-serif;
    font-size: 16px;
    font-weight: 400
}

input[type="text"].facetwp-search:focus,
input[type="text"].facetwp-search:target {
    outline: none;
    border: 1px solid var(--couleur-8);
}

input[type="text"].facetwp-search::placeholder {
    color: var(--couleur-7);
    font-family: "laca", Sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.cs-sort-item {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
    font-family: "laca", Sans-serif;
    font-size: 16px;
    color: #000000;
    font-style: normal;
    font-weight: 400;
}

.cs-sort-box {
    position: relative;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    border: 1px solid #000;
    border-radius: 3px;
}

.cs-sort-item.is-checked .cs-sort-box::after {
    content: "";
    position: absolute;
    inset: 1px;
    background: #757575;
    /* à caler sur la couleur du titre "TRI :" */
    border-radius: 0px;
}

.cs-sort-item:focus-visible {
    outline: 2px solid #757575;
    outline-offset: 2px;
}

.elementor-64367 .elementor-element.elementor-element-efce1de>.e-n-menu>.e-n-menu-wrapper>.e-n-menu-heading>.e-n-menu-item>.e-n-menu-title#e-n-menu-title-2511 {
    background: #8CC73F;
    padding: 5px 30px 5px 45px;
    color: #fff;
    border-radius: 59px;
    transition: all ease-in-out 0.3s;

}

.elementor-64367 .elementor-element.elementor-element-efce1de>.e-n-menu>.e-n-menu-wrapper>.e-n-menu-heading>.e-n-menu-item>.e-n-menu-title#e-n-menu-title-2511:hover {
    background: #008D36;
    transition: all ease-in-out 0.3s;

}

.elementor-64367 .elementor-element.elementor-element-efce1de>.e-n-menu>.e-n-menu-wrapper>.e-n-menu-heading>.e-n-menu-item>.e-n-menu-title#e-n-menu-title-2511 .e-n-menu-title-text {
    color: #fff;
}

a.facetwp-page {
    color: #8CC73F !important;
    opacity: 0.5;
    font-family: "laca", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-right: 20px;
}

a.facetwp-page.active {
    color: #8CC73F;
    opacity: 1;
}

.container-header-drop-shadow:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    filter: drop-shadow(4px 1px 10px rgba(122, 105, 91, 0.32));
    /* On s'assure que l'ombre reste sous le contenu du conteneur */
    z-index: -1;
    /* Optionnel : recopie le fond du conteneur si nécessaire pour que l'ombre se découpe bien */
    background: inherit;
    border-radius: inherit;
}

.custom-product-slider-container {
    max-width: 100%;
    margin: 0 auto;
}

/* Slider Principal */
.product-main-swiper {
    width: 100%;
    margin-bottom: 20px;
}

.container-img-product {
    display: flex;
    justify-content: center;
}

.product-main-swiper .swiper-slide img.main-slide-img {
    width: 100%;
    max-width: 364px;
    height: 507px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

/* Slider des Miniatures (Nav) */
.product-thumb-swiper {
    width: 100%;
    box-sizing: border-box;
}

.product-thumb-swiper .swiper-slide {
    cursor: pointer;
}


.product-thumb-swiper .swiper-slide img.thumb-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.swiper-button-next.custom::after,
.swiper-button-prev.custom::after {
    content: "";
    width: 20px;
    height: 20px;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.product-thumb-swiper .swiper-wrapper {
    padding-top: 30px;
}

.swiper-button-next.custom::after {
    background-image: url('https://5ey9lj.n0c.world/wp-content/themes/hello-elementor-child/assets/icons/slider-next-green.svg');
}

.swiper-button-prev.custom::after {
    background-image: url('https://5ey9lj.n0c.world/wp-content/themes/hello-elementor-child/assets/icons/slider-prev-green.svg');
}

.product-single-categories a {
    color: #DEAF76;
    text-align: center;
    font-family: "Finlay";
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
}

.mdg-single__pictos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 0 40px;
}

.mdg-single__picto {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    width: 92px;
    text-align: center;
}

.mdg-single__picto-icon {
    display: grid;
    place-items: center;
    width: 47px;
    height: 47px;
}

.mdg-single__picto-label {
    font-size: 12px;
    font-weight: 500;
    color: #000000;
    font-family: "laca", Sans-serif;
    line-height: 13px;
    letter-spacing: 0.36px;
    text-transform: uppercase;
}

.mdg-single__picto-icon img {
    height: 100%;
    object-fit: contain;
}

.mdg-card-img.mdg-card-img--produit {
    aspect-ratio: 3 / 4;
    margin-bottom: 0;
    border-radius: 11px;
    background: #FFF4EA;
}

.mdg-card-img--produit .mdg-card-img__main {
    object-fit: contain;
    padding: 12% 15%;
    mix-blend-mode: multiply;
}

.e-con:has(> .elementor-widget-shortcode .mdg-card-img),
.elementor-widget-shortcode:has(.mdg-card-img) {
    width: 100%;
    align-self: stretch;
}

.elementor-add-to-cart--layout-auto .quantity {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid#8CC73F !important;
    border-radius: 126px !important;
    overflow: hidden;
    background: #fff;
    height: 32px;

}

.elementor-add-to-cart--layout-auto .quantity input.qty,
.elementor-add-to-cart--layout-auto .quantity input.qty:focus,
.elementor-add-to-cart--layout-auto .quantity input.qty:active,
.elementor-add-to-cart--layout-auto .quantity input.qty:focus-visible {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    width: 2.5em;
    padding: 0;
}

/* Chrome, Safari, Edge */
.elementor-add-to-cart--layout-auto .quantity input[type="number"].qty::-webkit-inner-spin-button,
.elementor-add-to-cart--layout-auto .quantity input[type="number"].qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.elementor-add-to-cart--layout-auto .quantity input[type="number"].qty {
    -moz-appearance: textfield;
    appearance: textfield;
}

.elementor-add-to-cart--layout-auto .quantity button.cs-qty-btn {
    border-radius: 0 !important;
    border: none !important;
    padding: 0 8px !important;
    color: #000000 !important;
    font-family: "laca", Sans-serif !important;
    background: transparent !important;
}

.elementor-add-to-cart--layout-auto .single_add_to_cart_button.button.alt {
    height: 32px !important;
}

.elementor-add-to-cart--layout-auto .quantity button.cs-qty-btn:hover {
    background: transparent !important;
}

.elementor-add-to-cart--layout-auto .quantity button.cs-qty-btn.cs-qty-btn--plus {
    margin-inline-start: 0 !important;
}

.elementor-65034 .elementor-element.elementor-element-1b4f381>.e-n-accordion>.e-n-accordion-item:first-child>.e-n-accordion-item-title {
    border-top: 2px solid #8CC73F;
}

.elementor-65034 .elementor-element.elementor-element-1b4f381>.e-n-accordion>.e-n-accordion-item:last-child>.e-n-accordion-item-title {
    border-bottom: 2px solid #8CC73F;
}

.elementor-65034 .elementor-element.elementor-element-1b4f381>.e-n-accordion>.e-n-accordion-item>.e-n-accordion-item-title[aria-expanded="true"] {
    border-bottom: 0px solid #8CC73F;
}

.elementor-element-e06fa2a .recette-slider-nav {
    display: none;
}

/*qui sommes nous*/
.custom-text {
    color: #DEAD72;
    text-align: center;
    font-family: "Laca", Sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 57px;
    /* 158.333% */
    text-transform: uppercase;
}

.color-5 {
    color: #C38841;
}

.elementor-element-96a2d9a .facetwp-facet {
    margin-bottom: 20px;
}

.elementor-181 .elementor-element.elementor-element-a59826a>.e-n-accordion>.e-n-accordion-item:last-child>.e-n-accordion-item-title {
    border-bottom: 0;
}

/*single recette*/
.custom-recette-slider-container {
    max-width: 100%;
    margin: 0 auto;
}

/* Slider Principal */
.recette-main-swiper {
    width: 100%;
    margin-bottom: 20px;
}

.container-img-recette {
    display: flex;
    justify-content: center;
}

.recette-main-swiper .swiper-slide img.main-slide-img {
    width: 100%;
    max-width: 364px;
    height: 507px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Slider des Miniatures (Nav) */
.recette-thumb-swiper {
    width: 100%;
    box-sizing: border-box;
}

.recette-thumb-swiper .swiper-slide {
    cursor: pointer;

}


.recette-thumb-swiper .swiper-slide img.thumb-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.recette-infos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 25px;
}

.recette-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recette-info-label {
    color: #C38841;
    font-family: "Laca", Sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 13px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
}

.recette-info-valeur {
    color: #000;
    font-family: "Laca", Sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
}

.valeurs-nutri {
    font-family: "Laca", Sans-serif;
    color: #000;
}

.valeurs-nutri-heading {
    margin: 0;
    padding-bottom: 20px;
    border-bottom: 2px solid #8CC73F;
    font-size: 16px;
    font-weight: 600;
    line-height: 18px;
    text-transform: uppercase;
}

.valeurs-nutri-item {
    border-bottom: 2px solid #8CC73F;
}

.valeurs-nutri-titre {
    position: relative;
    display: block;
    padding: 22px 30px 22px 0;
    cursor: pointer;
    list-style: none;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
    text-transform: uppercase;
}

.valeurs-nutri-titre::-webkit-details-marker {
    display: none;
}

/* Chevron vert */
.valeurs-nutri-titre::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #8CC73F;
    border-right: 2px solid #8CC73F;
    transform: translateY(-50%) rotate(45deg);
    transition: transform .2s;
}

.valeurs-nutri-item[open] .valeurs-nutri-titre::after {
    transform: translateY(-75%) rotate(135deg);
}

.valeurs-nutri-contenu {
    padding-bottom: 22px;
    font-size: 16px;
    line-height: 1.4;
}

.valeurs-nutri-contenu> :last-child {
    margin-bottom: 0;
}


.recette-contenu {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    padding: 50px;
    background: #FFF4E5;
    /* à ajuster avec la couleur exacte de la maquette */
    border-radius: 16px;
    font-family: "Laca", Sans-serif;
    color: #000;
    font-size: 16px;
    line-height: 18px;
}

.recette-contenu a {
    color: #000;
}

.recette-contenu--simple {
    grid-template-columns: 1fr;
}

.recette-col--gauche {
    padding-right: 50px;
}

.recette-contenu:not(.recette-contenu--simple) .recette-col--droite {
    padding-left: 60px;
    border-left: 2px solid #8CC73F;
}

.recette-bloc+.recette-bloc {
    margin-top: 45px;
}

.recette-bloc-icone {
    display: block;
    width: 30px;
    height: 30px;
    margin-bottom: 20px;
}

.recette-bloc-titre {
    margin: 0 0 20px;
    font-family: "Laca", Sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    text-transform: uppercase;
    color: #000;
}

.recette-bloc-contenu p {
    margin: 0 0 15px;
}

.recette-bloc-contenu ul,
.recette-bloc-contenu ol {
    margin: 0;
    padding-left: 20px;
}

.recette-bloc-contenu li+li {
    margin-top: 15px;
}

.recette-bloc-contenu> :last-child {
    margin-bottom: 0;
}

/* Numéros de la préparation */
.recette-preparation ol {
    padding-left: 0px;
}

.recette-preparation .recette-bloc-titre {
    padding-left: 10px;
}

.recette-preparation ol li {
    padding-left: 10px;
}

.recette-preparation ol li::marker {
    color: #C38841;
    font-family: "Laca", Sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.recette-partage {
    display: flex;
    gap: 12px;
    margin-top: 40px;
}

.recette-partage a {
    display: block;
    transition: opacity .2s;
}

.recette-partage a:hover {
    opacity: .75;
}

.recette-partage img {
    display: block;
    width: 30px;
    height: 30px;
}

.recette-sans-produit .bloc-produits-recette {
    display: none;
}

.mdg-cards {
    max-width: 970px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 76px;
}

.mdg-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 2;
    border-radius: 14px;
    overflow: hidden;
    isolation: isolate;
    /* évite que le zoom déborde des coins arrondis sur Safari */
    text-decoration: none;
}

.mdg-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    z-index: -2;
}

.mdg-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: rgba(73, 42, 26, 0.39);
    transition: background .3s ease;
    z-index: -1;
}

.mdg-card__title {
    padding: 0 20px;
    color: #FFF;
    text-align: center;
    font-family: "laca", sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 33px;
    text-transform: uppercase;
}

/* Hover + focus clavier */
.mdg-card:hover .mdg-card__img,
.mdg-card:focus-visible .mdg-card__img {
    transform: scale(1.08);
}

.mdg-card:hover::after,
.mdg-card:focus-visible::after {
    background: rgba(73, 42, 26, 0.60);
}

.mdg-card:focus-visible {
    outline: 3px solid #492A1A;
    outline-offset: 3px;
}

.txt-classic {
    color: #000;
    font-family: "laca", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    /* 112.5% */
}


/*panier step guide*/

.step-guide {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    padding: 30px 0 80px;
    flex-wrap: nowrap;
    margin-bottom: 72px;
}

.step-guide__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.step-guide__label {
    font-size: 20px;
    font-weight: 400;
    font-family: "Laca", Sans-serif;
}

.step-guide__item--active .step-guide__label,
.step-guide__item--done .step-guide__label {
    color: #8CC73F;
}

.step-guide__item--upcoming .step-guide__label {
    color: #F4C994;
}

.step-guide__circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-family: "Laca", Sans-serif;
    line-height: 1;
    font-weight: 400;
}

.step-guide__item--active .step-guide__circle,
.step-guide__item--done .step-guide__circle {
    background: #8CC73F;
}

.step-guide__item--upcoming .step-guide__circle {
    background: #F4C994;
}

.step-guide__line {
    display: flex;
    width: 222px;
    height: 4px;
    margin-bottom: 13px;
}

.step-guide__line-half {
    flex: 1;
    height: 100%;
    background: #F4C994;
    /* beige par défaut */
}

.step-guide__line-half.is-done {
    background: #8CC73F;
    /* navy si "atteint" */
}

.step-guide__line--done {
    background: #8CC73F;
}

/*thankyou*/
.thankyou-wrapper {
    display: flex;
    justify-content: center;
    padding: 0px 20px;
}

.thankyou-card {
    background: #FFF4E5;
    border-radius: 20px;
    max-width: 730px;
    width: 100%;
    padding: 50px 140px;
    text-align: center;
}

h1.thankyou-card__title {
    font-family: 'Laca', sans-serif;
    color: #C38841;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
}

.thankyou-card__text {
    color: #C38841;
    text-align: center;
    font-family: 'Laca', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}

.thankyou-card__icon img {
    margin: 40px auto 20px;
}

.thankyou-card__subtext {
    color: #8CC73F;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 18px;
    font-family: "Laca", Sans-serif;
}

.thankyou-card__button {
    display: inline-block;
    padding: 4px 30px;
    border: 1px solid #8CC73F;
    background: #8CC73F;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;

    font-family: "Laca", Sans-serif;
    text-transform: uppercase;
}

.thankyou-card__button:hover {
    background: #008D36;
    border: 1px solid #008D36;
    color: white;
}



/*mon compte*/
/* Container général */


/* Layout en 2 colonnes : nav à gauche, contenu à droite */
.woocommerce-MyAccount-navigation {
    float: left;
    width: 260px !important;
    margin-right: 22px;
}

.woocommerce-MyAccount-content {
    overflow: hidden;
    /* pour englober le float */
    padding-top: 0px;
    float: none !important;
    width: auto !important;
}

.woocommerce-MyAccount-content h2 {
    color: #C38841;
    font-family: "Laca", Sans-serif;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
}

/* Liste de navigation */
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation-link {
    border-top: 2px solid #8CC73F;
    padding: 16px 0;
    padding-left: 20px;
}

.woocommerce-MyAccount-navigation-link:last-child {
    border-bottom: 2px solid #8CC73F;
}


/* Liens du menu */
.woocommerce-MyAccount-navigation-link a {
    color: #000000;
    font-family: 'Laca', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
}

/* Item actif */
.woocommerce-MyAccount-navigation-link.is-active a {
    font-weight: 800;
    color: #000000;
}

/* Contenu texte */
.woocommerce-MyAccount-content p {
    color: #000000;
    font-family: 'Laca', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

/* Liens dans le contenu (vert soulignés) */
.woocommerce-MyAccount-content a {
    color: #8CC73F;
    font-family: 'Laca', sans-serif;
    font-size: 16px;
    font-weight: 800;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

/* Clearfix pour le float */
.woocommerce::after {
    content: "";
    display: table;
    clear: both;
}

.woocommerce-MyAccount-content form label,
.woocommerce-MyAccount-content form legend {
    color: var(--blue-marine);
    font-family: "Laca", Sans-serif !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
}

.woocommerce-MyAccount-content form input.input-text {
    width: 100% !important;
    border: none !important;
    border-bottom: 1px solid var(--cart-border) !important;
    border-radius: 0px !important;
    padding: 9px 16px !important;
    font-weight: 400 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.woocommerce-MyAccount-content form input.afwc_reg_form_field {
    border: none !important;
    border-bottom: 1px solid var(--cart-border) !important;
    border-radius: 0px !important;
    padding: 9px 16px !important;
    font-weight: 400 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.woocommerce-MyAccount-content form textarea.afwc_reg_form_field {
    border: 1px solid var(--cart-border) !important;

    border-radius: 0px !important;
    padding: 9px 16px !important;
    font-weight: 400 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.woocommerce-MyAccount-content form button.button,
.woocommerce-MyAccount-content form input.afwc_registration_form_submit {
    border: 2px solid var(--couleur-7) !important;
    border-radius: var(--cart-radius) !important;
    background: var(--couleur-7) !important;
    color: #fff !important;
    padding: 8px 22px !important;
    font-size: 20px;
    letter-spacing: 0.4px;
    cursor: pointer;
    white-space: nowrap;
    font-family: "Laca", Sans-serif !important;
    transition: background 0.2s ease, color 0.2s ease;
    min-height: 40px;
    font-weight: 700;
    text-transform: uppercase;
}

.woocommerce-MyAccount-content form fieldset {
    border-style: solid !important;
    border-width: 1px !important;
    border-color: var(--cart-border) !important;
    margin-bottom: 20px;
}


/* ==========================================================================
   Mon compte — non connecté (login / register)
   ========================================================================== */

.woocommerce-account .woocommerce .u-columns#customer_login {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.woocommerce-account .u-columns#customer_login .u-column1,
.woocommerce-account .u-columns#customer_login .u-column2 {
    float: none !important;
    width: 50% !important;
    max-width: 50%;
    flex: 1 1 50%;
    padding: 40px;
}

/* Typo commune */
#customer_login,
#customer_login * {
    font-family: "Laca", Sans-serif !important;
    color: #000000;
    box-sizing: border-box;
}

/* Titres */
#customer_login h2 {
    font-family: "Laca", Sans-serif !important;
    font-size: 24px;
    font-weight: 700;
    color: #C38841;
    margin: 0 0 28px;
    text-transform: uppercase;
}

#customer_login form label,
#customer_login form input::placeholder,
form.woocommerce-ResetPassword label,
form.woocommerce-ResetPassword input::placeholder {
    font-family: "basic-sans", sans-serif !important;
}


#customer_login .woocommerce-form-login__rememberme,
#customer_login .woocommerce-form-login__rememberme span {
    font-family: "laca", sans-serif !important;
}
/* --------------------------------------------------------------------
   Colonne gauche : carte blanche
   -------------------------------------------------------------------- */

#customer_login .u-column1 {
    background: #FFF4E5;
    border-radius: 20px;
    padding: 40px !important;
}

/* --------------------------------------------------------------------
   Formulaires — reset du cadre WooCommerce par défaut
   -------------------------------------------------------------------- */

#customer_login form.woocommerce-form-login,
#customer_login form.woocommerce-form-register {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0;
}

/* Labels */
#customer_login form label {
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    display: block;
    margin-bottom: 4px;
}

/* Inputs : uniquement une bordure basse beige */
#customer_login form input[type="text"],
#customer_login form input[type="email"],
#customer_login form input[type="password"],
form.woocommerce-ResetPassword input[type="text"] {
    width: 100%;
    border: none !important;
    border-bottom: 1px solid #C38841 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 8px 10px !important;
    font-size: 16px;
    font-weight: 400;
    color: #C38841;
}

form.woocommerce-ResetPassword {
    max-width: 730px;
    margin: 0 auto;
    font-family: "Laca", Sans-serif !important;
}

form.woocommerce-ResetPassword button {
    background: #8CC73F !important;
    border: 1.5px solid #8CC73F !important;
    border-radius: 20px !important;
    color: #fff !important;
    font-family: "Laca", Sans-serif !important;
    font-size: 16px;
    font-weight: 700 !important;
    text-transform: uppercase;
    padding: 10px 32px !important;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

form.woocommerce-ResetPassword button:hover {
    background: #008D36 !important;
    border: 1.5px solid #008D36 !important;
    color: #fff !important;
}

#customer_login form input::placeholder {
    color: #C38841;
    opacity: 1;
}

#customer_login form input:focus {
    outline: none;
    border-bottom-color: #C38841 !important;
}

#customer_login form .form-row {
    padding: 0;
    margin: 0 0 24px;

}

/* --------------------------------------------------------------------
   Boutons Connexion / S'inscrire — outline navy arrondi
   -------------------------------------------------------------------- */

.woocommerce #customer_login form button.button {
    background: #8CC73F !important;
    border: 1.5px solid #8CC73F !important;
    border-radius: 20px !important;
    color: #fff !important;
    font-family: "Laca", Sans-serif !important;
    font-size: 16px;
    font-weight: 700 !important;
    text-transform: uppercase;
    padding: 7px 24px !important;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.woocommerce #customer_login form button.button:hover {
    background: #008D36 !important;
    border: 1.5px solid #008D36 !important;
    color: #fff !important;
}

/* --------------------------------------------------------------------
   Ligne bouton + "Mot de passe perdu ?"
   -------------------------------------------------------------------- */

/* WooCommerce place le bouton et "Se souvenir de moi" dans la même
   .form-row ; on réorganise pour coller à la maquette */
#customer_login form.woocommerce-form-login .form-row:has(button.button) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;  /* bouton à gauche, lien à droite */
    gap: 12px 20px;
    margin-bottom: 12px;
}

#customer_login form.woocommerce-form-login .form-row:has(button.button)::before,
#customer_login form.woocommerce-form-login .form-row:has(button.button)::after {
    display: none;
}

#customer_login .woocommerce-form-login__submit {
    order: 1;
    margin: 0 !important;
}

#customer_login a.mdg-lost-link {
    order: 2;
    color: #8CC73F;
    font-size: 16px;
    font-weight: 400;
    text-decoration: underline;
}

#customer_login .woocommerce-LostPassword {
    margin: 0;
}

#customer_login .woocommerce-LostPassword a {
    color: #8CC73F;
    font-size: 16px;
    font-weight: 400;
    text-decoration: underline;
}

/* Checkbox "Se souvenir de moi" */
#customer_login .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    font-size: 16px;
    order: 3;
    /* passe sous le bouton */
    width: 100%;
    margin-top: 8px;
}

#customer_login .woocommerce-form-login__rememberme input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid #9E9E9E;
    border-radius: 3px;
    margin: 0;
    position: relative;
    cursor: pointer;
    flex: 0 0 auto;
}


#customer_login .woocommerce-form-login__rememberme input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    inset: 2px;
    background: #000000;
    border-radius: 1px;
}

/* --------------------------------------------------------------------
   Colonne droite : création de compte (pas de carte)
   -------------------------------------------------------------------- */

/* Texte "Un lien permettant de définir…" */
#customer_login form.woocommerce-form-register p:not(.form-row):not(.woocommerce-privacy-policy-text p) {
    font-size: 16px;
    line-height: 18px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 12px;
}

/* Texte RGPD */
#customer_login .woocommerce-privacy-policy-text p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
    margin: 0 0 20px;
    line-height: 18px;
}

#customer_login .woocommerce-privacy-policy-text a {
    color: #8CC73F;
    font-weight: 400;
    text-decoration: underline;
}


/* Tableau des commandes */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse !important;
    border-spacing: 0;
    font-family: 'Laca', sans-serif;
    border: none;
    /* neutralise une éventuelle bordure sur <table> elle-même */
}

/* En-tête du tableau */
.woocommerce-orders-table__header {
    text-align: left;
    padding: 14px 16px;
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-bottom: 2px solid #C38841;
}

/* Cellules */
.woocommerce-orders-table__cell {
    padding: 16px;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    border: none;
    border-bottom: 1px solid #C38841;
}

.woocommerce-orders-table__row:last-child .woocommerce-orders-table__cell {
    border-bottom: 1px solid #C38841;
}


/* Numéro de commande (lien vert souligné) */
.woocommerce-orders-table__cell-order-number a {
    color: #8CC73F;
    font-family: 'Laca', sans-serif;
    font-size: 16px;
    font-weight: 800;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

/* Colonne Actions */
.woocommerce-orders-table__cell-order-actions {
    text-align: right;
}

/* Bouton "Voir" */
.woocommerce-orders-table__cell-order-actions .button {
    background: transparent !important;
    color: #000000 !important;
    border: 2px solid var(--blue-marine) !important;
    border-radius: var(--cart-radius, 6px) !important;
    padding: 8px 20px !important;
    font-family: 'Laca', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-block;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 2;
}

.woocommerce-orders-table__cell-order-actions .button:hover {
    background: #000000 !important;
    color: #fff !important;
}

/* Masquer le bouton "Facture" ou autres actions secondaires si tu veux ne garder que "Voir" */
.woocommerce-orders-table__cell-order-actions .button.pay,
.woocommerce-orders-table__cell-order-actions .button.cancel {
    margin-left: 8px;
}

.woocommerce table.woocommerce-orders-table tr td,
.woocommerce table.woocommerce-orders-table tr th {
    border: 1px solid var(--cart-border);
}

.woocommerce .woocommerce-orders-table__row:hover,
.woocommerce table.woocommerce-orders-table tr:hover td,
.woocommerce table.woocommerce-orders-table tr:hover th,
.woocommerce-orders-table__row:nth-child(even),
.woocommerce-orders-table__row:nth-child(odd),
.woocommerce table.woocommerce-orders-table tr:nth-child(even) td,
.woocommerce table.woocommerce-orders-table tr:nth-child(odd) td {
    background-color: transparent !important;
}

.farines-main-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1050px;
  margin: 0 auto;
}

.farines-main {
  flex: 1;
  min-width: 0; /* évite que Swiper déborde dans un flex */
}

.farines-main .farine-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
.farine-slide__media {
  flex: 0 0 auto;
}
.farine-slide__media img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  display: block;
}
.farine-slide__content {
  flex: 0 1 325px;
}
.farine-slide__title {
  color: #C38841;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 18px;
  font-weight: 500;
  margin: 0 0 0.75rem;
}
.farine-slide__text {
  font-size: 16px;
  line-height: 18px;
  color: #1a1a1a;
}
.farine-slide__text p {
  margin: 0;
}

.farines-slider,
.farines-slider h3 {
  font-family: 'laca', sans-serif;
}

/* Miniatures : la farine active est un peu plus grande */
.farine-thumb__img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin: 0 auto 0.75rem;
  display: block;
  transition: transform 0.3s;
}

.slider-sucres .swiper-wrapper {
	gap: 40px;
}

.swiper-slide-thumb-active .farine-thumb__img {
  transform: scale(1.2);
}

.mdg-pack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
}

.mdg-pack__title {
    margin: 0;
}

.mdg-pack__title .laca.title{
    font-size: 24px;
    line-height: 27px;
    padding-top: 5px;
}

.mdg-pack__title .finlay.title{
    font-size: 44px;
}

.mdg-pack__desc p:last-child {
    margin-bottom: 0;
}

.mdg-pack__desc,
.mdg-pack__desc p {
    text-align: left !important;
}

.mdg-pack__desc hr,
.mdg-pack__desc hr ~ * {
    display: none;
}

/* Aucun pack disponible : la section entière disparaît (sauf dans l'éditeur Elementor) */
body:not(.elementor-editor-active) .e-con.e-parent:has(.mdg-pack-vide) {
    display: none !important;
}

/* Liste vide : la section de la liste disparaît… */
body:not(.elementor-editor-active) .e-con.e-parent:has(.mdg-vide) {
    display: none !important;
}

/* …ainsi que la section du titre, juste au-dessus */
body:not(.elementor-editor-active) .e-con.e-parent:has(+ .e-con.e-parent .mdg-vide) {
    display: none !important;
}

.mdg-deco img.mdg-deco__pack {
    width: 440px;           /* largeur voulue */
    height: 430px;          /* hauteur voulue */
    max-width: 100%;
    margin: auto;           /* centre l'image dans la zone de décoration */
    object-fit: cover;
    object-position: center;
/*     mix-blend-mode: multiply; */
    padding: 0;
    border-radius: 14px;
}

/* Cartes recettes : image avec effet au survol */
.mdg-card-img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;      /* proportions de la carte : à ajuster */
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 10px;
}

.mdg-card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s ease, transform 0.4s ease;
}

/* Deux photos : la seconde apparaît au survol de la carte */
.mdg-card-img__alt {
    opacity: 0;
}

.e-loop-item:hover .mdg-card-img--swap .mdg-card-img__alt,
.mdg-card-img--swap:hover .mdg-card-img__alt,
.mdg-card-img--swap:focus-visible .mdg-card-img__alt {
    opacity: 1;
}

/* Une seule photo : léger zoom au survol */
.e-loop-item:hover .mdg-card-img--zoom .mdg-card-img__main,
.mdg-card-img--zoom:hover .mdg-card-img__main,
.mdg-card-img--zoom:focus-visible .mdg-card-img__main {
    transform: scale(1.06);
}

/* Grille "Nos actus" : cartes à la même hauteur */
.mdg-actus-grid .e-loop-item {
    display: flex;
}

.mdg-actus-grid .e-loop-item > .e-con {
    flex-grow: 1;
    height: 100%;
}

/* =========================================================
   ENCART "À LIRE AUSSI" ET BLOCS D'ARTICLES DANS LES ARTICLES
   ========================================================= */

/* --- La section n'a pas de fond, seule la colonne arrondie est beige --- */
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) {
  background: transparent !important;
}
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) > .elementor-container > .elementor-column > .elementor-widget-wrap {
  background: #FDF3EA !important;
  border-radius: 20px;
}

/* --- Blocs sans séparateur (ex. "Pour d'autres idées de recettes") : marges intérieures --- */
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts):not(:has(.elementor-widget-divider)) > .elementor-container > .elementor-column > .elementor-widget-wrap {
  padding: 50px !important;
}

/* --- Séparateur (traits + cœur) masqué --- */
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-widget-divider {
  display: none !important;
}

/* --- Titres : "À lire aussi" et titre placé juste avant les cartes --- */
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-widget-divider + .elementor-widget-heading .elementor-heading-title,
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-widget-heading:has(+ .elementor-widget-posts) .elementor-heading-title {
  font-family: "laca", Sans-serif !important;
  font-size: 36px !important;
  line-height: 36px !important;
  font-weight: 700 !important;
  color: #C38841 !important;
  text-transform: uppercase;
  margin: 0 !important;
}
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-widget-heading:has(+ .elementor-widget-posts) {
  margin-bottom: 40px !important;
}

/* --- Ligne titre + bouton : alignés verticalement --- */
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-inner-section {
  margin-bottom: 30px !important;
}
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-inner-section > .elementor-container {
  align-items: center !important;
}
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-inner-section .elementor-widget-wrap {
  align-content: center !important;
  align-items: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-inner-section .elementor-widget-heading,
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-inner-section .elementor-widget-button,
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-inner-section .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
}

/* --- Bouton "Tous nos articles" : sans trait dessous --- */
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-widget-button,
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-button {
  border: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

/* --- Grille de cartes --- */
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-widget-posts {
  margin-top: 0 !important;
}

/* --- Carte blanche arrondie --- */
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-post {
  background: #fff !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 16px !important;
  overflow: hidden;
  text-align: left !important;
}

/* --- Image : hauteur fixe, collée au texte --- */
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-post__thumbnail__link {
  margin: 0 !important;
  width: 100% !important;
}
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-post__thumbnail {
  padding-bottom: 0 !important;
  height: auto !important;
  border-radius: 0 !important;
}
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-post__thumbnail img {
  position: static !important;
  transform: none !important;
  width: 100% !important;
  height: 200px !important;
  object-fit: cover;
  border-radius: 0 !important;
  display: block;
}

/* --- Zone texte --- */
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-post__text {
  padding: 16px 20px 24px !important;
  margin: 0 !important;
  text-align: left !important;
}

/* --- Titre de l'article --- */
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-post__title {
  margin: 0 0 12px !important;
  padding: 0 !important;
}
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-post__title,
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-post__title a {
  color: #1a1a1a !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  text-decoration: none !important;
  border: none !important;
}

/* --- Extrait --- */
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-post__excerpt,
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-post__excerpt p {
  color: #1a1a1a !important;
  font-size: 16px !important;
  line-height: 18px !important;
  text-align: left !important;
  margin: 0 0 16px !important;
}

/* --- Lien "Lire plus" : orange, souligné, sans bordure --- */
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-post__read-more {
  display: inline-block !important;
  color: #C38841 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  border: none !important;
  box-shadow: none !important;
  background: none !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-post__read-more::before,
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-post__read-more::after {
  display: none !important;
}

/* --- "Lire plus" toujours en bas de la carte --- */
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-post {
  display: flex !important;
  flex-direction: column;
}
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-post__text {
  flex-grow: 1;
  display: flex !important;
  flex-direction: column;
}
.elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-post__read-more {
  margin-top: auto !important;
  align-self: flex-start;
}

/* --- Seulement 2 cartes : centrées au lieu d'une case vide --- */
@media (min-width: 768px) {
  .elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-posts-container:not(:has(.elementor-post:nth-child(3))) {
    grid-template-columns: repeat(2, minmax(0, 340px)) !important;
    justify-content: center;
  }
}

/* --- Écrans étroits : marges sur les côtés --- */
@media (max-width: 1200px) {
  .elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* --- Tablette --- */
@media (min-width: 768px) and (max-width: 1024px) {
  .elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-posts-container {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
  .elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-post__thumbnail img {
    height: 150px !important;
  }
}
@media (max-width: 1024px) {
  .elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts):not(:has(.elementor-widget-divider)) > .elementor-container > .elementor-column > .elementor-widget-wrap {
    padding: 30px !important;
  }
}

/* --- Mobile --- */
@media (max-width: 767px) {
  .elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts):not(:has(.elementor-widget-divider)) > .elementor-container > .elementor-column > .elementor-widget-wrap {
    padding: 20px !important;
  }
  .elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-widget-divider + .elementor-widget-heading .elementor-heading-title,
  .elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-widget-heading:has(+ .elementor-widget-posts) .elementor-heading-title {
    font-size: 28px !important;
    line-height: 30px !important;
  }
  .elementor-widget-theme-post-content .elementor-top-section:has(.elementor-widget-posts) .elementor-inner-section .elementor-widget-button {
    margin-top: 16px !important;
  }
}

/* Tablette : 350px maximum, centrées */
@media (max-width: 768px) {
    .mdg-actus-grid .e-loop-item {
        width: 100%;
        max-width: 350px !important;
        justify-self: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mdg-card-img img {
        transition: none;
    }
}

@media (max-width: 767px) {
  .farines-main .farine-slide {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .farine-slide__content {
    flex-basis: auto;
  }
}

/* Flèches en chevron */
.farines-nav {
  flex-shrink: 0;
  width: 15px;
  height: 42px;
  padding: 0;
  border: 0;
  background: url('assets/icons/arrow-slider.svg') center / contain no-repeat;
  cursor: pointer;
}
.farines-nav--prev {
  transform: scaleX(-1); /* retourne la flèche vers la gauche */
}
.farines-nav.swiper-button-disabled { opacity: 0.3; cursor: default; }

/* Miniatures */
.farines-slider .farines-thumbs {
  margin-top: 3rem;
}

.farines-slider .farine-thumb {
  text-align: center;
  cursor: pointer;
  padding: 10px 0;
}

.farine-thumb__name {
  color: #C38841;
  text-transform: uppercase;
  font-size: 16px;
}

.farines-nav:hover,
.farines-nav:focus,
.farines-nav:active {
  background-color: transparent;
  border-radius: 0;
}

.farines-nav:focus {
  outline: none;
}

.farines-nav:focus-visible {
  outline: 2px solid #d9a96a;
  outline-offset: 4px;
}

.swiper-slide-thumb-active .farine-thumb__name { font-weight: 700; }


.page-header .entry-title {
    display: none;
}

.elementor-widget-woocommerce-product-title {
    display: block !important;
}

/* Structure : flèches de part et d'autre */
.ig-slider__wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.ig-slider__swiper {
  flex: 1;
  min-width: 0;
}

/* Flèche inactive masquée au lieu d'être grisée */
.ig-slider .ig-slider__nav.swiper-button-disabled {
  visibility: hidden;
}

/* Police */
.ig-slider,
.ig-slider h3,
.ig-slider h4 {
  font-family: 'laca', sans-serif;
}

/* Titres des slides */
.ig-slide {
  text-align: center;
}
.ig-slide__titre {
  color: #C38841;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 20px;
  line-height: 18px;
  max-width: 800px;
  margin: 0 auto 4rem;
  padding-left: 60px;
  padding-right: 60px;
}

/* Slide 1 : les deux aliments côte à côte */
.ig-slider .ig-aliments {
  display: flex;
  justify-content: center;
  gap: 4rem;
}
.ig-aliment {
  flex: 1;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ig-aliment__intro {
  font-size: 16px;
  line-height: 18px;
  min-height: 54px; /* 3 lignes : aligne les images même si un texte est plus court */
  margin: 0 0 2.5rem;
  padding: 0 40px;
}
.ig-aliment__img {
  height: 200px;
  width: auto;
  object-fit: contain;
  margin-bottom: 3rem;
  max-height: 162px;
}
.ig-aliment__nom {
  color: #C38841;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 0.5rem;
}
.ig-aliment__ig {
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 1.5rem;
}
.ig-aliment__effet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-transform: uppercase;
  text-align: left;
  font-size: 16px;
  margin: 0;
  padding: 0 45px;
}
.ig-aliment__effet svg {
  flex-shrink: 0;
  margin-top: 0.2em;
}

/* Slide 2 : le graphique */
.ig-slide__graphique img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.carte-boutiques {
  font-family: 'laca', sans-serif;
  width: 100%;
  }
  
  .carte-boutiques__contenu > * {
  min-width: 0;
}

/* Recherche */
.carte-boutiques__recherche {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 3rem;
}
.carte-boutiques__recherche label {
  font-weight: 700;
  text-transform: uppercase;
  line-height: 36px;
  white-space: nowrap;
}
.carte-boutiques__champ {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  width: 230px;
}
.carte-boutiques .carte-boutiques__input {
  width: 100%;
  height: 36px;
  padding: 0 1.25rem;
  border: 2px solid #8CC73F;
  border-radius: 20px;
  background: #fff;
  font: inherit;
}
.carte-boutiques .carte-boutiques__input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(140, 199, 63, 0.3);
}
.carte-boutiques .carte-boutiques__reset,
.carte-boutiques .carte-boutiques__reset:hover,
.carte-boutiques .carte-boutiques__reset:focus {
  padding: 0 0 0 1.25rem;
  border: 0;
  border-radius: 0;
  background: none;
  color: #8a8a8a;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}
.carte-boutiques__message {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 14px;
  color: #8a8a8a;
}

/* Carte + liste */
.carte-boutiques__contenu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 920px;
  margin: 0 auto;
  align-items: start;
}
.carte-boutiques__map {
  position: relative;
  z-index: 0; /* garde la carte sous le header, le panier, etc. */
  height: 440px;
  border-radius: 20px;
  overflow: hidden;
}

.carte-boutiques__liste {
  position: relative;
  max-height: 440px;
  margin: 0;
  padding: 0 2.5rem 0 0;
  list-style: none;
  overflow-y: auto;
  scrollbar-color: #666 #e8e8e8; /* Firefox */
}
.carte-boutiques__liste::-webkit-scrollbar {
  width: 16px;
}
.carte-boutiques__liste::-webkit-scrollbar-track {
  background: #e8e8e8;
  border-radius: 8px;
}
.carte-boutiques__liste::-webkit-scrollbar-thumb {
  background: #666;
  border-radius: 8px;
  border: 3px solid #e8e8e8;
}

.carte-boutiques__item {
  padding: 1.5rem 1rem;
  border-bottom: 2px solid #8CC73F;
  cursor: pointer;
}
.carte-boutiques__item:first-child {
  border-top: 2px solid #8CC73F;
}
.carte-boutiques__item:hover,
.carte-boutiques__item.is-active {
  background: #f6faf0;
}
.carte-boutiques__nom {
  display: block;
  font-weight: 700;
  text-transform: uppercase;
}
.carte-boutiques__adresse {
  display: block;
}

/* Marqueurs et regroupements */
.carte-boutiques__pin {
  background: none;
  border: 0;
}
.carte-boutiques .carte-boutiques__cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #8CC73F;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.elementor-widget-text-editor a {
  color: #8FC44A;
}
.elementor-widget-text-editor a:hover {
  color: #008D36;
}

.elementor a.lien-blog-fixed,
.elementor a.lien-blog-fixed:hover {
  color: #fff;
}

/* Mobile : les aliments l'un sous l'autre */
@media (max-width: 767px) {
  .ig-slider .ig-aliments {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
  
  .ig-slider__wrap {
    gap: 0.75rem;
  }
  
  .ig-slide__titre {
	padding-left: 0px;
	padding-right: 0px;
	margin: 0 auto 5rem;
  }
  
  .ig-slider .ig-aliments {
 	gap: 6rem;
  }	
  
  .finlay.title {
	font-size: 40px;
	line-height: 38px;
  }
  
  .finlay.title-boucle {
	  
  }
  
  .laca.title {
    font-size: 36px;
    line-height: 38px
  }
  
  .farines-slider .farines-thumbs {
	  margin-top: 1.5rem;
  }
  
  .farines-main-wrap {
    gap: 0.5rem;
    padding: 0 0.5rem;
  }
  
  .farines-nav {
    width: 18px;
    height: 32px;
  }
  
  .ig-aliment__effet {
	  padding: 0 0;
	}
	
  .ig-aliment__intro{
	padding: 0 0;
  }
  
   .carte-boutiques__recherche {
    flex-direction: column;
    align-items: center;
  }
  
  .carte-boutiques__contenu {
    grid-template-columns: 1fr;
  }
  
  .carte-boutiques__map {
    height: 320px;
  }
  
  .carte-boutiques__liste {
    max-height: 360px;
    padding-right: 1rem;
  }
  
   .mdg-papier {
    container-type: normal;
    width: calc(100% + 40px);
    max-width: 600px;
    margin-inline: -20px;
  }

  .mdg-papier__title {
    margin-bottom: 14px;
  }

  .mdg-papier__inner {
    padding: 16% 15% 13%;
  }

  .mdg-papier__title-script {
    font-size: 32px;
  }

  .mdg-papier__title-strong {
    font-size: 28px;
  }

  .mdg-deco-fouet {
    width: 110px;
    left: -15px;
    bottom: 10px;
  }
  
  .woocommerce-MyAccount-content form button.button,
  .woocommerce-MyAccount-content form input.afwc_registration_form_submit {
	font-size: 16px;
  }
}

.e-loop-nothing-found-message__text {
    font-family: "laca", Sans-serif;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    text-align: center;
    padding: 40px 0;
}

/* Bouton des produits en rupture de stock */
.e-loop-item.outofstock .button,
.product.outofstock .button {
    background: #C38841 !important;   
    border-color: #C38841 !important;
    color: #fff !important;
    border-radius: 59px;
    text-transform: uppercase;
}


/* FORM RETRACTATION */

#form-retractation form {
  max-width: 545px;
  margin: 0 auto;
  font-family: laca, sans-serif;
}

#form-retractation label {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #000;
  margin-bottom: 4px;
}

#form-retractation input,
#form-retractation select {
  width: 100%;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 16px !important;
  color: #C38841 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #C38841 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#form-retractation textarea {
  width: 100%;
  min-height: 200px;
  padding: 14px;
  font-family: inherit;
  font-size: 16px !important;
  color: #C38841;
  background: transparent !important;
  border: 1px solid #C38841 !important;
  border-radius: 6px !important;
}

#form-retractation ::placeholder {
  color: #C38841;
  opacity: 1;
}

#form-retractation textarea:focus,
#form-retractation textarea:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: 2px solid #C38841 !important;
}

#form-retractation button {
  display: block;
  margin: 30px auto 0;
  padding: 8px 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  background: #7ab929;
  border: 0;
  border-radius: 50px;
  cursor: pointer;
}

#form-retractation button:hover {
  background: #008D36 !important;
}

.boutique-filtres-toggle {
  display: none;
}

/* Champ e-mail */
#wc_bis_product_form #wc_bis_email {
  width: 100%;
  padding: 6px 15px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 59px;
  font-size: 15px;
  box-sizing: border-box;
}

#wc_bis_product_form #wc_bis_email:focus {
  outline: none;
  border-color: #000; /* couleur principale du site */
}

/* Case à cocher + texte */
#wc_bis_product_form .wc_bis_opt_in {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
}

#wc_bis_product_form #wc_bis_opt_in {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: #000; /* couleur principale du site */
}

.elementor-add-to-cart .stock,
#wc_bis_product_form,
#wc_bis_product_form p,
#wc_bis_product_form input,
#wc_bis_product_form button,
#wc_bis_product_form label {
  font-family: 'laca', sans-serif;
}



@media (max-width: 1024px) {
  .boutique-filtres-toggle,
  .boutique-filtres-toggle:hover,
  .boutique-filtres-toggle:focus {
    display: block;
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #8CC73F;
    border-radius: 59px;
    background: #fff;
    color: #8CC73F;
    font-family: 'laca', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
  }
  .boutique-filtres-toggle[aria-expanded="true"] {
    background: #8CC73F;
    color: #fff;
  }
    .boutique-filtres-toggle,
  input[type="text"].facetwp-search {
    height: 42px;
    box-sizing: border-box;
  }

  .boutique-filtres-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
  }
    .boutique-filtres-toggle:focus {
    outline: none;
  }

  .boutique-filtres-toggle:focus-visible {
    outline: 2px solid #008D36;
    outline-offset: 2px;
  }
  
  /* Filtres masqués par défaut, affichés quand on clique sur le bouton */
  .e-con.boutique-filtres:not(.is-open) {
    display: none;
  }
  
  .boutique-filtres .facetwp-type-checkboxes {
    columns: 1;
    column-gap: 30px;
  }
  
  .mdg-deco img.mdg-deco__pack {
    width: 600px;           /* largeur voulue */
    height: 580px;          /* hauteur voulue */
	}
	
}

/* FORM RETRACTATION */

/* Mobile : cartes empilées */
@media (max-width: 767px) {
    .mdg-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }

    .mdg-card__title {
        font-size: 26px;
        line-height: 28px;
    }
    
    .mdg-deco img.mdg-deco__pack {
	    width: 440px;
	    height: 430px; 
	}
	
	.slider-sucres .swiper-wrapper {
		gap: 0px;
	}
	
	.finlay.light-title {
    	font-size: 32px;
    	text-align: center;
	}
	
	.laca.light-title {
	    font-size: 28px;
	}
}

@media (max-width: 767px) {
    .recette-contenu {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .recette-col--gauche {
        padding-right: 0;
    }

    .recette-contenu:not(.recette-contenu--simple) .recette-col--droite {
        padding-left: 0;
        padding-top: 40px;
        margin-top: 40px;
        border-left: 0;
        border-top: 2px solid #8CC73F;
    }
    
    .lien-blog-fixed {
	    width: 60px;
	    height: 55px;	
	    font-size: 12px;
	    align-items: end;
	    padding-right: 10px;
	}
	
	.lien-blog-fixed img {
	    width: 35px;
	    
	}
	
	.menu-footer {
		justify-content: center;
		align-items: center;
		align-self: center;
	}
	
	.menu-footer ul {
		justify-items: center;

	}
}

@media (min-width: 1024px) and (max-width: 1300px) {
	.cookie-image {
		width: 200px;
	}

}


/* Bloc "Engagés dans la gourmandise" : tablette et mobile */
@media (max-width: 1024px) {
  .gourmandise-container {
    box-sizing: border-box;
    width: 100%;
    max-width: 877px;
    height: auto;
    aspect-ratio: auto;
    margin: 0 auto;
    padding: 12% 10%;
  }
  
  .gourmandise-txt {
    width: auto;
    max-width: 443px;
    margin: 30px 0;
  }

/*
  .entreprise-abso {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 400px;
    margin: 40px auto 0;
  }

  .entreprise-abso .equipe {
    width: 100%;
    height: auto;
  }

  .entreprise-abso .eclat {
    right: 0;
  }
*/

  .woocommerce-MyAccount-navigation {
    float: none !important;
    width: 100% !important;
    margin: 0 0 30px;
  }

  .woocommerce-MyAccount-content {
    overflow: visible;
  }

  /* Page déconnectée : connexion et inscription l'une sous l'autre */
  .woocommerce-account .woocommerce .u-columns#customer_login {
    flex-direction: column;
    padding: 20px 0;
  }

  .woocommerce-account .u-columns#customer_login .u-column1,
  .woocommerce-account .u-columns#customer_login .u-column2 {
    width: 100% !important;
    max-width: 100%;
  }

}

/* FORM NEWSLETTER */

.mdg-newsletter {
    max-width: 100%;
    margin: 0 auto;
    padding: 50px 85px;
    border-radius: 20px;
    background: #FFF4EA;
    font-family: "laca", Sans-serif;
    color: #333;
}

.mdg-newsletter #sib-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
}

.mdg-newsletter__optin,
.mdg-newsletter__actions {
    grid-column: 1 / -1;
}

.mdg-newsletter__field {
    margin-bottom: 25px;
}

.mdg-newsletter .entry__label {
    display: block;
    margin: 0;
    color: #333;
    font-family: "laca", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
}

.mdg-newsletter__required {
    color: #000;
}

.mdg-newsletter input.input {
    width: 100%;
    height: 40px;
    padding: 8px 16px;
    border: 0;
    border-bottom: 1px solid var(--couleur-5);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--couleur-5);
    font-family: "laca", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    outline: none;
}

.mdg-newsletter input.input::placeholder {
    color: var(--couleur-5);
    opacity: 1;
}

.mdg-newsletter input.input:focus {
    border-bottom-width: 2px;
}

.mdg-newsletter .entry__error {
    display: block;
    margin: 6px 0 0 16px;
    color: #c0392b;
    font-size: 13px;
    line-height: 15px;
}

.mdg-newsletter .entry__error:empty {
    display: none;
}

.mdg-newsletter__optin {
    margin-bottom: 25px;
}

.mdg-newsletter__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: #333;
    font-size: 13px;
    font-style: italic;
    line-height: 17px;
    cursor: pointer;
}

.mdg-newsletter__checkbox input {
    flex-shrink: 0;
    margin: 2px 0 0;
}

.mdg-newsletter__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 33px;
    padding: 0 40px;
    border: 0;
    border-radius: 59px;
    background: #8FC44A;
    color: #fff;
    font-family: "laca", Sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .3s;
}

.mdg-newsletter__button:hover,
.mdg-newsletter__button:focus {
    background: var(--couleur-8);
    color: #fff;
}

.mdg-newsletter__button .sib-hide-loader-icon {
    display: none;
}

.mdg-newsletter__button .progress-indicator__icon {
    animation: mdg-spin 1s linear infinite;
}

@keyframes mdg-spin {
    to {
        transform: rotate(360deg);
    }
}

.mdg-newsletter .input--hidden {
    display: none !important;
}

.mdg-newsletter__message {
    display: none;
    width: 100%;
    margin-bottom: 25px;
    padding: 12px 16px;
    border-radius: 5px;
    font-size: 16px;
    line-height: 18px;
}

.mdg-newsletter__message.sib-form-message-panel--active {
    display: block;
}

.mdg-newsletter__message--success {
    border: 1px solid var(--couleur-8);
    color: var(--couleur-8);
}

.mdg-newsletter__message--error {
    border: 1px solid #c0392b;
    color: #c0392b;
}

@media (max-width: 767px) {
    .mdg-newsletter {
        padding: 30px 20px;
    }

    .mdg-newsletter #sib-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
  .gourmandise-container {
    padding: 60px 30px;
  }

  .finlay.title-gourmandise {
    font-size: 30px;
    line-height: 32px;
  }

  .laca.title-gourmandise {
    font-size: 26px;
    line-height: 28px;
  }
    
  .woocommerce-MyAccount-navigation-link {
    padding: 12px 0 12px 10px;
  }

  .woocommerce-MyAccount-navigation-link a {
    font-size: 15px;
  }

  /* Marges intérieures réduites pour les formulaires de connexion */
  .woocommerce-account .u-columns#customer_login .u-column1,
  .woocommerce-account .u-columns#customer_login .u-column2 {
    padding: 25px !important;
  }
}

/* PRIX PRODUIT DANS LES GRILLES */
.e-loop-item .elementor-widget-woocommerce-product-price .price,
.e-loop-item .elementor-widget-woocommerce-product-price .price ins {
    color: #000;
    font-family: "laca", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
}

/* Arguments de l'accueil : 2 par ligne entre 768 et 967px */
@media (min-width: 768px) and (max-width: 967px) {

    /* Le conteneur (pleine largeur) ou son "e-con-inner" (largeur encadrée) passe en grille */
    .mdg-arguments:not(:has(> .e-con-inner)),
    .mdg-arguments > .e-con-inner {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px;          /* espace vertical / horizontal entre les arguments */
        justify-items: center;
    }

    /* Chaque argument occupe sa case, sans largeur imposée par Elementor */
    .mdg-arguments > .e-con,
    .mdg-arguments > .e-con-inner > .e-con {
        width: 100% !important;
        max-width: 340px;
    }
}


/* Mobile : l'image passe sous le texte (comportement actuel) */
@media (max-width: 1024px) {
  .entreprise-abso {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 400px;
    margin: 40px auto 0;
  }

  .entreprise-abso .equipe {
    width: 100%;
    height: auto;
  }

  .entreprise-abso .eclat {
    right: 0;
  }
}