/* Font paths are relative to where BigCommerce serves this file, which is
   <theme-asset-root>/vendor/webfonts/webfonts.css -- the contents of the repo's
   assets/ directory are served AT that root, with no "assets" segment of their
   own. So assets/fonts/... is reached as ../../fonts/..., two levels up.

   It read ../../../assets/fonts/... and every face 404'd on production: three
   levels up overshoots the asset root, and the extra "assets" segment does not
   exist there. Verified against the live CDN:
     404  /stencil/<a>/e/assets/fonts/web-font/sofiaPro/SofiaProBold.woff2
     200  /stencil/<a>/e/<b>/fonts/web-font/sofiaPro/SofiaProBold.woff2
   The files were in the theme and in the bundle the whole time. */
@font-face {
    font-family: "SofiaPro";
    src: url('../../fonts/web-font/sofiaPro/SofiaProExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SofiaPro";
    src: url('../../fonts/web-font/sofiaPro/SofiaProExtraLightItalic.woff2') format('woff2');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "SofiaPro";
    src: url('../../fonts/web-font/sofiaPro/SofiaProLightItalic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "SofiaPro";
    src: url('../../fonts/web-font/sofiaPro/SofiaProRegular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SofiaPro";
    src: url('../../fonts/web-font/sofiaPro/SofiaProRegularItalic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "SofiaPro";
    src: url('../../fonts/web-font/sofiaPro/SofiaProMedium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SofiaPro";
    src: url('../../fonts/web-font/sofiaPro/SofiaProMediumItalic.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "SofiaPro";
    src: url('../../fonts/web-font/sofiaPro/SofiaProSemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SofiaPro";
    src: url('../../fonts/web-font/sofiaPro/SofiaProSemiBoldItalic.woff2') format('woff2');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "SofiaPro";
    src: url('../../fonts/web-font/sofiaPro/SofiaProBold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SofiaPro";
    src: url('../../fonts/web-font/sofiaPro/SofiaProBoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "SofiaPro";
    src: url('../../fonts/web-font/sofiaPro/SofiaProBlack.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SofiaPro";
    src: url('../../fonts/web-font/sofiaPro/SofiaProBlackItalic.woff2') format('woff2');
    /* 900, not 200. It read 200, which is ExtraLightItalic's weight, so the two
       faces had identical descriptors: the browser was free to paint the black
       italic where a 200 italic was asked for, and had to synthesise an oblique
       for 900 italic because no face claimed it. Harmless while every URL
       404'd; live the moment they resolve. Audited all thirteen faces, this was
       the only one. */
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}
