/* ============================================================
   NLL — 2026-07 full remodel stylesheet ("nx-" namespace)
   Layered AFTER nll.css + tw.css. Page markup only; the cart
   drawer / checkout injected by nll-app.js stays on nll.css.
   ============================================================ */

:root {
  --nx-ink: #0B0B0D;
  --nx-tile: #0E0E12;
  --nx-mut: #5C5C64;
  --nx-line: #E7E7EA;
  --nx-line-d: rgba(255, 255, 255, 0.12);
  --nx-wash: #F6F6F7;
  --nx-accent: #7C3AED;
  --nx-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
.nx body, body.nx {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 16px;
  color: var(--nx-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
body.nx { margin: 0; }
.nx h1, .nx h2, .nx h3, .nx .nx-display {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0;
}
.nx a { color: inherit; text-decoration: none; }
.nx img { max-width: 100%; display: block; }
.nx-wrap { max-width: 1544px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .nx-wrap { padding: 0 20px; } }

.nx-mono {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nx-eyebrow { composes: none; }
.nx .nx-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nx-mut);
}

/* ---------- buttons ---------- */
.nx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  padding: 0 26px;
  height: 54px;
  border-radius: 0;
  border: 1px solid var(--nx-ink);
  background: var(--nx-ink);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s var(--nx-ease), color 0.2s var(--nx-ease);
}
.nx-btn:hover { background: #26262c; border-color: #26262c; }
.nx-btn.ghost { background: transparent; color: var(--nx-ink); }
.nx-btn.ghost:hover { background: var(--nx-ink); color: #fff; }
.nx-btn.light { background: #fff; border-color: #fff; color: var(--nx-ink); }
.nx-btn.light:hover { background: rgba(255, 255, 255, 0.88); border-color: rgba(255,255,255,0.88); }
.nx-btn.ghost-d { background: transparent; border-color: rgba(255, 255, 255, 0.38); color: #fff; }
.nx-btn.ghost-d:hover { border-color: #fff; }
.nx-btn .ar { font-family: 'Sora', sans-serif; transition: transform 0.2s var(--nx-ease); }
.nx-btn:hover .ar { transform: translateX(3px); }

/* ---------- topbar ticker ---------- */
.nx-topbar {
  background: var(--nx-ink);
  height: 38px;
  overflow: hidden;
  position: relative;
}
.nx-topbar-track {
  display: flex;
  align-items: center;
  height: 38px;
  width: max-content;
  animation: nx-marquee 46s linear infinite;
}
.nx-topbar span.item {
  font-family: 'Space Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  gap: 26px;
}
.nx-topbar span.item::before {
  content: '';
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.75) 0 1.5px, transparent 2px);
}
@keyframes nx-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .nx-topbar-track { animation: none; }
}

/* ---------- header ---------- */
.nx-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nx-header.scrolled { border-bottom-color: var(--nx-line); }
.nx-header .bar {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 40px;
}
.nx-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 17px;
  color: var(--nx-ink);
}
.nx-logo .hex {
  width: 30px; height: 30px;
  border: 1.6px solid var(--nx-ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.nx-logo small {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.34em;
  font-weight: 400;
  color: var(--nx-mut);
}
.nx-nav { display: flex; gap: 34px; margin-left: 24px; }
.nx-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--nx-ink);
  position: relative;
  padding: 6px 0;
}
.nx-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--nx-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--nx-ease);
}
.nx-nav a:hover::after { transform: scaleX(1); }
.nx-head-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nx-icon-btn {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--nx-line);
  background: #fff;
  color: var(--nx-ink);
  cursor: pointer;
  transition: border-color 0.2s;
  position: relative;
}
.nx-icon-btn:hover { border-color: var(--nx-ink); }
.nx-icon-btn svg { width: 18px; height: 18px; }
.nx-icon-btn .count {
  position: absolute;
  top: -7px; right: -7px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  background: var(--nx-ink);
  color: #fff;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  display: flex; align-items: center; justify-content: center;
}
.nx-signin {
  display: inline-flex; align-items: center; gap: 9px;
  height: 46px; padding: 0 18px;
  border: 1px solid var(--nx-line);
  font-size: 14px; font-weight: 500;
  background: #fff; cursor: pointer;
  transition: border-color 0.2s;
}
.nx-signin:hover { border-color: var(--nx-ink); }
.nx-burger { display: none; }
@media (max-width: 980px) {
  .nx-nav, .nx-signin { display: none; }
  .nx-burger { display: inline-flex; }
  .nx-header .bar { height: 62px; }
}

/* mobile menu */
.nx-mobile-menu {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--nx-line);
  padding: 8px 0 18px;
}
.nx-mobile-menu.open { display: block; }
.nx-mobile-menu a {
  display: block;
  padding: 13px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 600;
  border-bottom: 1px solid var(--nx-line);
}

/* ---------- hero ---------- */
.nx-hero {
  background: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.nx-hero .art {
  position: absolute;
  inset: 0 0 0 42%;
  background-size: cover;
  background-position: center;
  transform-origin: 62% 45%;
  animation: nx-kenburns 16s ease-in-out infinite alternate, nx-float 7s ease-in-out infinite;
  will-change: transform;
}
.nx-hero .art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0,0,0,0) 100%);
  z-index: 2;
}
/* slow cinematic drift on the vial render */
@keyframes nx-kenburns {
  from { transform: scale(1.04) translate3d(1.5%, 0.6%, 0); }
  to   { transform: scale(1.16) translate3d(-2.4%, -2.4%, 0); }
}
/* gentle vertical float layered on top */
@keyframes nx-float {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.06); }
}
/* moving light-beam sweep */
.nx-hero .beam {
  position: absolute;
  inset: -20% -30%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.06) 50%, transparent 58%);
  transform: translateX(-30%);
  animation: nx-beam 9s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes nx-beam {
  0%, 100% { transform: translateX(-32%); opacity: 0; }
  45%      { opacity: 1; }
  55%      { opacity: 1; }
  100%     { transform: translateX(32%); opacity: 0; }
}
/* drifting dust particles */
.nx-hero .dust {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(1.4px 1.4px at 20% 30%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.2px 1.2px at 70% 60%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 45% 80%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1.6px 1.6px at 85% 25%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 30% 65%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1.3px 1.3px at 60% 15%, rgba(255,255,255,0.4), transparent);
  background-repeat: repeat;
  background-size: 100% 100%;
  animation: nx-dust 18s linear infinite;
}
@keyframes nx-dust {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-3%, -8%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .nx-hero .art { animation: none; }
  .nx-hero .beam, .nx-hero .dust { display: none; }
}
.nx-hero .inner {
  position: relative;
  z-index: 2;
  padding: 96px 0 64px;
  max-width: 660px;
}
.nx-hero .nx-eyebrow { color: rgba(255, 255, 255, 0.6); }
.nx-hero h1 {
  font-size: clamp(44px, 4.6vw, 66px);
  line-height: 0.98;
  color: #fff;
  margin: 22px 0 26px;
}
.nx-hero h1 .out {
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.85);
}
.nx-hero .sub {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 590px;
  margin: 0 0 34px;
}
.nx-hero .ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.nx-hero .stats {
  display: flex;
  gap: 56px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.nx-hero .stats b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: block;
}
.nx-hero .stats i {
  font-style: normal;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 900px) {
  .nx-hero .art { inset: 0; opacity: 0.42; }
  .nx-hero .inner { padding: 64px 0 44px; }
  .nx-hero .stats { gap: 30px; }
}

/* ---------- catalog sections ---------- */
.nx-prod { background: #fff; padding: 88px 0 56px; }
.nx-prod-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}
.nx-prod-head h2 { font-size: 38px; }
.nx-prod-head .nx-eyebrow { display: block; margin-bottom: 12px; }
.nx-shopall {
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 24px;
  border: 1px solid var(--nx-line);
  font-size: 14.5px; font-weight: 600;
  background: #fff;
  transition: border-color 0.2s;
  white-space: nowrap;
}
.nx-shopall:hover { border-color: var(--nx-ink); }

.nx-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1100px) { .nx-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .nx-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.nx-card {
  border: 1px solid var(--nx-line);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
  position: relative;
}
.nx-card:hover { border-color: var(--nx-ink); }
.nx-card .imgbox {
  position: relative;
  background: var(--nx-wash);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.nx-card .imgbox img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--nx-ease);
}
.nx-card:hover .imgbox img { transform: scale(1.04); }
.nx-tag {
  position: absolute;
  top: 10px; left: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(92, 92, 100, 0.82);
  color: #fff;
  padding: 5px 9px;
  z-index: 2;
}
.nx-tag.sale {
  left: auto; right: 10px;
  background: var(--nx-ink);
}
.nx-card .body { padding: 16px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.nx-card .pname {
  font-size: 15px;
  font-weight: 600;
  font-family: 'Sora', sans-serif;
  margin: 0 0 10px;
  min-height: 40px;
}
.nx-card .price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.nx-card .price s {
  font-size: 15px;
  color: var(--nx-mut);
  font-weight: 500;
  margin-right: 8px;
}
.nx-card .nx-atc {
  margin-top: auto;
  width: 100%;
  height: 46px;
  border: 1px solid var(--nx-line);
  background: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.18s var(--nx-ease), color 0.18s var(--nx-ease), border-color 0.18s;
}
.nx-card .nx-atc:hover { background: var(--nx-ink); border-color: var(--nx-ink); color: #fff; }

/* ---------- dark promise section ---------- */
.nx-promise {
  background: var(--nx-ink);
  color: #fff;
  padding: 96px 0 110px;
  position: relative;
}
.nx-promise .head { text-align: center; margin-bottom: 52px; }
.nx-promise .head .nx-eyebrow { color: rgba(255, 255, 255, 0.55); display: block; margin-bottom: 14px; }
.nx-promise .head h2 { font-size: 38px; color: #fff; }
.nx-ptiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .nx-ptiles { grid-template-columns: 1fr; } }
.nx-ptile {
  background: var(--nx-tile);
  border: 1px solid var(--nx-line-d);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.nx-ptile .bgart {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.5;
  filter: grayscale(35%) brightness(0.62);
}
.nx-ptile .bgart::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,14,18,0.1) 30%, rgba(14,14,18,0.94) 78%);
}
.nx-ptile > * { position: relative; z-index: 2; }
.nx-ptile .nx-eyebrow { color: rgba(255, 255, 255, 0.6); font-size: 11px; margin-bottom: 12px; }
.nx-ptile h3 { font-size: 24px; color: #fff; margin-bottom: 12px; }
.nx-ptile p { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); margin: 0 0 20px; }
.nx-plink {
  font-family: 'Space Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: border-color 0.2s;
}
.nx-plink:hover { border-color: #fff; }

/* chevron notch under a dark section */
.nx-tri::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 34px solid transparent;
  border-right: 34px solid transparent;
  border-top: 27px solid var(--nx-ink);
  z-index: 3;
}

/* ---------- FAQ ---------- */
.nx-faq { background: #fff; padding: 110px 0 90px; }
.nx-faq .head { text-align: center; margin-bottom: 44px; }
.nx-faq .head .nx-eyebrow { display: block; margin-bottom: 14px; }
.nx-faq .head h2 { font-size: 38px; }
.nx-faq .list { max-width: 860px; margin: 0 auto; }
.nx-faq details { border-bottom: 1px solid var(--nx-line); }
.nx-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Sora', sans-serif;
}
.nx-faq summary::-webkit-details-marker { display: none; }
.nx-faq summary .pl {
  font-family: 'Space Mono', monospace;
  font-size: 18px;
  color: var(--nx-mut);
  transition: transform 0.25s var(--nx-ease);
  flex: 0 0 auto;
}
.nx-faq details[open] summary .pl { transform: rotate(45deg); }
.nx-faq .a {
  padding: 0 4px 24px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #3E3E44;
  max-width: 760px;
}

/* ---------- newsletter + footer ---------- */
.nx-footer { background: var(--nx-ink); color: #fff; }
.nx-news {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 34px 0;
  border-bottom: 1px solid var(--nx-line-d);
  flex-wrap: wrap;
}
.nx-news .t b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  display: block;
}
.nx-news .t span { font-size: 13.5px; color: rgba(255, 255, 255, 0.6); }
.nx-news form { display: flex; gap: 0; flex: 0 1 460px; min-width: 280px; }
.nx-news input {
  flex: 1;
  height: 54px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--nx-line-d);
  border-right: 0;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  padding: 0 18px;
  outline: none;
}
.nx-news input::placeholder { color: rgba(255, 255, 255, 0.4); }
.nx-news input:focus { border-color: rgba(255, 255, 255, 0.4); }
.nx-news .nx-btn.light { flex: 0 0 auto; }
.nx-foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}
@media (max-width: 900px) { .nx-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .nx-foot-grid { grid-template-columns: 1fr; } }
.nx-foot-grid .blurb { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.7); margin: 18px 0 20px; max-width: 300px; }
.nx-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.nx-chip {
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--nx-line-d);
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nx-chip::before { content: '•'; }
.nx-foot-col h4 {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 18px;
}
.nx-foot-col a {
  display: block;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
  padding: 7px 0;
  transition: color 0.15s;
}
.nx-foot-col a:hover { color: #fff; }
.nx-disclaimer {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid var(--nx-line-d);
  padding: 26px 0;
  text-transform: uppercase;
}
.nx-foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 34px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
}
.nx-foot-bottom .links { display: flex; gap: 24px; }
.nx-foot-bottom a { color: rgba(255, 255, 255, 0.75); }
.nx-foot-bottom a:hover { color: #fff; }
.nx-footer .nx-logo { color: #fff; }
.nx-footer .nx-logo .hex { border-color: #fff; }
.nx-footer .nx-logo small { color: rgba(255, 255, 255, 0.5); }

/* ---------- homepage email capture band ---------- */
.nx-capture {
  background: var(--nx-ink);
  color: #fff;
  padding: 84px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nx-capture::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 50% -10%, rgba(124,58,237,0.22), transparent 70%);
  pointer-events: none;
}
.nx-capture > .nx-wrap { position: relative; z-index: 2; max-width: 720px; }
.nx-capture .nx-eyebrow { color: rgba(255,255,255,0.6); display: block; margin-bottom: 16px; }
.nx-capture h2 { font-size: clamp(30px, 3.4vw, 42px); color: #fff; margin-bottom: 16px; }
.nx-capture p { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.75); max-width: 52ch; margin: 0 auto 28px; }
.nx-capture-form { display: flex; gap: 0; max-width: 480px; margin: 0 auto; }
.nx-capture-form input {
  flex: 1; height: 56px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--nx-line-d); border-right: 0;
  color: #fff; font-family: 'Sora', sans-serif; font-size: 15px; padding: 0 20px; outline: none;
}
.nx-capture-form input::placeholder { color: rgba(255,255,255,0.4); }
.nx-capture-form input:focus { border-color: rgba(255,255,255,0.4); }
.nx-capture-form .nx-btn.light { flex: 0 0 auto; height: 56px; }
.nx-capture-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.nx-capture .nx-chip { color: rgba(255,255,255,0.7); }
@media (max-width: 520px) {
  .nx-capture-form { flex-direction: column; gap: 10px; }
  .nx-capture-form input { border-right: 1px solid var(--nx-line-d); }
}

/* ---------- age gate ---------- */
.nx-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #050507;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.nx-gate .bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: 70% center;
  opacity: 0.5;
}
.nx-gate .bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(5,5,7,0.55) 0%, rgba(5,5,7,0.92) 78%);
}
.nx-gate .panel { position: relative; z-index: 2; max-width: 460px; padding: 0 24px; }
.nx-gate .nx-eyebrow { color: rgba(255, 255, 255, 0.55); display: block; margin: 26px 0 14px; }
.nx-gate h2 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 16px;
}
.nx-gate p { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.7); margin: 0 0 28px; }
.nx-gate p a { text-decoration: underline; color: #fff; }
.nx-gate .nx-btn { width: 100%; margin-bottom: 12px; }
.nx-gate .strip {
  margin-top: 30px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
body.nx-gated { overflow: hidden; }

/* ---------- page hero (interior pages) ---------- */
.nx-pagehead { background: #fff; padding: 72px 0 40px; }
.nx-pagehead .nx-eyebrow { display: block; margin-bottom: 14px; }
.nx-pagehead h1 { font-size: clamp(38px, 4vw, 52px); }
.nx-pagehead .sub { font-size: 16px; color: #3E3E44; margin: 16px 0 0; max-width: 640px; line-height: 1.65; }
.nx-pagehead.dark { background: var(--nx-ink); color: #fff; position: relative; }
.nx-pagehead.dark h1 { color: #fff; }
.nx-pagehead.dark .sub { color: rgba(255, 255, 255, 0.75); }
.nx-pagehead.dark .nx-eyebrow { color: rgba(255, 255, 255, 0.55); }

/* ---------- catalog page ---------- */
.nx-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--nx-line);
  border-bottom: 1px solid var(--nx-line);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.nx-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.nx-tab {
  font-family: 'Space Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 16px;
  border: 1px solid var(--nx-line);
  background: #fff;
  color: var(--nx-ink);
  cursor: pointer;
  transition: all 0.15s;
}
.nx-tab:hover { border-color: var(--nx-ink); }
.nx-tab.active { background: var(--nx-ink); border-color: var(--nx-ink); color: #fff; }
.nx-sort { display: flex; align-items: center; gap: 12px; }
.nx-sort label { font-family: 'Space Mono', monospace; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nx-mut); }
.nx-sort select {
  height: 44px;
  border: 1px solid var(--nx-line);
  background: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 13.5px;
  padding: 0 12px;
  outline: none;
}

/* ---------- product page ---------- */
.nx-crumbs {
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nx-mut);
  padding: 22px 0 8px;
}
.nx-crumbs a:hover { color: var(--nx-ink); }
.nx-pdp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  padding: 18px 0 64px;
}
@media (max-width: 900px) { .nx-pdp { grid-template-columns: 1fr; gap: 30px; } }
.nx-pdp-media { position: relative; }
.nx-pdp-media .frame {
  position: sticky;
  top: 96px;
  background: var(--nx-wash);
  border: 1px solid var(--nx-line);
}
.nx-pdp-media img { width: 100%; }
.nx-pdp-buy .nx-eyebrow { display: block; margin-bottom: 12px; }
.nx-pdp-buy h1 { font-size: clamp(36px, 3.4vw, 46px); margin-bottom: 14px; }
.nx-pdp-buy .bigprice {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.nx-pdp-buy .lede { font-size: 15px; line-height: 1.65; color: #3E3E44; margin: 0 0 26px; }
.nx-spec-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 26px 0 18px;
}
.nx-spec-chip {
  border: 1px solid var(--nx-line);
  padding: 14px 14px 12px;
}
.nx-spec-chip b {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nx-mut);
  margin-bottom: 7px;
}
.nx-spec-chip span { font-size: 13.5px; font-weight: 600; font-family: 'Sora', sans-serif; }
.nx-trustlist { margin: 4px 0 22px; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.nx-trustlist li { font-size: 13px; display: flex; gap: 9px; align-items: baseline; }
.nx-trustlist li::before { content: '✓'; font-weight: 700; }
.nx-trustlist li.live::before { content: '●'; color: var(--nx-accent); font-size: 9px; }
.nx-shiprow {
  display: flex; gap: 10px; align-items: center;
  font-size: 13.5px; color: #3E3E44;
  padding: 6px 0;
}
.nx-coabtn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 22px;
  border: 1px solid var(--nx-line);
  background: #fff;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 8px;
  transition: border-color 0.2s;
}
.nx-coabtn:hover { border-color: var(--nx-ink); }

/* trust icon strip */
.nx-truststrip { background: var(--nx-wash); border-top: 1px solid var(--nx-line); border-bottom: 1px solid var(--nx-line); }
.nx-truststrip .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 26px 0;
}
@media (max-width: 820px) { .nx-truststrip .row { grid-template-columns: 1fr 1fr; } }
.nx-truststrip .cell { display: flex; gap: 14px; align-items: flex-start; }
.nx-truststrip .cell svg { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; }
.nx-truststrip .cell b { display: block; font-size: 13.5px; font-family: 'Sora', sans-serif; font-weight: 600; }
.nx-truststrip .cell span { font-size: 12px; color: var(--nx-mut); }

/* dark long-form */
.nx-longform { background: var(--nx-ink); color: #fff; padding: 90px 0; position: relative; }
.nx-longform .cols { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 60px; }
@media (max-width: 900px) { .nx-longform .cols { grid-template-columns: 1fr; gap: 30px; } }
.nx-longform .index { position: sticky; top: 110px; align-self: start; }
.nx-longform .index a {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding: 9px 0;
  transition: color 0.15s;
}
.nx-longform .index a:hover { color: #fff; }
.nx-longform .block { margin-bottom: 74px; }
.nx-longform .block:last-child { margin-bottom: 0; }
.nx-longform .marker {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 16px;
}
.nx-longform h2 { font-size: 34px; color: #fff; margin-bottom: 22px; }
.nx-longform .prose { font-size: 15px; line-height: 1.75; color: rgba(255, 255, 255, 0.8); max-width: 640px; }
.nx-longform .prose p { margin: 0 0 16px; }
.nx-spectable { border-top: 1px solid var(--nx-line-d); max-width: 640px; }
.nx-spectable .row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--nx-line-d);
}
.nx-spectable .row b {
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding-top: 2px;
}
.nx-spectable .row span { font-size: 14.5px; color: rgba(255, 255, 255, 0.88); }
.nx-spectable + .fine { font-size: 12px; color: rgba(255, 255, 255, 0.45); margin-top: 14px; }

/* COA card */
.nx-coacard {
  background: #fff;
  color: var(--nx-ink);
  max-width: 640px;
  padding: 26px 28px;
}
.nx-coacard .head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--nx-ink);
  margin-bottom: 4px;
}
.nx-coacard .head b { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700; }
.nx-coacard .head span {
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nx-mut);
}
.nx-coacard .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--nx-line);
  font-size: 13.5px;
}
.nx-coacard .row:last-child { border-bottom: 0; }
.nx-coacard .row b { font-weight: 700; }
.nx-coacard .row span { color: var(--nx-mut); font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 2px; }
.nx-coa-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: 640px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  margin-top: 18px;
  transition: border-color 0.2s, background 0.2s;
}
.nx-coa-cta:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }

/* related */
.nx-related { background: #fff; padding: 80px 0 90px; }
.nx-related h2 { font-size: 34px; margin-bottom: 30px; }
.nx-related .nx-eyebrow { display: block; margin-bottom: 12px; }

/* qty stepper */
.nx-qtyrow { margin: 22px 0 12px; }
.nx-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--nx-line);
  height: 54px;
}
.nx-stepper button {
  width: 54px;
  background: #fff;
  border: 0;
  font-size: 20px;
  cursor: pointer;
  color: var(--nx-ink);
  transition: background 0.15s;
}
.nx-stepper button:hover { background: var(--nx-wash); }
.nx-stepper input {
  width: 58px;
  text-align: center;
  border: 0;
  border-left: 1px solid var(--nx-line);
  border-right: 1px solid var(--nx-line);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  outline: none;
  -moz-appearance: textfield;
}
.nx-stepper input::-webkit-outer-spin-button,
.nx-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* stock up & save cards */
.nx-stockup { margin: 26px 0 6px; }
.nx-stockup-h {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nx-ink);
  margin: 0 0 14px;
}
.nx-stockup-h span { color: var(--nx-mut); }
.nx-stockup-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 520px) { .nx-stockup-grid { grid-template-columns: repeat(2, 1fr); } }
.nx-su {
  position: relative;
  border: 1px solid var(--nx-line);
  background: #fff;
  padding: 14px 8px 12px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.nx-su:hover { border-color: var(--nx-ink); }
.nx-su[aria-checked="true"] { border-color: var(--nx-ink); box-shadow: inset 0 0 0 1px var(--nx-ink); }
.nx-su-badge {
  position: absolute;
  top: -9px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--nx-ink);
  padding: 3px 7px;
  white-space: nowrap;
}
.nx-su-vials { display: flex; justify-content: center; height: 54px; margin-bottom: 4px; }
.nx-su-vials img { height: 54px; width: auto; margin-left: -14px; }
.nx-su-vials img:first-child { margin-left: 0; }
.nx-su-q { font-size: 12.5px; font-weight: 600; font-family: 'Sora', sans-serif; }
.nx-su-t { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.nx-su-u { font-size: 10.5px; color: var(--nx-mut); }
.nx-su-s {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--nx-accent);
  padding: 2px 6px;
  min-height: 15px;
}
.nx-su-s:empty { background: transparent; }

/* category + urgency */
.nx-cat { font-size: 13px; color: var(--nx-mut); margin: 22px 0 14px; }
.nx-cat a { color: var(--nx-ink); text-decoration: underline; }
.nx-urgency { display: flex; flex-direction: column; gap: 8px; margin: 0 0 22px; }
.nx-urgency div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #2A2A30; }
.nx-urgency svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--nx-mut); }
.nx-urgency b { font-weight: 600; color: var(--nx-ink); }

/* DNA helix decoration atop the dark long-form — animated */
.nx-helix { display: flex; justify-content: center; padding-bottom: 40px; opacity: 0.6; overflow: hidden; }
.nx-helix svg { width: 100%; max-width: 560px; height: 34px; }
.nx-helix svg path { stroke-dasharray: 10 10; animation: nx-helix-flow 3.2s linear infinite; }
.nx-helix svg g path { animation-duration: 3.2s; }
.nx-helix svg { animation: nx-helix-drift 7s ease-in-out infinite alternate; }
@keyframes nx-helix-flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -40; } }
@keyframes nx-helix-drift { from { transform: translateX(-10px); } to { transform: translateX(10px); } }
@media (prefers-reduced-motion: reduce) {
  .nx-helix svg, .nx-helix svg path { animation: none; }
}

/* sticky mini ATC */
.nx-stickybar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 95;
  background: #fff;
  border-bottom: 1px solid var(--nx-line);
  transform: translateY(-100%);
  transition: transform 0.25s var(--nx-ease);
}
.nx-stickybar.show { transform: none; }
.nx-stickybar .row {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}
.nx-stickybar img { width: 44px; height: 44px; object-fit: cover; background: var(--nx-wash); }
.nx-stickybar .nm { font-size: 14px; font-weight: 600; }
.nx-stickybar .pr { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px; margin-left: auto; }
.nx-stickybar .nx-btn { height: 44px; padding: 0 20px; font-size: 13.5px; }

/* ---------- shipping / split feature sections (Onyx-style) ---------- */
.nx-ship { background: var(--nx-ink); color: #fff; }
.nx-ship .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 84px 0;
}
.nx-ship .split.divide { border-top: 1px solid var(--nx-line-d); }
@media (max-width: 900px) {
  .nx-ship .split { grid-template-columns: 1fr; gap: 34px; padding: 52px 0; }
  .nx-ship .split .media { order: -1; }
  .nx-ship .split.rev .copy { order: -1; }
}
.nx-ship .nx-eyebrow { color: rgba(255,255,255,0.55); display: block; margin-bottom: 18px; }
.nx-ship h1 { font-size: clamp(40px, 4.6vw, 62px); line-height: 1.02; color: #fff; margin-bottom: 22px; }
.nx-ship h2 { font-size: clamp(30px, 3.2vw, 40px); color: #fff; margin-bottom: 26px; }
.nx-ship .lede { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,0.8); max-width: 52ch; margin: 0 0 30px; }
.nx-ship .media {
  background: #000;
  border: 1px solid var(--nx-line-d);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.nx-ship .media img { width: 100%; height: 100%; object-fit: cover; }
.nx-ship .stats { display: flex; gap: 46px; flex-wrap: wrap; }
.nx-ship .stats b { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; display: block; }
.nx-ship .stats i { font-style: normal; font-family: 'Space Mono', monospace; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.nx-featrow { border-top: 1px solid var(--nx-line-d); }
.nx-featrow .item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--nx-line-d); }
.nx-featrow .ic { flex: 0 0 24px; }
.nx-featrow .ic svg { width: 24px; height: 24px; color: #fff; }
.nx-featrow b { display: block; font-family: 'Sora', sans-serif; font-size: 15.5px; font-weight: 600; margin-bottom: 5px; }
.nx-featrow p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.7); }
.nx-checkrow { list-style: none; padding: 0; margin: 0 0 30px; }
.nx-checkrow li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--nx-line-d); font-size: 15px; align-items: baseline; }
.nx-checkrow li::before { content: '✓'; color: #fff; font-weight: 700; }
.nx-checkrow li b { font-weight: 600; }
.nx-checkrow li span { color: rgba(255,255,255,0.75); }

/* ---------- content prose pages ---------- */
.nx-prose-page { padding: 20px 0 90px; }
.nx-prose-page .prose-narrow { max-width: 760px; }
.nx-prose-page h2 { font-size: 26px; margin: 40px 0 14px; }
.nx-prose-page p, .nx-prose-page li { font-size: 15px; line-height: 1.75; color: #2A2A30; }

/* legacy PDP cross-sell is replaced by .nx-related "Pairs well at the bench" */
#cross-sell { display: none !important; }
/* ---- sticky PDP add-to-cart bar (reuses nll-app's .pdp-mobile-cta) ---- */
body.nx .pdp-mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-top: 1px solid var(--nx-line);
  padding: 12px max(20px, calc((100vw - 1544px) / 2 + 40px));
  transform: translateY(110%);
  transition: transform 0.25s var(--nx-ease);
  box-shadow: 0 -10px 30px -20px rgba(0,0,0,0.4);
}
body.nx .pdp-mobile-cta.visible { transform: none; }
body.nx .pdp-mobile-cta > div { display: flex; flex-direction: column; }
body.nx .pdp-mobile-cta .pdp-mobile-name { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600; color: var(--nx-ink); }
body.nx .pdp-mobile-cta .pdp-mobile-price { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; color: var(--nx-mut); }
body.nx .pdp-mobile-cta .pdp-mobile-price small { color: var(--nx-mut); }
body.nx .pdp-mobile-cta .add-cart-btn {
  margin-left: auto;
  background: var(--nx-ink) !important;
  color: #fff !important;
  border: 0;
  border-radius: 0;
  height: 48px;
  padding: 0 26px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* ---- add-to-cart toast → Onyx dark pill ---- */
body.nx #toast-stack { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 210; display: flex; flex-direction: column; gap: 10px; align-items: center; }
body.nx .toast {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--nx-ink);
  color: #fff;
  border-radius: 0;
  padding: 13px 18px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 20px 50px -18px rgba(0,0,0,0.6);
}
body.nx .toast .toast-dot { width: 18px; height: 18px; border-radius: 50%; background: #fff; color: var(--nx-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
body.nx .toast .toast-dot::before { content: '✓'; }

/* ---- "Added to cart · View cart" pill ---- */
.nx-added {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--nx-ink);
  color: #fff;
  padding: 13px 14px 13px 18px;
  box-shadow: 0 22px 55px -18px rgba(0,0,0,0.65);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.24s var(--nx-ease), transform 0.24s var(--nx-ease);
}
.nx-added.show { opacity: 1; transform: none; pointer-events: auto; }
.nx-added-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  color: var(--nx-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  flex: 0 0 20px;
}
.nx-added-dot::before { content: '✓'; }
.nx-added-txt { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 500; white-space: nowrap; }
.nx-added-view {
  border: 0;
  background: #fff;
  color: var(--nx-ink);
  font-family: 'Sora', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.nx-added-view:hover { background: rgba(255,255,255,0.85); }
@media (max-width: 520px) {
  .nx-added { right: 12px; left: 12px; bottom: 12px; justify-content: space-between; }
}

/* ---- cart drawer → Onyx look ---- */
body.nx #cart-drawer { border-radius: 0; }
body.nx #cart-drawer .display,
body.nx #cart-drawer h2,
body.nx #cart-drawer h3 { font-family: 'Space Grotesk', sans-serif !important; letter-spacing: -0.02em; }
body.nx #cart-drawer .mono-label,
body.nx #cart-drawer .mono-label-sm { font-family: 'Space Mono', monospace !important; }
body.nx #cart-drawer .btn-primary,
body.nx #checkout-modal .btn-primary { border-radius: 0 !important; background: var(--nx-ink) !important; color: #fff !important; }
body.nx #cart-drawer .cart-qty,
body.nx #cart-drawer .qty-stepper { border-radius: 0 !important; }

/* header: "Your cart [n]" */
body.nx .nx-cart-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--nx-line); }
body.nx .nx-cart-title { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; margin: 0; }
body.nx .nx-cart-badge { font-family: 'Space Mono', monospace; font-size: 12px; font-weight: 700; background: var(--nx-ink); color: #fff; min-width: 22px; height: 22px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; }
body.nx .nx-cart-x { width: 34px; height: 34px; border: 1px solid var(--nx-line); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--nx-ink); }
body.nx .nx-cart-x:hover { border-color: var(--nx-ink); }

/* free-shipping progress at top — an interactive SYRINGE that fills */
body.nx .nx-cart-ship { padding: 18px 24px; border-bottom: 1px solid var(--nx-line); }
body.nx .nx-cart-ship p { font-size: 13.5px; color: #2A2A30; margin: 0 0 14px; }
body.nx .nx-cart-ship p strong { font-weight: 700; color: var(--nx-ink); }
body.nx .nx-syringe { display: flex; align-items: center; height: 30px; }
/* thumb (finger flange) + rod + plunger */
body.nx .nx-syr-thumb { width: 4px; height: 24px; background: var(--nx-ink); flex: 0 0 4px; }
body.nx .nx-syr-rod { width: 12px; height: 4px; background: var(--nx-ink); flex: 0 0 12px; }
body.nx .nx-syr-barrel {
  position: relative; flex: 1; height: 22px; overflow: hidden;
  border: 1.5px solid var(--nx-ink); border-right: 0; background: #fff;
}
body.nx .nx-syr-barrel .csp-fill {
  position: absolute; left: 0; top: 0; height: 100%; display: block;
  background: linear-gradient(90deg, #7C3AED 0%, #9F67FF 100%);
  box-shadow: 0 0 10px rgba(124,58,237,0.5);
  transition: width 0.45s var(--nx-ease), background 0.3s;
}
body.nx .nx-cart-ship.free .nx-syr-barrel .csp-fill { background: linear-gradient(90deg, #12905a 0%, #24b06f 100%); box-shadow: 0 0 12px rgba(26,138,74,0.55); }
/* measurement ticks on the barrel */
body.nx .nx-syr-ticks {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(11,11,13,0.28) calc(10% - 1px) 10%);
}
/* moving plunger seal at the liquid front */
body.nx .nx-syr-plunger {
  position: absolute; top: 0; height: 100%; width: 3px; left: 0;
  background: var(--nx-ink); transform: translateX(-1px); z-index: 2;
  transition: left 0.45s var(--nx-ease);
}
/* needle hub + needle */
body.nx .nx-syr-hub { width: 8px; height: 14px; background: var(--nx-ink); flex: 0 0 8px; clip-path: polygon(0 0, 100% 25%, 100% 75%, 0 100%); }
body.nx .nx-syr-needle { width: 22px; height: 1.5px; background: var(--nx-ink); flex: 0 0 22px; }

/* line item: strikethrough + GREEN save badge (Onyx) */
body.nx #cart-drawer .cart-line-total { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; text-align: right; white-space: nowrap; }
body.nx #cart-drawer .cart-line-total s { color: var(--nx-mut); font-weight: 500; font-size: 13px; }
body.nx #cart-drawer .cart-line-total b { font-weight: 600; }
body.nx .nx-line-save { display: inline-block; font-family: 'Space Mono', monospace; font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: #12905a; padding: 2px 6px; margin-top: 4px; }

/* gray stepper buttons + white number box (Onyx) */
body.nx #cart-drawer .cart-qty { border: 0 !important; gap: 4px; }
body.nx #cart-drawer .cart-qty button { background: #ECECEE; border: 0; width: 26px; height: 26px; color: var(--nx-ink); }
body.nx #cart-drawer .cart-qty button:hover { background: #E0E0E3; }
body.nx #cart-drawer .cart-qty span { border: 1px solid var(--nx-line); min-width: 30px; height: 26px; display: inline-flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-weight: 600; }

/* X remove button, top-right of line (Onyx) */
body.nx #cart-drawer .cart-line { position: relative; }
body.nx .nx-line-x {
  position: absolute; top: 0; right: 0;
  width: 24px; height: 24px; border: 1px solid var(--nx-line); background: #fff;
  color: var(--nx-mut); font-size: 16px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, color 0.15s;
}
body.nx .nx-line-x:hover { border-color: var(--nx-ink); color: var(--nx-ink); }
body.nx #cart-drawer .cart-line-total { margin-right: 34px; }

/* "Shipping calculated at checkout" note */
body.nx .nx-cart-note { font-size: 12.5px; color: var(--nx-mut); margin: 6px 0 16px; }
body.nx #cart-drawer .cart-summary-line { font-size: 15px; }
body.nx #cart-drawer .cart-summary-line #cart-subtotal { font-family: 'Space Grotesk', sans-serif; font-weight: 600; }

/* "You're saving $X" */
body.nx .nx-cart-saving { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #1a8a4a; margin: 0 0 14px; }
body.nx .nx-cart-saving svg { color: #1a8a4a; }

/* trust footer */
body.nx .nx-cart-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; font-family: 'Space Mono', monospace; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nx-mut); margin: 14px 0 0; }
body.nx .nx-cart-trust span { display: inline-flex; align-items: center; gap: 8px; }
body.nx .nx-cart-trust span::before { content: '•'; }

/* Re-assert legacy button color contracts: .nx a{color:inherit} above has
   higher specificity than nll.css's .btn-primary{color:#fff}, which turned
   black-bg buttons on reskinned pages into black-on-black. */
.nx a.btn-primary { color: #fff; }
.nx .surface-card-dark a.btn-primary,
.nx .pdp-mobile-cta a.btn-primary,
.nx .hero-atmosphere a.btn-primary,
.nx .lab-atmosphere a.btn-primary,
.nx .bg-violetfield a.btn-primary,
.nx .bg-deepnight a.btn-primary { color: var(--nx-ink); }
.nx a.btn-ghost-light { color: #fff; }
.nx a.btn-ghost-dark { color: var(--nx-ink); }
/* links inside dark legacy surfaces stay light so they never vanish */
.nx .surface-card-dark a:not(.btn-primary),
.nx .bg-deepnight a:not(.btn-primary),
.nx .hero-atmosphere a:not(.btn-primary) { color: #fff; }

/* utility */
.nx-hide { display: none !important; }
.nx-center { text-align: center; }
