
<section class="cv_logo_section d-none d-md-block">
	<div class="container">
		<div class="row">
			<div class="col-md-1">
				&nbsp;
			</div>
			<div class="col-md-10 cv_desktop_box">
				<h4 class="text-center">Cão Véio | Tatuapé</h4><br><br>
				<p class="text-center">
				O gastropub Cão Véio foi inaugurado pelos<br>
				sócios Henrique Fogaça, chef de cozinha e<br>
				jurado do Masterchef Brasil e Fernando<br>
				Badaui, vocalista da banda CPM22!
				</p>
				<div class="row">
					<div class="col-4">
						&nbsp;
					</div>
					<div class="col-4 cv_desktop_box_highlight">
						<p class="text-center">Acesse pelo celular para<br>visualizar o cardápio!</p>
					</div>
					<div class="col-4">
						&nbsp;
					</div>
				</div>
			</div>
			<div class="col-md-1">
				&nbsp;
			</div>
		</div>
	</div>
</section>

<section class="conteudo_box d-md-none" id="principal">
	<div class="container">
		<div class="row">
			<div class="col-12">
				<h4 class="text-center">Cão Véio | Tatuapé</h4><br><br>
				<p class="text-center">
				O gastropub Cão Véio foi inaugurado pelos<br>
				sócios Henrique Fogaça, chef de cozinha e<br>
				jurado do Masterchef Brasil e Fernando<br>
				Badaui, vocalista da banda CPM22!
				</p>
			</div>
		</div>
	</div>
</section>

<?php
$sql1 = $conecta->query("SELECT * FROM categorias WHERE status = '1' ORDER BY ordem ASC");
while ($consulta1 = $sql1->fetch_assoc()){
?>
<section class="conteudo_box d-md-none" id="<?php echo $consulta1['identificador']; ?>">
	<div class="container">
		<div class="row">
			<div class="col-12">
				<h4 class="text-center titulo_categoria"><?php echo $consulta1['nome']; ?></h4><br>
				<?php
				$sql2 = $conecta->query("SELECT * FROM pratos WHERE status = '1' AND categoria = '".$consulta1['id']."' ORDER BY id ASC");
				while ($consulta2 = $sql2->fetch_assoc()){
				if($consulta2['bebidas'] == 0){
				?>
				<div class="imgBoxAnimal" style="background-color: #000; background-image:url('<?php echo URL_BASE.'assets/pratos/'.$consulta2['foto']; ?>'); width:100%; height: 250px; background-size: cover; background-position: center;">
					&nbsp;
				</div>
				<h3 class="text-center"><?php echo $consulta2['prato']; ?></h3>
				<p class="text-justify"><?php echo $consulta2['desc_prato']; ?></p><br>
				<h2 class="text-center">R$ <?php echo $consulta2['preco']; ?></h2>
				<?php
				}
				if($consulta2['bebidas'] == 1){
				?>
				<div class="row" style="padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid #ccc;">
					<div class="col-4" style="background-color: #000; background-image:url('<?php echo URL_BASE.'assets/pratos/'.$consulta2['foto']; ?>'); width:100%; height: 250px; background-size: cover; background-position: center;">
						&nbsp;
					</div>
					<div class="col-8">
						<h3 class="text-center"><?php echo $consulta2['prato']; ?></h3>
						<p class="text-justify"><?php echo $consulta2['desc_prato']; ?></p><br>
						<h3 class="text-center">R$ <?php echo $consulta2['preco']; ?></h3>
					</div>
				</div>
				<?php
				}}
				?>
			</div>
		</div>
	</div>
</section>
<?php
}
?>