.hint {
  display: none;
  color: crimson;
  margin-block: 0.25rem 0;
}

.qty:out-of-range {
  border-color: crimson;
}

.qty:out-of-range + .hint {
  display: block;
}