
/* NEXACORE DARK NAVIGATION V2 */

/* Mobile drawer: maintain dark appearance */

@media (max-width: 991.98px) {

  body[theme="dark"] #nxPremiumHeader #nx-v21-mobile-drawer
  .nx-v8-mobile-categories {
    background-color: #191919 !important;
  }

  body[theme="dark"] #nxPremiumHeader #nx-v21-mobile-drawer
  .nx-v25-category-list a {
    color: #f5f5f5 !important;
    background-color: transparent !important;
  }

  body[theme="dark"] #nxPremiumHeader #nx-v21-mobile-drawer
  .nx-v25-category-list a:is(
    :hover, :focus, :active, .is-active,
    [aria-current="page"]
  ) {
    background-color: #302820 !important;
    color: #e2ba79 !important;
    border-radius: 8px;
  }

  body[theme="dark"] #nxPremiumHeader #nx-v21-mobile-drawer
  .nx-mobile-view-all {
    background-color: #1b1b1b !important;
    color: #ffffff !important;
  }

  body[theme="dark"] #nxPremiumHeader #nx-v21-mobile-drawer
  .nx-mobile-view-all:is(:hover, :focus, :active) {
    background-color: #302820 !important;
    color: #e2ba79 !important;
  }
}

/* Catalog pages when Dark Mode is selected */

body[theme="dark"] .nx-products-page,
body[theme="dark"] .nx-catalog-page,
body[theme="dark"] .nx-detail-page {
  background-color: #111213 !important;
  color: #f5f5f5 !important;
}

body[theme="dark"] .nx-products-page
:is(.nx-product-toolbar, .nx-products-sidebar),
body[theme="dark"] .nx-products-page
#filtered-products > *,
body[theme="dark"] .nx-detail-page
:is(.nx-detail-hero, .nx-detail-tabs) {
  background-color: #1c1d1f !important;
  border-color: #383838 !important;
  color: #f5f5f5 !important;
}

body[theme="dark"] .nx-products-page
:is(.nx-product-toolbar__heading h3,
.nx-catalog-product-title,
.nx-catalog-product-title a),
body[theme="dark"] .nx-detail-page
:is(.product_title, .tab_link.active) {
  color: #f5f5f5 !important;
}

body[theme="dark"] .nx-products-page
:is(.nx-product-toolbar__control,
.nx-products-search__composite) {
  background-color: #262626 !important;
  border-color: #414141 !important;
  color: #f5f5f5 !important;
}

body[theme="dark"] .nx-products-page
.nx-products-search__input {
  background: transparent !important;
  color: #f5f5f5 !important;
}

body[theme="dark"] .nx-products-page
.nx-products-search__input::placeholder {
  color: #aeb2ba !important;
}

/* Product photos remain unchanged */


/* NX_MOBILE_MENU_THEME_SCOPE_V3 */
/* Keep light navigation consistent with Light Mode */

@media (max-width: 991.98px) {

  body[theme="light"] #nxPremiumHeader
  #nx-v21-mobile-drawer .nx-v8-mobile-categories {
    background: transparent !important;
    color: #171717 !important;
  }

  body[theme="light"] #nxPremiumHeader
  #nx-v21-mobile-drawer .nx-v25-category-list a {
    background: transparent !important;
    color: #252525 !important;
  }

  body[theme="light"] #nxPremiumHeader
  #nx-v21-mobile-drawer .nx-v25-category-list
  a:is(:hover, :focus-visible, .is-active,
       [aria-current="page"]) {
    background: #f5ecdf !important;
    color: #8c642b !important;
    border-radius: 8px;
  }

  body[theme="light"] #nxPremiumHeader
  #nx-v21-mobile-drawer .nx-mobile-view-all {
    background: #f7f4ef !important;
    color: #171717 !important;
    border: 1px solid #e3d8c6 !important;
  }

  body[theme="light"] #nxPremiumHeader
  #nx-v21-mobile-drawer .nx-mobile-view-all
  i {
    color: #a67b35 !important;
  }
}
