/**
 * Cyrillic Font Override for Russian Language
 * Forces Roboto font for all text elements to properly display Cyrillic
 */

/* CSS Variable for Cyrillic font */
:root {
    --font-cyrillic: 'Roboto', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* MASTER OVERRIDE - Target everything with body.lang-ru EXCEPT icon elements */
body.lang-ru {
    font-family: var(--font-cyrillic) !important;
}

body.lang-ru *:not([class^="ri-"]):not([class*=" ri-"]):not([class^="mdi-"]):not([class*=" mdi-"]):not(i) {
    font-family: var(--font-cyrillic) !important;
}

/* Triple-specificity overrides for stubborn elements */
html body.lang-ru,
html body.lang-ru div,
html body.lang-ru span,
html body.lang-ru p,
html body.lang-ru a,
html body.lang-ru h1,
html body.lang-ru h2,
html body.lang-ru h3,
html body.lang-ru h4,
html body.lang-ru h5,
html body.lang-ru h6,
html body.lang-ru li,
html body.lang-ru td,
html body.lang-ru th,
html body.lang-ru label,
html body.lang-ru button,
html body.lang-ru input,
html body.lang-ru textarea,
html body.lang-ru select {
    font-family: var(--font-cyrillic) !important;
}

/* ============================================
   PRODUCT CARDS - HIGHEST PRIORITY
   ============================================ */
html body.lang-ru .mn-product-card,
html body.lang-ru .mn-product-card *,
html body.lang-ru .mn-product-card h5,
html body.lang-ru .mn-product-card h5 a,
html body.lang-ru .mn-product-card .mn-product-detail,
html body.lang-ru .mn-product-card .mn-product-detail *,
html body.lang-ru .mn-product-card .mn-product-detail h5,
html body.lang-ru .mn-product-card .mn-product-detail h5 a,
html body.lang-ru .mn-product-card .mn-product-detail p,
html body.lang-ru .mn-product-card .mn-product-detail span,
html body.lang-ru .mn-product-card .mn-product-detail a,
html body.lang-ru .mn-product-card .cat,
html body.lang-ru .mn-product-card .cat a,
html body.lang-ru .mn-product-card .mn-price,
html body.lang-ru .mn-product-card .mn-price *,
html body.lang-ru .mn-product-card .mn-price-new,
html body.lang-ru .mn-product-card .mn-price-old,
html body.lang-ru .mn-product-card .mn-pro-price,
html body.lang-ru .mn-product-card .mn-stock-status,
html body.lang-ru .mn-product-card .mn-stock-info,
html body.lang-ru .mn-product-card .mn-delivery-note,
html body.lang-ru .mn-product-card .mn-variant-indicator,
html body.lang-ru .mn-product-card .mn-variant-indicator span {
    font-family: var(--font-cyrillic) !important;
}

/* Product card category label fix */
html body.lang-ru .mn-product-card .cat,
html body.lang-ru .mn-product-card .cat a,
html body.lang-ru .mn-product-card .mn-product-detail .cat,
html body.lang-ru .mn-product-card .mn-product-detail .cat a,
html body.lang-ru div.mn-product-card div.mn-product-detail div.cat a {
    font-family: var(--font-cyrillic) !important;
}

/* Product title fix - multiple specificity levels */
html body.lang-ru .mn-product-card h5 a,
html body.lang-ru div.mn-product-card h5 a,
html body.lang-ru div.mn-product-card div.mn-product-detail h5 a,
html body.lang-ru .mn-product-card .mn-product-detail h5 a {
    font-family: var(--font-cyrillic) !important;
}

/* ============================================
   SINGLE PRODUCT PAGE
   ============================================ */
html body.lang-ru .mn-single-pro-content,
html body.lang-ru .mn-single-pro-content *,
html body.lang-ru .mn-single-pro-content h1,
html body.lang-ru .mn-single-pro-content h2,
html body.lang-ru .mn-single-pro-content h3,
html body.lang-ru .mn-single-pro-content h4,
html body.lang-ru .mn-single-pro-content h5,
html body.lang-ru .mn-single-pro-content p,
html body.lang-ru .mn-single-pro-content span,
html body.lang-ru .mn-single-pro-content a,
html body.lang-ru .mn-single-pro-tab,
html body.lang-ru .mn-single-pro-tab *,
html body.lang-ru .mn-pro-desc,
html body.lang-ru .mn-pro-desc *,
html body.lang-ru .product-title,
html body.lang-ru .product-name {
    font-family: var(--font-cyrillic) !important;
}

/* ============================================
   LIST VIEW PRODUCTS
   ============================================ */
html body.lang-ru .list-view .mn-product-card,
html body.lang-ru .list-view .mn-product-card *,
html body.lang-ru .list-view-50 .mn-product-card,
html body.lang-ru .list-view-50 .mn-product-card *,
html body.lang-ru .mn-pro-title,
html body.lang-ru .mn-pro-title a {
    font-family: var(--font-cyrillic) !important;
}

/* ============================================
   NAVIGATION & HEADER
   ============================================ */
html body.lang-ru .mn-header,
html body.lang-ru .mn-header *,
html body.lang-ru .mn-main-menu,
html body.lang-ru .mn-main-menu *,
html body.lang-ru .mn-menu-content,
html body.lang-ru .mn-menu-content *,
html body.lang-ru nav,
html body.lang-ru nav *,
html body.lang-ru .dropdown-menu,
html body.lang-ru .dropdown-menu *,
html body.lang-ru .dropdown-item {
    font-family: var(--font-cyrillic) !important;
}

/* ============================================
   SIDEBAR
   ============================================ */
html body.lang-ru .mn-sidebar,
html body.lang-ru .mn-sidebar *,
html body.lang-ru .mn-sb-item,
html body.lang-ru .mn-sb-item *,
html body.lang-ru .mn-sidebar-title,
html body.lang-ru .mn-sidebar-link,
html body.lang-ru .mn-shop-sidebar,
html body.lang-ru .mn-shop-sidebar *,
html body.lang-ru .mn-sidebar-block,
html body.lang-ru .mn-sidebar-block * {
    font-family: var(--font-cyrillic) !important;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
html body.lang-ru .mn-breadcrumb,
html body.lang-ru .mn-breadcrumb *,
html body.lang-ru .mn-breadcrumb-title,
html body.lang-ru .mn-breadcrumb-list,
html body.lang-ru .mn-breadcrumb-list *,
html body.lang-ru .mn-breadcrumb-item,
html body.lang-ru .mn-breadcrumb-item * {
    font-family: var(--font-cyrillic) !important;
}

/* ============================================
   CART & CHECKOUT
   ============================================ */
html body.lang-ru .mn-side-cart,
html body.lang-ru .mn-side-cart *,
html body.lang-ru .cart-sidebar-list,
html body.lang-ru .cart-sidebar-list *,
html body.lang-ru .cart-pro-title,
html body.lang-ru .cart-price,
html body.lang-ru .mn-cart-content,
html body.lang-ru .mn-cart-content * {
    font-family: var(--font-cyrillic) !important;
}

/* ============================================
   FOOTER
   ============================================ */
html body.lang-ru .mn-footer,
html body.lang-ru .mn-footer *,
html body.lang-ru footer,
html body.lang-ru footer * {
    font-family: var(--font-cyrillic) !important;
}

/* ============================================
   CATEGORIES
   ============================================ */
html body.lang-ru .mn-category-card,
html body.lang-ru .mn-category-card *,
html body.lang-ru .cat-title,
html body.lang-ru .cat-name,
html body.lang-ru .mn-category-title,
html body.lang-ru .mn-category-title * {
    font-family: var(--font-cyrillic) !important;
}

/* ============================================
   BANNERS & HERO SECTIONS
   ============================================ */
html body.lang-ru .mn-hero,
html body.lang-ru .mn-hero *,
html body.lang-ru .mn-banner,
html body.lang-ru .mn-banner *,
html body.lang-ru .hero-content,
html body.lang-ru .hero-content *,
html body.lang-ru .banner-content,
html body.lang-ru .banner-content * {
    font-family: var(--font-cyrillic) !important;
}

/* ============================================
   SERVICE/FEATURE BOXES
   ============================================ */
html body.lang-ru .mn-service,
html body.lang-ru .mn-service *,
html body.lang-ru .mn-feature,
html body.lang-ru .mn-feature *,
html body.lang-ru .service-title,
html body.lang-ru .feature-title {
    font-family: var(--font-cyrillic) !important;
}

/* ============================================
   PRESERVE ICON FONTS - HIGHEST PRIORITY
   ============================================ */

/* RemixIcon - Multiple specificity levels */
html body.lang-ru [class^="ri-"],
html body.lang-ru [class*=" ri-"],
html body.lang-ru i[class^="ri-"],
html body.lang-ru i[class*=" ri-"],
html body.lang-ru .mn-product-card i[class^="ri-"],
html body.lang-ru .mn-product-card i[class*=" ri-"],
html body.lang-ru .mn-options i,
html body.lang-ru .mn-pro-option i,
html body.lang-ru .mn-stock-info i,
html body.lang-ru .mn-variant-indicator i,
html body.lang-ru .cat-icon,
html body.lang-ru .cat-arrow,
html body.lang-ru .subcat-arrow,
html body.lang-ru i.ri-eye-line,
html body.lang-ru i.ri-heart-line,
html body.lang-ru i.ri-shopping-cart-line,
html body.lang-ru i.ri-repeat-line,
html body.lang-ru i.ri-check-line,
html body.lang-ru i.ri-close-line,
html body.lang-ru i.ri-truck-line,
html body.lang-ru i.ri-palette-line,
html body.lang-ru i.ri-arrow-down-s-line,
html body.lang-ru i.ri-arrow-right-s-line,
html body.lang-ru i.ri-menu-3-fill,
html body.lang-ru i.ri-apps-line,
html body.lang-ru i.ri-folder-line,
html body.lang-ru i.ri-loader-4-line,
html body.lang-ru i.ri-facebook-fill,
html body.lang-ru i.ri-instagram-line,
html body.lang-ru i.ri-mail-line,
html body.lang-ru i.ri-map-pin-line,
html body.lang-ru i.ri-phone-line,
html body.lang-ru i.ri-customer-service-2-line {
    font-family: 'remixicon' !important;
    font-style: normal !important;
    font-weight: normal !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Material Design Icons */
html body.lang-ru [class^="mdi-"],
html body.lang-ru [class*=" mdi-"],
html body.lang-ru i[class^="mdi-"],
html body.lang-ru i[class*=" mdi-"],
html body.lang-ru .mn-product-card i[class^="mdi-"],
html body.lang-ru .mn-product-card i[class*=" mdi-"] {
    font-family: 'Material Design Icons' !important;
    font-style: normal !important;
    font-weight: normal !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fallback: Any i tag inside icon containers */
html body.lang-ru .mn-options li a i,
html body.lang-ru .mn-pro-option a i,
html body.lang-ru .header-icon i,
html body.lang-ru .mn-sb-icon {
    font-family: 'remixicon' !important;
    font-style: normal !important;
}
