#npRoot {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  font-family: var(--disp, system-ui, sans-serif);
}
#npRoot[hidden] {
  display: none;
}
#npRoot .ov {
  position: absolute;
  inset: 0;
  background: #02050ba6;
  backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity 0.32s ease;
}
#npRoot .dr {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  width: 450px;
  max-width: calc(100vw - 24px);
  background:
    radial-gradient(ellipse at 90% 0%, #19509d24, transparent 35%), var(--card);
  color: var(--text);
  border: 1px solid var(--border2);
  border-radius: 20px;
  box-shadow: -20px 0 100px #0006;
  transform: translateX(calc(100% + 15px));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
#npRoot.open {
  pointer-events: auto;
}
#npRoot.open .ov {
  opacity: 1;
}
#npRoot.open .dr {
  transform: none;
}
#npRoot .checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
#npRoot .checkout-brand {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -1px;
}
#npRoot .x {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--raised);
  color: var(--muted);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
#npRoot .x:hover {
  background: var(--sunken);
  transform: rotate(90deg);
}
#npRoot .checkout-intro {
  margin-top: 35px;
}
#npRoot .checkout-eyebrow {
  color: var(--accent);
  font: 9px var(--mono);
  letter-spacing: 1.2px;
  margin: 0 0 12px;
}
#npRoot h3 {
  font-size: 35px;
  letter-spacing: -1.7px;
  font-weight: 550;
  line-height: 1.15;
  margin: 0;
}
#npRoot .checkout-intro > p:last-child {
  color: var(--muted);
  font-size: 13px;
  margin: 10px 0 0;
}
#npRoot .checkout-steps {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 23px 0 22px;
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  color: var(--muted);
}
#npRoot .checkout-steps > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
#npRoot .checkout-steps i {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  font-style: normal;
  border: 1px solid var(--border2);
  border-radius: 50%;
  font-size: 9px;
}
#npRoot .checkout-steps .current {
  color: var(--text);
}
#npRoot .checkout-steps .current i {
  background: #2165ed;
  border-color: #2165ed;
  color: #fff;
}
#npRoot .checkout-steps > b {
  color: var(--border2);
}
#npRoot .li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 24px;
  padding: 18px 14px;
  border: 1px solid var(--border2);
  background: var(--bg-alt);
  border-radius: 12px;
}
#npRoot .product-symbol {
  width: 52px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: none;
  background: linear-gradient(135deg, #2268f01c, #51c7ff0a);
  border-radius: 9px;
}
#npRoot .product-info {
  flex: 1;
  min-width: 0;
}
#npRoot .lifetime-tag {
  display: block;
  font: 8px var(--mono);
  letter-spacing: 0.7px;
  color: var(--accent);
  margin-bottom: 4px;
}
#npRoot .product-info b {
  font-size: 13px;
  font-weight: 600;
  display: block;
}
#npRoot .product-info > span:not(.lifetime-tag) {
  color: var(--muted);
  font-size: 10px;
  display: block;
  margin-top: 3px;
}
#npRoot .remove-item {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px 0 0;
  cursor: pointer;
}
#npRoot .remove-item:hover {
  color: var(--text);
}
#npRoot .product-price {
  font-size: 23px;
  font-weight: 500;
  align-self: center;
  text-align: right;
}
#npRoot .product-price small {
  display: block;
  font: 8px var(--mono);
  color: var(--muted);
  margin-top: 2px;
}
#npRoot .checkout-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 15px;
  color: var(--muted);
  font-size: 10px;
  padding: 14px 1px 0;
}
#npRoot .tot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 22px;
  margin: 23px 0 24px;
  font-size: 14px;
  font-weight: 600;
}
#npRoot .tot > span:last-child {
  font-size: 30px;
  text-align: right;
  font-weight: 500;
  line-height: 1;
}
#npRoot .tot small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 5px;
}
#npRoot label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--text2);
}
#npRoot input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border2);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline-offset: 2px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
#npRoot input:focus {
  border-color: #548bff;
  box-shadow: 0 0 0 3px #327bff16;
}
#npRoot input[aria-invalid="true"] {
  border-color: var(--err);
}
#npRoot .err {
  color: var(--err);
  font-size: 12px;
  line-height: 1.6;
  min-height: 18px;
  margin: 8px 0;
}
#npRoot .cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  min-height: 49px;
  border: 1px solid #4d87f5;
  border-radius: 9px;
  background: linear-gradient(120deg, #286df3, #1c5bd8);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 3px 20px #1e66ed28;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
#npRoot .cta:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 7px 28px #1e66ed45;
}
#npRoot .cta:disabled {
  opacity: 0.7;
  cursor: wait;
}
#npRoot .stripe-note {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--muted);
  margin: 14px 0 0;
}
#npRoot .stripe-note svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  margin-right: 2px;
}
#npRoot .stripe-note b {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.7px;
  color: var(--text2);
  margin-left: 2px;
}
#npRoot .lnk {
  text-align: center;
  font-size: 11px;
  line-height: 1.8;
  margin-top: 20px;
  color: var(--muted);
}
#npRoot .lnk a {
  color: var(--text2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
#npRoot .checkout-help {
  margin-top: auto;
  padding-top: 27px;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}
#npRoot .checkout-help a {
  color: var(--text2);
  margin-left: 3px;
}
#npRoot .empty {
  padding: 40px 0 20px;
  text-align: center;
  color: var(--muted);
}
#npRoot .empty-icon {
  display: grid;
  place-items: center;
  border: 1px solid var(--border2);
  background: var(--raised);
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 15px;
  color: var(--accent);
  font-size: 30px;
}
#npRoot .empty b {
  display: block;
  font-size: 19px;
  color: var(--text);
  font-weight: 500;
}
#npRoot .empty p {
  font-size: 12px;
  margin: 8px 0 23px;
}
#npRoot .checkout-spinner {
  width: 15px;
  height: 15px;
  border: 1.5px solid #ffffff60;
  border-top-color: white;
  border-radius: 50%;
  animation: checkout-spin 0.8s linear infinite;
}
@keyframes checkout-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 480px) {
  #npRoot .dr {
    top: 8px;
    right: 8px;
    bottom: 8px;
    max-width: calc(100vw - 16px);
    padding: 22px 20px;
    border-radius: 16px;
  }
  #npRoot .checkout-intro {
    margin-top: 25px;
  }
  #npRoot h3 {
    font-size: 31px;
  }
  #npRoot .product-symbol {
    width: 38px;
  }
  #npRoot .product-symbol img {
    width: 32px;
    height: 32px;
  }
  #npRoot .li {
    gap: 10px;
    padding: 15px 12px;
  }
  #npRoot .product-info b {
    font-size: 12px;
  }
  #npRoot .product-info > span:not(.lifetime-tag) {
    font-size: 9px;
  }
  #npRoot .checkout-help {
    padding-top: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #npRoot *,
  #npRoot *:before {
    animation: none !important;
    transition: none !important;
  }
}
