<?php get_header(); ?>

<div class="uk-container uk-margin-top">
	<main role="main">

			<?php woocommerce_breadcrumb(); ?>

				<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>


					<?php if ( is_singular( 'product' ) ) { ?>

					<section class="uk-width-1-1">

						<?php woocommerce_content();?>
					</section>


					<?php }else{ ?>

						<div uk-grid>
							<?php get_sidebar(); ?>
							<section class="uk-width-1-1 uk-width-3-4@m">
								<?php woocommerce_content();?>
							</section>

						</div>
					<?php } ?>

				</article>

	</main>
	<p class="uk-text-right"><?php edit_post_link( __('Edit this page'), '', '', 0, 'post-edit-link uk-text-large uk-padding-small uk-button-large uk-button uk-button-primary' ); ?></p>
</div>
<?php get_footer(); ?>
