<?php

/**
* WPBakery Page Builder Stockie Pricing List shortcode view
*/

?>
<div class="stockie-menu-list-sc menu-list<?php echo $css_class; ?>"
	id="<?php echo esc_attr( $menu_list_uniqid ); ?>"
	<?php if ( $appearance_effect != 'none' ) { echo ' data-aos="' . esc_attr( $appearance_effect ) . '"'; } ?>
	<?php if ( $appearance_duration ) { echo ' data-aos-duration="' . esc_attr( $appearance_duration ) . '"'; } ?>>
	<div class="menu-list-headline">
		<?php if ( $name ): ?>
			<h4 class="menu-list-title"><?php echo $name; ?></h4>
		<?php endif; ?>
		<div class="menu-list-price">
			<?php if ( $regular_price && $sale_price ) : ?>
				<span class="discount-price"><?php echo $sale_price; ?></span>
				<span class="regular-price"><?php echo $regular_price; ?></span>
			<?php endif; ?>
			<?php if ( $regular_price && ! $sale_price ) : ?>
				<span class="regular-price"><?php echo $regular_price; ?></span>
			<?php endif; ?>
			<?php if ( ! $regular_price && $sale_price ) : ?>
				<span class="discount-price"><?php echo $sale_price; ?></span>
			<?php endif; ?>
		</div>
	</div>
	<div class="menu-list-details">
		<p>
			<?php if ( $indigriends ) { echo $indigriends; } ?>
		</p>
		<?php if ( $mark ): ?>
		<div class="tag brand-bg-color new"><?php esc_html_e( 'NEW', 'stockie-extra' ); ?></div>	
		<?php endif; ?>
	</div>
</div>