/* Icon fonts, subsetted to the glyphs the storefront actually renders
   (see deploy/purge_electro_css.py). Replaces the full Font Awesome 6
   and font-electro stylesheets: electro.min.css already carries the
   matching .fa-*/.fab/.fas content rules, .ec-* classes live below.
   Rebuild subsets with `deploy/build_icon_fonts.py` if icon usage grows. */

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/static/fonts/fa-solid-900.woff2") format("woff2");
}
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/fa-regular-400.woff2") format("woff2");
}
@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/fa-brands-400.woff2") format("woff2");
}
@font-face {
  font-family: "font-electro";
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url("/static/fonts/font-electro.woff") format("woff");
}

/* the weight split lives in font-awesome.min.css, not electro.min.css */
.fa-regular, .far { font-weight: 400; }

/* fa-* content rules the theme's electro.min.css never carried —
   these lived in font-awesome.min.css, which this file replaces */
.fa-facebook-f:before { content: "\f39e"; }
.fa-x-twitter:before { content: "\e61b"; }
.fa-facebook:before { content: "\f09a"; }
.fa-whatsapp:before { content: "\f232"; }
.fa-pinterest:before { content: "\f0d2"; }
.fa-linkedin:before { content: "\f08c"; }
.fa-instagram:before { content: "\f16d"; }
.fa-youtube:before { content: "\f167"; }
.fa-telegram:before { content: "\f2c6"; }

.ec {
  display: inline-block;
  font: normal normal normal 14px/1 font-electro;
  font-size: inherit;
  text-rendering: auto;
  vertical-align: middle;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* used .ec-* glyphs (subset of vendor font-electro.css) */
.ec-comment:before { content: "\63"; }
.ec-phone:before { content: "\6b"; }
.ec-shopping-bag:before { content: "\6e"; }
.ec-support:before { content: "\6f"; }
.ec-user:before { content: "\72"; }
.ec-mail:before { content: "\74"; }
.ec-map-pointer:before { content: "\75"; }
.ec-close-remove:before { content: "\77"; }
.ec-arrow-down-search:before { content: "\79"; }
.ec-transport:before { content: "\42"; }
.ec-menu:before { content: "\e908"; }
