/* Flag Factory Pro – styles fonctionnels du mini-plugin (le design viendra du thème enfant). */

.ffp-bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	border-radius: 4px;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.2;
}

.ffp-bouton-whatsapp,
.ffp-bouton-whatsapp:hover,
.ffp-bouton-whatsapp:focus {
	background: #1f7a4d;
	color: #fff;
}

.ffp-bouton-appeler,
.ffp-bouton-appeler:hover,
.ffp-bouton-appeler:focus {
	background: #1f2933;
	color: #fff;
}

.ffp-prix-devis {
	font-weight: 600;
}

.ffp-sans-paiement {
	padding: 12px 16px;
	border-left: 4px solid #1f2933;
	background: #f4f5f7;
}

.ffp-devis {
	margin: 1em 0 1.5em;
}

.ffp-devis-champ label {
	display: block;
	font-weight: 600;
}

.ffp-devis-champ select,
.ffp-devis-champ input {
	min-height: 48px;
	max-width: 100%;
}

.ffp-devis-aide,
.ffp-sur-mesure {
	margin-top: .75em;
	font-size: .9em;
}

/* Bouton flottant (toutes les pages sauf panier, commande et fiches produit) */
.ffp-whatsapp-flottant {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 999;
	border-radius: 24px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

/* Barre fixe WhatsApp + Appeler en bas des fiches produit, sur mobile uniquement */
.ffp-barre-mobile {
	display: none;
}

@media (max-width: 767px) {
	.ffp-barre-mobile {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 999;
		display: flex;
		gap: 8px;
		padding: 8px;
		background: #fff;
		box-shadow: 0 -2px 8px rgba(0, 0, 0, .15);
	}

	.ffp-barre-mobile .ffp-bouton {
		flex: 1;
	}

	body.ffp-avec-barre-mobile {
		padding-bottom: 64px;
	}
}
