/* ---- Cart Added SweetAlert2 ---- */

.cart-swal-popup {
    width: 340px !important;
    padding: 28px 24px 22px !important;
    border-radius: 16px !important;
    font-family: inherit;
    direction: rtl;
}

.cart-swal-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-swal-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
}

.cart-swal-text {
    font-size: 13.5px;
    color: #6b7280;
    margin: 0 0 4px;
    line-height: 1.6;
}

.cart-swal-actions {
    width: 100%;
    display: flex !important;
    gap: 8px;
    margin-top: 18px !important;
}

.cart-swal-confirm,
.cart-swal-cancel {
    flex: 1;
    padding: 10px 0;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.cart-swal-confirm {
    background: #0d6efd;
    color: #fff;
}

.cart-swal-confirm:hover {
    opacity: 0.9;
}

.cart-swal-cancel {
    background: #f1f2f6;
    color: #4b5563;
}

.cart-swal-cancel:hover {
    background: #e5e7eb;
}

.cart-swal-show {
    animation: cartSwalIn 0.18s ease-out;
}

.cart-swal-hide {
    animation: cartSwalOut 0.15s ease-in;
}

.cart-swal-icon-danger {
    background: #e11d48;
}

.cart-swal-confirm-danger {
    background: #e11d48;
}

    .cart-swal-confirm-danger:hover {
        opacity: 0.9;
    }

@keyframes cartSwalIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes cartSwalOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.92); }
}
