/* Weeb — Champ « Choix image » (styles de base ; l'onglet Style d'Elementor surcharge) */
.weeb-ic {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 12px;
}
.weeb-ic-option {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
	border: 2px solid #e2e2e2;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.weeb-ic-input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}
.weeb-ic-box {
	display: block;
}
.weeb-ic-media {
	display: block;
}
.weeb-ic-media img {
	display: block;
	width: 100%;
	height: 140px;
	object-fit: cover;
}
.weeb-ic-title {
	display: block;
	font-weight: 600;
	padding: 8px 10px 0;
}
.weeb-ic-text {
	display: block;
	padding: 2px 10px 10px;
	font-size: 0.9em;
	opacity: 0.8;
}
.weeb-ic-title + .weeb-ic-text {
	padding-top: 2px;
}
.weeb-ic-option:hover {
	border-color: #b9b9b9;
}
.weeb-ic-option.is-selected {
	border-color: #3b82f6;
	box-shadow: inset 0 0 0 2px #3b82f6;
}
.weeb-ic-option:focus-within {
	outline: 2px solid #3b82f6;
	outline-offset: 2px;
}
.weeb-ic-empty {
	opacity: 0.7;
	font-style: italic;
}

/* Après envoi réussi : masque les champs et le bouton, garde le message de confirmation. */
.elementor-form.weeb-elc-submitted .elementor-field-group,
.elementor-form.weeb-elc-submitted .e-form__buttons {
	display: none !important;
}
@media ( max-width: 767px ) {
	.weeb-ic {
		grid-template-columns: repeat( 2, 1fr );
	}
}
@media ( max-width: 479px ) {
	.weeb-ic {
		grid-template-columns: 1fr;
	}
}
