/* HF Dark Mode Core - WooCommerce safe module v1.0.5
 * Không ép dark mode lên product card, single product, order card hoặc toàn bộ My Account content.
 * Chỉ giữ một số thành phần ít rủi ro: thông báo WooCommerce và sidebar My Account nếu có.
 */
html.hf-dark-mode :where(.woocommerce-message, .woocommerce-info, .woocommerce-error),
html.xkvt-site-dark :where(.woocommerce-message, .woocommerce-info, .woocommerce-error),
body.hf-dark-mode :where(.woocommerce-message, .woocommerce-info, .woocommerce-error),
body.xkvt-site-dark :where(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
    background: rgba(17,24,34,.88) !important;
    border-color: var(--hf-dm-line-strong) !important;
    color: var(--hf-dm-text) !important;
}

html.hf-dark-mode :where(.woocommerce-MyAccount-navigation, nav.woocommerce-MyAccount-navigation),
html.xkvt-site-dark :where(.woocommerce-MyAccount-navigation, nav.woocommerce-MyAccount-navigation),
body.hf-dark-mode :where(.woocommerce-MyAccount-navigation, nav.woocommerce-MyAccount-navigation),
body.xkvt-site-dark :where(.woocommerce-MyAccount-navigation, nav.woocommerce-MyAccount-navigation) {
    background: linear-gradient(180deg, rgba(24,31,42,.88), rgba(13,19,28,.82)) !important;
    border-color: rgba(255,255,255,.10) !important;
    overflow: hidden;
}

html.hf-dark-mode :where(.woocommerce-MyAccount-navigation ul, .woocommerce-MyAccount-navigation li),
html.xkvt-site-dark :where(.woocommerce-MyAccount-navigation ul, .woocommerce-MyAccount-navigation li),
body.hf-dark-mode :where(.woocommerce-MyAccount-navigation ul, .woocommerce-MyAccount-navigation li),
body.xkvt-site-dark :where(.woocommerce-MyAccount-navigation ul, .woocommerce-MyAccount-navigation li) {
    background: transparent !important;
    border-color: rgba(255,255,255,.08) !important;
}

html.hf-dark-mode :where(.woocommerce-MyAccount-navigation a, .woocommerce-MyAccount-navigation li a, .woocommerce-MyAccount-navigation-link a),
html.xkvt-site-dark :where(.woocommerce-MyAccount-navigation a, .woocommerce-MyAccount-navigation li a, .woocommerce-MyAccount-navigation-link a),
body.hf-dark-mode :where(.woocommerce-MyAccount-navigation a, .woocommerce-MyAccount-navigation li a, .woocommerce-MyAccount-navigation-link a),
body.xkvt-site-dark :where(.woocommerce-MyAccount-navigation a, .woocommerce-MyAccount-navigation li a, .woocommerce-MyAccount-navigation-link a) {
    color: rgba(255,255,255,.74) !important;
    background: transparent !important;
}

html.hf-dark-mode :where(.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation-link.is-active a, .woocommerce-MyAccount-navigation li a:hover),
html.xkvt-site-dark :where(.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation-link.is-active a, .woocommerce-MyAccount-navigation li a:hover),
body.hf-dark-mode :where(.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation-link.is-active a, .woocommerce-MyAccount-navigation li a:hover),
body.xkvt-site-dark :where(.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation-link.is-active a, .woocommerce-MyAccount-navigation li a:hover) {
    background: linear-gradient(135deg, #f47a1f, #ff8a00) !important;
    color: #fff !important;
    box-shadow: 0 16px 34px rgba(244,122,31,.24) !important;
}
