/* Neelix Recovery Shop — Public Styles
   Bewusst kein Wellness-Glitzer. Klare Linien, evidenzbasierte Anmutung.
   Dunkles Theme-kompatibel: verwendet semantische CSS-Custom-Properties,
   damit es sich an deinem Theme orientiert, aber differenziert wirkt. */

.nshop-app {
  --nshop-bg: #0b1220;
  --nshop-bg-alt: #111a2e;
  --nshop-fg: #e5edf7;
  --nshop-fg-muted: #9aa9c0;
  --nshop-accent: #6ee7b7;
  --nshop-accent-2: #38bdf8;
  --nshop-border: rgba(110, 231, 183, 0.18);
  --nshop-warn: #fbbf24;
  --nshop-emergency: #ef4444;
  --nshop-critical: #f97316;

  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--nshop-fg);
  background: linear-gradient(180deg, var(--nshop-bg) 0%, var(--nshop-bg-alt) 100%);
  border-radius: 18px;
  padding: 32px;
  margin: 32px 0;
  border: 1px solid var(--nshop-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

/* Theme-safe: some themes reset [hidden] and break conditional sections. */
.nshop-app [hidden] {
  display: none !important;
}

.nshop-hero h2 {
  font-size: 2rem;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  color: var(--nshop-fg);
}
.nshop-hero p {
  color: var(--nshop-fg-muted);
  margin: 0 0 24px;
  max-width: 640px;
  line-height: 1.6;
}

.nshop-form fieldset.nshop-step {
  border: 1px solid var(--nshop-border);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.02);
}
.nshop-form legend {
  padding: 0 8px;
  font-weight: 600;
  color: var(--nshop-accent);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nshop-help {
  color: var(--nshop-fg-muted);
  font-size: 0.9rem;
  margin: 0 0 12px;
}

.nshop-subs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.nshop-sub {
  display: block;
  border: 1px solid var(--nshop-border);
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  background: rgba(255,255,255,0.02);
  transition: background 0.15s, border-color 0.15s;
}
.nshop-sub:hover {
  background: rgba(110, 231, 183, 0.06);
  border-color: var(--nshop-accent);
}
.nshop-sub input[type="checkbox"] {
  margin-right: 8px;
  accent-color: var(--nshop-accent);
}
.nshop-sub.is-active {
  background: rgba(110, 231, 183, 0.10);
  border-color: var(--nshop-accent);
}
.nshop-sub-details {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--nshop-border);
}
.nshop-sub-details label {
  font-size: 0.85rem;
  color: var(--nshop-fg-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nshop-sub-details select,
.nshop-sub-details input[type="number"] {
  background: var(--nshop-bg);
  color: var(--nshop-fg);
  border: 1px solid var(--nshop-border);
  border-radius: 6px;
  padding: 6px 8px;
  font: inherit;
}

.nshop-phases {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px;
}
.nshop-phase {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--nshop-border);
  border-radius: 8px;
  cursor: pointer;
  background: rgba(255,255,255,0.02);
}
.nshop-phase:hover { border-color: var(--nshop-accent-2); }
.nshop-phase input[type="radio"] { accent-color: var(--nshop-accent-2); }

.nshop-symptoms {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}
.nshop-symptom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
}
.nshop-symptom label {
  grid-column: 1 / 3;
  color: var(--nshop-fg-muted);
  font-size: 0.9rem;
}
.nshop-symptom input[type="range"] {
  grid-column: 1 / 2;
  accent-color: var(--nshop-accent);
}
.nshop-symptom output {
  grid-column: 2 / 3;
  min-width: 24px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--nshop-accent);
  font-weight: 600;
}

.nshop-emergency {
  border-color: rgba(239, 68, 68, 0.35) !important;
  background: rgba(239, 68, 68, 0.05) !important;
}
.nshop-emergency legend { color: var(--nshop-emergency); }

.nshop-flags {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 6px;
}
.nshop-flag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--nshop-border);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.02);
}
.nshop-flag input[type="checkbox"] { accent-color: var(--nshop-accent-2); }

.nshop-submit-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.nshop-btn-primary {
  background: linear-gradient(120deg, var(--nshop-accent) 0%, var(--nshop-accent-2) 100%);
  color: #08111e;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: transform 0.1s, box-shadow 0.15s;
  align-self: flex-start;
}
.nshop-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(110, 231, 183, 0.25);
}
.nshop-btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--nshop-border);
  border-radius: 8px;
  color: var(--nshop-fg);
  text-decoration: none;
  background: transparent;
}

.nshop-disclaimer-inline {
  color: var(--nshop-fg-muted);
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 600px;
  margin: 0;
}

.nshop-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--nshop-emergency);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 16px 0;
  color: #fecaca;
}

/* Result-Bereich */
.nshop-result, .nshop-app[data-state="result"] .nshop-result-inline {
  margin-top: 24px;
}

.nshop-safety .nshop-flag-msg {
  border-radius: 10px;
  padding: 14px 18px;
  margin: 12px 0;
  line-height: 1.55;
}
.nshop-flag-msg.nshop-sev-emergency {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid var(--nshop-emergency);
  color: #fecaca;
}
.nshop-flag-msg.nshop-sev-critical {
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid var(--nshop-critical);
  color: #fed7aa;
}
.nshop-flag-msg.nshop-sev-warning {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid var(--nshop-warn);
  color: #fde68a;
}

.nshop-tier {
  margin-top: 28px;
}
.nshop-tier h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: var(--nshop-accent);
  letter-spacing: -0.01em;
}
.nshop-tier-extended h3 { color: var(--nshop-accent-2); }
.nshop-tier-optional h3 { color: var(--nshop-fg-muted); }

.nshop-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.nshop-product {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--nshop-border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nshop-product.nshop-is-bundle {
  background: linear-gradient(135deg, rgba(110, 231, 183, 0.08), rgba(56, 189, 248, 0.06));
  border-color: var(--nshop-accent);
}
.nshop-product header {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}
.nshop-product header h4 {
  margin: 0;
  font-size: 1.05rem;
  flex: 1 1 100%;
}
.nshop-brand {
  font-size: 0.8rem;
  color: var(--nshop-fg-muted);
}
.nshop-evidence-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: auto;
  background: rgba(255,255,255,0.06);
  color: var(--nshop-fg-muted);
}
.nshop-ev-rct_meta   { color: #052e1a; background: var(--nshop-accent); }
.nshop-ev-rct_single { color: #04293d; background: var(--nshop-accent-2); }
.nshop-ev-mechanistic{ color: #fde68a; background: rgba(251, 191, 36, 0.2); }
.nshop-ev-traditional{ color: var(--nshop-fg-muted); }

.nshop-desc { margin: 0; color: var(--nshop-fg); font-size: 0.92rem; line-height: 1.5; }
.nshop-rationale {
  margin: 0;
  font-size: 0.82rem;
  color: var(--nshop-fg-muted);
  font-style: italic;
}
.nshop-claims summary {
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--nshop-fg-muted);
}
.nshop-claims ul {
  margin: 8px 0 0;
  padding-left: 16px;
  font-size: 0.82rem;
  color: var(--nshop-fg-muted);
}
.nshop-warns {
  font-size: 0.82rem;
  background: rgba(251, 191, 36, 0.08);
  color: #fde68a;
  padding: 8px 10px;
  border-radius: 6px;
}
.nshop-product footer { margin-top: auto; }

.nshop-domain-scores,
.nshop-blocked {
  margin-top: 24px;
  color: var(--nshop-fg-muted);
}
.nshop-domain-scores summary,
.nshop-blocked summary {
  cursor: pointer;
  font-weight: 600;
}

.nshop-empty {
  background: rgba(255,255,255,0.04);
  border: 1px dashed var(--nshop-border);
  padding: 24px;
  border-radius: 12px;
  color: var(--nshop-fg-muted);
}

.nshop-template-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 14px;
}

.nshop-hub-header h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.nshop-hub-lead {
  color: var(--nshop-fg-muted);
  margin: 0;
  line-height: 1.65;
  max-width: 840px;
}

.nshop-breadcrumb {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: var(--nshop-fg-muted);
}

.nshop-breadcrumb a {
  color: var(--nshop-accent-2);
  text-decoration: none;
}

.nshop-hub-section {
  margin-top: 26px;
}

.nshop-hub-section h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  color: var(--nshop-accent);
}

.nshop-domain-grid,
.nshop-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.nshop-domain-card,
.nshop-link-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--nshop-border);
  border-radius: 10px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  color: var(--nshop-fg);
  transition: border-color .15s, transform .15s;
}

.nshop-domain-card:hover,
.nshop-link-card:hover {
  border-color: var(--nshop-accent-2);
  transform: translateY(-1px);
}

.nshop-domain-card h3,
.nshop-link-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.nshop-domain-card p,
.nshop-link-card p {
  margin: 0;
  color: var(--nshop-fg-muted);
  font-size: .88rem;
}

.nshop-ingredient-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.nshop-ingredient-table th,
.nshop-ingredient-table td {
  border-bottom: 1px solid var(--nshop-border);
  padding: 8px 10px;
  text-align: left;
}

.nshop-claims-list {
  margin: 0;
  padding-left: 18px;
  color: var(--nshop-fg-muted);
}

.nshop-faq-item {
  border: 1px solid var(--nshop-border);
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
}

.nshop-faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.nshop-faq-item p {
  margin: 10px 0 0;
  color: var(--nshop-fg-muted);
  line-height: 1.6;
}

.nshop-direct-answer {
  margin-top: 18px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 10px;
  padding: 14px 16px;
  background: rgba(56, 189, 248, 0.08);
}

.nshop-direct-answer-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nshop-accent-2);
  margin-bottom: 6px;
}

.nshop-direct-answer-text {
  margin: 0;
  color: var(--nshop-fg);
  line-height: 1.6;
}

/* AI-Rationale Block */
.nshop-rationale-block {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.06), rgba(110, 231, 183, 0.05));
  border: 1px solid var(--nshop-border);
}
.nshop-rationale-block h3 {
  margin: 0 0 10px;
  color: var(--nshop-accent-2);
  font-size: 1.1rem;
}
.nshop-rationale-text p {
  margin: 0 0 10px;
  line-height: 1.65;
  color: var(--nshop-fg);
}
.nshop-rationale-text p:last-child { margin-bottom: 0; }
.nshop-rationale-meta {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--nshop-fg-muted);
  font-style: italic;
}
.nshop-rationale-empty .nshop-help {
  margin-bottom: 12px;
}
.nshop-shopping-sheet {
  margin-top: 24px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(21, 112, 239, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(245, 249, 255, 0.92) 100%);
  box-shadow: 0 14px 34px rgba(16, 33, 61, 0.09);
}

.nshop-shopping-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.nshop-shopping-head h3 {
  margin: 0 0 8px;
  color: #0b1d3a;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
}

.nshop-print-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
  min-width: 220px;
}

.nshop-print-hint {
  color: #5f7293;
  font-size: .8rem;
  text-align: right;
}

.nshop-shopping-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.nshop-shopping-steps > div {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 112, 239, 0.12);
  color: #28456e;
  font-size: .9rem;
}

.nshop-shopping-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.nshop-context-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(21, 112, 239, 0.08);
  border: 1px solid rgba(21, 112, 239, 0.14);
  color: #29456d;
  font-size: .8rem;
  font-weight: 700;
}

.nshop-shopping-guidance {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 112, 239, 0.12);
}

.nshop-shopping-guidance h4 {
  margin: 0 0 10px;
  color: #143058;
}

.nshop-shopping-guidance ul {
  margin: 0;
  padding-left: 18px;
  color: #4f6485;
}

.nshop-shopping-guidance li + li {
  margin-top: 6px;
}

.nshop-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.nshop-context-card {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(21, 112, 239, 0.12);
}

.nshop-context-card h3 {
  margin: 0 0 10px;
  color: #143058;
  font-size: 1rem;
}

.nshop-context-card-wide {
  grid-column: 1 / -1;
}

.nshop-context-options {
  grid-template-columns: 1fr;
}

.nshop-shopping-alert {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(217, 119, 6, 0.22);
  color: #7c4a03;
  line-height: 1.55;
}

.nshop-shopping-body {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.nshop-shopping-group {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(21, 112, 239, 0.12);
}

.nshop-shopping-group h4 {
  margin: 0 0 12px;
  color: #143058;
  font-size: 1rem;
}

.nshop-shopping-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.nshop-shopping-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px dashed rgba(21, 112, 239, 0.14);
}

.nshop-shopping-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.nshop-shopping-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid rgba(21, 112, 239, 0.24);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nshop-shopping-copy {
  display: grid;
  gap: 4px;
}

.nshop-shopping-copy strong {
  color: #10213d;
}

.nshop-shopping-meta,
.nshop-shopping-note,
.nshop-shopping-warn {
  display: block;
  font-size: .86rem;
  line-height: 1.5;
}

.nshop-shopping-meta,
.nshop-shopping-note {
  color: #5f7293;
}

.nshop-shopping-warn {
  color: #a84317;
  font-weight: 600;
}
.nshop-ai-status {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--nshop-fg-muted);
}
.nshop-ai-status-warn { color: var(--nshop-warn); }
.nshop-ai-status-err { color: var(--nshop-emergency); }
.nshop-ai-enrich-btn {
  cursor: pointer;
}
.nshop-ai-enrich-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ======================================================
   2026 UI Refresh: Light Glassmorphism + Wide Layout
   ====================================================== */

.nshop-template-wrap {
  max-width: 1500px;
  padding: 0 20px;
}

.nshop-page-template .nshop-page-content {
  width: 100%;
  max-width: none;
}

.nshop-app {
  --nshop-bg: #f4f8ff;
  --nshop-bg-alt: #ebf2ff;
  --nshop-fg: #10213d;
  --nshop-fg-muted: #5f7293;
  --nshop-accent: #00b894;
  --nshop-accent-2: #1570ef;
  --nshop-border: rgba(21, 112, 239, 0.16);
  --nshop-glass: rgba(255, 255, 255, 0.65);
  --nshop-glass-2: rgba(255, 255, 255, 0.48);

  font-family: Manrope, "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--nshop-fg);
  background:
    radial-gradient(900px 450px at 88% -8%, rgba(21, 112, 239, 0.12), transparent 58%),
    radial-gradient(780px 420px at -12% 102%, rgba(0, 184, 148, 0.12), transparent 62%),
    linear-gradient(165deg, var(--nshop-bg) 0%, var(--nshop-bg-alt) 100%);
  border: 1px solid var(--nshop-border);
  border-radius: 28px;
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 20px 56px rgba(16, 33, 61, 0.12);
  backdrop-filter: blur(12px);
  animation: nshopFadeUp .55s ease both;
}

.nshop-form fieldset.nshop-step,
.nshop-product,
.nshop-domain-card,
.nshop-link-card,
.nshop-faq-item,
.nshop-rationale-block,
.nshop-direct-answer {
  background: var(--nshop-glass);
  border: 1px solid var(--nshop-border);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(16, 33, 61, 0.07);
  backdrop-filter: blur(8px);
}

.nshop-form fieldset.nshop-step {
  padding: 22px 26px;
}

.nshop-hub-header h1,
.nshop-hero h2 {
  color: #0b1d3a;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nshop-help,
.nshop-hub-lead,
.nshop-breadcrumb,
.nshop-domain-card p,
.nshop-link-card p,
.nshop-faq-item p,
.nshop-desc,
.nshop-rationale {
  color: var(--nshop-fg-muted);
}

.nshop-support-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 2px;
}

.nshop-support-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 184, 148, 0.10);
  color: #0c7b64;
  border: 1px solid rgba(0, 184, 148, 0.16);
  font-size: .72rem;
  font-weight: 700;
}

.nshop-meta-line,
.nshop-food-note {
  margin: 0;
  color: #4f6485;
  font-size: .84rem;
  line-height: 1.5;
}

.nshop-food-note {
  color: #0f6e5a;
}

.nshop-recommendation-paths {
  margin: 18px 0 24px;
}

.nshop-recommendation-paths > h3 {
  margin: 0 0 6px;
}

.nshop-path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.nshop-path-card {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--nshop-border);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(16, 33, 61, 0.08);
  padding: 14px;
}

.nshop-path-card > header h4 {
  margin: 0;
  font-size: 1rem;
  color: #0f2e5d;
}

.nshop-path-desc {
  margin: 6px 0 12px;
  color: #556a8a;
  font-size: .9rem;
  line-height: 1.5;
}

.nshop-path-card .nshop-product {
  margin: 0;
  box-shadow: none;
  border-color: rgba(21, 112, 239, 0.14);
}

.nshop-path-best {
  border-color: rgba(21, 112, 239, 0.32);
}

.nshop-path-cheapest {
  border-color: rgba(0, 184, 148, 0.32);
}

.nshop-path-food_drogerie {
  border-color: rgba(249, 115, 22, 0.32);
}

.nshop-path-premium_optional {
  border-color: rgba(124, 58, 237, 0.30);
}

.nshop-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  margin: 0 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(21, 112, 239, 0.16);
  background: rgba(255, 255, 255, 0.6);
  color: #0f4fb1;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nshop-sub,
.nshop-phase,
.nshop-flag {
  background: var(--nshop-glass-2);
  border-color: rgba(21, 112, 239, 0.14);
  border-radius: 12px;
}

.nshop-subs {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px;
}

.nshop-sub {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  row-gap: 8px;
  min-height: 56px;
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
}

.nshop-sub::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 12px 0 0 12px;
  background: rgba(21, 112, 239, 0.18);
}

.nshop-sub input[type="checkbox"] {
  margin-top: 2px;
  margin-right: 0;
}

.nshop-sub-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.nshop-sub-class-badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #20416d;
  background: rgba(21, 112, 239, 0.08);
  border: 1px solid rgba(21, 112, 239, 0.12);
}

.nshop-sub-label {
  display: block;
  font-weight: 700;
  color: #143058;
  line-height: 1.35;
}

.nshop-sub[data-class="depressant"]::before { background: #1570ef; }
.nshop-sub[data-class="opioid"]::before { background: #0ea5a4; }
.nshop-sub[data-class="stimulant"]::before { background: #f97316; }
.nshop-sub[data-class="cannabinoid"]::before { background: #22c55e; }
.nshop-sub[data-class="sedative_hypnotic"]::before { background: #7c3aed; }
.nshop-sub[data-class="nicotine"]::before { background: #475569; }
.nshop-sub[data-class="mixed"]::before { background: #ef4444; }
.nshop-sub[data-class="behavioral"]::before { background: #eab308; }

.nshop-sub-class-depressant { background: rgba(21, 112, 239, 0.10); color: #0f4fb1; }
.nshop-sub-class-opioid { background: rgba(14, 165, 164, 0.12); color: #0f766e; }
.nshop-sub-class-stimulant { background: rgba(249, 115, 22, 0.12); color: #c2410c; }
.nshop-sub-class-cannabinoid { background: rgba(34, 197, 94, 0.12); color: #15803d; }
.nshop-sub-class-sedative_hypnotic { background: rgba(124, 58, 237, 0.12); color: #6d28d9; }
.nshop-sub-class-nicotine { background: rgba(71, 85, 105, 0.12); color: #334155; }
.nshop-sub-class-mixed { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }
.nshop-sub-class-behavioral { background: rgba(234, 179, 8, 0.16); color: #a16207; }

.nshop-sub-details {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.nshop-sub:hover,
.nshop-phase:hover,
.nshop-flag:hover,
.nshop-domain-card:hover,
.nshop-link-card:hover,
.nshop-product:hover {
  transform: translateY(-2px);
  border-color: rgba(21, 112, 239, 0.34);
  box-shadow: 0 14px 30px rgba(21, 112, 239, 0.11);
}

.nshop-product {
  gap: 12px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.nshop-btn-primary {
  color: #fff;
  background: linear-gradient(132deg, #1570ef 0%, #00b894 100%);
  border-radius: 12px;
  box-shadow: 0 12px 22px rgba(21, 112, 239, 0.26);
}

.nshop-btn-secondary {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(21, 112, 239, 0.2);
}

.nshop-ev-rct_meta,
.nshop-ev-rct_single,
.nshop-evidence-badge {
  color: #fff;
}

.nshop-ev-rct_meta { background: #00b894; }
.nshop-ev-rct_single { background: #1570ef; }

.nshop-progress {
  display: grid;
  gap: 8px;
  width: min(620px, 100%);
  animation: nshopFadeIn .28s ease both;
}

.nshop-progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(21, 112, 239, 0.14);
  overflow: hidden;
  border: 1px solid rgba(21, 112, 239, 0.2);
}

.nshop-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #1570ef 0%, #00b894 100%);
  transition: width .24s ease;
}

.nshop-progress-label {
  font-size: .85rem;
  color: #35507a;
  font-weight: 600;
}

.nshop-stepper {
  position: sticky;
  top: 14px;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(7, minmax(100px, 1fr));
  gap: 8px;
  margin: 16px 0 20px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 112, 239, 0.18);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(16, 33, 61, 0.08);
}

.nshop-stepper-item {
  appearance: none;
  border: 1px solid rgba(21, 112, 239, 0.2);
  background: rgba(255, 255, 255, 0.85);
  color: #385683;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all .16s ease;
}

.nshop-stepper-item:hover {
  border-color: rgba(21, 112, 239, 0.4);
  transform: translateY(-1px);
}

.nshop-stepper-item.is-active {
  background: linear-gradient(135deg, #1570ef 0%, #00b894 100%);
  color: #fff;
  border-color: transparent;
}

.nshop-stepper-item.is-pulse {
  animation: nshopStepPulse .28s ease;
}

.nshop-form fieldset.nshop-step.is-current {
  border-color: rgba(21, 112, 239, 0.34);
  box-shadow: 0 0 0 4px rgba(21, 112, 239, 0.08), 0 12px 28px rgba(16, 33, 61, 0.08);
}

.nshop-form fieldset.nshop-step.is-enter {
  animation: nshopStepEnter .32s ease;
}

.nshop-form.is-busy .nshop-stepper-item {
  opacity: .8;
}

.nshop-form.is-busy fieldset.nshop-step:not(.is-current) {
  opacity: .72;
}

.nshop-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.nshop-skeleton-card {
  border-radius: 14px;
  border: 1px solid rgba(21, 112, 239, 0.16);
  background: rgba(255, 255, 255, 0.7);
  padding: 14px;
}

.nshop-skel-line {
  height: 11px;
  margin: 8px 0;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(21,112,239,.08) 0%, rgba(21,112,239,.24) 45%, rgba(21,112,239,.08) 100%);
  background-size: 220% 100%;
  animation: nshopShimmer 1.15s linear infinite;
}

.nshop-skel-line.s1 { width: 68%; height: 14px; }
.nshop-skel-line.s2 { width: 92%; }
.nshop-skel-line.s3 { width: 78%; }
.nshop-skel-line.s4 { width: 54%; }

.nshop-product.is-reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: nshopCardIn .35s ease forwards;
}

@keyframes nshopShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -120% 0; }
}

@keyframes nshopCardIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes nshopStepPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.025); }
  100% { transform: scale(1); }
}

@keyframes nshopStepEnter {
  0% { transform: translateY(6px); }
  100% { transform: translateY(0); }
}

.nshop-page-template .nshop-page-head {
  margin-bottom: 18px;
}

.nshop-page-template .nshop-page-title {
  font-size: clamp(1.8rem, 2.2vw, 2.5rem);
  letter-spacing: -0.03em;
  margin: 0;
  color: #10213d;
}

@keyframes nshopFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes nshopFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .nshop-template-wrap { padding: 0 12px; }
  .nshop-app { border-radius: 18px; }
  .nshop-form fieldset.nshop-step { padding: 16px; }
  .nshop-context-grid {
    grid-template-columns: 1fr;
  }
  .nshop-shopping-head {
    flex-direction: column;
  }
  .nshop-print-actions {
    justify-items: start;
    min-width: 0;
  }
  .nshop-print-hint {
    text-align: left;
  }
  .nshop-shopping-steps {
    grid-template-columns: 1fr;
  }
  .nshop-sub-details {
    grid-template-columns: 1fr;
  }
  .nshop-stepper {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    position: static;
  }
}

@media (min-width: 760px) {
  .nshop-subs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nshop-sub-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .nshop-template-wrap {
    max-width: 1640px;
    padding: 0 24px;
  }

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

  .nshop-stepper {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nshop-stepper-item.is-pulse,
  .nshop-form fieldset.nshop-step.is-enter,
  .nshop-product.is-reveal,
  .nshop-skel-line {
    animation: none !important;
  }

  .nshop-progress-bar,
  .nshop-product,
  .nshop-stepper-item,
  .nshop-form fieldset.nshop-step {
    transition: none !important;
  }
}

@media print {
  body,
  .nshop-app {
    background: #fff !important;
    box-shadow: none !important;
  }

  .nshop-print-hide,
  .nshop-stepper,
  .nshop-form,
  .nshop-rationale-block,
  .nshop-products,
  .nshop-domain-scores,
  .nshop-blocked,
  .nshop-btn-primary,
  .nshop-btn-secondary {
    display: none !important;
  }

  .nshop-app {
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .nshop-hero,
  .nshop-shopping-sheet,
  .nshop-shopping-group {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .nshop-shopping-sheet {
    margin-top: 18px;
    border: 1px solid #d8e4f8 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .nshop-kicker,
  .nshop-help,
  .nshop-shopping-meta,
  .nshop-shopping-note {
    color: #3c4d68 !important;
  }

  .nshop-shopping-check {
    border-color: #6f87ae !important;
  }
}

/* ============================================================
   VITALITÄTS-SCORE BLOCK — Light Theme
   ============================================================ */

.nshop-vitality-section {
  margin: 32px 0 24px;
  padding: 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15,23,42,.08);
}
.nshop-vitality-section h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  color: #1e293b;
  font-weight: 600;
}

.nshop-vitality-block {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
}
.nshop-vitality-block.is-visible {
  opacity: 1;
  transform: none;
}

/* Radar SVG */
.nshop-vitality-radar-wrap {
  display: flex;
  justify-content: center;
  margin: 16px 0;
}
.nshop-vitality-svg {
  width: 100%;
  max-width: 300px;
  height: auto;
  overflow: visible;
}
.nshop-vr-grid {
  fill: none;
  stroke: #cbd5e1;
  stroke-width: 0.8;
  opacity: 0.6;
}
.nshop-vr-axis {
  stroke: #94a3b8;
  stroke-width: 0.9;
  opacity: 0.4;
}
.nshop-vr-score {
  fill-opacity: 0.12;
  stroke-width: 2;
  stroke-opacity: 0.9;
}
.nshop-vr-label-icon {
  font-size: 12px;
}
.nshop-vr-label-name {
  font-size: 9px;
  fill: #64748b;
  font-weight: 500;
}
.nshop-vr-label-score {
  font-size: 10px;
  font-weight: 700;
  fill: #1e293b;
}

/* Balken */
.nshop-vitality-bars {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nshop-vitality-bar-item {
  display: grid;
  grid-template-columns: 120px 1fr 40px;
  align-items: center;
  gap: 12px;
}
.nshop-vitality-bar-label {
  font-size: .8rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}
.nshop-vitality-bar-icon {
  font-size: .9rem;
  line-height: 1;
}
.nshop-vitality-bar-track {
  height: 10px;
  background: #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(15,23,42,.05);
}
.nshop-vitality-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width .7s cubic-bezier(.4,0,.2,1);
  width: 0;
}
.nshop-vitality-block.is-visible .nshop-vitality-bar-fill {
  /* width bereits per inline-style gesetzt — transition greift automatisch */
}
.nshop-vitality-bar-pct {
  font-size: .75rem;
  font-weight: 700;
  color: #1e293b;
  text-align: right;
  white-space: nowrap;
}
.nshop-vitality-note {
  font-size: .73rem;
  color: #64748b;
  margin: 12px 0 0;
  line-height: 1.5;
  background: rgba(226,232,240,.5);
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 3px solid #818cf8;
}

/* PHP-Rendering: kein JS benötigt, sofort sichtbar */
.nshop-app .nshop-vitality-block {
  opacity: 1;
  transform: none;
}

@media (max-width: 480px) {
  .nshop-vitality-bar-item {
    grid-template-columns: 100px 1fr 36px;
  }
  .nshop-vitality-bar-label {
    font-size: .73rem;
  }
}

/* ============================================================
   FOOD SUGGESTIONS BLOCK — Light Theme
   ============================================================ */

.nshop-food-suggestions-section {
  margin: 32px 0 24px;
  padding: 24px;
  background: linear-gradient(135deg, #fef3f2 0%, #fef9f7 100%);
  border-radius: 16px;
  border: 1px solid #fecaca;
  box-shadow: 0 1px 3px rgba(15,23,42,.05);
}

.nshop-food-suggestions-section h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #7c2d12;
  font-weight: 600;
}

.nshop-food-info {
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: #92400e;
  line-height: 1.55;
}

.nshop-food-suggestions-list {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}

.nshop-food-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,250,248,.95));
  opacity: 0;
  transform: translateY(8px);
  animation: nshopFadeUp .4s ease forwards;
}

.nshop-food-suggestions-section.is-visible .nshop-food-card {
  opacity: 1;
  transform: translateY(0);
}

.nshop-food-card:nth-child(2) {
  animation-delay: 100ms;
}

.nshop-food-card:nth-child(3) {
  animation-delay: 200ms;
}

.nshop-food-card:nth-child(4) {
  animation-delay: 300ms;
}

.nshop-food-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(251,191,36,.1);
}

.nshop-food-card-header strong {
  color: #7c2d12;
  font-size: 0.95rem;
}

.nshop-food-card-coverage {
  font-size: 0.75rem;
  color: #b45309;
  font-weight: 600;
  white-space: nowrap;
}

.nshop-food-item {
  padding: 12px;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  background: rgba(255,255,255,.6);
  border-left: 4px solid #f97316;
  transition: all .2s ease;
}

.nshop-food-item.is-best {
  border-color: #ea580c;
  background: linear-gradient(135deg, rgba(249,115,22,.04), rgba(249,115,22,.02));
  border-left-width: 5px;
}

.nshop-food-item:hover {
  border-color: #f97316;
  box-shadow: 0 4px 12px rgba(249,115,22,.08);
}

.nshop-food-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.nshop-food-item-header strong {
  color: #92400e;
  font-size: 0.9rem;
}

.nshop-food-portion {
  font-size: 0.8rem;
  color: #b45309;
  background: rgba(251,191,36,.1);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.nshop-food-item-meta {
  display: flex;
  gap: 10px;
  font-size: 0.75rem;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.nshop-food-category,
.nshop-food-cost {
  color: #92400e;
  background: rgba(251,191,36,.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.nshop-food-item-desc {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: #92400e;
  line-height: 1.4;
}

.nshop-food-content {
  display: grid;
  gap: 6px;
  font-size: 0.75rem;
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(251,191,36,.15);
}

.nshop-food-amount,
.nshop-food-bio,
.nshop-food-prep {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nshop-food-amount .label,
.nshop-food-bio .label,
.nshop-food-prep .label {
  color: #b45309;
  font-weight: 600;
}

.nshop-food-amount .value,
.nshop-food-bio .value,
.nshop-food-prep .value {
  color: #7c2d12;
  font-weight: 500;
}

.nshop-food-best-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.nshop-food-alternatives-label {
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nshop-food-alternatives {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.nshop-food-alternatives .nshop-food-item {
  padding: 10px;
  font-size: 0.85rem;
}

.nshop-food-alternatives .nshop-food-item-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.nshop-food-alternatives .nshop-food-item-header strong {
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .nshop-food-alternatives {
    grid-template-columns: 1fr;
  }
  
  .nshop-food-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
