/**
 * Fix Google Translate Breaking Material Icons
 * Prevents Google Translate from translating icon text
 */

/* Protect all Material Icons from translation */
.material-icons,
.material-icons-outlined,
.material-icons-round,
.material-icons-sharp,
.material-icons-two-tone {
    font-family: 'Material Icons' !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-size: 24px !important;
    display: inline-block !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    word-wrap: normal !important;
    white-space: nowrap !important;
    direction: ltr !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: optimizeLegibility !important;
    -moz-osx-font-smoothing: grayscale !important;
    font-feature-settings: 'liga' !important;
}

/* Extra protection for notranslate class */
.material-icons.notranslate,
.notranslate.material-icons {
    font-family: 'Material Icons' !important;
}

/* Fix for Google Translate wrapper breaking icons */
.material-icons font,
.material-icons span,
.material-icons font *,
.material-icons span * {
    font-family: 'Material Icons' !important;
    font-size: inherit !important;
    font-weight: normal !important;
    font-style: normal !important;
}

/* Prevent Google Translate from wrapping icon content */
.material-icons *,
.material-icons *::before,
.material-icons *::after {
    font-family: 'Material Icons' !important;
}

/* Force icon display even if wrapped by Google Translate */
.card-icon .material-icons,
.product-category .material-icons {
    font-family: 'Material Icons' !important;
    speak: none !important;
}
