/*
 Theme Name:   Aigency Child
 Description:  Aigency Child Theme
 Theme URI:	   https://demo.artureanec.com/themes/aigency
 Author:       Artureanec
 Author URI:   https://demo.artureanec.com
 Template:     aigency
 Version:      1.0.0
 License: GNU  General Public License version 3.0
 License URI:  http://www.gnu.org/licenses/gpl-3.0.html
 Text Domain:  aigency-child
*/

/* =Theme customization starts here
------------------------------------------------------- */
/* =========================
   1) Cargar Garet Book
========================= */
@font-face{
  font-family: "Garet";
  src: url("/wp-content/themes/aigency-child/assets/fonts/garet-book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =========================
   2) Setear headings del theme (variables)
   - Esto es lo más “correcto” para Aigency
========================= */
:root{
  --aigency-h1-font-family: "Garet", var(--aigency-body-font-family, "Montserrat"), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --aigency-h2-font-family: "Garet", var(--aigency-body-font-family, "Montserrat"), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --aigency-h3-font-family: "Garet", var(--aigency-body-font-family, "Montserrat"), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --aigency-h4-font-family: "Garet", var(--aigency-body-font-family, "Montserrat"), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --aigency-h5-font-family: "Garet", var(--aigency-body-font-family, "Montserrat"), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --aigency-h6-font-family: "Garet", var(--aigency-body-font-family, "Montserrat"), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Opcional: si el theme usa weight por variable */
  --aigency-h1-font-weight: 400;
  --aigency-h2-font-weight: 400;
  --aigency-h3-font-weight: 400;
  --aigency-h4-font-weight: 400;
  --aigency-h5-font-weight: 400;
  --aigency-h6-font-weight: 400;
}

/* =========================
   3) “Cinturón y tiradores”:
   Elementor a veces pisa con reglas propias.
   Esto fuerza headings y widgets típicos.
========================= */
h1,h2,h3,h4,h5,h6,
.elementor-heading-title,
.elementor-widget-heading .elementor-heading-title{
  font-family: "Garet", var(--aigency-body-font-family, "Montserrat"), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-weight: 400 !important;
}