/*
 * Emoji on every menu (owner, 2026-10-12: "making menu UXes easier with emojis in all
 * menus that have no emojis"). Recognition + memorability, matching the account menu,
 * whose emoji predate this file (Customizer CSS). ONE file so they are easy to find
 * and change; enqueued site-wide by modules/assets.php.
 *
 * Accessibility: each emoji uses the `content: "X" / ""` alt-text form, so screen
 * readers do not read "house Home". Browsers without that syntax fall back to the
 * plain declaration before it. Pure decoration: nothing breaks if a selector stops
 * matching, the item just loses its emoji.
 *
 * TESTS: tests/test_menu_emoji.py
 */


/* Top menu (Elementor header nav). Hrefs are full URLs, so match the path suffix. */
.elementor-location-header nav .menu-item-home > a::before { content: "🏠"; content: "🏠" / ""; margin-right: .45em; font-style: normal; }
.elementor-location-header nav a[href$="/s/"]::before { content: "✨"; content: "✨" / ""; margin-right: .45em; font-style: normal; }
.elementor-location-header nav a[href$="/pricing/"]::before { content: "💎"; content: "💎" / ""; margin-right: .45em; font-style: normal; }
.elementor-location-header nav a[href$="/faq/"]::before { content: "❓"; content: "❓" / ""; margin-right: .45em; font-style: normal; }
.elementor-location-header nav a[href$="/login/"]::before { content: "🔑"; content: "🔑" / ""; margin-right: .45em; font-style: normal; }
.elementor-location-header nav a[href$="/register/"]::before { content: "🚀"; content: "🚀" / ""; margin-right: .45em; font-style: normal; }

/* Footer links (relative hrefs). */
.elementor-location-footer a[href="/"]::before { content: "🏠"; content: "🏠" / ""; margin-right: .45em; font-style: normal; }
.elementor-location-footer a[href="/s/"]::before { content: "✨"; content: "✨" / ""; margin-right: .45em; font-style: normal; }
.elementor-location-footer a[href="/creators/"]::before { content: "🎨"; content: "🎨" / ""; margin-right: .45em; font-style: normal; }
.elementor-location-footer a[href="/pricing/"]::before { content: "💎"; content: "💎" / ""; margin-right: .45em; font-style: normal; }
.elementor-location-footer a[href="/faq/"]::before { content: "❓"; content: "❓" / ""; margin-right: .45em; font-style: normal; }
.elementor-location-footer a[href*="privacy-policy"]::before { content: "🔒"; content: "🔒" / ""; margin-right: .45em; font-style: normal; }
.elementor-location-footer a[href*="cookie-policy"]::before { content: "🍪"; content: "🍪" / ""; margin-right: .45em; font-style: normal; }
.elementor-location-footer a[href*="do-not-sell"]::before { content: "🛡️"; content: "🛡️" / ""; margin-right: .45em; font-style: normal; }
.elementor-location-footer a[href*="terms-of-service"]::before { content: "📜"; content: "📜" / ""; margin-right: .45em; font-style: normal; }
.elementor-location-footer a[href*="/dmca/"]::before { content: "©️"; content: "©️" / ""; margin-right: .45em; font-style: normal; }
.elementor-location-footer a[href^="mailto:"]::before { content: "✉️"; content: "✉️" / ""; margin-right: .45em; font-style: normal; }

/* Spark page feed controls (spark-pages.js feedbar). */
.sfb-view-btn[data-view="home"]::before { content: "🏠"; content: "🏠" / ""; margin-right: .45em; font-style: normal; }
.sfb-view-btn[data-view="store"]::before { content: "🛍️"; content: "🛍️" / ""; margin-right: .45em; font-style: normal; }
.sfb-chk:has(.sfb-creator) > span::before { content: "⭐"; content: "⭐" / ""; margin-right: .45em; font-style: normal; }
.sfb-chk:has(.sfb-fan) > span::before { content: "🙌"; content: "🙌" / ""; margin-right: .45em; font-style: normal; }
.sfb-sort-btn[data-sort="latest"]::before { content: "🕒"; content: "🕒" / ""; margin-right: .45em; font-style: normal; }
.sfb-sort-btn[data-sort="popular"]::before { content: "🔥"; content: "🔥" / ""; margin-right: .45em; font-style: normal; }

/* Creator Store area menu (Dokan). Its line icons are hidden and replaced, keyed by Dokan's li classes. */
ul.dokan-dashboard-menu li.spark-account-back > a::before { content: "⬅️"; content: "⬅️" / ""; margin-right: .45em; font-style: normal; }
ul.dokan-dashboard-menu li.dashboard > a::before { content: "📊"; content: "📊" / ""; margin-right: .45em; font-style: normal; }
ul.dokan-dashboard-menu li.products > a::before { content: "📦"; content: "📦" / ""; margin-right: .45em; font-style: normal; }
ul.dokan-dashboard-menu li.merch > a::before { content: "👕"; content: "👕" / ""; margin-right: .45em; font-style: normal; }
ul.dokan-dashboard-menu li.post-stats > a::before { content: "📈"; content: "📈" / ""; margin-right: .45em; font-style: normal; }
ul.dokan-dashboard-menu li.orders > a::before { content: "🧾"; content: "🧾" / ""; margin-right: .45em; font-style: normal; }
ul.dokan-dashboard-menu li.coupons > a::before { content: "🏷️"; content: "🏷️" / ""; margin-right: .45em; font-style: normal; }
ul.dokan-dashboard-menu li.reports > a::before { content: "📑"; content: "📑" / ""; margin-right: .45em; font-style: normal; }
ul.dokan-dashboard-menu li.reviews > a::before { content: "⭐"; content: "⭐" / ""; margin-right: .45em; font-style: normal; }
ul.dokan-dashboard-menu li.withdraw > a::before { content: "💸"; content: "💸" / ""; margin-right: .45em; font-style: normal; }
ul.dokan-dashboard-menu li.reverse-withdrawal > a::before { content: "↩️"; content: "↩️" / ""; margin-right: .45em; font-style: normal; }
ul.dokan-dashboard-menu li.announcement > a::before { content: "📢"; content: "📢" / ""; margin-right: .45em; font-style: normal; }
ul.dokan-dashboard-menu li.vendor-support > a::before { content: "💬"; content: "💬" / ""; margin-right: .45em; font-style: normal; }
ul.dokan-dashboard-menu li.settings-store > a::before { content: "🏪"; content: "🏪" / ""; margin-right: .45em; font-style: normal; }
ul.dokan-dashboard-menu li.settings-payment > a::before { content: "💳"; content: "💳" / ""; margin-right: .45em; font-style: normal; }
ul.dokan-dashboard-menu li.settings-shipping > a::before { content: "🚚"; content: "🚚" / ""; margin-right: .45em; font-style: normal; }
ul.dokan-dashboard-menu li.settings-social > a::before { content: "🌐"; content: "🌐" / ""; margin-right: .45em; font-style: normal; }
ul.dokan-dashboard-menu li.spark-notifications > a::before { content: "🔔"; content: "🔔" / ""; margin-right: .45em; font-style: normal; }
ul.dokan-dashboard-menu li.spark-logout > a::before { content: "🚪"; content: "🚪" / ""; margin-right: .45em; font-style: normal; }

/* Dokan's own line icons would sit next to the emoji; hide them. */
ul.dokan-dashboard-menu li > a > i, ul.dokan-dashboard-menu li > a > .fas, ul.dokan-dashboard-menu li > a > .far { display: none; }
.sfb-links-btn::before { content: "🔗"; content: "🔗" / ""; margin-right: .45em; font-style: normal; }
