/* AyetamA Réseau — bloc de recherche du bandeau, tablette et mobile (v2.8.93).
   Deux champs blancs empilés (icône à l'intérieur, sans libellé visible) puis le bouton pleine largeur.
   Feuille à part, chargée après recherche.css. Ordinateur (> 1100 px) : inchangé. */

@media (max-width: 1100px) {
	html body .ayap-sr .ayap-sr-barre-recherche {
		display: flex !important;
		flex-direction: column !important;
		gap: 8px !important;
		width: 100%;
		max-width: 560px !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	/* Champs blancs */
	html body .ayap-sr .ayap-sr-barre-recherche > .ayap-sr-f {
		display: flex !important;
		flex-direction: column;
		justify-content: center;
		width: 100%;
		min-height: 46px !important;
		height: 46px !important;
		position: relative !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 1px solid color-mix(in srgb, var(--sr-c1) 22%, #fff) !important;
		border-radius: 10px !important;
		background-color: #fff !important;
	}

	html body .ayap-sr .ayap-sr-barre-recherche > .ayap-sr-f:hover {
		border-color: color-mix(in srgb, var(--sr-c1) 40%, #fff) !important;
	}

	html body .ayap-sr .ayap-sr-barre-recherche > .ayap-sr-f:focus-within {
		border-color: var(--sr-c2) !important;
		box-shadow: 0 0 0 3px color-mix(in srgb, var(--sr-c2) 30%, transparent) !important;
	}

	/* Icône simple, à l'intérieur du champ (plus de pastille colorée) */
	html body .ayap-sr .ayap-sr-barre-recherche > .ayap-sr-f::before {
		top: 50%;
		left: 13px;
		width: 22px;
		height: 22px;
		border-radius: 0;
		background-color: transparent !important;
		background-size: 20px 20px;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238b93a7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") !important;
	}

	html body .ayap-sr .ayap-sr-barre-recherche > .ayap-sr-f:nth-child(2)::before {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238b93a7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.5C5 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") !important;
	}

	/* Libellé : lu par les lecteurs d'écran, non affiché */
	html body .ayap-sr .ayap-sr-barre-recherche > .ayap-sr-f label {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		margin: -1px !important;
		padding: 0 !important;
		overflow: hidden !important;
		clip: rect(0 0 0 0) !important;
		white-space: nowrap !important;
		border: 0 !important;
	}

	html body .ayap-sr .ayap-sr-barre-recherche > .ayap-sr-f input[type="text"] {
		position: absolute !important;
		top: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		left: 0 !important;
		display: block !important;
		width: 100% !important;
		height: 100% !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 12px 0 44px !important;
		border: 0 !important;
		border-radius: 10px !important;
		background: transparent !important;
		font-size: 16px !important;
		font-weight: 500;
		line-height: normal !important;
		box-sizing: border-box !important;
		-webkit-appearance: none;
		appearance: none;
	}

	html body .ayap-sr .ayap-sr-barre-recherche > .ayap-sr-f input[type="text"]::placeholder {
		color: #8b93a7;
		font-weight: 400;
	}

	/* Bouton pleine largeur */
	html body .ayap-sr .ayap-sr-barre-recherche > .ayap-sr-btn {
		width: 100% !important;
		min-width: 0 !important;
		height: 44px !important;
		min-height: 44px !important;
		margin: 0 !important;
		padding: 0 16px !important;
		border-radius: 10px !important;
		font-size: 16px;
		font-weight: 700;
		letter-spacing: 0.03em;
		text-transform: none;
		box-shadow: none !important;
	}
}

/* Tablette : titre et texte un peu plus compacts */
@media (min-width: 761px) and (max-width: 1100px) {
	html body .ayap-sr .ayap-sr-populaires {
		margin-top: 14px;
	}
}
