<{if $product}>
	<{assign var="image" value=$product->getImage()}>

	<div class="row justify-content-center">
		<div class="col-10 col-md-12">

			<div class="sticky-top">
				<div class="row">
					<div class="col-12">
						<div class="notification notice">
							<div class="row">
								<div class="col-4 col-md-2 col-lg-1">
									<{if $image}>
										<a href="<{$product->getRemoteUrl()|escape}>">
											<img class="rounded img-fluid" src="<{$image->getSrc(100, 100, 'fit')}>" alt="<{$image->getDescription()|escape}>" title="<{$image->getDescription()|escape}>" <{$image->getHtmlSize(100, 100, 'fit')}>/>
										</a>
									<{/if}>
								</div>
								<div class="col-8 col-md-4 col-lg-2 py-4">
									<span><span><i class="fa fa-check"></i></span>
										Tilføjet til kurven!
									</span>
								</div>
								<div class="col-12 col-md-6 col-lg-6 col py-4 text-center">
									Din kurv (<{$total_amount}> vare<{if $total_amount != 1}>r<{/if}>):
									<span class="highlight color">
										<{$total_price|number_format:2:",":"."}> <{$webshop->getCurrency()}>
									</span>

									<{include file="mobilepay_checkout.html"}>
								</div>
								<div class="col-12 col-lg-3 py-1 align-self-center text-center">
									<a href="/basket" class="button huge color">Til kassen</a>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>

			<{include file="add_financial_products.html"}>

			<{capture name="box_title"}>Andre der købte <{$product->getName()|escape}> købte også<{/capture}>
			<{include file="carousel.html" title=$smarty.capture.box_title products=$product->getAlsoBought()}>

			<{include file="carousel.html" title="Relaterede varer" products=$product->getRelatedProducts()}>
			<{include file="carousel.html" title="Populært lige nu" products=$webshop->getPopularProducts(25, 14, $product->getProductId())}>

			<{assign var="categories" value=$product->getCategories()}>
			<{section name="i" loop=$categories}>
				<{if $categories[i]->getInMenu()}>
					<{capture name="box_title"}>Populært i <{$categories[i]->getName()}><{/capture}>
					<{include file="carousel.html" title=$smarty.capture.box_title products=$categories[i]->getPopularProducts(25, 90, $product->getProductId())}>
				<{/if}>
			<{/section}>

			<{assign var="cat" value=$webshop->getFrontCategory()}>
			<{if $cat}>
				<{include file="carousel.html" title="Andre kiggede på" products=$cat->getOnlineProducts()}>
			<{/if}>

			<div class="notification notice">
				  <div class="row justify-content-md-center">
					<div class="col-12 col-md-6 col-lg-5 col py-4 text-center">
						Din kurv (<{$total_amount}> vare<{if $total_amount != 1}>r<{/if}>):
						<span class="highlight color">
							<{$total_price|number_format:2:",":"."}> <{$webshop->getCurrency()}>
						</span>
					</div>
					<div class="col-12 col-md-6 col-lg-5 py-1 align-self-end text-center">
						<a href="/basket" class="button huge color">Til kassen</a>
					</div>
				</div>
			</div>

		</div>
	</div>

	<{include file="klaviyo_add_to_cart.html" product=$product type="also"}>

<{/if}>