/* Neon Gadget Hub global appearance, injected AFTER existing styles. */
:root{color-scheme:light;--neon-page:#f7f8fa;--neon-surface:#fff;--neon-text:#101114;--neon-muted:#5c6470;--neon-edge:#e1e4e9;--neon-field:#fff;--neon-shadow:0 12px 35px rgba(0,0,0,.06)}
html[data-neon-theme="dark"]{color-scheme:dark;--neon-page:#0e1014;--neon-surface:#1a1e24;--neon-text:#f7f7f8;--neon-muted:#b7c0cb;--neon-edge:#343b46;--neon-field:#222831;--neon-shadow:0 12px 35px rgba(0,0,0,.28)}
/* Scope replacements to dark mode only, leaving original light styles intact. */
html[data-neon-theme="dark"] body{background:var(--neon-page)!important;color:var(--neon-text)}
html[data-neon-theme="dark"] :is(main,.page,.page-wrap,.page-container,.customer-auth-page,.account-page,.checkout-page,.wishlist-page,.cart-page){color:var(--neon-text)}
html[data-neon-theme="dark"] :is(.card,.panel,.box,.auth-card,.login-card,.register-card,.nh-login-card,.product-card,.product-item,.cart-item,.order-card,.account-card,.profile-card,.checkout-card,.address-card,.ngh-ap-header,.main-header,.ngh-footer,.site-footer,.modal-content,.dropdown-menu){background-color:var(--neon-surface)!important;color:var(--neon-text)!important;border-color:var(--neon-edge)!important}
html[data-neon-theme="dark"] :is(input,textarea,select){background-color:var(--neon-field)!important;color:var(--neon-text)!important;border-color:var(--neon-edge)!important}
html[data-neon-theme="dark"] :is(input,textarea)::placeholder{color:#a4adbb!important}
html[data-neon-theme="dark"] :is(h1,h2,h3,h4,h5,h6,label,legend,th,p,li,dt,dd){color:inherit}
html[data-neon-theme="dark"] :is(.muted,.subtitle,.description,.helper-text,.form-hint,small){color:var(--neon-muted)}
html[data-neon-theme="dark"] :is(a:not(.btn):not(.button)){color:inherit}
html[data-neon-theme="dark"] :is(.desktop-nav,.ngh-ap-bottom-nav,.ngh-ap-navlinks,.nav-dark){background-color:#080808!important;color:#fff!important}
html[data-neon-theme="dark"] :is(.desktop-nav,.ngh-ap-bottom-nav,.ngh-ap-navlinks,.nav-dark) a{color:#fff!important}
html[data-neon-theme="dark"] :is(button,.btn,.button){border-color:var(--neon-edge)}
/* Preserve promotional pictures and decorative gradients. */
html[data-neon-theme="dark"] img,html[data-neon-theme="dark"] video{filter:none!important}
/* Accessible floating control, positioned away from standard header buttons. */
.neon-theme-toggle{position:fixed;right:16px;bottom:18px;z-index:2147482500;display:inline-flex;align-items:center;gap:8px;padding:10px 14px;min-height:44px;border:1px solid rgba(255,122,0,.5);border-radius:999px;background:#11151b;color:#fff;font:600 13px/1.2 system-ui,-apple-system,Segoe UI,sans-serif;box-shadow:0 5px 22px rgba(0,0,0,.25);cursor:pointer}
.neon-theme-toggle:hover{box-shadow:0 5px 20px rgba(255,122,0,.22)}
.neon-theme-toggle:focus-visible{outline:3px solid #ff7a00;outline-offset:3px}
html[data-neon-theme="dark"] .neon-theme-toggle{background:#fff;color:#111;border-color:#ff7a00}
.neon-theme-toggle-icon{font-size:18px;line-height:1}
@media(max-width:640px){.neon-theme-toggle{right:12px;bottom:14px;padding:10px 12px}.neon-theme-toggle-label{font-size:12px}}
@media(prefers-reduced-motion:no-preference){.neon-theme-toggle{transition:box-shadow .2s,background .2s,color .2s}}
/* Header switch beside Account / Wishlist / Cart; floating is fallback only */
.neon-theme-toggle--header{position:relative!important;inset:auto!important;bottom:auto!important;right:auto!important;z-index:10!important;flex:0 0 auto!important;min-height:38px!important;padding:7px 10px!important;margin:0 10px 0 0!important;background:#fff!important;color:#111!important;border:1px solid #e3e3e3!important;box-shadow:none!important;border-radius:12px!important;white-space:nowrap!important;font-size:12px!important}
.neon-theme-toggle--header .neon-theme-toggle-icon{color:#ff7a00!important;font-size:20px!important}
html[data-neon-theme="dark"] .neon-theme-toggle--header{background:#222831!important;color:#fff!important;border-color:#444!important}
@media(max-width:640px){.neon-theme-toggle--header{padding:6px 7px!important;margin-right:5px!important;min-height:32px!important}.neon-theme-toggle--header .neon-theme-toggle-label{display:none!important}}
