.np-samples-app {
  --ink: #111827;
  --muted: #667085;
  --line: #e5e7eb;
  --surface: rgba(255, 255, 255, 0.92);
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eff6ff;
  --success: #15803d;
  --danger: #b42318;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
}
.np-samples-app * { box-sizing: border-box; }
.np-samples-app { scroll-behavior: smooth; }
.np-samples-app {
  margin: 0;
  padding-top: 100px;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fbff 0%, #f3f4f6 55%, #eef2ff 100%);
  overflow-x: hidden;
}

/* Extra room while a logged-in WordPress administrator bar is visible. */
body.admin-bar .np-samples-app {
  padding-top: 132px;
}
.np-samples-app button,
.np-samples-app input,
.np-samples-app textarea { font: inherit; }
.np-samples-app button { cursor: pointer; }
.np-samples-app .background-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}
.np-samples-app .orb-one { top: -140px; right: -120px; background: #60a5fa; }
.np-samples-app .orb-two { bottom: -180px; left: -160px; background: #a78bfa; }
.np-samples-app .site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.np-samples-app .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.np-samples-app .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.np-samples-app .brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-weight: 800;
  color: white;
  background: linear-gradient(145deg, #111827, #374151);
  box-shadow: 0 8px 25px rgba(17, 24, 39, 0.22);
}
.np-samples-app .brand-copy { display: grid; gap: 2px; }
.np-samples-app .brand-copy strong { font-size: 0.98rem; }
.np-samples-app .brand-copy small { color: var(--muted); }
.np-samples-app .quiet-button,
.np-samples-app .back-link,
.np-samples-app .review-panel-heading button {
  border: 0;
  background: transparent;
  color: var(--brand-dark);
  font-weight: 700;
}
.np-samples-app .mode-toggle-button {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid #dbeafe;
}
.np-samples-app .mode-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 800;
  border: 1px solid transparent;
}
.np-samples-app .mode-badge.live {
  background: #eff6ff;
  border-color: #dbeafe;
  color: #1d4ed8;
}
.np-samples-app .mode-badge.demo {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c2410c;
}
.np-samples-app .app-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 72px;
}
.np-samples-app .hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 210px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 30px;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.22), transparent 34%),
    linear-gradient(120deg, #0f172a, #1d4ed8 68%, #2563eb);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.np-samples-app .hero-card h1 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.np-samples-app .hero-card p { margin: 0; max-width: 700px; color: rgba(255,255,255,.78); line-height: 1.6; }
.np-samples-app .eyebrow { text-transform: uppercase; letter-spacing: .13em; font-size: .76rem; font-weight: 800; color: var(--brand); }
.np-samples-app .hero-card .eyebrow { color: #bfdbfe; }
.np-samples-app .hero-stat {
  flex: 0 0 auto;
  width: 132px;
  height: 132px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
}
.np-samples-app .hero-stat span { font-size: 2rem; font-weight: 800; }
.np-samples-app .hero-stat small { color: rgba(255,255,255,.72); }
.np-samples-app .stepper {
  margin: 22px 0;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 20px;
  background: rgba(255,255,255,.7);
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
  backdrop-filter: blur(14px);
  overflow-x: auto;
}
.np-samples-app .step {
  min-width: 130px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  transition: .2s ease;
  white-space: nowrap;
}
.np-samples-app .step span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e5e7eb;
  color: #475467;
  font-size: .8rem;
  font-weight: 800;
}
.np-samples-app .step.active,
.np-samples-app .step.complete { color: var(--ink); background: white; box-shadow: 0 8px 20px rgba(15,23,42,.07); }
.np-samples-app .step.active span { color: white; background: var(--brand); }
.np-samples-app .step.complete span { color: white; background: var(--success); }
.np-samples-app .step-arrow { color: #98a2b3; font-size: 1.6rem; }
.np-samples-app .content-card {
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.np-samples-app .page { display: none; min-height: 500px; padding: clamp(24px, 4vw, 52px); animation: pageIn .28s ease; }
.np-samples-app .page.active { display: block; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.np-samples-app .page-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.np-samples-app .page-heading h2 { margin: 6px 0 8px; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.04em; }
.np-samples-app .page-heading p { margin: 0; color: var(--muted); line-height: 1.55; }
.np-samples-app .selection-pill {
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  white-space: nowrap;
}
.np-samples-app .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.np-samples-app .form-grid label { display: grid; gap: 8px; }
.np-samples-app .form-grid label span { font-weight: 700; font-size: .92rem; }
.np-samples-app .full-width { grid-column: 1 / -1; }
.np-samples-app input,
.np-samples-app textarea {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  background: white;
  padding: 14px 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.np-samples-app input:focus,
.np-samples-app textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
.np-samples-app input.invalid,
.np-samples-app textarea.invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(180,35,24,.08); }
.np-samples-app input.valid,
.np-samples-app textarea.valid { border-color: #86b89a; }
.np-samples-app textarea { resize: vertical; }
.np-samples-app .information-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: -12px 0 24px;
  padding: 10px 14px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1e40af;
  font-size: .88rem;
}
.np-samples-app .information-status.complete {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}
.np-samples-app .status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
.np-samples-app .field-group { align-content: start; }
.np-samples-app .field-help { color: var(--muted); line-height: 1.35; }
.np-samples-app .field-error {
  min-height: 1.1em;
  color: var(--danger);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
}
.np-samples-app .section-divider {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 6px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.np-samples-app .section-divider span { font-size: 1.05rem; font-weight: 800; }
.np-samples-app .section-divider small { color: var(--muted); }
.np-samples-app .split-fields {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 14px;
}
.np-samples-app .notes-footer {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}
.np-samples-app .card-grid,
.np-samples-app .sample-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.np-samples-app .choice-card,
.np-samples-app .sample-card {
  position: relative;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  padding: 20px;
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.np-samples-app .choice-card:hover,
.np-samples-app .sample-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15,23,42,.1); }
.np-samples-app .choice-card.selected,
.np-samples-app .sample-card.selected { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.1), 0 14px 30px rgba(15,23,42,.08); }
.np-samples-app .choice-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--brand-soft);
  font-size: 1.5rem;
  margin-bottom: 22px;
}
.np-samples-app .choice-copy,
.np-samples-app .sample-card-copy { display: grid; gap: 6px; }
.np-samples-app .choice-copy strong,
.np-samples-app .sample-card-copy strong { font-size: 1rem; }
.np-samples-app .choice-copy small,
.np-samples-app .sample-card-copy small { color: var(--muted); line-height: 1.4; }
.np-samples-app .choice-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #d0d5dd;
  font-weight: 800;
}
.np-samples-app .selected .choice-check { background: var(--brand); }
.np-samples-app .family-list { display: grid; gap: 12px; }
.np-samples-app .family-row {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  padding: 16px;
  text-align: left;
  transition: .18s ease;
}
.np-samples-app .family-row:hover { border-color: #b9c2cf; transform: translateX(3px); }
.np-samples-app .family-row.selected {
  border-color: var(--brand);
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(255,255,255,.98));
  box-shadow: 0 0 0 3px rgba(37,99,235,.09);
}
.np-samples-app .family-row .choice-icon { margin: 0; }
.np-samples-app .family-row-copy { display: grid; gap: 4px; }
.np-samples-app .family-row-copy small { color: var(--muted); }
.np-samples-app .family-row-count { color: var(--brand-dark); font-weight: 800; }
.np-samples-app .back-link { margin: -12px 0 22px; padding: 0; }
.np-samples-app .sample-swatch {
  display: block;
  height: 118px;
  margin: -4px -4px 18px;
  border-radius: 15px;
  box-shadow: inset 0 0 0 1px rgba(17,24,39,.08);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.np-samples-app .quantity-list { display: grid; gap: 14px; }
.np-samples-app .quantity-row {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  padding: 14px;
}
.np-samples-app .quantity-swatch { width: 58px; height: 58px; border-radius: 15px; box-shadow: inset 0 0 0 1px rgba(17,24,39,.08); background-size: cover; background-position: center; background-repeat: no-repeat; }
.np-samples-app .quantity-copy { display: grid; gap: 4px; }
.np-samples-app .quantity-copy small { color: var(--muted); }
.np-samples-app .quantity-controls { display: flex; align-items: center; gap: 10px; }
.np-samples-app .quantity-controls button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  font-size: 1.2rem;
  font-weight: 800;
}
.np-samples-app .quantity-input {
  width: 66px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 0 8px;
  text-align: center;
  font: inherit;
  font-weight: 800;
  color: var(--text);
}
.np-samples-app .quantity-input:focus {
  outline: 3px solid rgba(37, 99, 235, .16);
  border-color: #2563eb;
}
.np-samples-app .quantity-input::-webkit-outer-spin-button,
.np-samples-app .quantity-input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}
.np-samples-app .quantity-input[type="number"] { appearance: textfield; }
.np-samples-app .review-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.np-samples-app .review-panel { border: 1px solid var(--line); border-radius: 20px; background: white; padding: 20px; }
.np-samples-app .review-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.np-samples-app .review-panel-heading h3 { margin: 0; }
.np-samples-app dl { margin: 0; display: grid; gap: 13px; }
.np-samples-app dl div { display: grid; gap: 4px; }
.np-samples-app dt { font-size: .77rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #98a2b3; }
.np-samples-app dd { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.np-samples-app .review-sample-group + .review-sample-group { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.np-samples-app .review-sample-group h4 { margin: 0 0 10px; }
.np-samples-app .review-sample-row { display: flex; justify-content: space-between; gap: 18px; padding: 6px 0; color: #344054; }
.np-samples-app .review-sample-row strong { color: var(--ink); }
.np-samples-app .submit-notice {
  margin-top: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  border-radius: 18px;
  background: #f0f9ff;
  padding: 18px;
  color: #0c4a6e;
}
.np-samples-app .submit-notice-icon { font-size: 1.4rem; }
.np-samples-app .submit-notice p { margin: 0; line-height: 1.55; }
.np-samples-app .page-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 22px clamp(24px, 4vw, 52px);
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.72);
}
.np-samples-app .primary-button,
.np-samples-app .secondary-button {
  min-height: 48px;
  border-radius: 14px;
  padding: 0 22px;
  font-weight: 800;
}
.np-samples-app .primary-button { border: 0; color: white; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); box-shadow: 0 10px 20px rgba(37,99,235,.22); }
.np-samples-app .primary-button:hover { transform: translateY(-1px); }
.np-samples-app .primary-button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.np-samples-app .secondary-button { border: 1px solid var(--line); background: white; color: var(--ink); }
.np-samples-app .notice { margin: 20px clamp(24px, 4vw, 52px) 0; padding: 14px 16px; border-radius: 14px; color: #7f1d1d; background: #fef2f2; border: 1px solid #fecaca; }
.np-samples-app .hidden { display: none !important; }
.np-samples-app .availability-note {
  padding: 18px clamp(24px, 4vw, 52px) 24px;
  border-top: 1px solid var(--line);
  color: #475467;
  font-size: .92rem;
  line-height: 1.6;
  background: rgba(255,255,255,.55);
}
.np-samples-app .availability-note strong {
  color: var(--ink);
}
.np-samples-app .success-page { text-align: center; place-content: center; min-height: 520px; }
.np-samples-app .success-page.active { display: grid; justify-items: center; }
.np-samples-app .success-page h2 { margin: 7px 0; font-size: clamp(2rem, 4vw, 3.4rem); }
.np-samples-app .success-page p:not(.eyebrow) { max-width: 560px; color: var(--muted); line-height: 1.6; }
.np-samples-app .success-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--success);
  font-size: 2.4rem;
  font-weight: 800;
  box-shadow: 0 0 0 12px #f0fdf4;
  margin-bottom: 20px;
}
.np-samples-app .empty-state { padding: 32px; text-align: center; border: 1px dashed #cbd5e1; border-radius: 18px; color: var(--muted); }
@media (max-width: 900px) {.np-samples-app .hero-stat { width: 105px; height: 105px; }
.np-samples-app .step { min-width: auto; }
.np-samples-app .step strong { display: none; }
.np-samples-app .step-arrow { font-size: 1.2rem; }
.np-samples-app .card-grid,
.np-samples-app .sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.np-samples-app .review-layout { grid-template-columns: 1fr; }}
@media (max-width: 640px) {.np-samples-app .site-header { min-height: 70px; }
.np-samples-app .brand-copy small { display: none; }
.np-samples-app .app-shell,
.np-samples-app .site-header { width: min(100% - 20px, 1180px); }
.np-samples-app .hero-card { min-height: 190px; border-radius: 24px; }
.np-samples-app .hero-stat { display: none; }
.np-samples-app .stepper { justify-content: flex-start; border-radius: 16px; }
.np-samples-app .step { padding: 8px; }
.np-samples-app .content-card { border-radius: 22px; }
.np-samples-app .page { padding: 24px 18px; min-height: 560px; }
.np-samples-app .page-heading { display: grid; }
.np-samples-app .selection-pill { justify-self: start; }
.np-samples-app .form-grid { grid-template-columns: 1fr; }
.np-samples-app .full-width { grid-column: auto; }
.np-samples-app .split-fields { grid-template-columns: 1fr 1fr; }
.np-samples-app .section-divider { align-items: flex-start; flex-direction: column; gap: 4px; }
.np-samples-app .card-grid,
.np-samples-app .sample-grid { grid-template-columns: 1fr; }
.np-samples-app .choice-card { min-height: 130px; }
.np-samples-app .quantity-row { grid-template-columns: 48px 1fr; }
.np-samples-app .quantity-swatch { width: 48px; height: 48px; background-size: cover; background-position: center; background-repeat: no-repeat; }
.np-samples-app .quantity-controls { grid-column: 1 / -1; justify-content: flex-end; }
.np-samples-app .page-actions { padding: 18px; position: sticky; bottom: 0; }
.np-samples-app .primary-button,
.np-samples-app .secondary-button { flex: 1; }}
@media (max-width: 760px) {.np-samples-app .site-header {
    padding-top: 12px;
    align-items: flex-start;
    flex-direction: column;
  }
.np-samples-app .header-actions {
    width: 100%;
    justify-content: flex-start;
  }}

/* WordPress / UX Builder integration */
.np-samples-app {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 0 1px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
}
.np-samples-app .background-orb {
  position: absolute;
  z-index: 0;
}
.np-samples-app .site-header,
.np-samples-app .app-shell {
  position: relative;
  z-index: 1;
}
.np-samples-app .brand { cursor: default; }
.np-samples-app .brand:hover { color: inherit; }
@media (max-width: 640px) {
  .np-samples-app { border-radius: 16px; }
}

.np-samples-app .np-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 760px) {
  .np-samples-app {
    padding-top: 82px;
  }

  body.admin-bar .np-samples-app {
    padding-top: 128px;
  }
}
