/*!
 * Self-hosted web fonts for Enjaz theme (Envato compliant — no CDN).
 * Families: Afacad (headings), Figtree (body), Kaushan Script (script accents).
 * woff2 variable fonts, latin subset. Source: Google Fonts, downloaded locally.
 */

/* Afacad — headings */
@font-face {
    font-family: 'Afacad';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/afacad/afacad-normal-400_700.woff2') format('woff2');
}

@font-face {
    font-family: 'Afacad';
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/afacad/afacad-italic-400_700.woff2') format('woff2');
}

/* Figtree — body */
@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url('../fonts/figtree/figtree-normal-300_900.woff2') format('woff2');
}

@font-face {
    font-family: 'Figtree';
    font-style: italic;
    font-weight: 300 900;
    font-display: swap;
    src: url('../fonts/figtree/figtree-italic-300_900.woff2') format('woff2');
}

/* Kaushan Script — decorative accents */
@font-face {
    font-family: 'Kaushan Script';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/kaushan-script/kaushan-normal-400.woff2') format('woff2');
}

/* IBM Plex Arabic — the primary font for the Arabic storefront. */
@font-face {
    font-family: 'IBM Plex Arabic';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/ibm-plex-arabic/ibm-plex-arabic-300.woff2') format('woff2');
}

@font-face {
    font-family: 'IBM Plex Arabic';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/ibm-plex-arabic/ibm-plex-arabic-400.woff2') format('woff2');
}

@font-face {
    font-family: 'IBM Plex Arabic';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/ibm-plex-arabic/ibm-plex-arabic-500.woff2') format('woff2');
}

@font-face {
    font-family: 'IBM Plex Arabic';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/ibm-plex-arabic/ibm-plex-arabic-600.woff2') format('woff2');
}

@font-face {
    font-family: 'IBM Plex Arabic';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/ibm-plex-arabic/ibm-plex-arabic-700.woff2') format('woff2');
}

/* IBM Plex Arabic supports both Arabic and Latin text on the storefront. */
html:root {
    --bs-font-sans-serif: 'IBM Plex Arabic', sans-serif;
    --bs-body-font-family: 'IBM Plex Arabic', sans-serif;
    --bs-btn-font-family: 'IBM Plex Arabic', sans-serif;
}

html body,
html button,
html input,
html select,
html textarea {
    font-family: 'IBM Plex Arabic', sans-serif;
}

html h1,
html h2,
html h3,
html h4,
html h5,
html h6 {
    font-family: 'IBM Plex Arabic', sans-serif;
}
