/**
 * DPS.MEDIA - Self-Hosted Google Sans Variable Typography & Global Font Unification
 * Zero external Google Fonts HTTP requests. Local WOFF2 variable fonts (wght 400..700).
 *
 * @package Haptic
 * @version 6.3.9
 */

/* =========================================================================
   1. SELF-HOSTED @FONT-FACE DECLARATIONS (Google Sans v76 Variable WOFF2)
   ========================================================================= */

/* vietnamese italic */
@font-face {
    font-family: 'Google Sans';
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/google-sans/google-sans-italic-vietnamese.woff2') format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext italic */
@font-face {
    font-family: 'Google Sans';
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/google-sans/google-sans-italic-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin italic */
@font-face {
    font-family: 'Google Sans';
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/google-sans/google-sans-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* vietnamese normal */
@font-face {
    font-family: 'Google Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/google-sans/google-sans-vietnamese.woff2') format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext normal */
@font-face {
    font-family: 'Google Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/google-sans/google-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin normal */
@font-face {
    font-family: 'Google Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/google-sans/google-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================================
   2. GLOBAL CSS CUSTOM PROPERTY TOKENS (Theme, Bootstrap, Elementor, GF)
   ========================================================================= */
:root,
.elementor-kit-7,
[class*="elementor-kit-"] {
    --dps-font-main: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --dps-ft-font-main: var(--dps-font-main);
    --dps-ft-font-mono: var(--dps-font-main);

    --heading: var(--dps-font-main);
    --heading-2: var(--dps-font-main);
    --heading-3: var(--dps-font-main);
    --heading2: var(--dps-font-main);
    --body-font: var(--dps-font-main);
    --hap-heading: var(--dps-font-main);
    --recoleta: var(--dps-font-main);
    --kanit: var(--dps-font-main);
    --inter: var(--dps-font-main);

    --bs-font-sans-serif: var(--dps-font-main);
    --bs-body-font-family: var(--dps-font-main);

    --e-global-typography-primary-font-family: 'Google Sans', sans-serif;
    --e-global-typography-secondary-font-family: 'Google Sans', sans-serif;
    --e-global-typography-text-font-family: 'Google Sans', sans-serif;
    --e-global-typography-accent-font-family: 'Google Sans', sans-serif;

    --gf-font-family-primary: var(--dps-font-main);
    --gf-font-family-secondary: var(--dps-font-main);
    --gf-font-family-tertiary: var(--dps-font-main);
    --gf-font-family-base: var(--dps-font-main);
    --gf-ctrl-font-family: var(--dps-font-main);
    --gf-ctrl-label-font-family-primary: var(--dps-font-main);
    --gf-ctrl-label-font-family-req: var(--dps-font-main);
    --gf-ctrl-placeholder-font-family: var(--dps-font-main);
    --gf-ctrl-desc-font-family: var(--dps-font-main);
    --gf-ctrl-btn-font-family: var(--dps-font-main);
    --gf-form-validation-font-family: var(--dps-font-main);
    --gf-local-font-family: var(--dps-font-main);
}

/* =========================================================================
   3. BASE DOCUMENT & ANTI-FAUX-BOLD SYNTHESIS
   ========================================================================= */
html,
body {
    font-family: var(--dps-font-main) !important;
    font-synthesis-weight: none;
}

/* =========================================================================
   4. GLOBAL TYPOGRAPHY CASCADE OVERRIDE (Beats Elementor, Codestar, UseAnyFont)
   Note: Never targets ::before/::after; never uses [class*="icon-"] so
   .elementor-icon-box-title and similar widgets receive Google Sans safely.
   ========================================================================= */
html body > :not(#wpadminbar),
html body > :not(#wpadminbar) *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not(.fat):not(.fa6-solid):not([class*="fa-"]):not([class*="fa6-"]):not([class*="flaticon"]):not([class*="eicon"]):not(.dashicons):not(.dashicons-before):not(.ab-icon):not([class*="gform-icon"]):not([class*="wpsr-icon"]):not([class^="icon-"]):not([class*=" icon-"]):not([data-icon]):not(.swiper-button-next):not(.swiper-button-prev):not(code):not(pre):not(kbd):not(samp) {
    font-family: var(--dps-font-main) !important;
}

html body .elementor-kit-7 a,
html body .elementor-kit-7 h1,
html body .elementor-kit-7 h2,
html body .elementor-kit-7 h3,
html body .elementor-kit-7 h4,
html body .elementor-kit-7 h5,
html body .elementor-kit-7 h6,
html body .elementor-heading-title,
html body .elementor-widget-text-editor,
html body .elementor-icon-box-title,
html body .elementor-icon-box-title a,
html body .elementor-icon-box-description,
html body .elementor-button,
html body .elementor-icon-list-text,
html body .hap-service-item .service-title h3,
html body .hap-service-item .service-title span,
html body .alexandria,
html body .svn-gilroy-bold,
html body .svn-gilroy-regular,
html body .upright-regular,
html body #menu-mobile-menu li a,
html body #menu-mobile-menu li span,
html body .menu-onepage-menu-container li a,
html body .menu-onepage-menu-container li span,
html body #menu-onepage-menu li a,
html body #menu-onepage-menu li span {
    font-family: var(--dps-font-main) !important;
}

/* Protect code/monospace elements */
html body code,
html body pre,
html body kbd,
html body samp {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
}
