/* Self-hosted Roboto Condensed (no Google Fonts CDN) */

/* Metric-matched fallback so the swap to Roboto Condensed shifts less. */
@font-face {
  font-family: "Roboto Condensed Fallback";
  font-style: normal;
  font-weight: 400;
  src: local("Arial");
  size-adjust: 86.5%;
  ascent-override: 93%;
  descent-override: 24%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Roboto Condensed Fallback";
  font-style: normal;
  font-weight: 700;
  src: local("Arial Bold"), local("Arial");
  size-adjust: 86.5%;
  ascent-override: 93%;
  descent-override: 24%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/roboto-condensed-latin-ext-400-normal.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: "Roboto Condensed";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/roboto-condensed-latin-400-normal.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;
}

@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/roboto-condensed-latin-ext-700-normal.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: "Roboto Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/roboto-condensed-latin-700-normal.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;
}

html,
body,
#snackys-tpl {
  font-family: var(--font-family-base) !important;
  font-weight: var(--font-weight-regular);
}

/* Force Roboto Condensed on all theme nodes. Do not set inherit on #snackys-tpl
   itself — html has no parent, so inherit would fall back to Times. */
#snackys-tpl *:not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not([class^="fa-"]):not([class*=" fa-"]),
#snackys-tpl *:not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not([class^="fa-"]):not([class*=" fa-"])::before,
#snackys-tpl *:not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not([class^="fa-"]):not([class*=" fa-"])::after {
  font-family: inherit;
}

#snackys-tpl h1,
#snackys-tpl .h1,
#snackys-tpl h2,
#snackys-tpl .h2,
#snackys-tpl h3,
#snackys-tpl .h3,
#snackys-tpl h4,
#snackys-tpl .h4,
#snackys-tpl h5,
#snackys-tpl .h5,
#snackys-tpl h6,
#snackys-tpl .h6,
#snackys-tpl .panel-title,
#snackys-tpl .panel-heading,
#snackys-tpl legend,
#snackys-tpl button,
#snackys-tpl input,
#snackys-tpl select,
#snackys-tpl textarea,
#snackys-tpl .btn,
#snackys-tpl .form-control,
#snackys-tpl .dropdown-menu,
#snackys-tpl .nav,
#snackys-tpl .navbar,
#snackys-tpl label,
#snackys-tpl a,
#snackys-tpl p,
#snackys-tpl span,
#snackys-tpl strong,
#snackys-tpl b,
#snackys-tpl em,
#snackys-tpl small,
#snackys-tpl .price,
#snackys-tpl .price_wrapper,
#snackys-tpl .price-note {
  font-family: var(--font-family-base);
}

/* Icon fonts must keep their own family */
#snackys-tpl .fa,
#snackys-tpl .fas,
#snackys-tpl .far,
#snackys-tpl .fal,
#snackys-tpl .fab,
#snackys-tpl [class^="fa-"],
#snackys-tpl [class*=" fa-"],
#snackys-tpl .fa::before,
#snackys-tpl .fas::before,
#snackys-tpl .far::before,
#snackys-tpl .fal::before,
#snackys-tpl .fab::before,
#snackys-tpl [class^="fa-"]::before,
#snackys-tpl [class*=" fa-"]::before,
#snackys-tpl .to-footer__category-content h2::before,
#snackys-tpl .to-footer__category-content h3::before,
#snackys-tpl .to-footer__category-content h4::before,
#snackys-tpl .to-footer__category-content h5::before,
#snackys-tpl .to-footer__category-content .to-footer__heading::before {
  font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands" !important;
}
