/* =====================================================
   PANIER – VERSION PROPRE SANS DOUBLE RECTANGLE
===================================================== */

/* ===== CONTENEUR PANIER (CARTE PRINCIPALE) ===== */
.cart-preview {
    border-radius: 40px;
    background: linear-gradient(140deg, #e0f7f2 0%, #f4fffc 45%, #ffffff 100%);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.08),
        inset 0 0 0 2px rgba(94, 208, 188, 0.35),
        0 0 18px rgba(94, 208, 188, 0.25);
}

/* ===== TOTAL PANIER (SANS FOND) ===== */
.cart-preview .checkout_total {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    padding: 0;
    margin: 0;
    border-radius: 0;

    background: transparent !important;
    box-shadow: none !important;
    border: none !important;

    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1f3d38;

    animation: cartUpdatePulse 0.6s ease;
}

/* ===== TEXTE PROPRE ===== */
.cart-preview .checkout_total *,
.cart-preview .checkout_total span,
.cart-preview .checkout_total .price,
.cart-preview .checkout_total .value {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    color: #1f3d38;
}

/* ===== ANIMATION MISE À JOUR PANIER ===== */
@keyframes cartUpdatePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
    100% {
        transform: scale(1);
    }
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
    .cart-preview {
        border-radius: 28px;
    }

    .cart-preview .checkout_total {
        justify-content: center;
        font-size: 16px;
    }
}

@keyframes cartBreath {
    0%, 100% {
        box-shadow:
            0 14px 32px rgba(0, 0, 0, 0.08),
            inset 0 0 0 2px rgba(94, 208, 188, 0.35),
            0 0 18px rgba(94, 208, 188, 0.22);
    }
    50% {
        box-shadow:
            0 18px 38px rgba(0, 0, 0, 0.12),
            inset 0 0 0 2px rgba(94, 208, 188, 0.45),
            0 0 26px rgba(94, 208, 188, 0.35);
    }
   }

/* =====================================================
   MOBILE CATEGORIE 2 PAR LIGNE
===================================================== */
