/*
 * Panier WooCommerce
 * Table panier, quantité, cartes panier, corbeille, bouton de validation et panier vide.
 * Author: EcareWeb
 * 2026
 */

/* Panier WooCommerce — miniatures / entêtes / alignements */
.woocommerce-cart-form__contents td.product-thumbnail,
.shop_table.cart td.product-thumbnail {
    width: 1% !important;
    white-space: nowrap !important;
    padding-right: 20px !important;
    vertical-align: middle !important;
}

.woocommerce-cart-form__contents td.product-thumbnail a,
.shop_table.cart td.product-thumbnail a {
    display: inline-block !important;
}

.woocommerce-cart-form__contents td.product-thumbnail img,
.shop_table.cart td.product-thumbnail img {
    display: block !important;
    height: auto !important;
    max-width: 300px !important;
}

.woocommerce-cart-form__contents thead th,
.shop_table.cart thead th {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #000000 !important;
}

.woocommerce-cart-form__contents td,
.shop_table.cart td {
    vertical-align: top !important;
}

.woocommerce-cart-form__contents td.product-name,
.woocommerce-cart-form__contents td.product-price,
.woocommerce-cart-form__contents td.product-quantity,
.woocommerce-cart-form__contents td.product-subtotal,
.shop_table.cart td.product-name,
.shop_table.cart td.product-price,
.shop_table.cart td.product-quantity,
.shop_table.cart td.product-subtotal {
    vertical-align: top !important;
}

.gs-cart-product-choice-label {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    color: #666666;
}

.gs-cart-product-category {
    margin-top: 2px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    color: #F48830;
}


/* Panier : alignement + / - / champ quantité */
.woocommerce-cart-form__contents td.product-quantity .quantity.buttons_added,
.shop_table.cart td.product-quantity .quantity.buttons_added {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.woocommerce-cart-form__contents td.product-quantity .quantity .minus,
.woocommerce-cart-form__contents td.product-quantity .quantity .plus,
.shop_table.cart td.product-quantity .quantity .minus,
.shop_table.cart td.product-quantity .quantity .plus {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    background: #483c32 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    vertical-align: middle !important;
}

.woocommerce-cart-form__contents td.product-quantity .quantity input.qty,
.woocommerce-cart-form__contents td.product-quantity .quantity .input-text.qty,
.shop_table.cart td.product-quantity .quantity input.qty,
.shop_table.cart td.product-quantity .quantity .input-text.qty {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 90px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    background: #ffffff !important;
    border: 2px solid #483c32 !important;
    border-radius: 8px !important;
    color: #483c32 !important;
    text-align: center !important;
    font-size: 16pt !important;
    font-weight: 700 !important;
    line-height: 44px !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

.woocommerce-cart-form__contents td.product-quantity .quantity .minus::before,
.woocommerce-cart-form__contents td.product-quantity .quantity .plus::before,
.shop_table.cart td.product-quantity .quantity .minus::before,
.shop_table.cart td.product-quantity .quantity .plus::before {
    line-height: 1 !important;
}

.woocommerce-cart-form__contents td.product-quantity .quantity .minus:hover,
.woocommerce-cart-form__contents td.product-quantity .quantity .plus:hover,
.shop_table.cart td.product-quantity .quantity .minus:hover,
.shop_table.cart td.product-quantity .quantity .plus:hover {
    opacity: 0.9 !important;
}

.woocommerce-cart .woocommerce-cart-form [name="update_cart"] {
    display: none !important;
}


/* Cartes info panier — base + variantes */
.gs-info-box-panier,
.gs-info-box-info-orange {
    max-width: var(--info-box-max-width);
    margin: 0 auto;
    padding: var(--info-box-padding-desktop);
    background: #ffffff;
    border: 1px solid var(--info-box-border-color);
    border-radius: var(--info-box-radius-desktop);
    box-shadow: var(--shadow-card-soft);
}

.gs-info-box-panier .gs-info-box-title,
.gs-info-box-info-orange .gs-info-box-title {
    display: block;
    margin: 0 0 18px;
    font-size: var(--info-box-title-size-desktop);
    line-height: 1.3;
    font-weight: 800;
    text-align: left;
    text-wrap: balance;
}

.gs-info-box-panier .gs-info-box-text,
.gs-info-box-info-orange .gs-info-box-text {
    margin: 0;
    font-size: var(--info-box-text-size-desktop);
    line-height: 1.7;
    font-weight: 400;
    color: var(--info-box-text-color);
    text-align: left;
    text-wrap: pretty;
}

.gs-info-box-panier {
    border-left: var(--info-box-border-width) solid var(--info-box-green);
}

.gs-info-box-panier .gs-info-box-title {
    color: var(--info-box-green);
}

.gs-info-box-info-orange {
    border-left: var(--info-box-border-width) solid var(--info-box-orange);
}

.gs-info-box-info-orange .gs-info-box-title {
    color: var(--info-box-orange);
}

@media (max-width: 991px) {
    .gs-info-box-panier,
    .gs-info-box-info-orange {
        padding: var(--info-box-padding-tablet);
        border-radius: var(--info-box-radius-tablet);
    }

    .gs-info-box-panier .gs-info-box-title,
    .gs-info-box-info-orange .gs-info-box-title {
        font-size: var(--info-box-title-size-tablet);
    }

    .gs-info-box-panier .gs-info-box-text,
    .gs-info-box-info-orange .gs-info-box-text {
        font-size: var(--info-box-text-size-tablet);
    }
}

@media (max-width: 767px) {
    .gs-info-box-panier,
    .gs-info-box-info-orange {
        padding: var(--info-box-padding-mobile);
        border-left-width: var(--info-box-border-width-mobile);
        border-radius: var(--info-box-radius-mobile);
    }

    .gs-info-box-panier .gs-info-box-title,
    .gs-info-box-info-orange .gs-info-box-title {
        font-size: var(--info-box-title-size-mobile);
        margin-bottom: 14px;
    }

    .gs-info-box-panier .gs-info-box-text,
    .gs-info-box-info-orange .gs-info-box-text {
        font-size: var(--info-box-text-size-mobile);
        line-height: 1.6;
    }
}


/* Affichage dynamique des cartes selon le panier */
.gs-card-show-if-livraison,
.gs-card-show-if-retrait,
.gs-card-hide-if-livraison,
.gs-card-hide-if-retrait {
    display: none;
}

body.cart-has-livraison .gs-card-show-if-livraison {
    display: block;
}

body.cart-has-retrait .gs-card-show-if-retrait {
    display: block;
}

body:not(.cart-has-livraison) .gs-card-hide-if-livraison {
    display: block;
}

body:not(.cart-has-retrait) .gs-card-hide-if-retrait {
    display: block;
}


/* Panier page : bouton corbeille rouge xp ajusté */

.woocommerce-cart-form__contents td.product-remove,
.shop_table.cart td.product-remove,
.woocommerce table.shop_table td.product-remove {
    width: 1% !important;
    text-align: center !important;
    vertical-align: top !important;
    white-space: nowrap !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.woocommerce-cart-form__contents td.product-remove a.remove,
.shop_table.cart td.product-remove a.remove,
.woocommerce table.shop_table td.product-remove a.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    position: relative !important;

    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;

    padding: 0 !important;
    margin: 0 auto !important;

    font-size: 0 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    overflow: hidden !important;

    text-decoration: none !important;
    color: transparent !important;

    background: linear-gradient(to bottom, #ffb3b3 0%, #f04b4b 38%, #c40000 100%) !important;

    border: 1px solid #7f1d1d !important;
    border-top-color: #ffe1e1 !important;
    border-left-color: #ffe1e1 !important;
    border-right-color: #650000 !important;
    border-bottom-color: #650000 !important;

    border-radius: 8px !important;

    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,0.65),
        inset -1px -1px 0 rgba(0,0,0,0.20),
        0 2px 5px rgba(0,0,0,0.24) !important;

    opacity: 1 !important;

    transition:
        transform 0.12s ease,
        filter 0.12s ease,
        box-shadow 0.12s ease !important;
}

/* Icône corbeille propre */
.woocommerce-cart-form__contents td.product-remove a.remove::before,
.shop_table.cart td.product-remove a.remove::before,
.woocommerce table.shop_table td.product-remove a.remove::before {
    content: "" !important;

    display: block !important;

    width: 27px !important;
    height: 27px !important;

    background-color: #ffffff !important;

    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6l1 2h4v2H4V5h4l1-2zm1.2 2h3.6l-.35-.7h-2.9L10.2 5zM6 9h12l-1 11H7L6 9zm3 2v7h2v-7H9zm4 0v7h2v-7h-2z'/%3E%3C/svg%3E") !important;
    -webkit-mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    -webkit-mask-size: contain !important;

    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6l1 2h4v2H4V5h4l1-2zm1.2 2h3.6l-.35-.7h-2.9L10.2 5zM6 9h12l-1 11H7L6 9zm3 2v7h2v-7H9zm4 0v7h2v-7h-2z'/%3E%3C/svg%3E") !important;
    mask-repeat: no-repeat !important;
    mask-position: center !important;
    mask-size: contain !important;

    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* On neutralise tout pseudo-élément parasite WooCommerce/The7 */
.woocommerce-cart-form__contents td.product-remove a.remove::after,
.shop_table.cart td.product-remove a.remove::after,
.woocommerce table.shop_table td.product-remove a.remove::after {
    display: none !important;
    content: none !important;
}

.woocommerce-cart-form__contents td.product-remove a.remove:hover,
.shop_table.cart td.product-remove a.remove:hover,
.woocommerce table.shop_table td.product-remove a.remove:hover {
    color: transparent !important;
    background: linear-gradient(to bottom, #ffc0c0 0%, #ff5b5b 38%, #d30000 100%) !important;
    filter: brightness(1.03);
    transform: scale(1.04);
}

.woocommerce-cart-form__contents td.product-remove a.remove:active,
.shop_table.cart td.product-remove a.remove:active,
.woocommerce table.shop_table td.product-remove a.remove:active {
    color: transparent !important;
    background: linear-gradient(to bottom, #9f0000 0%, #cf2d2d 100%) !important;
    transform: scale(0.97);

    box-shadow:
        inset 1px 1px 2px rgba(0,0,0,0.35),
        inset -1px -1px 0 rgba(255,255,255,0.18) !important;
}

/* Panier page : mini-carte produit ambrée */

/* On remet le tableau panier en structure normale */
body.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

/* On annule les styles de grosse carte sur toute la ligne */
body.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart tbody tr.cart_item td,
body.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart tbody tr.woocommerce-cart-form__cart-item td {
    background: transparent !important;
    box-shadow: none !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
}

/* Cellule produit */
body.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart tbody tr.cart_item td.product-name {
    vertical-align: middle !important;
    padding: 18px 18px !important;
    color: #3b3129 !important;
}

/* Petite carte ambrée autour du nom produit */
body.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart tbody tr.cart_item td.product-name > a {
    display: inline-block !important;

    max-width: 320px !important;
    margin: 0 0 12px 0 !important;
    padding: 14px 18px !important;

    background: #f7f3ee !important;

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

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

    color: #3a332d !important;

    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;

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

body.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart tbody tr.cart_item td.product-name > a:hover {
    background: #fffaf3 !important;
    color: #3a332d !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08) !important;
}

/* Ligne "Vous avez choisi :" */
body.woocommerce-cart .gs-cart-product-choice-label {
    display: block !important;

    margin: 0 0 6px 0 !important;
    padding: 0 !important;

    color: #6f6258 !important;

    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
}

/* Petite pastille catégorie */
body.woocommerce-cart .gs-cart-product-category {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

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

    background: #fff7ed !important;
    color: #f48830 !important;

    border: 1px solid rgba(244, 136, 48, 0.28) !important;
    border-radius: 999px !important;

    box-shadow: 0 6px 16px rgba(244, 136, 48, 0.08) !important;

    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2px !important;
}

/* Prix et sous-total sobres */
body.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart tbody tr.cart_item td.product-price,
body.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart tbody tr.cart_item td.product-subtotal {
    color: #2b211b !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

/* Image : on garde ton rendu actuel */
body.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart tbody tr.cart_item td.product-thumbnail img {
    border-radius: 18px !important;
}

/* Corbeille : ne pas lui appliquer de fond */
body.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart tbody tr.cart_item td.product-remove {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    vertical-align: middle !important;
}

/* Mobile */
@media (max-width: 767px) {
    body.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart tbody tr.cart_item td.product-name {
        padding: 14px 0 !important;
    }

    body.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart tbody tr.cart_item td.product-name > a {
        max-width: 100% !important;
        width: 100% !important;
        font-size: 18px !important;
        padding: 13px 15px !important;
        border-radius: 14px !important;
    }

    body.woocommerce-cart .gs-cart-product-category {
        font-size: 13px !important;
        padding: 7px 11px !important;
    }
}

/* Alignement en haut de la corbeille et du produit */

/* Remonte la corbeille en haut de la ligne produit */
body.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart tbody tr.cart_item td.product-remove,
body.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart tbody tr.woocommerce-cart-form__cart-item td.product-remove {
    vertical-align: top !important;
    padding-top: 18px !important;
}

/* Remonte le bloc titre produit en haut */
body.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart tbody tr.cart_item td.product-name,
body.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart tbody tr.woocommerce-cart-form__cart-item td.product-name {
    vertical-align: top !important;
    padding-top: 18px !important;
}

/* Sécurité : le petit tableau produit ne se recentre pas verticalement */
body.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart tbody tr.cart_item td.product-name > a,
body.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart tbody tr.woocommerce-cart-form__cart-item td.product-name > a {
    margin-top: 0 !important;
}

/* Panier — pilule rotations camion */

body.woocommerce-cart .gs-order-rotation-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin-left: 8px !important;
    padding: 5px 10px !important;

    background: #ffd85a !important;
    color: #241f1a !important;

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

    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;

    white-space: nowrap !important;
}

/* Mention "en stères" + flèche panier */
body.has-msg_steres .woocommerce-cart-form__contents th.product-quantity,
body.has-msg_steres .shop_table.cart th.product-quantity {
    white-space: nowrap !important;
}

body.has-msg_steres .woocommerce-cart-form__contents th.product-quantity::after,
body.has-msg_steres .shop_table.cart th.product-quantity::after {
    content: " en stères";
    display: inline;
    margin-left: 0;
    padding: 0;
    background: transparent;
    color: #d93025;
    border-radius: 0;
    font-size: var(--info-box-text-size-desktop);
    font-weight: 700;
    line-height: 1.2;
    vertical-align: baseline;
    white-space: nowrap;
}

body.has-msg_steres .shop_table thead th.product-quantity {
    position: relative;
    overflow: visible;
}

body.has-msg_steres .shop_table thead th.product-quantity::before {
    content: "";
    position: absolute;
    top: -30px;
    left: -120px;
    width: 130px;
    height: 55px;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 55' fill='none'><path d='M 10 5 Q 40 50, 115 45' stroke='%23ff8c1a' stroke-width='2.5' stroke-linecap='round' stroke-dasharray='6 8'/><path d='M 105 37 L 118 45 L 107 53' stroke='%23ff8c1a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

@media (max-width: 900px) {
    body.has-msg_steres .shop_table thead th.product-quantity::before {
        display: none;
    }
}


/* Bouton "valider le panier" animé (étape 1) */
a.checkout-button.wc-forward {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    color: #ffffff !important;
    border-radius: 20px;

    /* Background : propriétés SÉPARÉES, sans raccourci */
    background-color: #3f3128;
    background-image: linear-gradient(
        90deg,
        #3f3128 0%,
        #4a392e 12%,
        #5a4639 24%,
        #8a4f24 38%,
        #d89a5b 50%,
        #8a4f24 62%,
        #5a4639 76%,
        #4a392e 88%,
        #3f3128 100%
    );
    background-size: 400% 100%;
    background-repeat: repeat;

    animation: gsSlowSweepLoop 16s linear infinite;
}


/* Panier vide : bloc complet */

body.woocommerce-cart .gs-empty-cart-v3 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 80px auto !important;
    padding: 70px 48px 70px 48px !important;

    background:
        radial-gradient(circle at 82% 10%, rgba(115, 86, 58, 0.08), transparent 24%),
        radial-gradient(circle at 8% 18%, rgba(244, 136, 48, 0.10), transparent 28%),
        linear-gradient(135deg, #fffaf3 0%, #f6eadc 46%, #efe1d2 100%) !important;

    font-family: var(--font-main, Arial, sans-serif) !important;
    color: #332720 !important;

    box-sizing: border-box !important;
    overflow: hidden !important;
}

body.woocommerce-cart .gs-empty-cart-v3,
body.woocommerce-cart .gs-empty-cart-v3 * {
    box-sizing: border-box !important;
}


/* Carte principale */

body.woocommerce-cart .gs-empty-cart-v3-hero {
    position: relative !important;

    width: 100% !important;
    max-width: 1180px !important;

    margin: 0 auto 44px auto !important;
    padding: 64px 54px 58px 54px !important;

    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 247, 0.94)) !important;

    border: 1px solid rgba(244, 136, 48, 0.22) !important;
    border-radius: 22px !important;

    box-shadow:
        0 22px 52px rgba(72, 60, 50, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;

    text-align: center !important;
    overflow: hidden !important;
}

/* Cadre intérieur fin */
body.woocommerce-cart .gs-empty-cart-v3-hero::before {
    content: "" !important;

    position: absolute !important;
    inset: 18px !important;

    border: 1px solid rgba(244, 136, 48, 0.24) !important;
    border-radius: 16px !important;

    pointer-events: none !important;
}

/* Halo doux derrière le panier */
body.woocommerce-cart .gs-empty-cart-v3-hero::after {
    content: "" !important;

    position: absolute !important;
    left: 50% !important;
    top: 70px !important;

    width: 270px !important;
    height: 220px !important;

    transform: translateX(-50%) !important;

    background:
        radial-gradient(
            circle,
            rgba(244, 136, 48, 0.13) 0%,
            rgba(244, 136, 48, 0.07) 46%,
            transparent 72%
        ) !important;

    pointer-events: none !important;
}


/* Illustration panier vide en émoji (remplace des icônes SVG dessinées à la main) */

body.woocommerce-cart .gs-empty-cart-v3-illustration {
    position: relative !important;
    z-index: 2 !important;

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

    width: 250px !important;
    height: 175px !important;

    margin: 0 auto 28px auto !important;
}

body.woocommerce-cart .gs-empty-cart-v3-cart {
    font-size: 110px !important;
    line-height: 1 !important;

    filter: drop-shadow(0 10px 18px rgba(72, 60, 50, 0.18)) !important;
}

body.woocommerce-cart .gs-empty-cart-v3-logs {
    position: absolute !important;
    right: 18px !important;
    bottom: 8px !important;

    font-size: 56px !important;
    line-height: 1 !important;

    transform: rotate(-8deg) !important;
    filter: drop-shadow(0 6px 12px rgba(72, 60, 50, 0.2)) !important;
}


/* Textes */

body.woocommerce-cart .gs-empty-cart-v3-title {
    position: relative !important;
    z-index: 2 !important;

    margin: 0 0 18px 0 !important;

    color: #2f231d !important;

    font-family: var(--font-bison, 'Bison', Arial, sans-serif) !important;
    font-size: 58px !important;
    font-weight: 700 !important;
    line-height: 0.98 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
}

body.woocommerce-cart .gs-empty-cart-v3-separator {
    position: relative !important;
    z-index: 2 !important;

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

    margin: 0 auto 20px auto !important;
}

body.woocommerce-cart .gs-empty-cart-v3-separator span {
    display: block !important;

    width: 72px !important;
    height: 2px !important;

    background: rgba(244, 136, 48, 0.36) !important;
}

body.woocommerce-cart .gs-empty-cart-v3-separator i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #f48830 !important;

    font-style: normal !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

body.woocommerce-cart .gs-empty-cart-v3-text {
    position: relative !important;
    z-index: 2 !important;

    max-width: 560px !important;

    margin: 0 auto 34px auto !important;

    color: #4f433b !important;

    font-size: 19px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
}


/* Boutons */

body.woocommerce-cart .gs-empty-cart-v3-actions {
    position: relative !important;
    z-index: 2 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 24px !important;
    flex-wrap: wrap !important;
}

body.woocommerce-cart .gs-empty-cart-v3-btn-main {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;

    min-width: 290px !important;
    min-height: 64px !important;

    padding: 18px 36px !important;

    background:
        linear-gradient(135deg, #ff8a16 0%, #ff7600 48%, #e86800 100%) !important;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    border: none !important;
    border-radius: 7px !important;

    box-shadow:
        0 14px 28px rgba(244, 116, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;

    font-family: var(--font-bison, 'Bison', Arial, sans-serif) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;

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

body.woocommerce-cart .gs-empty-cart-v3-btn-main:hover {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    filter: brightness(1.05) !important;
    transform: translateY(-2px) !important;

    box-shadow:
        0 18px 34px rgba(244, 116, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
}

/* Bouton secondaire masqué */
body.woocommerce-cart .gs-empty-cart-v3-btn-second {
    display: none !important;
}


/* Cartes services */

body.woocommerce-cart .gs-empty-cart-v3-services {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 38px !important;

    width: 100% !important;
    max-width: 1180px !important;

    margin: 0 auto 34px auto !important;
}

body.woocommerce-cart .gs-empty-cart-v3-service-card {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 32px !important;

    min-height: 170px !important;

    padding: 22px !important;

    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 247, 0.94)) !important;

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

    box-shadow:
        0 16px 36px rgba(72, 60, 50, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
}


/* Icônes services en émoji (remplacent des icônes SVG dessinées à la main) */

body.woocommerce-cart .gs-empty-cart-v3-service-icon {
    position: relative !important;

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

    width: 130px !important;
    height: 130px !important;

    border-radius: 8px !important;

    font-size: 62px !important;
    line-height: 1 !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 8px 18px rgba(50, 35, 25, 0.10) !important;
}

body.woocommerce-cart .gs-empty-cart-v3-service-icon-orange {
    background:
        linear-gradient(135deg, #ff8a16 0%, #ff7600 48%, #e86800 100%) !important;
}

body.woocommerce-cart .gs-empty-cart-v3-service-icon-brown {
    background:
        linear-gradient(135deg, #4a392f 0%, #332720 100%) !important;
}


/* Textes cartes services */

body.woocommerce-cart .gs-empty-cart-v3-service-content h2 {
    position: relative !important;

    margin: 0 0 18px 0 !important;

    color: #2f231d !important;

    font-family: var(--font-bison, 'Bison', Arial, sans-serif) !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 0.95 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
}

body.woocommerce-cart .gs-empty-cart-v3-service-content h2::after {
    content: "" !important;

    display: block !important;

    width: 54px !important;
    height: 3px !important;

    margin: 12px 0 0 0 !important;

    background: #f48830 !important;
}

body.woocommerce-cart .gs-empty-cart-v3-service-content p {
    margin: 0 !important;

    color: #5b4e45 !important;

    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
}


/* Aide / téléphone */

body.woocommerce-cart .gs-empty-cart-v3-help {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 28px !important;

    width: 100% !important;
    max-width: 1180px !important;

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

    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 247, 0.92)) !important;

    border: 1px solid rgba(244, 136, 48, 0.18) !important;
    border-radius: 8px !important;

    box-shadow:
        0 12px 28px rgba(72, 60, 50, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
}

body.woocommerce-cart .gs-empty-cart-v3-help-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 64px !important;
    height: 64px !important;

    border-radius: 999px !important;

    background: #ead7bd !important;

    color: #3f3027 !important;

    font-size: 32px !important;
    line-height: 1 !important;
}

body.woocommerce-cart .gs-empty-cart-v3-help-content {
    position: relative !important;

    padding-left: 28px !important;

    border-left: 2px dotted rgba(72, 60, 50, 0.20) !important;
}

body.woocommerce-cart .gs-empty-cart-v3-help-content strong {
    display: block !important;

    margin: 0 0 4px 0 !important;

    color: #2f231d !important;

    font-family: var(--font-bison, 'Bison', Arial, sans-serif) !important;
    font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
}

body.woocommerce-cart .gs-empty-cart-v3-help-content p {
    margin: 0 !important;

    color: #5b4e45 !important;

    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
}

body.woocommerce-cart .gs-empty-cart-v3-phone {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 52px !important;
    padding: 12px 28px !important;

    background: #ffffff !important;

    color: #f48830 !important;
    -webkit-text-fill-color: #f48830 !important;

    border: 1px solid rgba(244, 136, 48, 0.28) !important;
    border-radius: 6px !important;

    font-family: Arial, sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.9px !important;
    text-decoration: none !important;
}

body.woocommerce-cart .gs-empty-cart-v3-phone::before {
    content: "☎" !important;
    margin-right: 10px !important;

    font-family: Arial, sans-serif !important;
    font-size: 19px !important;
}


/* Responsive */

@media (max-width: 1024px) {
    body.woocommerce-cart .gs-empty-cart-v3 {
        padding: 54px 28px 60px 28px !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-title {
        font-size: 48px !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-services {
        gap: 24px !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-service-card {
        grid-template-columns: 112px minmax(0, 1fr) !important;
        gap: 24px !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-service-icon {
        width: 104px !important;
        height: 104px !important;
        font-size: 50px !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-service-content h2 {
        font-size: 30px !important;
    }
}

@media (max-width: 767px) {
    body.woocommerce-cart .gs-empty-cart-v3 {
        padding: 38px 16px 50px 16px !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-hero {
        padding: 46px 24px 42px 24px !important;
        border-radius: 18px !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-hero::before {
        inset: 12px !important;
        border-radius: 13px !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-illustration {
        width: 210px !important;
        height: 150px !important;
        margin-bottom: 22px !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-cart {
        font-size: 92px !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-logs {
        font-size: 46px !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-title {
        font-size: 40px !important;
        letter-spacing: 0.7px !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-text {
        font-size: 16px !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-btn-main {
        width: 100% !important;
        min-width: 0 !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-services {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-service-card {
        grid-template-columns: 90px minmax(0, 1fr) !important;
        gap: 18px !important;

        min-height: 0 !important;
        padding: 18px !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-service-icon {
        width: 82px !important;
        height: 82px !important;
        font-size: 40px !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-service-content h2 {
        font-size: 26px !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-service-content p {
        font-size: 15px !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-help {
        grid-template-columns: 1fr !important;
        gap: 16px !important;

        padding: 24px 20px !important;

        text-align: center !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-help-icon {
        margin: 0 auto !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-help-content {
        padding-left: 0 !important;
        border-left: none !important;
    }

    body.woocommerce-cart .gs-empty-cart-v3-phone {
        width: 100% !important;
    }
}

/* Mode d'expédition en pastille (retrait dépôt / livraison), à la place du texte brut */
.gs-shipping-mode-pill {
    display: inline-flex !important;
    align-items: center !important;

    padding: 8px 16px !important;
    border-radius: 999px !important;

    background: var(--color-badge-new-bg, #f2b544) !important;
    color: var(--color-badge-new-text, #1f160c) !important;

    font-weight: 800 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
}

@media (max-width: 767px) {
    .gs-shipping-mode-pill {
        display: flex !important;
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;

        padding: 10px 14px !important;
        font-size: 13px !important;
    }
}

/*
 * Expédition en carte (livraison au km) : remplace la pastille brute par une carte lisible, adresse
 * de livraison + distance / frais.
 */
.gs-ship-card {
    display: block;
    margin: 6px 0 2px;
    padding: 14px 16px;

    background: #ffffff;
    border: 1px solid rgba(72, 60, 50, 0.14);
    border-left: 4px solid var(--color-orange, #F48830);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(72, 60, 50, 0.06);

    text-align: left;
}

.gs-ship-card__to {
    margin: 0 0 6px !important;
    color: var(--color-brown, #483c32);
    font-family: var(--font-main, Arial, sans-serif);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.gs-ship-card__calc {
    margin: 0 !important;
    color: #6f6258;
    font-family: var(--font-main, Arial, sans-serif);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.55;
}

.gs-ship-card__calc strong {
    color: var(--color-brown, #483c32);
    font-weight: 800;
}

.gs-ship-card__rot {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 9px;

    background: var(--color-badge-new-bg, #f2b544);
    color: var(--color-badge-new-text, #1f160c);
    border-radius: 999px;

    font-size: 11.5px;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .gs-ship-card {
        padding: 12px 13px;
        border-radius: 12px;
    }
    .gs-ship-card__to { font-size: 14px; }
    .gs-ship-card__calc { font-size: 13px; }
}


/* "Vous avez choisi : LIVRAISON À DOMICILE" sur une seule ligne (panier). */
body.woocommerce-cart .gs-cart-product-choice {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 6px 0 0;
}
body.woocommerce-cart .gs-cart-product-choice .gs-cart-product-choice-label {
	display: inline !important;
	margin: 0 !important;
}
body.woocommerce-cart .gs-cart-product-choice .gs-cart-product-category {
	margin: 0 !important;
}
