/**
 * Ritratto venditore / avatar — rettangolo smussato (raggio Apple).
 */

.tbp-profile-image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 22px;
	background: var(--tbp-beige, #f4f7f5);
	flex-shrink: 0;
}

/* --- Sito: pagina venditore e blocco esperienza --- */
.tbp-venditore-foto,
.single-venditori .info-venditore .container .foto,
.single-venditori .info-venditore .container .tbp-venditore-foto,
.single-esperienze .venditore .info .foto,
.single-esperienze .venditore .info .tbp-venditore-foto {
	position: relative;
	overflow: hidden;
	border-radius: 22px;
	box-sizing: border-box;
}

.tbp-venditore-foto__img,
.tbp-profile-image.tbp-venditore-foto__img,
.single-venditori .info-venditore .container .foto > img:not(.verificato),
.single-venditori .info-venditore .container .tbp-venditore-foto > img:not(.verificato):not(.tbp-venditore-badge__icon),
.single-esperienze .venditore .info .foto > img:not(.verificato),
.single-esperienze .venditore .info .tbp-venditore-foto > img:not(.verificato):not(.tbp-venditore-badge__icon) {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	object-position: center center;
	border-radius: 22px;
	box-sizing: border-box;
}

.tbp-venditore-foto--platform > .tbp-venditore-foto__img,
.tbp-venditore-foto--platform > .tbp-profile-image.tbp-venditore-foto__img {
	object-fit: contain;
	padding: 12%;
	background: var(--tbp-beige, #f4f7f5);
}

.single-venditori .info-venditore .container .foto > .tbp-profile-image-placeholder,
.single-venditori .info-venditore .container .tbp-venditore-foto > .tbp-profile-image-placeholder {
	width: 155px;
	height: 194px;
	border-radius: 28px;
}

.single-esperienze .venditore .info .foto > .tbp-profile-image-placeholder,
.single-esperienze .venditore .info .tbp-venditore-foto > .tbp-profile-image-placeholder {
	width: 56px;
	height: 72px;
	border-radius: 16px;
}

body.woocommerce-account.logged-in .benvenuto__avatar .tbp-profile-image-placeholder {
	width: 100%;
	height: 100%;
}

/* --- WCFM: logo menu (brand ToBePolo) --- */
#wcfm-main-contentainer .wcfm_menu_logo .wcfm_store_logo_icon:not(.tbp-wcfm-brand-logo) img,
#wcfm-main-contentainer .wcfm_menu_logo .wcfm_store_logo_icon:not(.tbp-wcfm-brand-logo) .wcfm_store_logo_icon img {
	display: block;
	width: 35px;
	height: 35px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center center;
}

#wcfm-main-contentainer .wcfm_menu_logo .tbp-wcfm-brand-logo__mark {
	display: block;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: contain;
	object-position: center center;
}

#wcfm-main-contentainer .wcfm_menu_logo .tbp-wcfm-brand-logo__wordmark {
	display: block;
	width: auto;
	height: 22px;
	max-width: 100%;
	border-radius: 0;
	object-fit: contain;
	object-position: left center;
}

/* --- WCFM: avatar header in alto a destra --- */
#wcfm-main-contentainer .wcfm_header_panel a.wcfm_header_panel_profile {
	display: inline-block;
	overflow: hidden;
	border-radius: 50%;
	line-height: 0;
}

#wcfm-main-contentainer .wcfm_header_panel .wcfm_header_panel_profile img,
#wcfm-main-contentainer .wcfm_header_panel img.wcfm_header_panel_profile_img {
	display: block;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center center;
	vertical-align: middle;
}

#wcfm-main-contentainer .wcfm_header_panel a.wcfm_header_panel_profile .tbp-profile-image-placeholder {
	width: 44px;
	height: 44px;
}

/* --- WCFM: box benvenuto dashboard --- */
#wcfm-main-contentainer .wcfm_welcomebox_user_profile {
	display: block;
	overflow: hidden;
}

#wcfm-main-contentainer .wcfm_welcomebox_user_profile a {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	line-height: 0;
}

#wcfm-main-contentainer .wcfm_welcomebox_user_profile img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

#wcfm-main-contentainer .wcfm_welcomebox_user_profile .tbp-profile-image-placeholder {
	width: 100%;
	height: 100%;
}

/* --- WCFM: avatar circolari in liste / sold by / inquiry --- */
#wcfm-main-contentainer img.vendor_store_logo,
#wcfm-main-contentainer .wcfmmp_sold_by_logo,
#wcfm-main-contentainer .wcfm_store_for_inquiry img {
	object-fit: cover;
	object-position: center center;
}

/* Anteprima upload profilo WCFM (area quadrata) */
#wcfm-main-contentainer .wcfm-wp-fields-uploader .wcfm-uploader_img img,
#wcfm-main-contentainer #wp_user_avatar_display img {
	max-width: 100%;
	height: auto;
	object-fit: cover;
	object-position: center center;
}
