/*
 * P2.5 icon-font subset — only the glyphs Richardson Saw actually uses.
 *
 * Replaces three full icon-library CSS files (124 KB combined) with this
 * single file.  The @font-face src paths are relative to the Bricks theme
 * assets directory; we use an absolute path so this file can live in
 * mu-plugins/rslm-mu/ without breaking the font URL.
 *
 * Font Awesome 6 — Solid + Regular
 * Ionicons
 * Themify Icons
 */

/* ── Font Awesome 6 Free — Regular (weight 400) ────────────── */
@font-face {
  font-display: swap;
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  src: url("/wp-content/themes/bricks/assets/fonts/fontawesome/fa-regular-400.woff2") format("woff2"),
       url("/wp-content/themes/bricks/assets/fonts/fontawesome/fa-regular-400.ttf") format("truetype");
}

/* ── Font Awesome 6 Solid (weight 900) ──────────────────────── */
@font-face {
  font-display: swap;
  font-family: "Font Awesome 6 Solid";
  font-style: normal;
  font-weight: 900;
  src: url("/wp-content/themes/bricks/assets/fonts/fontawesome/fa-solid-900.woff2") format("woff2"),
       url("/wp-content/themes/bricks/assets/fonts/fontawesome/fa-solid-900.ttf") format("truetype");
}

/* Base FA selectors */
.fa, .fa-classic, .fa-regular, .far {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
}
.fa-solid, .fas {
  font-family: "Font Awesome 6 Solid";
  font-style: normal;
  font-weight: 900;
}
.fa, .fa-classic, .fa-regular, .fa-solid, .far, .fas {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display, inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
}

/* FA — used glyphs */
.fa-star:before { content: "\f005"; }
.fa-filter:before { content: "\f0b0"; }
.fa-magnifying-glass:before, .fa-search:before { content: "\f002"; }
.fa-map-location-dot:before, .fa-map-marked-alt:before { content: "\f5a0"; }
.fa-square-phone:before { content: "\f098"; }
.fa-circle-user:before, .fa-user-circle:before { content: "\f2bd"; }
.fa-circle-info:before, .fa-info-circle:before { content: "\f05a"; }
.fa-chevron-up:before { content: "\f077"; }
.fa-cart-shopping:before, .fa-shopping-cart:before { content: "\f07a"; }
.fa-angles-right:before { content: "\f101"; }
.fa-angles-left:before { content: "\f100"; }
.fa-rectangle-xmark:before, .fa-times-rectangle:before, .fa-window-close:before { content: "\f410"; }
.fa-wrench:before { content: "\f0ad"; }
.fa-truck:before { content: "\f0d1"; }
.fa-clock:before { content: "\f017"; }

/* ── Ionicons ───────────────────────────────────────────────── */
@font-face {
  font-family: "Ionicons";
  font-style: normal;
  font-weight: 400;
  src: url("/wp-content/themes/bricks/assets/fonts/ionicons/ionicons.woff2") format("woff2"),
       url("/wp-content/themes/bricks/assets/fonts/ionicons/ionicons.woff") format("woff"),
       url("/wp-content/themes/bricks/assets/fonts/ionicons/ionicons.ttf") format("truetype");
}

[class^="ion-"],
[class^="ion-ios-"],
[class^="ion-md-"] {
  speak: never;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  font-family: "Ionicons";
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  line-height: 1;
  text-rendering: auto;
  text-transform: none;
}
[class^="ion-"]:before,
[class^="ion-ios-"]:before,
[class^="ion-md-"]:before {
  font-family: "Ionicons";
}

/* Ionicons — used glyphs */
.ion-md-star:before { content: "\f384"; }
.ion-md-star-half:before { content: "\f382"; }
.ion-ios-arrow-down:before { content: "\f3d0"; }

/* ── Themify Icons ──────────────────────────────────────────── */
@font-face {
  font-family: "themify";
  font-style: normal;
  font-weight: 400;
  src: url("/wp-content/themes/bricks/assets/fonts/themify/themify.woff") format("woff"),
       url("/wp-content/themes/bricks/assets/fonts/themify/themify.ttf") format("truetype");
}

[class^="ti-"] {
  speak: never;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  font-family: "themify";
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  line-height: 1;
  text-transform: none;
}

/* Themify — used glyphs */
.ti-angle-left:before { content: "\e64a"; }
.ti-angle-right:before { content: "\e649"; }
.ti-angle-down:before { content: "\e64b"; }
.ti-angle-double-right:before { content: "\e661"; }
.ti-angle-double-left:before { content: "\e662"; }
.ti-shopping-cart:before { content: "\e60d"; }
.ti-control-play:before { content: "\e6ad"; }
.ti-control-pause:before { content: "\e6ae"; }
.ti-close:before { content: "\e646"; }
.ti-reload:before { content: "\e619"; }
.ti-check-box:before { content: "\e64d"; }
.ti-arrow-right:before { content: "\e628"; }
.ti-arrow-left:before { content: "\e629"; }
