/* =========================================================
   NUVORELIX V5.8 — BLACK / GOLD PURGE
   Desktop + mobile. Removes inherited blue/purple public UI.
   ========================================================= */

/* ---------------------------
   1. Global public variables
   --------------------------- */
html[data-theme="dark"] body.cm-theme-c,
html[data-theme="dark"] body.cm-nova-ux{
  --s-bg:#000000!important;
  --s-surface:#080807!important;
  --s-soft:#0f0e0b!important;
  --s-ink:#f4eee2!important;
  --s-muted:#a89f90!important;
  --s-line:rgba(212,175,55,.18)!important;
  --s-accent:#d4af37!important;
  --s-accent-soft:rgba(212,175,55,.10)!important;
  --s-shadow:0 18px 55px rgba(0,0,0,.34)!important;

  --c-bg:#000000!important;
  --c-bg-2:#050504!important;
  --c-card:#090908!important;
  --c-card-2:#0f0e0b!important;
  --c-line:rgba(212,175,55,.18)!important;
  --c-line-strong:rgba(212,175,55,.30)!important;
  --c-text:#f4eee2!important;
  --c-muted:#a89f90!important;
  --c-soft:#80776b!important;
  --c-primary:#d4af37!important;
  --c-primary-2:#f0cf70!important;
  --c-shadow:0 18px 55px rgba(0,0,0,.34)!important;

  --nx-bg:#000000!important;
  --nx-bg-soft:#050504!important;
  --nx-surface:#090908!important;
  --nx-surface-2:#0f0e0b!important;
  --nx-ink:#f4eee2!important;
  --nx-muted:#a89f90!important;
  --nx-line:rgba(212,175,55,.18)!important;
  --nx-accent:#d4af37!important;
  --nx-accent-2:#f0cf70!important;
  --nx-glow:rgba(212,175,55,.11)!important;

  background:#000!important;
  color:#f4eee2!important;
}

html[data-theme="light"] body.cm-theme-c,
html[data-theme="light"] body.cm-nova-ux{
  --s-bg:#f8f5ee!important;
  --s-surface:#fffdf9!important;
  --s-soft:#f2ece0!important;
  --s-ink:#18130c!important;
  --s-muted:#756b5e!important;
  --s-line:rgba(130,94,16,.15)!important;
  --s-accent:#b88612!important;
  --s-accent-soft:rgba(184,134,18,.09)!important;

  --c-bg:#f8f5ee!important;
  --c-bg-2:#fffdf9!important;
  --c-card:#fffdf9!important;
  --c-card-2:#f3ede2!important;
  --c-line:rgba(130,94,16,.15)!important;
  --c-line-strong:rgba(130,94,16,.25)!important;
  --c-text:#18130c!important;
  --c-muted:#756b5e!important;
  --c-soft:#918574!important;
  --c-primary:#b88612!important;
  --c-primary-2:#d4af37!important;

  --nx-bg:#f8f5ee!important;
  --nx-bg-soft:#f3ede2!important;
  --nx-surface:#fffdf9!important;
  --nx-ink:#18130c!important;
  --nx-muted:#756b5e!important;
  --nx-line:rgba(130,94,16,.15)!important;
  --nx-accent:#b88612!important;
  --nx-accent-2:#d4af37!important;

  background:#f8f5ee!important;
  color:#18130c!important;
}

/* ---------------------------
   2. Remove purple/blue focus
   --------------------------- */
body.cm-theme-c :is(a,button,input,select,textarea,summary):focus-visible,
body.cm-nova-ux :is(a,button,input,select,textarea,summary):focus-visible{
  outline:2px solid rgba(212,175,55,.72)!important;
  outline-offset:3px!important;
  box-shadow:none!important;
}

/* ---------------------------
   3. Navigation + search
   --------------------------- */
html[data-theme="dark"] body.cm-nova-ux .nova-navbar-shell{
  background:rgba(3,3,3,.96)!important;
  border-color:rgba(212,175,55,.25)!important;
}
html[data-theme="dark"] body.cm-nova-ux .nova-desktop-links a.active,
html[data-theme="dark"] body.cm-nova-ux .nova-desktop-links a:hover{
  background:rgba(212,175,55,.09)!important;
  color:#f0cf70!important;
}
body.cm-nova-ux .nova-search-button,
body.cm-nova-ux .nova-cart-button,
body.cm-nova-ux .nova-theme-button{
  border-color:rgba(212,175,55,.20)!important;
}
html[data-theme="dark"] body.cm-nova-ux .nova-login-button{
  background:linear-gradient(135deg,#f0cf70,#c89524)!important;
  color:#090704!important;
  border-color:#d4af37!important;
}

body.cm-theme-c .cm-main-search,
body.cm-nova-ux .cm-main-search{
  border-color:rgba(212,175,55,.23)!important;
  background:var(--c-card)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.16)!important;
}
body.cm-theme-c .cm-main-search input,
body.cm-nova-ux .cm-main-search input{
  background:transparent!important;
  color:var(--c-text)!important;
}
body.cm-theme-c .cm-main-search button,
body.cm-nova-ux .cm-main-search button{
  background:linear-gradient(135deg,#f0cf70,#c89524)!important;
  color:#0b0803!important;
  border-color:#d4af37!important;
  box-shadow:none!important;
}

/* ---------------------------
   4. Catalog: toolbar/filter
   --------------------------- */
body.cm-nova-ux .cm-catalog-toolbar,
body.cm-nova-ux .nx-catalog-toolbar{
  background:linear-gradient(180deg,#0a0907,#050504)!important;
  border:1px solid rgba(212,175,55,.18)!important;
  box-shadow:none!important;
}
html[data-theme="light"] body.cm-nova-ux .cm-catalog-toolbar,
html[data-theme="light"] body.cm-nova-ux .nx-catalog-toolbar{
  background:#fffdf9!important;
  border-color:rgba(130,94,16,.15)!important;
}

body.cm-nova-ux .cm-filter-panel,
body.cm-nova-ux .nx-filter-card{
  background:linear-gradient(180deg,#090807,#050504)!important;
  border-color:rgba(212,175,55,.18)!important;
  box-shadow:none!important;
}
html[data-theme="light"] body.cm-nova-ux .cm-filter-panel,
html[data-theme="light"] body.cm-nova-ux .nx-filter-card{
  background:#fffdf9!important;
  border-color:rgba(130,94,16,.15)!important;
}

body.cm-nova-ux .cm-active-filters a{
  background:rgba(212,175,55,.08)!important;
  border-color:rgba(212,175,55,.22)!important;
  color:#d4af37!important;
}
body.cm-nova-ux .cm-active-filters a:hover{
  background:rgba(212,175,55,.13)!important;
  border-color:rgba(212,175,55,.36)!important;
  color:#f0cf70!important;
}
body.cm-nova-ux .cm-active-filters .clear-all{
  color:#d4af37!important;
}

body.cm-nova-ux .nx-sort-select,
body.cm-nova-ux .nx-view-toggle{
  background:#080706!important;
  border-color:rgba(212,175,55,.18)!important;
}
html[data-theme="light"] body.cm-nova-ux .nx-sort-select,
html[data-theme="light"] body.cm-nova-ux .nx-view-toggle{
  background:#fffdf9!important;
}
body.cm-nova-ux .nx-view-toggle button.active{
  background:#d4af37!important;
  color:#000!important;
}

/* Empty result */
body.cm-nova-ux .cm-empty{
  background:#050504!important;
  border:1px dashed rgba(212,175,55,.22)!important;
}
html[data-theme="light"] body.cm-nova-ux .cm-empty{
  background:#fffdf9!important;
}
body.cm-nova-ux .cm-empty h3,
body.cm-nova-ux .cm-empty strong{
  color:var(--c-text)!important;
}
body.cm-nova-ux .cm-empty a{
  color:#d4af37!important;
}

/* ---------------------------
   5. Product cards
   --------------------------- */
body.cm-nova-ux .cm-product-card,
body.cm-nova-ux .nx-product-card{
  background:linear-gradient(180deg,#090807,#050504)!important;
  border-color:rgba(212,175,55,.14)!important;
}
html[data-theme="light"] body.cm-nova-ux .cm-product-card,
html[data-theme="light"] body.cm-nova-ux .nx-product-card{
  background:#fffdf9!important;
  border-color:rgba(130,94,16,.12)!important;
}

body.cm-nova-ux .cm-product-placeholder,
body.cm-nova-ux .nx-product-placeholder{
  background:
    radial-gradient(circle at 50% 40%,rgba(212,175,55,.10),transparent 42%),
    #080706!important;
  color:#d4af37!important;
}
html[data-theme="light"] body.cm-nova-ux .cm-product-placeholder,
html[data-theme="light"] body.cm-nova-ux .nx-product-placeholder{
  background:#f5efe3!important;
}

body.cm-nova-ux .cm-product-meta span:first-child,
body.cm-nova-ux .nx-tech-label,
body.cm-nova-ux .nx-level-label{
  background:rgba(212,175,55,.09)!important;
  color:#d4af37!important;
  border-color:rgba(212,175,55,.16)!important;
}
html[data-theme="light"] body.cm-nova-ux .cm-product-meta span:first-child,
html[data-theme="light"] body.cm-nova-ux .nx-tech-label,
html[data-theme="light"] body.cm-nova-ux .nx-level-label{
  color:#8f650d!important;
}

body.cm-nova-ux .cm-card-cta,
body.cm-nova-ux .nx-card-actions .cm-card-cta{
  background:linear-gradient(135deg,#f0cf70,#c89524)!important;
  color:#090704!important;
  border-color:#d4af37!important;
  box-shadow:none!important;
}
body.cm-nova-ux .cm-card-compare,
body.cm-nova-ux .nx-card-actions .cm-card-compare{
  background:#0d0c0a!important;
  color:#d7cdbd!important;
  border-color:rgba(212,175,55,.16)!important;
}
html[data-theme="light"] body.cm-nova-ux .cm-card-compare,
html[data-theme="light"] body.cm-nova-ux .nx-card-actions .cm-card-compare{
  background:#f6f0e5!important;
  color:#544b3f!important;
}

/* ---------------------------
   6. How it works
   --------------------------- */
body.cm-nova-ux .cm-how-it-works{
  background:linear-gradient(180deg,#0b0a08,#050504)!important;
  border-color:rgba(212,175,55,.18)!important;
}
body.cm-nova-ux .cm-how-it-works>div{
  background:#090807!important;
  border:1px solid rgba(212,175,55,.12)!important;
}
body.cm-nova-ux .cm-how-it-works b{
  color:#d4af37!important;
}
body.cm-nova-ux .cm-how-it-works strong{
  color:#f4eee2!important;
}
body.cm-nova-ux .cm-how-it-works span{
  color:#a89f90!important;
}
html[data-theme="light"] body.cm-nova-ux .cm-how-it-works{
  background:#f8f5ee!important;
}
html[data-theme="light"] body.cm-nova-ux .cm-how-it-works>div{
  background:#fffdf9!important;
}
html[data-theme="light"] body.cm-nova-ux .cm-how-it-works strong{
  color:#18130c!important;
}
html[data-theme="light"] body.cm-nova-ux .cm-how-it-works span{
  color:#756b5e!important;
}

/* ---------------------------
   7. Help page
   --------------------------- */
html[data-theme="dark"] body.cm-nova-ux .studio-page-hero,
html[data-theme="dark"] body.cm-theme-c .studio-page-hero{
  color:#f4eee2!important;
}
body.cm-nova-ux .studio-page-hero .cm-kicker,
body.cm-theme-c .studio-page-hero .cm-kicker{
  color:#d4af37!important;
}
body.cm-nova-ux .studio-help-nav>a,
body.cm-theme-c .studio-help-nav>a{
  color:#a89f90!important;
}
body.cm-nova-ux .studio-help-nav>a:hover,
body.cm-theme-c .studio-help-nav>a:hover{
  background:rgba(212,175,55,.08)!important;
  color:#d4af37!important;
}
body.cm-nova-ux .studio-info-card,
body.cm-theme-c .studio-info-card{
  background:linear-gradient(180deg,#0a0907,#050504)!important;
  border-color:rgba(212,175,55,.18)!important;
  box-shadow:none!important;
}
body.cm-nova-ux .studio-info-card h2,
body.cm-nova-ux .studio-info-card h3,
body.cm-nova-ux .studio-info-card summary,
body.cm-theme-c .studio-info-card h2,
body.cm-theme-c .studio-info-card h3,
body.cm-theme-c .studio-info-card summary{
  color:#f4eee2!important;
}
body.cm-nova-ux .studio-info-card p,
body.cm-nova-ux .studio-policy,
body.cm-nova-ux .studio-steps p,
body.cm-theme-c .studio-info-card p,
body.cm-theme-c .studio-policy,
body.cm-theme-c .studio-steps p{
  color:#a89f90!important;
}
body.cm-nova-ux .studio-steps b,
body.cm-theme-c .studio-steps b,
body.cm-nova-ux .studio-contact,
body.cm-theme-c .studio-contact{
  color:#d4af37!important;
}
body.cm-nova-ux .studio-info-card details,
body.cm-theme-c .studio-info-card details{
  border-color:rgba(212,175,55,.12)!important;
}

html[data-theme="light"] body.cm-nova-ux .studio-info-card,
html[data-theme="light"] body.cm-theme-c .studio-info-card{
  background:#fffdf9!important;
  border-color:rgba(130,94,16,.15)!important;
}
html[data-theme="light"] body.cm-nova-ux .studio-info-card h2,
html[data-theme="light"] body.cm-nova-ux .studio-info-card h3,
html[data-theme="light"] body.cm-nova-ux .studio-info-card summary,
html[data-theme="light"] body.cm-theme-c .studio-info-card h2,
html[data-theme="light"] body.cm-theme-c .studio-info-card h3,
html[data-theme="light"] body.cm-theme-c .studio-info-card summary{
  color:#18130c!important;
}
html[data-theme="light"] body.cm-nova-ux .studio-info-card p,
html[data-theme="light"] body.cm-theme-c .studio-info-card p,
html[data-theme="light"] body.cm-nova-ux .studio-policy,
html[data-theme="light"] body.cm-theme-c .studio-policy{
  color:#756b5e!important;
}

/* ---------------------------
   8. Product detail
   --------------------------- */
body.cm-nova-ux.cm-product-reboot .cm-product-hero,
body.cm-nova-ux.cm-product-reboot .cm-preview-studio,
body.cm-nova-ux.cm-product-reboot .cm-purchase-card{
  background:linear-gradient(180deg,#0a0907,#050504)!important;
  border-color:rgba(212,175,55,.18)!important;
  box-shadow:none!important;
}
body.cm-nova-ux.cm-product-reboot .cm-product-labels span,
body.cm-nova-ux.cm-product-reboot .cm-purchase-option.selected,
body.cm-nova-ux.cm-product-reboot .cm-preview-tabs button.active{
  background:rgba(212,175,55,.09)!important;
  color:#d4af37!important;
  border-color:rgba(212,175,55,.22)!important;
}
body.cm-nova-ux.cm-product-reboot .cm-purchase-button{
  background:linear-gradient(135deg,#f0cf70,#c89524)!important;
  color:#090704!important;
  border-color:#d4af37!important;
}
html[data-theme="light"] body.cm-nova-ux.cm-product-reboot .cm-product-hero,
html[data-theme="light"] body.cm-nova-ux.cm-product-reboot .cm-preview-studio,
html[data-theme="light"] body.cm-nova-ux.cm-product-reboot .cm-purchase-card{
  background:#fffdf9!important;
  border-color:rgba(130,94,16,.15)!important;
}

/* ---------------------------
   9. Misc old blue areas
   --------------------------- */
body.cm-nova-ux .cm-nova-difference,
body.cm-nova-ux .cm-nova-difference-grid article,
body.cm-nova-ux .cm-hero-deal{
  background:linear-gradient(180deg,#0a0907,#050504)!important;
  border-color:rgba(212,175,55,.16)!important;
}
body.cm-nova-ux .cm-nova-difference-grid i,
body.cm-nova-ux .cm-category-icon{
  background:rgba(212,175,55,.10)!important;
  color:#d4af37!important;
  border-color:rgba(212,175,55,.16)!important;
}
body.cm-nova-ux .cm-nova-difference-grid article:hover,
body.cm-nova-ux .cm-product-card:hover{
  border-color:rgba(212,175,55,.34)!important;
  box-shadow:0 16px 38px rgba(0,0,0,.24)!important;
}
html[data-theme="light"] body.cm-nova-ux .cm-nova-difference,
html[data-theme="light"] body.cm-nova-ux .cm-nova-difference-grid article,
html[data-theme="light"] body.cm-nova-ux .cm-hero-deal{
  background:#fffdf9!important;
}

/* Footer CTA stays black/gold in dark */
html[data-theme="dark"] body.cm-nova-ux .cm-footer-prelude,
html[data-theme="dark"] body.cm-nova-ux .studio-footer-cta{
  background:linear-gradient(145deg,#0a0907,#030303)!important;
  border-color:rgba(212,175,55,.18)!important;
}

/* Remove legacy purple on common inline states */
body.cm-nova-ux .cm-kicker,
body.cm-nova-ux .eyebrow,
body.cm-nova-ux .cm-section-kicker,
body.cm-theme-c .cm-kicker,
body.cm-theme-c .eyebrow,
body.cm-theme-c .cm-section-kicker{
  color:#d4af37!important;
}
