/* Indicateur compte connecté — prénom visible à côté de l’icône */
.bwp-header .login-header .block-top-link {
	display: inline-flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 6px;
}

.bwp-header .login-header .mc-header-account__name {
	order: 2;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	color: #2d2d2d;
	text-decoration: none;
	white-space: nowrap;
	max-width: 140px;
	overflow: hidden;
	text-overflow: ellipsis;
	text-transform: none;
	transition: color 0.2s ease;
}

.bwp-header .login-header .mc-header-account__name:hover,
.bwp-header .login-header .mc-header-account__name:focus {
	color: #fa8400;
	text-decoration: none;
}

.bwp-header .login-header .block-top-link > .widget {
	order: 1;
	margin-bottom: 0;
}

/* Invité : pas de libellé, icône seule (comportement inchangé) */
body:not(.mc-header-account-visible) .bwp-header .login-header .mc-header-account__name {
	display: none;
}

/* Barre fixe mobile */
.header-mobile-fixed .my-account .login-header a {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	text-decoration: none;
}

.header-mobile-fixed .mc-header-account__name--mobile {
	font-size: 10px;
	font-weight: 600;
	line-height: 1.1;
	color: #2d2d2d;
	max-width: 56px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 1199px) {
	.bwp-header.header-v4 .login-header .mc-header-account__name {
		max-width: 90px;
		font-size: 12px;
	}
}
