/**
 * PC Precision — sfondo pagine bianco (modalità prova)
 *
 * Attivato da body.pcp-light-pages (PCP_LIGHT_PAGES in functions.php).
 * Carica DOPO pcp-contrast-fix.css — vince sul tema scuro globale.
 *
 * REVERT: in functions.php impostare define( 'PCP_LIGHT_PAGES', false );
 */

/* =============================================================================
   Tokens + canvas
   ============================================================================= */
html:has(body.pcp-light-pages),
html:has(body.home),
html:has(body.woocommerce-account),
body.pcp-light-pages,
body.home,
body.woocommerce-account {
	color-scheme: only light;
}

body.pcp-light-pages {
	--pcp-g-bg: #ffffff;
	--pcp-g-bg-soft: #f8f9fa;
	--pcp-g-surface: #ffffff;
	--pcp-g-surface-2: #f3f4f6;
	--pcp-g-border: rgba(0, 0, 0, 0.08);
	--pcp-g-border-strong: rgba(0, 0, 0, 0.14);
	--pcp-g-text: #1a1a1a;
	--pcp-g-text-muted: #444444;
	--pcp-g-text-subtle: #666666;
	--pcp-cat-bg: #f8f9fa;
	--wd-main-bgcolor: #ffffff;
	--wd-text-color: #444444;
	--wd-title-color: #1a1a1a;
	--wd-entities-title-color: #1a1a1a;
	--wd-entities-title-color-hover: #000000;
	--wd-link-color: #1a1a1a;
	--wd-link-color-hover: var(--pcp-primary, #2563eb);
	--bgcolor-white: #ffffff;
	--bgcolor-gray-100: #f8f9fa;
	--bgcolor-gray-200: #f3f4f6;
	--bgcolor-gray-300: #e5e7eb;
	--color-gray-800: #1a1a1a;
	--color-gray-900: #111111;
	/* global-color-scheme-light inverts form tokens → invisible fields on white */
	--wd-form-color: #1a1a1a !important;
	--wd-form-bg: #ffffff !important;
	--wd-form-brd-color: #e4e4e7 !important;
	--wd-form-brd-color-focus: #1e40af !important;
	--wd-form-placeholder-color: #888888 !important;

	background-color: #ffffff !important;
	color: #444444 !important;
}

body.pcp-light-pages :is(
	.website-wrapper,
	.wd-page-wrapper,
	.wd-page-content,
	.main-page-wrapper,
	.wd-content-layout,
	.site-content,
	.wd-content-area,
	#main-content
) {
	background-color: #ffffff !important;
	color: #444444 !important;
}

/* Catalogo: leggero grigio per distinguere card */
body.pcp-light-pages.pcp-catalog-active {
	background: #f8f9fa !important;
}

body.pcp-light-pages.pcp-catalog-active :is(
	.site-content,
	.content-area,
	.wd-content-area,
	.wd-page-content,
	.main-page-wrapper
) {
	background-color: #f8f9fa !important;
}

/* =============================================================================
   Titoli + testo contenuto (esclusi header, footer, hero)
   ============================================================================= */
body.pcp-light-pages .main-page-wrapper :is(
	.wd-content-area :is(
		h1:not(.pcp-catalog-header__title),
		h2:not(.pcp-catalog-filters__title),
		h3, h4, h5, h6
	),
	.entry-content > :is(h1:not(.pcp-catalog-header__title), h2, h3, h4, h5, h6),
	.entry-title:not(.wd-page-title .entry-title),
	.elementor-widget-heading .elementor-heading-title,
	.elementor-widget-wd_title .title,
	.elementor-widget-wd_section_title .title,
	.woodmart-title-container .title,
	.wd-info-box .info-box-title,
	.elementor-widget-text-editor :is(h1, h2, h3, h4, h5, h6)
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

/* Hero / CTA scuri info-page — titoli e ghost button bianchi (vince su regola sopra) */
body.pcp-light-pages .main-page-wrapper :is(
	.pcp-acquisto__hero,
	.pcp-guida__hero,
	.pcp-garanzia__hero,
	.pcp-special__hero,
	.pcp-email__hero,
	.pcp-build__hero,
	.pcp-acquisto__cta-box,
	.pcp-guida__cta-box,
	.pcp-garanzia__cta-box,
	.pcp-special__cta-box,
	.pcp-email__cta-box,
	.pcp-build__cta-box,
	.pcp-wd-hero,
	.pcp-wd-section--dark
) :is(h1, h2, h3, h4, [class*="__title"]) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

body.pcp-light-pages .main-page-wrapper :is(
	.pcp-acquisto__hero,
	.pcp-guida__hero,
	.pcp-garanzia__hero,
	.pcp-special__hero,
	.pcp-email__hero,
	.pcp-build__hero,
	.pcp-acquisto__cta-box,
	.pcp-guida__cta-box,
	.pcp-garanzia__cta-box,
	.pcp-special__cta-box,
	.pcp-email__cta-box,
	.pcp-build__cta-box,
	.pcp-wd-hero,
	.pcp-wd-section--dark
) a[class*="__btn--ghost"] {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

body.pcp-light-pages .main-page-wrapper :is(
	.wd-content-area,
	.entry-content,
	.elementor-widget-text-editor,
	.elementor-widget-wd_text_block,
	.wd-info-box,
	.elementor-widget-wd_infobox,
	.elementor-widget-wd_info_box
) {
	color: #444444 !important;
}

body.pcp-light-pages .main-page-wrapper .entry-content :is(
	p, li, ul, ol, dd, dt, blockquote, span:not([class*="__badge"]):not(.product-label):not(.onsale), label:not([class*="__badge"]), strong, em
):not(:is(
	[class*="pcp-"] *,
	.pcp-classic-page--raw *,
	.pcp-catalog-header *,
	.pcp-wm-home__hero *,
	.pcp-drako-hero *
)) {
	color: #444444 !important;
	-webkit-text-fill-color: #444444 !important;
}

body.pcp-light-pages .main-page-wrapper .entry-content a:not(
	.pcp-classic-btn,
	[class*="__btn"],
	.button,
	.btn,
	.nsl-button,
	[class*="nsl-"],
	.wd-switch-to-register,
	.wd-add-btn a,
	.wp-block-button__link,
	.add_to_cart_button,
	.wc-block-grid__product-add-to-cart a,
	[class*="pcp-builds"],
	[class$="__new"],
	[class$="__open"],
	[class$="__cta"],
	[class$="__submit"]
) {
	color: var(--pcp-primary, #2563eb) !important;
	-webkit-text-fill-color: var(--pcp-primary, #2563eb) !important;
}

body.pcp-light-pages .main-page-wrapper .entry-content a:not(
	.pcp-classic-btn,
	[class*="__btn"],
	.button,
	.btn,
	.nsl-button,
	[class*="nsl-"],
	.wd-switch-to-register,
	.wd-add-btn a,
	.wp-block-button__link,
	.add_to_cart_button,
	.wc-block-grid__product-add-to-cart a,
	[class*="pcp-builds"],
	[class$="__new"],
	[class$="__open"],
	[class$="__cta"],
	[class$="__submit"]
):hover {
	color: #005c32 !important;
	-webkit-text-fill-color: #005c32 !important;
}

/* Carrello vuoto — "Scegli opzioni" / "Aggiungi al carrello" visibile su bottone blu */
body.pcp-light-pages.woocommerce-cart .main-page-wrapper .entry-content :is(
	a.wp-block-button__link,
	a.add_to_cart_button,
	.wc-block-grid__product-add-to-cart a,
	.wp-block-button__link.add_to_cart_button
) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	opacity: 1 !important;
	visibility: visible !important;
}

/* Mix carrello vuoto via shortcode products — testo CTA leggibile */
body.pcp-light-pages.woocommerce-cart .pcp-cart-empty-mixed .wd-product .wd-add-btn.wd-add-btn-replace > a,
body.pcp-light-pages.woocommerce-cart .pcp-cart-empty-mixed .wd-product .add_to_cart_button,
body.pcp-light-pages.woocommerce-cart .pcp-cart-empty-mixed .wd-product a.button {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	background-color: var(--pcp-primary, #1e40af) !important;
	border-color: var(--pcp-primary, #1e40af) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	opacity: 1 !important;
	visibility: visible !important;
}

body.pcp-light-pages.woocommerce-cart .pcp-cart-empty-mixed .wd-product .wd-add-btn.wd-add-btn-replace .wd-action-text {
	display: inline !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	font-size: 13px !important;
	opacity: 1 !important;
	visibility: visible !important;
}

/* =============================================================================
   Breadcrumb — testo scuro su sfondo chiaro
   ============================================================================= */
body.pcp-light-pages .main-page-wrapper :is(
	.wd-breadcrumbs,
	.woocommerce-breadcrumb,
	.wd-breadcrumbs a,
	.wd-breadcrumbs span,
	.woocommerce-breadcrumb a,
	.wd-breadcrumbs .breadcrumb-last,
	.wd-breadcrumbs .last,
	.wd-breadcrumbs li:last-child,
	.wd-breadcrumbs li:last-child a
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

body.pcp-light-pages .main-page-wrapper :is(
	.wd-breadcrumbs a:hover,
	.woocommerce-breadcrumb a:hover
) {
	color: var(--pcp-primary, #2563eb) !important;
	-webkit-text-fill-color: var(--pcp-primary, #2563eb) !important;
}

/* =============================================================================
   Page title strip (Woodmart) — chiaro con titolo verde
   ============================================================================= */
body.pcp-light-pages .wd-page-title {
	background: #f8f9fa !important;
	border-bottom: 3px solid var(--pcp-primary, #2563eb) !important;
}

body.pcp-light-pages .wd-page-title :is(
	.entry-title,
	.page-title,
	h1
) {
	color: var(--pcp-primary, #2563eb) !important;
	-webkit-text-fill-color: var(--pcp-primary, #2563eb) !important;
}

body.pcp-light-pages .wd-page-title :is(
	.title-subtitle,
	.wd-title-subtitle
) {
	color: #666666 !important;
	-webkit-text-fill-color: #666666 !important;
}

/* =============================================================================
   Shop generico (senza catalog layout) — toolbar + card chiare
   ============================================================================= */
body.pcp-light-pages:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat, .tax-product_brand):not(.pcp-catalog-active) :is(
	.woocommerce-result-count,
	.wd-shop-tools,
	.wd-shop-tools .wd-tools-element > a,
	.wd-show-sidebar-btn,
	.wd-sidebar-opener.wd-filter-icon > a
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

body.pcp-light-pages:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat, .tax-product_brand):not(.pcp-catalog-active) .woocommerce-result-count strong {
	color: var(--pcp-primary, #2563eb) !important;
	-webkit-text-fill-color: var(--pcp-primary, #2563eb) !important;
}

body.pcp-light-pages:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat, .tax-product_brand):not(.pcp-catalog-active) :is(
	.woocommerce-ordering select,
	.wd-shop-tools select
) {
	background: #ffffff !important;
	border-color: #dde3ea !important;
	color: #1a1a1a !important;
}

body.pcp-light-pages:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat, .tax-product_brand):not(.pcp-catalog-active) .page-numbers {
	border-color: #dde3ea !important;
	color: #1a1a1a !important;
}

body.pcp-light-pages:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat, .tax-product_brand):not(.pcp-catalog-active) :is(
	.wd-product,
	.product-grid-item,
	ul.products li.product
) {
	--wd-text-color: #444444 !important;
	--wd-title-color: #1a1a1a !important;
	--wd-entities-title-color: #1a1a1a !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	border-color: #dde3ea !important;
	color: #444444 !important;
}

body.pcp-light-pages:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat, .tax-product_brand):not(.pcp-catalog-active) :is(
	.wd-product .wd-entities-title a,
	.wd-product .price .woocommerce-Price-amount,
	ul.products li.product .woocommerce-loop-product__title,
	ul.products li.product h2,
	ul.products li.product .price
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

/* Sidebar filtri shop */
body.pcp-light-pages:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat, .tax-product_brand) :is(
	[class*="wd-col-offcanvas"],
	.wd-sidebar:not(.wd-side-hidden),
	.sidebar-container,
	.wd-shop-sidebar,
	.elementor-widget-wd_sidebar
) {
	background: #ffffff !important;
	color: #1a1a1a !important;
}

/* =============================================================================
   Pagine info — pannelli classici (già chiari, allinea al canvas)
   ============================================================================= */
body.pcp-light-pages :is(
	.pcp-classic-page:not(.pcp-classic-page--raw),
	.pcp-woodmart-page .pcp-wd-section:not(.pcp-wd-section--dark)
) {
	background-color: #ffffff !important;
	color: #1a1a1a !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* =============================================================================
   ESCLUSIONI — header, footer, hero (non toccare)
   ============================================================================= */

/* Header Woodmart + CaseKing — identico homepage (nero + testo chiaro), mai token chiari del body */
body.pcp-light-pages :is(
	.whb-header,
	.whb-header .whb-main-header,
	.whb-header .whb-general-header,
	.whb-header .whb-general-header.whb-color-dark,
	.whb-main-header,
	.whb-row,
	.whb-sticky-header,
	.whb-sticky-header.whb-sticked .whb-main-header,
	.whb-top-bar,
	.wd-header,
	#pcpCasekingNav,
	.pcp-ck-nav,
	.pcp-ck-nav__bar-wrap,
	.pcp-ck-header
) {
	--wd-text-color: rgba(255, 255, 255, 0.78) !important;
	--wd-title-color: #f5f5f5 !important;
	--wd-entities-title-color: #f5f5f5 !important;
	--wd-link-color: rgba(255, 255, 255, 0.88) !important;
	--wd-link-color-hover: #ffffff !important;
	background-color: #0d0d0d !important;
	color: #f5f5f5 !important;
}

body.pcp-light-pages .whb-header :is(
	.wd-tools-text,
	.wd-tools-element > a,
	.wd-tools-element > a .wd-tools-text,
	.wd-nav-main > li > a,
	.wd-nav > li > a
) {
	color: rgba(255, 255, 255, 0.88) !important;
	-webkit-text-fill-color: rgba(255, 255, 255, 0.88) !important;
}

/* Desktop header search field (white box). Mobile keeps light text on dark bar. */
@media (min-width: 1025px) {
	body.pcp-light-pages .whb-header .searchform input[type="text"] {
		background: #ffffff !important;
		color: #1a1a1a !important;
		-webkit-text-fill-color: #1a1a1a !important;
	}
}

@media (max-width: 1024px) {
	body.pcp-light-pages .whb-header .searchform input[type="text"] {
		background: rgba(255, 255, 255, 0.1) !important;
		color: #f5f5f5 !important;
		-webkit-text-fill-color: #f5f5f5 !important;
	}

	body.pcp-light-pages .whb-header .searchform input[type="text"]::placeholder {
		color: rgba(255, 255, 255, 0.55) !important;
		-webkit-text-fill-color: rgba(255, 255, 255, 0.55) !important;
		opacity: 1 !important;
	}
}

body.pcp-light-pages .whb-header :is(
	.wd-tools-element > a:hover,
	.wd-nav-main > li > a:hover,
	.wd-nav > li > a:hover
) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

body.pcp-light-pages .pcp-ck-nav :is(
	.pcp-ck-nav__link,
	.pcp-ck-nav__trigger
) {
	color: #f5f5f5 !important;
	-webkit-text-fill-color: #f5f5f5 !important;
}

body.pcp-light-pages .pcp-ck-nav__link--hot,
body.pcp-light-pages .pcp-ck-nav__item--hot > .pcp-ck-nav__link {
	color: #e10600 !important;
	-webkit-text-fill-color: #e10600 !important;
}

body.pcp-light-pages .pcp-ck-nav__categories {
	background-color: var(--pcp-blue-primary, #1e40af) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* Footer resta scuro — mai ereditare il bianco del body */
body.pcp-light-pages :is(
	.pcp-footer-wrap,
	.pcp-footer,
	.pcp-drako-footer-wrap,
	footer.site-footer,
	.footer-container,
	.footer-page
) {
	background-color: #0a0a0a !important;
	color: rgba(255, 255, 255, 0.72) !important;
}

body.pcp-light-pages .pcp-footer__trust,
body.pcp-light-pages .pcp-drako-footer-trust {
	background-color: #111111 !important;
}

body.pcp-light-pages .pcp-drako-footer-wrap {
	--pcp-df-bg: #0a0a0a;
	--pcp-df-bg-soft: #111111;
}

/* Homepage hero / slider — immagini e overlay invariati */
body.pcp-light-pages :is(
	.pcp-wm-home__hero,
	.pcp-drako-hero,
	.pcp-wm-hero-slide,
	.wd-slider,
	.wd-slide-container
) {
	background-color: transparent !important;
}

/* Catalog header — testo scuro su sfondo chiaro (stile Drako) */
body.pcp-light-pages.pcp-catalog-active .pcp-catalog-header,
body.pcp-light-pages.pcp-catalog-active .pcp-catalog-header__inner {
	color: var(--pcp-cat-text, #1a1a1a) !important;
	--wd-title-color: var(--pcp-cat-text, #1a1a1a) !important;
	--wd-text-color: var(--pcp-cat-muted, #5c6578) !important;
}

body.pcp-light-pages.pcp-catalog-active .main-page-wrapper .pcp-catalog-header h1.pcp-catalog-header__title,
body.pcp-light-pages.pcp-catalog-active .main-page-wrapper .pcp-catalog-header .pcp-catalog-header__title,
body.pcp-light-pages.pcp-catalog-active .pcp-catalog-header :is(h1, .pcp-catalog-header__title) {
	color: var(--pcp-cat-text, #1a1a1a) !important;
	-webkit-text-fill-color: var(--pcp-cat-text, #1a1a1a) !important;
	text-shadow: none;
}

body.pcp-light-pages.pcp-catalog-active .pcp-catalog-header__lead {
	color: var(--pcp-cat-muted, #5c6578) !important;
	-webkit-text-fill-color: var(--pcp-cat-muted, #5c6578) !important;
}

/* Header filtri catalogo (barra scura) — vince su titoli h2 generici */
body.pcp-light-pages.pcp-catalog-active .pcp-catalog-filters__header,
body.pcp-light-pages.pcp-catalog-active .main-page-wrapper .pcp-catalog-filters__header {
	background: #1a1a1a !important;
	color: #ffffff !important;
}

body.pcp-light-pages.pcp-catalog-active .main-page-wrapper .wd-content-area .pcp-catalog-filters__header :is(
	h2.pcp-catalog-filters__title,
	.pcp-catalog-filters__title,
	.pcp-catalog-filters__close,
	.pcp-catalog-filters__close svg
) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	fill: currentColor;
}

body.pcp-light-pages.pcp-catalog-active .pcp-catalog-toolbar__filters,
body.pcp-light-pages.pcp-catalog-active .pcp-catalog-toolbar__filters :is(span, svg) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

body.pcp-light-pages.pcp-catalog-active .pcp-catalog-active-filters__chip,
body.pcp-light-pages.pcp-catalog-active .pcp-catalog-filters a.pcp-catalog-active-filters__chip,
body.pcp-light-pages.pcp-catalog-active .pcp-catalog-active-filters__chip :is(span, a) {
	background: #1a1a1a !important;
	background-color: #1a1a1a !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* =============================================================================
   MOBILE TOOLBAR + FOOTER — vince sui token chiari del body (carica per ultimo)
   ============================================================================= */
@media (max-width: 1024px) {
	body.pcp-light-pages .wd-toolbar,
	body.pcp-light-pages.pcp-wm-home-native .wd-toolbar {
		--bgcolor-white: #0a0a0a !important;
		--wd-text-color: #e5e7eb !important;
		--wd-link-color: #e5e7eb !important;
		background-color: #0a0a0a !important;
		color: #e5e7eb !important;
	}

	body.pcp-light-pages .wd-toolbar :is(a, .wd-toolbar-label, .wd-tools-icon::before) {
		color: #e5e7eb !important;
		-webkit-text-fill-color: #e5e7eb !important;
	}
}

body.pcp-light-pages .pcp-footer-wrap :is(.pcp-footer__col-title, h3, h4) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

body.pcp-light-pages .pcp-footer-wrap .pcp-footer__links a {
	color: #e5e7eb !important;
	-webkit-text-fill-color: #e5e7eb !important;
}

body.pcp-light-pages .pcp-footer-wrap .pcp-footer__tagline {
	color: rgba(255, 255, 255, 0.62) !important;
	-webkit-text-fill-color: rgba(255, 255, 255, 0.62) !important;
}

body.pcp-light-pages .pcp-footer-wrap .pcp-footer__trust-title {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

body.pcp-light-pages .pcp-footer-wrap .pcp-footer__trust-subtitle {
	color: rgba(255, 255, 255, 0.62) !important;
	-webkit-text-fill-color: rgba(255, 255, 255, 0.62) !important;
}

/* WhatsApp + orari footer — sempre leggibili su nero (non solo cart/checkout) */
body.pcp-light-pages .pcp-footer-wrap .pcp-footer__whatsapp a,
body.pcp-light-pages .pcp-footer .pcp-footer__whatsapp a,
body.pcp-light-pages .pcp-footer-wrap a.pcp-wa-link,
body.pcp-light-pages .pcp-footer a.pcp-wa-link {
	color: #25d366 !important;
	-webkit-text-fill-color: #25d366 !important;
}

body.pcp-light-pages .pcp-footer-wrap .pcp-footer__hours,
body.pcp-light-pages .pcp-footer .pcp-footer__hours {
	color: rgba(255, 255, 255, 0.72) !important;
	-webkit-text-fill-color: rgba(255, 255, 255, 0.72) !important;
}

/* Chat assistente — titolo/stato bianchi su header scuro */
body.pcp-light-pages .pcp-chatbot__head,
body.pcp-light-pages .pcp-chatbot__head :is(
	.pcp-chatbot__head-title,
	.pcp-chatbot__head-status,
	.pcp-chatbot__head-close,
	p,
	span,
	strong
) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* Close X: dark chip so light-page button overrides cannot make it white-on-white */
body.pcp-light-pages .pcp-chatbot__head-close {
	background: rgba(0, 0, 0, 0.38) !important;
	background-color: rgba(0, 0, 0, 0.38) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	border: 0 !important;
	box-shadow: none !important;
}

/* =============================================================================
   Mobile side menu — dark panel needs light text (light-page tokens bleed otherwise)
   ============================================================================= */
body.pcp-light-pages :is(
	.mobile-nav,
	.mobile-nav-wrapper,
	.wd-side-hidden.mobile-nav,
	.wd-side-hidden.wd-side-nav,
	.wd-side-hidden:not(.cart-widget-side):not(.login-form-side)
) {
	--wd-text-color: rgba(255, 255, 255, 0.88) !important;
	--wd-title-color: #f5f5f5 !important;
	--wd-entities-title-color: #f5f5f5 !important;
	--wd-link-color: rgba(255, 255, 255, 0.9) !important;
	--wd-link-color-hover: #ffffff !important;
	--wd-form-color: #f5f5f5 !important;
	--wd-form-placeholder-color: rgba(255, 255, 255, 0.55) !important;
	--wd-form-bg: transparent !important;
	--wd-form-brd-color: rgba(255, 255, 255, 0.2) !important;
	color: #f5f5f5 !important;
}

body.pcp-light-pages :is(
	.mobile-nav,
	.mobile-nav-wrapper,
	.wd-side-hidden:not(.cart-widget-side):not(.login-form-side)
) :is(
	a,
	span,
	.wd-nav-link,
	.item-link,
	.wd-tools-text,
	.wd-nav-mobile > li > a,
	.site-mobile-menu a,
	.menu-item > a,
	.wd-header-my-account a,
	.wd-header-wishlist a,
	.wd-header-compare a,
	.wd-nav-tabs li a,
	.mobile-menu-tab
) {
	color: rgba(255, 255, 255, 0.92) !important;
	-webkit-text-fill-color: rgba(255, 255, 255, 0.92) !important;
}

body.pcp-light-pages :is(
	.mobile-nav,
	.mobile-nav-wrapper,
	.wd-side-hidden:not(.cart-widget-side):not(.login-form-side)
) :is(
	input[type="text"],
	input[type="search"],
	.searchform input[type="text"]
) {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #f5f5f5 !important;
	-webkit-text-fill-color: #f5f5f5 !important;
	border-color: rgba(255, 255, 255, 0.2) !important;
}

body.pcp-light-pages :is(
	.mobile-nav,
	.mobile-nav-wrapper,
	.wd-side-hidden:not(.cart-widget-side):not(.login-form-side)
) :is(
	input[type="text"],
	input[type="search"]
)::placeholder {
	color: rgba(255, 255, 255, 0.55) !important;
	-webkit-text-fill-color: rgba(255, 255, 255, 0.55) !important;
	opacity: 1 !important;
}

/* =============================================================================
   Homepage product cards — reinforce white card + readable text (loads last)
   ============================================================================= */
body.pcp-light-pages.pcp-wm-home-native .pcp-home-products__card,
body.pcp-light-pages.pcp-wm-home-native .pcp-home-products__card .pcp-home-products__body,
body.pcp-light-pages.pcp-wm-home-native .pcp-home-products__card .pcp-home-products__image-link {
	--bgcolor-white: #ffffff !important;
	--wd-text-color: #444444 !important;
	--wd-title-color: #1a1a1a !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	color: #444444 !important;
}

body.pcp-light-pages.pcp-wm-home-native .pcp-home-products__card :is(
	.pcp-home-products__title,
	.pcp-home-products__title a
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

body.pcp-light-pages.pcp-wm-home-native .pcp-home-products__card :is(
	.pcp-home-products__price,
	.pcp-home-products__price .woocommerce-Price-amount
) {
	color: var(--pcp-primary, #2563eb) !important;
	-webkit-text-fill-color: var(--pcp-primary, #2563eb) !important;
}

body.pcp-light-pages.pcp-wm-home-native .pcp-home-products__card :is(
	.pcp-home-products__sku,
	.pcp-home-products__meta
) {
	color: #666666 !important;
	-webkit-text-fill-color: #666666 !important;
}

/* Stock status text only — green / red */
body.pcp-light-pages.pcp-wm-home-native .pcp-home-products__stock--in,
body.pcp-light-pages.pcp-wm-home-native .pcp-home-products__card .pcp-home-products__stock--in {
	color: #16a34a !important;
	-webkit-text-fill-color: #16a34a !important;
}

body.pcp-light-pages.pcp-wm-home-native .pcp-home-products__stock--out,
body.pcp-light-pages.pcp-wm-home-native .pcp-home-products__card .pcp-home-products__stock--out {
	color: #dc2626 !important;
	-webkit-text-fill-color: #dc2626 !important;
}

body.pcp-light-pages.pcp-wm-home-native .pcp-home-products__stock--in::before {
	background: #16a34a !important;
}

/* =============================================================================
   Homepage — reinforce mobile promo hide (loads last)
   ============================================================================= */
@media (max-width: 1024px) {
	body.pcp-light-pages.pcp-wm-home-native .pcp-drako-hero__promo,
	body.pcp-light-pages.pcp-wm-home-native.pcp-drako-hero-active .pcp-wm-home__hero .pcp-drako-hero__promo,
	body.pcp-light-pages.pcp-wm-home-native .pcp-drako-hero__promo .pcp-home-promo-slider,
	body.pcp-light-pages.pcp-wm-home-native .pcp-wm-home > .pcp-home-promo-slider {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		height: 0 !important;
		overflow: hidden !important;
		margin: 0 !important;
		padding: 0 !important;
		pointer-events: none !important;
	}
}

/* =============================================================================
   Single product — related/upsells cards (reinforce white card, loads last)
   Beats tema-globale .wd-products.wd-loop-builder-on dark cards (v2.0.61).
   ============================================================================= */
body.pcp-light-pages.single-product:not(.pcp-catalog-active) :is(
	.related-products,
	.upsells-products,
	.upsells,
	.cross-sells,
	.products.related,
	.woocommerce .related.products
).wd-loop-builder-on .wd-product,
body.pcp-light-pages.single-product:not(.pcp-catalog-active) :is(
	.related-products,
	.upsells-products,
	.upsells,
	.cross-sells,
	.products.related,
	.woocommerce .related.products
) :is(
	.wd-product,
	.product-grid-item,
	ul.products li.product,
	.wd-product-wrapper,
	.wd-product .wd-dir-col,
	.wd-product .wd-dir-row
) {
	--pcp-shop-card-bg: #ffffff !important;
	--bgcolor-white: #ffffff !important;
	--wd-prod-bg: #ffffff !important;
	--wd-text-color: #444444 !important;
	--wd-title-color: #1a1a1a !important;
	--wd-entities-title-color: #1a1a1a !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	border-color: #dde3ea !important;
	color: #444444 !important;
}

body.pcp-light-pages.single-product:not(.pcp-catalog-active) :is(
	.related-products,
	.upsells-products,
	.upsells,
	.cross-sells,
	.products.related,
	.woocommerce .related.products
) :is(
	.wd-product .wd-entities-title a,
	.wd-product .wd-loop-prod-title a,
	.product-grid-item .wd-entities-title a,
	ul.products li.product .woocommerce-loop-product__title
) {
	color: var(--pcp-primary, #1e40af) !important;
	-webkit-text-fill-color: var(--pcp-primary, #1e40af) !important;
}

body.pcp-light-pages.single-product:not(.pcp-catalog-active) :is(
	.related-products,
	.upsells-products,
	.upsells,
	.cross-sells,
	.products.related,
	.woocommerce .related.products
) :is(
	.wd-product .price .woocommerce-Price-amount,
	.wd-product .price .amount,
	.product-grid-item .price .woocommerce-Price-amount
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

body.pcp-light-pages.single-product:not(.pcp-catalog-active) :is(
	.related-products,
	.upsells-products,
	.upsells,
	.cross-sells,
	.products.related,
	.woocommerce .related.products
) :is(
	.wd-product .wd-product-cats,
	.wd-product .wd-product-cats a
) {
	color: var(--pcp-primary, #1e40af) !important;
	-webkit-text-fill-color: var(--pcp-primary, #1e40af) !important;
}

body.pcp-light-pages.single-product:not(.pcp-catalog-active) :is(
	.related-products,
	.upsells-products,
	.upsells,
	.cross-sells,
	.products.related,
	.woocommerce .related.products
) :is(
	.wd-product .price del .woocommerce-Price-amount
) {
	color: #666666 !important;
	-webkit-text-fill-color: #666666 !important;
}

body.pcp-light-pages.single-product:not(.pcp-catalog-active) :is(
	.related-products,
	.upsells-products,
	.upsells,
	.cross-sells,
	.products.related,
	.woocommerce .related.products
) .wd-product :is(
	.wd-loop-prod-thumb,
	.wd-product-thumb,
	.wd-368dd130,
	.product-element-top,
	.product-image-link,
	.wd-product-img-link,
	.wd-product-card-bg,
	.content-product-imagin,
	.product-image-link img,
	.wd-product-img-link img,
	.wd-loop-prod-thumb img,
	.wd-product-thumb img
) {
	background: #f3f4f6 !important;
	background-color: #f3f4f6 !important;
}

/* Cart / checkout — correlati bianchi come negozio */
body.pcp-light-pages:is(.woocommerce-cart, .woocommerce-checkout):not(.pcp-catalog-active) :is(
	.cross-sells,
	.related-products,
	.upsells-products,
	.upsells,
	.related.products,
	.wd-carousel-container .wd-products.wd-loop-builder-on,
	.wd-products.wd-loop-builder-on
) :is(
	.wd-product,
	.product-grid-item,
	.wd-product .product-element-bottom,
	.wd-product .product-information
) {
	--pcp-shop-card-bg: #ffffff !important;
	--bgcolor-white: #ffffff !important;
	--wd-prod-bg: #ffffff !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	border-color: #dde3ea !important;
	color: #444444 !important;
}

body.pcp-light-pages:is(.woocommerce-cart, .woocommerce-checkout):not(.pcp-catalog-active) :is(
	.cross-sells,
	.related-products,
	.wd-carousel-container .wd-products,
	.wd-products.wd-loop-builder-on
) :is(
	.wd-product .wd-entities-title a,
	.wd-product .wd-loop-prod-title a,
	.wd-product .wd-product-cats a
) {
	color: var(--pcp-primary, #1e40af) !important;
	-webkit-text-fill-color: var(--pcp-primary, #1e40af) !important;
}

body.pcp-light-pages:is(.woocommerce-cart, .woocommerce-checkout):not(.pcp-catalog-active) :is(
	.cross-sells,
	.related-products,
	.wd-carousel-container .wd-products,
	.wd-products.wd-loop-builder-on
) :is(
	.wd-product .price .woocommerce-Price-amount,
	.wd-product .price .amount
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

body.pcp-light-pages .create-account-button,
body.pcp-light-pages a.create-account-button {
	background-color: var(--pcp-primary, #1e40af) !important;
	border-color: var(--pcp-primary, #1e40af) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* Product description Elementor — force light (loads last, wins #000) */
body.pcp-light-pages.single-product :is(
	#tab-description,
	.woocommerce-Tabs-panel--description,
	.woocommerce-Tabs-panel,
	.wc-tab-inner.wd-entry-content
) :is(
	.e-con,
	.elementor-element.e-con,
	.elementor-element[class*="color-scheme-light"],
	[class*="color-scheme-light"]
) {
	--bgcolor-white: #ffffff !important;
	--wd-main-bgcolor: #ffffff !important;
	--wd-text-color: #444444 !important;
	--wd-title-color: #1a1a1a !important;
	background-color: #ffffff !important;
	color: #444444 !important;
}

body.pcp-light-pages.single-product :is(
	#tab-description,
	.woocommerce-Tabs-panel--description,
	.woocommerce-Tabs-panel,
	.wc-tab-inner.wd-entry-content
) :is(
	.woodmart-title-container,
	.title,
	.wd-text-block,
	h1, h2, h3, h4, h5, h6,
	p, li
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

/* =============================================================================
   Single product — main summary + tabs (loads last)
   ============================================================================= */
body.pcp-light-pages.single-product .summary,
body.pcp-light-pages.single-product .woocommerce-tabs,
body.pcp-light-pages.single-product .woocommerce-Tabs-panel {
	color: #444444 !important;
}

body.pcp-light-pages.single-product :is(
	.product_title,
	.summary .price .woocommerce-Price-amount,
	.woocommerce-Tabs-panel :is(h2, h3, p, li, td, th, label)
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

body.pcp-light-pages.single-product .woocommerce-product-details__short-description,
body.pcp-light-pages.single-product .woocommerce-Tabs-panel p {
	color: #444444 !important;
	-webkit-text-fill-color: #444444 !important;
}

body.pcp-light-pages.single-product .woocommerce-tabs .tabs li.active a {
	color: var(--pcp-primary, #2563eb) !important;
	-webkit-text-fill-color: var(--pcp-primary, #2563eb) !important;
}

/* =============================================================================
   Cart / checkout / account — reinforce light canvas text
   ============================================================================= */
body.pcp-light-pages:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(
	.woocommerce,
	.entry-content,
	.wd-content-area
) {
	color: #444444 !important;
}

body.pcp-light-pages:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .main-page-wrapper :is(
	h1, h2, h3,
	.woocommerce table.shop_table .product-name a,
	.order-total .amount
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

body.pcp-light-pages:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .main-page-wrapper :is(
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="number"],
	input[type="password"],
	textarea,
	select
):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]) {
	background: #ffffff !important;
	border: 1px solid #e4e4e7 !important;
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
	color-scheme: light;
	opacity: 1 !important;
}

body.pcp-light-pages.woocommerce-account :is(
	.woocommerce-EditAccountForm,
	form.edit-account
) :is(
	button[type="submit"],
	.woocommerce-Button,
	button.button,
	input.button
) {
	background-color: var(--pcp-primary, #1e40af) !important;
	border-color: var(--pcp-primary, #1e40af) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* =============================================================================
   BADGES — white text on colored backgrounds (loads last, wins span bleed)
   ============================================================================= */
body.pcp-light-pages :is(
	.onsale,
	.product-label.onsale,
	.product-label.new,
	.product-label.featured,
	.product-label.hot,
	.wd-product-label.onsale,
	.wd-product-label.new,
	.wd-product-label.featured,
	.product-labels .product-label:not(.out-of-stock):not(.attribute-label),
	.woocommerce span.onsale,
	.pcp-home-products__badge,
	.pcp-home-products__badge--nuovo,
	.pcp-home-products__badge--promo,
	.pcp-nexus-badge,
	.pcp-catalog-toolbar__badge
) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* NUOVO / PROMO / new / featured — dark blue bg (loads last, wins over red bleed) */
body.pcp-light-pages :is(
	.product-label.new,
	.product-label.featured,
	.product-label.hot,
	.wd-product-label.new,
	.wd-product-label.featured,
	.pcp-home-products__badge,
	.pcp-home-products__badge--nuovo,
	.pcp-home-products__badge--promo,
	.pcp-nexus-badge--new,
	.pcp-nexus-badge--hot
) {
	background-color: var(--pcp-primary, #1e40af) !important;
}

body.pcp-light-pages .pcp-home-products__badge--bestseller,
body.pcp-light-pages .pcp-home-products__badge--hot {
	background-color: #b45309 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

body.pcp-light-pages :is(
	.product-label.out-of-stock,
	.wd-product-label.out-of-stock,
	.product-labels .product-label.out-of-stock
) {
	background-color: #dc2626 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	border-color: #dc2626 !important;
}

body.pcp-light-pages :is(
	.product-label.attribute-label,
	.wd-product-label.attribute-label
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

/* Stock status text only — Disponibile green / Esaurito red */
body.pcp-light-pages :is(
	.stock.in-stock,
	.wd-product-stock.in-stock,
	p.stock.in-stock
) {
	color: #16a34a !important;
	-webkit-text-fill-color: #16a34a !important;
}

body.pcp-light-pages :is(
	.stock.out-of-stock,
	.wd-product-stock.out-of-stock,
	p.stock.out-of-stock
) {
	color: #dc2626 !important;
	-webkit-text-fill-color: #dc2626 !important;
}

/* =============================================================================
   v2.0.62 — light-pages last word: Elementor products + single-product cards
   v2.0.64 — match Negozio: black price, blue category (single-product only)
   Beats tema-globale anthracite on .elementor-widget-wd_products .wd-product
   ============================================================================= */
body.pcp-light-pages.single-product:not(.pcp-homepage-elementor-layout):not(.pcp-homepage-home2) :is(
	.elementor-widget-wd_products,
	.elementor-widget-wd_products_tabs
) :is(
	.wd-product,
	.wd-product-wrapper,
	.wp-block-wd-container.wd-dir-col,
	.wp-block-wd-container.wd-dir-row
) {
	--pcp-shop-card-bg: #ffffff !important;
	--bgcolor-white: #ffffff !important;
	--wd-prod-bg: #ffffff !important;
	--wd-text-color: #444444 !important;
	--wd-title-color: #1a1a1a !important;
	--wd-entities-title-color: #1a1a1a !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	border-color: #dde3ea !important;
	color: #444444 !important;
}

body.pcp-light-pages.single-product:not(.pcp-homepage-elementor-layout):not(.pcp-homepage-home2) :is(
	.elementor-widget-wd_products,
	.elementor-widget-wd_products_tabs
) :is(
	.wd-entities-title a,
	.wd-loop-prod-title a
) {
	color: var(--pcp-primary, #1e40af) !important;
	-webkit-text-fill-color: var(--pcp-primary, #1e40af) !important;
}

body.pcp-light-pages.single-product:not(.pcp-homepage-elementor-layout):not(.pcp-homepage-home2) :is(
	.elementor-widget-wd_products,
	.elementor-widget-wd_products_tabs
) :is(
	.price .woocommerce-Price-amount,
	.price .amount
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

body.pcp-light-pages.single-product:not(.pcp-homepage-elementor-layout):not(.pcp-homepage-home2) :is(
	.elementor-widget-wd_products,
	.elementor-widget-wd_products_tabs
) :is(
	.wd-product-cats,
	.wd-product-cats a
) {
	color: var(--pcp-primary, #1e40af) !important;
	-webkit-text-fill-color: var(--pcp-primary, #1e40af) !important;
}

body.pcp-light-pages.single-product:not(.pcp-homepage-elementor-layout):not(.pcp-homepage-home2) :is(
	.elementor-widget-wd_products,
	.elementor-widget-wd_products_tabs
) :is(
	.price del .woocommerce-Price-amount
) {
	color: #666666 !important;
	-webkit-text-fill-color: #666666 !important;
}

body.pcp-light-pages.single-product:not(.pcp-homepage-elementor-layout):not(.pcp-homepage-home2) :is(
	.elementor-widget-wd_products,
	.elementor-widget-wd_products_tabs
) .wd-product :is(
	.wd-loop-prod-thumb,
	.wd-product-thumb,
	.wd-368dd130,
	.product-element-top,
	.product-image-link,
	.wd-product-img-link,
	.wd-product-card-bg,
	.content-product-imagin,
	.product-image-link img,
	.wd-product-img-link img,
	.wd-loop-prod-thumb img,
	.wd-product-thumb img
) {
	background: #f3f4f6 !important;
	background-color: #f3f4f6 !important;
}

/* Description black kill — loads last */
body.pcp-light-pages.single-product #tab-description .e-con,
body.pcp-light-pages.single-product #tab-description .elementor-element.e-con,
body.pcp-light-pages.single-product .elementor-31496 .elementor-element-8610603 {
	background-color: #ffffff !important;
	background-image: none !important;
	color: #1a1a1a !important;
}

body.pcp-light-pages.single-product #tab-description :is(
	.woodmart-title-container,
	.title,
	.wd-text-block,
	h1, h2, h3, h4, p, li
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

/* =============================================================================
   v2.0.86 — light-pages last word: custom labels + light card tokens
   ============================================================================= */
body.pcp-light-pages.pcp-catalog-active,
body.pcp-light-pages.single-product,
body.pcp-light-pages.woocommerce-cart,
body.pcp-light-pages.woocommerce-checkout {
	--pcp-shop-card-bg: #ffffff !important;
	--pcp-shop-card-text: #1a1a1a !important;
	--pcp-shop-card-muted: #444444 !important;
	--pcp-shop-card-subtle: #666666 !important;
}

body.pcp-light-pages :is(
	.product-labels .wd-custom-label,
	.wd-loop-prod-labels .wd-custom-label,
	.woocommerce-product-gallery .wd-custom-label,
	.wd-custom-label
) {
	display: flex !important;
	align-items: center !important;
	visibility: visible !important;
	opacity: 1 !important;
	background-color: #414141 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	border-radius: 15px !important;
	padding: 5px 10px !important;
	gap: 5px !important;
	z-index: 5 !important;
}

body.pcp-light-pages .wd-custom-label.wd-label-31644 {
	background-color: #2a2626 !important;
}

body.pcp-light-pages .wd-custom-label :is(
	.wp-block-wd-paragraph,
	.wp-block-paragraph,
	p,
	span
) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	margin: 0 !important;
	background: transparent !important;
}

body.pcp-light-pages .wd-custom-label .wp-block-wd-icon {
	--wd-icon-w: 14px !important;
	width: 14px !important;
	height: 14px !important;
	min-width: 14px !important;
	overflow: visible !important;
	flex: 0 0 14px !important;
}

body.pcp-light-pages .wd-custom-label :is(img, .wp-block-wd-icon img),
body.pcp-light-pages .wd-product .wd-product-thumb .wd-custom-label img {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 14px !important;
	height: 14px !important;
	max-width: 14px !important;
	max-height: 14px !important;
	padding: 0 !important;
	background: transparent !important;
}

body.pcp-light-pages .create-account-button,
body.pcp-light-pages a.create-account-button {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* Schede shop — "Aggiungi al carrello" testo nero, niente pallino blu */
body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product .wd-add-btn.wd-add-btn-replace > a,
body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product .wd-add-btn.wd-add-btn-replace > a.add-to-cart-loop,
body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product .wd-add-btn.wd-add-btn-replace > a.button {
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	min-width: 0 !important;
	padding: 6px 0 !important;
	margin: 6px 0 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	filter: none !important;
	transform: none !important;
	color: #111111 !important;
	-webkit-text-fill-color: #111111 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
}

body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product .wd-add-btn.wd-add-btn-replace > a:hover,
body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product .wd-add-btn.wd-add-btn-replace > a.add-to-cart-loop:hover {
	background: transparent !important;
	background-color: transparent !important;
	color: #111111 !important;
	-webkit-text-fill-color: #111111 !important;
	text-decoration: underline !important;
	filter: none !important;
	transform: none !important;
}

body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product .wd-add-btn.wd-add-btn-replace .wd-action-text {
	display: inline !important;
	color: #111111 !important;
	-webkit-text-fill-color: #111111 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
}

body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product .wd-add-btn.wd-add-btn-replace .wd-action-icon,
body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product .wd-add-btn.wd-add-btn-replace .wd-action-icon::before,
body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product .wd-add-btn.wd-add-btn-replace .wd-check-icon {
	display: none !important;
}

body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product .wd-add-btn-wrapp,
body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product .wd-product-card-hover .wd-dir-row {
	justify-content: center !important;
	width: 100% !important;
}

/* Confronta + wishlist sempre visibili, icone e testo neri */
body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product :is(
	.wd-compare-btn,
	.wd-wishlist-btn,
	.wd-wishlist-icon,
	.yith-wcwl-add-to-wishlist,
	.yith-wcwl-add-button,
	.add-to-wishlist-before_image,
	.pcp-loop-wishlist
) {
	display: flex !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	--wd-transform-scaleX: 1 !important;
	--wd-transform-scaleY: 1 !important;
}

/* Riga Preferiti | Confronta — cuore a sinistra, Confronta a destra */
body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search, .woocommerce-cart) .wd-product .wp-block-wd-container.wd-dir-row:has(.wd-compare-btn),
body.pcp-light-pages .pcp-cart-empty-mixed .wd-product .wp-block-wd-container.wd-dir-row:has(.wd-compare-btn) {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
	max-width: 100% !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	--wd-transform-scaleX: 1 !important;
	--wd-transform-scaleY: 1 !important;
}

body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search, .woocommerce-cart) .wd-product .wp-block-wd-container.wd-dir-row:has(.wd-compare-btn).wd-hide-md-sm,
body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search, .woocommerce-cart) .wd-product .wp-block-wd-container.wd-dir-row:has(.wd-compare-btn).wd-hide-sm {
	display: flex !important;
}

body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product .wd-loop-prod-thumb {
	position: relative !important;
	overflow: visible !important;
}

body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product .wd-loop-prod-thumb > :is(
	.wd-dir-row,
	.wp-block-wd-container
):has(.wd-compare-btn),
body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product .wd-loop-prod-thumb :is(
	.wd-transform,
	.wd-hide-md-sm,
	.wd-hide-sm
):has(.wd-compare-btn),
body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product .wd-loop-prod-thumb :is(
	.wd-transform,
	.wd-hide-md-sm,
	.wd-hide-sm
):has(.wd-wishlist-btn) {
	position: absolute !important;
	top: 8px !important;
	inset-inline: 8px !important;
	z-index: 4 !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 8px !important;
	width: auto !important;
	max-width: calc(100% - 16px) !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	--wd-transform-scaleX: 1 !important;
	--wd-transform-scaleY: 1 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	pointer-events: none !important;
}

body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product .wd-loop-prod-thumb :is(.wd-wishlist-btn, .wd-compare-btn) {
	pointer-events: auto !important;
	flex: 0 0 auto !important;
}

body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product :is(
	.wd-compare-btn,
	.wd-compare-btn a,
	.wd-wishlist-btn,
	.wd-wishlist-btn a,
	.yith-wcwl-add-to-wishlist,
	.yith-wcwl-add-to-wishlist a,
	.yith-wcwl-add-button a,
	a.add_to_wishlist,
	.pcp-loop-wishlist,
	.pcp-loop-wishlist a
) {
	color: #111111 !important;
	-webkit-text-fill-color: #111111 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product :is(
	.wd-compare-btn,
	.wd-wishlist-btn,
	.pcp-loop-wishlist
) :is(.wd-action-icon, .wd-action-icon::before) {
	display: inline-block !important;
	color: #111111 !important;
	-webkit-text-fill-color: #111111 !important;
	font-size: 18px !important;
	line-height: 1 !important;
}

/* Griglia negozio: solo icone (testo + tooltip rompono layout su tutte le categorie) */
body.pcp-light-pages:not(.single-product) :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product :is(
	.wd-compare-btn,
	.wd-wishlist-btn,
	.yith-wcwl-add-to-wishlist,
	.pcp-loop-wishlist
) .wd-action-text,
body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product .yith-wcwl-add-button a,
body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product a.add_to_wishlist {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
	display: block !important;
	font-size: 0 !important;
	line-height: 0 !important;
	opacity: 0 !important;
	visibility: hidden !important;
	color: transparent !important;
	-webkit-text-fill-color: transparent !important;
}

body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product :is(.wd-wishlist-btn, .wd-compare-btn) > a,
body.pcp-light-pages :is(.woocommerce, .woocommerce-page, .pcp-catalog-active, .search) .wd-product :is(.wd-wishlist-btn, .wd-compare-btn) a {
	width: 36px !important;
	height: 36px !important;
	min-height: 36px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.92) !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}

/* Cart / checkout / account: footer + menu mobile restano scuri (non ereditare testo nero del canvas). */
body.pcp-light-pages:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(
	.pcp-footer-wrap,
	.wd-footer,
	.pcp-footer,
	.wd-copyrights,
	.pcp-drako-footer-wrap
) {
	background-color: #0a0a0a !important;
	color: #e5e7eb !important;
}

body.pcp-light-pages:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(
	.pcp-footer-wrap,
	.wd-footer,
	.pcp-footer,
	.wd-copyrights,
	.pcp-drako-footer-wrap
) :is(h1, h2, h3, h4, h5, .widget-title, .pcp-footer__col-title, .pcp-footer__trust-title) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

body.pcp-light-pages:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(
	.pcp-footer-wrap,
	.wd-footer,
	.pcp-footer,
	.wd-copyrights,
	.pcp-drako-footer-wrap
) :is(a, p, li, span, .pcp-footer__tagline, .pcp-footer__trust-subtitle) {
	color: #e5e7eb !important;
	-webkit-text-fill-color: #e5e7eb !important;
}

body.pcp-light-pages:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .pcp-footer a:hover {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

body.pcp-light-pages:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .pcp-footer__whatsapp a {
	color: #25d366 !important;
	-webkit-text-fill-color: #25d366 !important;
}

body.pcp-light-pages:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(
	.mobile-nav,
	.mobile-nav-wrapper,
	.wd-side-hidden:not(.cart-widget-side):not(.login-form-side)
) :is(input[type="text"], input[type="search"]) {
	background: transparent !important;
	color: inherit !important;
	-webkit-text-fill-color: inherit !important;
	border-color: rgba(255, 255, 255, 0.16) !important;
}

/* Carrello laterale — X rimuovi prodotto visibile (no testo bianco menu mobile) */
body.pcp-light-pages .cart-widget-side.wd-side-hidden :is(
	.woocommerce-mini-cart .remove,
	.woocommerce-mini-cart-item a.remove,
	a.remove_from_cart_button
) {
	color: #4b5563 !important;
	-webkit-text-fill-color: #4b5563 !important;
	opacity: 1 !important;
	visibility: visible !important;
}

body.pcp-light-pages .cart-widget-side.wd-side-hidden :is(
	.woocommerce-mini-cart .remove::after,
	.woocommerce-mini-cart-item a.remove::after,
	a.remove_from_cart_button::after
) {
	color: #4b5563 !important;
	-webkit-text-fill-color: #4b5563 !important;
}

body.pcp-light-pages .cart-widget-side.wd-side-hidden :is(
	.woocommerce-mini-cart .remove:hover,
	.woocommerce-mini-cart-item a.remove:hover
),
body.pcp-light-pages .cart-widget-side.wd-side-hidden :is(
	.woocommerce-mini-cart .remove:hover::after,
	.woocommerce-mini-cart-item a.remove:hover::after
) {
	color: #dc2626 !important;
	-webkit-text-fill-color: #dc2626 !important;
}

/* Cart AJAX blockUI: color-scheme-light inverts --bgcolor-white-rgb → black veil (v2.2.75) */
body.pcp-light-pages.woocommerce-cart .blockOverlay,
body.pcp-light-pages.woocommerce-cart .blockUI.blockOverlay {
	background: rgba(255, 255, 255, 0.2) !important;
	background-color: rgba(255, 255, 255, 0.2) !important;
	animation: none !important;
}

body.pcp-light-pages.woocommerce-cart .woocommerce-cart-form.processing > .blockOverlay,
body.pcp-light-pages.woocommerce-cart .blockOverlay.pcp-cart-soft-overlay {
	background: rgba(255, 255, 255, 0.06) !important;
	background-color: rgba(255, 255, 255, 0.06) !important;
}

body.pcp-light-pages.woocommerce-cart .pcp-cart-row-removing {
	opacity: 0.22 !important;
	pointer-events: none !important;
	transition: opacity 0.12s ease;
}

/* =============================================================================
   Cart "Potrebbero interessarti" — solo anti-clip (v2.2.83)
   Non toccare layout carrello né posizione Preferiti/Confronta.
   Root cause: overflow:clip sul thumb taglia la riga absolute.
   ============================================================================= */
body.pcp-light-pages.woocommerce-cart :is(
	.cross-sells,
	.wd-carousel-container.wd-products-element,
	.pcp-cart-empty-mixed
) .wd-product .wd-loop-prod-thumb {
	overflow: visible !important;
}

/* Mobile: la riga Preferiti/Confronta è absolute sul thumb e copre il fondo
   della foto. Spazio sotto l'immagine, senza cambiare il layout desktop. */
@media (max-width: 767px) {
	body.pcp-light-pages.woocommerce-cart :is(
		.cross-sells,
		.wd-carousel-container.wd-products-element,
		.pcp-cart-empty-mixed
	) .wd-product .wd-loop-prod-thumb > .wd-product-img-link {
		margin-bottom: 52px !important;
	}
}

/* =============================================================================
   GLOBAL filled primary CTAs — white labels (v2.2.91)
   Why it kept recurring: this file paints .entry-content a with
   -webkit-text-fill-color: brand blue. Any new <a> with a blue background
   (login .btn, NSL Google, .pcp-builds__new / __open, future PCP CTAs)
   inherits that fill and the text vanishes. Do not patch page-by-page.
   Outline / secondary (cart, elimina, bordered) keep dark text on light.
   ============================================================================= */
@media (prefers-color-scheme: dark) {
	html:has(body.pcp-light-pages),
	html:has(body.woocommerce-account),
	body.pcp-light-pages,
	body.woocommerce-account {
		color-scheme: only light;
		background-color: #ffffff;
	}
}

body.pcp-light-pages.woocommerce-account,
body.woocommerce-account .wd-registration-page,
body.woocommerce-account .woocommerce-form-login,
body.woocommerce-account .woocommerce-form-register,
body.woocommerce-account .nsl-container,
body.woocommerce-account .pcp-builds {
	color-scheme: only light;
}

body.pcp-light-pages .main-page-wrapper :is(
	a.button,
	a.btn,
	button.button,
	button.alt,
	.button.alt,
	.woocommerce-button,
	.woocommerce-Button,
	.woocommerce-form-login .button,
	.woocommerce-form-register .button,
	button.woocommerce-form-login__submit,
	button.woocommerce-form-register__submit,
	input.button,
	input[type="submit"].button,
	a.nsl-button,
	.nsl-button,
	.nsl-button-label-container,
	.nsl-button-default,
	.nsl-button-google,
	a.wd-switch-to-register,
	.wd-switch-to-register,
	a.create-account-button,
	.create-account-button,
	a.pcp-builds__new,
	a.pcp-builds__open,
	.pcp-builds__new,
	.pcp-builds__open,
	a[class*="pcp-builds__"]
):not(.pcp-builds__cart):not(.pcp-builds__del):not(.btn-style-bordered):not(.btn-style-link):not(.wd-action-btn):not(.wd-compare-btn):not(.wd-wishlist-btn),
body.pcp-light-pages .main-page-wrapper :is(
	a.button,
	a.btn,
	a.nsl-button,
	a.wd-switch-to-register,
	a.pcp-builds__new,
	a.pcp-builds__open,
	.nsl-button
) :is(span, div, strong, em) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	background-clip: border-box !important;
	-webkit-background-clip: border-box !important;
	opacity: 1 !important;
	visibility: visible !important;
	text-indent: 0 !important;
}

body.pcp-light-pages .main-page-wrapper :is(
	a.button,
	a.btn,
	a.nsl-button,
	a.wd-switch-to-register,
	a.pcp-builds__new,
	a.pcp-builds__open,
	.nsl-button,
	.woocommerce-form-login .button,
	.woocommerce-form-register .button
):hover,
body.pcp-light-pages .main-page-wrapper :is(
	a.nsl-button,
	.nsl-button
):hover .nsl-button-label-container {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

body.pcp-light-pages .main-page-wrapper :is(
	.pcp-builds__cart,
	.pcp-builds__del,
	.btn-style-bordered,
	.btn-style-link
) {
	color: #1e40af !important;
	-webkit-text-fill-color: #1e40af !important;
	background-clip: border-box !important;
	-webkit-background-clip: border-box !important;
}

body.pcp-light-pages .main-page-wrapper .pcp-builds__del {
	color: #64748b !important;
	-webkit-text-fill-color: #64748b !important;
}

body.pcp-light-pages .nsl-button-label-container,
body.pcp-light-pages .nsl-container .nsl-button-label-container {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	opacity: 1 !important;
	visibility: visible !important;
	overflow: visible !important;
	clip: auto !important;
	clip-path: none !important;
	text-indent: 0 !important;
	white-space: nowrap !important;
}

