/* Font Awesome v6 Compatibility Fixes */
/* This file provides compatibility for Font Awesome 4/5 class names that have changed in v6 */

/* Ensure all FA classes have the correct base styles */
.fa, .fas, .far, .fal, .fad, .fab {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands", "FontAwesome" !important;
    font-weight: 900;
    font-style: normal !important;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    font-variant: normal;
}

.far {
    font-weight: 400 !important;
}

.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* Force specific problematic icons with explicit content */
.fa-times:before,
.fas.fa-times:before {
    content: "\f00d" !important; /* fa-xmark unicode */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.fa-rocket:before,
.fas.fa-rocket:before {
    content: "\f135" !important; /* fa-rocket unicode */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.fa-shopping-cart:before,
.fas.fa-shopping-cart:before {
    content: "\f07a" !important; /* fa-shopping-cart unicode */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* Additional common icon fixes */
.fa-close:before,
.fa-remove:before {
    content: "\f00d" !important; /* same as fa-times/fa-xmark */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.fa-plus:before,
.fas.fa-plus:before {
    content: "\f067" !important; /* fa-plus unicode */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* Fallback for any missing icons - use FontAwesome family as backup */
.fa:not([class*="fa-"]):before,
.fa[class=""]:before {
    content: "\f059" !important; /* question circle as fallback */
    font-family: "FontAwesome" !important;
}

/* Override any conflicting styles */
.fa, .fas, .far, .fab {
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}