/* Audacieuse – Menu mobile
 * Les éléments ajoutés portent .agmm-item et .agmm-item--{id}.
 * Le masquage sur ordinateur est ajouté en ligne selon la largeur réglée.
 */

.agmm-item {
	list-style: none;
}

/* ---------- Champ de recherche ---------- */

.agmm-item--search {
	padding: 16px 20px 14px !important;
}

.agmm-search {
	display: flex;
	align-items: center;
	margin: 0;
	border-bottom: 1px solid currentColor;
	border-bottom-color: rgba(127, 127, 127, .45);
	transition: border-color .25s ease;
}

.agmm-search:focus-within {
	border-bottom-color: currentColor;
}

.agmm-search__input {
	flex: 1 1 auto;
	min-width: 0;
	height: auto !important;
	margin: 0 !important;
	padding: 10px 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: inherit !important;
	font-family: inherit;
	font-size: 16px !important; /* évite le zoom automatique sur iPhone */
	letter-spacing: .04em;
	-webkit-appearance: none;
	appearance: none;
}

.agmm-search__input::placeholder {
	color: inherit;
	opacity: .55;
	font-style: italic;
}

.agmm-search__input:focus {
	outline: none;
}

/* Retire la croix native de Chrome/Safari */
.agmm-search__input::-webkit-search-cancel-button,
.agmm-search__input::-webkit-search-decoration {
	-webkit-appearance: none;
}

.agmm-search__btn {
	flex: 0 0 auto;
	margin: 0;
	padding: 8px 0 8px 14px;
	border: 0;
	background: transparent;
	color: inherit;
	line-height: 0;
	cursor: pointer;
	opacity: .8;
	transition: opacity .2s ease;
}

.agmm-search__btn:hover,
.agmm-search__btn:focus-visible {
	opacity: 1;
}
