/* ==========================================================================
   NEXUS Clean UI — GearVN-Style Light Storefront Edition (v1.6.0)
   - Clean white background (#ffffff / #f8fafc)
   - Single tech-blue accent (#2563eb)
   - GearVN-style top layout: enlarged Logo + 245px vertical categories + 4-PC Auto Slider
   - Wide sticky Black Friday side banners: 215px (>=1680px) | 180px (1480-1679px, 1120px core)
   - 100% layout & feature preservation across Desktop & Mobile
   ========================================================================== */

:root {
  --ncu-bg: #ffffff;
  --ncu-bg-subtle: #f8fafc;
  --ncu-bg-muted: #f1f5f9;
  --ncu-card: #ffffff;
  --ncu-border: #e2e8f0;
  --ncu-border-strong: #cbd5e1;
  --ncu-text: #0f172a;
  --ncu-text-secondary: #475569;
  --ncu-text-muted: #64748b;
  --ncu-accent: #2563eb;
  --ncu-accent-hover: #1d4ed8;
  --ncu-accent-soft: #eff6ff;
  --ncu-accent-border: #bfdbfe;
  --ncu-success: #16a34a;
  --ncu-danger: #dc2626;
  --ncu-danger-soft: #fef2f2;
  --ncu-danger-border: #fecaca;
  --ncu-font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ncu-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --ncu-shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --ncu-shadow-md: 0 12px 32px rgba(15, 23, 42, 0.12);
}

/* ── 1. Base Canvas & Neutral Light Surfaces ─────────────────────────────── */
html,
html.dark,
html body,
html body.nexus-clean-ui,
html body main.bg-surface {
  background: var(--ncu-bg) !important;
  background-color: var(--ncu-bg) !important;
  background-image: none !important;
  color: var(--ncu-text) !important;
  font-family: var(--ncu-font-sans) !important;
  -webkit-font-smoothing: antialiased;
}

/* Semantic surface overrides from theme's compiled dark Tailwind classes */
body .bg-surface,
body .bg-surface\/95 {
  background-color: var(--ncu-bg) !important;
  background-image: none !important;
}

body .bg-surface-container-low,
body .bg-surface-container-lowest,
body .bg-surface-container-lowest\/80 {
  background-color: var(--ncu-bg-subtle) !important;
  background-image: none !important;
}

body .bg-surface-container,
body .bg-surface-container\/95 {
  background-color: var(--ncu-card) !important;
  background-image: none !important;
}

body .bg-surface-container-high,
body .bg-surface-container-high\/70,
body .bg-surface-container-high\/95,
body .hover\:bg-surface-container-high:hover,
body .hover\:bg-surface-bright:hover,
body .bg-surface-variant {
  background-color: var(--ncu-bg-muted) !important;
  background-image: none !important;
}

body .hover\:bg-surface-container:hover {
  background-color: var(--ncu-bg-subtle) !important;
}

/* Keep alternating homepage sections subtly separated (scoped to new .ncu-main-column DOM) */
body.home {
  background-color: var(--ncu-bg-subtle) !important;
}

body.home main.bg-surface {
  background-color: var(--ncu-bg-subtle) !important;
}

body.home .ncu-main-column > section#catalog {
  background-color: var(--ncu-bg) !important;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding-top: 20px !important;
  padding-bottom: 28px !important;
  margin-bottom: 20px;
}

body.home .ncu-main-column > section#catalog > .max-w-\[1440px\] {
  padding-left: 18px !important;
  padding-right: 18px !important;
}

body.home .ncu-main-column > section:not(#ncu-hero):not(#catalog) {
  background-color: var(--ncu-bg) !important;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  margin-bottom: 20px;
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}

body.home .ncu-main-column > section:not(#ncu-hero):not(#catalog) > .max-w-\[1440px\] {
  padding-left: 18px !important;
  padding-right: 18px !important;
}

/* Global 1200px Container Alignment (Header, Main, Footer share exact vertical axes) */
header.nexus-site-header > div.max-w-\[1440px\],
main .max-w-\[1440px\],
footer:not(.nxai-footer) > div.max-w-\[1440px\],
.ncu-container {
  max-width: 1200px !important;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  box-sizing: border-box;
}

/* Medium-Wide Desktop (1480px - 1679px, incl. 1920px @ 125% = 1536px): 1120px core + two 180px banners */
@media (min-width: 1480px) and (max-width: 1679px) {
  body.home header.nexus-site-header > div.max-w-\[1440px\],
  body.home .ncu-container,
  body.home footer:not(.nxai-footer) > div.max-w-\[1440px\] {
    max-width: min(1120px, calc(100vw - 396px)) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Wide Desktop (>= 1680px): 1200px core + two 215px banners */
@media (min-width: 1680px) {
  header.nexus-site-header > div.max-w-\[1440px\],
  body.home .ncu-container,
  footer:not(.nxai-footer) > div.max-w-\[1440px\] {
    max-width: 1200px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Borders: crisp thin light dividers */
body .border-outline-variant,
body .border-outline-variant\/20,
body .border-outline-variant\/30,
body .border-outline-variant\/40,
body .border-outline-variant\/50,
body .border-outline-variant\/60,
body .border-secondary-container,
body .border-secondary-container\/30,
body .border-secondary-container\/35,
body .border-secondary-container\/40,
body .border-primary-container\/20 {
  border-color: var(--ncu-border) !important;
}

body .hover\:border-primary-container:hover,
body .hover\:border-primary-container\/60:hover,
body .hover\:border-secondary-container:hover,
body .hover\:border-secondary-container\/60:hover {
  border-color: var(--ncu-border-strong) !important;
}

/* Remove ALL neon glow shadows, decorative blurs, and pulsing dots */
body .shadow-cyan-glow,
body .shadow-orange-glow,
body .shadow-primary-container\/20 {
  box-shadow: none !important;
}

body .shadow-md,
body .shadow-lg,
body .shadow-xl,
body .shadow-2xl {
  box-shadow: var(--ncu-shadow-xs) !important;
}

body main .blur-3xl.pointer-events-none,
body main .animate-pulse {
  display: none !important;
}

/* Neutral Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--ncu-bg-subtle) !important;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1 !important;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8 !important;
}

/* ── 2. Typography & Text Hierarchy (Natural Sentence Case) ──────────────── */
body .text-on-surface {
  color: var(--ncu-text) !important;
}

body .text-on-surface-variant {
  color: var(--ncu-text-secondary) !important;
}

body .text-outline {
  color: var(--ncu-text-muted) !important;
}

/* Replace cyan & orange accent texts with single tech-blue accent */
body .text-primary,
body .text-primary-container,
body .text-secondary,
body .text-secondary-container {
  color: var(--ncu-accent) !important;
}

body .hover\:text-primary:hover,
body .hover\:text-primary-container:hover,
body .group:hover .group-hover\:text-primary-container {
  color: var(--ncu-accent) !important;
}

body .hover\:text-on-surface:hover {
  color: var(--ncu-text) !important;
}

body .text-emerald-400 {
  color: var(--ncu-success) !important;
}

body .text-error {
  color: var(--ncu-danger) !important;
}

/* Soften AI-style ALL-CAPS + wide monospace tracking */
body .font-badge-mono,
body .font-spec-label {
  font-family: var(--ncu-font-sans) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

body .font-spec-price {
  font-family: var(--ncu-font-sans) !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

body h1.uppercase,
body h2.uppercase,
body h3.uppercase,
body span.uppercase,
body label.uppercase,
body button.uppercase,
body a.uppercase {
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Clean links (override neon cyan/pink links) */
body a {
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

/* ── 3. Single Tech-Blue Accent Buttons & Soft Tinted Badges ─────────────── */
body .bg-primary,
body .bg-primary-container,
body .bg-secondary-container {
  background: var(--ncu-accent) !important;
  background-color: var(--ncu-accent) !important;
  background-image: none !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body .bg-primary:hover,
body .bg-primary-container:hover,
body .bg-secondary-container:hover,
body .hover\:bg-primary:hover,
body .hover\:bg-primary-container:hover,
body .hover\:bg-primary-fixed:hover,
body .hover\:bg-primary-fixed-dim:hover,
body .hover\:bg-secondary:hover {
  background: var(--ncu-accent-hover) !important;
  background-color: var(--ncu-accent-hover) !important;
  background-image: none !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body .text-on-primary,
body .text-on-primary-container,
body .text-on-secondary-container,
body .hover\:text-on-primary-container:hover {
  color: #ffffff !important;
}

/* Soft tinted pill tags (Hero badge, Lab tier badge, Compatibility box) */
body .bg-primary-container\/15,
body .bg-primary-container\/10,
body .bg-secondary-container\/15 {
  background: var(--ncu-accent-soft) !important;
  background-color: var(--ncu-accent-soft) !important;
  color: var(--ncu-accent) !important;
  border: 1px solid #dbeafe !important;
}

/* Exception: interactive buttons using bg-primary-container/15 should stay clean flat accent */
body button.bg-primary-container\/15,
body a.bg-primary-container\/15 {
  background-color: var(--ncu-accent-soft) !important;
  color: var(--ncu-accent) !important;
  border: 1px solid var(--ncu-accent-border) !important;
}

body button.bg-primary-container\/15:hover,
body a.bg-primary-container\/15:hover {
  background-color: var(--ncu-accent) !important;
  color: #ffffff !important;
  border-color: var(--ncu-accent) !important;
}

/* Ensure secondary / neutral buttons never inherit neon gradients */
body button,
body .button {
  background-image: none;
}

/* ── 4. Header, Enlarged Light Brand Lockup, Centered Search & Right Toolbar */
html body header.nexus-site-header {
  background: rgba(255, 255, 255, 0.98) !important;
  background-image: none !important;
  border-bottom: 1px solid #e5e7eb !important;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

header.nexus-site-header > div {
  height: 64px !important;
  gap: 12px !important;
  overflow: visible !important;
}

@media (min-width: 1024px) {
  header.nexus-site-header > div {
    height: 72px !important;
    gap: 20px !important;
  }

  body main.pt-16 {
    padding-top: 72px !important;
  }
}

/* Hide legacy mid-header 6-item text nav on desktop so Search centers cleanly (GearVN pattern) */
header.nexus-site-header > div > nav {
  display: none !important;
}

/* Enlarged Light-Mode Brand Lockup (LPK Emblem + Crisp Bold Typography) */
header.nexus-site-header > div > a:first-child {
  max-width: 320px !important;
  overflow: visible !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}

.ncu-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.ncu-brand-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 47px;
  height: 50px;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.16s ease;
}

a:hover .ncu-brand-emblem {
  transform: translateY(-1px);
}

.ncu-brand-emblem-img {
  display: block !important;
  height: 50px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain !important;
}

.ncu-brand-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

.ncu-brand-name {
  font-family: var(--ncu-font-sans);
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.05;
  white-space: nowrap;
}

.ncu-brand-pc {
  background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ncu-brand-tagline {
  font-family: var(--ncu-font-sans);
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.08em;
  line-height: 1.1;
  white-space: nowrap;
  text-transform: uppercase;
}

.ncu-brand-lockup--footer .ncu-brand-emblem {
  width: 43px;
  height: 46px;
}

.ncu-brand-lockup--footer .ncu-brand-emblem-img {
  height: 46px !important;
}

.ncu-brand-lockup--footer .ncu-brand-name {
  font-size: 20px;
}

.ncu-brand-lockup--footer .ncu-brand-tagline {
  font-size: 10.5px;
}

.ncu-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--ncu-accent);
  border: 1px solid var(--ncu-accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.24);
  transition: transform 0.16s ease, background-color 0.16s ease;
}

a:hover .ncu-brand-mark {
  background: var(--ncu-accent-hover);
  transform: translateY(-1px);
}

.ncu-brand-mark .material-symbols-outlined {
  font-size: 25px;
  color: #ffffff !important;
}

.ncu-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ncu-brand-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--ncu-text);
  letter-spacing: -0.03em;
  white-space: nowrap;
  line-height: 1.1;
}

.ncu-brand-accent {
  color: var(--ncu-accent);
}

.ncu-brand-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ncu-text-muted);
  white-space: nowrap;
  margin-top: 2px;
}

/* Footer synchronized Brand Lockup */
.ncu-footer-brand-link {
  display: inline-block;
  margin-bottom: 14px;
  text-decoration: none !important;
}

.ncu-brand-lockup--footer .ncu-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 9px;
}

.ncu-brand-lockup--footer .ncu-brand-mark .material-symbols-outlined {
  font-size: 22px;
}

.ncu-brand-lockup--footer .ncu-brand-title {
  font-size: 19px;
}

.ncu-brand-lockup--footer .ncu-brand-sub {
  font-size: 11px;
}

/* Header Search Input — Centered & Spacious on Desktop */
header.nexus-site-header form[role="search"] {
  flex: 1 1 auto !important;
  max-width: 440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

header.nexus-site-header form[role="search"] input[type="search"] {
  height: 42px !important;
  background-color: var(--ncu-bg-subtle) !important;
  color: var(--ncu-text) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 9px !important;
  padding-left: 38px !important;
  padding-right: 14px !important;
  font-size: 13.5px !important;
  box-shadow: none !important;
}

header.nexus-site-header form[role="search"] .material-symbols-outlined {
  left: 11px !important;
  font-size: 20px !important;
  color: var(--ncu-text-muted) !important;
}

header.nexus-site-header form[role="search"] input[type="search"]::placeholder {
  color: var(--ncu-text-muted) !important;
}

header.nexus-site-header form[role="search"] input[type="search"]:focus {
  background-color: #ffffff !important;
  border-color: var(--ncu-accent) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

/* Header Action Buttons — Uniform 40px Height & Straight Alignment */
header.nexus-site-header > div > div:last-child {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

header.nexus-site-header a[href*="lien-he"],
header.nexus-site-header a[href^="tel:"],
header.nexus-site-header a.ncu-header-track-btn {
  height: 40px !important;
  padding: 0 12px !important;
  background-color: var(--ncu-bg-subtle) !important;
  border: 1px solid #e5e7eb !important;
  color: var(--ncu-text) !important;
  border-radius: 8px !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

header.nexus-site-header a.ncu-header-track-btn {
  display: inline-flex;
}

header.nexus-site-header a.ncu-header-track-btn .material-symbols-outlined {
  font-size: 18px !important;
  color: var(--ncu-accent) !important;
}

header.nexus-site-header a[href*="lien-he"]:hover,
header.nexus-site-header a[href^="tel:"]:hover,
header.nexus-site-header a.ncu-header-track-btn:hover {
  background-color: var(--ncu-accent-soft) !important;
  border-color: var(--ncu-accent-border) !important;
  color: var(--ncu-accent) !important;
}

@media (max-width: 767px) {
  header.nexus-site-header a.ncu-header-track-btn {
    display: none !important;
  }
}

header.nexus-site-header button#nexus-open-cart {
  width: 42px !important;
  height: 40px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--ncu-bg-subtle) !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  color: var(--ncu-text) !important;
  box-shadow: none !important;
}

header.nexus-site-header button#nexus-open-cart:hover {
  background: var(--ncu-accent-soft) !important;
  border-color: var(--ncu-accent-border) !important;
  color: var(--ncu-accent) !important;
}

header.nexus-site-header #nexus-cart-badge {
  top: -5px !important;
  right: -5px !important;
  background-color: var(--ncu-accent) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  box-shadow: 0 0 0 2px #ffffff !important;
}

header.nexus-site-header a[aria-label*="Tài khoản"] {
  width: 40px !important;
  height: 40px !important;
  border-radius: 8px !important;
  background-color: var(--ncu-bg-subtle) !important;
  color: var(--ncu-text-secondary) !important;
  border: 1px solid #e5e7eb !important;
}

header.nexus-site-header a[aria-label*="Tài khoản"]:hover {
  background-color: var(--ncu-accent-soft) !important;
  color: var(--ncu-accent) !important;
  border-color: var(--ncu-accent-border) !important;
}

header.nexus-site-header button#nexus-mobile-menu-btn {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  background: var(--ncu-bg-subtle) !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  color: var(--ncu-text) !important;
  box-shadow: none !important;
}

header.nexus-site-header button#nexus-mobile-menu-btn:hover {
  background: var(--ncu-bg-muted) !important;
  border-color: var(--ncu-border-strong) !important;
}

@media (min-width: 1024px) {
  header.nexus-site-header button#nexus-mobile-menu-btn {
    display: none !important;
  }
}

/* Slim Inner-Page Sub-Navigation Strip (non-sticky, desktop only) */
.ncu-subnav {
  display: none;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 1024px) {
  .ncu-subnav {
    display: block;
  }
}

.ncu-subnav-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
}

.ncu-subnav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ncu-text-secondary) !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.ncu-subnav-link .material-symbols-outlined {
  font-size: 16px;
  color: var(--ncu-text-muted);
}

.ncu-subnav-link:hover {
  background: var(--ncu-accent-soft);
  color: var(--ncu-accent) !important;
}

.ncu-subnav-link:hover .material-symbols-outlined,
.ncu-subnav-link.is-active .material-symbols-outlined {
  color: var(--ncu-accent);
}

.ncu-subnav-link.is-active {
  background: var(--ncu-accent-soft);
  color: var(--ncu-accent) !important;
  font-weight: 600;
}

/* Mobile Menu Drawer */
#nexus-mobile-menu {
  background-color: #ffffff !important;
  border-top: 1px solid var(--ncu-border) !important;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08) !important;
}

#nexus-mobile-menu nav a {
  background-color: var(--ncu-bg-subtle) !important;
  border-color: var(--ncu-border) !important;
  color: var(--ncu-text) !important;
}

#nexus-mobile-menu nav a.border-primary-container {
  background-color: var(--ncu-accent-soft) !important;
  border-color: var(--ncu-accent-border) !important;
  color: var(--ncu-accent) !important;
}

/* ── 5. GearVN-Style Homepage Shell, Wide Sticky Black Friday Rails & 4-PC Slider */
.ncu-page-shell {
  width: 100%;
  display: block;
}

.ncu-main-column {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.ncu-side-rail {
  display: none !important;
}

/* Tier 1: Medium-Wide Screens (1480px - 1679px, e.g. Full HD 1920px @ 125% = 1536px) */
@media (min-width: 1480px) and (max-width: 1679px) {
  .ncu-page-shell {
    display: grid;
    grid-template-columns: 180px minmax(0, min(1120px, calc(100vw - 396px))) 180px;
    justify-content: center;
    column-gap: 10px;
    align-items: stretch;
  }

  .ncu-main-column {
    max-width: 1120px;
    padding: 0;
  }

  .ncu-side-rail {
    display: block !important;
    padding-top: 16px;
    padding-bottom: 24px;
  }

  .ncu-side-sticky {
    position: sticky;
    top: 88px;
    width: 180px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
  }

  body.admin-bar .ncu-side-sticky {
    top: 120px;
  }
}

/* Tier 2: Wide Desktop (>= 1680px): 1200px Core + Two 215px Sticky Banners */
@media (min-width: 1680px) {
  .ncu-page-shell {
    display: grid;
    grid-template-columns: 215px minmax(0, 1200px) 215px;
    justify-content: center;
    column-gap: 12px;
    align-items: stretch;
  }

  .ncu-main-column {
    max-width: 1200px;
    padding: 0;
  }

  .ncu-side-rail {
    display: block !important;
    padding-top: 16px;
    padding-bottom: 24px;
  }

  .ncu-side-sticky {
    position: sticky;
    top: 88px;
    width: 215px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
  }

  body.admin-bar .ncu-side-sticky {
    top: 120px;
  }
}

/* Full-frame Custom Poster Mode (when image_only is checked in WP Admin) */
.ncu-bf-img-link {
  display: block;
  width: 100%;
  border-radius: inherit;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.ncu-bf-img-link:hover {
  transform: translateY(-2px);
}

.ncu-bf-custom-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

/* Rich Visual Black Friday Side Banner (180px / 215px responsive) */
.ncu-bf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  width: 100%;
  padding: 14px 12px 14px;
  border-radius: inherit;
  border: 1px solid rgba(59, 130, 246, 0.42);
  background: linear-gradient(168deg, #090e1a 0%, #111c3d 48%, #1d4ed8 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  overflow: hidden;
  box-sizing: border-box;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ncu-bf-card--right {
  background: linear-gradient(168deg, #090e1a 0%, #172554 46%, #2563eb 100%);
}

.ncu-bf-card:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, 0.72);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.34);
}

.ncu-bf-glow {
  position: absolute;
  top: -42px;
  right: -42px;
  width: 140px;
  height: 140px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.38) 0%, transparent 72%);
  pointer-events: none;
}

.ncu-bf-top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.ncu-bf-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #facc15 0%, #fde047 100%);
  color: #0f172a;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(250, 204, 21, 0.32);
}

.ncu-bf-badge .material-symbols-outlined {
  font-size: 14px;
  color: #0f172a !important;
}

.ncu-bf-brand {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #93c5fd;
}

/* Framed Hardware Graphic + High-Contrast -30% Burst */
.ncu-bf-visual {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(147, 197, 253, 0.28);
  background: #0b1120;
  margin-bottom: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.ncu-bf-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ncu-bf-card:hover .ncu-bf-visual-img {
  transform: scale(1.06);
}

.ncu-bf-discount-pill {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 7px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border: 1px solid rgba(254, 226, 226, 0.55);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.55);
}

.ncu-bf-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}

.ncu-bf-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.28;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.ncu-bf-sub {
  font-size: 11.5px;
  line-height: 1.45;
  color: #dbeafe;
}

.ncu-bf-cta {
  position: relative;
  z-index: 1;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #ffffff;
  color: #1d4ed8;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.22);
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.ncu-bf-cta .material-symbols-outlined {
  font-size: 15px;
  color: #1d4ed8 !important;
}

.ncu-bf-card:hover .ncu-bf-cta {
  background: #facc15;
  color: #0f172a;
}

.ncu-bf-card:hover .ncu-bf-cta .material-symbols-outlined {
  color: #0f172a !important;
}

@media (min-width: 1680px) {
  .ncu-bf-card {
    padding: 16px 14px 16px;
  }

  .ncu-bf-discount-pill {
    font-size: 17px;
    padding: 5px 11px;
  }

  .ncu-bf-title {
    font-size: 16.5px;
  }

  .ncu-bf-sub {
    font-size: 12px;
  }

  .ncu-bf-cta {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* GearVN-style 2-Column Hero Section */
.ncu-hero-section {
  width: 100%;
  padding: 16px 0 16px !important;
  background: transparent !important;
}

.ncu-hero-section > .ncu-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ncu-hero-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 1024px) {
  .ncu-hero-grid {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
  }
}

/* Left Column: Vertical 9-Category Sidebar (Desktop) & Dropdown (Mobile/Tablet) */
.ncu-cat-sidebar {
  position: relative;
  z-index: 25;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: var(--ncu-shadow-xs);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .ncu-cat-sidebar {
    overflow: visible;
  }
}

.ncu-cat-heading {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 9px 9px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.ncu-cat-heading .material-symbols-outlined {
  font-size: 18px;
  color: var(--ncu-accent);
}

.ncu-cat-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  background: #ffffff;
  border: none;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ncu-cat-toggle-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ncu-cat-toggle-left .material-symbols-outlined {
  font-size: 20px;
  color: var(--ncu-accent);
}

.ncu-cat-toggle-arrow {
  font-size: 20px;
  color: var(--ncu-text-muted);
  transition: transform 0.2s ease;
}

.ncu-cat-sidebar.is-open .ncu-cat-toggle-arrow {
  transform: rotate(180deg);
}

.ncu-cat-list {
  list-style: none;
  margin: 0;
  padding: 8px;
  display: none;
  border-top: 1px solid #e5e7eb;
}

.ncu-cat-sidebar.is-open .ncu-cat-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

@media (max-width: 440px) {
  .ncu-cat-sidebar.is-open .ncu-cat-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .ncu-cat-toggle {
    display: none;
  }

  .ncu-cat-heading {
    display: flex;
  }

  .ncu-cat-list {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 2px;
    padding: 6px;
    border-top: none;
  }
}

.ncu-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 6.5px 10px;
  border-radius: 7px;
  color: #1e293b !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.28;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.ncu-cat-item-left {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.ncu-cat-icon {
  font-size: 19px;
  color: #64748b;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.ncu-cat-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ncu-cat-chevron {
  font-size: 17px;
  color: #94a3b8;
  flex-shrink: 0;
  transition: transform 0.15s ease, color 0.15s ease;
}

.ncu-cat-item:hover,
.ncu-cat-item.is-active {
  background-color: #eff6ff !important;
  color: #2563eb !important;
}

.ncu-cat-item:hover .ncu-cat-icon,
.ncu-cat-item:hover .ncu-cat-chevron,
.ncu-cat-item.is-active .ncu-cat-icon,
.ncu-cat-item.is-active .ncu-cat-chevron {
  color: #2563eb !important;
}

.ncu-cat-item:hover .ncu-cat-chevron,
.ncu-cat-item.is-active .ncu-cat-chevron {
  transform: translateX(2px);
}

/* Mega Flyout Menu Layer (Desktop >= 1024px, compact 440px floating popover leaving Hero Slider visible) */
.ncu-mega-container {
  display: none;
}

@media (min-width: 1024px) {
  .ncu-mega-container {
    display: block;
    position: absolute;
    top: 0;
    left: 261px;
    width: 440px;
    max-width: calc(100% - 261px);
    max-height: 100%;
    z-index: 35;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-6px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  }

  /* Invisible hover bridge spanning the 16px grid gap between sidebar & flyout */
  .ncu-mega-container::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -18px;
    width: 20px;
    background: transparent;
  }

  .ncu-mega-container.is-open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
}

.ncu-mega-panel {
  display: none;
  flex-direction: column;
  width: 100%;
  height: auto;
  max-height: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14), 0 2px 8px rgba(15, 23, 42, 0.06);
  padding: 12px 14px 14px;
  box-sizing: border-box;
  overflow-y: auto;
}

.ncu-mega-panel.is-active {
  display: flex;
}

.ncu-mega-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid #eef2f7;
}

.ncu-mega-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ncu-mega-title-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: var(--ncu-accent) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ncu-mega-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.ncu-mega-subtitle {
  display: none;
}

.ncu-mega-all-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 9px;
  border-radius: 6px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--ncu-accent) !important;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ncu-mega-all-link .material-symbols-outlined {
  font-size: 14px;
  color: inherit !important;
}

.ncu-mega-all-link:hover {
  background: var(--ncu-accent);
  border-color: var(--ncu-accent);
  color: #ffffff !important;
}

.ncu-mega-columns {
  display: grid;
  gap: 8px 10px;
  align-items: start;
  align-content: start;
}

.ncu-mega-columns--2,
.ncu-mega-columns--3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ncu-mega-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.ncu-mega-group-title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ncu-accent) !important;
  text-decoration: none !important;
  padding-bottom: 4px;
  border-bottom: 1px solid #e2e8f0;
  line-height: 1.3;
}

.ncu-mega-group-title:hover {
  color: var(--ncu-accent-hover) !important;
  text-decoration: underline !important;
}

.ncu-mega-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ncu-mega-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3.5px 5px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
  color: #334155 !important;
  text-decoration: none !important;
  line-height: 1.3;
  transition: background-color 0.14s ease, color 0.14s ease, padding-left 0.14s ease;
}

.ncu-mega-link:hover {
  background: #ffffff;
  color: var(--ncu-accent) !important;
  padding-left: 8px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

/* Right Column: Equal-Height 4-PC Auto-Playing Carousel */
.ncu-hero-banner,
.ncu-hero-slider {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background-color: #0f172a;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  aspect-ratio: 16 / 9;
  min-height: 225px;
  outline: none;
}

.ncu-hero-slider:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

@media (min-width: 1024px) {
  .ncu-hero-banner,
  .ncu-hero-slider {
    aspect-ratio: auto;
    height: 100%;
    min-height: 400px;
  }
}

.ncu-slider-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ncu-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  z-index: 0;
}

.ncu-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.ncu-slide-link {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  text-decoration: none !important;
  z-index: 1;
}

.ncu-slide-link:hover .ncu-hero-img {
  transform: scale(1.025);
}

.ncu-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  display: block;
  transform: scale(1.03);
  transition: transform 0.75s ease;
}

.ncu-slide.is-active .ncu-hero-img {
  transform: scale(1);
}

.ncu-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.05) 0%,
    rgba(15, 23, 42, 0.08) 54%,
    rgba(15, 23, 42, 0.8) 100%
  );
  pointer-events: none;
}

.ncu-hero-badge {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.ncu-hero-badge .material-symbols-outlined {
  font-size: 16px;
  color: var(--ncu-accent);
}

/* Subtle Frosted Prev / Next Slider Arrows */
.ncu-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.78;
  transition: opacity 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.ncu-hero-slider:hover .ncu-slider-arrow,
.ncu-slider-arrow:focus-visible {
  opacity: 1;
}

.ncu-slider-arrow:hover {
  background: var(--ncu-accent) !important;
  border-color: var(--ncu-accent) !important;
  transform: translateY(-50%) scale(1.06);
}

.ncu-slider-arrow .material-symbols-outlined {
  font-size: 22px;
  color: #ffffff !important;
}

.ncu-slider-arrow--prev {
  left: 12px;
}

.ncu-slider-arrow--next {
  right: 12px;
}

/* Bottom-Left 2 Action Buttons */
.ncu-hero-actions {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* Bottom-Right 4 Pagination Dots */
.ncu-slider-dots {
  position: absolute;
  right: 18px;
  bottom: 24px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ncu-slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.52) !important;
  cursor: pointer;
  transition: width 0.24s ease, background-color 0.2s ease;
}

.ncu-slider-dot:hover {
  background: rgba(255, 255, 255, 0.88) !important;
}

.ncu-slider-dot.is-active {
  width: 24px;
  background: #ffffff !important;
}

@media (max-width: 639px) {
  .ncu-slider-arrow {
    width: 30px;
    height: 30px;
  }

  .ncu-slider-arrow .material-symbols-outlined {
    font-size: 18px;
  }

  .ncu-slider-arrow--prev {
    left: 8px;
  }

  .ncu-slider-arrow--next {
    right: 8px;
  }

  .ncu-slider-dots {
    top: 10px;
    right: 10px;
    bottom: auto;
    padding: 4px 8px;
  }
}

.ncu-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  line-height: 1.25;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.ncu-hero-btn .material-symbols-outlined {
  font-size: 18px;
}

.ncu-hero-btn--primary {
  background: var(--ncu-accent) !important;
  border: 1px solid var(--ncu-accent) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.36);
}

.ncu-hero-btn--primary:hover {
  background: var(--ncu-accent-hover) !important;
  border-color: var(--ncu-accent-hover) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.ncu-hero-btn--secondary {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  color: #0f172a !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
}

.ncu-hero-btn--secondary .material-symbols-outlined {
  color: var(--ncu-accent) !important;
}

.ncu-hero-btn--secondary:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: var(--ncu-accent) !important;
  transform: translateY(-1px);
}

/* ── 5a. Prebuilt PC Showcase ("PC Văn phòng - PC Gaming") — Compact 5-Column Grid */
.ncu-prebuilt-section {
  background: #ffffff !important;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 18px 18px 22px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.ncu-prebuilt-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin-bottom: 16px;
}

.ncu-prebuilt-heading {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  color: var(--ncu-text);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.ncu-prebuilt-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.ncu-prebuilt-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ncu-prebuilt-tabs::-webkit-scrollbar {
  display: none;
}

.ncu-prebuilt-tab {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 34px;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid var(--ncu-border);
  background: #ffffff;
  color: var(--ncu-text-secondary);
  font-family: var(--ncu-font-sans);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ncu-prebuilt-tab:hover {
  background: var(--ncu-bg-muted);
  color: var(--ncu-text);
  border-color: var(--ncu-border-strong);
}

.ncu-prebuilt-tab.is-active {
  background: var(--ncu-accent) !important;
  color: #ffffff !important;
  border-color: var(--ncu-accent) !important;
  font-weight: 600;
}

.ncu-prebuilt-all-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ncu-accent) !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.ncu-prebuilt-all-link .material-symbols-outlined {
  font-size: 16px;
}

.ncu-prebuilt-all-link:hover {
  text-decoration: underline !important;
}

.ncu-prebuilt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 640px) {
  .ncu-prebuilt-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 1024px) {
  .ncu-prebuilt-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }
}

.ncu-prebuilt-card {
  background: #ffffff;
  border: 1px solid var(--ncu-border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: var(--ncu-shadow-xs);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ncu-prebuilt-card:hover {
  border-color: var(--ncu-border-strong);
  box-shadow: var(--ncu-shadow-sm);
  transform: translateY(-2px);
}

.ncu-prebuilt-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 145px;
  margin: 8px 8px 0;
  padding: 8px;
  border-radius: 7px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  overflow: hidden;
  box-sizing: border-box;
}

.ncu-prebuilt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.28s ease;
}

.ncu-prebuilt-card:hover .ncu-prebuilt-thumb img {
  transform: scale(1.04);
}

.ncu-prebuilt-discount {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--ncu-danger-soft);
  color: var(--ncu-danger);
  border: 1px solid var(--ncu-danger-border);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
}

.ncu-prebuilt-body {
  padding: 9px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.ncu-prebuilt-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.36;
  color: var(--ncu-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 35px;
}

.ncu-prebuilt-title a {
  color: inherit !important;
  text-decoration: none !important;
}

.ncu-prebuilt-card:hover .ncu-prebuilt-title a {
  color: var(--ncu-accent) !important;
}

.ncu-prebuilt-spec {
  font-size: 11px;
  font-weight: 500;
  color: var(--ncu-text-secondary);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 4px 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
}

.ncu-prebuilt-footer {
  padding: 8px 10px 10px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.ncu-prebuilt-price-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.ncu-prebuilt-price {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ncu-text);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  white-space: nowrap;
}

.ncu-prebuilt-strike {
  font-size: 11px;
  color: #94a3b8;
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  white-space: nowrap;
}

.ncu-prebuilt-add-btn {
  flex-shrink: 0;
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--ncu-accent) !important;
  border: 1px solid var(--ncu-accent) !important;
  color: #ffffff !important;
  font-family: var(--ncu-font-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ncu-prebuilt-add-btn:hover {
  background: var(--ncu-accent-hover) !important;
  border-color: var(--ncu-accent-hover) !important;
  color: #ffffff !important;
}

/* Homepage "Sản phẩm nổi bật" Header Polish & Tighter Vertical Spacing */
body.home section#catalog > div > div:first-child {
  margin-bottom: 14px !important;
}

body.home section#catalog > div > div:first-child span.font-badge-mono {
  display: none !important;
}

body.home section#catalog > div > div:first-child h2 {
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin-top: 0 !important;
}

/* Homepage Filter Tabs (#nexus-home-tabs): Strictly 1 Single Horizontal Row */
body.home #nexus-home-tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  overflow-x: auto !important;
  gap: 6px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 18px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 4px !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.home #nexus-home-tabs::-webkit-scrollbar {
  display: none;
}

/* Catalog Filter Tabs (#nexus-home-tabs) */
#nexus-home-tabs button.nexus-cat-tab {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  min-height: 36px !important;
  padding: 6px 10px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: var(--ncu-text-secondary) !important;
  border: 1px solid var(--ncu-border) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-weight: 500 !important;
  font-size: 12.5px !important;
  line-height: 1.25 !important;
}

#nexus-home-tabs button.nexus-cat-tab:hover {
  background-color: var(--ncu-bg-muted) !important;
  color: var(--ncu-text) !important;
  border-color: var(--ncu-border-strong) !important;
}

#nexus-home-tabs button.nexus-cat-tab.bg-primary-container {
  background: var(--ncu-accent) !important;
  background-color: var(--ncu-accent) !important;
  color: #ffffff !important;
  border-color: var(--ncu-accent) !important;
  font-weight: 600 !important;
}

/* ── 5b. Product Category & Shop Archives: Clean Breadcrumb, Zero Category Wall & 5-Column Grid */
body.archive.woocommerce main section > div.nexus-scrollbar-hide {
  display: none !important;
}

.ncu-archive-section {
  padding-top: 20px !important;
  padding-bottom: 40px !important;
}

.ncu-breadcrumb {
  margin-bottom: 10px;
}

.ncu-breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ncu-text-muted);
}

.ncu-breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.ncu-breadcrumb-link {
  color: var(--ncu-text-secondary) !important;
  text-decoration: none !important;
  font-weight: 500;
}

.ncu-breadcrumb-link:hover {
  color: var(--ncu-accent) !important;
  text-decoration: underline !important;
}

.ncu-breadcrumb-sep {
  color: #94a3b8;
  user-select: none;
}

.ncu-breadcrumb-current {
  color: var(--ncu-text);
  font-weight: 600;
}

.ncu-archive-section > div:first-of-type {
  margin-bottom: 20px !important;
  padding-bottom: 14px !important;
  gap: 12px !important;
}

.ncu-archive-section > div:first-of-type h1 {
  font-size: 24px !important;
  line-height: 1.25 !important;
  margin-top: 0 !important;
  letter-spacing: -0.02em;
}

.ncu-archive-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

@media (min-width: 640px) {
  .ncu-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

@media (min-width: 1024px) {
  .ncu-archive-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

/* 5-Column Card Density Tuning (Crisp Proportions Inside 1200px Container) */
.ncu-archive-grid article.nexus-product-card > div > a.block.relative {
  height: 168px !important;
  margin: 8px 8px 0 !important;
  padding: 10px !important;
}

.ncu-archive-grid article.nexus-product-card > div > div.p-4 {
  padding: 10px 12px 8px !important;
  gap: 6px !important;
}

.ncu-archive-grid article.nexus-product-card > div > div.p-4 > div:first-child > span:first-child,
.ncu-archive-grid article.nexus-product-card > div > div.p-4 > div:first-child > span.text-emerald-400 {
  font-size: 11px !important;
}

.ncu-archive-grid article.nexus-product-card h3 {
  font-size: 13.5px !important;
  line-height: 1.38 !important;
  min-height: 37px !important;
}

.ncu-archive-grid article.nexus-product-card > div > div.p-4 > div.flex.flex-wrap.gap-1 > span {
  font-size: 11.5px !important;
  line-height: 1.4 !important;
}

.ncu-archive-grid article.nexus-product-card > div.px-4.pb-4 {
  padding: 10px 12px 12px !important;
  gap: 8px !important;
}

.ncu-archive-grid article.nexus-product-card .font-spec-price {
  font-size: 15.5px !important;
}

.ncu-archive-grid article.nexus-product-card .line-through {
  font-size: 11.5px !important;
}

.ncu-archive-grid article.nexus-product-card button.nexus-quick-add,
.ncu-archive-grid article.nexus-product-card > div.px-4.pb-4 > a {
  min-height: 36px !important;
  padding: 7px 10px !important;
  font-size: 12.5px !important;
}

@media (max-width: 639px) {
  .ncu-archive-section > div:first-of-type h1 {
    font-size: 20px !important;
  }

  .ncu-archive-grid article.nexus-product-card > div > a.block.relative {
    height: 140px !important;
    margin: 6px 6px 0 !important;
    padding: 8px !important;
  }

  .ncu-archive-grid article.nexus-product-card > div > div.p-4 {
    padding: 8px 10px 6px !important;
  }

  .ncu-archive-grid article.nexus-product-card h3 {
    font-size: 12.5px !important;
    min-height: 34px !important;
  }

  .ncu-archive-grid article.nexus-product-card > div.px-4.pb-4 {
    padding: 8px 10px 10px !important;
  }

  .ncu-archive-grid article.nexus-product-card .font-spec-price {
    font-size: 14px !important;
  }

  .ncu-archive-grid article.nexus-product-card button.nexus-quick-add,
  .ncu-archive-grid article.nexus-product-card > div.px-4.pb-4 > a {
    min-height: 34px !important;
    padding: 6px 8px !important;
    font-size: 12px !important;
  }
}

/* Lab Pricing Section Cards */
main .border-2.border-secondary-container {
  border: 1.5px solid var(--ncu-accent) !important;
  box-shadow: var(--ncu-shadow-sm) !important;
}

main section .font-spec-price.text-secondary-container {
  color: var(--ncu-text) !important;
  font-weight: 700 !important;
}

/* ── 6. Product Cards — Natural Hardware Store Aesthetic ─────────────────── */
article.nexus-product-card {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid var(--ncu-border) !important;
  border-radius: 10px !important;
  box-shadow: var(--ncu-shadow-xs) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

article.nexus-product-card:hover {
  border-color: var(--ncu-border-strong) !important;
  box-shadow: var(--ncu-shadow-sm) !important;
}

/* Clean White Product Image Frame (Seamless for White-Background Hardware Photos) */
article.nexus-product-card > div > a.block.relative {
  background-color: #ffffff !important;
  height: 204px !important;
  margin: 10px 10px 0 !important;
  padding: 12px !important;
  border-radius: 8px !important;
  border: 1px solid #f1f5f9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

article.nexus-product-card > div > a.block.relative img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transition: transform 0.28s ease !important;
}

article.nexus-product-card:hover > div > a.block.relative img {
  transform: scale(1.03) !important;
}

/* Hide hyped AI English badges ("BEST BUDGET 1080P", "FLAGSHIP GPU", etc.) */
article.nexus-product-card > div > a.block.relative > div.absolute.top-3.left-3 > span.bg-primary-container,
#nexus-main-product-img + span.bg-primary-container {
  display: none !important;
}

/* Hide bottom-left uppercase category subtitle overlay on thumbnail */
article.nexus-product-card > div > a.block.relative > span.absolute.bottom-2\.5.left-3 {
  display: none !important;
}

/* Clean compact discount tag (-12%) */
article.nexus-product-card > div > a.block.relative > div.absolute.top-3.left-3 {
  top: 8px !important;
  left: 8px !important;
  z-index: 2 !important;
}

article.nexus-product-card > div > a.block.relative > div.absolute.top-3.left-3 > span.bg-secondary-container {
  background-color: var(--ncu-danger-soft) !important;
  color: var(--ncu-danger) !important;
  border: 1px solid var(--ncu-danger-border) !important;
  border-radius: 5px !important;
  padding: 2px 7px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08) !important;
}

/* Card Body */
article.nexus-product-card > div > div.p-4 {
  padding: 12px 14px 10px !important;
  gap: 8px !important;
}

/* Brand & Stock Status Row */
article.nexus-product-card > div > div.p-4 > div:first-child {
  font-size: 12px !important;
}

article.nexus-product-card > div > div.p-4 > div:first-child > span:first-child {
  color: var(--ncu-text-muted) !important;
  font-weight: 600 !important;
  font-size: 11.5px !important;
}

article.nexus-product-card > div > div.p-4 > div:first-child > span.text-emerald-400 {
  color: var(--ncu-success) !important;
  font-weight: 500 !important;
  font-size: 11.5px !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

article.nexus-product-card > div > div.p-4 > div:first-child > span.text-emerald-400::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background-color: var(--ncu-success);
  display: inline-block;
}

/* Product Title (strict 2-line clamp, crisp dark slate) */
article.nexus-product-card h3 {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  line-height: 1.42 !important;
  min-height: 41px !important;
  color: var(--ncu-text) !important;
  margin: 0 !important;
}

article.nexus-product-card h3 a {
  color: inherit !important;
  text-decoration: none !important;
}

/* Technical Highlights: clean 2-3 muted lines instead of chunky monospace pills */
article.nexus-product-card > div > div.p-4 > div.flex.flex-wrap.gap-1 {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  margin-top: 2px !important;
}

article.nexus-product-card > div > div.p-4 > div.flex.flex-wrap.gap-1 > span {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: var(--ncu-text-muted) !important;
  font-family: var(--ncu-font-sans) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 6px !important;
}

article.nexus-product-card > div > div.p-4 > div.flex.flex-wrap.gap-1 > span::before {
  content: "•";
  color: #94a3b8;
  flex-shrink: 0;
}

/* Card Footer: Sharp Price + Flat Modern "+ Thêm vào giỏ" Button */
article.nexus-product-card > div.px-4.pb-4 {
  padding: 12px 14px 14px !important;
  border-top: 1px solid #f1f5f9 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
}

article.nexus-product-card > div.px-4.pb-4 > div:first-child {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

article.nexus-product-card .font-spec-price {
  color: var(--ncu-text) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

article.nexus-product-card .line-through {
  color: #94a3b8 !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
}

article.nexus-product-card button.nexus-quick-add,
article.nexus-product-card > div.px-4.pb-4 > a {
  width: 100% !important;
  min-height: 38px !important;
  padding: 8px 14px !important;
  border-radius: 7px !important;
  background: var(--ncu-accent) !important;
  background-color: var(--ncu-accent) !important;
  background-image: none !important;
  border: 1px solid var(--ncu-accent) !important;
  color: #ffffff !important;
  font-family: var(--ncu-font-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  transition: background-color 0.16s ease, border-color 0.16s ease !important;
}

article.nexus-product-card button.nexus-quick-add:hover,
article.nexus-product-card > div.px-4.pb-4 > a:hover {
  background: var(--ncu-accent-hover) !important;
  background-color: var(--ncu-accent-hover) !important;
  border-color: var(--ncu-accent-hover) !important;
  color: #ffffff !important;
}

article.nexus-product-card button.nexus-quick-add .material-symbols-outlined {
  display: none !important;
}

/* ── 7. Single Product Page ──────────────────────────────────────────────── */
#nexus-main-product-img {
  object-fit: contain !important;
  background-color: #ffffff !important;
  padding: 16px !important;
}

.nexus-gallery-thumb {
  background-color: #ffffff !important;
  padding: 4px !important;
  border-color: var(--ncu-border) !important;
}

.nexus-gallery-thumb img {
  object-fit: contain !important;
}

.nexus-gallery-thumb.border-primary-container,
.nexus-gallery-thumb:hover {
  border-color: var(--ncu-accent) !important;
}

/* Single product price */
section .font-spec-price.text-\[28px\] {
  color: var(--ncu-text) !important;
}

/* ── 8. Build PC Configurator & Lab Booking Form ─────────────────────────── */
#nexus-builder-slots .nexus-slot-row {
  background-color: #ffffff !important;
  border: 1px solid var(--ncu-border) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

#nexus-builder-slots .nexus-slot-row:hover {
  border-color: var(--ncu-border-strong) !important;
  background-color: #ffffff !important;
}

#nexus-builder-slots .nexus-slot-icon-wrap {
  background-color: var(--ncu-bg-subtle) !important;
  border: 1px solid var(--ncu-border) !important;
}

#nexus-builder-slots .nexus-slot-thumb {
  background-color: #ffffff !important;
  border: 1px solid var(--ncu-border) !important;
  padding: 3px !important;
}

#nexus-builder-slots .nexus-slot-thumb img {
  object-fit: contain !important;
}

#nexus-builder-slots .nexus-slot-price,
#nexus-total-price,
#nexus-mob-total {
  color: var(--ncu-text) !important;
}

#nexus-assembly-toggle {
  background-color: var(--ncu-accent) !important;
  border: none !important;
}

#nexus-assembly-knob {
  background-color: #ffffff !important;
}

#nexus-export-quote {
  background-color: #ffffff !important;
  border: 1px solid var(--ncu-border-strong) !important;
  color: var(--ncu-text) !important;
}

#nexus-export-quote:hover {
  background-color: var(--ncu-bg-subtle) !important;
}

/* Mobile Build PC Sticky Bar */
#nexus-mobile-build-bar {
  background-color: rgba(255, 255, 255, 0.97) !important;
  border-top: 1px solid var(--ncu-border) !important;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08) !important;
}

/* Build PC Component Picker Modal */
#nexus-picker-overlay {
  background-color: rgba(15, 23, 42, 0.5) !important;
}

#nexus-picker-modal > div.relative {
  background-color: #ffffff !important;
  border: 1px solid var(--ncu-border) !important;
  box-shadow: var(--ncu-shadow-md) !important;
}

#nexus-picker-close {
  background-color: var(--ncu-bg-subtle) !important;
  border: 1px solid var(--ncu-border) !important;
  color: var(--ncu-text-secondary) !important;
}

#nexus-picker-close:hover {
  background-color: var(--ncu-bg-muted) !important;
  color: var(--ncu-text) !important;
}

/* Lab Booking Form Pills & Inputs */
#nexus-lab-booking-form input[type="text"],
#nexus-lab-booking-form input[type="tel"],
#nexus-lab-booking-form select,
#nexus-modal-search,
main form input[type="search"] {
  background-color: #ffffff !important;
  color: var(--ncu-text) !important;
  border: 1px solid var(--ncu-border-strong) !important;
  border-radius: 8px !important;
}

#nexus-lab-booking-form input:focus,
#nexus-lab-booking-form select:focus,
#nexus-modal-search:focus,
main form input[type="search"]:focus {
  border-color: var(--ncu-accent) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
  outline: none !important;
}

#nexus-lab-booking-form button.nexus-date-pill,
#nexus-lab-booking-form button.nexus-time-pill {
  background-color: var(--ncu-bg-subtle) !important;
  color: var(--ncu-text-secondary) !important;
  border: 1px solid var(--ncu-border) !important;
  box-shadow: none !important;
}

#nexus-lab-booking-form button.nexus-date-pill.bg-secondary-container,
#nexus-lab-booking-form button.nexus-time-pill.bg-secondary-container {
  background-color: var(--ncu-accent) !important;
  color: #ffffff !important;
  border-color: var(--ncu-accent) !important;
}

#nexus-lab-booking-form input[type="radio"] {
  accent-color: var(--ncu-accent) !important;
}

/* ── 9. WooCommerce Cart, Checkout, Shop Pagination & Contact Page ───────── */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.wc-block-components-notice-banner {
  background-color: var(--ncu-bg-subtle) !important;
  color: var(--ncu-text) !important;
  border: 1px solid var(--ncu-border) !important;
  border-top: 3px solid var(--ncu-accent) !important;
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before {
  color: var(--ncu-accent) !important;
}

.woocommerce .woocommerce-error,
.wc-block-components-notice-banner.is-error {
  border-top-color: var(--ncu-danger) !important;
}

.woocommerce .woocommerce-error::before {
  color: var(--ncu-danger) !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single,
.nexus-wc-ordering select,
.nexus-single-atc select,
.nexus-single-atc input.qty,
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-block-components-textarea,
.wc-block-checkout textarea {
  background-color: #ffffff !important;
  color: var(--ncu-text) !important;
  border: 1px solid var(--ncu-border-strong) !important;
  border-radius: 8px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--ncu-text) !important;
}

.select2-dropdown {
  background-color: #ffffff !important;
  border-color: var(--ncu-border-strong) !important;
  color: var(--ncu-text) !important;
}

.select2-results__option--highlighted[aria-selected] {
  background-color: var(--ncu-accent) !important;
  color: #ffffff !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.wc-block-checkout input:focus,
.wc-block-checkout select:focus,
.wc-block-checkout textarea:focus {
  border-color: var(--ncu-accent) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

.woocommerce form .form-row label,
.wc-block-components-text-input label,
.wc-block-checkout label {
  color: var(--ncu-text-secondary) !important;
  font-family: var(--ncu-font-sans) !important;
  font-weight: 500 !important;
}

.wc-block-components-text-input.is-active label,
.wc-block-components-text-input:focus-within label {
  color: var(--ncu-accent) !important;
}

/* WooCommerce Primary Buttons (Flat Tech Blue, No Glow) */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt,
.woocommerce #place_order,
.nexus-single-atc button.single_add_to_cart_button,
.wc-block-components-button.wp-element-button,
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button {
  background: var(--ncu-accent) !important;
  background-color: var(--ncu-accent) !important;
  background-image: none !important;
  color: #ffffff !important;
  border: 1px solid var(--ncu-accent) !important;
  border-radius: 8px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-family: var(--ncu-font-sans) !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce #place_order:hover,
.nexus-single-atc button.single_add_to_cart_button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-cart__submit-button:hover {
  background: var(--ncu-accent-hover) !important;
  background-color: var(--ncu-accent-hover) !important;
  border-color: var(--ncu-accent-hover) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.woocommerce #customer_details,
.woocommerce #order_review_heading,
.woocommerce #order_review,
.wc-block-checkout,
.wc-block-cart,
.wc-block-components-panel__button,
.wc-block-components-radio-control__option,
.wc-block-components-totals-item,
.wc-block-components-product-name,
.wc-block-components-formatted-money-amount {
  color: var(--ncu-text) !important;
}

.woocommerce #order_review_heading {
  color: var(--ncu-text) !important;
}

.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-checkout #payment,
.wc-block-checkout__sidebar,
.wc-block-components-order-summary {
  background: var(--ncu-bg-subtle) !important;
  border: 1px solid var(--ncu-border) !important;
  color: var(--ncu-text) !important;
}

.woocommerce table.shop_table,
.nexus-wc-attributes table {
  background-color: #ffffff !important;
  border: 1px solid var(--ncu-border) !important;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.nexus-wc-attributes th,
.nexus-wc-attributes td {
  color: var(--ncu-text) !important;
  border-bottom-color: var(--ncu-border) !important;
}

.woocommerce table.shop_table th,
.nexus-wc-attributes th {
  background-color: var(--ncu-bg-subtle) !important;
  color: var(--ncu-text-secondary) !important;
  font-weight: 600 !important;
}

.woocommerce table.shop_table .woocommerce-Price-amount,
.woocommerce-Price-amount,
.price {
  color: var(--ncu-text) !important;
}

.woocommerce table.shop_table .order-total .woocommerce-Price-amount {
  color: var(--ncu-accent) !important;
}

.woocommerce-checkout #payment ul.payment_methods li,
.wc-block-components-radio-control__option {
  background-color: #ffffff !important;
  border: 1px solid var(--ncu-border) !important;
}

.woocommerce-checkout #payment div.payment_box {
  background-color: var(--ncu-bg-muted) !important;
  color: var(--ncu-text-secondary) !important;
}

/* Pagination */
.nexus-wc-pagination ul.page-numbers li a,
.nexus-wc-pagination ul.page-numbers li span {
  background: #ffffff !important;
  color: var(--ncu-text-secondary) !important;
  border: 1px solid var(--ncu-border) !important;
  font-family: var(--ncu-font-sans) !important;
  font-size: 13px !important;
  border-radius: 7px !important;
}

.nexus-wc-pagination ul.page-numbers li a:hover {
  background: var(--ncu-bg-subtle) !important;
  color: var(--ncu-text) !important;
  border-color: var(--ncu-border-strong) !important;
}

.nexus-wc-pagination ul.page-numbers li span.current {
  background: var(--ncu-accent) !important;
  color: #ffffff !important;
  border-color: var(--ncu-accent) !important;
}

/* News Page: Articles First & Compact 3-Column Benchmark Matrix (/tin-tuc/) */
.ncu-news-articles-section {
  padding-top: 24px !important;
  padding-bottom: 32px !important;
}

.ncu-news-articles-section > .max-w-\[1440px\] > div:first-child > div:first-child {
  margin-bottom: 18px !important;
  padding-bottom: 12px !important;
}

.ncu-benchmark-compact {
  padding-top: 22px !important;
  padding-bottom: 32px !important;
  border-top: 1px solid var(--ncu-border) !important;
  border-bottom: none !important;
}

.ncu-benchmark-compact > .max-w-\[1440px\] > div:first-child {
  margin-bottom: 14px !important;
}

.ncu-benchmark-compact > .max-w-\[1440px\] > div:first-child h2 {
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.ncu-benchmark-compact > .max-w-\[1440px\] > div:first-child .font-badge-mono {
  font-size: 11px !important;
  margin-bottom: 2px !important;
}

#nexus-download-csv {
  background: #ffffff !important;
  color: var(--ncu-text) !important;
  border: 1px solid var(--ncu-border-strong) !important;
  box-shadow: none !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
}

#nexus-download-csv:hover {
  background: var(--ncu-bg-subtle) !important;
}

.ncu-benchmark-compact .bg-surface-container.rounded-xl {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  padding: 14px !important;
  border-radius: 10px !important;
}

@media (min-width: 1024px) {
  .ncu-benchmark-compact .bg-surface-container.rounded-xl {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 14px 16px !important;
  }
}

.ncu-benchmark-compact .bg-surface-container.rounded-xl > div {
  margin-top: 0 !important;
  background: var(--ncu-bg-subtle) !important;
  border: 1px solid var(--ncu-border) !important;
  border-radius: 8px !important;
  padding: 11px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
}

.ncu-benchmark-compact .bg-surface-container.rounded-xl > div > div:first-child {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
  padding-bottom: 6px !important;
  border-bottom: 1px solid var(--ncu-border) !important;
}

.ncu-benchmark-compact .bg-surface-container.rounded-xl > div > div:first-child > span:first-child {
  font-size: 12.5px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

.ncu-benchmark-compact .bg-surface-container.rounded-xl > div > div:first-child > span:last-child {
  font-size: 11px !important;
  color: var(--ncu-text-muted) !important;
}

/* Compact stacked row inside each of the 3 benchmark cards */
.ncu-benchmark-compact .bg-surface-container.rounded-xl > div > div:not(:first-child) {
  margin-top: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 3px !important;
}

.ncu-benchmark-compact .bg-surface-container.rounded-xl > div > div:not(:first-child) > div:first-child {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.ncu-benchmark-compact .bg-surface-container.rounded-xl > div > div:not(:first-child) > div:first-child > span.sm\:hidden {
  display: inline !important;
  font-size: 11px !important;
  color: var(--ncu-text-muted) !important;
}

.ncu-benchmark-compact .bg-surface-container.rounded-xl > div > div:not(:first-child) > span.hidden.sm\:block {
  display: none !important;
}

html body main .bg-surface-container-lowest.h-7 {
  background-color: #e2e8f0 !important;
}

html body main .ncu-benchmark-compact .bg-surface-container-lowest.h-7 {
  height: 20px !important;
  border-radius: 5px !important;
}

html body main .ncu-benchmark-compact .bg-surface-container-lowest.h-7 > div {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  padding-right: 7px !important;
  line-height: 20px !important;
}

html body main .bg-surface-container-lowest.h-7 > .bg-primary-container {
  background-color: #2563eb !important;
  color: #ffffff !important;
}

html body main .bg-surface-container-lowest.h-7 > .bg-surface-variant {
  background-color: #475569 !important;
  color: #ffffff !important;
}

html body main .bg-surface-container-lowest.h-7 > .bg-outline-variant {
  background-color: #64748b !important;
  color: #ffffff !important;
}

/* Override inline dark cards on static WP pages such as /lien-he/ */
.nexus-wp-content [style*="background:#1"],
.nexus-wp-content [style*="background: #1"],
.nexus-wp-content [style*="background-color:#1"],
.nexus-wp-content [style*="background-color: #1"],
.nexus-wp-content [style*="background:#0"],
.nexus-wp-content [style*="background: #0"] {
  background: var(--ncu-bg-subtle) !important;
  background-color: var(--ncu-bg-subtle) !important;
  border-color: var(--ncu-border) !important;
  color: var(--ncu-text) !important;
}

.nexus-wp-content h1,
.nexus-wp-content h2,
.nexus-wp-content h3,
.nexus-wp-content h4,
.nexus-wp-content strong {
  color: var(--ncu-text) !important;
}

.nexus-wp-content p,
.nexus-wp-content li {
  color: var(--ncu-text-secondary) !important;
}

.nexus-wp-content a:not(.button):not(.checkout-button) {
  color: var(--ncu-accent) !important;
}

/* ── 10. Footer (Clean Light Neutral) ────────────────────────────────────── */
html body footer:not(.nxai-footer) {
  background: var(--ncu-bg-subtle) !important;
  background-color: var(--ncu-bg-subtle) !important;
  background-image: none !important;
  border-top: 1px solid var(--ncu-border) !important;
  color: var(--ncu-text-secondary) !important;
}

html body footer:not(.nxai-footer) a {
  color: var(--ncu-text-secondary) !important;
  text-decoration: none !important;
}

html body footer:not(.nxai-footer) a:hover {
  color: var(--ncu-accent) !important;
}

html body footer:not(.nxai-footer) .bg-surface-container-high {
  background-color: #ffffff !important;
  border: 1px solid var(--ncu-border) !important;
  color: var(--ncu-text-secondary) !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
}

/* Footer bottom academic note: calm neutral instead of neon orange */
html body footer:not(.nxai-footer) > div > div:last-child p {
  color: var(--ncu-text-muted) !important;
  font-weight: 500 !important;
  font-size: 12px !important;
}

/* ── 11. Mini-Cart Popover (#nxmc-popover) & Legacy Drawer Safety ────────── */
#nexus-cart-backdrop {
  background: rgba(15, 23, 42, 0.5) !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#nxmc-backdrop.nxmc-backdrop {
  background: rgba(15, 23, 42, 0.35) !important;
}

#nxmc-popover.nxmc-popover {
  --nxmc-surface-lowest: #f8fafc;
  --nxmc-surface: #ffffff;
  --nxmc-surface-low: #f8fafc;
  --nxmc-surface-container: #f8fafc;
  --nxmc-surface-high: #f1f5f9;
  --nxmc-surface-bright: #e2e8f0;
  --nxmc-border: #e2e8f0;
  --nxmc-border-soft: #e2e8f0;
  --nxmc-text: #0f172a;
  --nxmc-text-muted: #64748b;
  --nxmc-primary: #2563eb;
  --nxmc-primary-hover: #1d4ed8;
  --nxmc-on-primary: #ffffff;
  --nxmc-danger: #dc2626;
  --nxmc-font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nxmc-font-mono: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  background: #ffffff !important;
  border: 1px solid var(--ncu-border) !important;
  border-radius: 14px !important;
  box-shadow: var(--ncu-shadow-md) !important;
  color: var(--ncu-text) !important;
}

#nxmc-popover.nxmc-popover::before {
  background: var(--ncu-bg-subtle) !important;
  border-top: 1px solid var(--ncu-border) !important;
  border-left: 1px solid var(--ncu-border) !important;
}

#nxmc-popover .nxmc-header {
  background: var(--ncu-bg-subtle) !important;
  border-bottom: 1px solid var(--ncu-border) !important;
}

#nxmc-popover .nxmc-header-icon {
  background: var(--ncu-accent-soft) !important;
  border: 1px solid var(--ncu-accent-border) !important;
  color: var(--ncu-accent) !important;
}

#nxmc-popover .nxmc-title,
#nxmc-popover .nxmc-empty-title,
#nxmc-popover .nxmc-qty-val {
  color: var(--ncu-text) !important;
}

#nxmc-popover button.nxmc-close-btn {
  background: #ffffff !important;
  border: 1px solid var(--ncu-border) !important;
  color: var(--ncu-text-secondary) !important;
}

#nxmc-popover button.nxmc-close-btn:hover {
  background: var(--ncu-bg-muted) !important;
  border-color: var(--ncu-border-strong) !important;
  color: var(--ncu-text) !important;
}

#nxmc-popover .nxmc-items {
  background: #ffffff !important;
}

#nxmc-popover .nxmc-empty-icon {
  background: var(--ncu-bg-subtle) !important;
  border: 1px solid var(--ncu-border) !important;
  color: var(--ncu-text-muted) !important;
}

#nxmc-popover a.nxmc-shop-btn {
  background: var(--ncu-accent) !important;
  border: 1px solid var(--ncu-accent) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

#nxmc-popover a.nxmc-shop-btn:hover {
  background: var(--ncu-accent-hover) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

#nxmc-popover .nxmc-item {
  background: var(--ncu-bg-subtle) !important;
  border: 1px solid var(--ncu-border) !important;
}

#nxmc-popover .nxmc-item:hover {
  border-color: var(--ncu-border-strong) !important;
}

#nxmc-popover .nxmc-thumb {
  background: #ffffff !important;
  border: 1px solid var(--ncu-border) !important;
  padding: 4px !important;
}

#nxmc-popover .nxmc-thumb img {
  object-fit: contain !important;
}

#nxmc-popover .nxmc-unit-val,
#nxmc-popover .nxmc-unit-val .woocommerce-Price-amount {
  color: var(--ncu-text-secondary) !important;
}

#nxmc-popover .nxmc-line-total,
#nxmc-popover .nxmc-line-total .woocommerce-Price-amount,
#nxmc-popover .nxmc-subtotal-val,
#nxmc-popover .nxmc-subtotal-val .woocommerce-Price-amount {
  color: var(--ncu-text) !important;
}

#nxmc-popover .nxmc-qty-group {
  background: #ffffff !important;
  border: 1px solid var(--ncu-border-strong) !important;
}

#nxmc-popover button.nxmc-qty-btn {
  background: var(--ncu-bg-subtle) !important;
  color: var(--ncu-text) !important;
}

#nxmc-popover button.nxmc-qty-btn:hover:not(:disabled) {
  background: var(--ncu-accent-soft) !important;
  color: var(--ncu-accent) !important;
}

#nxmc-popover .nxmc-footer {
  background: var(--ncu-bg-subtle) !important;
  border-top: 1px solid var(--ncu-border) !important;
}

#nxmc-popover a.nxmc-checkout-btn {
  background: var(--ncu-accent) !important;
  background-image: none !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

#nxmc-popover a.nxmc-checkout-btn:hover {
  background: var(--ncu-accent-hover) !important;
  color: #ffffff !important;
  filter: none !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Toast Notifications (#nexus-toast-root & fallback) */
#nexus-toast-root > div,
#nxmc-fallback-toast .nxmc-toast-item {
  background: #ffffff !important;
  border: 1px solid var(--ncu-border) !important;
  color: var(--ncu-text) !important;
  box-shadow: var(--ncu-shadow-md) !important;
}

/* ── 12. Chatbox (#nxai-root) — Warm Human Support Feel on Light Surface ─── */
#nxai-root.nxai-root {
  --nxai-surface-lowest: #f8fafc;
  --nxai-surface: #ffffff;
  --nxai-surface-low: #f8fafc;
  --nxai-surface-container: #f1f5f9;
  --nxai-surface-high: #e2e8f0;
  --nxai-surface-bright: #cbd5e1;
  --nxai-outline-variant: #cbd5e1;
  --nxai-outline: #64748b;
  --nxai-on-surface: #0f172a;
  --nxai-on-surface-variant: #475569;
  --nxai-primary: #2563eb;
  --nxai-primary-hover: #1d4ed8;
  --nxai-on-primary: #ffffff;
  --nxai-secondary: #dc2626;
  --nxai-on-secondary: #ffffff;
  --nxai-error: #dc2626;
  --nxai-ok: #16a34a;
  --nxai-font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nxai-font-mono: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ncu-text) !important;
}

/* Calm circular launcher — zero neon ring, zero "AI" badge */
#nxai-root .nxai-launcher-pulse,
#nxai-root .nxai-launcher-badge {
  display: none !important;
}

#nxai-root button#nxai-launcher.nxai-launcher {
  width: 52px !important;
  height: 52px !important;
  border-radius: 9999px !important;
  background: var(--ncu-accent) !important;
  background-image: none !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.28) !important;
}

#nxai-root button#nxai-launcher.nxai-launcher:hover {
  background: var(--ncu-accent-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.34) !important;
}

/* Chat Window Panel */
#nxai-root .nxai-panel {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--ncu-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.14) !important;
}

#nxai-root .nxai-header {
  background: var(--ncu-bg-subtle) !important;
  background-image: none !important;
  border-bottom: 1px solid var(--ncu-border) !important;
}

#nxai-root .nxai-avatar {
  background: var(--ncu-accent-soft) !important;
  border: 1px solid var(--ncu-accent-border) !important;
  color: var(--ncu-accent) !important;
  box-shadow: none !important;
  border-radius: 9999px !important;
}

#nxai-root .nxai-title {
  color: var(--ncu-text) !important;
  font-weight: 700 !important;
}

#nxai-root .nxai-subtitle {
  font-family: var(--ncu-font-sans) !important;
  color: var(--ncu-text-muted) !important;
  font-size: 11.5px !important;
}

#nxai-root .nxai-dot-online {
  background: var(--ncu-success) !important;
  box-shadow: none !important;
}

#nxai-root button.nxai-icon-btn {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid var(--ncu-border) !important;
  color: var(--ncu-text-secondary) !important;
  box-shadow: none !important;
}

#nxai-root button.nxai-icon-btn:hover {
  background: var(--ncu-bg-muted) !important;
  border-color: var(--ncu-border-strong) !important;
  color: var(--ncu-text) !important;
}

/* Chat Messages Area & Soft Bubbles */
#nxai-root .nxai-messages {
  background: #ffffff !important;
}

#nxai-root .nxai-bubble {
  border-radius: 14px !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
}

#nxai-root .nxai-msg-user .nxai-bubble {
  background: var(--ncu-accent) !important;
  background-image: none !important;
  color: #ffffff !important;
  font-weight: 500 !important;
  border-bottom-right-radius: 4px !important;
  box-shadow: none !important;
}

#nxai-root .nxai-msg-bot .nxai-bubble {
  background: var(--ncu-bg-muted) !important;
  color: var(--ncu-text) !important;
  border: 1px solid var(--ncu-border) !important;
  border-bottom-left-radius: 4px !important;
}

#nxai-root .nxai-bubble strong {
  color: var(--ncu-text) !important;
}

#nxai-root .nxai-msg-user .nxai-bubble strong {
  color: #ffffff !important;
}

#nxai-root .nxai-msg-bot.nxai-msg-error .nxai-bubble {
  background: var(--ncu-danger-soft) !important;
  border-color: var(--ncu-danger-border) !important;
  color: var(--ncu-danger) !important;
}

/* Quick Reply Chips inside Chatbox */
#nxai-root button.nxai-chip {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid var(--ncu-border-strong) !important;
  color: var(--ncu-text-secondary) !important;
  border-radius: 9999px !important;
  padding: 6px 12px !important;
  box-shadow: none !important;
}

#nxai-root button.nxai-chip:hover {
  background: var(--ncu-accent-soft) !important;
  border-color: var(--ncu-accent) !important;
  color: var(--ncu-accent) !important;
  transform: none !important;
}

/* Product Cards inside Chatbox */
#nxai-root .nxai-card {
  background: var(--ncu-bg-subtle) !important;
  border: 1px solid var(--ncu-border) !important;
}

#nxai-root .nxai-card:hover {
  border-color: var(--ncu-border-strong) !important;
  box-shadow: var(--ncu-shadow-xs) !important;
}

#nxai-root .nxai-card-thumb {
  background: #ffffff !important;
  border: 1px solid var(--ncu-border) !important;
  padding: 4px !important;
}

#nxai-root .nxai-card-thumb img {
  object-fit: contain !important;
}

#nxai-root .nxai-card-price {
  color: var(--ncu-text) !important;
}

#nxai-root .nxai-btn-detail {
  background: #ffffff !important;
  border: 1px solid var(--ncu-border-strong) !important;
  color: var(--ncu-text) !important;
}

#nxai-root .nxai-btn-detail:hover {
  background: var(--ncu-bg-muted) !important;
  color: var(--ncu-text) !important;
}

#nxai-root button.nxai-btn-add {
  background: var(--ncu-accent) !important;
  background-image: none !important;
  border-color: var(--ncu-accent) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

#nxai-root button.nxai-btn-add:hover:not(:disabled) {
  background: var(--ncu-accent-hover) !important;
  border-color: var(--ncu-accent-hover) !important;
  box-shadow: none !important;
}

#nxai-root .nxai-contact-pill,
#nxai-root button.nxai-retry-btn {
  background: var(--ncu-accent-soft) !important;
  background-image: none !important;
  border: 1px solid var(--ncu-accent-border) !important;
  color: var(--ncu-accent) !important;
  box-shadow: none !important;
}

#nxai-root .nxai-contact-pill:hover,
#nxai-root button.nxai-retry-btn:hover {
  background: var(--ncu-accent) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* Chatbox Composer Footer */
#nxai-root .nxai-footer {
  background: var(--ncu-bg-subtle) !important;
  border-top: 1px solid var(--ncu-border) !important;
}

#nxai-root textarea.nxai-input {
  background: #ffffff !important;
  border: 1px solid var(--ncu-border-strong) !important;
  color: var(--ncu-text) !important;
  border-radius: 10px !important;
  min-height: 42px !important;
  padding: 10px 12px !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
}

#nxai-root textarea.nxai-input:focus {
  border-color: var(--ncu-accent) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

#nxai-root button.nxai-send {
  background: var(--ncu-accent) !important;
  background-image: none !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

#nxai-root button.nxai-send:hover:not(:disabled) {
  background: var(--ncu-accent-hover) !important;
  box-shadow: none !important;
}

#nxai-root .nxai-powered {
  font-family: var(--ncu-font-sans) !important;
  color: var(--ncu-text-muted) !important;
  font-size: 10.5px !important;
}

/* ── 13. Responsive Mobile Refinements ───────────────────────────────────── */
@media (max-width: 639px) {
  .ncu-brand-lockup {
    gap: 7px;
  }

  .ncu-brand-emblem {
    width: 35px;
    height: 38px;
  }

  .ncu-brand-emblem-img {
    height: 38px !important;
  }

  .ncu-brand-name {
    font-size: 16.5px;
  }

  .ncu-brand-tagline {
    font-size: 9px;
    letter-spacing: 0.05em;
  }

  .ncu-prebuilt-section {
    padding: 14px 12px 16px;
  }

  .ncu-prebuilt-heading {
    font-size: 18px;
  }

  .ncu-prebuilt-controls {
    width: 100%;
    justify-content: space-between;
  }

  .ncu-prebuilt-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .ncu-prebuilt-add-btn {
    width: 100%;
  }

  .ncu-brand-sub {
    display: none;
  }

  .ncu-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .ncu-brand-mark .material-symbols-outlined {
    font-size: 20px;
  }

  .ncu-brand-title {
    font-size: 17px;
  }

  .ncu-hero-badge {
    top: 10px;
    left: 10px;
    font-size: 11px;
    padding: 4px 9px;
  }

  .ncu-hero-actions {
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .ncu-hero-btn {
    padding: 8px 13px;
    font-size: 12.5px;
  }

  body.home .ncu-main-column > section#catalog > .max-w-\[1440px\],
  body.home .ncu-main-column > section:not(#ncu-hero):not(#catalog) > .max-w-\[1440px\] {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  article.nexus-product-card > div > a.block.relative {
    height: 184px !important;
  }
}
