/* ============================================================
   Badges critères ACF — fiche produit fleurs CBD
   Couleur principale : #2D5016
   ============================================================ */

.cbd-criteres-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 16px;
}

.cbd-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border: 0.5px solid #2D501640;
	border-radius: 20px;
	background: #2D501608;
	font-size: 0.78em;
	line-height: 1.4;
	color: #333;
}

.cbd-badge__title {
	font-weight: 700;
	color: #2D5016;
	text-transform: uppercase;
	font-size: 0.85em;
	letter-spacing: 0.02em;
}

.cbd-badge__value {
	color: #444;
}

/* Jauge à points (résine / arôme) */
.cbd-badge__dots {
	display: inline-flex;
	gap: 3px;
	align-items: center;
	margin-left: 2px;
}

.cbd-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

.cbd-dot--filled {
	background-color: #2D5016;
}

.cbd-dot--empty {
	background-color: transparent;
	border: 1px solid #2D501650;
}

/* Badge Profil — fond légèrement différent */
.cbd-badge--profil {
	background: #2D501610;
	border-color: #2D501630;
}

/* Badge Stock limité — accentuation neutre */
.cbd-badge--lot {
	background: #f5f0e8;
	border-color: #c8b89060;
	color: #6b5b3e;
}

.cbd-badge--lot .cbd-badge__value {
	font-weight: 600;
	color: #6b5b3e;
	font-size: 0.92em;
}

/* Onglet La culture */
.cbd-culture-tab {
	font-size: 0.93em;
	line-height: 1.7;
	color: #333;
}

.cbd-culture-tab h2 {
	font-size: 21px !important;
	margin-bottom: 15px !important;
	margin-top: 25px !important;
	color: var(--orange) !important;
}

.cbd-culture-tab p {
	margin-bottom: 1em;
}

/* ─── Mentions légales ─────────────────────────────────────── */

.cbd-mentions-legales {
	margin-top: 2rem;
	padding-top: 1.2rem;
	border-top: 0.5px solid #ccc;
}

.cbd-mentions-legales ul {
	list-style: disc;
	padding-left: 1.2em;
	margin: 0;
}

.cbd-mentions-legales li {
	font-size: 13px;
	line-height: 1.7;
	color: #666;
	margin-bottom: 4px;
}

.cbd-mentions-legales li:last-child {
	margin-bottom: 0;
}

.cbd-mentions-legales p {
	font-size: 13px;
	line-height: 1.7;
	color: #666;
}

/* ============================================================
   Badges dans les cards produit — mini fiche technique
   ============================================================ */
.product-card .cbd-criteres-badges {
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 0;
	margin: 10px 0 8px;
	padding: 10px 14px;
	background: linear-gradient(145deg, #f9f7f2, #f3efe6);
	border-radius: 12px;
}

/* Chaque ligne = une row alignée */
.product-card .cbd-badge {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border: none;
	background: transparent;
	padding: 5px 0;
	border-radius: 0;
	font-size: 0.73em;
	gap: 6px;
}

.product-card .cbd-badge + .cbd-badge {
	border-top: 1px solid #e8e2d4;
}

/* Titre à gauche */
.product-card .cbd-badge__title {
	font-size: 0.78em;
	letter-spacing: 0.05em;
	min-width: 48px;
	text-align: left;
}

/* Valeur texte */
.product-card .cbd-badge--jauge .cbd-badge__value {
	flex: 1;
	text-align: right;
	margin-right: 6px;
	font-weight: 500;
	color: #666;
	font-size: 0.9em;
}

/* Dots → mini barres de progression */
.product-card .cbd-badge__dots {
	display: flex;
	gap: 2px;
	margin-left: auto;
}

.product-card .cbd-dot {
	width: 18px;
	height: 5px;
	border-radius: 2.5px;
	border: none;
}

.product-card .cbd-dot--filled {
	background: linear-gradient(90deg, #3a6b1a, #4a8525);
}

.product-card .cbd-dot--empty {
	background: #2D501615;
}

/* Profil */
.product-card .cbd-badge--profil {
	background: transparent;
	border-color: #e8e2d4;
}

.product-card .cbd-badge--profil .cbd-badge__value {
	flex: 1;
	text-align: right;
	font-weight: 600;
	color: #2D5016;
}


/* ============================================================
   Responsive — mobile < 480px
   ============================================================ */
@media (max-width: 480px) {
	.cbd-criteres-badges {
		flex-direction: column;
		gap: 6px;
	}

	.cbd-badge {
		width: 100%;
		justify-content: space-between;
	}
}
