/**
 * PC Precision — contrast fix (loads AFTER pcp-tema-globale-completo.css)
 *
 * Keeps dark theme on dark surfaces; forces dark text on white/light panels.
 * v2.0.21 — homepage product card footer contrast (white card + dark text).
 * v2.0.26 — single-product related/upsells cards; mobile hero promo hidden.
 * v2.0.37 — catalog filter header dark bar; single product + cart/checkout contrast.
 * v2.0.38 — badge/label white text on colored backgrounds (NUOVO, PROMO, onsale).
 * v2.0.39 — NUOVO/PROMO/new/featured badges: dark blue bg (#1e40af), not red.
 * v2.0.56 — stock status text only: Disponibile green, Esaurito red.
 * v2.0.61 — related loop-builder cards + Elementor product desc black bg.
 * v2.0.62 — nuclear white cards on single-product + Elementor products widgets.
 * v2.0.64 — related/upsells colors match Negozio (black price, blue cats, grey image).
 * v2.0.65 — loop-builder thumb (.wd-loop-prod-thumb) grey image zone.
 * v2.0.66 — related titles match Negozio primary blue.
 * v2.0.87 — Applica Prezzo button: white text on blue (anti inherit fill).
 */

/* =============================================================================
   Shared tokens
   ============================================================================= */
:root {
	--pcp-light-text: #1a1a1a;
	--pcp-light-muted: #666666;
	--pcp-light-subtle: #888888;
	--pcp-dark-text: #e5e7eb;
	--pcp-dark-muted: rgba(255, 255, 255, 0.78);
	--pcp-dark-subtle: rgba(255, 255, 255, 0.62);
}

/* =============================================================================
   HOMEPAGE — canvas bianco (pcp-wm-home-native)
   ============================================================================= */
body.pcp-wm-home-native :is(
	.website-wrapper,
	.wd-page-content,
	.main-page-wrapper,
	.wd-content-layout,
	#main-content,
	.pcp-wm-home,
	.pcp-wm-home__inner
) {
	--wd-text-color: var(--pcp-light-muted) !important;
	--wd-title-color: var(--pcp-light-text) !important;
	--wd-entities-title-color: var(--pcp-light-text) !important;
	--wd-entities-title-color-hover: #000000 !important;
	--wd-link-color: var(--pcp-light-text) !important;
	--wd-link-color-hover: #000000 !important;
	background-color: #ffffff !important;
	color: var(--pcp-light-text) !important;
}

body.pcp-wm-home-native :is(
	.wd-content-area,
	.entry-content,
	.elementor-widget-text-editor,
	.elementor-widget-wd_text_block
) {
	color: var(--pcp-light-muted) !important;
}

/* Catch-all titoli/sezioni homepage bianca */
body.pcp-wm-home-native :is(
	.pcp-wm-home,
	.pcp-home-products,
	.pcp-home-trust,
	.pcp-brand-marquee-section,
	.pcp-home-cat-strip
) :is(
	h1, h2, h3, h4, h5, h6,
	.title,
	.elementor-heading-title,
	[class*="__heading"],
	[class*="__title"]:not([class*="__subtitle"])
) {
	color: var(--pcp-light-text) !important;
	-webkit-text-fill-color: var(--pcp-light-text) !important;
}

body.pcp-wm-home-native :is(
	.pcp-wm-home,
	.pcp-home-products,
	.pcp-home-trust,
	.pcp-brand-marquee-section
) :is(
	p, span:not([class*="__badge"]), li, label:not([class*="__badge"]), dd, dt,
	[class*="__text"],
	[class*="__subtitle"],
	[class*="__sku"]
) {
	color: inherit;
}

body.pcp-wm-home-native .pcp-home-products__card :is(
	.pcp-home-products__title,
	.pcp-home-products__title a,
	.pcp-home-products__price,
	.pcp-home-products__price .woocommerce-Price-amount
) {
	color: var(--pcp-light-text) !important;
	-webkit-text-fill-color: var(--pcp-light-text) !important;
}

body.pcp-wm-home-native :is(
	.wd-content-area :is(h1, h2, h3, h4, h5, h6),
	.entry-content > :is(h1, h2, h3, h4, h5, h6),
	.elementor-widget-heading .elementor-heading-title,
	.elementor-widget-wd_title .title,
	.elementor-widget-wd_section_title .title,
	.woodmart-title-container .title,
	.pcp-home-products__heading,
	.pcp-home-products__title,
	.pcp-home-products__price,
	.pcp-brand-marquee-section-title,
	.pcp-brand-marquee-section-title .elementor-heading-title,
	.pcp-brand-marquee-bar__title,
	.pcp-brand-marquee-bar__center-title,
	.pcp-brand-marquee-bar__eyebrow,
	.pcp-home-trust__title,
	.pcp-home-trust__text
) {
	color: var(--pcp-light-text) !important;
	-webkit-text-fill-color: var(--pcp-light-text) !important;
}

body.pcp-wm-home-native .pcp-home-products__sku,
body.pcp-wm-home-native .pcp-home-trust__subtitle {
	color: var(--pcp-light-subtle) !important;
	-webkit-text-fill-color: var(--pcp-light-subtle) !important;
}

body.pcp-wm-home-native .pcp-home-products__more {
	color: var(--pcp-accent, var(--pcp-primary, #2563eb)) !important;
	-webkit-text-fill-color: var(--pcp-accent, var(--pcp-primary, #2563eb)) !important;
}

body.pcp-wm-home-native.global-color-scheme-light :is(
	.main-page-wrapper,
	.wd-page-content,
	.pcp-wm-home
) :is(h1, h2, h3, h4, h5, h6),
body.pcp-wm-home-native.global-color-scheme-light .main-page-wrapper .entry-title,
body.pcp-wm-home-native.global-color-scheme-light .main-page-wrapper .page-title {
	color: var(--pcp-light-text) !important;
	-webkit-text-fill-color: var(--pcp-light-text) !important;
}

/* Hero: immagini only — no text overrides */
body.pcp-wm-home-native .pcp-wm-home__hero,
body.pcp-wm-home-native .pcp-drako-hero,
body.pcp-wm-home-native .pcp-wm-hero-slide img {
	color: inherit;
}

/* =============================================================================
   SHOP CATALOGO — sfondo chiaro (pcp-catalog-active)
   ============================================================================= */
body.pcp-catalog-active {
	--wd-text-color: var(--pcp-light-muted) !important;
	--wd-title-color: var(--pcp-light-text) !important;
	--wd-entities-title-color: var(--pcp-light-text) !important;
	--wd-link-color: var(--pcp-light-text) !important;
	background: var(--pcp-cat-bg, #f4f6f8) !important;
	color: var(--pcp-light-text) !important;
}

body.pcp-catalog-active :is(
	.site-content,
	.content-area,
	.wd-content-area,
	.wd-page-content,
	.main-page-wrapper
) {
	color: var(--pcp-light-text) !important;
}

body.pcp-catalog-active :is(
	.wd-content-area :is(h1, h2, h3, h4, h5, h6):not(.pcp-catalog-header__title),
	.elementor-widget-heading .elementor-heading-title,
	.woocommerce-result-count,
	.woocommerce-ordering select,
	.wd-shop-tools,
	.wd-shop-tools a,
	.wd-shop-tools .wd-tools-element > a,
	.page-numbers,
	.page-numbers a,
	.pcp-catalog-subcats__link,
	.pcp-catalog-toolbar,
	.pcp-catalog-toolbar__sort-label
) {
	color: var(--pcp-light-text) !important;
	-webkit-text-fill-color: var(--pcp-light-text) !important;
}

/* Breadcrumbs — dark text on light strip (strip styled below in DARK SURFACES) */
body.pcp-catalog-active :is(
	.wd-breadcrumbs,
	.woocommerce-breadcrumb,
	.pcp-catalog-breadcrumb,
	.wd-breadcrumbs a,
	.wd-breadcrumbs span,
	.woocommerce-breadcrumb a
) {
	color: var(--pcp-light-text) !important;
	-webkit-text-fill-color: var(--pcp-light-text) !important;
}

body.pcp-catalog-active :is(
	.wd-breadcrumbs a:hover,
	.woocommerce-result-count strong,
	.page-numbers .current,
	.page-numbers a:hover,
	.pcp-catalog-subcats__link.is-active,
	.pcp-catalog-subcats__link:hover
) {
	color: var(--pcp-accent, var(--pcp-primary, #2563eb)) !important;
	-webkit-text-fill-color: var(--pcp-accent, var(--pcp-primary, #2563eb)) !important;
}

body.pcp-catalog-active .woocommerce-ordering select,
body.pcp-catalog-active .wd-shop-tools select {
	background: #ffffff !important;
	border-color: var(--pcp-cat-border, #dde3ea) !important;
	color: var(--pcp-light-text) !important;
	-webkit-text-fill-color: var(--pcp-light-text) !important;
}

body.pcp-catalog-active .page-numbers {
	border-color: var(--pcp-cat-border, #dde3ea) !important;
}

body.pcp-catalog-active .page-numbers .current,
body.pcp-catalog-active .page-numbers a:hover {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	background: var(--pcp-accent, var(--pcp-primary, #2563eb)) !important;
	border-color: var(--pcp-accent, var(--pcp-primary, #2563eb)) !important;
}

/* Griglia prodotti catalogo — card bianche, testo scuro (override tema globale scuro) */
body.pcp-catalog-active :is(
	.wd-product,
	.product-grid-item,
	ul.products li.product
) {
	--wd-text-color: var(--pcp-light-muted) !important;
	--wd-title-color: var(--pcp-light-text) !important;
	--wd-entities-title-color: var(--pcp-light-text) !important;
	--wd-link-color: var(--pcp-light-text) !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	border-color: var(--pcp-cat-border, #dde3ea) !important;
	color: var(--pcp-light-muted) !important;
}

body.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 .product-title,
	ul.products li.product .price
) {
	color: var(--pcp-light-text) !important;
	-webkit-text-fill-color: var(--pcp-light-text) !important;
}

body.pcp-catalog-active :is(
	.wd-product .wd-product-cats,
	.wd-product .wd-product-cats a,
	.wd-product .price del .woocommerce-Price-amount
) {
	color: var(--pcp-light-subtle) !important;
	-webkit-text-fill-color: var(--pcp-light-subtle) !important;
}

body.pcp-catalog-active :is(
	.wd-product :is(.wd-compare-btn, .wd-wishlist-btn a, .open-quick-view),
	.wd-product :is(.wd-compare-btn, .wd-wishlist-btn a, .open-quick-view) .wd-action-icon::before
) {
	color: var(--pcp-light-text) !important;
}

/* Filtri sidebar catalogo */
body.pcp-catalog-active :is(
	.pcp-catalog-filters,
	.pcp-catalog-filters-mount,
	.wd-sidebar,
	.sidebar-container,
	[class*="wd-col-offcanvas"],
	.elementor-widget-wd_sidebar
) {
	--wd-text-color: var(--pcp-light-muted) !important;
	--wd-title-color: var(--pcp-light-text) !important;
	--wd-link-color: var(--pcp-light-text) !important;
	color: var(--pcp-light-text) !important;
}

body.pcp-catalog-active .pcp-catalog-filters :not(.pcp-catalog-filters__header) :is(
	.pcp-catalog-filter-section__head,
	.pcp-catalog-nav__root,
	.pcp-catalog-nav__child-link,
	.pcp-catalog-nav__label,
	.pcp-catalog-brands__option,
	.pcp-catalog-brands__name,
	label,
	span,
	a
) {
	color: var(--pcp-light-text) !important;
	-webkit-text-fill-color: var(--pcp-light-text) !important;
}

body.pcp-catalog-active .pcp-catalog-active-filters__label,
body.pcp-catalog-active .pcp-catalog-nav__count,
body.pcp-catalog-active .pcp-catalog-brands__count {
	color: var(--pcp-light-muted) !important;
	-webkit-text-fill-color: var(--pcp-light-muted) !important;
}

/* Input prezzo — override pcp-tema-globale-completo (sfondo #1A1A1A + testo ereditato scuro) */
body.pcp-catalog-active .pcp-catalog-filters .pcp-catalog-price__field :is(input[type="number"], input[type="text"]) {
	background: #ffffff !important;
	background-color: #ffffff !important;
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
	border: 1px solid var(--pcp-cat-border, #dde3ea) !important;
	color-scheme: light;
	caret-color: #1a1a1a;
}

body.pcp-catalog-active .pcp-catalog-filters .pcp-catalog-price__field input::placeholder {
	color: #666666 !important;
	-webkit-text-fill-color: #666666 !important;
	opacity: 1;
}

/* Applica Prezzo — white on blue (parent filters set dark -webkit-text-fill-color) */
body.pcp-catalog-active .pcp-catalog-price__submit,
body.pcp-catalog-active .pcp-catalog-price__submit:hover,
body.pcp-catalog-active .pcp-catalog-price__submit:focus,
body.pcp-catalog-active .widget_price_filter .price_slider_amount .button,
body.pcp-catalog-active .widget_price_filter .button {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

body.pcp-catalog-active .pcp-catalog-filters .pcp-catalog-brands__option.is-active,
body.pcp-catalog-active .pcp-catalog-filters .pcp-catalog-brands__option.is-active .pcp-catalog-brands__name {
	color: var(--pcp-accent, var(--pcp-primary, #2563eb)) !important;
	-webkit-text-fill-color: var(--pcp-accent, var(--pcp-primary, #2563eb)) !important;
}

/* Header filtri (sfondo scuro) — titolo bianco (vince su h2 generici light-pages) */
body.pcp-catalog-active .pcp-catalog-filters__header {
	background: #1a1a1a !important;
	color: #ffffff !important;
}

body.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
),
body.pcp-catalog-active .pcp-catalog-filters__title,
body.pcp-catalog-active .pcp-catalog-filters__close {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

body.pcp-catalog-active .pcp-catalog-toolbar__filters,
body.pcp-catalog-active .pcp-catalog-toolbar__filters :is(span, svg) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

body.pcp-catalog-active .pcp-catalog-active-filters__chip,
body.pcp-catalog-active .pcp-catalog-active-filters__chip :is(span, a) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* =============================================================================
   SHOP generico — sidebar filtri chiara (WoodMart)
   ============================================================================= */
body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat):not(.pcp-catalog-active) :is(
	[class*="wd-col-offcanvas"],
	.wd-sidebar:not(.wd-side-hidden),
	.sidebar-container,
	.wd-shop-sidebar,
	.wd-off-canvas-sidebar,
	.wd-canvas-sidebar,
	.elementor-widget-wd_sidebar
) :is(
	a, label, span, li, p,
	.wd-filter-lable,
	.wd-swatch-text,
	.layered-nav-link,
	.price_label,
	.woocommerce-Price-amount,
	.widget-title,
	.wd-pf-title
) {
	color: var(--pcp-light-text) !important;
	-webkit-text-fill-color: var(--pcp-light-text) !important;
}

/* =============================================================================
   MEGA MENU — pannelli chiari (#pcpCasekingNav + legacy)
   ============================================================================= */
#pcpCasekingNav,
#pcpCasekingNav .pcp-ck-mega,
#pcpCasekingNav .pcp-ck-mega__stage,
#pcpCasekingNav .pcp-ck-mega__container,
#pcpMegaMenu2026,
.pcp-ck-mega,
.pcp-ck-mega__stage,
.pcp-ck-mega__container {
	--wd-text-color: 51, 51, 51 !important;
	--wd-title-color: #1a1a1a !important;
	--wd-link-color: #333333 !important;
	--wd-entities-title-color: #1a1a1a !important;
}

#pcpCasekingNav .pcp-ck-mega :is(
	.pcp-ck-mega__section-title,
	.pcp-ck-tile__label,
	.pcp-ck-mega__foot-link,
	.pcp-ck-mega__sublinks a
),
#pcpMegaMenu2026 :is(.pcp-mega-main, .pcp-mega-aside, .pcp-mega-nav, .pcp-mega),
.pcp-ck-mega__stage,
.pcp-ck-mega__container,
.pcp-ck-mega__section-title,
.pcp-ck-tile__label {
	color: var(--pcp-light-text) !important;
	-webkit-text-fill-color: var(--pcp-light-text) !important;
}

#pcpCasekingNav .pcp-ck-tile,
#pcpCasekingNav .pcp-ck-mega__sublinks a,
#pcpMegaMenu2026 .pcp-mega-col a,
#pcpMegaMenu2026 .pcp-mega-nav label,
.pcp-ck-tile {
	color: var(--pcp-light-muted) !important;
	-webkit-text-fill-color: var(--pcp-light-muted) !important;
}

#pcpCasekingNav .pcp-ck-tile:hover,
#pcpCasekingNav .pcp-ck-mega__sublinks a:hover,
#pcpMegaMenu2026 .pcp-mega-col h4,
#pcpMegaMenu2026 .pcp-mega-prod strong,
.pcp-ck-mega__section-title,
.pcp-ck-mega__foot-link {
	color: var(--pcp-light-text) !important;
	-webkit-text-fill-color: var(--pcp-light-text) !important;
}

#pcpCasekingNav .pcp-ck-tile:hover,
#pcpCasekingNav .pcp-ck-mega__sublinks a:hover,
#pcpCasekingNav .pcp-ck-mega__foot-link:hover,
.pcp-ck-mega__foot-link:hover {
	color: var(--pcp-accent, var(--pcp-primary, #2563eb)) !important;
	-webkit-text-fill-color: var(--pcp-accent, var(--pcp-primary, #2563eb)) !important;
}

/* =============================================================================
   DARK SURFACES — footer, catalog hero, breadcrumb strip
   (wins over catalog --wd-title-color / light-text bleed on dark bg)
   ============================================================================= */

/* Footer — sfondo scuro fisso + reset WoodMart title vars */
:is(
	.pcp-footer-wrap,
	.pcp-footer,
	.pcp-drako-footer-wrap,
	footer.site-footer,
	.footer-container.pcp-footer-wrap
) {
	background-color: #0a0a0a !important;
	--wd-title-color: #ffffff !important;
	--wd-text-color: var(--pcp-dark-muted) !important;
	--wd-link-color: var(--pcp-dark-muted) !important;
	color: var(--pcp-dark-muted) !important;
}

body.pcp-light-pages :is(
	.pcp-footer-wrap,
	.pcp-footer,
	.pcp-drako-footer-wrap,
	footer.site-footer,
	.footer-container
) {
	background-color: #0a0a0a !important;
}

body.pcp-light-pages :is(
	.pcp-footer-wrap,
	.pcp-footer,
	.pcp-drako-footer-wrap
) :is(.pcp-footer__col-title, h3, h4),
body.pcp-wm-home-native :is(
	.pcp-footer-wrap,
	.pcp-footer,
	.pcp-drako-footer-wrap
) :is(.pcp-footer__col-title, h3, h4),
.pcp-footer-wrap :is(.pcp-footer__col-title, h3, h4),
.pcp-drako-footer-wrap .pcp-drako-footer-heading {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

body.pcp-light-pages .pcp-footer-wrap .pcp-footer__trust-title,
body.pcp-wm-home-native .pcp-footer-wrap .pcp-footer__trust-title,
.pcp-footer-wrap .pcp-footer__trust-title,
.pcp-footer-wrap .pcp-footer__trust-item strong,
.pcp-drako-footer-wrap .pcp-drako-footer-trust-item strong {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

body.pcp-light-pages .pcp-footer-wrap .pcp-footer__trust-subtitle,
.pcp-footer-wrap .pcp-footer__trust-subtitle,
.pcp-footer-wrap .pcp-footer__trust-item span:not(.pcp-footer__trust-icon),
.pcp-drako-footer-wrap .pcp-drako-footer-trust-item span:not(.pcp-footer__trust-icon) {
	color: var(--pcp-dark-subtle) !important;
	-webkit-text-fill-color: var(--pcp-dark-subtle) !important;
}

.pcp-footer-wrap .pcp-footer__trust-icon {
	color: #93c5fd !important;
	-webkit-text-fill-color: #93c5fd !important;
}

body.pcp-light-pages .pcp-footer-wrap .pcp-footer__links a,
body.pcp-wm-home-native .pcp-footer-wrap .pcp-footer__links a,
.pcp-footer-wrap .pcp-footer__links a,
.pcp-drako-footer-wrap .pcp-drako-footer-main ul li a,
.pcp-drako-footer-wrap .pcp-drako-footer-main address {
	color: var(--pcp-dark-text) !important;
	-webkit-text-fill-color: var(--pcp-dark-text) !important;
}

body.pcp-light-pages .pcp-footer-wrap .pcp-footer__links a:hover,
.pcp-footer-wrap .pcp-footer__links a:hover,
.pcp-drako-footer-wrap .pcp-drako-footer-main ul li a:hover {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

body.pcp-light-pages .pcp-footer-wrap .pcp-footer__tagline,
body.pcp-wm-home-native .pcp-footer-wrap .pcp-footer__tagline,
.pcp-footer-wrap .pcp-footer__tagline,
.pcp-drako-footer-wrap .pcp-drako-footer-tagline {
	color: var(--pcp-dark-subtle) !important;
	-webkit-text-fill-color: var(--pcp-dark-subtle) !important;
}

body.pcp-light-pages .pcp-footer-wrap :is(.pcp-footer__legal a, .pcp-footer__copy),
.pcp-footer-wrap .pcp-footer__legal a,
.pcp-footer-wrap .pcp-footer__copy {
	color: var(--pcp-dark-subtle) !important;
	-webkit-text-fill-color: var(--pcp-dark-subtle) !important;
}

body.pcp-light-pages .pcp-footer-wrap .pcp-footer__legal a:hover,
.pcp-footer-wrap .pcp-footer__legal a:hover {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* Catalog header — dark text on light canvas (stile Drako) */
body.pcp-catalog-active .pcp-catalog-header,
body.pcp-catalog-active .pcp-catalog-header__inner {
	color: var(--pcp-cat-text, #1a1a1a) !important;
}

body.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 .main-page-wrapper .pcp-catalog-header,
body.pcp-catalog-active.pcp-light-pages .main-page-wrapper .pcp-catalog-header {
	--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-catalog-active.pcp-light-pages .main-page-wrapper .pcp-catalog-header .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-catalog-active .pcp-catalog-header__lead {
	color: var(--pcp-cat-muted, #5c6578) !important;
	-webkit-text-fill-color: var(--pcp-cat-muted, #5c6578) !important;
}

/* Breadcrumb strip — light panel above dark page canvas */
body.pcp-catalog-active .elementor-widget-wd_wc_breadcrumb .elementor-widget-container,
body.pcp-catalog-active .wd-el-breadcrumbs .elementor-widget-container {
	background: var(--pcp-cat-bg, #f4f6f8) !important;
	padding: 0.55rem 1rem !important;
	border-radius: 8px;
	margin-bottom: 0.25rem;
}

body.pcp-catalog-active :is(.tax-product_cat, .post-type-archive-product) .wd-breadcrumbs a:hover,
body.pcp-catalog-active .wd-breadcrumbs a:hover {
	color: var(--pcp-accent, var(--pcp-primary, #2563eb)) !important;
	-webkit-text-fill-color: var(--pcp-accent, var(--pcp-primary, #2563eb)) !important;
}

/* Shop pages without catalog layout — breadcrumbs on dark canvas */
body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat):not(.pcp-catalog-active) :is(
	.wd-breadcrumbs,
	.woocommerce-breadcrumb,
	.wd-breadcrumbs a,
	.wd-breadcrumbs span,
	.woocommerce-breadcrumb a
) {
	color: var(--pcp-dark-muted) !important;
	-webkit-text-fill-color: var(--pcp-dark-muted) !important;
}

/* Elementor legacy footer (pcp-brand-skin) */
body.pcp-brand-skin .footer-page,
body.pcp-brand-skin .footer-page :is(
	.elbzotech-text-editor-global p,
	.elbzotech-list-link-global-block .item-link,
	.elbzotech-list-link-global-block .title,
	.elementor-element-154148a :is(h2, .title48)
) {
	color: var(--pcp-footer-text, rgba(255, 255, 255, 0.78)) !important;
	-webkit-text-fill-color: var(--pcp-footer-text, rgba(255, 255, 255, 0.78)) !important;
}

body.pcp-brand-skin .footer-page .elementor-element-154148a :is(h2, .title48),
body.pcp-brand-skin .footer-page .elementor-element-154148a :is(.elementor-element-e4da9bf, .elementor-element-fffe634, .elementor-element-f0f7ba4) .elbzotech-text-editor-global p {
	color: var(--pcp-footer-title, #ffffff) !important;
	-webkit-text-fill-color: var(--pcp-footer-title, #ffffff) !important;
}

body.pcp-brand-skin .footer-page .elbzotech-list-link-global-block .item-link:hover {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* =============================================================================
   INFO PAGES — testo leggibile su sfondo scuro del sito
   ============================================================================= */

/* Pagine classiche/minimali: pannello chiaro */
body:not(.pcp-wm-home-native):not(.pcp-catalog-active) :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;
	border-radius: 12px;
}

body:not(.pcp-wm-home-native):not(.pcp-catalog-active) :is(
	.pcp-classic-page:not(.pcp-classic-page--raw),
	.pcp-woodmart-page .pcp-wd-section:not(.pcp-wd-section--dark)
) :is(
	h1, h2, h3, h4, h5, h6,
	p, li, span, dd, dt, label, strong, em
) {
	color: inherit !important;
	-webkit-text-fill-color: inherit !important;
}

body:not(.pcp-wm-home-native):not(.pcp-catalog-active) :is(
	.pcp-classic-page:not(.pcp-classic-page--raw),
	.pcp-woodmart-page .pcp-wd-section:not(.pcp-wd-section--dark)
) a:not(.pcp-classic-btn):not([class*="__btn"]) {
	color: var(--pcp-accent, var(--pcp-primary, #2563eb)) !important;
	-webkit-text-fill-color: var(--pcp-accent, var(--pcp-primary, #2563eb)) !important;
}

/* Entry content generico senza blocchi dedicati */
body:not(.pcp-wm-home-native):not(.pcp-catalog-active) .entry-content :is(
	p, li, ul, ol, dd, dt, blockquote
):not(:is(
	[class*="pcp-"] *,
	.pcp-classic-page *,
	.pcp-woodmart-page *
)) {
	color: #e5e7eb !important;
	-webkit-text-fill-color: #e5e7eb !important;
}

body:not(.pcp-wm-home-native):not(.pcp-catalog-active) .entry-content :is(
	h2, h3, h4, h5, h6
):not(:is(
	[class*="pcp-"] *,
	.pcp-classic-page *,
	.pcp-woodmart-page *,
	.wd-page-title *
)) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* Page-blocks a larghezza piena — non ereditare colori scuri dal tema globale */
body:not(.pcp-wm-home-native):not(.pcp-catalog-active) .entry-content .pcp-classic-page--raw {
	--wd-text-color: #1f2937 !important;
	--wd-title-color: #111111 !important;
}

/* =============================================================================
   LOGIN / REGISTER off-canvas — pannello bianco opaco
   WoodMart: .login-form-side.wd-side-hidden (+ .color-scheme-light on shop)
   Root cause: pcp-tema-globale-completo.css → :root,body { --bgcolor-white: #2B2B2B }
   + shop sidebar fixes target .wd-sidebar:not(.wd-side-hidden) only.
   WoodMart [class*=color-scheme-light] inverts tokens (dark panel) while
   pcp-light-pages sets dark label tokens on body → testo scuro su sfondo scuro.
   ============================================================================= */
:is(.login-form-side, .cart-widget-side).wd-side-hidden {
	--bgcolor-white: #ffffff !important;
	--bgcolor-gray-100: #f8f9fa !important;
	--bgcolor-gray-200: #f3f4f6 !important;
	--bgcolor-gray-300: #e5e7eb !important;
	--color-gray-800: #1a1a1a !important;
	--color-gray-900: #111111 !important;
	--color-gray-600: #666666 !important;
	--color-gray-500: #888888 !important;
	--color-gray-200: #e5e7eb !important;
	--wd-text-color: #444444 !important;
	--wd-title-color: #1a1a1a !important;
	/* color-scheme-light sets entities title to #FFF — restore dark on white panel */
	--wd-entities-title-color: #0b0b0c !important;
	--wd-entities-title-color-hover: var(--pcp-primary, #1e40af) !important;
	--wd-link-color: var(--pcp-primary, #2563eb) !important;
	--wd-link-color-hover: #006b3a !important;
	--brdcolor-gray-300: #e5e7eb !important;
	--wd-form-color: #1a1a1a !important;
	--wd-form-bg: #ffffff !important;
	--wd-form-brd-color: rgba(0, 0, 0, 0.12) !important;
	--wd-form-placeholder-color: #888888 !important;
	background-color: #ffffff !important;
	color: #444444 !important;
	color-scheme: light;
}

/* Mini-cart product names — dark on white (never inherit badge white fill) */
.cart-widget-side.wd-side-hidden .cart-info .wd-entities-title,
.cart-widget-side.wd-side-hidden .woocommerce-mini-cart-item .wd-entities-title,
.cart-widget-side.wd-side-hidden .widget_shopping_cart .wd-entities-title,
.cart-widget-side.wd-side-hidden .woocommerce-mini-cart-item a:not(.remove):not(.button) {
	color: #0b0b0c !important;
	-webkit-text-fill-color: #0b0b0c !important;
}

/* Side login / cart forms — readable inputs on white panel */
:is(.login-form-side, .cart-widget-side).wd-side-hidden :is(
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="password"],
	input[type="number"],
	textarea,
	select
):not([type="hidden"]) {
	background: #ffffff !important;
	border: 1px solid #e4e4e7 !important;
	color: #0b0b0c !important;
	-webkit-text-fill-color: #0b0b0c !important;
	opacity: 1 !important;
	color-scheme: light;
}

:is(.login-form-side, .cart-widget-side).wd-side-hidden :is(
	.wd-heading .title,
	.wd-heading .wd-action-text,
	label,
	.wd-label,
	.create-account-question p,
	.login-form-footer,
	.login-form-footer span,
	.wd-login-divider,
	.wd-login-divider span
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

:is(.login-form-side, .cart-widget-side).wd-side-hidden :is(
	.login-form-footer .lost_password,
	.wd-heading > a,
	.wd-heading .wd-action-btn > a
) {
	color: var(--pcp-primary, #2563eb) !important;
	-webkit-text-fill-color: var(--pcp-primary, #2563eb) !important;
}

/* Pulsante "Crea un account" — blu con testo BIANCO (mai blu su blu) */
:is(.login-form-side, .cart-widget-side).wd-side-hidden .create-account-question .create-account-button,
:is(.login-form-side, .cart-widget-side).wd-side-hidden .create-account-question a.create-account-button,
:is(.login-form-side, .cart-widget-side).wd-side-hidden .create-account-question .btn.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;
}

:is(.login-form-side, .cart-widget-side).wd-side-hidden .create-account-question .create-account-button:hover,
:is(.login-form-side, .cart-widget-side).wd-side-hidden .create-account-question a.create-account-button:hover {
	background-color: #1d4ed8 !important;
	border-color: #1d4ed8 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

:is(.login-form-side, .cart-widget-side).wd-side-hidden .create-account-question:before {
	color: #e5e7eb !important;
	-webkit-text-fill-color: #e5e7eb !important;
}

:is(.login-form-side, .cart-widget-side).wd-side-hidden .woocommerce-form-login,
:is(.login-form-side, .cart-widget-side).wd-side-hidden .create-account-question,
:is(.login-form-side, .cart-widget-side).wd-side-hidden .wd-heading {
	border-color: #e5e7eb !important;
}

/* =============================================================================
   MOBILE STICKY TOOLBAR — WoodMart .wd-toolbar (bottom nav)
   Root cause: pcp-light-pages sets --bgcolor-white:#fff on body while
   global-color-scheme-light keeps white icon/label colors → invisible bar.
   pcp-tema-globale-completo sets --bgcolor-white:#2B2B2B + dark link tokens
   that can also hide labels when light-pages link colors bleed in.
   ============================================================================= */
@media (max-width: 1024px) {
	.wd-toolbar {
		--bgcolor-white: #0a0a0a !important;
		--wd-text-color: #e5e7eb !important;
		--wd-link-color: #e5e7eb !important;
		--wd-title-color: #ffffff !important;
		--color-gray-800: #e5e7eb !important;
		--color-gray-900: #ffffff !important;
		background-color: #0a0a0a !important;
		border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
		box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.35) !important;
		color: #e5e7eb !important;
	}

	body.pcp-light-pages .wd-toolbar,
	body.pcp-wm-home-native .wd-toolbar,
	body.pcp-catalog-active .wd-toolbar,
	body.global-color-scheme-light .wd-toolbar {
		--bgcolor-white: #0a0a0a !important;
		background-color: #0a0a0a !important;
	}

	.wd-toolbar :is(
		a,
		.wd-toolbar-label,
		.wd-tools-icon,
		.wd-tools-text,
		.wd-cart-number,
		.wd-cart-number span,
		.wd-tools-count,
		.wd-tools-count span
	) {
		color: #e5e7eb !important;
		-webkit-text-fill-color: #e5e7eb !important;
	}

	.wd-toolbar .wd-tools-icon::before {
		color: #e5e7eb !important;
		-webkit-text-fill-color: #e5e7eb !important;
	}

	.wd-toolbar a:hover,
	.wd-toolbar a:hover .wd-toolbar-label,
	.wd-toolbar a:hover .wd-tools-icon::before {
		color: #ffffff !important;
		-webkit-text-fill-color: #ffffff !important;
	}

	.wd-toolbar .wd-header-cart .cart-widget-opener .wd-tools-count,
	.wd-toolbar .wd-header-cart .cart-widget-opener .wd-cart-number {
		color: #ffffff !important;
		-webkit-text-fill-color: #ffffff !important;
	}

	.wd-toolbar .wd-header-cart .cart-widget-opener .wd-tools-count > span,
	.wd-toolbar .wd-header-cart .cart-widget-opener .wd-cart-number > span {
		color: rgba(255, 255, 255, 0.72) !important;
		-webkit-text-fill-color: rgba(255, 255, 255, 0.72) !important;
	}

	/* Confronta: count badge like cart */
	.wd-toolbar .wd-header-compare {
		position: relative;
	}

	.wd-toolbar .wd-header-compare .wd-tools-icon {
		position: relative;
	}

	.wd-toolbar .wd-header-compare .wd-tools-count {
		display: flex !important;
		align-items: center;
		justify-content: center;
		position: absolute !important;
		top: -4px !important;
		inset-inline-end: -6px !important;
		z-index: 3;
		min-width: 16px;
		width: auto;
		height: 16px;
		padding: 0 4px;
		border-radius: 999px;
		background-color: #2563eb !important;
		color: #fff !important;
		-webkit-text-fill-color: #fff !important;
		font-size: 10px !important;
		font-weight: 700 !important;
		line-height: 16px !important;
		box-sizing: border-box;
	}

	.wd-toolbar .wd-header-compare .wd-tools-count.is-empty,
	.wd-toolbar .wd-header-compare .wd-tools-count[data-count="0"] {
		display: none !important;
	}

	.wd-toolbar .wd-header-compare.without-product-count .wd-tools-count {
		display: flex !important;
	}

	.wd-toolbar .wd-header-compare.without-product-count .wd-tools-count.is-empty,
	.wd-toolbar .wd-header-compare.without-product-count .wd-tools-count[data-count="0"] {
		display: none !important;
	}

	.wd-sticky-btn {
		--bgcolor-white: #111111 !important;
		background-color: #111111 !important;
		border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
		color: #e5e7eb !important;
	}

	.wd-sticky-btn :is(
		.wd-entities-title,
		.price,
		.price .amount,
		.wd-sticky-btn-content
	) {
		color: #ffffff !important;
		-webkit-text-fill-color: #ffffff !important;
	}
}

/* =============================================================================
   HOMEPAGE PRODUCT CARDS — card footer readable (native Drako grid)
   Root cause: body.global-color-scheme-light matches WoodMart [class*=color-scheme-light]
   and pcp-tema-globale sets --bgcolor-white:#2B2B2B while contrast/light-pages rules
   force --pcp-light-text (#1a1a1a) on .pcp-home-products__* → dark grey on dark grey.
   Fix: isolate card surface (white) + explicit title/meta/price colors.
   ============================================================================= */
body.pcp-wm-home-native .pcp-home-products__card,
body.pcp-wm-home-native .pcp-home-products__card .pcp-home-products__body,
body.pcp-wm-home-native .pcp-home-products__card .pcp-home-products__image-link {
	--bgcolor-white: #ffffff !important;
	--bgcolor-gray-100: #f8f9fa !important;
	--bgcolor-gray-200: #f3f4f6 !important;
	--bgcolor-gray-300: #e5e7eb !important;
	--color-gray-800: #1a1a1a !important;
	--color-gray-900: #111111 !important;
	--wd-text-color: #444444 !important;
	--wd-title-color: #1a1a1a !important;
	--wd-entities-title-color: #1a1a1a !important;
	--wd-link-color: #1a1a1a !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	border-color: #ececec !important;
	color: #444444 !important;
}

body.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-wm-home-native .pcp-home-products__card :is(
	.pcp-home-products__price,
	.pcp-home-products__price .woocommerce-Price-amount,
	.pcp-home-products__price .amount
) {
	color: var(--pcp-primary, #2563eb) !important;
	-webkit-text-fill-color: var(--pcp-primary, #2563eb) !important;
}

body.pcp-wm-home-native .pcp-home-products__card :is(
	.pcp-home-products__sku,
	.pcp-home-products__meta
) {
	color: #9ca3af !important;
	-webkit-text-fill-color: #9ca3af !important;
}

/* Stock status text only — green / red (not brand blue) */
body.pcp-wm-home-native .pcp-home-products__card .pcp-home-products__stock--in,
body.pcp-wm-home-native .pcp-home-products__stock--in {
	color: #16a34a !important;
	-webkit-text-fill-color: #16a34a !important;
}

body.pcp-wm-home-native .pcp-home-products__card .pcp-home-products__stock--out,
body.pcp-wm-home-native .pcp-home-products__stock--out {
	color: #dc2626 !important;
	-webkit-text-fill-color: #dc2626 !important;
}

body.pcp-wm-home-native .pcp-home-products__stock--in::before {
	background: #16a34a !important;
}

body.pcp-wm-home-native .pcp-home-products__card .pcp-home-products__title a:hover {
	color: var(--pcp-primary, #2563eb) !important;
	-webkit-text-fill-color: var(--pcp-primary, #2563eb) !important;
}

/* Shop/catalog — pcp-light-pages vs tema globale dark cards */
body.pcp-light-pages:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat):not(.pcp-catalog-active) :is(
	.wd-product,
	.product-grid-item,
	ul.products li.product
) :is(
	.wd-entities-title a,
	.woocommerce-loop-product__title,
	.price,
	.price .woocommerce-Price-amount,
	.wd-product-cats,
	.wd-product-cats a
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

body.pcp-light-pages:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat):not(.pcp-catalog-active) :is(
	.wd-product .wd-product-cats,
	.wd-product .wd-product-cats a,
	.wd-product .price del .woocommerce-Price-amount
) {
	color: #666666 !important;
	-webkit-text-fill-color: #666666 !important;
}

body.pcp-light-pages:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat):not(.pcp-catalog-active) :is(
	.wd-product .price .woocommerce-Price-amount,
	.product-grid-item .price .woocommerce-Price-amount
) {
	color: var(--pcp-primary, #2563eb) !important;
	-webkit-text-fill-color: var(--pcp-primary, #2563eb) !important;
}

/* =============================================================================
   SCROLL TO TOP — WoodMart .scrollToTop
   Root cause: --bgcolor-white-rgb stays dark (#2B2B2B) while pcp-light-pages
   sets --color-gray-800 dark → invisible icon on dark circle. Also woodmart-font
   may not load. Use brand blue + inline SVG chevron (mobile + desktop).
   ============================================================================= */
a.scrollToTop {
	--bgcolor-white-rgb: 41, 121, 255;
	background-color: var(--pcp-blue-primary, #2563eb) !important;
	color: #ffffff !important;
	border: 2px solid rgba(255, 255, 255, 0.22) !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28) !important;
	opacity: 0;
}

a.scrollToTop.button-show {
	opacity: 1 !important;
}

a.scrollToTop::after {
	content: "" !important;
	font-family: inherit !important;
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	margin: 0 auto !important;
	background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E") !important;
	-webkit-text-fill-color: transparent !important;
}

a.scrollToTop:hover,
a.scrollToTop:focus-visible {
	background-color: var(--pcp-blue-primary-hover, #1d4ed8) !important;
	color: #ffffff !important;
}

body.pcp-light-pages a.scrollToTop,
body.pcp-wm-home-native a.scrollToTop,
body.pcp-catalog-active a.scrollToTop,
body.global-color-scheme-light a.scrollToTop {
	background-color: var(--pcp-blue-primary, #2563eb) !important;
	color: #ffffff !important;
}

@media (max-width: 1024px) {
	a.scrollToTop {
		inset-inline-end: 12px !important;
		bottom: calc(62px + env(safe-area-inset-bottom, 0px)) !important;
		width: 44px !important;
		height: 44px !important;
	}

	body.sticky-toolbar-on a.scrollToTop {
		bottom: calc(62px + env(safe-area-inset-bottom, 0px)) !important;
	}

	a.scrollToTop::after {
		width: 14px !important;
		height: 14px !important;
	}
}

/* =============================================================================
   HOMEPAGE — hide hero promo carousel on mobile/tablet (≤1024px)
   Root cause: mobile grid stacks aside below hero; promo slider duplicates as
   full-width banner under thumbs. Inline wp_head rules force display:block.
   Fix loads in footer after inline critical CSS.
   ============================================================================= */
@media (max-width: 1024px) {
	body.pcp-wm-home-native .pcp-drako-hero__promo,
	body.pcp-wm-home-native.pcp-drako-hero-active .pcp-wm-home__hero .pcp-drako-hero__promo,
	body.pcp-wm-home-native .pcp-drako-hero__promo .pcp-home-promo-slider,
	body.pcp-wm-home-native.pcp-drako-hero-active .pcp-wm-home__hero .pcp-drako-hero__promo .pcp-home-promo-slider,
	body.pcp-wm-home-native .pcp-wm-home > .pcp-home-promo-slider,
	body.pcp-wm-home-native .pcp-wm-home__inner > .pcp-home-promo-slider {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		height: 0 !important;
		max-height: 0 !important;
		overflow: hidden !important;
		margin: 0 !important;
		padding: 0 !important;
		pointer-events: none !important;
	}
}

/* =============================================================================
   SINGLE PRODUCT — related / upsells / cross-sells card contrast
   Root cause (v2.0.61): related uses WoodMart Loop Builder
   (.related-products.wd-products.wd-loop-builder-on). pcp-tema-globale rule
   body:not(.pcp-catalog-active) .wd-products.wd-loop-builder-on .wd-product
   has specificity (0,4,1) + --pcp-shop-card-bg:#2B2B2B — beat older (0,3,1)
   related overrides → charcoal card bottoms; light-pages then paints titles
   dark → unreadable blue/dark on black (prices stayed white).
   Scope: body.single-product only — does NOT touch homepage / header / footer.
   ============================================================================= */
body.single-product:not(.pcp-catalog-active) :is(
	.related-products,
	.upsells-products,
	.upsells,
	.cross-sells,
	.related-and-upsells .related-products,
	.related-and-upsells .upsells-products,
	.products.related,
	.woocommerce .related.products
),
body.single-product:not(.pcp-catalog-active) :is(
	.related-products,
	.upsells-products,
	.upsells,
	.cross-sells,
	.related-and-upsells .related-products,
	.related-and-upsells .upsells-products,
	.products.related,
	.woocommerce .related.products
).wd-loop-builder-on .wd-product,
body.single-product:not(.pcp-catalog-active) :is(
	.related-products,
	.upsells-products,
	.upsells,
	.cross-sells,
	.related-and-upsells .related-products,
	.related-and-upsells .upsells-products,
	.products.related,
	.woocommerce .related.products
) :is(
	.wd-product,
	.product-grid-item,
	ul.products li.product,
	.wd-product-wrapper,
	.wd-product .product-wrapper,
	.wd-product .product-element-bottom,
	.wd-product .product-information,
	.wd-product .wd-dir-col,
	.wd-product .wd-dir-row,
	.wd-product .wrap-price,
	.product-grid-item .product-information
) {
	--pcp-shop-card-bg: #ffffff !important;
	--pcp-shop-card-text: #1a1a1a !important;
	--pcp-shop-card-muted: #444444 !important;
	--pcp-shop-card-subtle: #666666 !important;
	--bgcolor-white: #ffffff !important;
	--bgcolor-gray-100: #f8f9fa !important;
	--bgcolor-gray-200: #f3f4f6 !important;
	--bgcolor-gray-300: #e5e7eb !important;
	--color-gray-800: #1a1a1a !important;
	--color-gray-900: #111111 !important;
	--wd-prod-bg: #ffffff !important;
	--wd-text-color: #444444 !important;
	--wd-title-color: #1a1a1a !important;
	--wd-entities-title-color: #1a1a1a !important;
	--wd-entities-title-color-hover: #1e40af !important;
	--wd-link-color: #1a1a1a !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	border-color: #ececec !important;
	color: #444444 !important;
}

body.single-product:not(.pcp-catalog-active) :is(
	.related-products,
	.upsells-products,
	.upsells,
	.cross-sells,
	.related-and-upsells .related-products,
	.related-and-upsells .upsells-products,
	.products.related,
	.woocommerce .related.products
) :is(
	.wd-product .wd-entities-title,
	.wd-product .wd-entities-title a,
	.wd-product .woocommerce-loop-product__title,
	.wd-product .product-title,
	.wd-product .wd-loop-prod-title,
	.wd-product .wd-loop-prod-title a,
	.product-grid-item .wd-entities-title a,
	ul.products li.product .woocommerce-loop-product__title,
	ul.products li.product h2,
	.wd-product .wd-entities-title a .wd-entities-title
) {
	/* Negozio live: title uses primary blue */
	color: var(--pcp-primary, #1e40af) !important;
	-webkit-text-fill-color: var(--pcp-primary, #1e40af) !important;
}

body.single-product:not(.pcp-catalog-active) :is(
	.related-products,
	.upsells-products,
	.upsells,
	.cross-sells,
	.related-and-upsells .related-products,
	.related-and-upsells .upsells-products,
	.products.related,
	.woocommerce .related.products
) :is(
	.wd-product .price,
	.wd-product .price .woocommerce-Price-amount,
	.wd-product .price .amount,
	.wd-product .price ins .woocommerce-Price-amount,
	.product-grid-item .price .woocommerce-Price-amount,
	ul.products li.product .price .woocommerce-Price-amount
) {
	/* Negozio: black price (not primary blue) */
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

body.single-product:not(.pcp-catalog-active) :is(
	.related-products,
	.upsells-products,
	.upsells,
	.cross-sells,
	.related-and-upsells .related-products,
	.related-and-upsells .upsells-products,
	.products.related,
	.woocommerce .related.products
) :is(
	.wd-product .wd-product-cats,
	.wd-product .wd-product-cats a,
	.product-grid-item .wd-product-cats a
) {
	/* Negozio: small blue category */
	color: var(--pcp-primary, #1e40af) !important;
	-webkit-text-fill-color: var(--pcp-primary, #1e40af) !important;
}

body.single-product:not(.pcp-catalog-active) :is(
	.related-products,
	.upsells-products,
	.upsells,
	.cross-sells,
	.related-and-upsells .related-products,
	.related-and-upsells .upsells-products,
	.products.related,
	.woocommerce .related.products
) :is(
	.wd-product .price del,
	.wd-product .price del .woocommerce-Price-amount,
	.product-grid-item .price del .woocommerce-Price-amount
) {
	color: #666666 !important;
	-webkit-text-fill-color: #666666 !important;
}

body.single-product:not(.pcp-catalog-active) :is(
	.related-products,
	.upsells-products,
	.upsells,
	.cross-sells,
	.related-and-upsells .related-products,
	.related-and-upsells .upsells-products,
	.products.related,
	.woocommerce .related.products
) :is(
	.wd-product .wd-entities-title a:hover,
	.product-grid-item .wd-entities-title a:hover
) {
	color: var(--pcp-primary, #1e40af) !important;
	-webkit-text-fill-color: var(--pcp-primary, #1e40af) !important;
}

/* Card shell white; image zone light grey like Negozio (loop-builder thumbs) */
body.single-product:not(.pcp-catalog-active) :is(
	.related-products,
	.upsells-products,
	.upsells,
	.cross-sells,
	.related-and-upsells .related-products,
	.related-and-upsells .upsells-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
) {
	background: #f3f4f6 !important;
	background-color: #f3f4f6 !important;
}

body.single-product:not(.pcp-catalog-active) :is(
	.related-products,
	.upsells-products,
	.upsells,
	.cross-sells,
	.related-and-upsells .related-products,
	.related-and-upsells .upsells-products
) .wd-product :is(
	.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;
}

body.single-product:not(.pcp-catalog-active) :is(
	.related-products,
	.upsells-products,
	.upsells,
	.cross-sells,
	.related-and-upsells .related-products,
	.related-and-upsells .upsells-products
) .wd-product :is(
	.product-element-bottom,
	.product-information,
	.wrap-price,
	.wd-2fe21a7f,
	.wd-5b91211b
) {
	background: #ffffff !important;
	background-color: #ffffff !important;
}

/* =============================================================================
   SINGLE PRODUCT — summary / tabs on light canvas (pcp-light-pages + catalog)
   Root cause: pcp-tema-globale keeps --pcp-g-text-muted on .summary while
   light-pages sets dark title tokens → mixed light-on-light or dark-on-dark.
   ============================================================================= */
body.pcp-light-pages.single-product :is(
	.summary,
	.woocommerce-tabs,
	.woocommerce-Tabs-panel,
	.product-tabs-inner
) {
	--wd-text-color: #444444 !important;
	--wd-title-color: #1a1a1a !important;
	color: #444444 !important;
}

body.pcp-light-pages.single-product :is(
	.product_title,
	.entry-title.product_title,
	.summary :is(h1, h2, h3, h4),
	.woocommerce-Tabs-panel :is(h2, h3, h4),
	.summary .price .woocommerce-Price-amount,
	.summary .price .amount,
	.summary table.variations label,
	.woocommerce-product-attributes-item__label
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

body.pcp-light-pages.single-product :is(
	.summary .price ins .woocommerce-Price-amount,
	.summary .price ins .amount
) {
	color: var(--pcp-accent-sale, #dc2626) !important;
	-webkit-text-fill-color: var(--pcp-accent-sale, #dc2626) !important;
}

body.pcp-light-pages.single-product :is(
	.woocommerce-product-details__short-description,
	.woocommerce-Tabs-panel,
	.woocommerce-Tabs-panel p,
	.woocommerce-Tabs-panel li,
	.woocommerce-Tabs-panel td,
	.woocommerce-Tabs-panel th,
	.summary .woocommerce-product-details__short-description
) {
	color: #444444 !important;
	-webkit-text-fill-color: #444444 !important;
}

body.pcp-light-pages.single-product .woocommerce-tabs .tabs :is(li a, li.active a) {
	color: #666666 !important;
	-webkit-text-fill-color: #666666 !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;
}

/* =============================================================================
   SINGLE PRODUCT — Elementor description black panels → light canvas
   Root cause: product Elementor templates set background-color:#000000 on
   .e-con + WoodMart color-scheme-light (inverts tokens to dark panel).
   light-pages then forces dark title text → dark-on-black (Updated Design).
   Scope: description tabs / entry content only — not header/footer.
   ============================================================================= */
body.pcp-light-pages.single-product :is(
	#tab-description,
	.woocommerce-Tabs-panel--description,
	.woocommerce-Tabs-panel,
	.wc-tab-inner.wd-entry-content,
	.woocommerce-tabs .wd-entry-content
) {
	--bgcolor-white: #ffffff !important;
	--bgcolor-gray-100: #f7f7f7 !important;
	--bgcolor-gray-200: #f1f1f1 !important;
	--bgcolor-gray-300: #e5e7eb !important;
	--wd-main-bgcolor: #ffffff !important;
	--wd-text-color: #444444 !important;
	--wd-title-color: #1a1a1a !important;
	--wd-entities-title-color: #1a1a1a !important;
	--wd-link-color: #1a1a1a !important;
	--color-gray-800: #1a1a1a !important;
	--color-gray-900: #111111 !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,
	.woocommerce-tabs .wd-entry-content
) :is(
	.e-con,
	.e-con-boxed,
	.e-con-full,
	.elementor-section,
	.elementor-column,
	.elementor-widget-wrap,
	.elementor-element[class*="color-scheme-light"],
	[class*="color-scheme-light"]
) {
	--bgcolor-white: #ffffff !important;
	--bgcolor-gray-100: #f7f7f7 !important;
	--bgcolor-gray-200: #f1f1f1 !important;
	--wd-main-bgcolor: #ffffff !important;
	--wd-text-color: #444444 !important;
	--wd-title-color: #1a1a1a !important;
	--wd-entities-title-color: #1a1a1a !important;
	--wd-link-color: #1a1a1a !important;
	--color-white: #ffffff !important;
	--color-gray-800: #1a1a1a !important;
	--color-gray-900: #111111 !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,
	.woocommerce-tabs .wd-entry-content
) :is(
	.e-con,
	.e-con-boxed,
	.e-con-full,
	.elementor-section,
	.elementor-column,
	.elementor-element.e-con,
	.elementor-element[class*="color-scheme-light"],
	[class*="color-scheme-light"]
):not(.elementor-motion-effects-element-type-background),
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-motion-effects-container > .elementor-motion-effects-layer {
	background-color: #ffffff !important;
}

body.pcp-light-pages.single-product :is(
	#tab-description,
	.woocommerce-Tabs-panel--description,
	.woocommerce-Tabs-panel,
	.wc-tab-inner.wd-entry-content,
	.woocommerce-tabs .wd-entry-content
) :is(
	.woodmart-title-container,
	.title,
	.wd-text-block,
	.elementor-heading-title,
	.elementor-widget-text-editor,
	h1, h2, h3, h4, h5, h6,
	p, li, td, th, label
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !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
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

body.pcp-light-pages.single-product .summary :is(
	input[type="text"],
	input[type="number"],
	input[type="email"],
	textarea,
	select
):not([type="hidden"]) {
	background: #ffffff !important;
	border-color: #dde3ea !important;
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
	color-scheme: light;
}

/* =============================================================================
   CART / CHECKOUT / ACCOUNT — light canvas readability
   ============================================================================= */
body.pcp-light-pages:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(
	.entry-content,
	.wd-content-area,
	.woocommerce
) {
	color: #444444 !important;
}

body.pcp-light-pages:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(
	h1, h2, h3, h4,
	.entry-title,
	.cart_totals h2,
	.woocommerce-checkout h3,
	.woocommerce-MyAccount-navigation-link a
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

body.pcp-light-pages:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(
	.woocommerce table.shop_table,
	.woocommerce table.shop_table :is(th, td),
	.cart_totals,
	.woocommerce-checkout-review-order,
	.woocommerce-MyAccount-content
) {
	color: #444444 !important;
}

body.pcp-light-pages:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(
	.woocommerce table.shop_table .product-name a,
	.woocommerce table.shop_table .product-total,
	.order-total .amount
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

body.pcp-light-pages:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="number"],
	input[type="password"],
	input[type="url"],
	input[type="search"],
	textarea,
	select
):not([type="hidden"]) {
	background: #ffffff !important;
	border: 1px solid #e4e4e7 !important;
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
	color-scheme: light;
	opacity: 1 !important;
}

/* My Account — Edit account / password fields (explicit, wins token bleed) */
body.woocommerce-account :is(
	.woocommerce-EditAccountForm,
	form.edit-account,
	.woocommerce-MyAccount-content form
) {
	--wd-form-color: #0b0b0c !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;
}

body.woocommerce-account :is(
	.woocommerce-EditAccountForm,
	form.edit-account,
	.woocommerce-MyAccount-content form
) :is(
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="password"],
	input[type="number"],
	input.woocommerce-Input,
	textarea,
	select
):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]) {
	background: #ffffff !important;
	background-color: #ffffff !important;
	border: 1px solid #e4e4e7 !important;
	color: #0b0b0c !important;
	-webkit-text-fill-color: #0b0b0c !important;
	caret-color: #0b0b0c !important;
	box-shadow: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	color-scheme: light;
}

body.woocommerce-account :is(
	.woocommerce-EditAccountForm,
	form.edit-account,
	.woocommerce-MyAccount-content form
) :is(
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="password"],
	input[type="number"],
	input.woocommerce-Input,
	textarea,
	select
):not([type="hidden"]):focus {
	border-color: #1e40af !important;
	outline: 2px solid rgba(30, 64, 175, 0.28) !important;
	outline-offset: 1px;
}

body.woocommerce-account :is(
	.woocommerce-EditAccountForm,
	form.edit-account,
	.woocommerce-MyAccount-content form
) :is(
	button[type="submit"],
	.woocommerce-Button,
	button.button,
	input.button,
	button[name="save_account_details"]
) {
	background-color: var(--pcp-primary, #1e40af) !important;
	background: var(--pcp-primary, #1e40af) !important;
	border: 1px solid var(--pcp-primary, #1e40af) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	opacity: 1 !important;
	visibility: visible !important;
}

/* =============================================================================
   BADGES / LABELS — white text on colored backgrounds
   Root cause: pcp-light-pages + card contrast rules set dark text on spans;
   pcp-tema-globale sets .wd-product-label to muted shop color.
   Scope: sale/new/featured/promo badges only — NOT out-of-stock or attribute pills.
   ============================================================================= */
: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,
	.wd-product-label.hot,
	.product-labels .product-label:not(.out-of-stock):not(.attribute-label),
	.woocommerce span.onsale,
	.product-label .sale,
	.badge-sale,
	.pcp-home-products__badge,
	.pcp-home-products__badge--nuovo,
	.pcp-home-products__badge--promo,
	.pcp-home-products__badge--sale,
	.pcp-home-products__badge--hot,
	.pcp-nexus-badge,
	.pcp-nexus-badge--new,
	.pcp-nexus-badge--hot,
	.pcp-nexus-badge--sale,
	.pcp-catalog-toolbar__badge,
	.pcp-catalog-active-filters__chip
) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* NUOVO / PROMO / new / featured — dark blue background (sale/onsale stays red elsewhere) */
:is(
	.product-label.new,
	.product-label.featured,
	.product-label.hot,
	.wd-product-label.new,
	.wd-product-label.featured,
	.wd-product-label.hot,
	.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;
}

.pcp-home-products__badge--bestseller,
.pcp-home-products__badge--hot {
	background-color: #b45309 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* Out-of-stock / attribute pills — light bg, keep dark text */
:is(
	.product-label.out-of-stock,
	.product-label.attribute-label,
	.wd-product-label.out-of-stock
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

/* Dark header/toolbar buttons — white text */
:is(
	.pcp-catalog-toolbar__filters,
	.pcp-catalog-filters__header,
	.whb-top-bar,
	.whb-general-header .whb-color-dark
) :is(span, a, button, label):not([class*="__badge-count"]) {
	color: inherit;
}

body.pcp-catalog-active .pcp-catalog-toolbar__filters,
body.pcp-catalog-active .pcp-catalog-filters__header :is(h2, span, button, svg) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* =============================================================================
   STOCK STATUS TEXT — Disponibile green / Esaurito red (shop + single product)
   Scope: .stock / .wd-product-stock text only — NOT prices, buttons, badges.
   ============================================================================= */
:is(
	.woocommerce,
	.single-product,
	.woocommerce-shop,
	.post-type-archive-product,
	.tax-product_cat,
	.search
) :is(.stock.in-stock, .wd-product-stock.in-stock, p.stock.in-stock) {
	color: #16a34a !important;
	-webkit-text-fill-color: #16a34a !important;
}

:is(
	.woocommerce,
	.single-product,
	.woocommerce-shop,
	.post-type-archive-product,
	.tax-product_cat,
	.search
) :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 — NUCLEAR: single-product product cards = Negozio white
   v2.0.64 — colors match Negozio: black price, blue category, grey image zone
   Winning dark rules that still painted charcoal bottoms:
   1) body:not(.pcp-homepage…) .elementor-widget-wd_products .wd-product
      → --pcp-shop-card-bg:#2B2B2B (Elementor carousels titled e.g. POTREBBERO…)
   2) Elementor post CSS .elementor-XXXX .elementor-element-YYYY {background:#000}
      + WoodMart [class*=color-scheme-light] dark tokens on description.
   Scope: body.pcp-light-pages.single-product only — header/footer untouched.
   ============================================================================= */
body.pcp-light-pages.single-product {
	--pcp-shop-card-bg: #ffffff !important;
	--pcp-shop-card-text: #1a1a1a !important;
	--pcp-shop-card-muted: #444444 !important;
	--pcp-shop-card-subtle: #666666 !important;
	--bgcolor-white: #ffffff !important;
	--wd-prod-bg: #ffffff !important;
}

body.pcp-light-pages.single-product :is(
	.related-products,
	.upsells-products,
	.upsells,
	.cross-sells,
	.related-and-upsells,
	.elementor-widget-wd_products,
	.elementor-widget-wd_products_tabs,
	.wd-products-element,
	.wd-products,
	.products
) :is(
	.wd-product,
	.wd-product.wd-loop-item-2118,
	.product-grid-item,
	.wd-product-wrapper,
	.wd-entry-content.wd-product-wrapper,
	.wp-block-wd-container.wd-dir-col,
	.wp-block-wd-container.wd-dir-row,
	.wd-2fe21a7f,
	.wd-5b91211b,
	.product-element-bottom,
	.product-information
) {
	--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;
	--wd-link-color: #1a1a1a !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	color: #444444 !important;
}

body.pcp-light-pages.single-product :is(
	.related-products,
	.upsells-products,
	.elementor-widget-wd_products,
	.elementor-widget-wd_products_tabs,
	.wd-products-element,
	.related-and-upsells
) :is(
	.wd-entities-title,
	.wd-entities-title a,
	.wd-loop-prod-title,
	.wd-loop-prod-title a,
	.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 :is(
	.related-products,
	.upsells-products,
	.elementor-widget-wd_products,
	.elementor-widget-wd_products_tabs,
	.wd-products-element,
	.related-and-upsells
) :is(
	.price,
	.price .woocommerce-Price-amount,
	.price .amount,
	.price ins .woocommerce-Price-amount
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

body.pcp-light-pages.single-product :is(
	.related-products,
	.upsells-products,
	.elementor-widget-wd_products,
	.elementor-widget-wd_products_tabs,
	.wd-products-element,
	.related-and-upsells
) :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 :is(
	.related-products,
	.upsells-products,
	.elementor-widget-wd_products,
	.elementor-widget-wd_products_tabs,
	.wd-products-element,
	.related-and-upsells
) :is(
	.price del,
	.price del .woocommerce-Price-amount
) {
	color: #666666 !important;
	-webkit-text-fill-color: #666666 !important;
}

/* Image zone: light grey like Negozio (loop-builder thumbs) */
body.pcp-light-pages.single-product :is(
	.related-products,
	.upsells-products,
	.elementor-widget-wd_products,
	.elementor-widget-wd_products_tabs,
	.wd-products-element,
	.related-and-upsells
) .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: beat Elementor post-XXXX.css background-color:#000000 */
body.pcp-light-pages.single-product #tab-description .elementor .e-con,
body.pcp-light-pages.single-product #tab-description .elementor .elementor-element.e-con,
body.pcp-light-pages.single-product #tab-description .elementor .elementor-element[class*="color-scheme-light"],
body.pcp-light-pages.single-product .woocommerce-Tabs-panel .elementor .e-con,
body.pcp-light-pages.single-product .woocommerce-Tabs-panel .elementor .elementor-element.e-con,
body.pcp-light-pages.single-product .wc-tab-inner .elementor .e-con,
body.pcp-light-pages.single-product .elementor .elementor-element-8610603,
body.pcp-light-pages.single-product .elementor .elementor-element-8610603:not(.elementor-motion-effects-element-type-background),
body.pcp-light-pages.single-product .elementor-31496 .elementor-element.elementor-element-8610603,
body.pcp-light-pages.single-product .elementor-31496 .elementor-element.elementor-element-8610603:not(.elementor-motion-effects-element-type-background) {
	--bgcolor-white: #ffffff !important;
	--wd-main-bgcolor: #ffffff !important;
	--wd-text-color: #444444 !important;
	--wd-title-color: #1a1a1a !important;
	--color-gray-800: #1a1a1a !important;
	--color-gray-900: #111111 !important;
	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, h5, h6,
	p, li, span
):not(.elementor-button-text):not(.wd-action-text) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

/* =============================================================================
   CART / CHECKOUT — "Potrebbero interessarti" / cross-sells / related
   Stesse card bianche del negozio (non antracite). Titoli blu scuro, prezzi neri.
   Root cause: tema-globale scurisce .wd-loop-builder-on; il fix bianco era
   solo su body.single-product.
   ============================================================================= */
body:is(.woocommerce-cart, .woocommerce-checkout):not(.pcp-catalog-active) :is(
	.cross-sells,
	.related-products,
	.upsells-products,
	.upsells,
	.related.products,
	.woocommerce .related.products,
	.cart-collaterals .cross-sells,
	.wd-carousel-container .wd-products.wd-loop-builder-on,
	.wd-products.wd-loop-builder-on
) :is(
	.wd-product,
	.product-grid-item,
	ul.products li.product,
	.wd-product-wrapper,
	.wd-product .product-wrapper,
	.wd-product .product-element-bottom,
	.wd-product .product-information,
	.wd-product .wd-dir-col,
	.wd-product .wd-dir-row,
	.wd-product .wrap-price
),
.cart-widget-side :is(
	.cross-sells,
	.related-products,
	.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;
	--pcp-shop-card-text: #1a1a1a !important;
	--pcp-shop-card-muted: #444444 !important;
	--pcp-shop-card-subtle: #666666 !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;
	--wd-entities-title-color-hover: var(--pcp-primary, #1e40af) !important;
	--wd-link-color: #1a1a1a !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	border-color: #ececec !important;
	color: #444444 !important;
}

body: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-products.wd-loop-builder-on
) :is(
	.wd-product .wd-entities-title,
	.wd-product .wd-entities-title a,
	.wd-product .woocommerce-loop-product__title,
	.wd-product .product-title,
	.wd-product .wd-loop-prod-title,
	.wd-product .wd-loop-prod-title a,
	.wd-product .wd-product-cats,
	.wd-product .wd-product-cats a,
	.product-grid-item .wd-entities-title a
),
.cart-widget-side :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: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-products.wd-loop-builder-on
) :is(
	.wd-product .price,
	.wd-product .price .woocommerce-Price-amount,
	.wd-product .price .amount,
	.wd-product .price ins .woocommerce-Price-amount,
	.product-grid-item .price .woocommerce-Price-amount
),
.cart-widget-side :is(
	.wd-product .price .woocommerce-Price-amount,
	.wd-product .price .amount
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

body: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-products.wd-loop-builder-on
) .wd-product :is(
	.wd-loop-prod-thumb,
	.wd-product-thumb,
	.product-element-top,
	.product-image-link,
	.wd-product-img-link
),
.cart-widget-side .wd-product :is(
	.wd-loop-prod-thumb,
	.wd-product-thumb,
	.product-element-top,
	.product-image-link
) {
	background: #ffffff !important;
	background-color: #ffffff !important;
}

/* Pulsanti blu/accent — testo sempre bianco (anti “blu + nero”) */
:is(
	.button.btn-accented,
	.wd-btn.btn-accented,
	.create-account-button,
	a.create-account-button,
	.woocommerce .button.alt,
	.single_add_to_cart_button,
	button.button.alt,
	.wp-element-button
):not(.wd-action-btn):not(.product-label) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* =============================================================================
   v2.0.86 — Card tokens on light surfaces + Woodmart custom labels (Bestseller)
   Root cause: pcp-tema-globale keeps --pcp-shop-card-text:#F5F5F5 (for anthracite
   cards). On catalog / related / cart white cards that token paints near-white
   titles on white → unreadable. Reset tokens on light card contexts only.
   Custom labels: generated xts-blocks-*.css can 404; without it charcoal pill +
   white "Bestseller"/HOT text inherit dark card text and vanish. Do NOT restyle
   homepage pcp-home-products badges here.
   ============================================================================= */
body.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;
}

/* Shop/catalog titles+prices: never light-on-white when catalog is active */
body.pcp-catalog-active:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat, .search) :is(
	.wd-product .wd-entities-title a,
	.wd-product .wd-loop-prod-title a,
	.wd-product .price,
	.wd-product .price .woocommerce-Price-amount,
	.product-grid-item .wd-entities-title a,
	.product-grid-item .price .woocommerce-Price-amount
) {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

body.pcp-catalog-active:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat, .search) :is(
	.wd-product .wd-product-cats,
	.wd-product .wd-product-cats a,
	.wd-product .price del .woocommerce-Price-amount
) {
	color: #666666 !important;
	-webkit-text-fill-color: #666666 !important;
}

/* Woodmart .wd-custom-label — keep trophy/fire badges readable */
.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;
	max-width: fit-content !important;
	gap: 5px !important;
	padding: 5px 10px !important;
	border-radius: 15px !important;
	background-color: #414141 !important;
	background-image: none !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	overflow: hidden !important;
	z-index: 5 !important;
	pointer-events: none !important;
}

/* Hot 1 (fire) — slightly darker charcoal */
.wd-custom-label.wd-label-31644 {
	background-color: #2a2626 !important;
	border-radius: 18px !important;
	padding: 8px 10px !important;
}

/* Bestseller (trophy) */
.wd-custom-label.wd-label-31642 {
	background-color: #414141 !important;
	border-radius: 15px !important;
}

.product-labels .wd-custom-label :is(
	.wp-block-wd-paragraph,
	.wp-block-paragraph,
	p,
	span
),
.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;
	line-height: 1 !important;
	font-size: 14px !important;
	background: transparent !important;
	background-color: transparent !important;
}

.product-labels .wd-custom-label :is(img, .wp-block-wd-icon img),
.wd-custom-label :is(img, .wp-block-wd-icon img) {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 12px !important;
	height: 12px !important;
	max-width: 16px !important;
	object-fit: contain !important;
	background: transparent !important;
}

/* Do not let blue badge rules wipe custom / image labels */
.product-labels .wd-custom-label.product-label,
.wd-custom-label.product-label {
	background-color: #414141 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}
