/* Product detail V4 — warm, calm and data-first. */
#nutritionFactsContainer.ns-v4-detail {
  --v4-ink: #2d3933;
  --v4-muted: #748078;
  --v4-line: #e9e3da;
  --v4-cream: #fbf8f2;
  --v4-sage: #e8f0e6;
  --v4-lilac: #f0edf7;
  color: var(--v4-ink);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#nutritionFactsContainer.ns-v4-detail .ns-tabs {
  gap: 4px;
  margin: 4px 0 22px;
  padding: 5px;
  border: 1px solid var(--v4-line);
  border-radius: 18px;
  background: var(--v4-cream);
  box-shadow: none;
}

#nutritionFactsContainer.ns-v4-detail .ns-tab {
  min-height: 40px;
  border-radius: 13px;
  color: #78837d;
  font-size: 13px;
  font-weight: 650;
}

#nutritionFactsContainer.ns-v4-detail .ns-tab.is-active {
  background: #fff;
  color: #3f5749;
  box-shadow: 0 4px 14px rgba(52, 70, 59, .09);
}

#nutritionFactsContainer.ns-v4-detail .mq-section,
#nutritionFactsContainer.ns-v4-detail .ns-card {
  border-color: var(--v4-line);
  box-shadow: none;
}

.ns-hero__cat {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.ns-hero__cat-sep { color: #b0b7b2; }

.ns-hero__brand-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 4px 8px;
  border: 0;
  border-radius: 999px;
  background: var(--v4-sage, #e8f0e6);
  color: #496052;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ns-hero__brand-button:hover { background: #dce9da; }
.ns-brand-modal[hidden] { display: none !important; }
body.ns-brand-modal-open { overflow: hidden; }

.ns-brand-modal {
  --brand-paper: #fffdf9;
  --brand-ink: #24352d;
  --brand-muted: #68776c;
  --brand-green: #3e634a;
  --brand-line: #e9e1d5;
  --brand-soft: #e8efdf;
  position: fixed;
  inset: auto 0 0;
  z-index: 10070;
  box-sizing: border-box;
  width: min(600px, 100%);
  max-width: 100%;
  max-height: 88vh;
  max-height: 88dvh;
  margin: 0 auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--brand-line);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: var(--brand-paper);
  color: var(--brand-ink);
  box-shadow: 0 -12px 64px rgba(22, 31, 25, .18);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

.ns-brand-modal[open] { display: block; }
.ns-brand-modal::backdrop { background: rgba(29, 38, 33, .48); }
.ns-brand-modal::before {
  content: "";
  position: absolute;
  top: 9px;
  left: calc(50% - 17px);
  width: 34px;
  height: 4px;
  border-radius: 4px;
  background: var(--brand-line);
}

.ns-brand-modal__close {
  position: sticky;
  top: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 24px 24px -44px auto;
  padding: 0;
  border: 1px solid var(--brand-line);
  border-radius: 12px;
  background: var(--brand-paper);
  color: var(--brand-green);
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.ns-brand-modal__close:hover { background: var(--brand-soft); }
.ns-brand-modal :is(button, a, summary):focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 3px;
}
.ns-brand-modal__content { padding: 0 24px calc(20px + env(safe-area-inset-bottom, 0px)); }
.ns-brand-modal__content > .ns-brand {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.ns-brand-modal .ns-brand__head {
  min-height: 52px;
  gap: 12px;
  margin: 0 0 14px;
  padding-right: 56px;
}
.ns-brand-modal .ns-brand__logo {
  width: 52px;
  height: 52px;
  border: 1px solid var(--brand-line);
  border-radius: 14px;
  background: var(--brand-paper);
}
.ns-brand-modal .ns-brand__logo--fallback {
  background: var(--brand-soft);
  color: var(--brand-green);
  font-size: 22px;
  font-weight: 600;
}
.ns-brand-modal .ns-brand__logo[hidden] { display: none !important; }
.ns-brand-modal .ns-brand__identity { min-width: 0; }
.ns-brand-modal .ns-brand__title {
  margin: 0;
  overflow: visible;
  color: var(--brand-ink);
  font-size: 22px;
  font-weight: 650;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}
.ns-brand-modal .ns-brand__sub {
  margin-top: 3px;
  color: var(--brand-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.ns-brand-modal .ns-brand__origin {
  margin: 0;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--brand-line);
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.ns-brand-modal .ns-brand__section-title {
  margin: 20px 0 10px;
  color: var(--brand-ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
}
.ns-brand-modal .ns-brand__rows { margin: 0; padding: 0; }
.ns-brand-modal .ns-brand__row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 8px 0;
  border: 0;
  font-size: 14px;
  line-height: 1.55;
}
.ns-brand-modal .ns-brand__row-label {
  width: auto;
  color: var(--brand-muted);
  font-size: inherit;
  font-weight: 400;
}
.ns-brand-modal .ns-brand__row-value {
  min-width: 0;
  margin: 0;
  color: var(--brand-ink);
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  text-align: left;
  word-break: normal;
  overflow-wrap: anywhere;
}
.ns-brand-modal .ns-brand__row-value small,
.ns-brand-modal .ns-brand__fact-note {
  display: block;
  margin: 4px 0 0;
  color: var(--brand-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}
.ns-brand-modal .ns-brand__more {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--brand-line);
}
.ns-brand-modal .ns-brand__details {
  margin-top: 20px;
  border-top: 1px solid var(--brand-line);
}
.ns-brand-modal .ns-brand__more-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 16px;
  padding: 16px 2px 16px 0;
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}
.ns-brand-modal .ns-brand__more-summary::after,
.ns-brand-modal .ns-brand__more[open] .ns-brand__more-summary::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-right: 3px;
  border: solid var(--brand-green);
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .15s ease;
}
.ns-brand-modal .ns-brand__more[open] .ns-brand__more-summary::after {
  transform: translateY(2px) rotate(225deg);
}
.ns-brand-modal .ns-brand__summary-main { display: grid; min-width: 0; gap: 3px; }
.ns-brand-modal .ns-brand__summary-note {
  color: var(--brand-muted);
  font-size: 12px;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.ns-brand-modal .ns-brand__more-body {
  padding: 0 0 16px;
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.ns-brand-modal .ns-brand__more-body p { margin: 0 0 8px; }
.ns-brand-modal .ns-brand__more-body p:last-child { margin-bottom: 0; }
.ns-brand-modal .ns-brand__more-body .ns-brand__row { font-size: 13px; }
.ns-brand-modal .ns-brand__recall-item {
  margin: 0;
  padding: 14px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.65;
}
.ns-brand-modal .ns-brand__recall-item:first-child { padding-top: 0; }
.ns-brand-modal .ns-brand__recall-item:last-child { padding-bottom: 0; }
.ns-brand-modal .ns-brand__recall-item + .ns-brand__recall-item { border-top: 1px solid var(--brand-line); }
.ns-brand-modal .ns-brand__recall-date {
  margin: 0;
  color: var(--brand-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}
.ns-brand-modal .ns-brand__recall-reason {
  margin: 4px 0 0;
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.6;
}
.ns-brand-modal .ns-brand__more-body .ns-brand__recall-detail {
  margin: 4px 0 0;
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.65;
}
.ns-brand-modal .ns-brand__source {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 5px;
  color: var(--brand-green);
  font-size: 12px;
  text-underline-offset: 3px;
}
.ns-brand-modal .ns-brand__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding-top: 16px;
}
.ns-brand-modal .ns-brand__footer-note { color: var(--brand-muted); font-size: 12px; line-height: 1.5; }
.ns-brand-modal .ns-brand__website {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  min-height: 44px;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-green);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.ns-brand-modal .ns-brand__website:hover { background: transparent; color: var(--brand-green); text-decoration: underline; }
.ns-brand-modal :is(.ns-brand__loading, .ns-brand__empty, .ns-brand__muted) {
  color: var(--brand-muted);
  font-weight: 400;
  line-height: 1.6;
}
.ns-brand-modal :is(.ns-brand__loading, .ns-brand__empty) { padding: 0 56px 4px 0; }

@media (max-width: 360px) {
  .ns-brand-modal__close { margin-right: 16px; }
  .ns-brand-modal__content { padding-right: 16px; padding-left: 16px; }
  .ns-brand-modal .ns-brand__head { gap: 10px; padding-right: 52px; }
  .ns-brand-modal .ns-brand__logo { width: 44px; height: 44px; }
  .ns-brand-modal .ns-brand__title { font-size: 20px; }
  .ns-brand-modal .ns-brand__row { grid-template-columns: 74px minmax(0, 1fr); gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .ns-brand-modal .ns-brand__more-summary::after { transition: none; }
}

#nutritionFactsContainer .ns-palate-pets {
  display: grid;
  gap: 10px;
}

#nutritionFactsContainer .ns-palate-pet-row {
  display: grid;
  grid-template-columns: minmax(112px, .7fr) minmax(250px, 1.3fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--v4-line, #e9e3da);
  border-radius: 16px;
  background: #fffdfa;
}

#nutritionFactsContainer .ns-palate-pet-name {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

#nutritionFactsContainer .ns-palate-pet-name b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

#nutritionFactsContainer .ns-palate-pet-avatar {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--v4-lilac, #f0edf7);
}

#nutritionFactsContainer .ns-palate-pet-row .ns-palate-btns { margin: 0; }
#nutritionFactsContainer .ns-palate-pet-row .ns-palate-btn { min-width: 0; min-height: 48px; }

@media (max-width: 700px) {
  #nutritionFactsContainer.ns-v4-detail .ns-tabs {
    position: sticky;
    top: 0;
    z-index: 20;
    overflow-x: auto;
    flex-wrap: nowrap;
    border-radius: 0;
    border-right: 0;
    border-left: 0;
  }
  #nutritionFactsContainer.ns-v4-detail .ns-tab { flex: 0 0 auto; padding-inline: 13px; }
  #nutritionFactsContainer .ns-palate-pet-row { grid-template-columns: 1fr; gap: 10px; }
  #nutritionFactsContainer .ns-palate-pet-row .ns-palate-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.ns-v4-lead {
  display: grid;
  gap: 14px;
  margin: 0 0 16px;
}

.ns-v4-cherry {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 17px;
  border-radius: 20px;
  background: linear-gradient(135deg, #edf4eb, #f5f1e9);
}

.ns-v4-cherry img {
  width: 66px;
  height: 66px;
  flex: 0 0 auto;
  object-fit: contain;
}

.ns-v4-cherry b {
  display: block;
  margin-bottom: 3px;
  color: #607168;
  font-size: 12px;
}

.ns-v4-cherry p {
  margin: 0;
  color: #34433b;
  font-size: 14px;
  line-height: 1.6;
}
.ns-v4-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.ns-v4-fact {
  padding: 14px 15px;
  border-radius: 15px;
  background: #f3f2ee;
}
.ns-v4-fact span,
.ns-v4-fact b { display: block; }
.ns-v4-fact span { color: var(--v4-muted); font-size: 11px; }
.ns-v4-fact b { margin-top: 5px; color: #334139; font-size: 14px; }

.ns-v4-lead .ns-v4-summary {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.ns-v4-lead .ns-v4-summary h2 { margin-top: 4px; }
.ns-v4-lead .ns-v4-list { border-top: 1px solid var(--v4-line); }
.ns-v4-details {
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}

.ns-v4-summary {
  padding: 17px;
  border: 1px solid var(--v4-line);
  border-radius: 19px;
  background: #fff;
}

.ns-v4-summary h2 {
  margin: 0 0 10px;
  color: #34443c;
  font-size: 15px;
}

.ns-v4-list { display: grid; }
.ns-v4-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #f0ebe4;
}
.ns-v4-row:last-child { border-bottom: 0; }
.ns-v4-row b, .ns-v4-row small { display: block; }
.ns-v4-row b { margin-bottom: 3px; font-size: 13px; }
.ns-v4-row small { color: var(--v4-muted); font-size: 11px; line-height: 1.45; }
.ns-v4-status {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf0ed;
  color: #58675f;
  font-size: 11px;
  font-weight: 750;
  text-align: right;
}
.ns-v4-status.good { background: #e4efe3; color: #4e6a56; }
.ns-v4-status.watch { background: #f7e8dc; color: #965e49; }
.ns-v4-status.estimate { background: #ece8f4; color: #675d7d; }

.ns-v4-details {
  margin: 0 0 16px;
  border: 1px solid var(--v4-line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.ns-v4-details > summary {
  position: relative;
  padding: 16px 48px 16px 17px;
  list-style: none;
  color: #45544c;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.ns-v4-details > summary::-webkit-details-marker { display: none; }
.ns-v4-details > summary::after {
  content: '＋';
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: #7b8780;
  font-size: 18px;
}
.ns-v4-details[open] > summary::after { content: '−'; }
.ns-v4-details[open] > summary { border-bottom: 1px solid var(--v4-line); }
.ns-v4-details > div,
.ns-v4-details > .ns-ingredients-wrap { padding: 14px; }
.ns-v4-details .mq-section { margin-left: 0; margin-right: 0; }

@media (max-width: 700px) {
  .ns-v4-facts { grid-template-columns: 1fr; }
  .ns-v4-cherry { align-items: flex-start; padding: 14px; }
  .ns-v4-cherry img { width: 56px; height: 56px; }
  .ns-v4-cherry p { font-size: 13px; }
  .ns-v4-row { align-items: flex-start; }
  .ns-v4-status { max-width: 46%; white-space: normal; }
}

/* V4 inner content: legacy calculations, one coherent visual language. */
#nutritionFactsContainer.ns-v4-detail .ns-v4-details { margin-bottom: 0; border-width: 0 0 1px; border-radius: 0; background: transparent; box-shadow: none; }
#nutritionFactsContainer.ns-v4-detail .ns-v4-details[open] > summary { border-bottom-color: var(--v4-line); }
#nutritionFactsContainer.ns-v4-detail .ns-v4-details > div,
#nutritionFactsContainer.ns-v4-detail .ns-v4-details > .ns-ingredients-wrap { padding: 12px 0 18px; }
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .ns-card,
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .mq-section,
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .ns-ingredients-section,
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .ing-analysis-container { margin: 0; padding-inline: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .nf-table { overflow: hidden; border: 1px solid var(--v4-line); border-radius: 14px; background: #fffdfa; }
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .nf-table td { padding-block: 11px; border-color: var(--v4-line); color: var(--v4-ink); font-size: 12px; }
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .nf-seg { padding: 4px; border: 0; border-radius: 13px; background: #efeee9; }
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .nf-seg .seg { min-height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--v4-muted); }
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .nf-seg .seg.on { background: #fffdfa; color: #40594a; box-shadow: 0 3px 10px rgba(52, 70, 59, .08); }

.ns-v4-callout,
.ns-v4-evidence-panel { padding: 14px 16px; border-radius: 15px; background: #f3f2ee; color: #59665f; font-size: 12px; line-height: 1.65; }
.ns-v4-evidence-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--v4-line); }
.ns-v4-evidence-row span { color: var(--v4-muted); }
.ns-v4-evidence-row b { color: var(--v4-ink); text-align: right; }
.ns-v4-evidence-panel p { margin: 12px 0 0; }

#nutritionFactsContainer.ns-v4-detail .ns-v4-details .ing-group-sec,
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .ing-decompose-stack,
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .ing-amino-panel { margin: 0 0 16px !important; padding: 0 0 16px !important; border: 0 !important; border-bottom: 1px solid var(--v4-line) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .ing-group-title,
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .cfl-ing-panel__title { color: var(--v4-ink); font-size: 14px; font-weight: 750; }
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .ing-chip,
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .ing-chip-mini { border: 1px solid var(--v4-line) !important; border-radius: 999px !important; background: #f3f2ee !important; color: #526158 !important; box-shadow: none !important; }

.ns-v4-stone-scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ns-v4-stone-score { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 11px; align-items: center; padding: 13px; border: 1px solid var(--v4-line); border-radius: 16px; background: #fffdfa; }
.ns-v4-stone-score b { font-size: 13px; }
.ns-v4-stone-score p { margin: 4px 0 0; color: var(--v4-muted); font-size: 11px; line-height: 1.45; }
.ns-v4-grade { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #edf0ed; color: #58675f; font-size: 23px; font-weight: 850; }
.ns-v4-grade.good { background: #e2ede0; color: #506d58; }
.ns-v4-grade.watch { background: #f6e3d7; color: #965e49; }
.ns-v4-evidence { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 10px; padding-top: 9px; border-top: 1px solid var(--v4-line); color: var(--v4-muted); font-size: 10px; }

#nutritionFactsContainer.ns-v4-detail .ns-v4-details .stone-report { --sr-text: var(--v4-ink); --sr-muted: var(--v4-muted); --sr-line: var(--v4-line); --sr-surface: #fffdfa; --sr-blue: #587361; }
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .stone-report .stone-report-panel,
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .flutd-profile__summary-card,
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .flutd-profile__factor-card,
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .flutd-profile__panel { border-color: var(--v4-line); border-radius: 15px; background: #fffdfa; box-shadow: none; }
#nutritionFactsContainer.ns-v4-detail .ns-v4-details .stone-report .flutd-profile__p-estimate-note { border-radius: 13px; background: var(--v4-lilac); }

#nutritionFactsContainer.ns-v4-detail #diseaseAnalysisContainer { color: var(--v4-ink); }
#nutritionFactsContainer.ns-v4-detail #diseaseAnalysisContainer .ns-dz-report { padding: 0; border: 0; background: transparent; }
#nutritionFactsContainer.ns-v4-detail #diseaseAnalysisContainer .ns-title { color: var(--v4-ink); font-size: 16px; }
#nutritionFactsContainer.ns-v4-detail #diseaseAnalysisContainer .ns-sub { color: var(--v4-muted); }
#nutritionFactsContainer.ns-v4-detail #diseaseAnalysisContainer .ns-dz-card { border-color: var(--v4-line); border-radius: 16px; background: #fffdfa; }
#nutritionFactsContainer.ns-v4-detail #diseaseAnalysisContainer .ns-dz-card.healthy { background: #f0f4ec; border-color: #e2e9de; }
#nutritionFactsContainer.ns-v4-detail #diseaseAnalysisContainer .ns-dz-card.household { background: #f2eff6; border-color: #e8e2ef; }
#nutritionFactsContainer.ns-v4-detail #diseaseAnalysisContainer .ns-dz-verdict { border-radius: 999px; }
#nutritionFactsContainer.ns-v4-detail #diseaseAnalysisContainer .ns-dz-verdict.ok { color: #4e6a56; background: #e4efe3; }
#nutritionFactsContainer.ns-v4-detail #diseaseAnalysisContainer .ns-dz-verdict.warn { color: #8d6541; background: #f5ead8; }
#nutritionFactsContainer.ns-v4-detail #diseaseAnalysisContainer .ns-dz-verdict.bad { color: #965e49; background: #f6e3d7; }
#nutritionFactsContainer.ns-v4-detail #diseaseAnalysisContainer .ns-dz-adv > summary,
#nutritionFactsContainer.ns-v4-detail #diseaseAnalysisContainer .ns-dz-note a,
#nutritionFactsContainer.ns-v4-detail #diseaseAnalysisContainer .ns-dz-lock a,
#nutritionFactsContainer.ns-v4-detail #diseaseAnalysisContainer .ns-dz-cta a { color: #506d58; }
#nutritionFactsContainer.ns-v4-detail #diseaseAnalysisContainer .ns-dz-lock,
#nutritionFactsContainer.ns-v4-detail #diseaseAnalysisContainer .ns-dz-cta { background: #f3f2ee; border-radius: 14px; }

#nutritionFactsContainer.ns-v4-detail .ns-palate { border-color: var(--v4-line); border-radius: 17px; background: #fffdfa; }
#nutritionFactsContainer.ns-v4-detail .ns-palate-btn { border-color: var(--v4-line); border-radius: 12px; background: #f3f2ee; color: #59665f; box-shadow: none; }
#nutritionFactsContainer.ns-v4-detail .ns-palate-btn.is-active { border-color: #cbdcc8; background: #e4efe3; color: #40594a; }
#nutritionFactsContainer.ns-v4-detail .ns-actionbar__btn--primary { border-color: #334139; background: #334139; }
#nutritionFactsContainer.ns-v4-detail .ns-actionbar__btn--ghost { border-color: var(--v4-line); background: #fffdfa; color: #40594a; }

@media (max-width: 700px) {
  .ns-v4-stone-scores { grid-template-columns: 1fr; }
  .ns-v4-evidence-row { display: grid; gap: 4px; }
  .ns-v4-evidence-row b { text-align: left; }
}

#nutritionFactsContainer.ns-v4-detail .ns-hero__title-row { align-items: flex-start; gap: 14px; }
#nutritionFactsContainer.ns-v4-detail .ns-hero__actions { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; }
#nutritionFactsContainer.ns-v4-detail .ns-hero__icon-action,
#nutritionFactsContainer.ns-v4-detail .ns-hero__actions .ns-fav-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--v4-line);
  border-radius: 50%;
  background: #fffdfa;
  color: #59665f;
  box-shadow: none;
  cursor: pointer;
}
#nutritionFactsContainer.ns-v4-detail .ns-tag--info { background: #e8f0e6; border-color: #d6e3d4; color: #496052; font: inherit; cursor: pointer; }
#nutritionFactsContainer.ns-v4-detail .ns-v4-care-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: 14px;
  padding: 15px 17px;
  border: 1px solid var(--v4-line);
  border-radius: 16px;
  background: #fffdfa;
  color: var(--v4-ink);
  text-align: left;
  cursor: pointer;
}
#nutritionFactsContainer.ns-v4-detail .ns-v4-care-link span,
#nutritionFactsContainer.ns-v4-detail .ns-v4-care-link b,
#nutritionFactsContainer.ns-v4-detail .ns-v4-care-link small { display: block; }
#nutritionFactsContainer.ns-v4-detail .ns-v4-care-link b { font-size: 14px; }
#nutritionFactsContainer.ns-v4-detail .ns-v4-care-link small { margin-top: 3px; color: var(--v4-muted); font-size: 11px; }
#nutritionFactsContainer.ns-v4-detail .ns-v4-care-link i { color: #718077; font-size: 22px; }
#nutritionFactsContainer.ns-v4-detail .ns-v4-buy-zone { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--v4-line); }
#nutritionFactsContainer.ns-v4-detail .ns-v4-buy {
  display: block;
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  background: #334139;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}
#nutritionFactsContainer.ns-v4-detail .ns-v4-buy-zone .ns-affiliate-note { margin: 9px 0 0; color: var(--v4-muted); font-size: 11px; text-align: center; }
