/* Portada: tarjetas de primeros, segundos y postres */
.bmp-lista {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 1.05rem;
	line-height: 1.4;
}
.bmp-lista li + li {
	margin-top: 0.5em;
}
.bmp-sugerencia {
	font-weight: 600;
	padding-bottom: 0.5em;
	border-bottom: 1px solid currentColor;
}
.bmp-etiqueta {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	opacity: 0.75;
}

.bmp-fecha {
	display: inline-block;
	margin: 0 auto;
	padding: 0.4em 1.2em;
	border: 1px solid #000;
	background: var(--bricks-color-krttbz, #f8f8e9);
	color: #000;
	font-size: 1.1rem;
	font-weight: 600;
	text-align: center;
}

.bmp-tipo-dia {
	display: block;
	width: fit-content;
	margin: 0.4em auto 0;
	padding: 0.15em 0.8em;
	background: var(--bricks-color-lelekj, #003a89);
	color: #fff;
	font-weight: 600;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.bmp-completo > .bmp-tipo-dia {
	margin-top: -1em;
}

/* Página de menús: menú del día completo */
.bmp-completo {
	display: flex;
	flex-direction: column;
	gap: 1.5em;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}
.bmp-completo h2 {
	text-align: center;
}
.bmp-completo .bmp-columnas h3 {
	margin-bottom: 0.6em;
	text-align: center;
	text-transform: uppercase;
}
.bmp-completo .bmp-lista {
	text-align: center;
}
.bmp-pdf {
	text-align: center;
}

/* Portada: precios y suplementos */
.bmp-precios {
	max-width: 900px;
	margin: 0 auto;
	padding: 20px 30px;
	border: 1px solid #000;
	background: var(--bricks-color-krttbz, #f8f8e9);
	color: #000;
	text-align: center;
}
.bmp-precios ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.bmp-precios-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5em 2em;
	font-size: 1.2rem;
}
.bmp-precios-titulo {
	margin: 0 0 0.6em;
	font-size: 1.6rem;
	padding-bottom: 0.4em;
	border-bottom: 1px solid #000;
	font-weight: 600;
	text-transform: uppercase;
}
.bmp-suplementos-titulo {
	margin: 1.2em 0 0.4em;
	font-weight: 600;
}
.bmp-incluye {
	margin-top: 1em;
	font-size: 0.9rem;
}

@media (max-width: 767px) {
	.bmp-completo {
		padding: 0 16px;
	}
	.bmp-precios {
		padding: 16px;
	}
	.bmp-precios-titulo {
		font-size: 1.25rem;
	}
	.bmp-precios-menu {
		flex-direction: column;
		font-size: 1.1rem;
	}
}

/* App instalada: sin la cabecera ni el pie de la web pública en el área privada.
   La clase la pone un script en <head> solo en el área privada. */
html.bmp-app #brx-header,
html.bmp-app #brx-footer {
	display: none !important;
}
html.bmp-app .brxe-container.cont-bred {
	display: none !important;
}
html.bmp-app #brx-content > .brxe-section {
	margin-top: 0 !important;
	padding-top: calc(16px + env(safe-area-inset-top)) !important;
}
html.bmp-app #brx-content > .brxe-section > .brxe-container {
	padding-top: 0 !important;
}

/* Sección de acceso de la plantilla: sin hueco cuando ya hay sesión (el shortcode no pinta nada). */
#brxe-apacce:not(:has(.bmp-acceso)) {
	display: none;
}

/* App: aviso de instalación */
.bmp-instalar {
	position: fixed;
	right: 16px;
	bottom: 16px;
	left: 16px;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 480px;
	margin: 0 auto;
	padding: 12px 14px;
	border-radius: 8px;
	background: var(--bricks-color-lelekj, #003a89);
	color: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.bmp-instalar p {
	margin: 0;
	font-size: 15px;
}
.bmp-instalar-boton {
	flex: 1;
	padding: 12px;
	border: 0;
	border-radius: 6px;
	background: #fff;
	color: #003a89;
	font-size: 16px;
	font-weight: 600;
}
.bmp-instalar-cerrar {
	padding: 4px 8px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 24px;
	line-height: 1;
}

@media (max-width: 767px) {
	.bmp-form input[type="file"] {
		width: 100%;
		padding: 16px 12px;
		border: 2px dashed rgba(0, 58, 137, 0.4);
		border-radius: 8px;
		background: #fff;
		font-size: 16px;
	}
	.bmp-form button,
	.bmp-botones button {
		width: 100%;
		padding: 16px;
		font-size: 17px;
	}
	.bmp-tabla {
		font-size: 14px;
	}
	.bmp-tabla th,
	.bmp-tabla td {
		padding: 0.4em 0.3em;
	}
}

/* Área privada: acceso */
.bmp-acceso {
	max-width: 420px;
	margin: 40px auto;
	padding: 24px;
	border: 1px solid rgba(0, 58, 137, 0.2);
	border-radius: 6px;
	background: #fff;
}
.bmp-acceso form p {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 14px;
}
.bmp-acceso form .login-remember {
	flex-direction: row;
	align-items: center;
}
.bmp-acceso input[type="text"],
.bmp-acceso input[type="password"] {
	padding: 12px;
	font-size: 16px;
}
.bmp-acceso input[type="submit"] {
	width: 100%;
	padding: 14px;
	border: 0;
	background: var(--bricks-color-lelekj, #003a89);
	color: #fff;
	font-size: 16px;
}

/* Área privada */
.bmp-form,
.bmp-revision {
	display: flex;
	flex-direction: column;
	gap: 0.8em;
	max-width: 900px;
}
.bmp-form label,
.bmp-tipo label {
	font-weight: 600;
}
.bmp-ayuda {
	font-size: 0.9rem;
	opacity: 0.8;
}
.bmp-aviso {
	padding: 0.6em 0.9em;
	border-left: 4px solid;
}
.bmp-aviso-error {
	border-color: #b32d2e;
	background: #fcf0f1;
}
.bmp-aviso-ok {
	border-color: #00a32a;
	background: #edfaef;
}
.bmp-columnas {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5em;
}
.bmp-tabla {
	width: 100%;
	border-collapse: collapse;
}
.bmp-tabla th,
.bmp-tabla td {
	padding: 0.4em 0.6em;
	border-bottom: 1px solid #ddd;
	text-align: left;
}
.bmp-tabla td:nth-child(3),
.bmp-tabla td:nth-child(4) {
	white-space: nowrap;
}
.bmp-botones {
	margin-top: 1em;
}
.bmp-form .bricks-background-primary,
.bmp-botones .bricks-background-primary {
	color: #fff;
}
.bmp-secundario {
	background: transparent;
	text-decoration: underline;
}
