/* Solycare – Recherche Produits & Demande de devis : style du bouton "Demander un devis" */

.solycare-quote-wrap {
	display: block;
	margin: 12px 0;
}

.solycare-quote-btn,
a.solycare-quote-btn {
	display: inline-block;
	margin: 4px 0;
	padding: 10px 20px;
	background-color: #81d742; /* vert du thème Solycare */
	color: #ffffff !important;
	border: none;
	border-radius: 4px;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.solycare-quote-btn:hover,
.solycare-quote-btn:focus,
a.solycare-quote-btn:hover,
a.solycare-quote-btn:focus {
	background-color: #6cbb34;
	color: #ffffff !important;
	text-decoration: none !important;
	outline: none;
}

/* Sur la fiche produit, on donne un peu plus de présence au bouton. */
.hp-listing .solycare-quote-wrap,
.single .solycare-quote-wrap {
	margin: 16px 0;
}

/* ------------------------------------------------------------------ */
/* Autocomplétion de recherche (v2)                                    */
/* ------------------------------------------------------------------ */

.solycare-ac-panel {
	background: #ffffff;
	border: 1px solid #e2e6ea;
	border-radius: 8px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
	max-height: 70vh;
	overflow-y: auto;
	padding: 6px;
	font-size: 14px;
	color: #1f2933;
}

.solycare-ac-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border-radius: 6px;
	text-decoration: none !important;
	color: #1f2933 !important;
	cursor: pointer;
}

.solycare-ac-item:hover,
.solycare-ac-item.is-active {
	background: #eef7e6; /* vert très clair, cohérent avec #81d742 */
}

.solycare-ac-thumb {
	width: 42px;
	height: 42px;
	object-fit: cover;
	border-radius: 5px;
	flex: 0 0 auto;
	background: #f2f4f6;
}

.solycare-ac-thumb--ph {
	display: inline-block;
	background: #eef1f4;
}

.solycare-ac-texts {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.solycare-ac-title {
	font-weight: 600;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.solycare-ac-cat {
	font-size: 12px;
	color: #6b7280;
	margin-top: 2px;
}

.solycare-ac-empty {
	padding: 12px 10px;
	color: #6b7280;
}

.solycare-ac-all {
	display: block;
	margin-top: 4px;
	padding: 10px;
	border-top: 1px solid #eef1f4;
	color: #4a8f1f !important;
	font-weight: 600;
	text-decoration: none !important;
	border-radius: 0 0 6px 6px;
}

.solycare-ac-all:hover {
	background: #eef7e6;
}

/* ------------------------------------------------------------------ */
/* Bloc WhatsApp cloné dans .contact-info (v2.3)                       */
/* ------------------------------------------------------------------ */

/* Le bloc est cloné depuis un bloc de contact existant : il hérite déjà
   des marges/paddings/typographie du thème. On ne style ici que le logo. */

.solycare-wa-figure {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
	line-height: 0;
	flex: 0 0 auto;
	width: 28px;  /* repli ; remplacé en ligne par la taille mesurée */
	height: 28px; /* repli ; remplacé en ligne par la taille mesurée */
}

/* Taille de repli : le script ajuste la taille réelle sur celle de l'icône du thème. */
.solycare-wa-figure .solycare-wa-icon {
	width: 100%;
	height: 100%;
	display: inline-block;
	color: inherit;
}

/* Le lien WhatsApp reprend la couleur du thème, avec accent vert au survol. */
.solycare-whatsapp-contact a:hover,
.solycare-whatsapp-contact a:focus {
	color: #25D366;
}
