/**
 * Tokens globales Chañar: sustituye blanco puro por “false white” en un solo lugar.
 * Los demás CSS del child pueden usar var(--chaniar-false-white).
 *
 * Fondos/bordes/svg: blanco puro → false-white. El color de texto inline no se toca (evita crema sobre crema).
 * Ese archivo debe cargar ANTES que este: ver dependencias en functions.php (priority 2000).
 */
:root {
	--chaniar-false-white: #f7f6f3;
	--chaniar-false-white-rgb: 247, 246, 243;
	/* Texto sobre fondos claros (no sustituye al blanco en héroes oscuros). */
	--chaniar-false-black: #252320;
	/*
	 * Acento de marca (verde tipo WhatsApp): no usar --e-global-color-primary aquí — en el kit suele ser color de texto (oscuro).
	 * Flechas CTA del hero: hero-slider-fix.css usa var(--chaniar-brand-accent).
	 * Familia WhatsApp (#25D366), un tono más oscuro para contraste en barra y botones.
	 * FAB «Menú» y menú móvil WPR: mismo token para coherencia con ítem activo / reserva.
	 */
	--chaniar-brand-accent: #157f42;
	/* Superficie única del pie (Rife #footer / .foot-items + Elementor oscuro) */
	--chaniar-footer-surface: #1b1b1b;
	/* Título/texto claro sobre foto (sin recuadro): legibilidad por sombra. */
	--chaniar-hero-text-shadow:
		0 1px 2px rgba(0, 0, 0, 0.92), 0 2px 16px rgba(0, 0, 0, 0.7), 0 4px 36px rgba(0, 0, 0, 0.45);
	/* Párrafo del slider: más denso que el título (trazos finos sobre zonas muy claras). */
	--chaniar-hero-excerpt-shadow:
		0 1px 1px rgba(0, 0, 0, 0.95), 0 2px 12px rgba(0, 0, 0, 0.88), 0 4px 28px rgba(0, 0, 0, 0.72),
		0 8px 56px rgba(0, 0, 0, 0.55);
}

/* Base: evita “flash” de blanco en body y envoltorios típicos del tema */
body,
body.elementor-page,
#wrapper,
#page,
.site,
#content,
.site-content {
	background-color: var(--chaniar-false-white) !important;
}

/* Presets de color de WordPress/Gutenberg */
.has-white-background-color {
	background-color: var(--chaniar-false-white) !important;
}

/*
 * No forzar color de texto inline #fff → false-white: el crema coincide con el fondo del sitio
 * y deja títulos/párrafos ilegibles. El blanco en héroes oscuros debe seguir siendo claro.
 *
 * Reemplazo global de blanco puro en estilos inline: fondo, borde e íconos SVG (no color:).
 */
[style*="background-color:#fff"],
[style*="background-color: #fff"],
[style*="background-color:#FFF"],
[style*="background-color: #FFF"],
[style*="background-color:white"],
[style*="background-color: white"],
[style*="background-color:#ffffff"],
[style*="background-color: #ffffff"],
[style*="background-color:#FFFFFF"],
[style*="background-color: #FFFFFF"],
[style*="background-color:rgb(255,255,255)"],
[style*="background-color: rgb(255,255,255)"],
[style*="background-color:rgb(255, 255, 255)"],
[style*="background-color: rgb(255, 255, 255)"] {
	background-color: var(--chaniar-false-white) !important;
}

[style*="background:#fff;"],
[style*="background: #fff;"],
[style*="background:#FFF;"],
[style*="background: #FFF;"],
[style*="background:white;"],
[style*="background: white;"],
[style*="background:#ffffff;"],
[style*="background: #ffffff;"],
[style*="background:#FFFFFF;"],
[style*="background: #FFFFFF;"],
[style*="background:rgb(255,255,255);"],
[style*="background: rgb(255,255,255);"],
[style*="background:rgb(255, 255, 255);"],
[style*="background: rgb(255, 255, 255);"] {
	background-color: var(--chaniar-false-white) !important;
}

[style*="border-color:#fff"],
[style*="border-color: #fff"],
[style*="border-color:#FFF"],
[style*="border-color: #FFF"],
[style*="border-color:white"],
[style*="border-color: white"],
[style*="border-color:#ffffff"],
[style*="border-color: #ffffff"],
[style*="border-color:#FFFFFF"],
[style*="border-color: #FFFFFF"],
[style*="border-color:rgb(255,255,255)"],
[style*="border-color: rgb(255,255,255)"],
[style*="border-color:rgb(255, 255, 255)"],
[style*="border-color: rgb(255, 255, 255)"] {
	border-color: var(--chaniar-false-white) !important;
}

[style*="fill:#fff"],
[style*="fill: #fff"],
[style*="fill:#FFF"],
[style*="fill: #FFF"],
[style*="fill:white"],
[style*="fill: white"],
[style*="fill:#ffffff"],
[style*="fill: #ffffff"],
[style*="fill:#FFFFFF"],
[style*="fill: #FFFFFF"],
[style*="fill:rgb(255,255,255)"],
[style*="fill: rgb(255,255,255)"],
[style*="fill:rgb(255, 255, 255)"],
[style*="fill: rgb(255, 255, 255)"] {
	fill: var(--chaniar-false-white) !important;
}

[style*="stroke:#fff"],
[style*="stroke: #fff"],
[style*="stroke:#FFF"],
[style*="stroke: #FFF"],
[style*="stroke:white"],
[style*="stroke: white"],
[style*="stroke:#ffffff"],
[style*="stroke: #ffffff"],
[style*="stroke:#FFFFFF"],
[style*="stroke: #FFFFFF"],
[style*="stroke:rgb(255,255,255)"],
[style*="stroke: rgb(255,255,255)"],
[style*="stroke:rgb(255, 255, 255)"],
[style*="stroke: rgb(255, 255, 255)"] {
	stroke: var(--chaniar-false-white) !important;
}

/*
 * Pie / textos Elementor en #fff: ver assets/chaniar-tokens-late.css (wp_footer, alta especificidad).
 */
