#{$wrap} #{$menu} li.mega-menu-item > a:not(.fa6) {
	&.fab:before {
		font-family: 'Font Awesome 5 Brands';
		font-weight: 400;
	}

	&.far:before {
		font-family: $font_awesome_5_family;
		font-weight: 400;
	}

	&.fas:before {
		font-family: $font_awesome_5_family;
		font-weight: 900;
	}

	&.fal:before {
		font-family: $font_awesome_5_family;
		font-weight: 300;
	}

	&.fas,
	&.fab,
	&.far,
	&.fal {
		-webkit-font-smoothing: inherit;

		&:before {
			vertical-align: middle;
		}
	}
}

#{$wrap} #{$menu} li.mega-menu-item.mega-icon-left > a.fas,
#{$wrap} #{$menu} li.mega-menu-item.mega-icon-left > a.fab,
#{$wrap} #{$menu} li.mega-menu-item.mega-icon-left > a.far,
#{$wrap} #{$menu} li.mega-menu-item.mega-icon-left > a.fal {
	&:not(.fa6):before {
		width: 1.25em;
		text-align: center;
	}
}