/* VB Verified Badge : toutes les règles sont préfixées .vbp- pour ne jamais toucher au thème. */
.vbp-badge {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	vertical-align: middle;
	line-height: 1;
	color: var(--vbp-color, #1d9bf0);
	margin-inline-start: .3em;
}
.vbp-badge .vbp-icon {
	width: var(--vbp-size, 18px);
	height: var(--vbp-size, 18px);
	flex: 0 0 auto;
}
.vbp-badge .vbp-label {
	font-size: .9em;
	font-weight: 600;
}
.vbp-avatar {
	position: relative;
	display: inline-block;
	line-height: 0;
	vertical-align: middle;
}
.vbp-avatar-badge {
	position: absolute;
	inset-inline-end: -2px;
	bottom: -2px;
	display: inline-flex;
	width: calc(var(--vbp-size, 18px) * .85);
	height: calc(var(--vbp-size, 18px) * .85);
	background: #fff;
	border-radius: 50%;
	color: var(--vbp-color, #1d9bf0);
	line-height: 0;
}
.vbp-avatar-badge .vbp-icon {
	width: 100%;
	height: 100%;
}
/* Compatibilité Vehica */
.vbp-badge--vehica {
	margin-inline-start: .4em;
	vertical-align: middle;
}
.vbp-avatar-badge--inner {
	/* Proportionnel à la photo : ~20 % de sa largeur, entre 14 et 44 px. */
	width: 20%;
	height: auto;
	aspect-ratio: 1 / 1;
	min-width: 14px;
	max-width: 44px;
	inset-inline-end: 8%;
	bottom: 8%;
	z-index: 3;
}
.vbp-avatar-badge--small {
	inset-inline-end: -4px;
	bottom: -4px;
	width: 14px;
	height: 14px;
}
.vbp-account {
	margin: 1em 0;
}
.vbp-account .vbp-badge {
	margin-inline-start: 0;
}

/* Badge du vendeur sous le titre des cartes */
.vbp-card-badge {
	margin: 4px 0 6px;
	line-height: 1;
}
.vbp-badge--card {
	margin-inline-start: 0;
	font-size: 12px;
}
.vbp-badge--card .vbp-label {
	color: inherit;
	font-size: 12px;
}

/* Photo + nom du vendeur sous le titre des cartes (mode « photo + nom + badge ») */
.vbp-card-seller {
	position: relative;
	z-index: 999; /* au-dessus du lien qui recouvre la carte, comme le préconise Vehica */
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 8px 0;
	line-height: 1.2;
}
.vbp-card-seller__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(128, 128, 128, .35);
	font-size: 13px;
	font-weight: 600;
	color: inherit !important;
	text-decoration: none;
}
.vbp-card-seller__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.vbp-card-seller__name {
	font-size: 14px;
	font-weight: 500;
	color: inherit !important;
	text-decoration: none;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vbp-badge--card-inline {
	margin-inline-start: 0;
}

.vbp-card-seller a:hover {
	opacity: .85;
}
