/* =====================================================================
   Store fonts — ONE file for every storefront theme.
   Linked by each theme's layouts (master, master-top, no-nav-master)
   right after the theme's own sky-bold.css, so these rules win.

   The merchant picks a font in Admin › AI web › Fonts; the name is saved in
   channels.font and printed by the theme as  --font-main: <name>;
   no choice → the theme's own fallback: sky-bold (main) / sky (secondary) on most themes.
   so each font-family below must match a name in Core::fonts() exactly.

   To add a font:
     1. put the file in public/fonts/store/        (woff2 > woff > ttf/otf)
     2. add an @font-face block below               (font-family = the name)
     3. add the name to Core::fonts()               (packages/Webkul/Core/src/Core.php)
     4. add a preview: public/images/fonts/<name>.svg
   Chrome rejects a font? re-save it as .woff2 (fontTools, drop the DSIG table) — that is how the
   STC files were fixed.
   Latin-only font? add a second block with the same name pointing at an
   Arabic font + unicode-range (see "oration") so Arabic text doesn't fall
   back to the browser's serif.
   ===================================================================== */

@font-face { font-family: "sky";                src: url("store/sky.woff") format("woff");                font-display: swap; }
@font-face { font-family: "sky-bold";           src: url("store/sky-bold.woff") format("woff");           font-display: swap; }
@font-face { font-family: "qalaah-font";        src: url("store/qalaah-font.woff") format("woff");        font-display: swap; }
@font-face { font-family: "Qimma-Regular";      src: url("store/Qimma-Regular.woff") format("woff");      font-display: swap; }
@font-face { font-family: "Line-Kovianda";      src: url("store/Line-Kovianda.woff") format("woff");      font-display: swap; }
@font-face { font-family: "Elgharib-FS-Africa"; src: url("store/Elgharib-FS-Africa.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Battekh-Solid";      src: url("store/Battekh-Solid.woff") format("woff");      font-display: swap; }
@font-face { font-family: "STC-Regular";        src: url("store/STC-Regular.woff2") format("woff2");     font-display: swap; }
@font-face { font-family: "STC-Bold";           src: url("store/STC-Bold.woff2") format("woff2");        font-display: swap; }
@font-face { font-family: "STC-Light";          src: url("store/STC-Light.woff2") format("woff2");       font-display: swap; }
/* Tajawal — real weights, so bold text isn't faked */
@font-face { font-family: "Tajawal-Regular"; src: url("store/Tajawal-Light.woff2") format("woff2");     font-weight: 300; font-display: swap; }
@font-face { font-family: "Tajawal-Regular"; src: url("store/Tajawal-Regular.woff2") format("woff2");   font-weight: 400; font-display: swap; }
@font-face { font-family: "Tajawal-Regular"; src: url("store/Tajawal-Medium.woff2") format("woff2");    font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Tajawal-Regular"; src: url("store/Tajawal-Bold.woff2") format("woff2");      font-weight: 700; font-display: swap; }
@font-face { font-family: "Tajawal-Regular"; src: url("store/Tajawal-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Tajawal-Regular"; src: url("store/Tajawal-Black.woff2") format("woff2");     font-weight: 900; font-display: swap; }

/* Alexandria — variable font, one file covers weights 100–900 */
@font-face { font-family: "Alexandria"; src: url("store/Alexandria.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* Cairo — Google Fonts v31 variable font, split by script; weights 400–900 */
@font-face {
    font-family: "Cairo"; font-style: normal; font-weight: 400 900; font-display: swap;
    src: url("store/Cairo-arabic.woff2") format("woff2");
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EEFF;
}
@font-face {
    font-family: "Cairo"; font-style: normal; font-weight: 400 900; font-display: swap;
    src: url("store/Cairo-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Cairo"; font-style: normal; font-weight: 400 900; font-display: swap;
    src: url("store/Cairo-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;
}

/* Oration has Latin letters and digits only — Arabic text in the same family uses Tajawal */
@font-face { font-family: "oration"; src: url("store/oration.otf") format("opentype"); font-display: swap; }
@font-face {
    font-family: "oration";
    src: url("store/Tajawal-Regular.woff2") format("woff2");
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
    font-display: swap;
}
