/**
 * eMAG — Folha de Alto Contraste (Seção 4.2)
 * Fundo: #000 | Texto: #FFF | Links: #FFF333 (amarelo sublinhado)
 * Contraste mínimo: 7:1
 */

body.emag-alto-contraste,
body.emag-alto-contraste *:not(img, video, iframe, svg, canvas, .emag-skip-link, rs-module-wrap, rs-module-wrap *, .rev_slider_wrapper, .rev_slider_wrapper *) {
    background-color: #000 !important;
    color: #FFF !important;
    border-color: #FFF !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

/* Removida a proteção com revert, pois ela destruía as inline-styles essenciais do Slider Revolution. O novo seletor :not() acima já os isola. */

body.emag-alto-contraste [style*="background"],
body.emag-alto-contraste .wrapper, body.emag-alto-contraste .wrapper_inner,
body.emag-alto-contraste .content, body.emag-alto-contraste .content_inner,
body.emag-alto-contraste header, body.emag-alto-contraste footer,
body.emag-alto-contraste nav, body.emag-alto-contraste .header_top_bottom_holder,
body.emag-alto-contraste .header_inner, body.emag-alto-contraste section,
body.emag-alto-contraste .wpb_row, body.emag-alto-contraste .vc_row,
body.emag-alto-contraste .vc_column_container, body.emag-alto-contraste .wpb_column,
body.emag-alto-contraste .vc_column-inner, body.emag-alto-contraste .paspartu_outer,
body.emag-alto-contraste .paspartu_inner, body.emag-alto-contraste .footer_inner {
    /* background-image: none !important; REMOVIDO para não apagar banners */
    background-color: rgba(0, 0, 0, 0.8) !important;
    background-blend-mode: multiply !important;
}

body.emag-alto-contraste a, body.emag-alto-contraste a:visited {
    color: #FFF333 !important;
    text-decoration: underline !important;
}
body.emag-alto-contraste a:hover, body.emag-alto-contraste a:active {
    color: #FFF333 !important;
    outline: 1px solid #FFF333 !important;
}

body.emag-alto-contraste .emag-accessibility-bar a,
body.emag-alto-contraste .emag-accessibility-bar button { color: #FFF !important; }
body.emag-alto-contraste .emag-accessibility-bar a:hover,
body.emag-alto-contraste .emag-accessibility-bar button:hover { color: #FFF333 !important; }

body.emag-alto-contraste h1, body.emag-alto-contraste h2,
body.emag-alto-contraste h3, body.emag-alto-contraste h4,
body.emag-alto-contraste h5, body.emag-alto-contraste h6 { color: #FFF !important; }

body.emag-alto-contraste button, body.emag-alto-contraste input[type="button"],
body.emag-alto-contraste input[type="submit"], body.emag-alto-contraste .qode-btn,
body.emag-alto-contraste .qbutton {
    background-color: #333 !important; color: #FFF !important; border: 2px solid #FFF !important;
}
body.emag-alto-contraste button:hover, body.emag-alto-contraste input[type="submit"]:hover,
body.emag-alto-contraste .qode-btn:hover, body.emag-alto-contraste .qbutton:hover {
    background-color: #FFF !important; color: #000 !important;
}

body.emag-alto-contraste input, body.emag-alto-contraste textarea,
body.emag-alto-contraste select {
    background-color: #1a1a1a !important; color: #FFF !important; border: 2px solid #FFF !important;
}
body.emag-alto-contraste input::placeholder,
body.emag-alto-contraste textarea::placeholder { color: #CCC !important; }

body.emag-alto-contraste table, body.emag-alto-contraste th,
body.emag-alto-contraste td { border: 1px solid #FFF !important; }
body.emag-alto-contraste th { background-color: #222 !important; }
body.emag-alto-contraste hr { border-color: #FFF !important; background-color: #FFF !important; }

body.emag-alto-contraste svg, body.emag-alto-contraste svg path,
body.emag-alto-contraste svg circle, body.emag-alto-contraste svg rect {
    fill: #FFF !important; stroke: #FFF !important;
}
body.emag-alto-contraste i, body.emag-alto-contraste [class*="icon-"],
body.emag-alto-contraste [class*="fa-"] { color: #FFF !important; }

body.emag-alto-contraste .emag-accessibility-bar {
    background-color: #111 !important; border-bottom: 2px solid #FFF !important;
}
body.emag-alto-contraste .emag-contrast-btn::after { content: " ✓"; color: #FFF333; }
/* Imagens em alto contraste: escala de cinza, fundo branco (para PNGs transparentes) e aumento de contraste */
body.emag-alto-contraste img, 
body.emag-alto-contraste video { 
    background-color: #FFF !important;
    padding: 2px !important;
    border-radius: 4px !important;
    filter: grayscale(100%) contrast(150%) !important; 
}

body.emag-alto-contraste .qode_slider_preloader,
body.emag-alto-contraste .ajax_loader { display: none !important; }

body.emag-alto-contraste .header_bottom, body.emag-alto-contraste .header_top,
body.emag-alto-contraste .sticky_header, body.emag-alto-contraste .footer_top,
body.emag-alto-contraste .footer_bottom, body.emag-alto-contraste .logo_wrapper {
    background-color: #000 !important; border-color: #FFF !important;
}

body.emag-alto-contraste .main_menu > ul > li > a { color: #FFF !important; }
body.emag-alto-contraste .main_menu > ul > li > a:hover { color: #FFF333 !important; }
