/* ---------------------------------------------------------------------------
 * Novatis — recherche produits
 * ------------------------------------------------------------------------- */

.nv-recherche-hote { position: relative; }

.nv-recherche-panneau {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	right: 0;
	z-index: 60;
	display: none;
	max-height: 70vh;
	overflow-y: auto;
	padding: 6px;
	border: 1px solid #e6e7e9;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 26px 50px -20px rgba(0, 0, 0, .28);
	font-family: 'Manrope', system-ui, -apple-system, sans-serif;
}
.nv-recherche-panneau.nv-ouvert { display: block; }

.nv-recherche-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 12px;
	text-decoration: none;
	color: #1c2024;
	transition: background .15s ease;
}
.nv-recherche-item:hover,
.nv-recherche-item.nv-actif { background: #fdeceb; }

.nv-recherche-vignette {
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	border-radius: 10px;
	background: #f5f6f7;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.nv-recherche-vignette img { width: 100%; height: 100%; object-fit: contain; }

.nv-recherche-texte { flex: 1 1 auto; min-width: 0; }

.nv-recherche-titre {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: #1c2024;
}
.nv-recherche-court {
	display: block;
	margin-top: 2px;
	font-size: 12.5px;
	color: #6b7178;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nv-recherche-tag {
	flex: 0 0 auto;
	padding: 4px 10px;
	border-radius: 999px;
	background-color: #f7f2f1 !important;
	color: #e30e1d !important;
	font-size: 10.5px;
	font-weight: 700;
	white-space: nowrap;
}

.nv-recherche-tous {
	display: block;
	margin-top: 4px;
	padding: 11px 12px;
	border-top: 1px solid #e6e7e9;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	color: #E20613;
	text-decoration: none;
	border-radius: 0 0 12px 12px;
}
.nv-recherche-tous:hover,
.nv-recherche-tous.nv-actif { background: #fdeceb; }

.nv-recherche-vide {
	margin: 0;
	padding: 18px 14px;
	text-align: center;
	font-size: 13.5px;
	color: #6b7178;
}

/* ---- Formulaire de la page de résultats ---- */
.nv-recherche-form {
	display: flex;
	gap: 12px;
	max-width: 620px;
	font-family: 'Manrope', system-ui, sans-serif;
}
.nv-recherche-form input {
	flex: 1 1 auto;
	font-family: inherit;
	font-size: 15px;
	padding: 14px 20px;
	border: 1px solid #e6e7e9;
	border-radius: 999px;
	background: #fff;
	color: #1c2024;
}
.nv-recherche-form input:focus {
	outline: none;
	border-color: #E20613;
	box-shadow: 0 0 0 3px rgba(226, 6, 19, .1);
}
.nv-recherche-form button {
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	padding: 14px 28px;
	border: 0;
	border-radius: 999px;
	background: #E20613;
	color: #fff;
	cursor: pointer;
	transition: background .2s ease;
}
.nv-recherche-form button:hover { background: #c00510; }

@media (max-width: 640px) {
	.nv-recherche-panneau { position: fixed; left: 12px; right: 12px; top: auto; }
	.nv-recherche-court { display: none; }
}
