/**
 * Simple Refunds Manager - My Account menu icon.
 *
 * Adds an icon to the "Refunds" navigation item so it is visually
 * consistent with the other WooCommerce My Account menu entries.
 *
 * An emoji is used (instead of an icon font) so the icon renders reliably
 * across themes without requiring an extra font dependency.
 *
 * We match the item in several ways so the icon shows regardless of how a
 * theme builds the markup:
 *   1. WooCommerce's per-endpoint class (standard My Account navigation).
 *   2. Our own namespaced class (added via woocommerce_account_menu_item_classes).
 *   3. A href-based fallback for themes (e.g. BeTheme) that render the account
 *      navigation in a custom header dropdown WITHOUT WooCommerce's classes.
 *      There the only reliable hook is the link pointing at the /refunds
 *      endpoint, so we target links whose href ends with the endpoint slug.
 */
.woocommerce-MyAccount-navigation-link--refunds > a::before,
li.srm-refunds-menu-item > a::before,
a[href$="/refunds/"]::before,
a[href$="/refunds"]::before {
        content: "\21A9\FE0F" !important; /* ↩️ return arrow */
        display: inline-block !important;
        margin-right: 0.6em;
        font-style: normal;
        font-weight: normal;
        line-height: 1;
        text-decoration: none;
        /* Align the emoji with the label text without changing the link layout. */
        vertical-align: middle;
}
