<?php
/**
 * Email template header: Cart Abandonment Reminder
 *
 * @package PixelioCartAbandonRecoveryMore
 * @subpackage Templates
 * @since 0.1
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$pixelio_site_name = get_bloginfo( 'name' );
$pixelio_email_title = ! empty( $email_title )
	? $email_title
	: __( 'Your cart is waiting for you!', 'rivio-ai-cart-recovery-marketing-email-automation' );
?>

<table width="100%" border="0" cellpadding="0" cellspacing="0" style="width:100%; background:#f3f4f6; padding:32px 12px;" >
	<tr>
		<td align="center" >

			<!-- EMAIL CARD -->
			<table width="640" cellpadding="0" cellspacing="0" border="0" style="width:100%; max-width:640px; background:#ffffff; border-radius:16px; overflow:hidden; box-shadow:0 8px 24px rgba(15,23,42,0.08);" >

				<!-- HEADER -->
				<tr>
					<td align="center" style="padding:32px 28px 24px 28px; background:#ffffff; border-bottom:1px solid #eef0f3;">

						<?php if ( function_exists( 'get_custom_logo' ) && has_custom_logo() ) : ?>
							<div style="margin-bottom:18px;">
								<?php
								echo wp_kses_post(
									wp_get_attachment_image(
										get_theme_mod( 'custom_logo' ),
										'full',
										false,
										array(
											'style' => 'max-height:64px; width:auto; display:block; margin:0 auto;',
										)
									)
								);
								?>
							</div>
						<?php else : ?>
							<p style="margin:0 0 16px 0; font-size:18px; font-weight:700; color:#111827; font-family:Arial, Helvetica, sans-serif;">
								<?php echo esc_html( $pixelio_site_name ); ?>
							</p>
						<?php endif; ?>

						<h1 id="pixelio-subject" class="pixelio-cart-abandon-recovery-more-email-subject-placeholder" style="margin:0; font-size:24px; line-height:1.3; font-weight:700; color:#111827; font-family:Arial, Helvetica, sans-serif; text-align:center;">
							<?php echo esc_html( $pixelio_email_title ); ?>
						</h1>

					</td>
				</tr>

				<!-- CONTENT -->
				<tr>
					<td class="pixelio-cart-abandon-recovery-more-email-content" style="padding:30px 32px 10px 32px; font-family:Arial, Helvetica, sans-serif; font-size:16px; line-height:1.7; color:#374151; text-align:left;">
