/* Enlace del menú: solo la lupa. */
.abrir-buscador > a {
	font-size: 0 !important;
	line-height: 1;
}
.abrir-buscador > a .menu-text,
.abrir-buscador > a .fusion-megamenu-icon {
	display: none;
}
.abrir-buscador > a::before {
	content: "\f002";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 16px;
	font-style: normal;
	display: inline-block;
}
/* Portada: la cabecera va sobre el hero, la lupa en blanco. En interiores hereda el color del enlace. */
body.nv-home .abrir-buscador > a::before {
	color: #fff;
}

/* Modal. */
.nv-buscador {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(10, 25, 50, .85);
}
.nv-buscador.is-open {
	display: flex;
}
.nv-buscador__box {
	position: relative;
	width: 100%;
	max-width: 600px;
	padding: 32px 24px 24px;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
}
.nv-buscador__close {
	position: absolute;
	top: 4px;
	right: 10px;
	padding: 4px 8px;
	border: 0;
	background: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #333;
}
.nv-buscador__form {
	display: flex;
	gap: 8px;
}
.nv-buscador__form input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 16px;
}
.nv-buscador__form button {
	padding: 12px 22px;
	border: 0;
	border-radius: 3px;
	background: #0a1932;
	color: #fff;
	font-size: 16px;
	cursor: pointer;
}
body.nv-buscador-abierto {
	overflow: hidden;
}
