<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width: 100%; max-width: 100%; ">
    <tr>

        <td align="left" valign="top" style="padding-bottom: 16px;" bgcolor="#FAF9F9">



            <!-- sm-title -->
            <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width: 100%; max-width: 100%; ">
                <tr>
                    <td class="sm-title" valign="top" align="left" style="text-transform:uppercase; font-family:'Montserrat', serif !important; line-height: 24px; font-style: normal;  font-weight: 500; font-size: 18px; letter-spacing: 0.03em; color: #353535; padding: 0 8px 8px;border-bottom: 1px dashed #dddddd;">

                    Données de l'acheteur

                    </td>
                </tr>
            </table>
            <!-- sm-title -->

            <!-- space -->
            <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                <tr>
                    <td valign="middle" align="center" height="12" style="font-size: 12px; line-height: 12px;">&nbsp;</td>
                </tr>
            </table>
            <!-- space -->

            <!-- title -->
            <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                <tr>
                    <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Montserrat', sans-serif; font-size: 12px; line-height: 20px; font-style: normal; color: #473d37; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">

                        <span style="font-weight: 500; text-transform: uppercase;">NOM</span><br />

                        <span style="font-size: 14px;color: #353535;font-weight: 500;letter-spacing: 0.03em;">

                            <?php echo $compra['nombre']; ?>

                            <?php echo $compra['apellidos']; ?>

                        </span>

                    </td>
                </tr>
            </table>
            <!-- title -->

            <!-- space -->
            <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                <tr>
                    <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                </tr>
            </table>
            <!-- space -->

            <!-- title -->
            <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                <tr>
                    <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Montserrat', sans-serif; font-size: 12px; line-height: 20px; font-style: normal; color: #473d37; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">

                        <span style="font-weight: 500; text-transform: uppercase;">TÉLÉPHONE</span><br />

                        <span style="font-size: 14px;color: #353535;font-weight: 500;letter-spacing: 0.03em;">

                            <?php echo $compra['telefono']; ?>

                        </span>

                    </td>
                </tr>
            </table>
            <!-- title -->

            <!-- space -->
            <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                <tr>
                    <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                </tr>
            </table>
            <!-- space -->

            <?php if ($compra['email'] != '') { ?>

                <!-- title -->
                <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                    <tr>
                        <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Montserrat', sans-serif; font-size: 12px; line-height: 20px; font-style: normal; color: #473d37; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">

                            <span style="font-weight: 500; text-transform: uppercase;">E-MAIL</span><br />

                            <span style="font-size: 14px;color: #353535;font-weight: 500;letter-spacing: 0.03em;">

                                <?php echo $compra['email']; ?>

                            </span>

                        </td>
                    </tr>
                </table>
                <!-- title -->
            <?php } ?>

            <?php
            if ($compra['campos_extra'] != '') {
                foreach ($compra['campos_extra'] as $campo) {
                    ?>
                    <!-- space -->
                    <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                        <tr>
                            <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                        </tr>
                    </table>
                    <!-- space -->
                    <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                        <tr>
                            <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Montserrat', sans-serif; font-size: 12px; line-height: 20px; font-style: normal; color: #473d37; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">

                                <span style="font-weight: 500; text-transform: uppercase;">



                                    <?php echo $campo; ?>
                                </span>
                            </td>
                        </tr>
                    </table>
            <?php }
            }
            ?>

        </td>
    </tr>
</table>