```html
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Order Confirmation</title>
</head>

<body style="font-family: Arial, sans-serif; line-height: 1.6; color: #333; max-width: 600px; margin: 0 auto; padding: 20px;">

<!-- فارسی -->
<div dir="rtl" lang="fa">

    <div style="background-color: #4a90e2; padding: 30px; border-radius: 8px; margin-bottom: 20px; text-align: center;">
        <h1 style="color: #ffffff; margin: 0;">تأیید سفارش</h1>
    </div>

    <div style="background-color: #f8f9fa; padding: 20px; border-radius: 8px; margin-bottom: 20px;">
        <p>سلام <strong>{{customer_name}}</strong>،</p>
        <p>از سفارش شما متشکریم! سفارش شما با شماره <strong>#{{order_number}}</strong> تأیید شده و در حال پردازش است.</p>
    </div>

    <div style="background-color: #ffffff; border: 1px solid #e0e0e0; padding: 20px; border-radius: 8px; margin-bottom: 20px;">
        <h3 style="color: #2c3e50; margin-top: 0;">جزئیات سفارش</h3>

        <table style="width: 100%; border-collapse: collapse;">
            <tr>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;"><strong>شماره سفارش:</strong></td>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;">{{order_number}}</td>
            </tr>
            <tr>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;"><strong>تاریخ سفارش:</strong></td>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;">{{order_date}}</td>
            </tr>
            <tr>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;"><strong>مبلغ کل:</strong></td>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;">{{order_total}}</td>
            </tr>
            <tr>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;"><strong>وضعیت پرداخت:</strong></td>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;">{{payment_status}}</td>
            </tr>
            <tr>
                <td style="padding: 8px 0;"><strong>آدرس ارسال:</strong></td>
                <td style="padding: 8px 0;">{{shipping_address}}</td>
            </tr>
        </table>
    </div>

    <div style="text-align: center; margin: 30px 0;">
        <a href="{{order_url}}" style="background-color: #4a90e2; color: #ffffff; padding: 12px 30px; text-decoration: none; border-radius: 5px; display: inline-block; font-weight: bold;">
            مشاهده جزئیات سفارش
        </a>
    </div>

    <div style="text-align: center; color: #7f8c8d; font-size: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px solid #e0e0e0;">
        <p>با احترام،<br><strong>تیم بازارچه</strong></p>

        <p>
            <a href="{{invoice_url}}" 
               style="display:inline-block; padding:8px 16px; background:#f2f2f2; color:#333; 
                      border:1px solid #ccc; border-radius:4px; text-decoration:none; font-size:14px;">
                دانلود PDF
            </a>
        </p>
    </div>

</div>


<!-- English -->

<div dir="ltr" lang="en">

    <div style="background-color: #4a90e2; padding: 30px; border-radius: 8px; margin-bottom: 20px; text-align: center;">
        <h1 style="color: #ffffff; margin: 0;">Order Confirmation</h1>
    </div>

    <div style="background-color: #f8f9fa; padding: 20px; border-radius: 8px; margin-bottom: 20px;">
        <p>Dear <strong>{{customer_name}}</strong>,</p>
        <p>Thank you for your order! Your order <strong>#{{order_number}}</strong> has been confirmed and is being processed.</p>
    </div>

    <div style="background-color: #ffffff; border: 1px solid #e0e0e0; padding: 20px; border-radius: 8px; margin-bottom: 20px;">
        <h3 style="color: #2c3e50; margin-top: 0;">Order Details</h3>

        <table style="width: 100%; border-collapse: collapse;">
            <tr>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;"><strong>Order Number:</strong></td>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;">{{order_number}}</td>
            </tr>
            <tr>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;"><strong>Order Date:</strong></td>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;">{{order_date}}</td>
            </tr>
            <tr>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;"><strong>Total Amount:</strong></td>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;">{{order_total}}</td>
            </tr>
            <tr>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;"><strong>Payment Status:</strong></td>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;">{{payment_status}}</td>
            </tr>
            <tr>
                <td style="padding: 8px 0;"><strong>Shipping Address:</strong></td>
                <td style="padding: 8px 0;">{{shipping_address}}</td>
            </tr>
        </table>
    </div>

    <div style="text-align: center; margin: 30px 0;">
        <a href="{{order_url}}" style="background-color: #4a90e2; color: #ffffff; padding: 12px 30px; text-decoration: none; border-radius: 5px; display: inline-block; font-weight: bold;">
            View Order Details
        </a>
    </div>

    <div style="text-align: center; color: #7f8c8d; font-size: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px solid #e0e0e0;">
        <p>Best regards,<br><strong>Bazarcheh Team</strong></p>

        <p>
            <a href="{{invoice_url}}" 
               style="display:inline-block; padding:8px 16px; background:#f2f2f2; color:#333; 
                      border:1px solid #ccc; border-radius:4px; text-decoration:none; font-size:14px;">
                pdf download
            </a>
        </p>
    </div>

</div>


<!-- Deutsch -->

<div dir="ltr" lang="de">

    <div style="background-color: #4a90e2; padding: 30px; border-radius: 8px; margin-bottom: 20px; text-align: center;">
        <h1 style="color: #ffffff; margin: 0;">Bestellbestätigung</h1>
    </div>

    <div style="background-color: #f8f9fa; padding: 20px; border-radius: 8px; margin-bottom: 20px;">
        <p>Hallo <strong>{{customer_name}}</strong>,</p>
        <p>Vielen Dank für Ihre Bestellung! Ihre Bestellung <strong>#{{order_number}}</strong> wurde bestätigt und wird bearbeitet.</p>
    </div>

    <div style="background-color: #ffffff; border: 1px solid #e0e0e0; padding: 20px; border-radius: 8px; margin-bottom: 20px;">
        <h3 style="color: #2c3e50; margin-top: 0;">Bestelldetails</h3>

        <table style="width: 100%; border-collapse: collapse;">
            <tr>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;"><strong>Bestellnummer:</strong></td>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;">{{order_number}}</td>
            </tr>
            <tr>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;"><strong>Bestelldatum:</strong></td>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;">{{order_date}}</td>
            </tr>
            <tr>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;"><strong>Gesamtbetrag:</strong></td>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;">{{order_total}}</td>
            </tr>
            <tr>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;"><strong>Zahlungsstatus:</strong></td>
                <td style="padding: 8px 0; border-bottom: 1px solid #e0e0e0;">{{payment_status}}</td>
            </tr>
            <tr>
                <td style="padding: 8px 0;"><strong>Lieferadresse:</strong></td>
                <td style="padding: 8px 0;">{{shipping_address}}</td>
            </tr>
        </table>
    </div>

    <div style="text-align: center; margin: 30px 0;">
        <a href="{{order_url}}" style="background-color: #4a90e2; color: #ffffff; padding: 12px 30px; text-decoration: none; border-radius: 5px; display: inline-block; font-weight: bold;">
            Bestelldetails anzeigen
        </a>
    </div>

    <div style="text-align: center; color: #7f8c8d; font-size: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px solid #e0e0e0;">
        <p>Mit freundlichen Grüßen,<br><strong>Bazarcheh Team</strong></p>

        <p>
            <a href="{{invoice_url}}" 
               style="display:inline-block; padding:8px 16px; background:#f2f2f2; color:#333; 
                      border:1px solid #ccc; border-radius:4px; text-decoration:none; font-size:14px;">
                PDF herunterladen
            </a>
        </p>
    </div>

</div>

</body>
</html>
```