/* ═══════════════════════════════════════════
   CART BUTTON (Ajouter au panier)
═══════════════════════════════════════════ */
.ostore-modular-checkout-wrapper .ostore-cart-checkout-btn {
    background-color: var(--ostore-cart-btn-bg, #6b7280) !important;
    color: #fff !important;
    border: 1px solid color-mix(in srgb, var(--ostore-cart-btn-bg, #6b7280) 70%, transparent) !important;
    outline: none !important;
    box-shadow: inset 0 0.75px 0 rgb(255 255 255 / 0.2), 0 1px 2px rgb(0 0 0 / 0.16) !important;
    border-radius: var(--theme-radius, 8px) !important;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    transition: background-color var(--transition-fast, 0.15s ease), border-color var(--transition-fast, 0.15s ease) !important;
    margin-top: 6px;
    text-align: center;
}
.ostore-modular-checkout-wrapper .ostore-cart-checkout-btn .ostore-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.ostore-modular-checkout-wrapper .ostore-cart-checkout-btn svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    fill: none;
    flex-shrink: 0;
}
.ostore-modular-checkout-wrapper .ostore-cart-checkout-btn .ostore-main-text {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
}
.ostore-modular-checkout-wrapper .ostore-cart-checkout-btn:hover {
    filter: brightness(0.92);
}
.ostore-modular-checkout-wrapper .ostore-cart-checkout-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}
.ostore-modular-checkout-wrapper .ostore-cart-checkout-btn.loading {
    position: relative;
    cursor: not-allowed;
}
.ostore-modular-checkout-wrapper .ostore-cart-checkout-btn.loading .ostore-btn-content {
    visibility: hidden;
    opacity: 0;
}
.ostore-modular-checkout-wrapper .ostore-cart-checkout-btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: ostore-spin 0.6s linear infinite;
}

/* ═══════════════════════════════════════════
   WHATSAPP ORDER BUTTON
═══════════════════════════════════════════ */
.ostore-modular-checkout-wrapper .ostore-whatsapp-checkout-btn {
    background-color: #25d366 !important;
    color: #fff !important;
    border: 1px solid color-mix(in srgb, #25d366 70%, transparent) !important;
    outline: none !important;
    box-shadow: inset 0 0.75px 0 rgb(255 255 255 / 0.2), 0 1px 2px rgb(0 0 0 / 0.16) !important;
    border-radius: var(--theme-radius, 8px) !important;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    transition: background-color var(--transition-fast, 0.15s ease), border-color var(--transition-fast, 0.15s ease) !important;
    margin-top: 6px;
    text-align: center;
}
.ostore-modular-checkout-wrapper .ostore-whatsapp-checkout-btn .ostore-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.ostore-modular-checkout-wrapper .ostore-whatsapp-checkout-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    flex-shrink: 0;
}
.ostore-modular-checkout-wrapper .ostore-whatsapp-checkout-btn .ostore-main-text {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
}
.ostore-modular-checkout-wrapper .ostore-whatsapp-checkout-btn:hover {
    filter: brightness(0.94);
}
.ostore-modular-checkout-wrapper .ostore-whatsapp-checkout-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

