/* Vitacomoda Baratto — home orb + UI quotidiana (non comics) */
:root {
	--vc-b-blue: #0445AF;
	--vc-b-gold: #FFC532;
	--vc-b-cyan: #04B8D8;
	--vc-b-ink: #0f172a;
	--vc-b-muted: #475569;
	--vc-b-bg: #f8fafc;
}

body.home .home-hero-badge,
.home-hero-badge {
	background: rgba(4, 69, 175, 0.08) !important;
	color: var(--vc-b-blue) !important;
	border-color: rgba(4, 69, 175, 0.18) !important;
	letter-spacing: 0.12em !important;
}

body.home .hero-subtitle {
	color: var(--vc-b-muted) !important;
	font-size: 1.05rem !important;
	max-width: 36rem !important;
}

/* Nascondi scanner carte / trending comics / lottie Pokémon */
body.home .vcc-scanner,
body.home .vc-home-trending,
.vc-pokeball-center-lottie,
.vc-header-logo-lottie-wrap,
.vc-auth-lottie-wrap,
.main-circle-custom .vc-poke-seg-icon {
	display: none !important;
}

/* Palla a 2 metà: niente Pokéball */
body.home .main-circle-custom {
	background: linear-gradient(90deg, var(--vc-b-blue) 0 50%, var(--vc-b-gold) 50% 100%) !important;
	border: 10px solid #0f172a !important;
	box-shadow:
		0 24px 48px rgba(15, 23, 42, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}
body.home .main-circle-custom::before,
body.home .main-circle-custom .poke-gloss,
body.home .poke-half,
body.home .poke-smoke {
	display: none !important;
}

body.home .segment-1-custom {
	clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%) !important;
}
body.home .segment-2-custom {
	clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%) !important;
}
body.home .segment-3-custom,
body.home .segment-4-custom {
	display: none !important;
}

body.home .segment-custom:hover {
	background-color: rgba(255, 255, 255, 0.12) !important;
	transform: none !important;
}

body.home .segment-1-custom .segment-label-custom {
	top: 50% !important;
	left: 25% !important;
	color: #ffffff !important;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25) !important;
}
body.home .segment-2-custom .segment-label-custom {
	top: 50% !important;
	left: 75% !important;
	color: var(--vc-b-ink) !important;
	text-shadow: none !important;
}

body.home .main-circle-custom .segment-label-custom {
	width: min(42%, 180px) !important;
	font-size: 0.95rem !important;
	gap: 0.45rem !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
}
body.home .main-circle-custom .segment-label-custom strong {
	font-size: 1.15rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.02em;
}

.vc-baratto-seg-icon {
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.vc-baratto-seg-icon svg {
	width: 100%;
	height: 100%;
}

body.home .center-circle-custom {
	width: 168px !important;
	height: 168px !important;
	border-width: 14px !important;
	border-color: #0f172a !important;
	background: #ffffff !important;
	box-shadow:
		inset 0 0 0 1px rgba(4, 69, 175, 0.08),
		0 8px 20px rgba(15, 23, 42, 0.18) !important;
	pointer-events: none !important;
}
body.home .center-circle-custom::after {
	display: none !important;
}
body.home .center-text-custom {
	display: none !important;
}
.vc-baratto-orb-logo {
	width: 72%;
	height: 72%;
	object-fit: contain;
	display: block;
}

/* Vetrina venditori: blu brand, non viola neon */
#wcfmmp-store-list-wrapper .wcfmmp-store-search-wrapper,
#wcfmmp-store-list-wrapper div.wcfmmp-store-search-wrapper {
	border-color: #0445AF !important;
	box-shadow: 0 10px 30px rgba(4, 69, 175, 0.16) !important;
}
#wcfmmp-store-list-wrapper .wcfmmp-single-store-wrapper:hover,
#wcfmmp-store-list-wrapper div.wcfmmp-single-store-wrapper:hover {
	border-color: #0445AF !important;
	box-shadow: 0 16px 36px rgba(4, 69, 175, 0.2) !important;
}
#wcfmmp-store-list-wrapper .wcfm_store_list_visit,
#wcfmmp-store-list-wrapper a.wcfm_store_list_visit,
#wcfmmp-store-list-wrapper button#wcfm_store_search_submit,
#wcfmmp-store-list-wrapper .wcfmmp-store-search-wrapper #wcfm_store_search_submit {
	background: #0445AF !important;
	background-color: #0445AF !important;
	box-shadow: 0 4px 15px rgba(4, 69, 175, 0.35) !important;
}

/* Auth: niente magenta neon */
html body.woocommerce-account:not(.logged-in),
html body.vc-comics-wcfm-reg-page {
	--vc-neon-magenta: #0445AF;
	--vc-neon-magenta-hover: #033a96;
	--vc-neon-magenta-soft: rgba(4, 69, 175, 0.45);
	--vc-neon-magenta-glow: rgba(4, 69, 175, 0.28);
	--vc-auth-surface: #f4f8ff;
}

/* Risoluzione 4 livelli */
.vc-baratto-levels {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}
.vc-baratto-levels li {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 10px 8px;
	background: #fff;
	text-align: center;
	font-size: 0.72rem;
	line-height: 1.3;
	color: #475569;
}
.vc-baratto-levels li.is-current {
	border-color: #0445AF;
	background: #eef4ff;
	color: #0445AF;
	font-weight: 700;
}
.vc-baratto-levels strong {
	display: block;
	font-size: 0.68rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 4px;
}

@media (max-width: 768px) {
	body.home .main-circle-custom {
		width: min(92vw, 340px) !important;
		height: min(92vw, 340px) !important;
		border-width: 7px !important;
	}
	body.home .center-circle-custom {
		width: 96px !important;
		height: 96px !important;
		border-width: 8px !important;
	}
	body.home .main-circle-custom .segment-label-custom {
		width: min(44%, 120px) !important;
		font-size: 0.68rem !important;
	}
	body.home .main-circle-custom .segment-label-custom strong {
		font-size: 0.78rem !important;
	}
	.vc-baratto-seg-icon {
		width: 36px;
		height: 36px;
	}
	.vc-baratto-levels {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 769px) {
	body.home .main-circle-custom .segment-label-custom {
		font-size: 1.05rem !important;
	}
	body.home .main-circle-custom .segment-label-custom strong {
		font-size: 1.28rem !important;
	}
	.vc-baratto-seg-icon {
		width: 72px;
		height: 72px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home .segment-custom {
		transition: none !important;
	}
}

/* Sfondi quotidiani: niente illustrazioni comics */
body.home::before {
	background-image: none !important;
	background-color: #f4f7fb !important;
	background:
		radial-gradient(1200px 480px at 50% -10%, rgba(4, 184, 216, 0.16), transparent 60%),
		radial-gradient(900px 420px at 100% 20%, rgba(255, 197, 50, 0.18), transparent 55%),
		linear-gradient(180deg, #eef4ff 0%, #f8fafc 42%, #ffffff 100%) !important;
}
body.home .site-bottom-header-wrap .site-header-row-container-inner::before {
	background-image: none !important;
	background: linear-gradient(90deg, #0445AF 0%, #0369a1 55%, #04B8D8 100%) !important;
	opacity: 1 !important;
}
body.home .site-bottom-header-wrap .site-header-row-container-inner,
body.home .site-bottom-header-inner-wrap,
body.home .site-bottom-header-inner-wrap a,
body.home .site-bottom-header-inner-wrap .site-title,
body.home .vc-brand-home-comics {
	color: #ffffff !important;
}

/* Additional CSS legacy Pokéball / viola: la palla è già override sopra */
#wcfmmp-store-list-wrapper div.wcfmmp-store-search-wrapper {
	border-color: #0445AF !important;
}

/* Palla realistica: sfera 3D + fluttuazione verticale */
@keyframes vcBarattoFloat {
	0%, 100% { transform: translateY(0) scale(1); }
	50% { transform: translateY(-14px) scale(1.012); }
}
body.home .circle-section-custom {
	perspective: 900px;
	padding-top: 20px;
	padding-bottom: 32px;
	overflow: visible;
}
body.home .main-circle-custom {
	animation: vcBarattoFloat 3.4s ease-in-out infinite !important;
	background:
		radial-gradient(circle at 28% 22%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 32%),
		radial-gradient(circle at 72% 78%, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0) 42%),
		linear-gradient(90deg, #0445AF 0 50%, #FFC532 50% 100%) !important;
	border: 10px solid #0b1220 !important;
	box-shadow:
		inset -22px -30px 48px rgba(0,0,0,0.28),
		inset 16px 18px 36px rgba(255,255,255,0.22),
		0 28px 50px rgba(15, 23, 42, 0.28),
		0 8px 18px rgba(15, 23, 42, 0.16) !important;
}
body.home .main-circle-custom::after {
	content: '';
	position: absolute;
	top: 7%;
	left: 14%;
	width: 42%;
	height: 22%;
	border-radius: 50%;
	background: radial-gradient(ellipse at 50% 40%, rgba(255,255,255,0.65), rgba(255,255,255,0) 70%);
	pointer-events: none;
	z-index: 4;
	filter: blur(1px);
}
body.home .segment-custom {
	overflow: hidden !important;
}
.vc-baratto-seg-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
	z-index: 1;
	pointer-events: none;
	border: 0;
	box-shadow: none;
	filter: saturate(1.05) contrast(1.04);
}
.segment-1-custom .vc-baratto-seg-photo { object-position: 35% 50%; }
.segment-2-custom .vc-baratto-seg-photo { object-position: 65% 50%; }
body.home .segment-custom::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(15,23,42,0.08) 0%, rgba(15,23,42,0.18) 55%, rgba(15,23,42,0.55) 100%);
}
body.home .segment-1-custom .segment-label-custom,
body.home .segment-2-custom .segment-label-custom {
	top: 78% !important;
	width: min(42%, 170px) !important;
	z-index: 5 !important;
	color: #ffffff !important;
	text-shadow: 0 1px 8px rgba(0,0,0,0.55) !important;
	background: rgba(15, 23, 42, 0.42);
	padding: 8px 10px;
	border-radius: 999px;
	backdrop-filter: blur(4px);
}
body.home .segment-1-custom .segment-label-custom { left: 25% !important; }
body.home .segment-2-custom .segment-label-custom { left: 75% !important; }

@media (max-width: 768px) {
	body.home .segment-1-custom .segment-label-custom,
	body.home .segment-2-custom .segment-label-custom {
		top: 80% !important;
		font-size: 0.82rem !important;
	}
}
@media (prefers-reduced-motion: reduce) {
	body.home .main-circle-custom { animation: none !important; }
}

/* Header: solo logo, niente scritta Baratto VitaComoda */
#masthead .site-title-wrap,
#masthead .site-title,
#masthead .site-description,
#mobile-header .site-title-wrap,
#mobile-header .site-title,
#mobile-header .site-description,
.site-bottom-header-wrap .site-title-wrap,
.site-bottom-header-wrap .site-title,
.site-header-section .site-title-wrap {
	display: none !important;
}

/* Footer legale */
.vc-baratto-legal-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 22px;
	padding: 18px 16px 22px;
	background: #0f172a;
	color: #e2e8f0;
	font-size: 0.92rem;
}
.vc-baratto-legal-footer a {
	color: #ffffff !important;
	text-decoration: none;
	font-weight: 600;
}
.vc-baratto-legal-footer a:hover { text-decoration: underline; }

.sc-vendor-menu__icon--img img {
	object-fit: cover;
	border-radius: 50%;
}
.vc-wc-account-vendor-cards__img img {
	object-fit: cover;
	border-radius: 16px;
}
