/*
 * Composants globaux
 * CTA, popup, mini-panier, animations, cartes, messages, footer final et processus de commande.
 * Author: EcareWeb
 * 2026
 */

/* Badges / boutons home / CTA */
.ui-badge-new {
    display: table;
    margin: 20px auto;
    padding: var(--pill-padding-y) var(--pill-padding-x);
    border-radius: var(--radius-pill);
    background: var(--color-badge-new-bg);
    color: var(--color-badge-new-text);
    font-family: var(--font-main);
    font-size: var(--fs-pill);
    font-weight: var(--fw-normal);
    line-height: 1;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-main);
}

.ui-badge-new p {
    margin: 0;
}

/* Classe el_class posée sur le bloc WPBakery (conteneur), style porté par le lien <a> qu'il contient. */
.ui-btn-cta a {
    display: table;
    margin-left: auto;
    margin-right: auto;
    min-width: var(--btn-cta-min-width);
    padding: var(--btn-cta-padding-y) var(--btn-cta-padding-x);
    border: 1px solid var(--color-btn-cta-border);
    border-radius: var(--radius-pill);
    background: var(--color-btn-cta-bg);
    color: var(--color-btn-cta-text);
    font-family: var(--font-main);
    font-size: var(--fs-btn);
    font-weight: var(--fw-normal);
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--shadow-btn-readable);
    transition: var(--transition-main);
}

.ui-btn-cta a:hover {
    background: var(--color-btn-cta-bg-hover);
    color: var(--color-btn-cta-text-hover);
    font-family: var(--font-btn-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-soft-hover);
}

.ui-btn-cta a:focus,
.ui-btn-cta a:active {
    color: var(--color-btn-cta-text);
    text-decoration: none;
}

.ui-home-toggle {
    display: table;
    margin: 40px auto 20px auto;
    min-width: var(--home-toggle-min-width);
    max-width: var(--home-toggle-max-width);
    padding: var(--home-toggle-padding-y) var(--home-toggle-padding-x);
    border-radius: var(--radius-pill);
    background: var(--color-home-toggle-bg);
    color: var(--color-home-toggle-text);
    font-family: var(--font-main);
    font-size: var(--fs-btn);
    font-weight: var(--fw-normal);
    line-height: 1.2;
    text-align: center;
    box-shadow: var(--shadow-btn-readable);
}

.ui-home-title-glow,
.ui-home-title-glow h1,
.ui-home-title-glow h2,
.ui-home-title-glow p {
    font-family: var(--font-main);
    text-align: center;
    color: var(--color-white);
    font-weight: var(--fw-bold);
    text-shadow: var(--shadow-text), var(--shadow-title-glow);
}

.ui-home-title-glow {
    font-size: 60px;
    line-height: 1.05;
    margin: 0;
}

.ui-home-btn-primary a {
    display: table;
    margin: 20px auto;
    min-width: var(--home-btn-primary-min-width);
    padding: var(--home-btn-primary-padding-y) var(--home-btn-primary-padding-x);
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--color-home-btn-primary-bg);
    color: var(--color-home-btn-primary-text);
    font-family: var(--font-main);
    font-size: var(--fs-btn);
    font-weight: var(--fw-normal);
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--shadow-btn-readable);
    transition: var(--transition-main);
}

.ui-home-btn-primary a:hover {
    background: var(--color-home-btn-primary-bg-hover);
    color: var(--color-home-btn-primary-text);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft-hover);
}

.ui-home-btn-outline a {
    display: inline-block;
    margin: 10px var(--home-btn-outline-gap-x);
    min-width: var(--home-btn-outline-min-width);
    padding: var(--home-btn-outline-padding-y) var(--home-btn-outline-padding-x);
    border: 1px solid var(--color-home-btn-outline-border);
    border-radius: var(--radius-pill);
    background: var(--color-home-btn-outline-bg);
    color: var(--color-home-btn-outline-text);
    font-family: var(--font-main);
    font-size: var(--fs-btn);
    font-weight: var(--fw-normal);
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--shadow-btn-readable);
    transition: var(--transition-main);
}

.ui-home-btn-outline a:hover {
    background: var(--color-home-btn-outline-bg-hover);
    color: var(--color-home-btn-outline-text);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft-hover);
}

.ui-home-btn-second a {
    display: table;
    margin: 20px auto;
    min-width: var(--home-btn-second-min-width);
    padding: var(--home-btn-second-padding-y) var(--home-btn-second-padding-x);
    border: 1px solid var(--color-btn-cta-border);
    border-radius: var(--radius-pill);
    background: var(--color-home-btn-second-bg);
    color: var(--color-home-btn-second-text);
    font-family: var(--font-main);
    font-size: var(--fs-btn);
    font-weight: var(--fw-normal);
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--shadow-btn-readable);
    transition: var(--transition-main);
}

.ui-home-btn-second a:hover {
    background: var(--color-home-btn-second-bg-hover);
    color: var(--color-home-btn-second-text);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft-hover);
}

@media (max-width: 991px) {
    .ui-home-title-glow {
        font-size: 62px;
    }

    .ui-home-toggle,
    .ui-home-btn-primary a {
        min-width: auto;
        width: 100%;
        max-width: 100%;
    }

    .ui-home-btn-outline a {
        display: block;
        width: 100%;
        margin: 10px 0;
        min-width: auto;
    }
}

@media (max-width: 767px) {
    .ui-btn-cta a,
    .ui-home-btn-primary a,
    .ui-home-btn-outline a {
        min-width: auto;
        width: 100%;
        font-size: var(--fs-btn);
        padding: var(--btn-cta-padding-y) var(--btn-cta-padding-x);
    }

    .ui-badge-new {
        font-size: var(--fs-pill);
        padding: var(--pill-padding-y) var(--pill-padding-x);
    }

    .ui-home-toggle {
        width: 100%;
        font-size: var(--fs-btn);
        padding: var(--home-toggle-padding-y) var(--home-toggle-padding-x);
    }

    .ui-home-title-glow {
        font-size: 42px;
        line-height: 1.1;
    }
}


/* Popup frais de livraison */
.livraison-popup-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 999999;
}

.livraison-popup-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.livraison-popup-open {
    overflow: hidden;
}

.livraison-popup-box {
    position: relative;
    width: 100%;
    max-width: 760px;
    background: #ffffff;
    border-radius: 22px;
    padding: 38px 34px 32px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
    transform: translateY(18px) scale(0.98);
    transition: transform 0.25s ease;
}

.livraison-popup-overlay.is-open .livraison-popup-box {
    transform: translateY(0) scale(1);
}

.livraison-popup-box h2 {
    margin: 0 0 18px;
    font-size: 32px;
    line-height: 1.2;
    color: #1f1f1f;
}

.livraison-popup-box p {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.7;
    color: #333333;
}

.livraison-highlight {
    margin-top: 18px !important;
    padding: 14px 18px;
    border-radius: 12px;
    background: #f7f1ea;
    color: #7a4617 !important;
    font-weight: 700;
}

.livraison-formule {
    margin: 20px 0 !important;
    padding: 16px 20px;
    border-radius: 14px;
    background: #f4f4f4;
    text-align: center;
    font-size: 26px !important;
    font-weight: 700;
    color: #1d1d1d !important;
    letter-spacing: 0.3px;
}

.livraison-note {
    margin-top: 20px !important;
    padding-top: 18px;
    border-top: 1px solid #e2e2e2;
    color: #5b5b5b !important;
}

.livraison-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    border: 2px solid #ffffff;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffb08f 0%, #ff7a52 18%, #eb4f2a 45%, #cf2f14 72%, #a91508 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.55),
        inset 0 -2px 0 rgba(120, 0, 0, 0.28),
        0 3px 10px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
    padding: 0;
    font-size: 0;
    line-height: 1;
}

.livraison-popup-close::before,
.livraison-popup-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 5px;
    background: #ffffff;
    border-radius: 3px;
    transform-origin: center;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.livraison-popup-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.livraison-popup-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.livraison-popup-close:hover {
    filter: brightness(1.08);
    transform: scale(1.03);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.62),
        inset 0 -2px 0 rgba(120, 0, 0, 0.32),
        0 5px 14px rgba(0, 0, 0, 0.22);
}

.livraison-popup-close:active {
    transform: scale(0.97);
    box-shadow:
        inset 0 3px 6px rgba(120, 0, 0, 0.28),
        0 2px 6px rgba(0, 0, 0, 0.16);
    filter: brightness(0.97);
}

.livraison-popup-close:focus {
    outline: none;
}

.livraison-popup-close:focus-visible {
    outline: 3px solid rgba(42, 125, 225, 0.35);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .livraison-popup-overlay {
        padding: 16px;
    }

    .livraison-popup-box {
        padding: 28px 20px 24px;
        border-radius: 16px;
    }

    .livraison-popup-box h2 {
        font-size: 24px;
        padding-right: 36px;
    }

    .livraison-popup-box p {
        font-size: 16px;
        line-height: 1.6;
    }

    .livraison-formule {
        font-size: 21px !important;
    }

    .livraison-popup-close {
        top: 14px;
        right: 14px;
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .livraison-popup-close::before,
    .livraison-popup-close::after {
        width: 22px;
        height: 4px;
    }
}


/* Mini-panier : bouton suppression xp + images */
.shopping-cart-inner .cart_list li,
.widget_shopping_cart .cart_list li,
.elementor-menu-cart__main .cart_list li {
    position: relative;
    padding-right: 34px !important;
}

.shopping-cart-inner .cart_list li a.remove,
.widget_shopping_cart .cart_list li a.remove,
.elementor-menu-cart__main .cart_list li a.remove,
.shopping-cart-inner .cart_list li:first-child a.remove,
.widget_shopping_cart .cart_list li:first-child a.remove,
.elementor-menu-cart__main .cart_list li:first-child a.remove {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    left: auto !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    line-height: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    text-indent: 0 !important;
    overflow: hidden !important;
    color: transparent !important;
    text-decoration: none !important;
    border: 1px solid #7f1d1d !important;
    border-top-color: #ffb3b3 !important;
    border-left-color: #ffb3b3 !important;
    border-right-color: #5a0000 !important;
    border-bottom-color: #5a0000 !important;
    border-radius: 3px !important;
    background: linear-gradient(to bottom, #ff8a8a 0%, #e03131 45%, #b40000 100%) !important;
    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,0.55),
        inset -1px -1px 0 rgba(0,0,0,0.25),
        0 1px 2px rgba(0,0,0,0.18) !important;
    opacity: 1 !important;
    z-index: 20 !important;
    cursor: pointer !important;
    transition: transform 0.12s ease, filter 0.12s ease !important;
}

.shopping-cart-inner .cart_list li a.remove::before,
.widget_shopping_cart .cart_list li a.remove::before,
.elementor-menu-cart__main .cart_list li a.remove::before {
    content: "×";
    display: block;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 0 rgba(0,0,0,0.35);
    transform: translateY(-1px);
}

.shopping-cart-inner .cart_list li a.remove:hover,
.widget_shopping_cart .cart_list li a.remove:hover,
.elementor-menu-cart__main .cart_list li a.remove:hover {
    background: linear-gradient(to bottom, #ff9f9f 0%, #f04444 45%, #c50000 100%) !important;
    filter: brightness(1.05);
    transform: scale(1.06);
    color: transparent !important;
}

.shopping-cart-inner .cart_list li a.remove:active,
.widget_shopping_cart .cart_list li a.remove:active,
.elementor-menu-cart__main .cart_list li a.remove:active {
    background: linear-gradient(to bottom, #a80000 0%, #d52a2a 100%) !important;
    box-shadow:
        inset 1px 1px 2px rgba(0,0,0,0.35),
        inset -1px -1px 0 rgba(255,255,255,0.18) !important;
    transform: scale(0.96);
}

.shopping-cart-inner .cart_list li a.remove:not(:hover),
.widget_shopping_cart .cart_list li a.remove:not(:hover),
.elementor-menu-cart__main .cart_list li a.remove:not(:hover) {
    color: transparent !important;
}

.shopping-cart-inner img.attachment-woocommerce_thumbnail,
.widget_shopping_cart img.attachment-woocommerce_thumbnail,
.elementor-menu-cart__main img.attachment-woocommerce_thumbnail,
.shopping-cart-inner .cart_list img,
.widget_shopping_cart .cart_list img,
.elementor-menu-cart__main .cart_list img {
    border-radius: 10px !important;
    overflow: hidden !important;
}


/* Slide to unlock / shimmer text */
.shimmer-text-wrap {
    text-align: center;
}

.shimmer-text {
    position: relative;
    display: inline-block;
    color: #000000;
    font-size: 25pt;
}

.shimmer-text::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: #ff8c1a;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(
        100deg,
        transparent 0%,
        transparent 35%,
        #000 50%,
        transparent 65%,
        transparent 100%
    );
            mask-image: linear-gradient(
        100deg,
        transparent 0%,
        transparent 35%,
        #000 50%,
        transparent 65%,
        transparent 100%
    );
    -webkit-mask-size: 250% 100%;
            mask-size: 250% 100%;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: 150% 0;
            mask-position: 150% 0;
    animation: shimmer-slide 2s linear infinite;
}

@keyframes shimmer-slide {
    0% {
        -webkit-mask-position: 150% 0;
        mask-position: 150% 0;
    }

    100% {
        -webkit-mask-position: -150% 0;
        mask-position: -150% 0;
    }
}


/* Keyframes partagées, utilisées par les blocs 8 et 9 : la différence from → to doit toujours faire 400 %. */
@keyframes gsSlowSweepLoop {
    from { background-position: 100% 0%; }
    to   { background-position: -300% 0%; }
}

/* Cartes infos livraison / bois : section réutilisable avec images */


/* Variables locales du composant */

.gs-info-section-v2 {
    --gs-info-v2-dark: #071019;
    --gs-info-v2-dark-soft: #09131d;
    --gs-info-v2-orange: #ff8733;
    --gs-info-v2-white: #ffffff;

    --gs-info-v2-max-width: 1220px;
    --gs-info-v2-top-gap: 46px;
    --gs-info-v2-grid-gap: 44px;

    --gs-info-v2-radius: 18px;
    --gs-info-v2-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);

    --gs-info-v2-wide-height: 150px;
    --gs-info-v2-card-height: 190px;

    --gs-info-v2-wide-padding-x: 46px;
    --gs-info-v2-wide-padding-y: 34px;

    --gs-info-v2-card-padding-x: 42px;
    --gs-info-v2-card-padding-y: 38px;

    /* Place réservée aux icônes */
    --gs-info-v2-icon-wide-size: 112px;
    --gs-info-v2-icon-size: 76px;

    --gs-info-v2-separator-height: 92px;
    --gs-info-v2-separator-gap-left: 32px;
    --gs-info-v2-separator-gap-right: 32px;

    --gs-info-v2-title-size: 25px;
    --gs-info-v2-title-wide-size: 34px;

    --gs-info-v2-text-size: 19px;
    --gs-info-v2-text-wide-size: 23px;

    --gs-info-v2-line-thick: 4.2;
    --gs-info-v2-line-thin: 2.5;

    width: 100% !important;
    max-width: var(--gs-info-v2-max-width) !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.gs-info-section-v2,
.gs-info-section-v2 * {
    box-sizing: border-box !important;
}


/* Grilles */

.gs-info-top-v2,
.gs-info-grid-v2 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.gs-info-top-v2 {
    gap: var(--gs-info-v2-top-gap) !important;
    margin-bottom: 70px !important;
}

.gs-info-grid-v2 {
    gap: var(--gs-info-v2-grid-gap) !important;
    max-width: 940px !important;
    margin: 0 auto !important;
}


/* Cartes */

.gs-info-card-v2 {
    display: flex !important;
    align-items: center !important;
    min-height: var(--gs-info-v2-card-height) !important;
    padding: var(--gs-info-v2-card-padding-y) var(--gs-info-v2-card-padding-x) !important;

    background:
        radial-gradient(circle at 12% 15%, rgba(255, 135, 51, 0.035), transparent 34%),
        linear-gradient(135deg, var(--gs-info-v2-dark-soft), var(--gs-info-v2-dark)) !important;

    border-radius: var(--gs-info-v2-radius) !important;
    box-shadow: var(--gs-info-v2-shadow) !important;
    overflow: hidden !important;
}

.gs-info-card-v2--wide {
    min-height: var(--gs-info-v2-wide-height) !important;
    padding: var(--gs-info-v2-wide-padding-y) var(--gs-info-v2-wide-padding-x) !important;
}


/* Emplacement fixe des icônes */

.gs-info-icon-v2 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;

    width: var(--gs-info-v2-icon-size) !important;
    min-width: var(--gs-info-v2-icon-size) !important;
    max-width: var(--gs-info-v2-icon-size) !important;

    height: var(--gs-info-v2-icon-size) !important;
    min-height: var(--gs-info-v2-icon-size) !important;
    max-height: var(--gs-info-v2-icon-size) !important;

    color: var(--gs-info-v2-orange) !important;
    line-height: 0 !important;
    overflow: visible !important;
}

.gs-info-card-v2--wide .gs-info-icon-v2 {
    width: var(--gs-info-v2-icon-wide-size) !important;
    min-width: var(--gs-info-v2-icon-wide-size) !important;
    max-width: var(--gs-info-v2-icon-wide-size) !important;

    height: var(--gs-info-v2-icon-wide-size) !important;
    min-height: var(--gs-info-v2-icon-wide-size) !important;
    max-height: var(--gs-info-v2-icon-wide-size) !important;

    margin-right: 30px !important;
}


/* Support icônes en image */

.gs-info-icon-v2 img,
.gs-info-icon-v2 picture {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.gs-info-icon-v2 img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}


/* Support SVG inline / fix The7 */

.gs-info-icon-v2 svg,
.gs-info-icon-v2 svg:not(:root) {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    overflow: visible !important;
}

.gs-info-icon-v2 svg * {
    vector-effect: non-scaling-stroke !important;
}


/* Styles des traits SVG inline */

.gs-svg-line-v2 {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: var(--gs-info-v2-line-thick) !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.gs-svg-line-thin-v2 {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: var(--gs-info-v2-line-thin) !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.gs-svg-fill-v2 {
    fill: currentColor !important;
    stroke: none !important;
}


/* Séparateur */

.gs-info-separator-v2 {
    flex: 0 0 auto !important;
    width: 1px !important;
    height: var(--gs-info-v2-separator-height) !important;
    margin-left: var(--gs-info-v2-separator-gap-left) !important;
    margin-right: var(--gs-info-v2-separator-gap-right) !important;
    background: var(--gs-info-v2-orange) !important;
    opacity: 0.85 !important;
}


/* Textes */

.gs-info-content-v2 h3 {
    margin: 0 !important;
    color: var(--gs-info-v2-white) !important;
    font-size: var(--gs-info-v2-title-size) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

.gs-info-content-v2 p {
    margin: 8px 0 0 !important;
    color: var(--gs-info-v2-orange) !important;
    font-size: var(--gs-info-v2-text-size) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.01em !important;
    text-transform: uppercase !important;
}

.gs-info-card-v2--wide .gs-info-content-v2 h3 {
    color: var(--gs-info-v2-orange) !important;
    font-size: var(--gs-info-v2-title-wide-size) !important;
    text-transform: none !important;
}

.gs-info-card-v2--wide .gs-info-content-v2 p {
    color: var(--gs-info-v2-white) !important;
    font-size: var(--gs-info-v2-text-wide-size) !important;
    text-transform: none !important;
}

.gs-info-card-v2--wide .gs-info-content-v2 a {
    color: var(--gs-info-v2-white) !important;
    text-decoration: none !important;
    font-weight: 800 !important;
}

.gs-info-card-v2--wide .gs-info-content-v2 a:hover {
    color: var(--gs-info-v2-orange) !important;
    text-decoration: underline !important;
}


/* Responsive tablette */

@media (max-width: 1024px) {
    .gs-info-section-v2 {
        --gs-info-v2-max-width: 920px;
        --gs-info-v2-top-gap: 26px;
        --gs-info-v2-grid-gap: 24px;

        --gs-info-v2-wide-padding-x: 34px;
        --gs-info-v2-wide-padding-y: 30px;

        --gs-info-v2-card-padding-x: 32px;
        --gs-info-v2-card-padding-y: 30px;

        --gs-info-v2-icon-wide-size: 88px;
        --gs-info-v2-icon-size: 64px;

        --gs-info-v2-title-wide-size: 28px;
        --gs-info-v2-title-size: 22px;

        --gs-info-v2-text-wide-size: 20px;
        --gs-info-v2-text-size: 17px;

        --gs-info-v2-separator-gap-left: 26px;
        --gs-info-v2-separator-gap-right: 26px;
    }

    .gs-info-grid-v2 {
        max-width: 760px !important;
    }

    .gs-info-top-v2 {
        margin-bottom: 46px !important;
    }
}


/* Responsive mobile */

@media (max-width: 767px) {
    .gs-info-section-v2 {
        --gs-info-v2-top-gap: 18px;
        --gs-info-v2-grid-gap: 18px;

        --gs-info-v2-wide-height: auto;
        --gs-info-v2-card-height: auto;

        --gs-info-v2-wide-padding-x: 24px;
        --gs-info-v2-wide-padding-y: 24px;

        --gs-info-v2-card-padding-x: 24px;
        --gs-info-v2-card-padding-y: 24px;

        --gs-info-v2-icon-wide-size: 68px;
        --gs-info-v2-icon-size: 54px;

        --gs-info-v2-title-wide-size: 24px;
        --gs-info-v2-title-size: 20px;

        --gs-info-v2-text-wide-size: 17px;
        --gs-info-v2-text-size: 16px;

        --gs-info-v2-separator-height: 68px;
        --gs-info-v2-separator-gap-left: 22px;
        --gs-info-v2-separator-gap-right: 22px;

        --gs-info-v2-line-thick: 3.8;
        --gs-info-v2-line-thin: 2.2;
    }

    .gs-info-top-v2,
    .gs-info-grid-v2 {
        grid-template-columns: 1fr !important;
    }

    .gs-info-top-v2 {
        margin-bottom: 28px !important;
    }

    .gs-info-card-v2 {
        width: 100% !important;
    }

    .gs-info-card-v2--wide .gs-info-icon-v2 {
        margin-right: 22px !important;
    }
}


/* Très petits écrans */

@media (max-width: 420px) {
    .gs-info-card-v2 {
        align-items: center !important;
    }

    .gs-info-content-v2 h3 {
        word-break: normal !important;
        overflow-wrap: normal !important;
    }
}


/* Variante fiche produit / zone étroite */

body.single-product .gs-info-section-v2,
.gs-info-section-v2--product {
    --gs-info-v2-max-width: 980px;

    --gs-info-v2-top-gap: 28px;
    --gs-info-v2-grid-gap: 18px;

    --gs-info-v2-wide-height: 170px;
    --gs-info-v2-card-height: 150px;

    --gs-info-v2-wide-padding-x: 42px;
    --gs-info-v2-wide-padding-y: 28px;

    --gs-info-v2-card-padding-x: 28px;
    --gs-info-v2-card-padding-y: 24px;

    --gs-info-v2-icon-wide-size: 125px;
    --gs-info-v2-icon-size: 58px;

    --gs-info-v2-title-wide-size: 32px;
    --gs-info-v2-text-wide-size: 22px;

    --gs-info-v2-title-size: 18px;
    --gs-info-v2-text-size: 15px;

    --gs-info-v2-separator-gap-left: 20px;
    --gs-info-v2-separator-gap-right: 20px;
}

/* Les 2 grandes cartes du haut passent en colonne pleine largeur */
body.single-product .gs-info-section-v2 .gs-info-top-v2,
.gs-info-section-v2--product .gs-info-top-v2 {
    grid-template-columns: 1fr !important;
    gap: var(--gs-info-v2-top-gap) !important;
    margin-bottom: 42px !important;
}

/* Les petites cartes restent en 2 colonnes */
body.single-product .gs-info-section-v2 .gs-info-grid-v2,
.gs-info-section-v2--product .gs-info-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 100% !important;
    gap: var(--gs-info-v2-grid-gap) !important;
}

/* Les grandes cartes ont assez de place pour le texte */
body.single-product .gs-info-section-v2 .gs-info-card-v2--wide,
.gs-info-section-v2--product .gs-info-card-v2--wide {
    width: 100% !important;
    max-width: 100% !important;
}

/* Zone texte flexible */
body.single-product .gs-info-section-v2 .gs-info-content-v2,
.gs-info-section-v2--product .gs-info-content-v2 {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

/* Interdit la casse sauvage des mots */
body.single-product .gs-info-section-v2 .gs-info-content-v2 h3,
body.single-product .gs-info-section-v2 .gs-info-content-v2 p,
body.single-product .gs-info-section-v2 .gs-info-content-v2 a,
.gs-info-section-v2--product .gs-info-content-v2 h3,
.gs-info-section-v2--product .gs-info-content-v2 p,
.gs-info-section-v2--product .gs-info-content-v2 a {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    text-overflow: clip !important;
    overflow: visible !important;
}

/* Réglage spécifique des grandes cartes */
body.single-product .gs-info-section-v2 .gs-info-card-v2--wide .gs-info-content-v2 h3,
.gs-info-section-v2--product .gs-info-card-v2--wide .gs-info-content-v2 h3 {
    font-size: var(--gs-info-v2-title-wide-size) !important;
    line-height: 1.12 !important;
}

body.single-product .gs-info-section-v2 .gs-info-card-v2--wide .gs-info-content-v2 p,
body.single-product .gs-info-section-v2 .gs-info-card-v2--wide .gs-info-content-v2 a,
.gs-info-section-v2--product .gs-info-card-v2--wide .gs-info-content-v2 p,
.gs-info-section-v2--product .gs-info-card-v2--wide .gs-info-content-v2 a {
    font-size: var(--gs-info-v2-text-wide-size) !important;
    line-height: 1.22 !important;
}

/* Réglage spécifique petites cartes */
body.single-product .gs-info-section-v2 .gs-info-grid-v2 .gs-info-content-v2 h3,
.gs-info-section-v2--product .gs-info-grid-v2 .gs-info-content-v2 h3 {
    font-size: var(--gs-info-v2-title-size) !important;
    line-height: 1.15 !important;
}

body.single-product .gs-info-section-v2 .gs-info-grid-v2 .gs-info-content-v2 p,
.gs-info-section-v2--product .gs-info-grid-v2 .gs-info-content-v2 p {
    font-size: var(--gs-info-v2-text-size) !important;
    line-height: 1.2 !important;
}

/* Mobile : toutes les cartes en une colonne */
@media (max-width: 767px) {
    body.single-product .gs-info-section-v2,
    .gs-info-section-v2--product {
        --gs-info-v2-wide-height: auto;
        --gs-info-v2-card-height: auto;

        --gs-info-v2-wide-padding-x: 24px;
        --gs-info-v2-wide-padding-y: 24px;

        --gs-info-v2-card-padding-x: 24px;
        --gs-info-v2-card-padding-y: 24px;

        --gs-info-v2-icon-wide-size: 86px;
        --gs-info-v2-icon-size: 54px;

        --gs-info-v2-title-wide-size: 25px;
        --gs-info-v2-text-wide-size: 18px;

        --gs-info-v2-title-size: 18px;
        --gs-info-v2-text-size: 15px;
    }

    body.single-product .gs-info-section-v2 .gs-info-grid-v2,
    .gs-info-section-v2--product .gs-info-grid-v2 {
        grid-template-columns: 1fr !important;
    }
}

.checkout-page-title nav {
  padding: 25px 50px;
}

.wc-ico-cart span.counter.hide-if-empty.custom-bg {
  font-weight: 700 !important;
}

/* Info quantité stères — fiche produit */

body.single-product .gs-steres-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    max-width: 520px;
    margin: 14px 0 22px 0;
    padding: 14px 18px;

    background: #f7f3ee;
    border: 1px solid rgba(72, 60, 50, 0.18);
    border-left: 5px solid var(--color-brown, #483c32);
    border-radius: 14px;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

body.single-product .gs-steres-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 26px;
    width: 26px;
    height: 26px;

    margin-top: 2px;

    background: var(--color-brown, #483c32);
    color: #ffffff;

    border-radius: 999px;

    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

body.single-product .gs-steres-info-content {
    flex: 1 1 auto;
    min-width: 0;
}

body.single-product .gs-steres-info-title {
    margin: 0 0 4px 0;

    color: var(--color-brown, #483c32);

    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}

body.single-product .gs-steres-info-text {
    margin: 0;

    color: #3a332d;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}

@media (max-width: 767px) {
    body.single-product .gs-steres-info-card {
        max-width: 100%;
        margin: 12px 0 20px 0;
        padding: 13px 15px;
        border-radius: 12px;
    }

    body.single-product .gs-steres-info-title {
        font-size: 15px;
    }

    body.single-product .gs-steres-info-text {
        font-size: 13px;
    }
}

/* Message ajout panier — texte + bouton poursuite design */

body .woocommerce-message .gs-added-cart-message-content {
    display: block !important;
    margin: 0 0 18px 0 !important;

    font-size: 20px !important;
    line-height: 1.45 !important;
}

body .woocommerce-message .gs-added-cart-line {
    display: block !important;
    line-height: 1.45 !important;
}

body .woocommerce-message .gs-added-cart-line strong {
    color: #f2b544 !important;
    font-size: 22px !important;
    font-weight: 900 !important;
}

body .woocommerce-message .gs-added-cart-line a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 800 !important;
}

body .woocommerce-message .gs-added-cart-line a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

body .woocommerce-message .gs-added-cart-basket-text {
    display: block !important;
    margin-top: 10px !important;

    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

body .woocommerce-message .gs-added-cart-actions {
    display: block !important;
    margin-top: 22px !important;
}

/* Bouton état normal */
body .woocommerce-message .gs-added-cart-actions a,
body .woocommerce-message .gs-added-cart-actions a.button,
body .woocommerce-message .gs-added-cart-actions a.wc-forward,
body .woocommerce-message .gs-added-cart-actions .button.wc-forward {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 240px !important;
    min-height: 48px !important;

    padding: 13px 28px !important;
    margin: 0 !important;

    background-color: #f7f3ee !important;
    background-image: none !important;
    color: #483c32 !important;

    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-left: 6px solid #f2b544 !important;
    border-radius: 16px !important;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22) !important;

    font-family: Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;

    opacity: 1 !important;
    visibility: visible !important;

    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease !important;
}

/* Bouton hover — anti-disparition The7 */
body .woocommerce-message .gs-added-cart-actions a:hover,
body .woocommerce-message .gs-added-cart-actions a.button:hover,
body .woocommerce-message .gs-added-cart-actions a.wc-forward:hover,
body .woocommerce-message .gs-added-cart-actions .button.wc-forward:hover {
    background-color: #ffffff !important;
    background-image: none !important;
    color: #483c32 !important;

    border-color: rgba(255, 255, 255, 0.65) !important;
    border-left-color: #f2b544 !important;

    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;

    transform: translateY(-1px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28) !important;
}

/* Texte interne forcé si The7 injecte un span */
body .woocommerce-message .gs-added-cart-actions a *,
body .woocommerce-message .gs-added-cart-actions a.button *,
body .woocommerce-message .gs-added-cart-actions a.wc-forward * {
    color: #483c32 !important;
}

body .woocommerce-message .gs-added-cart-actions a:active,
body .woocommerce-message .gs-added-cart-actions a.button:active,
body .woocommerce-message .gs-added-cart-actions a.wc-forward:active {
    transform: translateY(0) scale(0.99) !important;
}

@media (max-width: 767px) {
    body .woocommerce-message .gs-added-cart-message-content {
        font-size: 18px !important;
    }

    body .woocommerce-message .gs-added-cart-line strong {
        font-size: 20px !important;
    }

    body .woocommerce-message .gs-added-cart-actions a,
    body .woocommerce-message .gs-added-cart-actions a.button,
    body .woocommerce-message .gs-added-cart-actions a.wc-forward {
        width: 100% !important;
        min-width: 0 !important;
        font-size: 16px !important;
    }
}

/*
 * Fix hover du bouton « Poursuivre les achats » : anti-The7 / anti-WooCommerce, empêche le bouton
 * de disparaître au survol.
 */

html body#the7-body #page #main #content .woocommerce-message .woocommerce-message-text .gs-added-cart-actions > a.button.wc-forward,
html body#the7-body #page #main #content .woocommerce-message .woocommerce-message-text .gs-added-cart-actions > a.button.wc-forward:link,
html body#the7-body #page #main #content .woocommerce-message .woocommerce-message-text .gs-added-cart-actions > a.button.wc-forward:visited {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 240px !important;
    min-height: 48px !important;
    padding: 13px 28px !important;

    background: #f7f3ee !important;
    background-color: #f7f3ee !important;
    background-image: none !important;

    color: #483c32 !important;
    -webkit-text-fill-color: #483c32 !important;

    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-left: 6px solid #f2b544 !important;
    border-radius: 16px !important;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22) !important;

    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;

    opacity: 1 !important;
    visibility: visible !important;
}

/* HOVER / FOCUS — on force TOUT */
html body#the7-body #page #main #content .woocommerce-message .woocommerce-message-text .gs-added-cart-actions > a.button.wc-forward:hover,
html body#the7-body #page #main #content .woocommerce-message .woocommerce-message-text .gs-added-cart-actions > a.button.wc-forward:focus,
html body#the7-body #page #main #content .woocommerce-message .woocommerce-message-text .gs-added-cart-actions > a.button.wc-forward:active {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;

    color: #483c32 !important;
    -webkit-text-fill-color: #483c32 !important;

    border: 1px solid rgba(255, 255, 255, 0.65) !important;
    border-left: 6px solid #f2b544 !important;
    border-radius: 16px !important;

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28) !important;

    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;

    transform: translateY(-1px) !important;
}

/* Si The7 injecte un span ou une couleur interne */
html body#the7-body #page #main #content .woocommerce-message .woocommerce-message-text .gs-added-cart-actions > a.button.wc-forward *,
html body#the7-body #page #main #content .woocommerce-message .woocommerce-message-text .gs-added-cart-actions > a.button.wc-forward:hover *,
html body#the7-body #page #main #content .woocommerce-message .woocommerce-message-text .gs-added-cart-actions > a.button.wc-forward:focus *,
html body#the7-body #page #main #content .woocommerce-message .woocommerce-message-text .gs-added-cart-actions > a.button.wc-forward:active * {
    color: #483c32 !important;
    -webkit-text-fill-color: #483c32 !important;
}

/* Sécurité : neutralise les overlays éventuels du thème */
html body#the7-body #page #main #content .woocommerce-message .woocommerce-message-text .gs-added-cart-actions > a.button.wc-forward::before,
html body#the7-body #page #main #content .woocommerce-message .woocommerce-message-text .gs-added-cart-actions > a.button.wc-forward::after {
    display: none !important;
    content: none !important;
}

/* Footer final — bloc bas de page */

.gs-footer-bottom-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 14px;

    margin: 0 auto;
    padding: 10px 0 0;

    text-align: center;
}

.gs-footer-bottom-custom p {
    margin: 0 !important;
}


/* Liens légaux */
.gs-footer-legal-links {
    font-family: var(--font-main) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    color: rgba(255, 255, 255, 0.88) !important;
    text-align: center !important;
    white-space: nowrap !important;
}

/* Le thème parent force display:block sur les liens du footer, ce qui
   empilait les 4 liens et leurs séparateurs. On les remet en ligne. */
.gs-footer-legal-links a,
.gs-footer-legal-links span {
    display: inline !important;
    width: auto !important;
    float: none !important;
}


/* Copyright */
.gs-footer-copyright {
    font-family: var(--font-main) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    text-align: center !important;
}


/* Pilule crédit */
.gs-footer-credit-wrap {
    display: flex;
    justify-content: center;
    align-items: center;

    margin: 4px auto 0;
    text-align: center;
}

.gs-footer-credit-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    max-width: 100%;
    padding: 8px 15px;

    background: rgba(247, 243, 238, 0.08);
    border: 1px solid rgba(247, 243, 238, 0.18);
    border-radius: 999px;

    color: rgba(255, 255, 255, 0.78) !important;
    font-family: var(--font-main) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        background-color 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.gs-footer-credit-pill:hover {
    background: rgba(244, 136, 48, 0.14);
    border-color: rgba(244, 136, 48, 0.34);
    color: #ffffff !important;
    text-decoration: none !important;

    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.20);
}

.gs-footer-credit-label {
    opacity: 0.72;
    letter-spacing: 0.02em;
}

.gs-footer-credit-name {
    color: #f4a45c;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.gs-footer-credit-pill:hover .gs-footer-credit-name {
    color: #f7c27e;
}


/* Signature technique — discrète, alignée à gauche */
.gs-footer-signature {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-self: flex-start;
    justify-content: flex-start;
    gap: 3px 6px;

    max-width: 100%;
    margin-top: 2px !important;

    font-family: var(--font-main) !important;
    font-size: 9px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: rgba(255, 255, 255, 0.3) !important;
    text-align: left !important;
}

.gs-footer-signature-logo {
    display: inline-block;
    width: 17px;
    height: auto;
    margin: 0 2px 0 0;
    vertical-align: middle;
    opacity: 0.75;
}


/* Mobile */
@media (max-width: 767px) {
    .gs-footer-bottom-custom {
        gap: 12px;
        padding-top: 8px;
    }

    .gs-footer-legal-links,
    .gs-footer-copyright {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    .gs-footer-legal-links {
        white-space: normal !important;
    }

    .gs-footer-credit-pill {
        flex-wrap: wrap;
        gap: 5px;
        padding: 8px 13px;
        font-size: 11px !important;
    }

    .gs-footer-signature {
        max-width: 100%;
        font-size: 9px !important;
        gap: 4px 6px;
    }
}

/* Formulaire CF7 facture : formulaire court nom / prénom / e-mail / téléphone. */

.gs-cf7-invoice-form-v1 {
    --gs-invoice-bg: #f5f1ea;
    --gs-invoice-card: #ffffff;
    --gs-invoice-card-soft: #fbf8f3;
    --gs-invoice-text: #302822;
    --gs-invoice-muted: #776a5f;
    --gs-invoice-border: rgba(93, 75, 61, 0.18);
    --gs-invoice-border-strong: rgba(93, 75, 61, 0.28);
    --gs-invoice-main: #5b4638;
    --gs-invoice-main-dark: #3f3027;
    --gs-invoice-accent: #c89b54;
    --gs-invoice-accent-soft: #fff4dd;
    --gs-invoice-focus: rgba(200, 155, 84, 0.24);
    --gs-invoice-shadow: 0 18px 45px rgba(47, 35, 29, 0.10);

    max-width: 760px;
    margin: 0 auto;
    padding: 26px 28px;
    background:
        radial-gradient(circle at top left, rgba(200, 155, 84, 0.14), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, var(--gs-invoice-bg) 100%);
    border: 1px solid var(--gs-invoice-border);
    border-radius: 26px;
    box-shadow: var(--gs-invoice-shadow);
    color: var(--gs-invoice-text);
}

/* Neutralise les <p> auto-générés par CF7 et les marges héritées de The7. */
.gs-cf7-invoice-form-v1 p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Intro */
.gs-cf7-invoice-intro-v1 {
    margin: 0 0 18px 0;
    padding: 18px 20px;
    background: linear-gradient(135deg, #fffaf1 0%, #f4ead8 100%);
    border: 1px solid rgba(200, 155, 84, 0.28);
    border-left: 8px solid var(--gs-invoice-accent);
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(47, 35, 29, 0.06);
}

.gs-cf7-invoice-intro-v1 p {
    margin: 0 !important;
}

.gs-cf7-invoice-intro-v1 .gs-cf7-kicker-v1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 8px 0 !important;
    padding: 7px 12px;
    background: var(--gs-invoice-accent-soft);
    border: 1px solid rgba(200, 155, 84, 0.35);
    border-radius: 999px;
    color: #7a5521;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.gs-cf7-invoice-intro-v1 .gs-cf7-title-v1 {
    margin: 0 0 6px 0 !important;
    color: var(--gs-invoice-main-dark);
    font-size: 26px;
    font-weight: 900;
    line-height: 1.15;
}

.gs-cf7-invoice-intro-v1 .gs-cf7-text-v1 {
    max-width: 620px;
    margin: 0 !important;
    color: var(--gs-invoice-muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

/* Espacement compact */
.gs-cf7-invoice-form-v1 .gs-cf7-row-v1 {
    margin-bottom: 10px;
}

.gs-cf7-invoice-form-v1 .gs-cf7-row-two-v1 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gs-cf7-invoice-form-v1 label {
    display: block;
    margin: 0 !important;
}

.gs-cf7-invoice-form-v1 label > span {
    display: block;
    margin: 0 0 4px 0;
    color: var(--gs-invoice-main-dark);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

/* Wrapper CF7 .wpcf7-form-control-wrap — neutralise espace interne */
.gs-cf7-invoice-form-v1 .wpcf7-form-control-wrap {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}

/* Champs, un peu plus compacts */
.gs-cf7-invoice-form-v1 input[type="text"],
.gs-cf7-invoice-form-v1 input[type="email"],
.gs-cf7-invoice-form-v1 input[type="tel"],
.gs-cf7-invoice-form-v1 select,
.gs-cf7-invoice-form-v1 textarea {
    width: 100% !important;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px 14px !important;
    background: var(--gs-invoice-card) !important;
    border: 1px solid var(--gs-invoice-border-strong) !important;
    border-radius: 13px !important;
    box-shadow: 0 7px 18px rgba(47, 35, 29, 0.04) !important;
    color: var(--gs-invoice-text) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    outline: none !important;
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease,
        transform 0.22s ease;
}

.gs-cf7-invoice-form-v1 input::placeholder,
.gs-cf7-invoice-form-v1 textarea::placeholder {
    color: rgba(119, 106, 95, 0.68) !important;
}

.gs-cf7-invoice-form-v1 input[type="text"]:focus,
.gs-cf7-invoice-form-v1 input[type="email"]:focus,
.gs-cf7-invoice-form-v1 input[type="tel"]:focus,
.gs-cf7-invoice-form-v1 select:focus,
.gs-cf7-invoice-form-v1 textarea:focus {
    background: #ffffff !important;
    border-color: var(--gs-invoice-accent) !important;
    box-shadow:
        0 0 0 4px var(--gs-invoice-focus),
        0 10px 24px rgba(47, 35, 29, 0.07) !important;
    transform: translateY(-1px);
}

/* RGPD sur une seule ligne */
.gs-cf7-invoice-consent-v1 {
    margin: 2px 0 14px 0;
    padding: 12px 14px;
    background: var(--gs-invoice-card-soft);
    border: 1px solid var(--gs-invoice-border);
    border-radius: 16px;
    color: var(--gs-invoice-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.gs-cf7-invoice-consent-v1 .wpcf7-form-control-wrap,
.gs-cf7-invoice-consent-v1 .wpcf7-form-control,
.gs-cf7-invoice-consent-v1 .wpcf7-list-item,
.gs-cf7-invoice-consent-v1 label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin: 0 !important;
}

.gs-cf7-invoice-consent-v1 input[type="checkbox"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 2px 0 0 0 !important;
}

.gs-cf7-invoice-consent-v1 .wpcf7-list-item-label {
    display: inline !important;
}

/* Bouton */
.gs-cf7-invoice-submit-zone-v1 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4px;
}

.gs-cf7-invoice-form-v1 input[type="submit"],
.gs-cf7-invoice-form-v1 .wpcf7-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 230px;
    min-height: 54px;
    padding: 15px 30px !important;
    background: linear-gradient(135deg, var(--gs-invoice-main-dark) 0%, var(--gs-invoice-main) 48%, var(--gs-invoice-accent) 100%) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 14px 30px rgba(63, 48, 39, 0.28) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    cursor: pointer !important;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        filter 0.22s ease !important;
}

.gs-cf7-invoice-form-v1 input[type="submit"]:hover,
.gs-cf7-invoice-form-v1 .wpcf7-submit:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(63, 48, 39, 0.34) !important;
}

/* Messages CF7 */
.gs-cf7-invoice-form-v1 .wpcf7-not-valid-tip {
    margin-top: 4px;
    color: #b83a22;
    font-size: 13px;
    font-weight: 700;
}

.gs-cf7-invoice-form-v1 .wpcf7-response-output {
    margin: 14px 0 0 0 !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}

/* Responsive */
@media (max-width: 767px) {
    .gs-cf7-invoice-form-v1 {
        padding: 20px 16px;
        border-radius: 22px;
    }

    .gs-cf7-invoice-intro-v1 {
        padding: 16px;
        border-radius: 18px;
    }

    .gs-cf7-invoice-intro-v1 .gs-cf7-title-v1 {
        font-size: 22px;
    }

    .gs-cf7-invoice-form-v1 .gs-cf7-row-two-v1 {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gs-cf7-invoice-form-v1 .gs-cf7-row-v1 {
        margin-bottom: 8px;
    }

    .gs-cf7-invoice-form-v1 input[type="submit"],
    .gs-cf7-invoice-form-v1 .wpcf7-submit {
        width: 100%;
        min-width: 0;
    }
}

/* CF7 : message de confirmation */

/* Neutralise le style popup/flottant hérité sur les messages CF7 */
#page .wpcf7 form .wpcf7-response-output,
#page .wpcf7 form.sent .wpcf7-response-output,
#page .wpcf7 form.invalid .wpcf7-response-output,
#page .wpcf7 form.failed .wpcf7-response-output,
#page .wpcf7 form.aborted .wpcf7-response-output,
#page .wpcf7 form.spam .wpcf7-response-output,
#page .wpcf7 form.unaccepted .wpcf7-response-output,
#page .wpcf7 form.payment-required .wpcf7-response-output {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;

    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;

    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;

    margin: 18px 0 0 0 !important;
    padding: 16px 18px !important;

    border-radius: 18px !important;
    border: 1px solid rgba(72, 60, 50, 0.16) !important;

    background: #f7f3ee !important;
    color: #3f3027 !important;

    font-family: var(--font-main, Arial, sans-serif) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    text-align: left !important;

    box-shadow: 0 12px 30px rgba(47, 35, 29, 0.08) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Icône commune */
#page .wpcf7 form .wpcf7-response-output::before {
    content: "";
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
}

/* Succès */
#page .wpcf7 form.sent .wpcf7-response-output {
    background: linear-gradient(135deg, #f7f3ee 0%, #eef7ea 100%) !important;
    border-color: rgba(47, 143, 15, 0.28) !important;
    color: #2f4f25 !important;
}

#page .wpcf7 form.sent .wpcf7-response-output::before {
    background-color: #2f8f0f;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    box-shadow: 0 8px 18px rgba(47, 143, 15, 0.22);
}

/* Erreur / champ manquant */
#page .wpcf7 form.invalid .wpcf7-response-output,
#page .wpcf7 form.unaccepted .wpcf7-response-output,
#page .wpcf7 form.spam .wpcf7-response-output,
#page .wpcf7 form.failed .wpcf7-response-output,
#page .wpcf7 form.aborted .wpcf7-response-output,
#page .wpcf7 form.payment-required .wpcf7-response-output {
    background: linear-gradient(135deg, #fff8ec 0%, #f7f3ee 100%) !important;
    border-color: rgba(244, 136, 48, 0.35) !important;
    color: #6a4523 !important;
}

#page .wpcf7 form.invalid .wpcf7-response-output::before,
#page .wpcf7 form.unaccepted .wpcf7-response-output::before,
#page .wpcf7 form.spam .wpcf7-response-output::before,
#page .wpcf7 form.failed .wpcf7-response-output::before,
#page .wpcf7 form.aborted .wpcf7-response-output::before,
#page .wpcf7 form.payment-required .wpcf7-response-output::before {
    background-color: #f48830;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8v5'/%3E%3Cpath d='M12 17h.01'/%3E%3Cpath d='M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0Z'/%3E%3C/svg%3E");
    box-shadow: 0 8px 18px rgba(244, 136, 48, 0.22);
}

/* Texte d'erreur sous les champs */
#page .wpcf7 .wpcf7-not-valid-tip {
    display: block !important;
    margin: 7px 0 0 0 !important;
    padding: 0 !important;
    color: #b84d1f !important;
    font-family: var(--font-main, Arial, sans-serif) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

/* Mobile */
@media (max-width: 767px) {
    #page .wpcf7 form .wpcf7-response-output,
    #page .wpcf7 form.sent .wpcf7-response-output,
    #page .wpcf7 form.invalid .wpcf7-response-output,
    #page .wpcf7 form.failed .wpcf7-response-output,
    #page .wpcf7 form.aborted .wpcf7-response-output,
    #page .wpcf7 form.spam .wpcf7-response-output,
    #page .wpcf7 form.unaccepted .wpcf7-response-output,
    #page .wpcf7 form.payment-required .wpcf7-response-output {
        gap: 10px !important;
        margin-top: 16px !important;
        padding: 14px 15px !important;
        border-radius: 16px !important;
        font-size: 14px !important;
    }

    #page .wpcf7 form .wpcf7-response-output::before {
        flex-basis: 24px;
        width: 24px;
        height: 24px;
        background-size: 14px 14px;
    }
}

/* CF7 : messages de retour du formulaire, masqués par défaut et visibles seulement après une action CF7. */

/* État initial : aucun cadre vide sous le formulaire */
#page .wpcf7 form.init .wpcf7-response-output,
#page .wpcf7 form .wpcf7-response-output[aria-hidden="true"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

/* Base commune des messages visibles */
#page .wpcf7 form.sent .wpcf7-response-output,
#page .wpcf7 form.invalid .wpcf7-response-output,
#page .wpcf7 form.failed .wpcf7-response-output,
#page .wpcf7 form.aborted .wpcf7-response-output,
#page .wpcf7 form.spam .wpcf7-response-output,
#page .wpcf7 form.unaccepted .wpcf7-response-output,
#page .wpcf7 form.payment-required .wpcf7-response-output {
  position: static !important;
  inset: auto !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;

  width: calc(100% - 48px) !important;
  max-width: 1080px !important;
  min-height: 64px !important;

  margin: 28px auto 0 !important;
  padding: 18px 28px !important;

  border-radius: 24px !important;
  text-align: center !important;

  font-family: var(--font-main, Arial, sans-serif) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;

  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

/* Succès : belle carte verte claire */
#page .wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid rgba(47, 143, 76, 0.28) !important;
  background:
    linear-gradient(135deg, rgba(239, 252, 244, 0.98) 0%, rgba(218, 246, 229, 0.96) 100%) !important;
  color: #245f35 !important;
  box-shadow:
    0 18px 42px rgba(38, 118, 67, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
}

/* Icône validation */
#page .wpcf7 form.sent .wpcf7-response-output::before {
  content: "✓" !important;
  flex: 0 0 auto !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;

  background: linear-gradient(135deg, #1f8f45 0%, #43b866 100%) !important;
  color: #ffffff !important;

  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1 !important;

  box-shadow:
    0 10px 24px rgba(31, 143, 69, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

/* Texte interne CF7 */
#page .wpcf7 form.sent .wpcf7-response-output .wpcf7-valid-tip-text,
#page .wpcf7 form.sent .wpcf7-response-output > div,
#page .wpcf7 form.sent .wpcf7-response-output {
  text-align: center !important;
}

/* Texte de succès : empêche l'effet collé au bord */
#page .wpcf7 form.sent .wpcf7-response-output .wpcf7-valid-tip-text {
  display: block !important;
  max-width: 860px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #245f35 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

/* Erreurs / refus : garde une carte propre mais pas verte */
#page .wpcf7 form.invalid .wpcf7-response-output,
#page .wpcf7 form.failed .wpcf7-response-output,
#page .wpcf7 form.aborted .wpcf7-response-output,
#page .wpcf7 form.spam .wpcf7-response-output,
#page .wpcf7 form.unaccepted .wpcf7-response-output,
#page .wpcf7 form.payment-required .wpcf7-response-output {
  border: 1px solid rgba(166, 88, 42, 0.28) !important;
  background:
    linear-gradient(135deg, rgba(255, 247, 238, 0.98) 0%, rgba(250, 232, 211, 0.95) 100%) !important;
  color: #7a3d20 !important;
  box-shadow:
    0 18px 42px rgba(96, 54, 32, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
}

/* Responsive mobile */
@media (max-width: 767px) {
  #page .wpcf7 form.sent .wpcf7-response-output,
  #page .wpcf7 form.invalid .wpcf7-response-output,
  #page .wpcf7 form.failed .wpcf7-response-output,
  #page .wpcf7 form.aborted .wpcf7-response-output,
  #page .wpcf7 form.spam .wpcf7-response-output,
  #page .wpcf7 form.unaccepted .wpcf7-response-output,
  #page .wpcf7 form.payment-required .wpcf7-response-output {
    width: 100% !important;
    margin-top: 22px !important;
    padding: 16px 18px !important;
    border-radius: 20px !important;
    flex-direction: column !important;
    gap: 10px !important;
    font-size: 15px !important;
  }

  #page .wpcf7 form.sent .wpcf7-response-output .wpcf7-valid-tip-text {
    font-size: 15px !important;
  }
}

/* Processus de commande : titre externe centré + panneau WPBakery propre. */


/* 1. variables */

body .purchase-process {
    --process-background: #f7f3eb;
    --process-card: #fffdf9;
    --process-border: #ded5c8;
    --process-title: #302820;
    --process-text: #403a34;
    --process-green: #496f45;
    --process-green-dark: #385535;
    --process-green-light: #e7f0e4;
}


/* 2. titre externe */

body .purchase-process-title-row {
    margin-top: 32px !important;
    margin-bottom: 26px !important;
}

body .purchase-process__title {
    margin-bottom: 0;
}

body .purchase-process__title .wpb_wrapper {
    text-align: center;
}

body .purchase-process__title h2 {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 20px;
    color: #302820;
    font-family: inherit;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -0.025em;
    text-align: center;
    text-transform: none;
}

body .purchase-process__title h2::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 82px;
    height: 3px;
    content: "";
    background-color: #496f45;
    border-radius: 10px;
    transform: translateX(-50%);
}


/* 3. panneau principal */

body .purchase-process-row {
    margin-bottom: 36px !important;
}

body .purchase-process > .vc_column-inner > .wpb_wrapper {
    padding: clamp(30px, 4vw, 54px);
    background-color: var(--process-background);
    border: 1px solid var(--process-border);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(55, 43, 31, 0.08);
}


/* 4. grille */

body .purchase-process .purchase-process__grid {
    margin-bottom: 0;
}

body .purchase-process .purchase-step > .vc_column-inner {
    height: 100%;
}


/* 5. cartes */

body .purchase-process .purchase-step > .vc_column-inner > .wpb_wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100%;
    min-height: 330px;
    padding: clamp(26px, 3vw, 36px) clamp(20px, 2.5vw, 28px);
    box-sizing: border-box;
    background-color: var(--process-card);
    border: 1px solid var(--process-border);
    border-radius: 16px;
    box-shadow: 0 7px 18px rgba(55, 43, 31, 0.06);
}

body .purchase-process .purchase-step .wpb_text_column {
    display: flex;
    width: 100%;
    margin-bottom: 0;
}

body .purchase-process .purchase-step .wpb_text_column > .wpb_wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    text-align: center;
}


/* 6. numéros */

body .purchase-process .purchase-step__number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    margin: 0 auto 26px;
    color: #ffffff;
    background-color: var(--process-green);
    border: 5px solid var(--process-green-light);
    border-radius: 50%;
    font-family: inherit;
    font-size: 34px;
    font-weight: 750;
    line-height: 1;
}


/* 7. textes des cartes */

body .purchase-process .purchase-step__heading {
    margin: 0 0 14px;
    color: var(--process-title);
    font-family: inherit;
    font-size: clamp(21px, 2vw, 25px);
    font-weight: 750;
    line-height: 1.25;
}

body .purchase-process .purchase-step__text {
    margin: 0;
    color: var(--process-text);
    font-family: inherit;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
}


/* 8. notice */

body .purchase-process .purchase-process__notice {
    max-width: 900px;
    margin: clamp(28px, 4vw, 40px) auto 0;
    padding: 17px 22px;
    box-sizing: border-box;
    color: var(--process-green-dark);
    background-color: var(--process-green-light);
    border: 1px solid #cbdcc6;
    border-radius: 12px;
}

body .purchase-process .purchase-process__notice > .wpb_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

body .purchase-process .purchase-process__notice > .wpb_wrapper::before {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    content: "✓";
    color: #ffffff;
    background-color: var(--process-green);
    border-radius: 50%;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

body .purchase-process .purchase-process__notice p {
    margin: 0;
    color: inherit;
    font-size: 17px;
    line-height: 1.55;
    text-align: left;
}


/* 9. bouton */

body .purchase-process .purchase-process__button {
    margin-top: 28px;
    margin-bottom: 0;
    text-align: center;
}

body .purchase-process .purchase-process__button .vc_btn3 {
    min-height: 54px;
    padding: 15px 30px;
    color: #ffffff !important;
    background-color: var(--process-green) !important;
    background-image: none !important;
    border: 1px solid var(--process-green) !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none !important;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

body .purchase-process .purchase-process__button .vc_btn3:hover,
body .purchase-process .purchase-process__button .vc_btn3:focus-visible {
    color: #ffffff !important;
    background-color: var(--process-green-dark) !important;
    border-color: var(--process-green-dark) !important;
    transform: translateY(-2px);
}


/* 10. tablette */

@media screen and (max-width: 900px) {

    body .purchase-process .purchase-process__grid > .purchase-step {
        float: none;
        width: 100%;
    }

    body .purchase-process .purchase-process__grid > .purchase-step + .purchase-step {
        margin-top: 22px;
    }

    body .purchase-process .purchase-step > .vc_column-inner > .wpb_wrapper {
        min-height: 0;
    }
}


/* 11. mobile */

@media screen and (max-width: 767px) {

    body .purchase-process-title-row {
        margin-top: 26px !important;
        margin-bottom: 22px !important;
    }

    body .purchase-process__title h2 {
        padding-bottom: 17px;
        font-size: 29px;
    }

    body .purchase-process > .vc_column-inner > .wpb_wrapper {
        padding: 28px 18px;
        border-radius: 14px;
    }

    body .purchase-process .purchase-step > .vc_column-inner > .wpb_wrapper {
        padding: 26px 20px;
    }

    body .purchase-process .purchase-step__number {
        width: 64px;
        height: 64px;
        margin-bottom: 22px;
        font-size: 30px;
    }

    body .purchase-process .purchase-process__notice {
        padding: 16px 17px;
    }

    body .purchase-process .purchase-process__notice > .wpb_wrapper {
        align-items: flex-start;
    }

    body .purchase-process .purchase-process__notice p {
        font-size: 16px;
    }

    body .purchase-process .purchase-process__button .vc_btn3 {
        display: block;
        width: 100%;
        max-width: 100%;
    }
}
