.nw-ingredients-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .nw-ingredients-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.nw-ingredients-card {
  width: 100%;
  text-align: left;
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(248, 250, 252, 0.9);
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.dark .nw-ingredients-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(2, 6, 23, 0.25);
}

.nw-ingredients-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  border-color: rgba(16, 185, 129, 0.55);
}

.dark .nw-ingredients-card:hover {
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

.nw-ingredients-card--active {
  border-color: rgba(16, 185, 129, 0.8);
  background: rgba(16, 185, 129, 0.08);
}

.dark .nw-ingredients-card--active {
  border-color: rgba(52, 211, 153, 0.55);
  background: rgba(16, 185, 129, 0.12);
}

.nw-expand {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 260ms ease, opacity 220ms ease, transform 220ms ease;
  will-change: max-height, opacity, transform;
}

.nw-expand--open {
  max-height: 520px;
  opacity: 1;
  transform: translateY(0);
}

.nw-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  color: rgb(51 65 85);
}

.dark .nw-pill {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.55);
  color: rgb(226 232 240);
}

.nw-check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.75);
}

.dark .nw-check-row {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(2, 6, 23, 0.18);
}

.nw-check-row:hover {
  border-color: rgba(16, 185, 129, 0.5);
}

.nw-check-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(51 65 85);
}

.dark .nw-check-label {
  color: rgb(226 232 240);
}

.nw-check-sub {
  font-size: 0.75rem;
  color: rgb(100 116 139);
  margin-top: 0.15rem;
}

.dark .nw-check-sub {
  color: rgb(148 163 184);
}

