/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
/* Slide In From The Top Option */

.header-2 {
 transform: translatey(-80px);
 -moz-transition: all .3s ease!important;
 -webkit-transition: all .3s ease!important;
 transition: all .3s ease!important;
}


.elementor-sticky--effects.header-2  {
 height: auto!important;
 transform: translatey(0px);
}

.elementor-sticky--effects.header-1 {
 display: none!important;
}

/* End Of Slide In From The Top Option */


/* ============================================================
   FIX DEFECTO 7 (build 637) — WooCommerce sobre fondo blanco.
   CAUSA RAIZ: el Kit de Elementor (post 7, Ajustes del sitio)
   pinta TODO el body de blanco: color de texto del cuerpo
   #FFFFFF (global "Blanco" 45b4516) y H1 #FFFFFF a 110px
   (tipografía global "H1 Título Header" 82a148c). Esos blancos
   están pensados para las secciones oscuras del sitio, pero las
   fichas de producto, la tienda, el carrito, el checkout y
   Mi cuenta NO tienen plantilla de Elementor: se muestran sobre
   fondo blanco y heredan ese texto blanco, así que el título,
   la descripción corta, la línea "SKU:" y el cuerpo de la
   pestaña Description quedan invisibles (el precio sí se ve
   porque WooCommerce le pone su propio color). El H1 a 110px
   además empujaba el precio ~600px hacia abajo.
   La familia "Tienda — Texto #F2F3F5" NO es la culpable: la
   auditoría muestra que nunca se usa en ningún post.
   NO se toca el kit: poner el cuerpo en oscuro rompería todo
   el sitio oscuro (la home y las páginas de servicio viven de
   ese blanco heredado). Esta corrección oscurece el texto SOLO
   dentro del contenido de WooCommerce (dentro de .site-main);
   el header y el footer de Elementor quedan fuera y siguen
   blancos como antes.
   ============================================================ */
body.woocommerce-page .site-main {
	color: #262626;
}
body.woocommerce-page .site-main h1,
body.woocommerce-page .site-main h1.product_title,
body.woocommerce-page .site-main h1.entry-title,
body.woocommerce-page .site-main .woocommerce-products-header__title {
	color: #0D1821;
	font-size: 34px;
	line-height: 1.2;
}
@media (max-width: 767px) {
	body.woocommerce-page .site-main h1,
	body.woocommerce-page .site-main h1.product_title,
	body.woocommerce-page .site-main h1.entry-title,
	body.woocommerce-page .site-main .woocommerce-products-header__title {
		font-size: 28px;
	}
}


add_action('wp_enqueue_scripts', function () {
    wp_dequeue_script('wp-pointer');
    wp_dequeue_style('wp-pointer');
}, 100);
