* {
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	font: normal 1rem/1.2rem Roboto, Helvetica, sans-serif;
	user-select: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
html {
	background-color: #eee;
}
body {
	padding-top: 3.6rem;
}
input {
	user-select: auto;
}
input::placeholder {
    color: #aaa;
}
strong {
	font-weight: bold;
}
body.ocultar,
#descargas {
	display: none;
}


#aviso {
	display: none;
}
body.aviso #aviso {
	display: block;
	background-color: #fff;
	margin-bottom: 10rem;
	border-bottom-left-radius: 4rem;
	padding: 1rem 1.5rem 6rem 1.5rem;
}
#aviso h1 {
	font-weight: bold;
	font-size: 1.2rem;
	line-height: 1.4rem;
	padding: 1rem 0;
	color: #ff9e1b;
}
#aviso p {
	margin-bottom: 1rem;
	color: #777;
}
#aviso address {
	margin-bottom: 1rem;
}
#aviso address p {
	margin-bottom: 0;
	padding-left: 1.5rem;
}
#aviso ol {
	margin-bottom: 1rem;
	padding-left: 2.5rem;
	color: #777;
}
#aviso a {
	text-decoration: underline;
}


#bolsa {
	display: none;
}
body.bolsa #bolsa {
	position: relative;
	display: block;
	background-color: #fff;
	margin-bottom: 10rem;
	border-bottom-left-radius: 4rem;
	padding-bottom: 6rem;	
	box-shadow: 0 -1px 1px #ccc;
}
#bolsa section {
	text-align: center;
	margin: 0 auto;
	padding: 5rem 1.5rem;
}
#bolsa img {
	width: 50%;
}
#bolsa h1 {
	margin: 1.5rem 1rem 0 1rem;
	font: bold 1.4rem/1.6rem Poppins;
	color: #7c4d3a;
}
#bolsa article {
	display: none;
}
#bolsa.recuperar article {
	display: block;
	margin-top: 4rem; 
	width: 100%;
	background-color: #eee;
	color: #999;
	text-align: center;
	border-radius: 1.8rem;
	padding: 1rem 0;
	box-sizing: border-box;
	font: bold 0.9rem/1.2rem Poppins;
}


#centros {
	display: none;
}
body.productos #centros,
body.pedido #centros,
body.pago #centros,
body.bolsa #centros {
	display: block;
	position: relative;
	background-color: #eee;
	height: 2.8rem;
	transition: height 0.4s;
	overflow: hidden;
}
body.productos #centros.abrir,
body.pedido #centros.abrir,
body.pago #centros.abrir,
body.bolsa #centros.abrir {
	height: calc(14rem + 4px);
}
#centros header {
	padding: 0.8rem 1.5rem;
}
#centros header h1 {
	font-size: 0.9rem;
	color: #666;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
#centros img {
	position: absolute;
	right: 1.5rem;
	top: 1.15rem;
	height: 0.5rem;
	opacity: 0.4;
	transition: transform 0.4s;
}
#centros.abrir img {
	transform: rotate(180deg);
}
#centros article {
	position: relative;
	padding: 0.8rem 1.5rem;
	border-top: solid 1px #ccc;
	color: #666;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	font-size: 0.9rem;
}


#dialogo {
	display: none;
}
#dialogo.elegir,
#dialogo.mostrar {
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 2;
}
#dialogo section {
	position: relative;
	width: 85%;
	max-width: 25rem;
	margin: 0 auto;
	box-shadow: 0 0 2rem rgba(0, 0, 0, 0.5);
	background-color: #fff;
	border-radius: 0.4rem;
	padding: 1.5rem;
	box-sizing: border-box;
}
#dialogo h1 {
	font-weight: bold;
	color: #ff9e1b;
}
#dialogo p {
	color: #222;
	margin: 1.5rem 0;
}
#dialogo article {
	background-color: #ff9e1b;
	color: #fff;
	text-align: center;
	border-radius: 0.4rem;
	padding: 1rem 0;
	font-weight: bold;
}
#dialogo:not(.elegir) article:first-of-type {
	display: none;
}
#dialogo.elegir article {
	display: inline-block;
	width: calc(50% - 0.75rem);
}
#dialogo.elegir article:last-child {
	margin-left: 1.5rem;
}


#escaner {
	display: none;
}
body.escaner #escaner {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	background-color: #000;
	text-align: center;
}
#escaner p {
	font-size: 1.2rem;
	line-height: 3rem;
	text-align: center;
	color: #fff;
}
@media (orientation: landscape) {
	#escaner p {
		display: none;
	}
}


#identificar {
	display: none;
}
body.identificar #identificar {
	position: relative;
	display: block;
	background-color: #fff;
	margin-bottom: 10rem;
	border-bottom-left-radius: 4rem;
	padding-bottom: 6rem;	
	box-shadow: 0 -1px 1px #ccc;
}
#identificar h1 {
	text-align: center;
	color: #7c4d3a;
	padding: 2rem 1.5rem 1.5rem 1.5rem;
	font: bold 1.3rem/1.5rem Poppins;
}
#identificar > img {
	display: block;
	width: 70%;
	margin: 0 auto 1.5rem auto;
}
#identificar p {
	padding: 0 1.5rem;
	color: #aaa;
}
#identificar form {
	position: relative;
	padding: 0 1.5rem;
}
#identificar form input {
	display: block;
	margin-top: 1rem; 
	width: 100%;
	border-radius: 1.8rem;
	padding: 1rem 1.5rem;
	box-sizing: border-box;
}
#identificar form input:nth-child(2) {
	position: relative;
	border: solid 0.1rem #ccc;
	padding: 0.9rem 1.5rem;
}
#identificar form input:nth-child(3) {
	text-align: center;
	background-color: #ff9e1b;
	color: #7c4d3a;
	font: bold 0.9rem/1.2rem Poppins;
}
#identificar form input:nth-child(3):active {
	background-color: #eee;
	color: #999;
}
#identificar form img {
	display: none;
}
#identificar form.habilitar img {
	display: block;
	position: absolute;
	top: 0;
	right: 1.5rem;
	height: 1.2rem;
	padding: 0.9rem 1.4rem;
	opacity: 0.2;
	border: solid 0.1rem transparent;
}


body.escaner #menu {
	display: none;
}
#menu {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	box-shadow: 0 1px 1px #ccc;
	background-color: #fff;
	z-index: 1;
}
#menu table {
	width: 100%;
	height: 3.6rem;
}
#menu td {
	position: relative;
	width: 3.6rem;
}
#menu td:nth-child(2) {
	width: auto;
}
#menu img {
	display: block;
	margin: 0 auto;
	height: 1.6rem;
}
#menu td:nth-child(2) img {
	max-width: 90%;
}
#menu span {
	display: block;
	position: absolute;
	border-radius: 50%;
	border: solid 0.05rem #7c4d3a;
	background-color: #7c4d3a;
	font-size: 0.7rem;
	line-height: 1.1rem;
	text-align: center;
	color: #fff;
	top: 0.4rem;
	right: 0.4rem;
	width: 1.1rem;
	height: 1.1rem;	
}


#notificacion {
	display: none;
}
#notificacion.notificar {
	display: block;
	position: fixed;
	bottom: 5%;
	left: 50%;
	white-space: nowrap;
	transform: translateX(-50%);
	z-index: 2;
	background-color: #7c4d3a;
	color: #ff9e1b;
	padding: 1rem 1.5rem;
	border-radius: 1.8rem;
	text-transform: uppercase;
	font: bold 0.9rem/1.2rem Poppins;
}


#opciones {
	visibility: hidden;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0);
	transition: visibility 0.6s, background-color 0.6s;
	z-index: 2;
}
#opciones.mostrar {
	visibility: visible;
	background-color: rgba(0, 0, 0, 0.4);
}
#opciones nav {
	position: fixed;
	top: 0;
	right: 100%;
	width: calc(100% - 3.6rem);
	height: 100%;
	background-color: #FFF;
	color: #7c4d3a;
	font-weight: bold;
	box-sizing: border-box;
	border-top-right-radius: 4rem;
	transition: right 0.6s;
	padding: 1rem;	
}
#opciones.mostrar nav {
	right: 3.6rem;
}
#opciones p {
	font-size: 1.2rem;
	line-height: 1.4rem;
	font-weight: bold;
}
#opciones p:last-child {
	position: absolute;
	color: #888;
	font-size: 1rem;
	line-height: 1.2rem;
	font-weight: normal;
	font-style: italic;
}
@media (orientation: portrait) {
	#opciones img {
		display: block;
		width: 3rem;
		padding: 2rem 1rem 2rem 1.5rem;
	}
	#opciones p {
		padding: 1rem 1.5rem;
	}
	#opciones p:last-child {
		left: 1rem;
		bottom: 1.5rem;
	}
}
@media (orientation: landscape) {
	#opciones img {
		display: block;
		width: 2.5rem;
		padding: 1.5rem 1.5rem 1rem 1.5rem;
	}
	#opciones p {
		padding: 0.5rem 1.5rem;
	}
	#opciones p:last-child {
		left: 1rem;
		bottom: 1.5rem;
	}
}


#pago {
	display: none;
}
body.pago #pago {
	position: relative;
	display: block;
	background-color: #fff;
	margin-bottom: 10rem;
	border-bottom-left-radius: 4rem;
	padding-bottom: 6rem;
	box-shadow: 0 -1px 1px #ccc;
}
#pago h1 {
	padding: 2rem 1.5rem 0 1.5rem;
	color: #7c4d3a;
	font: bold 1.3rem/1.5rem Poppins;
	text-align: center;
}
#pago h2 {
	padding: 2rem 1.5rem 1rem 1.5rem;
	color: #7c4d3a;
	font-weight: bold;
}
#pago div {
	padding: 0 1.5rem;
}
#pago header {
	position: relative;
	color: #7c4d3a;
	padding: 0.5rem;
	border-bottom: solid 1px #ccc;
}
#pago header.activo {
	background-color: #eee;
}
#pago header:after {
	content: "";
	position: absolute;
	border-radius: 50%;
	border: solid 1px #ccc;
	top: 0.4rem;
	right: 0.5rem;
	width: 1.4rem;
	height: 1.4rem;
	box-sizing: border-box;
}
#pago header.activo:after {
	background-color: #ff9e1b;
	border: solid 1px #ff9e1b;
}
#pago header + section {
	display: none;
}
#pago header.activo + section {
	display: grid;
	padding: 0.5rem 0.5rem 1rem 0.5rem;
	grid-template-columns: repeat(auto-fill, 2rem);
	justify-content: center;
	gap: 0.4rem;
}
#pago section article {
	color: #000;
	box-sizing: border-box;
	text-align: center;
	font-size: 0.9rem;
	line-height: 2rem;
	border-radius: 50%;
}
#pago section article.activado {
	background-color: #ff9e1b;
	color: #fff;
}
#pago p {
	border-bottom: solid 1px #ccc;
	padding: 0.5rem 0.6rem;
	margin: 0 1.5rem;
	color: #666;
}
#pago p:focus {
	background-color: #eee;
}
#pago footer {
	position: relative;
	color: #7c4d3a;
	padding: 0.5rem 0.6rem;
	border-bottom: solid 1px #ccc;
}
#pago footer:active {
	background-color: #eee;
}
#pago footer img {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	height: 1.2rem;
}
#pago footer:nth-child(2) img:nth-child(1) {
	top: 0.7rem;
	right: 4.9rem;
	height: 0.8rem;
}
#pago footer:nth-child(2) img:nth-child(2) {
	top: 0.6rem;
	right: 2.7rem;
	height: 1rem;
}
#pago footer:nth-child(2) img:nth-child(3) {
	top: 0.6rem;
	height: 1rem;
}


#pedido {
	display: none;
}
body.pedido #pedido {
	position: relative;
	display: block;
	background-color: #fff;
	margin-bottom: 10rem;
	border-bottom-left-radius: 4rem;
	padding-bottom: 6rem;
	box-shadow: 0 -1px 1px #ccc;
}
#pedido > h1 {
	text-align: center;
	color: #7c4d3a;
	padding: 2rem 1.5rem 1.5rem 1.5rem;
	font: bold 1.3rem/1.5rem Poppins;
}
#pedido article {
	position: relative;
	margin: 0 1.5rem;
	padding: 0.6rem 3.5rem 0.6rem 1.8rem;
	border-bottom: solid 1px #ccc;
}
#pedido article * {
	font-size: 0.9rem;
}
#pedido article h1 {
	position: absolute;
	top: 0.5rem;
	left: 0;
	background-color: #eee;
	width: 1.4rem;
	height: 1.4rem;
	line-height: 1.4rem;
	text-align: center;
}
#pedido article h3 {
	position: absolute;
	top: 0.6rem;
	right: 0;
}
#pedido article.activo {
	background-color: #eee;
}
#pedido footer {
	position: relative;
	margin: 1rem 1.5rem 2rem 1.5rem;
}
#pedido footer * {
	font-weight: bold;
}
#pedido footer h2 {
	position: absolute;
	top: 0;
	right: 0;
}
#pedido section {
	position: relative;
	margin: 1rem 1.5rem;
	text-align: center;
	padding: 0.9rem 1.5rem;
	background-color: #eee;
	color: #999;	
	font: bold 0.9rem/1.2rem Poppins;
	border-radius: 1.8rem;
}
#pedido section:last-child {
	background-color: #ff9e1b;
	color: #7c4d3a;
}


#preticket {
	display: none;
}
body.preticket #preticket {
	position: relative;
	display: block;
	margin-bottom: 10rem;
	border-bottom-left-radius: 4rem;
	padding-bottom: 6rem;
	box-shadow: 0 -1px 1px #ccc;
}
#preticket h1 {
	text-align: center;
	color: #ff9e1b;
	padding: 2rem 1.5rem 1.5rem 1.5rem;
	font: bold 1.3rem/1.5rem Poppins;
}
#preticket p {
	position: relative;
	margin: 0 1.5rem;
	padding: 0.6rem 3.5rem 0.6rem 1.8rem;
	border-bottom: solid 2px #fff;
}
#preticket p * {
	font-size: 0.9rem;
}
#preticket p h2 {
	position: absolute;
	top: 0.5rem;
	left: 0;
	background-color: #fff;
	width: 1.4rem;
	height: 1.4rem;
	line-height: 1.4rem;
	text-align: center;
}
#preticket p h4 {
	position: absolute;
	top: 0.6rem;
	right: 0;
}
#preticket p:last-child {
	position: relative;
	padding: 1rem 0 2rem 0;
	border-bottom: none;
}
#preticket p:last-child * {
	font-weight: bold;
	font-size: 1rem;
}
#preticket p h6 {
	font-weight: bold;
	position: absolute;
	top: 1rem;
	right: 0;
}
#preticket section:nth-of-type(2) {
	position: relative;
	background-color: #fff;
	border-bottom-left-radius: 4rem;
	padding: 1rem 1.5rem 6rem 1.5rem;
	box-shadow: 0 -1px 1px #ccc;
}
#preticket article {
	margin: 1rem 0;
	border-radius: 1.8rem;
	padding: 0.9rem 1.5rem;
	text-align: center;
	font: bold 0.9rem/1.2rem Poppins;
}
#preticket header article {
	background-color: #ff9e1b;
	color: #7c4d3a;
}
#preticket footer article {
	display: none;
	background-color: #eee;
	color: #999;
}
#preticket header.mostrar + footer article {
	display: block;
}


#productos {
	display: none;
}
body.productos #productos {
	position: relative;
	display: block;
	background-color: #fff;
	margin-bottom: 10rem;
	border-bottom-left-radius: 4rem;
	padding-bottom: 6rem;
	box-shadow: 0 -1px 1px #ccc;
}
#productos footer {
	position: relative;
}
#productos h1 {
	padding: 2rem 1.5rem 1rem 1.5rem;
	color: #7c4d3a;
	font: bold 1.3rem/1.5rem Poppins;
	text-align: center;
	text-transform: uppercase;
}
#productos h2 {
	padding: 1.2rem 1.5rem 0.6rem 1.5rem;
	color: #7c4d3a;
	font-weight: bold;
}
#productos h2:first-child {
	padding: 1.5rem 4.5rem 0.6rem 1.5rem;
}
#productos h3 {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	color: #7c4d3a;
	font-weight: bold;
}
#productos p {
	padding: 0 1.5rem;
	color: #aaa;
}
#productos section article {
	position: relative;
	margin: 0 1.5rem;
	color: #7c4d3a;
	padding: 0.5rem;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	border-bottom: solid 1px #ccc;
}
#productos section article.activo {
	background-color: #eee;
}
#productos section.modificadores article:after {
	content: "";
	position: absolute;
	border-radius: 50%;
	border: solid 1px #ccc;
	top: 0.3rem;
	right: 0.4rem;
	width: 1.6rem;
	height: 1.6rem;
	box-sizing: border-box;
}
#productos section.modificadores article.activo:after {
	background-color: #ff9e1b;
	border: solid 1px #ff9e1b;
}
#productos section.proporcion + div {
	display: none;
}
#productos section.ingredientes article {
	padding: 0.5rem 4.5rem 0.5rem 0.5rem;	
}
#productos section.ingredientes article:not(.activado) span,
#productos section.ingredientes article div {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
}
#productos section.ingredientes article.activado {
	background-color: #eee;
	padding-right: 2.5rem;
}
#productos section.ingredientes article.activado span {
	position: absolute;
	display: block;
	margin: 0.3rem 0.4rem;
	border-radius: 50%;
	top: 0;
	right: 0;
	width: 1.6rem;
	height: 1.6rem;
	line-height: 1.6rem;
	box-sizing: border-box;
	background-color: #ff9e1b;
	border: solid 1px #ff9e1b;
	text-align: center;
	color: #fff;
}
#productos section.unidades div {
	margin: 0 auto;
	padding-top: 0.5rem;
	position: relative;
	line-height: 2.8rem;
	width: 10rem;
}
#productos section.unidades div img {
	position: absolute;
	top: 0.5rem;
	width: 2.8rem;
}
#productos section.unidades div img:first-child {
	left: 0;
}
#productos section.unidades div span {
	display: block;
	text-align: center;
	font-size: 1.8rem;
	line-height: 2.8rem;
	color: #7c4d3a;
}	
#productos section.unidades div img:last-child {
	right: 0;
}


#resultado {
	display: none;
}
body.resultado #resultado {
	position: relative;
	display: block;
	background-color: #fff;
	margin-bottom: 10rem;
	border-bottom-left-radius: 4rem;
	padding-bottom: 6rem;	
	box-shadow: 0 -1px 1px #ccc;
}
#resultado section {
	text-align: center;
	margin: 0 auto;
	padding: 5rem 1.5rem;
}
#resultado img {
	width: 50%;
}
#resultado h1 {
	margin: 1.5rem 1rem 0 1rem;
	font: bold 1.4rem/1.6rem Poppins;
	color: #7c4d3a;
}
#resultado article {
	margin-top: 4rem; 
	width: 100%;
	border-radius: 1.8rem;
	padding: 1rem 0;
	box-sizing: border-box;
	text-align: center;
	background-color: #ff9e1b;
	color: #7c4d3a;
	font: bold 0.9rem/1.2rem Poppins;
}
#resultado.ko section:nth-child(1),
#resultado.ok section:nth-child(2) {
	display: none;
}


