/*
 * nicer-pricer — design system
 * Editorial × Receipt aesthetic. Warm orange + graphite + paper cream.
 */

:root {
  --np-orange: #cf5a2a;
  --np-orange-deep: #b34a1e;
  --np-orange-soft: #f3c6a6;
  --np-graphite: #2c2c2e;
  --np-ink: #111114;
  --np-cream: #fbf6ec;
  --np-paper: #f5efe2;
  --np-line: #2c2c2e;
  --np-line-soft: rgba(44, 44, 46, 0.18);
  --np-sale: #0f7a3e;
  --np-sale-soft: #d9ecdd;
  --np-alert: #c42727;
  --np-sage: #9bae89;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --shadow-tag: 0 20px 40px -18px rgba(44, 26, 14, 0.45),
                0 4px 12px -4px rgba(44, 26, 14, 0.18);
  --shadow-card: 0 1px 0 0 rgba(44, 44, 46, 0.06),
                 0 12px 28px -18px rgba(44, 44, 46, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 420;
  line-height: 1.55;
  color: var(--np-ink);
  background: var(--np-cream);
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.font-display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
  letter-spacing: -0.02em;
}

.font-mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum", "zero";
}

/* ─── paper grain + ambient background ─────────────────────────────── */
.np-surface-paper {
  position: relative;
  background: var(--np-cream);
}
.np-surface-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(207, 90, 42, 0.08), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(155, 174, 137, 0.10), transparent 45%);
  mix-blend-mode: multiply;
  z-index: 0;
}
.np-surface-paper > * {
  position: relative;
  z-index: 1;
}

.np-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  z-index: 100;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.65 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

/* ─── navigation ───────────────────────────────────────────────────── */
.np-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(251, 246, 236, 0.82);
  border-bottom: 1px solid var(--np-line-soft);
}
.np-nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.np-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.025em;
}
.np-logo img {
  height: 30px;
  width: auto;
}
.np-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--np-orange);
  color: #fff;
  border-radius: 2px;
  transform: rotate(-3deg);
  box-shadow: var(--shadow-tag);
  position: relative;
}
.np-logo-mark::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  background: var(--np-cream);
  border-radius: 50%;
}
.np-nav__links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 520;
  letter-spacing: 0.01em;
}
.np-nav__links a {
  position: relative;
  padding: 4px 0;
}
.np-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--np-orange);
  transition: width 0.25s ease;
}
.np-nav__links a:hover::after {
  width: 100%;
}
.np-nav__cta {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

/* ─── mobile burger (hidden above 720px) ───────────────────────────── */
.np-nav__burger {
  display: none;
  appearance: none;
  background: transparent;
  border: 1.5px solid var(--np-ink);
  width: 38px;
  height: 38px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
.np-nav__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--np-ink);
}

/* ─── user menu (Dropdown im Nav-CTA) ──────────────────────────────── */
.np-usermenu {
  position: relative;
}
.np-usermenu__trigger {
  appearance: none;
  background: transparent;
  border: 1.5px solid var(--np-ink);
  padding: 4px 10px 4px 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--np-ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.np-usermenu__trigger:hover {
  background: var(--np-ink);
  color: var(--np-cream);
}
.np-usermenu__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--np-orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
}
.np-usermenu__name {
  font-weight: 500;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.np-usermenu__chevron {
  font-size: 10px;
  opacity: 0.7;
  margin-right: 2px;
}
.np-usermenu__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: #fffbf1;
  border: 1.5px solid var(--np-ink);
  box-shadow: 8px 8px 0 -1px var(--np-orange);
  padding: 8px 0;
  z-index: 500;
}
[x-cloak] { display: none !important; }
.np-usermenu__section {
  padding: 10px 16px;
  border-bottom: 1px dashed var(--np-line-soft);
}
.np-usermenu__section--last {
  border-bottom: none;
  padding-top: 12px;
}
.np-usermenu__heading {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--np-graphite);
  margin-bottom: 6px;
}
.np-usermenu__section a {
  display: block;
  padding: 6px 0;
  text-decoration: none;
  color: var(--np-ink);
  font-size: 14px;
}
.np-usermenu__section a:hover {
  color: var(--np-orange);
}
.np-usermenu__logout {
  width: 100%;
  appearance: none;
  background: transparent;
  border: 1.5px solid var(--np-ink);
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--np-ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.np-usermenu__logout:hover {
  background: var(--np-ink);
  color: var(--np-cream);
}
.np-usermenu__xp {
  padding-bottom: 14px;
}
.np-usermenu__xp-header {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--np-ink);
}
.np-usermenu__xp-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--np-graphite);
  margin: 6px 0;
}
.np-usermenu__xp-bar {
  height: 4px;
  background: var(--np-line-soft);
}
.np-usermenu__xp-fill {
  height: 100%;
  background: var(--np-orange);
  transition: width 0.2s ease;
}

/* ─── buttons ──────────────────────────────────────────────────────── */
.np-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-weight: 580;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease;
  text-transform: uppercase;
}
.np-btn--primary {
  background: var(--np-ink);
  color: var(--np-cream);
}
.np-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(17, 17, 20, 0.5);
}
.np-btn--accent {
  background: var(--np-orange);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(207, 90, 42, 0.7);
}
.np-btn--accent:hover {
  background: var(--np-orange-deep);
  transform: translateY(-2px);
}
.np-btn--ghost {
  background: transparent;
  color: var(--np-ink);
  box-shadow: inset 0 0 0 1.5px var(--np-ink);
}
.np-btn--ghost:hover {
  background: var(--np-ink);
  color: var(--np-cream);
}
.np-btn--sm {
  padding: 8px 14px;
  font-size: 12px;
}

/* ─── hero ─────────────────────────────────────────────────────────── */
.np-hero {
  position: relative;
  padding: 70px 28px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.np-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 8px 14px;
  border: 1px dashed var(--np-graphite);
  border-radius: 999px;
  margin-bottom: 28px;
  color: var(--np-graphite);
}
.np-hero__dot {
  width: 8px;
  height: 8px;
  background: var(--np-orange);
  border-radius: 50%;
  animation: np-pulse 1.6s infinite;
}
@keyframes np-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(207, 90, 42, 0.55);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 10px rgba(207, 90, 42, 0);
  }
}

/* Aktiver-Einkauf-Indikator in der Navbar — leicht pulsierender Pfad
   zurück zur laufenden Shopping-Session, damit der User aus jeder Tiefe
   wieder zur Liste findet. Der orange Glow-Ring ist der Eyecatcher;
   gleichzeitig bleibt's eine ganz normale Button-Form, die sich in die
   Toolbar einreiht. */
.np-active-shopping {
  position: relative;
  isolation: isolate;
  font-weight: 600;
  letter-spacing: 0.02em;
  animation: np-active-shopping-glow 1.8s ease-in-out infinite;
}
.np-active-shopping__pulse {
  position: absolute;
  inset: -3px;
  border-radius: 6px;
  border: 2px solid rgba(207, 90, 42, 0.55);
  pointer-events: none;
  animation: np-active-shopping-ring 1.8s ease-out infinite;
  z-index: -1;
}
@keyframes np-active-shopping-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(207, 90, 42, 0.55); }
  50%      { box-shadow: 0 0 14px 0 rgba(207, 90, 42, 0.45); }
}
@keyframes np-active-shopping-ring {
  0%   { transform: scale(1);    opacity: 0.85; }
  100% { transform: scale(1.18); opacity: 0;    }
}
.np-hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(54px, 9vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  font-weight: 340;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
  color: var(--np-ink);
}
.np-hero__h1 em {
  font-style: italic;
  font-weight: 340;
  background: linear-gradient(110deg, var(--np-orange) 0%, #e27a36 50%, var(--np-orange) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: np-shimmer 6s infinite linear;
  display: inline-block;
  padding-right: 0.12em;
  padding-bottom: 0.03em;
}
@keyframes np-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.np-hero__h1 s {
  text-decoration: none;
  position: relative;
  display: inline-block;
  color: var(--np-graphite);
}
.np-hero__h1 s::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 52%;
  height: 5px;
  background: var(--np-orange);
  transform: skewY(-4deg);
  border-radius: 2px;
}
.np-hero__lede {
  font-size: 20px;
  max-width: 640px;
  color: var(--np-graphite);
  margin: 0 0 44px;
  line-height: 1.5;
}
.np-hero__cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.np-hero__signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--np-graphite);
}
.np-hero__signal::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--np-graphite);
}

/* ─── hanging price tag ────────────────────────────────────────────── */
.np-hero-tag {
  position: absolute;
  top: 70px;
  right: 30px;
  width: 240px;
  perspective: 600px;
  pointer-events: none;
}
.np-hero-tag__string {
  position: absolute;
  top: -30px;
  left: 50%;
  width: 1px;
  height: 40px;
  background: var(--np-ink);
  transform-origin: top center;
  animation: np-swing 5s infinite ease-in-out;
}
.np-hero-tag__card {
  transform-origin: top center;
  animation: np-swing 5s infinite ease-in-out;
  position: relative;
}
@keyframes np-swing {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}

.np-tag {
  position: relative;
  background: var(--np-orange);
  color: #fff;
  border-radius: 4px;
  padding: 20px 20px 24px;
  font-family: var(--font-display);
  box-shadow: var(--shadow-tag);
}
.np-tag::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border: 2.5px solid var(--np-ink);
  background: var(--np-cream);
  border-radius: 50%;
}
.np-tag::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 12px;
  background:
    radial-gradient(circle at 6px 0, transparent 5px, var(--np-orange) 5.5px) repeat-x 0 0 / 12px 12px;
}
.np-tag__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  padding-top: 22px;
  display: block;
}
.np-tag__price {
  font-size: 54px;
  font-weight: 340;
  font-style: italic;
  line-height: 1;
  margin: 4px 0 0;
}
.np-tag__suffix {
  font-family: var(--font-mono);
  font-size: 14px;
  opacity: 0.8;
  display: block;
  margin-top: 6px;
}

/* ─── ticker ───────────────────────────────────────────────────────── */
.np-ticker {
  position: relative;
  border-top: 1.5px solid var(--np-ink);
  border-bottom: 1.5px solid var(--np-ink);
  background: var(--np-ink);
  color: var(--np-cream);
  overflow: hidden;
  padding: 14px 0;
}
.np-ticker__rail {
  display: flex;
  gap: 52px;
  animation: np-rail 52s linear infinite;
  white-space: nowrap;
}
@keyframes np-rail {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.np-ticker__item {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.np-ticker__item strong {
  font-family: var(--font-body);
  font-weight: 580;
}
.np-ticker__diff {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.np-ticker__diff--down {
  background: var(--np-sale);
  color: #fff;
}
.np-ticker__diff--up {
  background: var(--np-alert);
  color: #fff;
}
.np-ticker__divider {
  width: 22px;
  height: 1px;
  background: rgba(251, 246, 236, 0.25);
  align-self: center;
}

/* ─── section headings ─────────────────────────────────────────────── */
.np-section {
  padding: 88px 28px;
  max-width: 1280px;
  margin: 0 auto;
}
.np-section__meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--np-graphite);
  margin-bottom: 18px;
}
.np-section__meta span:first-child {
  color: var(--np-orange);
  font-weight: 600;
}
.np-section__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 380;
  margin: 0 0 20px;
  max-width: 820px;
}
.np-section__title em {
  font-style: italic;
  color: var(--np-orange);
}
.np-section__lede {
  font-size: 18px;
  color: var(--np-graphite);
  max-width: 620px;
  margin: 0 0 48px;
}

/* ─── receipt card ─────────────────────────────────────────────────── */
.np-receipt {
  background: #fffbf1;
  border: 1px solid var(--np-line);
  box-shadow: var(--shadow-card);
  padding: 28px 26px;
  position: relative;
  font-family: var(--font-body);
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 10px),
    95% 100%, 90% calc(100% - 8px),
    85% 100%, 80% calc(100% - 8px),
    75% 100%, 70% calc(100% - 8px),
    65% 100%, 60% calc(100% - 8px),
    55% 100%, 50% calc(100% - 8px),
    45% 100%, 40% calc(100% - 8px),
    35% 100%, 30% calc(100% - 8px),
    25% 100%, 20% calc(100% - 8px),
    15% 100%, 10% calc(100% - 8px),
    5% 100%, 0 calc(100% - 10px)
  );
  padding-bottom: 40px;
}
.np-receipt__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1.5px dashed var(--np-line-soft);
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.np-receipt__head-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.015em;
}
.np-receipt__head-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--np-graphite);
  text-transform: uppercase;
}
.np-receipt__row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 13px;
}
.np-receipt__row-title {
  font-family: var(--font-body);
  font-weight: 480;
  font-size: 14px;
}
.np-receipt__dots {
  flex: 1;
  border-bottom: 1.5px dotted var(--np-line-soft);
  height: 1px;
  transform: translateY(-4px);
}
.np-receipt__price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.np-receipt__savings {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px dashed var(--np-line-soft);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-display);
}
.np-receipt__savings-label {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.np-receipt__savings-value {
  font-size: 34px;
  color: var(--np-sale);
  font-weight: 360;
  font-style: italic;
}

/* ─── cards grid ───────────────────────────────────────────────────── */
.np-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.np-feature-card {
  background: var(--np-paper);
  border: 1.5px solid var(--np-line);
  padding: 32px 28px 36px;
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.np-feature-card::before {
  content: attr(data-num);
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--np-graphite);
  letter-spacing: 0.1em;
}
.np-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 14px 14px 0 -1px var(--np-ink);
}
.np-feature-card__icon {
  width: 52px;
  height: 52px;
  background: var(--np-orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  margin-bottom: 28px;
  transform: rotate(-4deg);
}
.np-feature-card__title {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  font-weight: 380;
}
.np-feature-card__desc {
  font-size: 15px;
  color: var(--np-graphite);
  line-height: 1.55;
  margin: 0;
}

/* ─── offer cards ──────────────────────────────────────────────────── */
.np-offer-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}
.np-offer {
  background: var(--np-cream);
  border: 1.5px solid var(--np-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.np-offer:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0 -1px var(--np-ink);
}
.np-offer__head {
  padding: 18px 20px 14px;
  border-bottom: 1px dashed var(--np-line-soft);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.np-offer__chain {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--np-graphite);
}
.np-offer__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--np-sale);
  color: #fff;
  font-weight: 600;
}
.np-offer__tag--alert {
  background: var(--np-alert);
}
.np-offer__tag--new {
  background: var(--np-ink);
}
.np-offer__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.np-offer__title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.012em;
  line-height: 1.15;
  margin: 0;
  font-weight: 400;
}
.np-offer__volume {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--np-graphite);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.np-offer__price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 8px;
}
.np-offer__price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 360;
  font-style: italic;
  color: var(--np-orange);
  letter-spacing: -0.02em;
  line-height: 1;
}
.np-offer__unit {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--np-graphite);
}
.np-offer__strike {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--np-graphite);
  text-decoration: line-through;
}
.np-offer__foot {
  padding: 12px 20px;
  border-top: 1.5px dashed var(--np-line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--np-graphite);
}

/* ─── barcode strip ────────────────────────────────────────────────── */
.np-barcode {
  display: flex;
  gap: 2px;
  align-items: end;
  height: 22px;
  overflow: hidden;
}
.np-barcode span {
  display: block;
  background: var(--np-ink);
  width: 2px;
  height: 100%;
}
.np-barcode span:nth-child(3n) { width: 1px; }
.np-barcode span:nth-child(4n) { width: 3px; }
.np-barcode span:nth-child(5n) { width: 1px; height: 70%; }
.np-barcode span:nth-child(7n) { width: 2px; height: 50%; }

/* ─── community strip ──────────────────────────────────────────────── */
.np-community {
  position: relative;
  background: var(--np-ink);
  color: var(--np-cream);
  margin: 0 -28px;
  padding: 88px 28px;
}
.np-community__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.np-community__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.8vw, 74px);
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 24px;
  font-weight: 380;
}
.np-community__title em {
  font-style: italic;
  color: var(--np-orange);
}
.np-community__avatars {
  display: flex;
  align-items: center;
}
.np-community__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--np-ink);
  background: var(--np-orange);
  margin-left: -14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  color: #fff;
  font-style: italic;
}
.np-community__avatar:first-child { margin-left: 0; }
.np-community__avatar:nth-child(2) { background: var(--np-sage); }
.np-community__avatar:nth-child(3) { background: var(--np-sale); }
.np-community__avatar:nth-child(4) { background: #4a6c6b; }
.np-community__avatar:nth-child(5) { background: var(--np-orange-deep); }
.np-community__plus {
  margin-left: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

.np-reports {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.np-report {
  background: #1c1c20;
  border-left: 3px solid var(--np-orange);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  transition: transform 0.2s ease;
}
.np-report:hover {
  transform: translateX(4px);
}
.np-report__avatar {
  width: 40px;
  height: 40px;
  background: var(--np-orange);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 16px;
  color: #fff;
}
.np-report__text {
  font-size: 14px;
  color: rgba(251, 246, 236, 0.92);
  line-height: 1.4;
}
.np-report__text strong {
  color: #fff;
  font-weight: 600;
}
.np-report__price {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--np-orange-soft);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.np-report__time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(251, 246, 236, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── split showcase ───────────────────────────────────────────────── */
.np-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.np-split__photo {
  background: linear-gradient(135deg, var(--np-paper) 0%, #efe5ca 100%);
  aspect-ratio: 4/5;
  border: 1.5px solid var(--np-line);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.np-split__photo::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(44, 44, 46, 0.3);
  pointer-events: none;
}

/* ─── price history chart ──────────────────────────────────────────── */
.np-chart {
  background: #fffbf1;
  border: 1.5px solid var(--np-line);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.np-chart__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.np-chart__label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--np-graphite);
}
.np-chart__now {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 360;
  font-style: italic;
  color: var(--np-orange);
  line-height: 1;
  letter-spacing: -0.02em;
}
.np-chart svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── tables ───────────────────────────────────────────────────────── */
.np-table-wrap {
  background: #fffbf1;
  border: 1.5px solid var(--np-line);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.np-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
}
.np-table th,
.np-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px dashed var(--np-line-soft);
}
.np-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--np-graphite);
  font-weight: 500;
  background: var(--np-paper);
}
.np-table tr:last-child td {
  border-bottom: none;
}
.np-table__chain {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.np-table__chain-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--np-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  font-weight: 500;
  flex-shrink: 0;
}
.np-table__price {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.np-table__price--best {
  color: var(--np-sale);
}
.np-table__distance {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--np-graphite);
  letter-spacing: 0.05em;
}
.np-table tr.best {
  background: var(--np-sale-soft);
}

/* ─── alert widget ─────────────────────────────────────────────────── */
.np-alert-card {
  background: var(--np-orange);
  color: #fff;
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--np-ink);
  box-shadow: 12px 12px 0 -1px var(--np-ink);
}
.np-alert-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}
.np-alert-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.88;
}
.np-alert-card__title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  margin: 10px 0 18px;
  font-weight: 400;
}
.np-alert-card__input {
  display: flex;
  align-items: center;
  background: #fff;
  color: var(--np-ink);
  border-radius: 3px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}
.np-alert-card__input input {
  flex: 1;
  border: none;
  outline: none;
  font: inherit;
  color: inherit;
  background: transparent;
}
.np-alert-card__hint {
  font-size: 13px;
  opacity: 0.88;
  line-height: 1.5;
}

/* ─── footer ───────────────────────────────────────────────────────── */
.np-footer {
  background: var(--np-ink);
  color: var(--np-cream);
  padding: 80px 28px 40px;
  position: relative;
}
.np-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
}
.np-footer h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 20px;
  color: rgba(251, 246, 236, 0.5);
  font-weight: 500;
}
.np-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.np-footer__links a:hover {
  color: var(--np-orange);
}
.np-footer__brand {
  font-family: var(--font-display);
  font-size: 38px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 18px;
  font-weight: 380;
}
.np-footer__brand em {
  font-style: italic;
  color: var(--np-orange);
}
.np-footer__tagline {
  font-size: 14px;
  color: rgba(251, 246, 236, 0.7);
  max-width: 320px;
  line-height: 1.55;
}
.np-footer__affiliate {
  max-width: 1280px;
  margin: 40px auto 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(251, 246, 236, 0.15);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(251, 246, 236, 0.65);
  line-height: 1.55;
}
.np-footer__affiliate a {
  color: var(--np-orange);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.np-footer__bottom {
  max-width: 1280px;
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(251, 246, 236, 0.15);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(251, 246, 236, 0.5);
}

/* ─── dotted divider ───────────────────────────────────────────────── */
.np-dotted-div {
  border: none;
  border-top: 1.5px dashed var(--np-line-soft);
  margin: 48px 0;
}

/* ─── cart-ranking (Warenkorb-Check) ───────────────────────────────── */
.np-cart-rank {
  display: block;
}
.np-cart-rank__title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.05;
  font-weight: 380;
  margin: 4px 0 18px;
}
.np-cart-rank__title em {
  font-style: italic;
}
.np-cart-rank__empty {
  padding: 20px 18px;
  border: 1.5px dashed var(--np-line-soft);
  background: #fffbf1;
  color: var(--np-graphite);
  text-align: center;
  font-size: 14px;
}
.np-cart-rank__empty a {
  color: var(--np-orange);
  text-decoration: underline;
}
.np-cart-rank__list {
  display: grid;
  gap: 10px;
}
.np-cart-rank__row {
  display: grid;
  grid-template-columns: 2fr 1.5fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #fffbf1;
  border: 1.5px solid var(--np-ink);
  transition: box-shadow 0.15s ease;
}
.np-cart-rank__row:hover {
  box-shadow: 4px 4px 0 -1px var(--np-ink);
}
.np-cart-rank__row--cheapest {
  background: #fff5e1;
  border-color: var(--np-orange);
  box-shadow: 4px 4px 0 -1px var(--np-orange);
}
.np-cart-rank__store {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.np-cart-rank__store strong {
  font-size: 16px;
}
.np-cart-rank__favorite {
  color: var(--np-orange);
  font-size: 14px;
}
.np-cart-rank__distance {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--np-graphite);
}
.np-cart-rank__cart {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.np-cart-rank__matched {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--np-graphite);
  white-space: nowrap;
}
.np-cart-rank__total {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--np-ink);
}
.np-cart-rank__cheapest-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--np-orange);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.np-cart-rank__cta {
  margin: 0;
}

@media (max-width: 720px) {
  .np-cart-rank__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 14px;
  }
  .np-cart-rank__cta {
    justify-self: stretch;
  }
  .np-cart-rank__cta button {
    width: 100%;
  }
  .np-cart-rank__title {
    font-size: 24px;
  }
}

/* ─── pill / chip ──────────────────────────────────────────────────── */
.np-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--np-line-soft);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--np-cream);
  color: var(--np-graphite);
}
.np-chip--orange {
  background: var(--np-orange);
  color: #fff;
  border-color: transparent;
}
.np-chip--sale {
  background: var(--np-sale-soft);
  color: var(--np-sale);
  border-color: var(--np-sale);
}
.np-chip--dark {
  background: var(--np-ink);
  color: var(--np-cream);
  border-color: var(--np-ink);
}

/* ─── search pill ──────────────────────────────────────────────────── */
.np-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid var(--np-ink);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  box-shadow: 6px 6px 0 -1px var(--np-ink);
  max-width: 520px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.np-search:focus-within {
  box-shadow: 10px 10px 0 -1px var(--np-orange);
  transform: translate(-2px, -2px);
}
.np-search input {
  flex: 1;
  border: none;
  outline: none;
  font: inherit;
  font-size: 16px;
  color: var(--np-ink);
  background: transparent;
}
.np-search button {
  border: none;
  background: var(--np-ink);
  color: var(--np-cream);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 580;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.np-search button:hover {
  background: var(--np-orange);
}

/* ─── stagger animations ───────────────────────────────────────────── */
.np-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: np-fade-up 0.8s ease forwards;
}
@keyframes np-fade-up {
  to { opacity: 1; transform: translateY(0); }
}
.np-delay-1 { animation-delay: 0.08s; }
.np-delay-2 { animation-delay: 0.18s; }
.np-delay-3 { animation-delay: 0.28s; }
.np-delay-4 { animation-delay: 0.40s; }
.np-delay-5 { animation-delay: 0.52s; }

/* ─── map panel (stores page) ──────────────────────────────────────── */
.np-map-panel {
  position: relative;
  border: 1.5px solid var(--np-line);
  aspect-ratio: 4/5;
  background:
    radial-gradient(circle at 30% 40%, var(--np-orange-soft) 0%, transparent 30%),
    radial-gradient(circle at 70% 65%, var(--np-sage) 0%, transparent 35%),
    linear-gradient(135deg, #e9dfcb 0%, #d7c9a8 100%);
  overflow: hidden;
}
.np-map-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--np-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--np-line-soft) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.4;
}
.np-map-pin {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0;
  background: var(--np-orange);
  border: 2.5px solid var(--np-ink);
  transform: rotate(-45deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}
.np-map-pin span {
  transform: rotate(45deg);
}
.np-map-pin--active {
  background: var(--np-ink);
  z-index: 3;
  transform: rotate(-45deg) scale(1.25);
}

/* ─── store list items ─────────────────────────────────────────────── */
.np-store-item {
  padding: 20px 4px;
  border-bottom: 1.5px dashed var(--np-line-soft);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  transition: background 0.18s ease;
}
.np-store-item:hover {
  background: var(--np-paper);
  padding-left: 12px;
  padding-right: 12px;
}
.np-store-item__chain {
  width: 48px;
  height: 48px;
  background: var(--np-orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.np-store-item__title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.012em;
  margin: 0;
  font-weight: 400;
}
.np-store-item__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--np-graphite);
  margin-top: 4px;
}
.np-store-item__distance {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--np-ink);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.np-store-item__distance span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--np-graphite);
  margin-top: 2px;
  letter-spacing: 0.1em;
}

/* ─── gamification ─────────────────────────────────────────────────── */
.np-gami-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
}

/* podium */
.np-podium {
  background: #1c1c20;
  border: 1.5px solid rgba(251, 246, 236, 0.1);
  padding: 32px 28px 36px;
  position: relative;
}
.np-podium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #cd7f32 0%, #c0c0c0 50%, #d4af37 100%);
}
.np-podium__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
}
.np-podium__title {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--np-cream);
}
.np-podium__title em {
  font-style: italic;
  color: var(--np-orange);
}
.np-podium__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 246, 236, 0.5);
}
.np-podium__stage {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 10px;
  align-items: end;
  margin-bottom: 22px;
}
.np-podium__step {
  background: var(--np-cream);
  border: 1.5px solid var(--np-ink);
  padding: 16px 14px 20px;
  text-align: center;
  position: relative;
  transition: transform 0.28s ease;
}
.np-podium__step:hover {
  transform: translateY(-4px);
}
.np-podium__step--1 { background: #f7e6a9; padding-top: 26px; padding-bottom: 30px; }
.np-podium__step--2 { background: #e5e5e5; }
.np-podium__step--3 { background: #f0cfa0; }
.np-podium__medal {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--np-ink);
  display: block;
  margin-bottom: 8px;
}
.np-podium__step--1 .np-podium__medal { font-size: 44px; color: #8a6b09; }
.np-podium__step--2 .np-podium__medal { color: #585858; }
.np-podium__step--3 .np-podium__medal { color: #7a4c14; }
.np-podium__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--np-orange);
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--np-ink);
}
.np-podium__step--1 .np-podium__avatar { width: 60px; height: 60px; font-size: 24px; }
.np-podium__name {
  font-family: var(--font-body);
  font-weight: 580;
  font-size: 14px;
  color: var(--np-ink);
  margin: 0 0 4px;
}
.np-podium__pts {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--np-graphite);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.np-podium__crown {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  animation: np-bounce 2.4s infinite ease-in-out;
}
@keyframes np-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-5px); }
}
.np-podium__rest {
  border-top: 1.5px dashed rgba(251, 246, 236, 0.15);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.np-podium__row {
  display: grid;
  grid-template-columns: 28px auto 1fr auto auto;
  gap: 12px;
  align-items: center;
  color: rgba(251, 246, 236, 0.92);
  font-size: 13px;
  padding: 8px 4px;
  transition: background 0.18s ease;
  border-radius: 2px;
}
.np-podium__row:hover {
  background: rgba(251, 246, 236, 0.04);
}
.np-podium__row-rank {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(251, 246, 236, 0.5);
  letter-spacing: 0.06em;
}
.np-podium__row-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--np-sage);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.np-podium__row-name {
  font-weight: 500;
}
.np-podium__row-streak {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--np-orange);
}
.np-podium__row-pts {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--np-orange-soft);
  font-variant-numeric: tabular-nums;
}

/* your rank card */
.np-rank-card {
  background: var(--np-orange);
  color: #fff;
  padding: 24px 26px 28px;
  border: 1.5px solid var(--np-ink);
  box-shadow: 10px 10px 0 -1px var(--np-ink);
  position: relative;
  overflow: hidden;
}
.np-rank-card::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  border: 2px dashed rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  pointer-events: none;
}
.np-rank-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.88;
}
.np-rank-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0 18px;
}
.np-rank-card__badge {
  width: 58px;
  height: 58px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  font-weight: 500;
  color: var(--np-orange);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.np-rank-card__title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 400;
  margin: 0;
}
.np-rank-card__sub {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.85;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.np-rank-card__xp {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  opacity: 0.92;
}
.np-xp-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 18px;
}
.np-xp-bar__fill {
  height: 100%;
  background: #fff;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}
.np-xp-bar__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: np-shine 2.2s infinite;
}
@keyframes np-shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.np-rank-card__streak {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  padding: 10px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  width: fit-content;
}
.np-rank-card__streak-flame {
  font-size: 18px;
  animation: np-flicker 1.8s infinite;
}
@keyframes np-flicker {
  0%, 100% { transform: scale(1) rotate(-2deg); }
  30%      { transform: scale(1.15) rotate(2deg); }
  70%      { transform: scale(0.95) rotate(-3deg); }
}

/* challenge */
.np-challenge {
  background: #1c1c20;
  border: 1.5px solid var(--np-orange);
  padding: 26px 26px 28px;
  position: relative;
  color: var(--np-cream);
  overflow: hidden;
}
.np-challenge::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(207, 90, 42, 0.35);
  pointer-events: none;
}
.np-challenge__badge {
  display: inline-block;
  background: var(--np-orange);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  margin-bottom: 14px;
  font-weight: 600;
}
.np-challenge__title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 400;
  margin: 0 0 14px;
}
.np-challenge__title em {
  font-style: italic;
  color: var(--np-orange);
}
.np-challenge__desc {
  font-size: 13px;
  color: rgba(251, 246, 236, 0.75);
  line-height: 1.55;
  margin: 0 0 18px;
}
.np-challenge__progress-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  margin-bottom: 6px;
}
.np-challenge__progress-label .current {
  color: var(--np-orange);
  font-weight: 600;
  font-size: 18px;
}
.np-challenge__bar {
  height: 10px;
  background: rgba(251, 246, 236, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 18px;
}
.np-challenge__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--np-orange) 0%, #eaa270 100%);
  border-radius: 999px;
  position: relative;
}
.np-challenge__bar-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: np-shine 2.5s infinite;
}
.np-challenge__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 246, 236, 0.65);
  padding-top: 14px;
  border-top: 1px dashed rgba(251, 246, 236, 0.15);
}
.np-challenge__reward {
  color: var(--np-orange);
  font-weight: 600;
}

/* badge grid */
.np-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}
.np-badge {
  position: relative;
  padding: 18px 12px 14px;
  background: rgba(251, 246, 236, 0.06);
  border: 1px solid rgba(251, 246, 236, 0.12);
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: default;
}
.np-badge:hover {
  transform: translateY(-3px);
  background: rgba(251, 246, 236, 0.1);
}
.np-badge--unlocked {
  background: var(--np-orange);
  border-color: var(--np-orange);
  color: #fff;
}
.np-badge--unlocked .np-badge__pct { color: rgba(255,255,255,0.85); }
.np-badge__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  background: var(--np-cream);
  color: var(--np-ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  border: 2px solid var(--np-ink);
}
.np-badge--locked .np-badge__icon {
  background: transparent;
  color: rgba(251, 246, 236, 0.4);
  border-color: rgba(251, 246, 236, 0.2);
}
.np-badge--unlocked .np-badge__icon {
  background: #fff;
  color: var(--np-orange);
  border-color: #fff;
}
.np-badge__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  color: var(--np-cream);
  margin: 0 0 3px;
  letter-spacing: 0.02em;
}
.np-badge--locked .np-badge__name {
  color: rgba(251, 246, 236, 0.45);
}
.np-badge__pct {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(251, 246, 236, 0.45);
}
.np-badge--unlocked::after {
  content: "✓";
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.8;
}

/* live report compact */
.np-feed {
  background: rgba(251, 246, 236, 0.04);
  border: 1px solid rgba(251, 246, 236, 0.12);
  padding: 18px 22px;
}
.np-feed__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(251, 246, 236, 0.15);
}
.np-feed__title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--np-cream);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.np-feed__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--np-orange);
  font-weight: 600;
}
.np-feed__live::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--np-orange);
  border-radius: 50%;
  animation: np-pulse 1.4s infinite;
}
.np-feed__row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  padding: 10px 0;
  align-items: center;
  font-size: 13px;
  color: rgba(251, 246, 236, 0.92);
}
.np-feed__row + .np-feed__row {
  border-top: 1px dashed rgba(251, 246, 236, 0.1);
}
.np-feed__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--np-orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.np-feed__main strong { color: #fff; }
.np-feed__time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(251, 246, 236, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.np-feed__pts {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--np-orange-soft);
  font-weight: 600;
}

/* community stats row */
.np-gami-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1.5px dashed rgba(251, 246, 236, 0.18);
  border-bottom: 1.5px dashed rgba(251, 246, 236, 0.18);
  margin-top: 32px;
  padding: 24px 0;
}
.np-gami-stats > div {
  text-align: center;
  padding: 0 16px;
  border-right: 1px dashed rgba(251, 246, 236, 0.12);
}
.np-gami-stats > div:last-child { border-right: none; }
.np-gami-stats__num {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 360;
  font-style: italic;
  color: var(--np-orange);
  line-height: 1;
  letter-spacing: -0.02em;
}
.np-gami-stats__lab {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 246, 236, 0.6);
  margin-top: 8px;
}

/* ─── report flow (preis-melden) ───────────────────────────────────── */
.np-stepper {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.np-stepper__item {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.35;
  transition: opacity 0.3s ease;
}
.np-stepper__item--active { opacity: 1; }
.np-stepper__item--done   { opacity: 0.85; }
.np-stepper__num {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--np-ink);
  background: var(--np-cream);
  color: var(--np-ink);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.np-stepper__item--active .np-stepper__num {
  background: var(--np-ink);
  color: var(--np-cream);
  transform: scale(1.1);
}
.np-stepper__item--done .np-stepper__num {
  background: var(--np-sale);
  color: #fff;
  border-color: var(--np-sale);
}
.np-stepper__lab {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.np-stepper__sep {
  width: 36px;
  height: 1.5px;
  border-top: 1.5px dashed var(--np-line-soft);
}

.np-step {
  display: none;
}
.np-step--active {
  display: block;
  animation: np-step-in 0.45s ease;
}
@keyframes np-step-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.np-step__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 380;
  margin: 0 0 18px;
}
.np-step__title em {
  font-style: italic;
  color: var(--np-orange);
}
.np-step__lede {
  font-size: 17px;
  color: var(--np-graphite);
  margin: 0 0 38px;
  max-width: 560px;
  line-height: 1.55;
}

/* tile choices (entry step) */
.np-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.np-tile {
  background: #fffbf1;
  border: 1.5px solid var(--np-ink);
  padding: 36px 32px 40px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  text-align: left;
  font: inherit;
  color: inherit;
  display: block;
  width: 100%;
}
.np-tile:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 -1px var(--np-orange);
}
.np-tile--primary {
  background: var(--np-orange);
  color: #fff;
  border-color: var(--np-ink);
}
.np-tile--primary:hover {
  box-shadow: 10px 10px 0 -1px var(--np-ink);
}
.np-tile__icon {
  width: 56px;
  height: 56px;
  background: var(--np-ink);
  color: var(--np-cream);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
  transform: rotate(-3deg);
}
.np-tile--primary .np-tile__icon {
  background: #fff;
  color: var(--np-orange);
}
.np-tile__title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin: 0 0 8px;
}
.np-tile__desc {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.9;
}
.np-tile__tag {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
}
.np-tile--primary .np-tile__tag { background: rgba(255, 255, 255, 0.3); }

/* product suggest list */
.np-suggest {
  background: #fffbf1;
  border: 1.5px solid var(--np-ink);
  padding: 0;
  max-height: 360px;
  overflow-y: auto;
}
.np-suggest__item {
  padding: 14px 20px;
  display: grid;
  grid-template-columns: 44px 1fr auto auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1.5px dashed var(--np-line-soft);
  cursor: pointer;
  transition: background 0.15s ease, padding 0.15s ease;
}
.np-suggest__item:last-child { border-bottom: none; }
.np-suggest__item:hover {
  background: var(--np-paper);
  padding-left: 26px;
}
.np-suggest__item--selected {
  background: rgba(207, 90, 42, 0.12);
  border-left: 4px solid var(--np-orange);
  padding-left: 16px;
}
.np-suggest__thumb {
  width: 44px;
  height: 44px;
  background: var(--np-paper);
  border: 1px solid var(--np-line-soft);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  color: var(--np-graphite);
}
.np-suggest__title {
  font-weight: 600;
  font-size: 15px;
}
.np-suggest__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--np-graphite);
  margin-top: 2px;
  text-transform: uppercase;
}
.np-suggest__price {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--np-graphite);
  white-space: nowrap;
}
.np-suggest__arrow {
  color: var(--np-orange);
  font-family: var(--font-mono);
  font-size: 18px;
}

/* giant centered price input */
.np-price-input {
  background: #fffbf1;
  border: 2px solid var(--np-ink);
  padding: 50px 30px;
  text-align: center;
  position: relative;
  box-shadow: 14px 14px 0 -1px var(--np-orange);
}
.np-price-input__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--np-graphite);
  display: block;
  margin-bottom: 16px;
}
.np-price-input__wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}
.np-price-input__field {
  border: none;
  background: transparent;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 340;
  font-size: clamp(72px, 12vw, 160px);
  letter-spacing: -0.04em;
  color: var(--np-orange);
  text-align: center;
  width: auto;
  max-width: 420px;
  outline: none;
  padding: 0;
  line-height: 1;
}
.np-price-input__field::placeholder { color: rgba(207, 90, 42, 0.4); }
.np-price-input__field:focus { outline: none; }
.np-price-input__unit {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 42px;
  color: var(--np-graphite);
  font-weight: 400;
}
.np-price-input__grundpreis {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--np-graphite);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* summary bon */
.np-summary-bon {
  background: #fffbf1;
  border: 1.5px solid var(--np-ink);
  padding: 28px 28px 36px;
  position: relative;
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 10px),
    95% 100%, 88% calc(100% - 8px),
    80% 100%, 72% calc(100% - 8px),
    64% 100%, 56% calc(100% - 8px),
    48% 100%, 40% calc(100% - 8px),
    32% 100%, 24% calc(100% - 8px),
    16% 100%, 8% calc(100% - 8px),
    0 calc(100% - 10px)
  );
}
.np-summary-bon__head {
  text-align: center;
  border-bottom: 1.5px dashed var(--np-line-soft);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.np-summary-bon__head-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.np-summary-bon__head-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--np-graphite);
  margin-top: 4px;
}
.np-summary-bon__row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
}
.np-summary-bon__row-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--np-graphite);
}
.np-summary-bon__row-value {
  font-weight: 500;
  max-width: 60%;
  text-align: right;
}
.np-summary-bon__total {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 2px dashed var(--np-line-soft);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.np-summary-bon__total-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.np-summary-bon__total-value {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 38px;
  color: var(--np-orange);
  letter-spacing: -0.02em;
}

/* stepper action bar */
.np-step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1.5px dashed var(--np-line-soft);
}

/* success screen */
.np-success {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}
.np-success__seal {
  width: 180px;
  height: 180px;
  margin: 0 auto 32px;
  background: var(--np-orange);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  box-shadow: 0 16px 40px -12px rgba(207, 90, 42, 0.5);
  animation: np-seal-pop 0.7s cubic-bezier(0.18, 1.1, 0.4, 1.1);
}
@keyframes np-seal-pop {
  0%   { transform: scale(0.2) rotate(-20deg); opacity: 0; }
  60%  { transform: scale(1.1) rotate(5deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}
.np-success__seal::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px dashed rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  animation: np-spin 20s linear infinite;
}
@keyframes np-spin { to { transform: rotate(360deg); } }
.np-success__seal-tick {
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2px;
}
.np-success__seal-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.9;
}
.np-success__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 360;
  margin: 0 0 18px;
}
.np-success__title em { font-style: italic; color: var(--np-orange); }
.np-success__pts {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--np-ink);
  color: var(--np-cream);
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 14px 0 32px;
  box-shadow: 6px 6px 0 -1px var(--np-orange);
}
.np-success__pts strong { color: var(--np-orange); font-size: 28px; font-weight: 700; }

/* confetti */
.np-confetti {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  pointer-events: none;
}
.np-confetti span {
  position: absolute;
  width: 10px;
  height: 14px;
  top: 100px;
  left: 0;
  opacity: 0;
  animation: np-confetti-fall 2.2s ease-out forwards;
}
.np-confetti span:nth-child(1)  { background: var(--np-orange);      --x: -280px; --r: 220deg; animation-delay: 0.05s; }
.np-confetti span:nth-child(2)  { background: var(--np-sale);        --x: -180px; --r: -140deg; animation-delay: 0.10s; }
.np-confetti span:nth-child(3)  { background: var(--np-ink);         --x: -100px; --r: 180deg; animation-delay: 0.15s; }
.np-confetti span:nth-child(4)  { background: #d4af37;               --x:  -40px; --r: 360deg; animation-delay: 0.08s; }
.np-confetti span:nth-child(5)  { background: var(--np-orange-soft); --x:   60px; --r: -260deg; animation-delay: 0.12s; }
.np-confetti span:nth-child(6)  { background: var(--np-orange);      --x:  140px; --r: 180deg; animation-delay: 0.22s; }
.np-confetti span:nth-child(7)  { background: var(--np-sage);        --x:  220px; --r: -220deg; animation-delay: 0.18s; }
.np-confetti span:nth-child(8)  { background: var(--np-ink);         --x:  310px; --r: 140deg; animation-delay: 0.04s; }
.np-confetti span:nth-child(9)  { background: #d4af37;               --x: -240px; --r: -90deg; animation-delay: 0.32s; }
.np-confetti span:nth-child(10) { background: var(--np-sale);        --x:  -60px; --r: 200deg; animation-delay: 0.28s; }
.np-confetti span:nth-child(11) { background: var(--np-orange);      --x:   80px; --r: -360deg; animation-delay: 0.35s; }
.np-confetti span:nth-child(12) { background: var(--np-orange-soft); --x:  200px; --r: 320deg; animation-delay: 0.25s; }
@keyframes np-confetti-fall {
  0%   { opacity: 1; transform: translate(0, 0) rotate(0); }
  100% { opacity: 0; transform: translate(var(--x), 420px) rotate(var(--r)); }
}

/* ─── ean scanner ──────────────────────────────────────────────────── */
.np-scanner-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(17, 17, 20, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: np-scanner-fade 0.28s ease;
}
@keyframes np-scanner-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.np-scanner-modal[hidden] {
  display: none;
}

.np-scanner-panel {
  background: var(--np-cream);
  border: 2px solid var(--np-ink);
  box-shadow: 18px 18px 0 -1px var(--np-orange);
  max-width: 560px;
  width: 100%;
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.np-scanner-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 22px 14px;
  border-bottom: 1.5px dashed var(--np-line-soft);
}
.np-scanner-panel__title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.015em;
  font-weight: 400;
}
.np-scanner-panel__title em {
  font-style: italic;
  color: var(--np-orange);
}
.np-scanner-panel__close {
  border: none;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--np-graphite);
  cursor: pointer;
  padding: 4px 10px;
}
.np-scanner-panel__close:hover {
  color: var(--np-orange);
}

.np-scanner-stage {
  position: relative;
  background: #000;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.np-scanner-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.np-scanner-reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72%;
  aspect-ratio: 2.2 / 1;
  pointer-events: none;
}
.np-scanner-reticle::before,
.np-scanner-reticle::after,
.np-scanner-reticle > span::before,
.np-scanner-reticle > span::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: var(--np-orange);
  border-style: solid;
  border-width: 0;
}
.np-scanner-reticle::before { top: 0;    left: 0;    border-top-width: 3px;    border-left-width: 3px; }
.np-scanner-reticle::after  { top: 0;    right: 0;   border-top-width: 3px;    border-right-width: 3px; }
.np-scanner-reticle > span::before { bottom: 0; left: 0;  border-bottom-width: 3px; border-left-width: 3px;  content: ""; display: block; position: absolute; width: 26px; height: 26px; }
.np-scanner-reticle > span::after  { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; content: ""; display: block; position: absolute; width: 26px; height: 26px; }

.np-scanner-reticle__scan {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: 2px;
  background: var(--np-orange);
  box-shadow: 0 0 12px 1px rgba(207, 90, 42, 0.85);
  animation: np-scanner-sweep 1.6s ease-in-out infinite;
}
@keyframes np-scanner-sweep {
  0%, 100% { transform: translateY(-34px); opacity: 0.75; }
  50%      { transform: translateY(34px);  opacity: 1; }
}

.np-scanner-hint,
.np-scanner-status {
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--np-graphite);
  border-top: 1.5px dashed var(--np-line-soft);
}
.np-scanner-hint strong {
  color: var(--np-orange);
  font-weight: 600;
}
.np-scanner-status {
  background: var(--np-paper);
}
.np-scanner-status--error {
  background: #fde3de;
  color: var(--np-alert);
}
.np-scanner-status--hit {
  background: var(--np-sale-soft);
  color: var(--np-sale);
}

.np-scanner-unsupported {
  padding: 30px 26px;
  text-align: center;
}
.np-scanner-unsupported__title {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin: 0 0 10px;
}
.np-scanner-unsupported__body {
  font-size: 14px;
  color: var(--np-graphite);
  line-height: 1.55;
  margin: 0;
}

/* ─── legal pages (Impressum, Datenschutz) + FAQ ───────────────────── */
.np-legal {
  max-width: 760px;
  margin-top: 40px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--np-ink);
}
.np-legal section { margin-bottom: 44px; }
.np-legal h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 380;
  letter-spacing: -0.01em;
  color: var(--np-ink);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--np-ink);
}
.np-legal h2 em { color: var(--np-orange); font-style: italic; }
.np-legal h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 28px 0 10px;
  color: var(--np-graphite);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.np-legal h4 {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--np-ink);
  margin: 18px 0 6px;
  padding-left: 12px;
  border-left: 2px solid var(--np-orange);
}
.np-legal p { margin: 0 0 14px; }
.np-legal a { color: var(--np-orange); text-decoration: underline; text-underline-offset: 2px; }
.np-legal ul { padding-left: 22px; margin: 10px 0 14px; }
.np-legal ul li { margin-bottom: 10px; }
.np-legal ul.np-legal__toc {
  list-style: none;
  padding: 20px 24px;
  background: #fffbf1;
  border: 1.5px solid var(--np-ink);
  border-radius: 8px;
  columns: 2;
  column-gap: 36px;
}
.np-legal ul.np-legal__toc li {
  break-inside: avoid;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.np-legal ul.np-legal__toc a { color: var(--np-ink); text-decoration: none; }
.np-legal ul.np-legal__toc a:hover { color: var(--np-orange); text-decoration: underline; }
.np-legal__meta {
  display: inline-block;
  padding: 4px 10px;
  background: var(--np-ink);
  color: var(--np-cream);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.np-legal__source {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--np-graphite);
}
.np-legal__facts {
  padding: 8px 0 10px;
  font-size: 14px;
  border-left: 3px solid var(--np-orange);
  padding-left: 18px;
  background: #fffbf1;
  margin: 10px 0 14px;
  padding-top: 12px;
  padding-bottom: 6px;
}
.np-legal__facts li { margin-bottom: 4px; }

.np-faq {
  max-width: 820px;
  margin: 40px 0 80px;
  display: grid;
  gap: 16px;
}
.np-faq details {
  border: 1.5px solid var(--np-ink);
  background: #fffbf1;
  padding: 0;
  border-radius: 4px;
  overflow: hidden;
}
.np-faq details[open] { box-shadow: 8px 8px 0 -1px var(--np-orange); }
.np-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 28px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 380;
  letter-spacing: -0.01em;
  color: var(--np-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.np-faq summary::-webkit-details-marker { display: none; }
.np-faq summary::after {
  content: "＋";
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--np-orange);
  transform: translateY(-2px);
}
.np-faq details[open] summary::after { content: "−"; }
.np-faq summary:hover { color: var(--np-orange); }
.np-faq__body {
  padding: 0 28px 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--np-graphite);
}
.np-faq__body a { color: var(--np-orange); }

/* ─── home: empty state card ───────────────────────────────────────── */
.np-empty-card {
  padding: 40px 28px;
  border: 1.5px dashed var(--np-line-soft);
  background: var(--np-paper);
  text-align: center;
}
.np-empty-card p {
  margin: 0 0 20px;
  color: var(--np-graphite);
  font-size: 16px;
  line-height: 1.5;
}

/* ─── home: fresh-deals grid ───────────────────────────────────────── */
.np-home-deals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.np-home-deal {
  background: var(--np-paper);
  border: 1.5px solid var(--np-line);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.np-home-deal:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0 -1px var(--np-ink);
}
.np-home-deal__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.np-home-deal__name {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 400;
  color: var(--np-ink);
  text-decoration: none;
}
a.np-home-deal__name:hover {
  color: var(--np-orange);
}
.np-home-deal__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--np-graphite);
  text-transform: uppercase;
}
.np-home-deal__price {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--np-ink);
  font-variant-numeric: tabular-nums;
}
.np-home-deal__time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--np-graphite);
  text-transform: uppercase;
}

/* ─── home: podium (Top-Sparfüchse) ────────────────────────────────── */
.np-home-podium {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 22px;
  align-items: end;
  margin-top: 40px;
}
.np-home-podium__card {
  background: var(--np-paper);
  border: 1.5px solid var(--np-ink);
  padding: 28px 22px 30px;
  box-shadow: 6px 6px 0 -1px var(--np-ink);
  text-align: center;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.np-home-podium__card--top {
  background: var(--np-cream);
  border: 2px solid var(--np-ink);
  padding: 36px 24px 38px;
  box-shadow: 10px 10px 0 -1px var(--np-orange);
  min-height: 300px;
}
.np-home-podium__rank {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--np-graphite);
}
.np-home-podium__rank--first {
  color: var(--np-orange);
  font-weight: 600;
}
.np-home-podium__num {
  font-family: var(--font-display);
  font-size: 68px;
  line-height: 1;
  color: var(--np-graphite);
  font-style: italic;
  font-weight: 360;
  letter-spacing: -0.03em;
  margin: 14px 0;
}
.np-home-podium__num--first {
  font-size: 100px;
  color: var(--np-orange);
  letter-spacing: -0.04em;
}
.np-home-podium__name {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 400;
  margin: 0 0 6px;
}
.np-home-podium__card--top .np-home-podium__name {
  font-size: 28px;
}
.np-home-podium__tier {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--np-graphite);
  margin-bottom: 10px;
}
.np-home-podium__xp {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--np-ink);
}
.np-home-podium__card--top .np-home-podium__xp {
  font-size: 20px;
  font-weight: 700;
}

/* ─── home: arrivals (Neu dabei) ───────────────────────────────────── */
.np-home-arrivals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.np-home-arrivals__col {
  border: 1.5px solid var(--np-line);
  background: var(--np-paper);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.np-home-arrivals__head {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--np-orange);
  font-weight: 600;
  border-bottom: 1.5px dashed var(--np-line-soft);
  padding-bottom: 10px;
}
.np-home-arrivals__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.np-home-arrivals__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 15px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--np-line-soft);
}
.np-home-arrivals__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.np-home-arrivals__list a {
  color: var(--np-ink);
  text-decoration: none;
  font-weight: 500;
}
.np-home-arrivals__list a:hover {
  color: var(--np-orange);
}
.np-home-arrivals__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--np-graphite);
  text-transform: uppercase;
}
.np-home-arrivals__time {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--np-graphite);
  text-transform: uppercase;
}
.np-home-arrivals__empty {
  margin: 0;
  color: var(--np-graphite);
  font-size: 14px;
}

/* ─── home: stats strip (Zahlen) ───────────────────────────────────── */
.np-home-stats {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--np-graphite);
  text-align: center;
  padding: 28px 20px;
  border-top: 1px dashed var(--np-line-soft);
  border-bottom: 1px dashed var(--np-line-soft);
}

/* ─── responsive ───────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .np-hero-tag { display: none; }
  .np-community__inner { grid-template-columns: 1fr; gap: 48px; }
  .np-split { grid-template-columns: 1fr; gap: 40px; }
  .np-footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .np-gami-grid { grid-template-columns: 1fr; gap: 20px; }
  .np-gami-stats { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .np-gami-stats > div:nth-child(2) { border-right: none; }
}
@media (max-width: 720px) {
  .np-nav__links { display: none; }
  .np-nav__inner { grid-template-columns: auto auto 1fr; }
  .np-nav__burger { display: inline-flex; order: 2; justify-self: end; margin-right: 4px; }
  .np-nav__cta { order: 3; }
  .np-nav__cta .np-btn--ghost { display: none; }
  .np-nav__links--mobile-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--np-cream, #fbf6ec);
    border-bottom: 1.5px solid var(--np-ink);
    padding: 8px 20px 16px;
    z-index: 60;
  }
  .np-nav__links--mobile-open a {
    padding: 14px 4px;
    border-bottom: 1px dashed var(--np-line-soft);
    font-size: 16px;
  }
  .np-nav__links--mobile-open a:last-child { border-bottom: 0; }

  .np-section { padding: 48px 18px; }
  .np-section__meta { gap: 10px; font-size: 11px; letter-spacing: 0.15em; margin-bottom: 14px; }
  .np-section__lede { font-size: 16px; margin: 0 0 32px; }

  .np-hero { padding: 40px 18px 28px; }
  .np-hero__lede { font-size: 17px; margin: 0 0 32px; }
  .np-hero__cta-row .np-search { width: 100%; max-width: none; }
  .np-search { padding: 5px 5px 5px 18px; box-shadow: 5px 5px 0 -1px var(--np-ink); }
  .np-search button { padding: 10px 14px; font-size: 12px; flex-shrink: 0; }

  .np-footer__inner { grid-template-columns: 1fr; }

  .np-feature-card { padding: 26px 22px 28px; }
  .np-feature-card__title { font-size: 22px; }
  .np-feature-card__icon { width: 44px; height: 44px; margin-bottom: 22px; }

  .np-home-deals { grid-template-columns: 1fr; }
  .np-home-deal { padding: 18px; }
  .np-home-deal__name { font-size: 18px; }
  .np-home-deal__price { font-size: 22px; }

  .np-home-podium { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .np-home-podium__card { padding: 22px 18px 24px; min-height: auto; }
  .np-home-podium__card--top {
    order: -1;
    min-height: auto;
    padding: 28px 20px 30px;
    box-shadow: 7px 7px 0 -1px var(--np-orange);
  }
  .np-home-podium__num { font-size: 54px; margin: 10px 0; }
  .np-home-podium__num--first { font-size: 66px; }
  .np-home-podium__name { font-size: 20px; }
  .np-home-podium__card--top .np-home-podium__name { font-size: 24px; }

  .np-home-arrivals { grid-template-columns: 1fr; gap: 18px; }
  .np-home-arrivals__col { padding: 20px 18px; }
  .np-home-arrivals__list li { font-size: 14px; }
  .np-home-arrivals__time { margin-left: 0; width: 100%; }

  .np-home-stats { font-size: 11px; letter-spacing: 0.1em; padding: 20px 16px; }

  .np-empty-card { padding: 24px 18px; }
}

@media (max-width: 480px) {
  .np-section { padding: 36px 14px; }
  .np-hero { padding: 30px 14px 22px; }
  .np-hero__h1 { font-size: clamp(40px, 12vw, 54px); }
  .np-hero__lede { font-size: 15px; margin: 0 0 28px; }
  .np-hero__signal { font-size: 10px; }

  .np-search { padding: 4px 4px 4px 14px; gap: 6px; }
  .np-search input { font-size: 15px; }
  .np-search button { padding: 9px 12px; font-size: 11px; }

  .np-section__title { font-size: clamp(28px, 9vw, 40px); }
  .np-section__lede { font-size: 15px; margin: 0 0 24px; }

  .np-feature-card { padding: 22px 18px 24px; }
  .np-feature-card__title { font-size: 20px; }
  .np-feature-card__desc { font-size: 14px; }

  .np-home-deal__price { font-size: 20px; }
  .np-home-podium__num { font-size: 44px; }
  .np-home-podium__num--first { font-size: 56px; }

  .np-btn { padding: 10px 16px; font-size: 13px; }
  .np-btn--sm { padding: 8px 12px; font-size: 12px; }
}

/* ─── trust-badge (review queues) ──────────────────────────────────── */
.np-trust__tier {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--np-graphite, #6c757d);
    border: 1px solid currentColor;
    padding: 0 4px;
    border-radius: 2px;
    margin-left: 4px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ─── proposal-queue tags (new-chain / independent) ────────────────── */
.np-proposal-tag {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid currentColor;
    border-radius: 2px;
    vertical-align: middle;
}
.np-proposal-tag--new-chain {
    color: #9a6a00;
    background: #fff4d6;
    border-color: #d8a900;
}
.np-proposal-tag--independent {
    color: var(--np-graphite, #6c757d);
    background: transparent;
}

/* ============================================================================
   Shopping scan-match feedback
   Toasts + row-flash + confirm-wrong modal used by the shopping-mode scanner.
   All tokens resolve against var(--np-*), see top of this file.
   ============================================================================ */

.np-toast-stack {
    position: fixed;
    top: 80px;
    right: 20px;
    display: grid;
    gap: 8px;
    z-index: 110;
    pointer-events: none;
}
.np-toast {
    min-width: 220px;
    max-width: 360px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--np-ink);
    border: 1.5px solid var(--np-ink);
    border-left-width: 4px;
    box-shadow: 4px 4px 0 -1px var(--np-ink);
    animation: npToastIn 180ms ease-out;
}
.np-toast--success {
    background: #d9ecdd;
    border-left-color: #2f7a3d;
}
.np-toast--warning {
    background: #fff3e5;
    border-left-color: var(--np-orange);
}
.np-toast--info {
    background: #fff5dd;
    border-left-color: #b48800;
}
@keyframes npToastIn {
    from { opacity: 0; transform: translateX(12px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Reviewer-Hilfsbadge: Country-Code des Vorschlag-Submitters. Sitzt
   neben dem Trust-Badge in den Review-Queue-Tabellen. */
.np-country-badge {
    display: inline-block;
    padding: 1px 6px;
    margin-left: 4px;
    border-radius: 3px;
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
    vertical-align: middle;
}
.np-country-badge--ok       { background: #d9ecdd; color: #264; }
.np-country-badge--warn     { background: #fde3de; color: #a23; font-weight: 600; }
.np-country-badge--pending  { background: var(--np-line-soft); color: var(--np-graphite); }

.np-list-item--just-checked {
    animation: npRowFlash 600ms ease-out;
}
@keyframes npRowFlash {
    0%   { background: #d9ecdd; }
    100% { background: transparent; }
}

/* Concept-Match-Pulse — wird nach jedem auto-match Scan-Result auf dem
   matched-list_item kurz gezeigt (1.2s, 1 cycle). Reine visuelle Affordanz
   damit der User auch ohne Toast sieht, was abgehakt wurde. Klassen werden
   per JS in np-shopping-poll.js getoggelt (siehe pulseListItem()). */
.np-list-item--pulse {
    animation: np-pulse-highlight 1200ms ease-in-out;
}
@keyframes np-pulse-highlight {
    0%   {
        box-shadow: 0 0 0 0 var(--np-orange);
        background: var(--np-paper);
    }
    50%  {
        box-shadow: 0 0 0 6px rgba(207, 90, 42, 0.25);
        background: #fffbf1;
    }
    100% {
        box-shadow: 0 0 0 0 var(--np-orange);
        background: transparent;
    }
}

/* Concept-Confirm-Modal product-image preview block. Klein, zentriert,
   nur sichtbar wenn das Produkt ein Bild hat. */
.np-concept-confirm-modal__product {
    margin-top: 12px;
    padding: 10px;
    border: 1px dashed var(--np-line-soft);
    background: var(--np-paper);
    text-align: center;
}
.np-concept-confirm-modal__product img {
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
}

/* Pro-Item-Mengen-Stepper im Shopping-Mode. Drei Zustände:
   - empty   (0 / N)            — neutral
   - partial (X / N, X < N)     — orange (Item teilweise im Wagen)
   - done    (X / N, X >= N)    — grün (Soll erreicht oder übertroffen) */
.np-item-counter {
    transition: background 200ms ease-out, border-color 200ms ease-out;
    background: var(--np-paper);
}
.np-item-counter--empty {
    border-color: var(--np-line);
    color: var(--np-graphite);
}
.np-item-counter--partial {
    border-color: var(--np-orange);
    background: #fffbf1;
    color: var(--np-ink);
}
.np-item-counter--done {
    border-color: #4a8b5b;
    background: #d9ecdd;
    color: #264;
}
.np-item-counter__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.np-scan-confirm-modal {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 20, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 120;
    padding: 20px;
}
.np-scan-confirm-panel {
    background: #fffbf1;
    border: 1.5px solid var(--np-ink);
    box-shadow: 8px 8px 0 -1px var(--np-orange);
    padding: 22px 24px;
    max-width: 440px;
    width: 100%;
    color: var(--np-ink);
}

/* ============================================================================
   Shopping price-capture
   Inline form on a just-checked specific item + the scan-hint toast that
   offers a mini price field after a green match. XP-pop is the short
   feedback animation that fades up out of the row header when a price
   lands successfully.
   ============================================================================ */

.np-price-capture-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
    padding: 8px 0 4px 40px;
    font-size: 14px;
    color: var(--np-ink);
}
.np-price-capture-inline label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--np-graphite);
}

.np-price-input--inline {
    width: 110px;
    padding: 8px 10px;
    border: 1.5px solid var(--np-ink);
    background: #fffbf1;
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 600;
    color: var(--np-ink);
    text-align: right;
    box-shadow: 3px 3px 0 -1px var(--np-orange);
}
.np-price-input--inline:focus {
    outline: none;
    box-shadow: 4px 4px 0 -1px var(--np-orange);
    border-color: var(--np-orange);
}

.np-scan-capture-toast {
    position: fixed;
    top: 150px;
    right: 20px;
    z-index: 115;
    min-width: 280px;
    max-width: 420px;
    padding: 14px 16px;
    background: #fffbf1;
    border: 1.5px solid var(--np-ink);
    border-left: 4px solid var(--np-orange);
    box-shadow: 6px 6px 0 -1px var(--np-ink);
    color: var(--np-ink);
}
.np-scan-capture-toast .np-price-capture-inline {
    margin-top: 8px;
    padding-left: 0;
}
.np-scan-capture-toast__label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--np-graphite);
    margin-bottom: 2px;
}
.np-scan-capture-toast__last-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    padding: 8px 10px;
    background: var(--np-orange-soft);
    border: 1.5px solid var(--np-orange);
    font-size: 13px;
}
.np-scan-capture-toast__last-price em {
    font-style: normal;
    color: var(--np-graphite);
    margin-left: 4px;
    font-size: 12px;
}

.np-xp-pop {
    display: inline-block;
    margin-left: 10px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 12px;
    color: var(--np-orange);
    pointer-events: none;
    animation: npXpPop 1200ms ease-out forwards;
}
@keyframes npXpPop {
    0%   { opacity: 0; transform: translateY(10px); }
    25%  { opacity: 1; transform: translateY(0); }
    75%  { opacity: 1; transform: translateY(-4px); }
    100% { opacity: 0; transform: translateY(-10px); }
}

/* ---------- Shopping: cart total + confidence badges ----------------------- */

.np-cart-total {
    margin-top: 14px;
    padding: 14px 16px;
    background: #fffbf1;
    border: 1.5px solid var(--np-ink);
    box-shadow: 5px 5px 0 -1px var(--np-orange);
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 14px;
}
.np-cart-total__eur {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 30px;
    letter-spacing: -0.01em;
    color: var(--np-ink);
}
.np-cart-total__breakdown {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.np-cart-total__chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border: 1.5px solid var(--np-ink);
    background: var(--np-cream);
    color: var(--np-ink);
}
.np-cart-total__chip--confirmed {
    background: var(--np-sale-soft);
    color: var(--np-sale);
    border-color: var(--np-sale);
}
.np-cart-total__chip--fresh {
    background: var(--np-orange-soft);
    color: var(--np-orange-deep);
    border-color: var(--np-orange);
}
.np-cart-total__chip--missing {
    background: var(--np-cream);
    color: var(--np-graphite);
    border-style: dashed;
}
.np-cart-total__info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1.5px solid var(--np-ink);
    background: var(--np-cream);
    color: var(--np-ink);
    font-family: var(--font-mono);
    font-size: 12px;
    cursor: pointer;
    padding: 0;
}
.np-cart-total__info:hover {
    background: var(--np-ink);
    color: var(--np-cream);
}
.np-cart-total__hint {
    flex-basis: 100%;
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--np-graphite);
}

.np-item-confidence {
    display: inline-block;
    margin-left: 10px;
    padding: 1px 7px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    border: 1.5px solid var(--np-ink);
    vertical-align: middle;
}
.np-item-confidence--confirmed {
    color: var(--np-sale);
    border-color: var(--np-sale);
    background: var(--np-sale-soft);
}
.np-item-confidence--fresh {
    color: var(--np-orange-deep);
    border-color: var(--np-orange);
    background: var(--np-orange-soft);
}
.np-item-confidence--missing {
    color: var(--np-graphite);
    border-style: dashed;
    background: transparent;
}

.np-item-aktion {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #ffffff;
    background: var(--np-orange);
    border: 1.5px solid var(--np-orange-deep);
    vertical-align: middle;
}

.np-summary-total {
    margin-top: 14px;
    padding: 18px 20px;
    background: #fffbf1;
    border: 1.5px solid var(--np-ink);
    box-shadow: 5px 5px 0 -1px var(--np-orange);
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 14px;
}
.np-summary-total__eur {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 34px;
    letter-spacing: -0.01em;
    color: var(--np-ink);
}
.np-summary-total__breakdown {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.np-summary-stats {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.np-summary-stats__item {
    padding: 14px 12px;
    border: 1.5px solid var(--np-line-soft);
    background: #fffbf1;
    text-align: center;
}
.np-summary-stats__value {
    display: block;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 22px;
    color: var(--np-ink);
}
.np-summary-stats__label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--np-graphite);
    margin-top: 4px;
}
@media (max-width: 520px) {
    .np-summary-total__eur {
        font-size: 26px;
    }
    .np-summary-stats__value {
        font-size: 18px;
    }
}

.np-unknown-capture-card {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 120;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    padding: 16px 18px;
    background: #fffbf1;
    border: 1.5px solid var(--np-ink);
    border-left: 4px solid var(--np-orange);
    box-shadow: 6px 6px 0 -1px var(--np-ink);
    color: var(--np-ink);
    animation: npUnknownSlideUp 220ms ease-out;
}
@keyframes npUnknownSlideUp {
    0%   { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.np-unknown-capture-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.np-unknown-capture-card__ean {
    font-size: 13px;
    color: var(--np-graphite);
    margin: 4px 0 10px;
}
.np-unknown-capture-card__form {
    display: grid;
    gap: 10px;
}
.np-unknown-capture-card__label {
    display: grid;
    gap: 4px;
    font-size: 13px;
}
.np-unknown-capture-card__hint {
    font-size: 12px;
    color: var(--np-graphite);
}
.np-unknown-capture-card__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 6px;
}
@media (max-width: 520px) {
    .np-unknown-capture-card {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 14px 14px;
    }
}

.np-missing-price-cta-row {
    margin-top: 8px;
    padding-left: 38px;
}
.np-missing-price-cta {
    font-family: var(--font-mono);
    font-size: 12px;
    border: 1.5px dashed var(--np-graphite);
    background: transparent;
    color: var(--np-graphite);
    padding: 4px 10px;
}
.np-missing-price-cta:hover {
    background: var(--np-ink);
    border-style: solid;
    border-color: var(--np-ink);
    color: var(--np-cream);
}

.np-confidence-legend {
    list-style: disc inside;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: var(--np-ink);
    line-height: 1.55;
}
.np-confidence-legend li + li {
    margin-top: 6px;
}

@media (max-width: 520px) {
    .np-cart-total__eur {
        font-size: 24px;
    }
    .np-cart-total__chip {
        font-size: 11px;
        padding: 2px 6px;
    }
    .np-cart-total {
        gap: 10px;
        padding: 12px 14px;
    }
}
