* {
	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;
			&::placeholder {
				color: #aaa;
			}
		}
		&:not([class]), #descargas {
			display: none;
		}
	}
}

div.consulta form {
	position: relative;
	background-color: #ccc;
	box-shadow: 0 1px 4px #888;
	margin-bottom: 30px;
	header {
		position: relative;
		background-color: #eee;
		color: #333;
		padding: 10px 30px;
		border-bottom: solid 1px #888;
	}
	input[type="file"] {
		display: none;
	}
	> label {
		display: inline-block;
		margin: 20px 0 0 30px;
		padding-left: 30px;
		cursor: pointer;
		user-select: none;
		background: var(--img-no) left center / 24px 24px no-repeat;
		&:has(input:checked) {
			background-image: var(--img-si);
		}
		input {
			display: none;
		}
	}
	input {
		margin: 20px 0 20px 30px;
		box-sizing: border-box;
		color: white;
		background-color: #555;
		padding: 5px 10px;
		border-radius: 8px;
		box-shadow: inset 0 0 8px #000;
	}
	section {
		top: 94px;
		left: 31px;
	}
	input[type="submit"] {
		width: 250px;
		background: linear-gradient(180deg, #a1df6e, #5cb810);
		border: solid 1px #4a0;
		box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
		font-weight: bold;
		color: #222;
		text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.4);
		text-align: center;
		cursor: pointer;
		line-height: 17px;
		border-radius: 8px;
		padding: 5px 10px;
		form.enviando & {
			background: linear-gradient(180deg, #e0e0e0, #b8b8b8);
			text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.7);
			color: #555;
			border: solid 1px #bbb;
		}
	}
}

#dialogo {
	display: none;
	&.aceptar, &.confirmar {
		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: 4;
		user-select: none;
		section {
			width: 85%;
			max-width: 25rem;
			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;
			header {
				position: relative;
				color: #ff9e1b;
				overflow: hidden;
				white-space: nowrap;
				text-overflow: ellipsis;
				font-weight: bold;
			}
			article {
				color: #222;
				margin: 1.5rem 0;
			}
			footer {
				p {
					background-color: #ff9e1b;
					color: #fff;
					text-align: center;
					border-radius: 0.4rem;
					padding: 1rem 0;
					font-weight: bold;
					#dialogo.aceptar &:nth-last-of-type(n+2), #dialogo.confirmar &:last-of-type {
						display: none;
					}
					#dialogo.confirmar & {
						display: inline-block;
						width: calc(50% - 0.75rem);
						&:first-child {
							margin-right: 1.5rem;
						}
					}
				}
			}
		}
	}
}

div.documento {
	margin-bottom: 400px;
	box-shadow: 0 1px 4px #888;
	background-color: #ccc;
	header {
		position: relative;
		background-color: #eee;
		color: #333;
		padding: 10px 30px;
		> span {
			div.documento.bloqueado &, div.documento.cerrado & {
				padding-left: 30px;
			}
		}
		> img {
			display: none;
			div.documento.bloqueado &, div.documento.cerrado & {
				display: block;
				position: absolute;
				top: 0;
				left: 15px;
				width: 24px;
				height: 24px;
				padding: 8px;
				opacity: 0.7;
			}
		}
	}
	div {
		position: relative;
		border-top: solid 1px #aaa;
		border-bottom: solid 1px #aaa;
		height: 150px;
		address {
			position: absolute;
			top: 20px;
			left: 2%;
			width: 28%;
			height: 110px;
			background-color: #fff;
			box-shadow: 0 0 4px #555;
			border-radius: 10px;
			padding: 15px 20px;
			font-style: normal;
			cursor: text;
			box-sizing: border-box;
			white-space: nowrap;
			&:not(.oculto) {
				overflow: hidden;
				text-overflow: ellipsis;
				cursor: pointer;
				user-select: none;
				div.documento.copiable & {
					cursor: auto;
					user-select: auto;
				}
			}
			&:not(.oculto) input, &:not(.oculto) section, &.oculto p {
				display: none;
			}
			input {
				width: 100%;
			}
			p:nth-of-type(1) {
				font-weight: bold;
			}
		}
		textarea {
			position: absolute;
			top: 20px;
			left: 32%;
			width: 28%;
			height: 110px;
			color: #fff;
			background-color: #555;
			font-size: 16px;
			padding: 5px 10px;
			border-radius: 10px;
			box-shadow: inset 0 0 6px #000;
			box-sizing: border-box;
		}
		input[type="button"] {
			position: absolute;
			top: 20px;
			right: 2%;
			width: 36%;
			background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(0, 0, 0, 0.1));
			background-color: #6c1;
			border: solid 1px #4a0;
			box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
			font-weight: bold;
			color: #222;
			text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.4);
			text-align: center;
			cursor: pointer;
			padding: 5px 30px;
			border-radius: 8px;
			line-height: 17px;
			form.enviando & {
				background-color: #ddd;
				border: solid 1px #bbb;
				text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.7);
				color: #555;
			}
		}
		form > input[type="text"] {
			position: absolute;
			bottom: 20px;
			width: 170px;
			color: white;
			background-color: #555;
			padding: 5px 10px;
			border-radius: 8px;
			box-shadow: inset 0 0 8px #000;
			box-sizing: border-box;
		}
		label {
			position: absolute;
			bottom: 22px;
			line-height: 24px;
			padding-left: 30px;
			cursor: pointer;
			user-select: none;
			background: var(--img-no) left center / 24px 24px no-repeat;
			&:has(input:checked) {
				background-image: var(--img-si);
			}
			input {
				display: none;
			}
		}
	}
	table {
		border-collapse: collapse;
		background-color: #fff;
		color: #333;
		th {
			background-color: #ddd;
			font-weight: bold;
			border: solid 1px #aaa;
			border-top: none;
			padding: 5px 0;
			&:first-child {
				border-left: none;
			}
			&:last-child {
				border-right: none;
			}
		}
		td {
			border: solid 1px #aaa;
			text-align: left;
			&:first-child {
				border-left: none;
			}
			&:last-child {
				border-right: none;
			}
		}
		thead {
			th {
				user-select: none;
			}
		}
		tbody {
			th {
				font-weight: normal;
				background-color: #eee;
				padding: 5px;
			}
			td {
				position: relative;
				&:first-child {
					padding-left: 37px;
					span {
						cursor: pointer;
						position: absolute;
						top: 0;
						left: 0;
						display: block;
						width: 36px;
						line-height: 30px;
						text-align: center;
						border-right: solid 1px #aaa;
						user-select: none;
					}
					section {
						left: 33px;
						top: 26px;
					}
				}
				tr.titulo & {
					font-weight: bold;
					background-color: #f5f5f5;
				}
				tr:hover:not(.titulo) & {
					background-color: #eee;
				}
				input {
					width: 100%;
					padding: 3px 5px;
					line-height: 24px;
					box-sizing: border-box;
					background-color: transparent;
					&.buscando {
						background-color: #ddd;
					}
				}
			}
			th, input {
				text-align: right;
			}
			td:nth-child(1) input {
				text-align: left;
			}
		}
		tfoot {
			td {
				padding: 5px;
				text-align: right;
			}
		}
	}
}

div.ficha {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	display: grid;
	place-items: center;
	z-index: 3;
	form {
		background-color: #ccc;
		box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
		input[type="file"] {
			display: none;
		}
		header {
			position: relative;
			background-color: #eee;
			color: #333;
			padding: 10px 30px;
			border-bottom: solid 1px #888;
		}
		> fieldset {
			margin-top: 30px;
		}
		table {
			margin: 30px 0 0 30px;
			width: calc(100% - 60px);
			background-color: #fff;
			box-shadow: 0 1px 4px #888;
			thead {
				th {
					color: #000;
					padding: 6px 10px;
					font-weight: bold;
					background-color: #eee;
					text-align: center;
					&:nth-child(n+2) {
						border-left: solid 1px #ddd;
					}
				}
			}
			tbody {
				td {
					position: relative;
					border-top: solid 1px #ddd;
					text-align: left;
					tbody:first-child tr:first-child & {
						border-top: none;
					}
					&:nth-child(n+2) {
						border-left: solid 1px #ddd;
					}
					input {
						width: 100%;
						padding: 6px 10px;
						background-color: transparent;
						box-sizing: border-box;
					}
					textarea {
						display: block;
						width: 100%;
						height: 120px;
						padding: 6px 10px;
						background-color: transparent;
						box-sizing: border-box;
						&::-webkit-scrollbar {
							width: 10px;
						}
						&::-webkit-scrollbar-track {
							background-color: #eee;
							border-left: 1px solid #ccc;
						}
						&::-webkit-scrollbar-thumb {
							background-color: #ddd;
						}
						&::-webkit-scrollbar-thumb:hover {
							background-color: #aaa;
						}
					}
				}
			}
			tfoot {
				th {
					color: #000;
					padding: 6px 10px;
					font-weight: bold;
					background-color: #eee;
					text-align: right;
					border-top: solid 1px #ddd;
					&:nth-child(n+2) {
						border-left: solid 1px #ddd;
					}
				}
				td {
					border-top: solid 1px #ddd;
				}
			}
		}
		> label {
			display: inline-block;
			margin: 20px 0 0 30px;
			padding-left: 30px;
			cursor: pointer;
			user-select: none;
			background: var(--img-no) left center / 24px 24px no-repeat;
			&:has(input:checked) {
				background-image: var(--img-si);
			}
			input {
				display: none;
			}
		}
		input[type="submit"] {
			width: 100%;
			border-top: solid 1px #888;
			background-color: transparent;
			text-align: center;
			padding: 14px 0;
			margin-top: 30px;
			cursor: pointer;
			&:hover {
				background-color: #eee;
			}
		}
	}
}

menu {
	position: absolute;
	display: flex;
	top: 0;
	right: 20px;
	img {
		display: none;
		margin: 8px;
		width: 24px;
		height: 24px;
		cursor: pointer;
		opacity: 0.7;
	}
	input {
		appearance: none;
		margin: 8px;
		width: 24px;
		height: 24px;
		cursor: pointer;
		opacity: 0.7;
		background: var(--img-no) no-repeat center / contain;
		&:checked {
			background: var(--img-si) no-repeat center / contain;
		}
	}
}

section.lista {
	display: none;
	&.mostrar {
		display: block;
		position: absolute;
		background-color: white;
		color: #333;
		box-shadow: 0 0 4px #666;
		z-index: 1;
		cursor: pointer;
		article {
			padding: 5px 10px;
			white-space: nowrap;
			&.cursor {
				background-color: #ddd;
			}
		}
		p {
			padding: 5px 10px;
		}
	}
}

div.listado {
	h1 {
		margin-bottom: 10px;
		font-size: 22px;
		line-height: 24px;
	}
	table {
		box-shadow: 0 1px 4px #888;
		background-color: #fff;
		thead {
			th {
				width: 110px;
				font-weight: bold;
				background-color: #eee;
				padding: 5px 10px;
				text-align: center;
				overflow: hidden;
				white-space: nowrap;
				text-overflow: ellipsis;
				cursor: pointer;
				user-select: none;
				tr:nth-child(n+2) & {
					border-top: solid 1px #ddd;
				}
				&:nth-child(n+2), tr:nth-child(n+2) &:nth-child(1) {
					border-left: solid 1px #ddd;
				}
				&.asc {
					background: #eee var(--img-abajo) no-repeat calc(100% - 4px) center / 24px;
				}
				&.desc {
					background: #eee var(--img-arriba) no-repeat calc(100% - 4px) center / 24px;
				}
				&:last-child {
					width: 80px;
				}
			}
		}
		tbody {
			td {
				border-top: solid 1px #ddd;
				padding: 5px 10px;
				text-align: left;
				overflow: hidden;
				white-space: nowrap;
				text-overflow: ellipsis;
				cursor: pointer;
				&:nth-child(n+2) {
					border-left: solid 1px #ddd;
				}
				tr:hover & {
					background-color: #f5f5f5;
				}
				img {
					display: block;
					width: 20px;
					opacity: 0.7;
					margin: 0 auto;
				}
				input[type="checkbox"], input[type="checkbox"]:not(:checked) + img {
					display: none;
				}
			}
		}
		tfoot {
			th {
				border-top: solid 1px #ddd;
				font-weight: bold;
				background-color: #eee;
				padding: 5px 10px;
				text-align: right;
				overflow: hidden;
				white-space: nowrap;
				text-overflow: ellipsis;
				&:nth-child(n+2) {
					border-left: solid 1px #ddd;
				}
			}
		}
	}
}

#notificacion {
	display: none;
	&.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;
	}
}

header > fieldset {
	display: flex;
	position: absolute;
	top: 0;
	width: 440px;
	right: 130px;
	label {
		flex: 1;
		border-right: solid 1px #ccc;
		user-select: none;
		display: block;
		text-align: center;
		line-height: 40px;
		color: #bbb;
		background-color: #eee;
		cursor: pointer;
		&:first-child {
			border-left: solid 1px #ccc;
		}
		&:has(input:checked) {
			color: #000;
			background-color: #ddd;
			font-weight: bold;
		}
		input {
			display: none;
		}
	}
}

header > p {
	display: flex;
	position: absolute;
	top: 0;
	right: 200px;
	&:hover {
		background-color: #ddd;
	}
	img {
		display: block;
		width: 26px;
		height: 26px;
		padding: 7px;
		opacity: 0.7;
		cursor: pointer;
	}
	span {
		text-align: center;
		line-height: 40px;
		color: #333;
		font-size: 16px;
		width: 100px;
	}
}


form > fieldset, div > fieldset, footer > fieldset {
	display: inline-flex;
	width: calc(100% - 60px);
	margin: 20px 0 0 30px;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
	label {
		flex: 1;
		user-select: none;
		display: block;
		position: relative;
		text-align: center;
		line-height: 30px;
		background-color: #eee;
		cursor: pointer;
		&:nth-child(n+2) {
			border-left: solid 1px #ccc;
		}
		&:has(input:checked) {
			background-color: #ddd;
			top: 2px;
		}
		input {
			display: none;
		}
	}
}

#bolsa {
	display: none;
	body.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;
		section {
			text-align: center;
			margin: 0 auto;
			padding: 5rem 1.5rem;
			img {
				width: 50%;
			}
			p {
				margin: 1.5rem 1rem 0 1rem;
				font: bold 1.4rem/1.6rem Poppins;
				color: #7c4d3a;
			}
			button {
				display: none;
				#bolsa.recuperar & {
					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;
}
#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;
}


#identidad {
	display: none;
	body.identidad & {
		display: block;
		padding: 1rem 1.5rem 7rem 1.5rem;
		margin-bottom: 10rem;
		border-bottom-left-radius: 4rem;
		background-color: #fff;
		h1 {
			padding: 1.2rem 0 0.6rem 0;
			color: #7c4d3a;
			font-weight: bold;
		}
		form {
			input[type="text"], input[type="password"] {
				border-bottom: solid 1px #ccc;
				margin: 1rem 0;
				width: 100%;
				padding: 0.5rem;
				box-sizing: border-box;
				&:focus {
					background-color: #eee;
				}
			}
			input[type="submit"] {
				border-radius: 1.8rem;
				margin: 1rem 0;
				padding: 0.9rem 1.5rem;
				text-align: center;
				background-color: #ff9e1b;
				color: #7c4d3a;
				font: bold 0.9rem/1.2rem Poppins;
				width: 100%;
				&:active {
					background-color: #eee;
					color: #999;
				}
			}
		}
	}
}

#menu {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	box-shadow: 0 1px 1px #ccc;
	background-color: #fff;
	z-index: 1;
	nav {
		width: 100%;
		height: 3.6rem;
		display: grid;
		grid-template-columns: 3.6rem auto 3.6rem;
		li {
			display: grid;
			place-content: center;
			text-align: center;
			list-style: none;
			&:nth-child(2) img {
				max-width: 100%;
			}
			img {
				display: block;
				margin: 0 auto;
				height: 1.6rem;
			}
			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;
			}
		}
	}
}

#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;
	&.mostrar {
		visibility: visible;
		background-color: rgba(0, 0, 0, 0.4);
		nav {
			right: 3.6rem;
		}
	}
	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;
		p {
			font-size: 1.2rem;
			line-height: 1.4rem;
			font-weight: bold;
			&:last-child {
				position: absolute;
				color: #888;
				font-size: 1rem;
				line-height: 1.2rem;
				font-weight: normal;
				font-style: italic;
			}
		}
	}
	@media (orientation: portrait) {
		img {
			display: block;
			width: 3rem;
			padding: 2rem 1rem 2rem 1.5rem;
		}
		p {
			padding: 1rem 1.5rem;
			&:last-child {
				left: 1rem;
				bottom: 1.5rem;
			}
		}
	}
	@media (orientation: landscape) {
		img {
			display: block;
			width: 2.5rem;
			padding: 1.5rem 1.5rem 1rem 1.5rem;
		}
		p {
			padding: 0.5rem 1.5rem;
			&: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 & {
		position: relative;
		display: block;
		background-color: #fff;
		margin-bottom: 10rem;
		border-bottom-left-radius: 4rem;
		padding-bottom: 6rem;
		box-shadow: 0 -1px 1px #ccc;
		> h1 {
			text-align: center;
			color: #7c4d3a;
			padding: 2rem 1.5rem 1.5rem 1.5rem;
			font: bold 1.3rem/1.5rem Poppins;
		}
		article {
			position: relative;
			margin: 0 1.5rem;
			padding: 0.6rem 3.5rem 0.6rem 1.8rem;
			border-bottom: solid 1px #ccc;
			&.activo {
				background-color: #eee;
			}
			* {
				font-size: 0.9rem;
			}
			h1 {
				position: absolute;
				top: 0.5rem;
				left: 0;
				background-color: #eee;
				width: 1.4rem;
				height: 1.4rem;
				line-height: 1.4rem;
				text-align: center;
			}
			h3 {
				position: absolute;
				top: 0.6rem;
				right: 0;
			}
		}
		footer {
			position: relative;
			margin: 1rem 1.5rem 2rem 1.5rem;
			* {
				font-weight: bold;
			}
			h2 {
				position: absolute;
				top: 0;
				right: 0;
			}
		}
		button {
			display: block;
			width: calc(100% - 3rem);
			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;
			&:last-child {
				background-color: #ff9e1b;
				color: #7c4d3a;
			}
		}
	}
}

#productos {
	display: none;
	body.productos & {
		position: relative;
		display: block;
		background-color: #fff;
		margin-bottom: 10rem;
		border-bottom-left-radius: 4rem;
		padding: 0 1.5rem 6rem 1.5rem;
		footer {
			position: relative;
			h2 {
				padding: 1.2rem 0 0.6rem 0;
				color: #7c4d3a;
				font-weight: bold;
				&:first-child {
					padding: 1.5rem 3rem 0.6rem 0;
				}
			}
			h3 {
				position: absolute;
				top: 1.5rem;
				right: 0;
				color: #7c4d3a;
				font-weight: bold;
			}
			p {
				color: #aaa;
			}
		}
		h1 {
			color: #7c4d3a;
			padding: 2rem 0 1rem 0;
			font: bold 1.3rem/1.5rem Poppins;
			text-align: center;
			text-transform: uppercase;
		}
		section article {
			position: relative;
			color: #7c4d3a;
			padding: 0.5rem 4rem 0.5rem 0.5rem;
			white-space: nowrap;
			text-overflow: ellipsis;
			overflow: hidden;
			border-bottom: solid 1px #ccc;
			&.activo {
				background-color: #eee;
			}
			span {
				position: absolute;
				display: block;
				margin: 0.5rem 0.4rem;
				top: 0;
				right: 0;
			}
		}
		section article.activado {
			background-color: #eee;
			padding-right: 2.5rem;
			span {
				margin: 0.2rem 0.4rem;
				border-radius: 50%;
				width: 1.8rem;
				height: 1.8rem;
				line-height: 1.8rem;
				box-sizing: border-box;
				background-color: #ff9e1b;
				border: solid 1px #ff9e1b;
				text-align: center;
				color: #fff;
			}
		}
		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;
		}
		section.modificadores article.activo:after {
			background-color: #ff9e1b;
			border: solid 1px #ff9e1b;
		}
		section.proporcion + div {
			display: none;
		}
		section.ingredientes article {
			padding: 0.5rem;
			&:not(.activado) span, & div {
				position: absolute;
				top: 0.5rem;
				right: 0.5rem;
			}
			&.activado {
				background-color: #eee;
				padding-right: 2.5rem;
			}
			&.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;
			}
		}
		section.unidades div {
			margin: 0 auto;
			padding-top: 0.5rem;
			position: relative;
			line-height: 2.8rem;
			width: 10rem;
			img {
				position: absolute;
				top: 0.5rem;
				width: 2.8rem;
				&:first-child {
					left: 0;
				}
				&:last-child {
					right: 0;
				}
			}
			span {
				display: block;
				text-align: center;
				font-size: 1.8rem;
				line-height: 2.8rem;
				color: #7c4d3a;
			}
		}
	}
}

#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;
}

