/**
 * Icon Protection CSS - Ensure all icons display correctly
 * This file provides additional protection for icon fonts
 * to prevent Persian fonts from overriding them
 */

/* Protect ALL icon elements */
i,
i *,
i::before,
i::after,
[class*='icon-'],
[class*='icon-'] *,
[class*='icon-']::before,
[class*='icon-']::after,
[class*='fa-'],
[class*='fa-'] *,
[class*='fa-']::before,
[class*='fa-']::after,
.fa, .fab, .fal, .far, .fas,
.fa *, .fab *, .fal *, .far *, .fas *,
.fa::before, .fab::before, .fal::before, .far::before, .fas::before,
.fa::after, .fab::after, .fal::after, .far::after, .fas::after {
    font-family: 'Font Awesome 6 Pro', 'Font Awesome 6 Brands', 'Font Awesome 5 Pro', 'FontAwesome', sans-serif !important;
}

/* Star Rating Protection */
.star-rating,
.star-rating *,
.star-rating::before,
.star-rating::after,
.woocommerce .star-rating,
.woocommerce .star-rating *,
.woocommerce .star-rating::before,
.woocommerce .star-rating::after {
    font-family: 'WooCommerce', sans-serif !important;
}

/* Product Page Icons */
.prod-opts,
.prod-opts *,
.prod-opts li,
.prod-opts li *,
.prod-opts i,
.prod-opts i::before,
.prod-opts i::after {
    font-family: 'Font Awesome 6 Pro', 'FontAwesome', sans-serif !important;
}

/* Action Buttons */
.action-btn,
.action-btn *,
.action-btn i,
.action-btn i::before,
.action-btn i::after,
.product-actions,
.product-actions *,
.product-actions i,
.product-actions i::before,
.product-actions i::after {
    font-family: 'Font Awesome 6 Pro', 'FontAwesome', sans-serif !important;
}

/* Breadcrumb Icons */
.woocommerce-breadcrumb i,
.woocommerce-breadcrumb i::before,
.woocommerce-breadcrumb i::after {
    font-family: 'Font Awesome 6 Pro', 'FontAwesome', sans-serif !important;
}

/* WordPress Dashicons */
[class*='dashicons'],
[class*='dashicons'] *,
[class*='dashicons']::before,
[class*='dashicons']::after,
.dashicons,
.dashicons *,
.dashicons::before,
.dashicons::after {
    font-family: 'dashicons', sans-serif !important;
}

/* WooCommerce Message Icons */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before,
.woocommerce-notice::before {
    font-family: 'WooCommerce', sans-serif !important;
}

/* Currency Symbol */
.woocommerce-Price-currencySymbol {
    font-family: inherit !important;
}

/* Button Icons */
button i,
button i::before,
button i::after,
button [class*='icon'],
button [class*='fa'],
a i,
a i::before,
a i::after,
a [class*='icon'],
a [class*='fa'] {
    font-family: 'Font Awesome 6 Pro', 'FontAwesome', sans-serif !important;
}

/* Elementor Icons */
.elementor-icon,
.elementor-icon *,
.elementor-icon i,
.elementor-icon::before,
.elementor-icon::after {
    font-family: inherit !important;
}

