/* ============================================================
   assets/css/icons.css — Icon font or SVG sprite styles
   ============================================================
   Option A: Icon font (e.g. custom IcoMoon build)
   Option B: Reference SVG sprites from assets/icons/
   ============================================================ */

/* ── Option A: Icon font @font-face ─────────────────────── */
@font-face {
    font-family: 'site-icons';
    src: url('../icons/site-icons.woff2') format('woff2'),
         url('../icons/site-icons.woff')  format('woff');
    font-weight: normal;
    font-style:  normal;
    font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
    font-family: 'site-icons' !important;
    speak: never;
    font-style:   normal;
    font-weight:  normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Icon definitions (add your own unicode values) ─────── */
/* .icon-arrow-right::before { content: "\e001"; } */
/* .icon-close::before       { content: "\e002"; } */
/* .icon-menu::before        { content: "\e003"; } */


/* ── Option B: SVG sprite usage helper ──────────────────── */
/*
    Usage in HTML:
    <svg class="svg-icon" aria-hidden="true">
        <use href="<?= ASTRA_CHILD_ASSETS ?>/icons/sprite.svg#icon-name"></use>
    </svg>
*/
.svg-icon {
    display: inline-block;
    width:  1em;
    height: 1em;
    fill:   currentColor;
    vertical-align: middle;
}
