/*!
 * Nuso Giya — site-wide dark theme (all front-end pages).
 * Active when <html data-ngh-theme="dark"> is set by the theme switch / device preference.
 * Best-effort restyle of common WordPress + WooCommerce elements; the
 * Nuso Giya screens have their own detailed dark styles in style.css.
 */
html[data-ngh-theme="dark"] { color-scheme: dark; background: #0e1417; }

html[data-ngh-theme="dark"] body {
	background: #0e1417 !important;
	color: #e3e9ec !important;
}

html[data-ngh-theme="dark"] :where(#page, .site, #content, .site-content, .content-area, main, article, .entry-content, .page-content, .hentry, .post, .widget, .woocommerce, .woocommerce-page .site-main, .container, .wrap, .elementor-section, .elementor-widget-container) {
	background-color: transparent;
	color: inherit;
}

html[data-ngh-theme="dark"] :where(header.site-header, .site-header, #masthead, .navbar, .main-navigation, .site-footer, #colophon, .widget-area, aside.sidebar) {
	background-color: #141b20 !important;
	color: #e3e9ec;
	border-color: #2b373f;
}

html[data-ngh-theme="dark"] :where(h1, h2, h3, h4, h5, h6, .entry-title, .page-title, .product_title, .woocommerce-loop-product__title) { color: #f2f6f8; }
html[data-ngh-theme="dark"] :where(p, li, td, th, label, span, dt, dd, small, legend) { border-color: #2b373f; }
html[data-ngh-theme="dark"] :where(.entry-content a, .woocommerce a:not(.button), .page-content a, .site-main p a) { color: #4fdc86; }
html[data-ngh-theme="dark"] hr { border-color: #2b373f; background-color: #2b373f; }

html[data-ngh-theme="dark"] :where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), select, textarea) {
	background-color: #182126 !important;
	color: #e9eef0 !important;
	border-color: #34434c !important;
}
html[data-ngh-theme="dark"] ::placeholder { color: #8b979f; opacity: 1; }

html[data-ngh-theme="dark"] :where(table, .shop_table, .woocommerce table.shop_table) { background-color: #141b20; color: #e3e9ec; border-color: #2b373f; }
html[data-ngh-theme="dark"] :where(th, td) { border-color: #2b373f !important; }

html[data-ngh-theme="dark"] :where(.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, .cart_totals, .woocommerce-checkout-review-order, #order_review, .woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content, .woocommerce-form-login, .woocommerce-form-register, .card, .box, .panel, .modal-content, .comment-body, .woocommerce div.product div.summary) {
	background-color: #141b20 !important;
	color: #e3e9ec !important;
	border-color: #2b373f !important;
}

html[data-ngh-theme="dark"] :where(.woocommerce ul.products li.product, .products .product) { background-color: #151e23; color: #e3e9ec; }
html[data-ngh-theme="dark"] .price, html[data-ngh-theme="dark"] .amount { color: #f1f5f7; }
html[data-ngh-theme="dark"] img { opacity: 0.94; }
html[data-ngh-theme="dark"] .ngh-root img, html[data-ngh-theme="dark"] .ngh-footer img { opacity: 1; }

/* Theme changes are instant on load, smooth when the visitor taps the switch. */
html.ngh-theme-anim, html.ngh-theme-anim body, html.ngh-theme-anim * { transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease !important; }
