query)); return $query === '' ? $this->products : array_values(array_filter($this->products, fn($p) => str_contains(strtolower($p['name'] . ' ' . $p['category']), $query))); } }; ?>
{{ count($this->matches) }} matches