.npe-shop {
  --npe-black: #070806;
  --npe-ink: #151712;
  --npe-muted: #62685c;
  --npe-line: #e5e8de;
  --npe-lime: #b7ff2a;
  --npe-soft: #f6f8f0;
  --npe-card: #ffffff;
  color: var(--npe-ink);
  font-family: Inter, Manrope, Arial, sans-serif;
}

.npe-shop * {
  box-sizing: border-box;
}

.npe-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(183, 255, 42, .16), transparent 28%),
    linear-gradient(135deg, #050604 0%, #11150d 100%);
  color: #fff;
  padding: 52px 48px;
}

.npe-hero h1 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  max-width: 920px;
  margin: 8px 0 16px;
}

.npe-hero p {
  max-width: 760px;
}

.npe-eyebrow,
.npe-display-kicker {
  color: #6a8f0d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.npe-display-kicker {
  color: var(--npe-lime);
}

.npe-layout {
  background: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  padding: 28px;
}

.npe-product-panel {
  background: var(--npe-soft);
  border: 1px solid var(--npe-line);
  border-radius: 8px;
  padding: 16px;
  position: sticky;
  top: 16px;
}

.npe-product-tools {
  display: grid;
  gap: 12px;
}

.npe-product-tools input {
  background: #fff;
  border: 1px solid var(--npe-line);
  border-radius: 8px;
  font-size: 14px;
  min-height: 46px;
  padding: 0 14px;
  width: 100%;
}

.npe-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 118px;
  overflow: auto;
}

.npe-category-tabs button {
  background: #fff;
  border: 1px solid var(--npe-line);
  border-radius: 999px;
  color: var(--npe-muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  min-height: 32px;
  padding: 0 12px;
}

.npe-category-tabs button.is-active {
  background: var(--npe-black);
  border-color: var(--npe-black);
  color: #fff;
}

.npe-product-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
  max-height: 660px;
  overflow: auto;
  padding-right: 4px;
}

.npe-product-card {
  align-content: start;
  background: #fff;
  border: 1px solid var(--npe-line);
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 8px;
  min-height: 152px;
  padding: 10px;
  text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.npe-product-card:hover,
.npe-product-card.is-active {
  border-color: var(--npe-black);
  box-shadow: 0 10px 26px rgba(7, 8, 6, .08);
  transform: translateY(-1px);
}

.npe-product-card.is-active {
  box-shadow: inset 0 0 0 2px var(--npe-lime), 0 10px 26px rgba(7, 8, 6, .08);
}

.npe-product-card img {
  aspect-ratio: 1.55;
  background: var(--npe-soft);
  border-radius: 6px;
  object-fit: cover;
  width: 100%;
}

.npe-product-card span {
  color: var(--npe-ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.npe-product-card small {
  color: var(--npe-muted);
  font-size: 11px;
  line-height: 1.2;
}

.npe-calculator-shell,
.npe-quote {
  border: 1px solid var(--npe-line);
  border-radius: 8px;
}

.npe-calculator-shell {
  background: var(--npe-card);
  box-shadow: 0 18px 50px rgba(7, 8, 6, .08);
  overflow: hidden;
}

.npe-display {
  background:
    radial-gradient(circle at 92% 20%, rgba(183, 255, 42, .18), transparent 24%),
    #080908;
  color: #fff;
  min-height: 154px;
  padding: 28px;
}

.npe-display h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 52px);
  line-height: .98;
  margin: 0 0 10px;
}

.npe-display p {
  color: rgba(255, 255, 255, .78);
  margin: 0;
}

.npe-calculator {
  padding: 24px;
}

.npe-calculator-head {
  align-items: center;
  border-bottom: 1px solid var(--npe-line);
  display: grid;
  gap: 18px;
  grid-template-columns: 116px 1fr;
  margin-bottom: 22px;
  padding-bottom: 20px;
}

.npe-calculator-head img {
  background: var(--npe-soft);
  border-radius: 8px;
  width: 116px;
}

.npe-calculator h2,
.npe-quote h2 {
  margin: 0;
}

.npe-fields {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.npe-fields label {
  background: var(--npe-soft);
  border: 1px solid var(--npe-line);
  border-radius: 8px;
  color: var(--npe-muted);
  display: grid;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  padding: 10px;
}

.npe-fields input,
.npe-fields select {
  background: #fff;
  border: 1px solid #d8ddce;
  border-radius: 6px;
  color: var(--npe-ink);
  min-height: 42px;
  padding: 8px 10px;
  width: 100%;
}

.npe-dpi {
  display: none !important;
}

.npe-dpi.is-visible {
  display: grid !important;
}

.npe-options {
  border: 0;
  margin: 22px 0 0;
  padding: 0;
}

.npe-options legend {
  color: var(--npe-ink);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 10px;
}

.npe-option-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.npe-option-chip {
  cursor: pointer;
  display: block;
}

.npe-option-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.npe-option-chip span {
  align-items: center;
  background: #fff;
  border: 1px solid var(--npe-line);
  border-radius: 8px;
  color: var(--npe-ink);
  display: flex;
  font-size: 13px;
  font-weight: 800;
  min-height: 44px;
  padding: 9px 12px;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.npe-option-chip input:checked + span {
  background: var(--npe-black);
  border-color: var(--npe-black);
  color: #fff;
  box-shadow: inset 4px 0 0 var(--npe-lime);
}

.npe-actions {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: 22px;
}

.npe-check {
  align-items: center;
  color: var(--npe-muted);
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
}

.npe-primary {
  background: var(--npe-black);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  min-height: 48px;
  padding: 0 24px;
}

.npe-quote {
  background: var(--npe-soft);
  margin-top: 20px;
  padding: 24px;
}

.npe-quote dl {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
}

.npe-quote dl div {
  align-items: start;
  border-bottom: 1px solid var(--npe-line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding-bottom: 8px;
}

.npe-quote dt {
  color: var(--npe-muted);
}

.npe-quote dd {
  font-weight: 800;
  margin: 0;
  text-align: right;
}

.npe-empty {
  color: var(--npe-muted);
  margin: 0;
}

@media (max-width: 980px) {
  .npe-layout {
    grid-template-columns: 1fr;
  }

  .npe-product-panel {
    position: static;
  }
}

@media (max-width: 700px) {
  .npe-hero,
  .npe-layout {
    padding: 22px;
  }

  .npe-product-grid,
  .npe-fields,
  .npe-option-grid {
    grid-template-columns: 1fr;
  }

  .npe-calculator-head {
    grid-template-columns: 1fr;
  }

  .npe-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
